79457660

Date: 2025-02-21 14:22:01
Score: 1
Natty:
Report link

use:

```rust {.line-numbers}
use std::io;

fn main() {
    println!("Guess the number!");

    println!("Please input your guess.");

    let mut guess = String::new();

    io::stdin()
        .read_line(&mut guess)
        .expect("Failed to read line");
    println!("You guessed: {}", guess);
}
```
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Thiago Bianeck

79457643

Date: 2025-02-21 14:16:00
Score: 0.5
Natty:
Report link

If you want to export only stored procedures and functions, this is the script you should run

mysqldump --routines --triggers --no-create-info --no-data --no-create-db --skip-opt -u [user] -p [database] > stored-triggers.sql

You can remove any parameter added to fit your expectations. 💪

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

79457637

Date: 2025-02-21 14:13:59
Score: 3
Natty:
Report link

Will this keep my cheap wireless mouse from turning off, or is that something that is controlled from the mouse's circuit board? (My new mouse keeps shutting off after a couple minutes or so of inactivity and it is getting frustrating.[it is 3d printed with cheap guts inside :/ ])

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

79457632

Date: 2025-02-21 14:12:59
Score: 2
Natty:
Report link

Today I had time to further investigate...

@Jeff Zola: Yes, we checked the release notes. But nothing could explain what was the problem triggered. The option to add Encrypt=False to the connection string is not valid for Oracle databases.

@Jalpal Panchal: The parameterless constructor is not the problem, I've tried it but no success.

I've made updates for the Devart and EF packages:

At this moment it's not clear to me if this is a problem of EF, Devart or if it is because of not updating to .Net 9.

But thanks anyway for your suggestions!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Jeff
  • User mentioned (0): @Jalpal
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: henkie

79457630

Date: 2025-02-21 14:11:59
Score: 2
Natty:
Report link

It's all fine. You can now find your cert under "User certificates".

Now set up the proxyserver and port in the wifi connection settings and browse a site like stackoverflow.com or github.com with a browser. You should see the decrypted traffic; delete the certicate and you'll be no longer able to see the decrypted traffic.

btw, having a User certificate installed usually doesnt help with apps, esp. when they come from big players like facebook, google, TikTok, etc.

Then you'd need to install a root certificate (yep, you ll need a rooted phone) and/or start using tools like frida.re, that actively can break into apptraffic that are secured with certificate pinning (means, the app doesnt accept any user or root certificate except their own).

KernelSU is pretty cool if you wanna dive into rooting...

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Punkwart

79457628

Date: 2025-02-21 14:10:58
Score: 8 🚩
Natty: 5
Report link

@ben-bolker answer seems to work well, but is there any way to also add a legend for all or each pannel? Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): is there any
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @ben-bolker
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Haim

79457614

Date: 2025-02-21 14:06:56
Score: 4
Natty:
Report link

Thanks for the replies, I thought about a version problem too, hopefully, a new expo version fixed the problem for me.

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

79457606

Date: 2025-02-21 14:04:56
Score: 0.5
Natty:
Report link

This is the key line:

error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/

You can't install the packages because you don't have a C/C++ compiler.

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

79457604

Date: 2025-02-21 14:03:55
Score: 2
Natty:
Report link

On Github profile page, your commits are visible when:

  1. Make sure your private contributions is checked on your profile page.
  2. Make sure you have committed on your default branch. You can go to settings inside your repository and check default branch.
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mohammed Zaki Bhojani

79457594

Date: 2025-02-21 13:58:54
Score: 2.5
Natty:
Report link

At some point you added a new revision which is colliding with the webhook. It's safe to just remove the MutatingWebhookConfiguration from the istio-revision-tag-default.

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

79457592

Date: 2025-02-21 13:57:53
Score: 7 🚩
Natty: 6
Report link

https://www.youtube.com/watch?v=ovNSAvA401c Watch this video, this was what helped me

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (1): this video
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Layo

79457588

Date: 2025-02-21 13:55:52
Score: 1
Natty:
Report link

Remove

dart pub global deactivate <package>

To see installed global packages:

dart pub global list
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: psycat

79457584

Date: 2025-02-21 13:53:52
Score: 4.5
Natty:
Report link

your path system must be change you must use python 3.12.8

You can use the link below

https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://stackoverflow.com/questions/6318156/adding-python-to-path-on-windows&ved=2ahUKEwiezta689SLAxXLzgIHHR7pL6oQFnoECDsQAQ&usg=AOvVaw1Q7I0LKQ7Ri3_IezRIzX5z

Reasons:
  • Blacklisted phrase (1): the link below
  • Blacklisted phrase (1): stackoverflow
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ManiZebardast

79457579

Date: 2025-02-21 13:52:52
Score: 2
Natty:
Report link
$names = ['Name1', 'Name2', 'Name1', 'Name2', 'Name3', 'Name2', 'Name1', 'Name3'];
$uniqueNames = array_unique($names);    
$reindexedArray = array_values($uniqueNames);
print_r($reindexedArray);

Output : Array   (  [0] => Name1   [1] => Name2   [2] => Name3 )

array_unique, array_values

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

79457572

Date: 2025-02-21 13:50:51
Score: 1.5
Natty:
Report link

Install pip: Download get-pip.py and run python get-pip.py to install pip. Update PATH: Add Python’s Scripts folder to your PATH (e.g., C:\dev\tools\python-3.13.2\Scripts). Verify pip: Run python -m pip --version to check if pip works. Install packages: Use python -m pip install gitpython to install packages.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: SHIVAM KUMAR YADAV

79457569

Date: 2025-02-21 13:49:51
Score: 1
Natty:
Report link

You need to download and install Python from here.

AFAIK, you almost never need to compile Python on Windows.

Programs installed on Windows are usually accessible in GitBash, so you just need to install Python first.

Then follow the installation instructions for pip.

Finally, open Git Bash and run pip install GitPython

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

79457568

Date: 2025-02-21 13:48:51
Score: 1.5
Natty:
Report link

RDS now has data API, and data API can be used. However, data API has a lot of limitations like only scram-sha-256 authentication is supported for Postgres Aurora 14 and up. Read the docs page for details.

https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html

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

79457565

Date: 2025-02-21 13:48:51
Score: 3
Natty:
Report link

One method is to have an if statement witin the for loop that checks on every iteration of the loop if a condition is satisfied. If it is, the loop continues, if not you can set the for loop variable to be your endpoint during the else statement.

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

79457552

Date: 2025-02-21 13:44:50
Score: 1.5
Natty:
Report link

Look at the focusNode property of TextFormField.

Basically you have to declare a variable FocusNode _focusNode = FocusNode();

Then ask for focus using _focusNode.requestFocus();

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

79457549

Date: 2025-02-21 13:42:49
Score: 1.5
Natty:
Report link

I had this issue and went into the server and added the following Additional Apache Directives

IfModule mod_headers.c Header set Access-Control-Allow-Origin "*" /IfModule

and it worked instantly

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

79457546

Date: 2025-02-21 13:41:49
Score: 3
Natty:
Report link

Also worth to see how this is implemented on the radix-ui website itself

the source code

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

79457545

Date: 2025-02-21 13:40:49
Score: 1
Natty:
Report link

Thanks I have also found a solution. First I am making "GraphAreaToDownload" full screen by adding a section "fullscreen-section" which I am using now to export.

this is component code inside return:

{fullScreen ? 
    (
      <div
        id="areaToDownload"
        className={`${fullScreen && "fullscreen-section"}`} 
        >
          <div 
           style={{ 
              backgroundColor: backgroundColor,
              width: "100vw",
              height: "100vh",
              border: "none",
          }}>
            ..........content to export
          </div>
        </div>
    ) : (...other code)
}

this is css code:

.fullscreen-section{
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    background-color: white;
    z-index: 1;
    border: "none"
}

And it resolved the issue.

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

79457531

Date: 2025-02-21 13:37:48
Score: 1.5
Natty:
Report link

The solution is to cancel the hourly billed VM and provision a monthly (hourly_billing = false) VM.

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Les Grieve

79457523

Date: 2025-02-21 13:34:47
Score: 3
Natty:
Report link

Could you detail a bit on the overall structure of the system that you are using so that I have more spaces to suggest debugging.

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

79457522

Date: 2025-02-21 13:34:47
Score: 3
Natty:
Report link

var editor = monaco.editor.create(document.getElementById("editorContainer"), {
  value: jsCode,
  language: "typescript", //can use your custom language here
  suggest: {
    showWords: false
  }
});

can this be done only during the creation of the editor? can I change the configuration to false afterwards?

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): can this
  • Low reputation (1):
Posted by: Husni Hussain C K

79457514

Date: 2025-02-21 13:31:46
Score: 2
Natty:
Report link

Exists a range of system stored procedures that can be used as a critical breach, for example, try xp_cmdshell 'dir *.exe'. So need to have some explicit range of SP that can be executed.

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

79457512

Date: 2025-02-21 13:31:46
Score: 0.5
Natty:
Report link

I was unable to solve this issue, but I found a work around, using send command instead:

line1 = acad.model.AddLine(APoint(0, 0), APoint(100, 100))
acad.doc.SendCommand('select ' + 'l  ')
acad.doc.SendCommand('ai_deselect ')

line2 = acad.model.AddLine(APoint(100, 100), APoint(200, 0))
acad.doc.SendCommand('select ' + 'p ' + 'l  ')
acad.doc.SendCommand('group ')

This draws a line, selects it, then deselect. Line 2 is drawn, the previous selection is highlighted (line 1) and then the last thing drawn (line 2). Then sends the group command.

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

79457511

Date: 2025-02-21 13:30:46
Score: 1
Natty:
Report link

If you want to use simple "input" prefix, which is trying to pickup properties form the root, you will need to update your application.properties file content with .properties prefix, like @rahulP suggested.

But, as far as you are trying to map ServiceModel - better will be to update prefix and properties with input.service prefix, see https://docs.spring.io/spring-boot/reference/features/external-config.html#features.external-config.typesafe-configuration-properties:

@ConfigurationProperties(prefix = "input.services")

application.properties:

input.services.default.host=Default
input.services.default.ip=127.0.0.1
input.services.default.desc=Default Desc

input.services.serviceA.host=ServiceA
input.services.serviceA.ip=192.168.21.1
input.services.serviceA.desc=ServiceA Desc

input.services.serviceB.host=ServiceB
input.services.serviceB.ip=192.168.21.22
input.services.serviceB.desc=ServiceB Desc

Also I think you are missing default contructor in ServiceModel, which is required for Spring.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @rahulP
  • Low reputation (1):
Posted by: Pavlo.P

79457510

Date: 2025-02-21 13:30:45
Score: 4
Natty:
Report link

Not sure if this is still a issue but there was a nice plug in released for unreal engine that can help with this: https://www.fab.com/listings/7e781305-8e5e-4131-8af3-cc9b7e7a998f

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

79457507

Date: 2025-02-21 13:29:45
Score: 0.5
Natty:
Report link

As you did in zookeeper, do the same for KafkaServer jaas:

  username="admin"
  password="admin_password"
  user_admin="admin_password";

I remember trying it without the user_admin line causes kafka to fail. Might solve your issue.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Bünyamin Şentürk

79457506

Date: 2025-02-21 13:29:45
Score: 2.5
Natty:
Report link

I downloaded and installed Jdk, enter it into environmental variables(system) and instead of storing the kafka file in users/downloads I renamed it to kafka and stored it in local disk

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

79457503

Date: 2025-02-21 13:27:44
Score: 3
Natty:
Report link

CupertinoIcons.slider_horizontal_3

Built into Flutter.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Low reputation (0.5):
Posted by: Andy

79457502

Date: 2025-02-21 13:27:44
Score: 3.5
Natty:
Report link

correct. It helps to delete any table row directly onclick handle.

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

79457500

Date: 2025-02-21 13:27:44
Score: 1
Natty:
Report link

In my case, the problem was solved by running the pipeline manually the first time. After that, the webhook worked.

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

79457483

Date: 2025-02-21 13:22:44
Score: 0.5
Natty:
Report link

The error message you are encountering indicates that there's an issue with eager execution and the use of .numpy() within your TensorFlow model when trying to call model.fit(). The message "numpy() is only available when eager execution is enabled" suggests that, even though eager execution is reported as enabled, some part of your code (likely involving your model or a custom layer) is trying to access tensor values in a non-eager context (which requires eager execution).

You are using tf.compat.v1.enable_eager_execution(), which is related to TensorFlow 1.x compatibility mode, but it could cause confusion when working with TensorFlow 2.x, as eager execution is enabled by default in TensorFlow 2.x (unless you're explicitly disabling it).

  1. Remove the Eager Execution Enablement: tf.compat.v1.enable_eager_execution()

  2. Check Model and Data Types: Ensure that your x_train, y_train, x_test, and y_test are proper numpy arrays or TensorFlow tensors.

  3. Re-save the Model After Loading: After loading the model using tf.keras.models.load_model(f"models/{model_name}.h5"), double-check that the model is compatible for further training.

  4. Use TensorFlow 2.x APIs: If you're using TensorFlow 2.x, avoid using any tf.compat.v1 methods unless absolutely necessary. Stick to the higher-level API provided by TensorFlow 2.x for training, evaluation, and saving models.

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

79457474

Date: 2025-02-21 13:19:42
Score: 9 🚩
Natty: 5.5
Report link

Did anyone manage to succeed in this yet?

Reasons:
  • RegEx Blacklisted phrase (3): Did anyone manage to
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did anyone
  • Low reputation (1):
Posted by: jojosup

79457472

Date: 2025-02-21 13:18:41
Score: 5
Natty:
Report link

For everyone having the same problem. Check if you do not use SXSSFWorbook() - By default it has 100 rows buffer limit.

Look here: Apache Poi RowIterator only returning the last 100 (0 - 99) rows

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): having the same problem
  • Low reputation (1):
Posted by: FPawlak

79457467

Date: 2025-02-21 13:18:41
Score: 1
Natty:
Report link

Solution1:

plt.tight_layout(rect=[0, 0, 0, 1])  # Adjusts top margin slightly

Output: tight_layout

Solution 2:

Try Adjusting h_pad in plt.tight_layout(h_pad=-3) is might be not a correct solution because h_pad (height padding) should be non-negative. But It Worked in this case:

plt.tight_layout(h_pad=-3)

Output: subplot

Reasons:
  • Whitelisted phrase (-1): It Worked
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: amrita yadav

79457466

Date: 2025-02-21 13:17:41
Score: 7 🚩
Natty: 6
Report link

Either onExpandChange parameter or onFocusChanged modifier was enough for me. Anyway, you saved my day, thanks!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (2): you saved my
  • Blacklisted phrase (2): saved my day
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Zdenek Sima

79457464

Date: 2025-02-21 13:17:40
Score: 2.5
Natty:
Report link

Given a form using React Hook Form, MUI and zod. The form object contains a field that is an array of objects and the user can add/remove/edit the list items. I moved the add/edit part into a separate ..

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

79457455

Date: 2025-02-21 13:13:39
Score: 2
Natty:
Report link

For Windows users, I found this solution:

How to connect Ruby with OneDrive

Reasons:
  • Whitelisted phrase (-2): solution:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jorge Moreno

79457449

Date: 2025-02-21 13:11:39
Score: 0.5
Natty:
Report link

php.ini files in Cpanel are located under /opt/cpanel/ea-php{version}/root/etc/php.ini, e.g. for PHP 8.3 this would be /opt/cpanel/ea-php83/root/etc/php.ini.

Modifications should be done via the Cpanel UI though.

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

79457434

Date: 2025-02-21 13:05:38
Score: 2
Natty:
Report link

In my case it was the Windows Defender policies of my company that prevented cargo from running.

I had to add the .cargo and .rustup directories in the Windows Defender exclusion list.

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

79457428

Date: 2025-02-21 13:03:37
Score: 1
Natty:
Report link

NextJS Version - 15.1.6

It worked when I moved the middleware from src/middleware to src/app/middleware

My directory structure enter image description here

Reasons:
  • Whitelisted phrase (-1): It worked
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Vivek Iyer

79457426

Date: 2025-02-21 13:01:36
Score: 0.5
Natty:
Report link

I am answering my own question. It was almost solved by adding this:

JsonbConfig config = new JsonbConfig();
config.setProperty(JsonbConfig.DATE_FORMAT, JsonbDateFormat.TIME_IN_MILLIS);
Jsonb jsonB = JsonbBuilder.create(config);

and writing the response like this:

return Response.ok(jsonB.toJson(object)).build();

But as the objects can have also Date fields in addition to the Timestamps they are now both written as integers and now the clients dont like Date fields as they are expecting something like "2023-05-05".

For example:

public class HaePaivajarjestysPaluuDto extends SaliDtoAC implements Serializable {
    private String tekninenavain;
    private Date istuntopvm;
    private Timestamp ilmoitettualkuaika;

gives:

"haePaivajarjestysPaluuDto": {
"tekninenavain": "2023/131",
"ilmoitettualkuaika": 1683270000000,
"istuntopvm": 1683234000000,
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Arto Oksanen

79457424

Date: 2025-02-21 13:01:36
Score: 1
Natty:
Report link

In order to get the GstCaps you need to get the GstSample and the GstAppsink first. Based on the code you showed, you could do something like this:

auto appsink = GST_APP_SINK(sink);
auto sample = gst_app_sink_pull_sample(appsink)
auto caps = gst_sample_get_caps(sink);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: JFF

79457420

Date: 2025-02-21 12:59:36
Score: 1
Natty:
Report link

You have a typo in the href. It should be styles.css instead of style.css.

If that doesn't work, I think it might be due to how you are joining the path BASE_DIR / "static". Try using os.path.join(BASE_DIR, "static") instead.

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

79457415

Date: 2025-02-21 12:58:36
Score: 3
Natty:
Report link

Here is a solution. The solution is to reinitialized the slick

https://github.com/kenwheeler/slick/issues/3324#issuecomment-2674463014

Reasons:
  • Whitelisted phrase (-1): solution is
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Abhishek Shakya

79457396

Date: 2025-02-21 12:49:34
Score: 2.5
Natty:
Report link

For the ones interested, i got an answer with the AI by retrieving data from fetch into a 'useState' local storage and by using useEffect function:

const PostScreen = () => { const [Posts, setData] = useState(null); useEffect(() => { const fetchData = async () => { try { const response = await fetch("http://192.168.0.12:8085" + "/Posts_to_App", {headers: { "content-type": "application/json" }}); const result = await response.json(); setData(result); } catch (error) { console.error('Erreur lors de la récupération des données:', error); } }; fetchData(); }, []);

Regards

Reasons:
  • Blacklisted phrase (1): Regards
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Nicolas de CLEMECIN

79457392

Date: 2025-02-21 12:48:34
Score: 1.5
Natty:
Report link

The problem is caused by your folder name with [ and ]. enter image description here

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

79457390

Date: 2025-02-21 12:45:33
Score: 3.5
Natty:
Report link

Select Add another Jupyter Kernel then Javascript. It should work.

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

79457374

Date: 2025-02-21 12:40:32
Score: 2.5
Natty:
Report link

In my case, I messed up my variables which ended up in passing the wrong bearer token in the header, giving this error.

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

79457338

Date: 2025-02-21 12:21:28
Score: 0.5
Natty:
Report link

Modify your UID fetch range to "*" or use SORT if supported:

uids, err := im.GetUIDs("50:*") // Fetch last 50 UIDs

or

uids, err := im.GetSortedUIDs("REVERSE DATE", 50) // If sorting is supported
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Julia Carmack

79457335

Date: 2025-02-21 12:20:28
Score: 3.5
Natty:
Report link

Try to install java 8 which is compitable with Yarn

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: عبدالرحمن مجدي

79457333

Date: 2025-02-21 12:20:28
Score: 0.5
Natty:
Report link

I have ran into same issue on AKS cluster and dapr was installed as a Microsoft extension. But the steps are pretty much the same.

If you want to achieve zero downtime you need to bring your own certificates generated with OpenSSL for example. The guide to do it is here. Another fast option is just to renew the certificate with this command:

dapr mtls renew-certificate -k --valid-until {days} --restart

Where {days} can be a couple of years if don't want to renew it every year, which is the default behavior if you don't specify --valid-unitil.

Then you need to restart all deployments that are using dapr sidecar container.

kubectl rollout restart deployment -n {namespace}

Reference.

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

79457329

Date: 2025-02-21 12:18:27
Score: 13.5
Natty: 7
Report link

I am facing similar issue and this is impacting when I am re running failed test cases - it is unable to recognise null and not running failed test cases again. Does anyone has any solution so far ?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): Does anyone has any solution
  • RegEx Blacklisted phrase (2): any solution so far ?
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing similar issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Akshay Bhatia

79457312

Date: 2025-02-21 12:07:24
Score: 2
Natty:
Report link

I might try this, the discord native timestamp sucks because it rounds and it says for example 5 days even though I would like it to say 5 days, 7 hours,

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jordan

79457303

Date: 2025-02-21 12:02:23
Score: 2
Natty:
Report link

if the URI in app propreties is pointing to the remote repo, make sure it's public and NOT private, i had the same issue when i changed the visibilty of the repo to private.

Reasons:
  • Whitelisted phrase (-1): i had the same
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mohammed Elbachiri

79457287

Date: 2025-02-21 11:52:21
Score: 7 🚩
Natty: 5
Report link

Did you find any useful way to solve this issue, which tool or algorithm did you use for smoothing freehand drawn strokes? I am working on the same problem, Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (3): Did you find any
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you find any use
  • Low reputation (1):
Posted by: hassan javed hassan javed

79457265

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

As the saying goes: "i used regex to solve my problem, now i have two problems"

but have you considered using regex to extract the specific fields you want?

^(\S+)\s+(WLAN\s+\d+)\s+(\S+)\s+(Infinity|(?:\d+ Days\s+\d+ hrs\s+\d+ mins\s+\d+ secs))\s+(.+)$

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

79457260

Date: 2025-02-21 11:40:17
Score: 3.5
Natty:
Report link

In my case: just turn off the web proxy.

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

79457259

Date: 2025-02-21 11:40:17
Score: 1.5
Natty:
Report link

Try manually specifying the store URL:

npm create @shopify/hydrogen@latest -- --store=my-store.myshopify.com
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Joe

79457258

Date: 2025-02-21 11:40:17
Score: 0.5
Natty:
Report link
  const Upload = () => {
  const [fileName, setFileName] = useState('no file selected');
  const [resultText, setResultText] = useState('');
  const fileInputRef = useRef(null);

  const localIP = "myipv4address";
  const uploadUrl = `http://${localIP}:3000/upload`;

  const [userId, setUserId] = useState(null);


  useEffect(() => {
    const fetchUserData = async () => {
      const storedData = localStorage.getItem("auth");
      if (!storedData) return;

      const { email, password } = JSON.parse(storedData);
      try {
        const userResponse = await axios.get(
          `http://localhost:8080/users/byEmail/${email}`,
          {
            headers: { "Content-Type": "application/json" },
            auth: { username: email, password },
          }
        );

        setUserId(parseInt(userResponse.data.id));
        console.log(userResponse.data.id); // it prints 12, which is my user id, it works fine
      } catch (error) {
        console.error("error getting the user:", error);
      }
    };

    fetchUserData();
  }, []);

  const handleFileChange = async (event) => {
    const file = event.target.files[0];
    if (!file) return;

    const allowedTypes = ["image/jpeg", "image/jpg", "image/png"];
    if (!allowedTypes.includes(file.type)) {
      setFileName("invalid file!");
      event.target.value = "";
      return;
    }

    if (userId === null) {
      console.error("User ID invalid");
      return;
    }

    try {
      const formData = new FormData();
      formData.append("image", file);
      formData.append("userId", String(userId));

      const response = await fetch(uploadUrl, {
        method: "POST",
        body: formData,
      });

      if (!response.ok) throw new Error("Error");

      const data = await response.json();
      setFileName(file.name);
      setResultText(`Image uploaded: ${data.imageUrl}`);
    } catch (error) {
      console.error("Error:", error);
      setFileName("Error");
      event.target.value = "";
    }
  };
return (
 <div className="qr-section">
      <p>or scan the qr code to upload from your phone:</p>
      <QRCodeComponent value={uploadUrl} />
    </div>

    <input
      id="file"
      type="file"
      accept="image/jpeg, image/jpg, image/png"
      onChange={handleFileChange}
      ref={fileInputRef}
    />
  </div>);};

Export default Upload;

Sorry if it has some errors, it is not the exact code, I edited a bit before posting it here So what I'm I doing wrong when trying to pass the userId to the server? As I said, in the server, if I try to console log it, it prints undefined

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

79457244

Date: 2025-02-21 11:34:16
Score: 2.5
Natty:
Report link

Glad to help! If anyone is still facing issues with launching Roblox via C#, feel free to ask. Also, if you're looking for a reliable script executor, check out Delta Executor APK for Roblox for a smooth gaming experience!

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

79457234

Date: 2025-02-21 11:32:16
Score: 1.5
Natty:
Report link

I've found solution in their migration guide https://angular-material.dev/articles/updating-to-angular-material-19#13-changes-for-typography. Don't know why it's not described in documentation

@include mat.typography-hierarchy(
      mat.define-theme(
        (
          typography: (
            use-system-variables: true,
            system-variables-prefix: mat-sys,
          ),
        )
      )
    );

This will also generate css classes https://angular-material.dev/articles/angular-material-18-typography#generated-css-classes

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

79457230

Date: 2025-02-21 11:30:15
Score: 1.5
Natty:
Report link

You can do it using the following command in Intelejji.

Edit | Sort Lines
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kolya Terletskyi

79457221

Date: 2025-02-21 11:28:14
Score: 4.5
Natty:
Report link

I have a similar problem: Error (0 , util_1.isObject) is not a function. This has been happening every time I try to start the server, followed by a freeze. I haven't changed anything with my environment or the Dockerfile. I also tried reinstalling everything and it didn't help. The project works for everyone else...

Reasons:
  • Blacklisted phrase (1): I have a similar problem
  • Has code block (-0.5):
  • Me too answer (2.5): I have a similar problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: 1Dr490n

79457217

Date: 2025-02-21 11:27:14
Score: 2
Natty:
Report link

Conditionally rendering Stack screen won't help you achieve transitions when navigating between screens.

Instead use the router instance to push/replace between screens, this will leverage the OS navigation transitions.

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

79457216

Date: 2025-02-21 11:27:14
Score: 3.5
Natty:
Report link

Need to reopen CLI after update environment variable. then your php -v command return updated version. Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Syed Musaib Jeelani

79457202

Date: 2025-02-21 11:23:13
Score: 2.5
Natty:
Report link

I'm not sure if you can find a full tutorial for your exact problem but as far as I can tell what you need is the following:

  1. AudioFileStream extracts MP3 frames from NSData: https://stackoverflow.com/a/17332543/29516370

  2. AudioConverter converts the MP3 frames to PCM : Unable to convert mp3 into PCM using AudioConverterFillComplexBuffer in AudioFileStreamOpen's AudioFileStream_PacketsProc callback

  3. The PCM data can be played using AudioUnit: as you say you've already done it

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kiryl Famin

79457196

Date: 2025-02-21 11:20:12
Score: 1
Natty:
Report link

A Bit late here but for those who are using newer version of Android Studio, as of today here I am writing this answer who uses multiple Android studios on one machine, one is installed in default directory, other is just a zipped downloaded to same directory but different parent folder.

Due to this stunt of mine, I also faced this issue precisely to be

** Plugin [id: 'com.android.application', version: '8.7', apply: false] was not found in any of the following sources: **

So the solution for those who use Gradle whether older or newer version, is check the AGP version matches the supported version of gradle that you are using. It must be the minimum supported gradle version. here is link. navigate to it and match the gradle versions, if it is not listed here, then use a AGP version lower than your gradle.

e.g. this is Gradle wrapper file

https://developer.android.com/build/releases/gradle-plugin#kts

distribution URL is https://services.gradle.org/distributions/gradle-8.10-all.zip

AGP is "8.7.0"

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

79457191

Date: 2025-02-21 11:19:12
Score: 1.5
Natty:
Report link

In our project we have faced the same issue. We noticed that on our pod the home path variable was not set and that docx4j was trying to write in /root directory where docx4j had no access to create the .docx4j folder.

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

79457185

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

Replace selenium with playwright. Their native video recording works on Mac like a charm. (no need of xvfb, XQuartz)

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

79457177

Date: 2025-02-21 11:16:11
Score: 1.5
Natty:
Report link

What is your flutter version and android target SDK ?

I think you use a version of flutter above 3.27 and target android sdk 15 (directly or indirectly by the flutter version), the issue come from the overlay you add.

I think removing your customOverlayStyle() will have no effect and will remove the store recommendation.

Reasons:
  • Blacklisted phrase (1): What is your
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What is you
  • Low reputation (0.5):
Posted by: Maoux

79457176

Date: 2025-02-21 11:16:11
Score: 1
Natty:
Report link

I faced a similar issue while trying to assume an IAM Role from inside a EKS pod which uses the new pod identity.

I was getting the below error.

An error occurred (AccessDenied) when calling the AssumeRole operation: User: arn:aws:sts::*****:assumed-role/***** is not authorized to perform: sts:TagSession on resource: arn:aws:iam::*****:role/*****

The problem was with the external-id condition in the trust relationships of the role to be assumed. Once I removed that condition it worked fine.

Reasons:
  • Blacklisted phrase (1.5): getting the below error
  • Whitelisted phrase (-1): it worked
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Alan Jose

79457175

Date: 2025-02-21 11:15:11
Score: 1
Natty:
Report link

I encountered this issue only in Android Studio, while running Flutter commands in Windows Command Prompt (CMD) worked fine.

To fix this, I simply ran Android Studio as an administrator, and after that, flutter doctor worked inside Android Studio without any issues.

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

79457174

Date: 2025-02-21 11:15:11
Score: 2.5
Natty:
Report link

You can remove the apostrophe after the event with "Find and Replace"

In the "Find" box use "^'" and leave the "Replace with" box empty.

Check the "Search using regular expressions" and "Also search within formulae" boxes.

enter image description here

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

79457173

Date: 2025-02-21 11:15:11
Score: 0.5
Natty:
Report link

The smallrye-open-api-ui is already a transitive dependency of helidon-integrations-openapi-ui, and you are explicitly specifying a version for it. Your version is lower than the one used by Helidon, so maybe there is some API missing. If you remove the dependency from your pom file, thinks should work.

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

79457171

Date: 2025-02-21 11:15:11
Score: 3
Natty:
Report link

Thank you for this post, a bit out of topic, but I had an issue connecting to Application Insights (Invocations panel in Azure functions) and simply disabling my ad blocker helped. I was getting BLOCKED BY CLIENT error in the web console.

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

79457168

Date: 2025-02-21 11:14:11
Score: 0.5
Natty:
Report link

Did you add the Springdoc configurations in your application.properties file?
If not, try adding these configurations:

springdoc.api-docs.path=/api-docs
springdoc.api-docs.enabled=true
springdoc.show-actuator=true

Then you can use authenticated if you want.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you add the
  • Low reputation (1):
Posted by: Aimene Nouri

79457167

Date: 2025-02-21 11:14:11
Score: 0.5
Natty:
Report link

If you are using JpaRepository interface, than the following is also possible:

@Query(value = "SELECT * FROM get_actor_by_id(?1)", nativeQuery = true)
Actor getActorByCallingFunction(final Integer id);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Munish Dhiman

79457164

Date: 2025-02-21 11:12:10
Score: 3.5
Natty:
Report link

Check this migration guide to see if it helps to remove the message you get.

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

79457150

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

With .NET 8.0 and above, if you have both "WorkerService.dll" and "WorkerService.exe" files, use the .exe file to create the Windows service instead of the .dll. This resolved my 1053 error.

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

79457141

Date: 2025-02-21 11:04:09
Score: 1.5
Natty:
Report link

To change the class of service (COS) for an extension in a Panasonic PBX using TAPI, follow these steps:

  1. Ensure the Panasonic TAPI driver is installed and configured.
  2. Connect to the PBX system using a compatible TAPI application.
  3. Access the extension settings through the TAPI interface.
  4. Modify the COS parameter based on required permissions and restrictions.
  5. Apply the changes and restart the extension if necessary.

For expert IT solutions in Dubai, including PBX setup and maintenance, visit ammitservices.com.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: AMM Information Technology

79457122

Date: 2025-02-21 10:55:07
Score: 1
Natty:
Report link

It depends on what you are using to convert your Markdown to PDF.

I had a similar issue last week and struggled to convert my engineering report with mathematical equations (latex) from Markdown to PDF and share with our team. I tried with multiple tools but most were not providing an output with style similar to VsCode or even GitHub.

Dillinger, Typora etc. None of them presented an output I was looking for.

But this Markdown to PDF converter gave a preview that's close to what I was looking for. My colleagues liked the format of the report.

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

79457117

Date: 2025-02-21 10:53:06
Score: 1.5
Natty:
Report link

You are not copying .env into the docker build step. Also please check that any .env entry is not present in your .dockerignore file if any

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

79457116

Date: 2025-02-21 10:53:06
Score: 1.5
Natty:
Report link

Used:

SampleResponse sampleResponse = mock(SampleResponse.class);
when(response.asJson(SampleResponse.class)).thenReturn(sampleResponse);

to make it work.

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

79457098

Date: 2025-02-21 10:46:05
Score: 0.5
Natty:
Report link

I faced the same issue and spend a few hours attempting to understand the root cause. I have tried to change the memory limits as suggested above. Simply put, I have tried everything, but it didn't help me.

Then I got an idea that I should try to run another test and bingo! It worked as usual. Then I decided to rewrite the "problematic" test from scratch. During rewriting I caught myself thinking that I forgot to mock/define some dependencies of the class under testing.

Recently, I added Clock to my class

private final Clock clock;

After defining this dependency in the test class the issue has gone

var clock = Clock.fixed(Instant.now(), ZoneOffset.UTC);

I see that the question was asked a couple of years ago, but I believe it could be useful for someone.

Reasons:
  • Blacklisted phrase (1): ve tried everything
  • Blacklisted phrase (1): help me
  • Whitelisted phrase (-1): It worked
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Anton Kozytskyi

79457093

Date: 2025-02-21 10:44:04
Score: 0.5
Natty:
Report link

This is solution for Microsoft 365:

enter image description here

[Sheet1!D2 and fill down]=TOROW(FILTER(Sheet2!$H$4:$H$9;Sheet2!$B$4:$B$9=C2))

Assuming the first picture is Sheet1, the second - Sheet2.

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

79457088

Date: 2025-02-21 10:43:04
Score: 0.5
Natty:
Report link

enter image description herefrom my experience I can say best to avoid using in your code new Date() rather use new Date(Date.now()) and here is why, Date.now() is easier to mock, add script into watcher as in the picture, notice system date vs logged date

  if(!document.querySelector('script#mock-date')){
        const script = document.createElement('script');
        script.id='mock-date';
        script.innerHTML = `Date.now = ()=> new Date('2020-01-01T00:00:00+10:00').getTime();`;
        document.head.appendChild(script);
        }

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

79457087

Date: 2025-02-21 10:43:04
Score: 2
Natty:
Report link

In my case I had both files:
-jsconfig.json
-tsconfig.json

Next used tsconfig.json, but I edited jsconfig.json file. Basically, move your logic from one to another file and delete unused config.

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

79457085

Date: 2025-02-21 10:42:04
Score: 1.5
Natty:
Report link

I've been using MinIO, but in the latest versions of the Community Edition, they are removing a lot of functionality from the UI and shifting it to the paid AIStore version.

Because of this, I’m currently evaluating OpenStack Swift as an alternative. It supports an S3-compatible API, making migration from MinIO smoother while avoiding vendor lock-in.

Would love to hear if anyone else has experience with Swift in a similar use case!

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

79457082

Date: 2025-02-21 10:41:03
Score: 3.5
Natty:
Report link

i fix this by re-configuring the firebase.

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

79457078

Date: 2025-02-21 10:40:03
Score: 2.5
Natty:
Report link

TLDR: You need to manually uninstall the app on your debugging device to unblock the Gradle process if you have an app with the same package name but a different signature.

I had the same problem, which kept coming back day after day, without me knowing exactly where it was coming from. I finally identified the problem on my machine, so I'm sharing it here in case of it can help. I'm on Windows with Visual Studio Code for Flutter, and I also often work with Android Studio for native Java development. For me, the problem was VSC's inability to deploy a debug app if another app with the same package name but a different signature is installed on my debug device.

I'm used to how Android Studio works, which in the same situation, displays a clear message saying that the app will be replaced, and asks the user for confirmation. With VSC and Flutter, there is no message or confirmation request, and the Gradle process seems to run indefinitely, without ever displaying an error or telling the user (me) that the app deployment is blocked.

Specific case (or steps to reproduce): I'm currently rewriting an application from Java to Flutter. But I continue to maintain the Java app. At the beginning of the rewrite, I opted to maintain the same package name for both applications. The intention is to try deploying the Flutter app as an update to the existing Java app (I have not yet reached this point, and I am still uncertain of its feasibility).

Anyway, the problem appears when I switch from java to flutter on my debug device. If I need to do some tests on the Java app, while before I was working on Flutter, I have no problem with Android Studio: it detects that my previous build does not match and asks me to confirm uninstallation of the Flutter app to replace it with the Java app. Then, when I need to do the opposite (replace the java app by the flutter app), VSC does not warn me that it has a deployment problem, and I see the Gradle process running indefinitely. The solution here is to manually uninstall the java app, to be able to deploy the flutter app. I suppose, but I haven't tested it, that we could have the same problem if we test an app on the store (with a production signature) and try to go back to the app under development (with a debug signature) without manually uninstalling the production app on the testing device.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-1): I had the same
  • Long answer (-1):
  • No code block (0.5):
  • Me too answer (2.5): have the same problem
  • Low reputation (1):
Posted by: Christophe NOIRTIN

79457068

Date: 2025-02-21 10:37:03
Score: 1.5
Natty:
Report link

A good web online tool: https://evercoder.github.io/clipboard-inspector/

It is enough to paste inside a box and the clipboard will be expanded and explained.

You asked for a tool which doesn't require the paste operation, so this answer is not perfectly centered. But the reason behind this request is that you don't want that automatic formatting takes action. And with this tool, formatting doesn't interfere.

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

79457045

Date: 2025-02-21 10:28:01
Score: 3.5
Natty:
Report link

I think you should debug firstly, can you catch the file and then can you use it. If all statements are working, can you provide more codes to explain it ?

func startGame() {
    // Check if the file "start.txt" exists in the main bundle
    if let startWordsURL = Bundle.main.url(forResource: "start", withExtension: "txt") {
        print("File found: \(startWordsURL)") // Debugging statement
        
        do {
            // Try to read the content of the file
            let startWords = try String(contentsOf: startWordsURL, encoding: .utf8)
            let allWords = startWords.components(separatedBy: "\n")
            
            // Debugging statement to print all words loaded from the file
            print("Words loaded: \(allWords)") 

            // If you want to set a random word as the rootWord
            // rootWord = allWords.randomElement() ?? "november"
            
        } catch {
            // If there's an error reading the file, print the error
            print("Error reading file: \(error)")
        }
    } else {
        // If the file wasn't found, print a message
        print("File 'start.txt' not found in the bundle.")
    }
}
Reasons:
  • RegEx Blacklisted phrase (2.5): can you provide
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: blackhatsrak

79457034

Date: 2025-02-21 10:25:00
Score: 0.5
Natty:
Report link

I am very new to this colour space conversion stuff,
and I dont even know if I have the right approach.

Your approach is fine and correct. You're doing a simple mistake of scaling down (the r/g/b values) but then later you don't scale them up for usage in the imgOut part.

Using (r/255) scales it down (or will "normalize" it) from being a value in 0 to 255 range, into now being a value in a 0 to 1 range.

Re-scale it up, into being within 0-255 range like this:

imgOut.pixels[index + 0] = ( 255 * computedC );
imgOut.pixels[index + 1] = ( 255 * computedM );
imgOut.pixels[index + 2] = ( 255 * computedY );
imgOut.pixels[index + 3] = 125;

If the new imgOut colours are not exact:
Then try something like: Math.round( 255 * computedC );

Round down using: imgOut.pixels[index + 0] = Math.floor( 255 * computedC );
Round up using :imgOut.pixels[index + 0] = Math.ceil( 255 * computedC );

Now do you see multiple colours instead of just black?

Reasons:
  • RegEx Blacklisted phrase (1.5): I am very new
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: VC.One

79457031

Date: 2025-02-21 10:21:59
Score: 13
Natty: 7.5
Report link

I have same issue, did you solve it?

Reasons:
  • RegEx Blacklisted phrase (3): did you solve it
  • RegEx Blacklisted phrase (1.5): solve it?
  • Low length (2):
  • No code block (0.5):
  • Me too answer (2.5): I have same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user29740406

79457030

Date: 2025-02-21 10:21:59
Score: 3
Natty:
Report link

I'm getting the same error when reflectivity = 0

Changing reflectivity to 0.1 will fix this issue.

let floor = SCNFloor()
floor.reflectivity = 0.1
Reasons:
  • RegEx Blacklisted phrase (1): I'm getting the same error
  • Low length (1):
  • Has code block (-0.5):
  • Me too answer (2.5): I'm getting the same error
  • High reputation (-1):
Posted by: Stive

79457025

Date: 2025-02-21 10:18:58
Score: 4.5
Natty: 4.5
Report link

Steinbock: "In my case switching the Permalink (/wp-admin/options-permalink.php) from Post to Plain and back solved the issue!"

Thank you so much, Steinbock! I had been struggling with this issue for days and tried countless solutions, but this was the only fix that actually worked. Switching the permalink structure from 'Post' to 'Plain' and back again solved it instantly.

I even created an account just to upvote and thank you, but I didn’t knew I needed reputation first—so here’s my appreciation in a comment instead!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (0.5): upvote
  • RegEx Blacklisted phrase (1.5): reputation
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Fl0ax