79410303

Date: 2025-02-04 00:07:13
Score: 1
Natty:
Report link

You can do it through a cloud function putting this:

  admin.auth().updateUser('useruid', {
  password: 'XXXXXXXXX'
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Luis Alberto Peña

79410302

Date: 2025-02-04 00:07:13
Score: 1
Natty:
Report link

An example of how to do this very simply.
You can check how it works in DartPad.

Dart calculator generated by PEG generator. https://pub.dev/packages/peg

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

79410289

Date: 2025-02-03 23:58:11
Score: 2
Natty:
Report link

For high-resolution timing, use time.perf_counter().

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Sergey A Kryukov

79410287

Date: 2025-02-03 23:55:11
Score: 2.5
Natty:
Report link

had the same error and omitting nullable kwarg from Column fixed it

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

79410285

Date: 2025-02-03 23:54:10
Score: 4.5
Natty: 5
Report link

Finally, I found I needed to open firewall acl_in TCP for 993 for IMAP.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Bob

79410279

Date: 2025-02-03 23:50:09
Score: 3
Natty:
Report link

I ended up creating a Terraform install repo and a blog to explain it. Indeed one of the big wins of Auto Mode is you no longer need to install AWS LBC:

https://community.aws/content/2sV2SNSoVeq23OvlyHN2eS6lJfa/amazon-eks-auto-mode-enabled-build-your-super-powered-cluster

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: Seth E

79410256

Date: 2025-02-03 23:36:06
Score: 1
Natty:
Report link

I found a similar issue here

https://github.com/seleniumbase/SeleniumBase/issues/3059

where the author says that he gets the same result as when using a regular Chrome browser, so the Inconsistent value for Webdriver there isn't accurate.

I tested it on a regular Chrome browser and I also got the same Inconsistent value. So author is correct.

SeleniumBase with CDP passes the other sites below:

https://deviceandbrowserinfo.com/info_device

https://bot.sannysoft.com

https://demo.fingerprint.com/playground

https://bot-detector.rebrowser.net

https://pixelscan.net

Reasons:
  • Probably link only (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: sudoExclamationExclamation

79410252

Date: 2025-02-03 23:33:05
Score: 0.5
Natty:
Report link

OK, I ran mongod and from the error output it appeared that the culprit was /tmp/mongodb-27017.sock from the following error:

{"t":{"$date":"2025-02-03T23:13:06.391+00:00"},"s":"E",  "c":"NETWORK",  "id":23024,   "ctx":"initandlisten","msg":"Failed to unlink socket file","attr":{"path":"/tmp/mongodb-27017.sock","error":"Permission denied"}}

So I removed the socket file, uninstalled and reinstalled mongodb, and now mongosh connects as expected.

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

79410251

Date: 2025-02-03 23:32:05
Score: 2.5
Natty:
Report link
#define ABS_INT32(x) (((x) ^ ((x) >> 31)) - ((x) >> 31))
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Walker Talker

79410246

Date: 2025-02-03 23:29:04
Score: 1
Natty:
Report link

What you are describing is a project that is dependent on two packages, A and B. Package B can stand alone and be used in projects where Package A is not also used.

But, Package A requires Package B. If you want nuget to manage the dependency, you would put that dependency in the .nuspec file of Pacakage A. If you add Package B as a dependency in this way, you can go to nuget package manager, add Package A, and the nuget manager will automatically go and add Package B if it is not already installed in the project.

Here is a resource for .nuspec syntax. The ranges and wildcards for dependencies may be helpful if this is what you were looking for: nuspec reference

If you are manually managing the dependency, i.e. manually adding Package B, then you don't need to do anything in the packages themselves. You just have to install both packages in the projects where they are needed. This will create your csproj or packages.config entries.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Starts with a question (0.5): What you are
  • Low reputation (0.5):
Posted by: Kevin

79410239

Date: 2025-02-03 23:25:03
Score: 3
Natty:
Report link

In pg_hba.conf I had all the connection settings set to trust, when I changed them to require md5 login method and then set a windows environment variable for PGUSER = myuser I was able to connect.

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

79410237

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

The issue was that I imported store from a separate file than from persistStorage in index.js.

I had this:

import store from './store'
import { persistor } from "./persistStorage"

I should have had this:

import { persistor, store } from "./persistStorage"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: mfusco

79410232

Date: 2025-02-03 23:18:01
Score: 0.5
Natty:
Report link

The actual solution (from dirbaio in Matrix Embassy chat):

try this before creating the i2c:

embassy_stm32::pac::AFIO.mapr().modify(|w| w.set_i2c1_remap(true));

(gpio on F1 is weird, it has this remap thing that the embassy-stm32 hal doesn't do automatically for you yet)

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: MrPashaPG

79410229

Date: 2025-02-03 23:15:00
Score: 1
Natty:
Report link

The ability to set default_authentication_plugin directly in a parameter group was added in Aurora MySQL v3. https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Reference.ParameterGroups.html

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

79410223

Date: 2025-02-03 23:12:00
Score: 0.5
Natty:
Report link

Let's call the boolean values A and B.

You have two options:

Both formulations simulate a XOR gate. The <> operator is effective a xor operator when applied to two booleans.

Example use case:

    #"Next Step" = Table.SelectRows(#"Previous Step", each ([NAME] = "Jim") <> ([AGE] = 2))

This would select all Jims and all 2-year olds, but not Jims who are two years old.

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

79410215

Date: 2025-02-03 23:08:59
Score: 1
Natty:
Report link

In the end of the function main you are trying to pass a variable to a function that receives a pointer (MaxSales). You need to pass the address of this variable, using the operator &, as showed bellow.

MaxSales(&Com[1]);

return 0;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: nilson mendes

79410204

Date: 2025-02-03 22:58:56
Score: 13.5 🚩
Natty: 5.5
Report link

I have the same issue while following the same steps. Did you find a way to solve yours?

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • RegEx Blacklisted phrase (3): Did you find a way to solve your
  • RegEx Blacklisted phrase (1.5): solve yours?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: AmdiAlpha

79410189

Date: 2025-02-03 22:47:54
Score: 1
Natty:
Report link

I deleted the folders/files left behind by a previous installation. For me that was C:\app\username\product\21c. Worked for me.

Reasons:
  • Whitelisted phrase (-1): Worked for me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Clarius

79410187

Date: 2025-02-03 22:46:54
Score: 2
Natty:
Report link

After some testing, I have a solution that works performantly across the volume of data I need, however Yitzhak Khabinsky, I want to thank you for the effort you put to into your answer, which was very clever in it's approach.

For any:

select distinct s.ID
from 
    Sentences s
    inner join Keywords k on s.Sentence like  concat('%', k.keyword, '%')

For all:

select
    s.ID
from
    Sentences s
    inner join Keywords k on s.Sentence like  concat('%', k.keyword, '%')
group by s.ID
having count(*) = (select count(*) from Keywords)
Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: user978426

79410186

Date: 2025-02-03 22:46:54
Score: 1.5
Natty:
Report link

You need to switch where the "foreign key" is stored. Right now, you should be able to query userCredential with user but not User with UserCredential.

So swap it. Add userCredentialId column to users. And move the Drizzle relation to the user side.

Or just get the credential with user that would work too.

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

79410178

Date: 2025-02-03 22:42:53
Score: 1
Natty:
Report link

Why not keep it simple?

#!/bin/zsh
for f in /test_data/*; do
    str=$f
    root=${str%/*}  #Remove everything from the right to the first / from the right
    name=${str##*/} #Remove everything from the left to the last / from the left
    echo "Root = " $root
    filename=$(echo $name | awk -F . '{print $1}')
    extension=$(echo $name | awk -F . '{ print $2 }')
    echo "Name = " $filename
    echo "Extension = " $extension
 done;

If there is no extension, then the variable will be empty

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Why not
  • Low reputation (0.5):
Posted by: Todd Vanyo

79410173

Date: 2025-02-03 22:39:52
Score: 1
Natty:
Report link
uint32_t ReverseBits(uint32_t num)
{
    uint32_t result  = 0;
    uint8_t  counter = sizeof(num) * CHAR_BIT; 

    while(num)
    {
        result <<= 1;
        result |= (num & 1);

        num >>= 1;
        --counter;
    }
    
    return result << counter;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Alon Kalif

79410168

Date: 2025-02-03 22:36:52
Score: 0.5
Natty:
Report link

Not directly possible at the moment. If you have any network appliance in front of APIM you could consider doing URL rewrite at that level. Otherwise, one workaround is to use send-request policy to invoke an operation on APIM itself via 127.0.0.1 localhost IP: https://learn.microsoft.com/en-us/azure/api-management/send-request-policy#usage-notes

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

79410138

Date: 2025-02-03 22:20:46
Score: 8.5 🚩
Natty:
Report link

how to prevent editing of certain records, for example if someone tries some urls linke this:

http://localhost:8000/app/someones/5/edit

I tried canView and canEdit in a resource with no luck, any ideas? TIA

Reasons:
  • Blacklisted phrase (1): any ideas
  • Blacklisted phrase (1): no luck
  • RegEx Blacklisted phrase (2): TIA
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): how to
  • Low reputation (1):
Posted by: Peter William LeMans

79410124

Date: 2025-02-03 22:15:44
Score: 2
Natty:
Report link

There's now a dedicated doc to cover this topic.

https://duckdb.org/docs/operations_manual/footprint_of_duckdb/reclaiming_space.html

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

79410120

Date: 2025-02-03 22:13:44
Score: 3.5
Natty:
Report link

I just used php version to PHP 5.5 (alt-php55), resolved it for me

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Pro6836 Rather not say

79410114

Date: 2025-02-03 22:10:43
Score: 1.5
Natty:
Report link

It seems to be a version issue as shown in this post: version issue with twine. Two main points of takeaway is to check your twine and pkginfo version. You can do this by python -m pip show <package name>. Make sure that twine version is <= 6.0.1 ad pkginfo is the latest version 1.12.0.

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

79410110

Date: 2025-02-03 22:06:41
Score: 0.5
Natty:
Report link

Error bars are more complicated than necessary. You can draw a vertical, diagonal, or horizontal line by simply defining the endpoints. Here's the instructions for all:

Creating a Line on a Chart Using Two Points (Single Series, No Error Bars)

This method is versatile and works for vertical, horizontal, and diagonal lines. It's much simpler than using error bars or multiple series.

General Principle:

A line is defined by two points. This method uses two data points to plot the line directly.

Vertical Line:

Data: In two cells in a column (e.g., D1 and D2), enter the same number. This number represents the X-coordinate of your vertical line. For example: D1: 10 D2: 10 In two cells in another column (e.g., E1 and E2), enter two different numbers. These numbers represent the Y-coordinates that define the start and end points of your vertical line. For example: E1: 5 E2: 20 Horizontal Line:

Data: In two cells in a column (e.g., D1 and D2), enter two different numbers. These numbers represent the X-coordinates that define the start and end points of your horizontal line. For example: D1: 5 D2: 20 In two cells in another column (e.g., E1 and E2), enter the same number. This number represents the Y-coordinate of your horizontal line. For example: E1: 10 E2: 10 Diagonal Line:

Data: In two cells in a column (e.g., D1 and D2), enter two different numbers. These numbers represent the X-coordinates of your diagonal line. For example: D1: 5 D2: 15 In two cells in another column (e.g., E1 and E2), enter two different numbers. These numbers represent the Y-coordinates of your diagonal line. Critically, these Y-coordinates should not be the same. For example: E1: 10 E2: 25 For any line (vertical, horizontal, or diagonal):

Chart: Create an XY (Scatter) chart. Add a single series: Series X values: =Sheet1!$D$1:$D$2 Series Y values: =Sheet1!$E$1:$E$2 Key Advantages:

Simplicity: No error bars, no multiple series – just two points defining a line. Flexibility: Works for vertical, horizontal, and diagonal lines. Intuitive: Directly applies the concept of defining a line by two points. Essential Considerations:

XY Scatter Chart: This chart type is crucial for plotting based on numerical X and Y values. Numerical Data: Ensure you are entering numbers, not text, in the cells used for the X and Y coordinates. Unequal X and Y for Diagonals: Diagonal lines require that both the X and Y values of the two points are different. The relationship between the change in X and the change in Y determines the slope of the diagonal line.

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

79410109

Date: 2025-02-03 22:05:41
Score: 5.5
Natty: 6
Report link

Unfortunately the page

https://www.lfd.uci.edu/~gohlke/pythonlibs/#sasl

Does not seem to work. Any alternative?

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: karpan

79410108

Date: 2025-02-03 22:05:40
Score: 0.5
Natty:
Report link

Seems like the debugger output has been changed in a new ST toolchain's version.

You can fix the issue locally by changing the regex in "serverStarted" parameter in launch.json file inside .vscode directory of your project. For example, a regex that should work with both old and new versions of ST toolchains is "serverStarted": "(Waiting for debugger connection.)|(Waiting for connection on port .\.\.\.)",.

It will be set as default template in the new version of extension once it is released.

Check uprtdev Answer here

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

79410107

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

Try this solution. You can also follow this tutorial which helped me: https://www.youtube.com/watch?v=hufhhf2MSHU

class MyUploadAdapter {
  constructor(loader) {
    // The file loader instance to use during the upload.
    this.loader = loader;
  }

  // Starts the upload process.
  upload() {
    return this.loader.file
      .then(file => new Promise((resolve, reject) => {
        this._initRequest();
        this._initListeners(resolve, reject, file);
        this._sendRequest(file);
      }));
  }

  // Aborts the upload process.
  abort() {
    if (this.xhr) {
      this.xhr.abort();
    }
  }

  // Initializes the XMLHttpRequest object using the URL passed to the constructor.
  _initRequest() {
    const xhr = this.xhr = new XMLHttpRequest();

    xhr.open('POST', '{{route("image-upload")}}', true);
    xhr.setRequestHeader('x-csrf-token', '{{ csrf_token()  }}');
    xhr.responseType = 'json';
  }

  // Initializes XMLHttpRequest listeners.
  _initListeners(resolve, reject, file) {
    const xhr = this.xhr;
    const loader = this.loader;
    const genericErrorText = `Couldn't upload file: ${ file.name }.`;

    xhr.addEventListener('error', () => reject(genericErrorText));
    xhr.addEventListener('abort', () => reject());
    xhr.addEventListener('load', () => {
      const response = xhr.response;

      if (!response || response.error) {
        return reject(response && response.error ? response.error.message : genericErrorText);
      }

      resolve({
        default: response.url
      });
    });

    if (xhr.upload) {
      xhr.upload.addEventListener('progress', evt => {
        if (evt.lengthComputable) {
          loader.uploadTotal = evt.total;
          loader.uploaded = evt.loaded;
        }
      });
    }
  }

  // Prepares the data and sends the request.
  _sendRequest(file) {
    // Prepare the form data.
    const data = new FormData();

    data.append('upload', file);

    // Send the request.
    this.xhr.send(data);
  }
}

function SimpleUploadAdapterPlugin(editor) {
  editor.plugins.get('FileRepository').createUploadAdapter = (loader) => {
    // Configure the URL to the upload script in your backend here!
    return new MyUploadAdapter(loader);
  };
}

ClassicEditor.create(document.querySelector('#description_editor'), {
    extraPlugins: [SimpleUploadAdapterPlugin]
  })
  .then(editor => {
    editor.setData(document.querySelector('#description').value);
    editor.model.document.on('change:data', () => {
      document.querySelector('#description').value = editor.getData();
    })
  }).catch(error => {
    console.error(error);
  });
<div class="mb-3">
  <label for="description" class="form-label">{{__('strings.description')}} <span class="text-danger">*</span></label>
  <div class="ck-editor" id="description_editor"></div>
  <textarea name="description"
        class="form-control @error('description') border-red-500 @enderror mt-1 rounded-md ms-2"
        id="description"
        aria-describedby="descriptionHelp"
        placeholder="" required hidden></textarea>
  @error('description')
  <div id="descriptionHelp" class="form-text">{{ $message }}</div>
  @enderror
</div>

Reasons:
  • Blacklisted phrase (1): this tutorial
  • Blacklisted phrase (1): youtube.com
  • Whitelisted phrase (-1): Try this
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: MORFEUS

79410091

Date: 2025-02-03 21:49:36
Score: 7 🚩
Natty:
Report link

Did you already try to set the @Nationalized annotation on the attributes holding the special characters?

See Spring Boot & Hibernate: NVARCHAR column type without @Type annotation

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Nationalized
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Christian

79410084

Date: 2025-02-03 21:45:36
Score: 2.5
Natty:
Report link

The simple thing to check:

This also happens if you are not in the root directory of the project you are attempting to run/build.

;-)

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

79410074

Date: 2025-02-03 21:41:35
Score: 1.5
Natty:
Report link

Okay I finally found the answer thanks to Eugene Sh.'s code:

use seq_macro::seq;

macro_rules! include_each {
    ($n:literal) => {
        seq!(N in 0..$n {
            [#(include_bytes!(stringify!(file~N)),)*]
        })
    };
}

const FRAME_SIZE: usize = 8;
static DATA: [&[u8; FRAME_SIZE]; 2] = include_each!(2);

Which I modified into this:

#[macro_export]
macro_rules! import_img_anim {
    ($path:literal, $n:literal, $extension:literal) => {
        seq_macro::seq!(N in 1..=$n {
            [#(include_bytes!(concat!($path, "/frame", stringify!(N), $extension)),)*]
        })
    };
}

The problem seemed to be this part of the code:

seq_macro::seq!(N in 1..=$n {
    include_bytes!(concat!($path, "/frame", stringify!(N), ".png")),
})

Which just put the include_bytes! macro there without anything else.

Thanks again Eugenne Sh.!

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

79410072

Date: 2025-02-03 21:40:34
Score: 0.5
Natty:
Report link

Write:

dbmopen(%company, "/home/test/company", 0777);
$company{'name'}="Muratiore";
dbmclose(%company);

Read:

dbmopen(%company, "/home/test/company", 0644);
print "Name:".$company{'name'};
dbmclose(%company);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Babbo Natale

79410065

Date: 2025-02-03 21:36:33
Score: 3
Natty:
Report link

You also need to need to create a Header mapper function. Ref: here

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

79410052

Date: 2025-02-03 21:29:32
Score: 2
Natty:
Report link

Here is a comprehensive explanation of the vptr (virtual function pointer) and vtable (virtual function pointer table) concepts:" https://www.learncpp.com/cpp-tutorial/the-virtual-table/

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

79410049

Date: 2025-02-03 21:26:31
Score: 1.5
Natty:
Report link

tensorflow-intel has not been installed, which since you are on windows it should be.

Please go to https://github.com/tensorflow/tensorflow/issues/75415 and encourage the tensorflow folk to put consistent metadata in all of their wheels so that cross-platform resolvers like poetry and uv can reliably derive accurate information.

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

79410033

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

If python is the language of choice and you cannot use java, i’d recommend looking at quix-streams found here. Quix is native python and has most (if not all) of the capabilities of Apache Flink. I tried using pyflink and after two days of banging my head on the wall I found quix-streams. You will spend more time setting up your environment and debugging java dependencies than you will developing your app. When I transitioned to quix, I had my PoC built within a day.

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

79410032

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

The point is that temporal parts of conditional constructs are not correctly supported by the planner.

Actually I don't think there is a solution for this problem so you can only reformulate your actions trying to remove all "fancy" constructs and make your domain as simple as possible.

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

79410014

Date: 2025-02-03 21:04:27
Score: 3.5
Natty:
Report link

Try C or Fortran, or other compiled languages with a decent compiler.

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

79410012

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

I was looking for this answer myself and as far as I can tell: You can't

The question is not about how do you get the yaml of an existing pod, but of a pod that fails to create due to a mutating webhook. Based on my search, I can't find a way to directly get the yaml after the webhook modifies the spec but before it runs into the pod errors.

In these cases your best bet is to look at the logs of the pod that is performing the webhook, or the kube-apiserver if you have proper permissions. In my case I was able to find a log of the patches that were being performed that matched my error message.

When a webhook is not involved, then the other answers are correct, you can simply kubectl get -o yaml on the pod, deployment, or statefulset ect to check whats wrong.

Reasons:
  • Blacklisted phrase (1): how do you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: topplesprout

79410011

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

o3-mini suggested me to add cookiePathRewrite to setupProxy.js and it solved my problem:

const {createProxyMiddleware} = require('http-proxy-middleware');
module.exports = function (app) {
    app.use(
        '/api',
        createProxyMiddleware({
            target: 'http://localhost:5000',
            changeOrigin: true,
            cookiePathRewrite: {
                '/refresh': '/api/refresh',
            },
        })
    );
};
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Stepan0806

79410009

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

solution for .NET 8

define the following class:

internal class UnsafeAccessorClassAntiforgeryOptions
{
    [UnsafeAccessor(UnsafeAccessorKind.StaticField, Name = "DefaultCookiePrefix")]
    public static extern ref string GetUnsafeStaticFieldDefaultCookiePrefix(AntiforgeryOptions obj);
}

then in Program.cs as the first line:

UnsafeAccessorClassAntiforgeryOptions.GetUnsafeStaticFieldDefaultCookiePrefix(new()) = ".AntiForgery.";

more info about UnsafeAccessorAttribute at:

https://medium.com/@malarsharmila/introduction-to-the-unsafeaccessorattribute-class-in-net-8-0-d3a55ec15762

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Cristian Olaru

79410004

Date: 2025-02-03 21:00:26
Score: 0.5
Natty:
Report link

Using sudo -i might work for autocompletion for the root user as it is set up properly. But for regular users, it might need appropriate shell configuration or a package is not installed by default.

To enable shell autocompletion you need to install bash-completion package :

apt-get install bash-completion

After installing you need generate the required kubectl completion script :

echo 'source <(kubectl completion bash)' >>~/.bashrc

To enable bash autocompletion in current session run the command below :

source ~/.bashrc

For additional information follow this documentation for further guidance.

Reasons:
  • Blacklisted phrase (1): this document
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: miracle

79410003

Date: 2025-02-03 20:59:26
Score: 3
Natty:
Report link

The answer was in the README.md from the distribution. I feel dumb and sorry to have bothered everyone.

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

79410002

Date: 2025-02-03 20:59:26
Score: 2.5
Natty:
Report link

I think you forgot to register the f_apr_msg_type_txt ProtoField into your protocol's "fields" table at initialization. Eg.: table.insert(APrint.fields, f_apr_msg_type_txt)

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

79409996

Date: 2025-02-03 20:57:25
Score: 2
Natty:
Report link

When used with the CREATE MODEL statement, the horizon value specifies the maximum number of points the model can forecast. Once the model is created, the ML.FORECAST statement will specify the number of time points to forecast.

The horizon value exists in CREATE MODEL to help shorten the time it takes to generate the model. If not specified, the model will set a maximum horizon of 1000

Reasons:
  • No code block (0.5):
  • Starts with a question (0.5): When use
  • Low reputation (1):
Posted by: jortiz16

79409990

Date: 2025-02-03 20:52:23
Score: 6 🚩
Natty: 5
Report link

@fatherazrael - Did you manage to set some resolution on this? We have been stumbling upon similar mysterious consumer-down issues with no path forward! We suspect Azure side issue to force an upgrade to Premium Tier, which is compatible with Microsoft Provided Azure JMS Library again dependent on Qpid JMS client!

Azure Service Bus: JMS 1.1 + Qpid - https://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-java-how-to-use-jms-api-amqp

Azure Service Bus (Premium Tier Only): JMS 2.0 + Azure JMS Library - https://learn.microsoft.com/en-us/azure/service-bus-messaging/how-to-use-java-message-service-20

Reasons:
  • RegEx Blacklisted phrase (3): Did you manage to
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @fatherazrael
  • Low reputation (1):
Posted by: Zooming Rocket

79409977

Date: 2025-02-03 20:50:22
Score: 5.5
Natty:
Report link

I'm facing the same issue, e.g. the element with the same style appears differently on different web pages. Please confirm I'm doing it right.

The bottom right blue round button is our main target, on this page it's style is this And on this page the button style is this

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm facing the same issue
  • Low reputation (1):
Posted by: Huzaifa

79409967

Date: 2025-02-03 20:44:20
Score: 2.5
Natty:
Report link

Version of VS code is : Version: 1.96.4 (user setup) Commit: cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba Date: 2025-01-16T00:16:19.038Z Electron: 32.2.6 ElectronBuildId: 10629634 Chromium: 128.0.6613.186 Node.js: 20.18.1 V8: 12.8.374.38-electron.0 OS: Windows_NT x64 10.0.26100

WSL is 2

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

79409961

Date: 2025-02-03 20:39:19
Score: 2.5
Natty:
Report link

This problem will only happen with a single input without a comma. It has got something to do with parsing as a tuple rather than the input string. For more than one input, it will be parsed normally.

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

79409955

Date: 2025-02-03 20:38:19
Score: 1.5
Natty:
Report link

First, I will say that this is not normal and most likely something misconfigured in your local environment.

repo.grails.org uses a certificate signed by "WE1 issued by GTS Root R4". You can find both of those under Root CAs and Subordinate CAs on https://pki.goog/repository/Root. They are normally present with JDK 17 and other versions as well, but you could download them and add them as trusted.

https://www.baeldung.com/java-list-trusted-certificates#reading-certificates-from-default-keystore has details for listing trusted CAs

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

79409952

Date: 2025-02-03 20:37:18
Score: 2
Natty:
Report link

Since your enemies are following the player, you can find which direction they are going by substracting Player's position from Enemy's position. Then you can decide which animation to play just like you did on your if-else statements.

Vector2 facingDirection = new Vector2(player.transform.position.x - enemy.transform.position.x,
     player.transform.position.z - enemy.transform.position.z);

if(facingDirection.x > 0 && facingDirection.y > 0) {
   ...
}
if else(facingDirection.x < 0 && facingDirection.y) {
   ...
}
...

We used transform.x and transform.z of player and enemy because your game is in 3d world and we dont want to go up (y axis is up).

If you didnt understood why we substracted positions I recommend you this video

https://www.youtube.com/watch?v=sYf4bSj9j2w

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (1): this video
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: BringSalavat

79409950

Date: 2025-02-03 20:35:18
Score: 0.5
Natty:
Report link

Most upvoted solution already gave an answer on how to fix if you still decided to use import.meta.env.

If you don't have to use import.meta.env, you can manually set window.env = { key: process.env[key] } during SSR. This would make the value available when loaded on client, effectively mimic import.meta.env.

An advantage of this is that the Docker user doesn't have to rebuild the image. They can just run the container (with prebuilt image) with their .env file, and the process described above will load it properly.

Reasons:
  • Blacklisted phrase (0.5): upvote
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Trí Nguyễn

79409947

Date: 2025-02-03 20:33:18
Score: 1
Natty:
Report link

There is no way to view any metadata whatsoever of a YouTube video as it's already preprocessed on the server after uploading and all information regarding the video's origin is removed. The video is streamed to your machine in separate parts and your browsers reconstructs it. YouTube video downloaders utilize this to be able to download videos as complete files.

You can however get the publish time and many other properties of the video using the YouTube Data API

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

79409941

Date: 2025-02-03 20:30:17
Score: 0.5
Natty:
Report link

It looks like there is no sort pipeline feature as of today, but there is an 'fly order-pipelines' command which can be used to specify the order for each pipeline.

According to the concourse documentation:

"Note that this command only ensures that the given pipelines are in the given order. If there are other pipelines that you haven't included in the command, they may appear in-between, before, or after the given set."

ex: fly --target target_name order-pipelines --pipeline pipeline_01 --pipeline pipeline_02
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Biju Gopinathan

79409931

Date: 2025-02-03 20:27:17
Score: 3
Natty:
Report link

PHPWord Document might document may be corrupted due to some unwanted characters while creation. For this you should analyze the data as well as object before sending it for download or creation. It can be occured due to ! or , or something else. For reference you can see this article https://www.programmingmindset.com/post/laravel-phpoffice-phpword-download-doc-file

Reasons:
  • Blacklisted phrase (1): this article
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Ariful Islam

79409925

Date: 2025-02-03 20:25:16
Score: 5
Natty: 7
Report link

Thank you thank you thank you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): thank you
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Machiel van Rheenen

79409922

Date: 2025-02-03 20:24:15
Score: 5
Natty:
Report link

The rs.Fields(7).Value works perfectly, thx!

Reasons:
  • Blacklisted phrase (1): thx
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Don Quixote

79409919

Date: 2025-02-03 20:23:14
Score: 1
Natty:
Report link

Ok I found my problem. I've made 2 instances of axios:

Conclusion: The first instance of axios must also have the withCredentials option!

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

79409911

Date: 2025-02-03 20:20:14
Score: 0.5
Natty:
Report link

Did you check your cors.php file? It's in config directory of your project.

<?php

return [

    /*
    |--------------------------------------------------------------------------
    | Cross-Origin Resource Sharing (CORS) Configuration
    |--------------------------------------------------------------------------
    |
    | Here you may configure your settings for cross-origin resource sharing
    | or "CORS". This determines what cross-origin operations may execute
    | in web browsers. You are free to adjust these settings as needed.
    |
    | To learn more: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
    |
    */

    'paths' => ['api/*', 'sanctum/csrf-cookie'],

    'allowed_methods' => ['*'],  // Allows all HTTP methods

    'allowed_origins' => ['http://localhost:5173'],  // Allows requests from your front-end origin or set * for testing

    'allowed_origins_patterns' => [],  // No specific patterns

    'allowed_headers' => ['*'],  // Allows all headers

    'exposed_headers' => [],  // No specific headers exposed

    'max_age' => 0,  // No maximum age for preflight requests

    'supports_credentials' => false,  // Whether credentials are supported
];

and remove fruitcake/laravel-cors

and try php artisan optimize:clear

make sure your API routes prefix is in 'paths' => ['api/*', 'sanctum/csrf-cookie']

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

79409902

Date: 2025-02-03 20:17:13
Score: 1.5
Natty:
Report link

Odoo.sh does not provide any way to set environment variables. There are two existing environment variables:

ODOO_STAGE (prod vs staging vs dev)

ODOO_VERSION (16.0 vs 17.0 vs 18.0)

See the FAQ for details: https://www.odoo.sh/faq?q=ODOO_STAGE

If you are using libraries or third party apps that depend on a given environment variable we recommend the system parameter approach.

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

79409897

Date: 2025-02-03 20:15:12
Score: 1
Natty:
Report link

The accepted answer is correct.

Don't know what problems everyone else is having, but the non-functioning power button prompted me to eventually search to this page.

Here are the effects on RAM of starting, and closing the emulator in 2025:

enter image description here

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

79409890

Date: 2025-02-03 20:12:11
Score: 0.5
Natty:
Report link

You state that @MainActor is not an option here, without further explanation. So without understanding the rest of your project, I can suggest that it might be that class Foo should really be actor Foo in a fully compliant Swift Concurrency world.

The overall issue you are having seems to be that you are trying to pass around an instance of Foo on which you wish to call async methods, without supplying any guarantees to the compiler about that class' data race safety.

If it cannot or should not run as @MainActor, the same guarantee can be given either by making it an actor itself or by taking data safety entirely into your own hands and marking it as @unchecked Sendable, which will get the compiler off your back for better and for worse.

Either of these changes will make the code you have given here compile, however it's impossible to comment on the effect of the changes on the rest of your code.

actor Foo: NSObject {
    // maintains compiler-level data race safety enforcement
}

or...

class Foo: NSObject, @unchecked Sendable {
   // promises the compiler data race safety...
   // ...but removes its ability to enforce this
}
Reasons:
  • Blacklisted phrase (1): to comment
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: drseg

79409885

Date: 2025-02-03 20:10:10
Score: 4
Natty:
Report link

Ok so I was looking it up and when I use ref instead of like getelementbyid it did work.

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

79409879

Date: 2025-02-03 20:06:10
Score: 1.5
Natty:
Report link

You want rs.Fields(7).Value which is a string, not rs(7) which is a field.

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

79409865

Date: 2025-02-03 19:58:08
Score: 1.5
Natty:
Report link

Something similar to what @rchang wrote; you could override the default for the write() method with with super

import configparser

class CustomConfigParser(configparser.ConfigParser):
    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)

    def write(self, fp, space_around_delimiters = False):
        return super().write(fp, space_around_delimiters)

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @rchang
  • Low reputation (1):
Posted by: BaconInTheRough

79409860

Date: 2025-02-03 19:54:07
Score: 1.5
Natty:
Report link

The Pixel 9 Pro Fold does not support 16KB page mode in Android 15/16 betas. This is intentional, likely due to hardware limitations specific to its foldable design (memory architecture/thermal constraints).

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

79409851

Date: 2025-02-03 19:49:06
Score: 2.5
Natty:
Report link

For me, I am using ODATA endpoints. I was filtering data on a calculated field that exists in the ViewModel, but not in the data model, or the actual table.

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

79409850

Date: 2025-02-03 19:49:06
Score: 2
Natty:
Report link

I have found out that if I removed the signing type from the authentication sub key (which was enabled for authentication and signing) it starts to work... I have no idea why git/gpg choses to use the sub key instead of the master key and why using the sub key doesn't work.

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

79409849

Date: 2025-02-03 19:48:06
Score: 2
Natty:
Report link

I have figured out a way (from the KeyCloak side at least) on how to do this.

KeyCloak config

Within Keycloak I have two main tenants to use:

To achieve the desired role structure I am using a combination of client roles and user groups. For each store:

  1. Create a client for that represents that store (don't need to assign authentication flows)
    • Create the roles at that store as Client Roles
  2. Create a group for that store with sub-groups that represent the groups
    • Configure the role mapping from the client roles to that group role
    • Assign the users for that role
  3. Ensure that the public client maps the client roles

This will produce a JWT that has the role at each store associated with the user.

.NET config

Once the user has logged in through the Keycloak provider:

With regards to the Blazor WASM side, that is something I am trying to work out now.

Reasons:
  • Blacklisted phrase (1): regards
  • Blacklisted phrase (1): I am trying to
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Andrew Shaw

79409832

Date: 2025-02-03 19:40:04
Score: 3.5
Natty:
Report link

If still relevant to you, the current code might be helpful to you.

https://github.com/jlmacle/changemakers-matching_testing

Best of perseverance.

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

79409831

Date: 2025-02-03 19:40:04
Score: 2
Natty:
Report link

Look at your ListNode class. Notice each node has its own value and a next value, but not a previous value. When you change the value of 1's next node, you're not changing any value of node 2.

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

79409818

Date: 2025-02-03 19:34:02
Score: 3.5
Natty:
Report link

I went to python no help here or on GitHub of this package.

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

79409808

Date: 2025-02-03 19:31:01
Score: 0.5
Natty:
Report link

You'll have to calculate the aspect ratio of the image, and pass it into the options object:

const result = await ImagePicker.launchCameraAsync({
    allowsEditing: true,
    quality: 0.1,
    aspect: [16, 9] // pass calculated aspect ratio here
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Chibuokem Onyekwelu

79409794

Date: 2025-02-03 19:23:59
Score: 4.5
Natty: 3.5
Report link

did you launch your program? I try to do the same, but it didn't work

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (1):
Posted by: den7778

79409792

Date: 2025-02-03 19:23:59
Score: 2.5
Natty:
Report link

Never use the B option of answer (5).

There are many people using their desktop computer making phone calls, like I do.

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

79409790

Date: 2025-02-03 19:22:59
Score: 1
Natty:
Report link

I found a solution in the discord chat, but it not definitive

Update your composer.json to require v3.5.12

"livewire/livewire": "3.5.12"

And run a composer update for livewire composer update livewire/livewire

Once you’re back on v3.5.12, everything will be okay.

PS: This is not a definitive

Discord link:

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

79409786

Date: 2025-02-03 19:19:58
Score: 0.5
Natty:
Report link

You will need to update primereact to a React 19 compatible version.

npm i primereact@latest

For context: Primereact probably uses fordwardRef to wrap some internal components. Refs can now be passed as a regular prop instead. The fordwardRef function will be removed in a future release.

https://react.dev/blog/2024/12/05/react-19#ref-as-a-prop

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

79409779

Date: 2025-02-03 19:16:58
Score: 3
Natty:
Report link

You can take the analogous Heart Rate Sensor data devised from electromagnetic sensor coils and read that fluctuating data into memory, then re--create this signal data by outputting the current stream onto the display.

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

79409776

Date: 2025-02-03 19:15:57
Score: 4
Natty:
Report link

Just going off of the documentation of the livecharts library, but have you tried binding to an ObservableCollection of ICartesianSeries rather than an ObservableCollection of ISeries?

https://livecharts.dev/docs/Eto/2.0.0-rc2/CartesianChart.Cartesian%20chart%20control#cartesian-chart-control

Reasons:
  • Whitelisted phrase (-1): have you tried
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Dave

79409775

Date: 2025-02-03 19:15:57
Score: 2
Natty:
Report link

As the error mentions, laravel cannot find the target class "UserService" in the said directory. You should check the directory where this class is placed and confirm the namespace in the UserService class is pointing correctly to the right directory and called accurately.

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

79409773

Date: 2025-02-03 19:14:57
Score: 0.5
Natty:
Report link

In present time I'd recommend prisma-class-generator lib which is also listed on Prisma's docs site for generators here. It does the same job, as it's description promises > Generates classes from your Prisma Schema that can be used as DTO, Swagger Response, TypeGraphQL and so on.

Note, my old go to choice wasprisma-generator-nestjs-dto which is also listed on Prisma's docs site.

However it was archived on Jan 5th, 2025 as it was looking for maintainers.

Reasons:
  • No code block (0.5):
Posted by: Zoltan Rakottyai

79409762

Date: 2025-02-03 19:07:55
Score: 1
Natty:
Report link

use coerce_numbers_to_str option

class Model(BaseModel):
    a: str
    model_config = ConfigDict(coerce_numbers_to_str=True)

model1 = Model(a=1)
model2 = Model(a=1.1)

when use coerce_numbers_to_str, pydantic will allow field a accept a numeric valuse(including integer), validate integer to str

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

79409751

Date: 2025-02-03 19:02:53
Score: 5
Natty:
Report link

This is not a SMTP error. Are you using an Exchange Online mailbox or Outlook.com/hotmail.com?

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

79409740

Date: 2025-02-03 18:57:52
Score: 1
Natty:
Report link
using var stream = await _graphClient.Drives[driveId].Root.ItemWithPath(filePath).Content.GetAsync();
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: Joe

79409731

Date: 2025-02-03 18:54:51
Score: 0.5
Natty:
Report link

Not shure if it has already been told in the answers but imo it would be:

File my_file = new File("filename");
// Get the number of mbs
long size = my_file.length() / ((1024 * 1024))

;

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

79409728

Date: 2025-02-03 18:52:51
Score: 2.5
Natty:
Report link

I ran into the same error and fixed it by deleting that JUnit entry in Run Configurations and subsequent run was successful.

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

79409722

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

It looks like the API has been deprecated. People are discussing the same issue on their community forum.

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

79409720

Date: 2025-02-03 18:47:49
Score: 7.5 🚩
Natty: 2.5
Report link

I have the same issue on this website

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Low length (2):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: ultime

79409716

Date: 2025-02-03 18:45:48
Score: 1
Natty:
Report link

I had the same problem. I just changed the reading settings on wordpress You should check if your homepage is set to display "Your latest posts" or a static page. If it's a static page, make sure the blog page is set correctly under "Posts page".

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

79409704

Date: 2025-02-03 18:39:46
Score: 9.5 🚩
Natty: 5.5
Report link

UwU i am really sigma, so I want my tab colour to be dark red because it is my fav colourrr but like for sum reason it got muted and its a weird maroon-y colour and i dont like it. how to fix ??????????????????????????????????????????????????????????????????????????????????????

Reasons:
  • Blacklisted phrase (1): ???
  • RegEx Blacklisted phrase (1.5): how to fix ??????????????????????????????????????????????????????????????????????????????????????
  • RegEx Blacklisted phrase (1): I want
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Filler text (0.5): ??????????????????????????????????????????????????????????????????????????????????????
  • Low reputation (1):
Posted by: uwu

79409701

Date: 2025-02-03 18:36:45
Score: 2.5
Natty:
Report link

Anwsering my own question...

We found that in fact, the build pipeline wasn't doing the job correctly letting assets/pages untouched while code-behind files were built into the DLL. Resulting that referencing newly added aspx server control elements was giving null pointer exceptions.

Sorry about that!

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

79409695

Date: 2025-02-03 18:35:44
Score: 1
Natty:
Report link

From MUI V7 pass slotProps as props InputLabelProps is depreciated

slotProps={{ inputLabel: { shrink: true } }} 
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Akilesh

79409687

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

After a many attempts at solving the problem, my last resort was using a cloned project of the same library inside another repository: Add this to build.gradle (app)

    implementation 'fr.avianey.com.viewpagerindicator:library:2.4.1.1@aar'

Add this to build.gradle (module)

        mavenCentral()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Hassaan J.

79409680

Date: 2025-02-03 18:29:43
Score: 2
Natty:
Report link

What was going wrong was: First the buttons didn't have the class swiper-button-next/prev in them, I thought the js would automatically put the corret styling.

Then when I modified the classes to the way they should be, the arrows were in a completely random position, not related to the swiper container, then I just needed to add position: relative to the swiper parent container. Then everything went fine. Thanks for the answers!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): What was
  • Low reputation (1):
Posted by: lucastheiss

79409671

Date: 2025-02-03 18:26:42
Score: 1
Natty:
Report link

I had the same issue because of an existing file named openai.py in the project. Removing that file has fixed the issue.

OpenAI package version : 1.61.0

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

79409664

Date: 2025-02-03 18:23:40
Score: 6 🚩
Natty:
Report link

Please see this link for help: https://github.com/aspnet/CORS/blob/master/src/Microsoft.AspNetCore.Cors/Infrastructure/CorsService.cs#L104

The method EvaluatePolicy returns an intermediate CorsResult that indicates the necessary action to take (which headers to set, whether to respond to an identified preflight request). Apply result is then used to apply these changes to the HttpResponse. This intermediate CorsResult checks for the request origin header and evaluates to either true or false.

See this link for when the browsers set the origin header: When do browsers send the Origin header? When do browsers set the origin to null?

Reasons:
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): see this link
  • RegEx Blacklisted phrase (1): See this link
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: SoftwareDveloper

79409663

Date: 2025-02-03 18:23:40
Score: 1.5
Natty:
Report link

So I solve the issue by installing Vite with Nuxt3 and Deno v2.1 and doing the install through the deno install

deno install npm:three
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jet Set Video