79549396

Date: 2025-04-01 23:55:33
Score: 0.5
Natty:
Report link

The header should be like this:

    "headers": {
        "Accept": "application/json;odata=nometadata",
        "Content-Type": "application/xml",
        "Date ": "2025-04-01T23:44:23.8050019Z",
        "x-ms-version": "2019-07-07"
    }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Deepak Shaw

79549394

Date: 2025-04-01 23:50:32
Score: 1.5
Natty:
Report link
$user = wp_get_current_user();

if (in_array( 'some_group', (array) $user->roles )) { echo "user is in group" }
  
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Rachael Lee

79549374

Date: 2025-04-01 23:35:28
Score: 0.5
Natty:
Report link

This is as simple as writing a custom validator that you insert into your default JWT validation

https://docs.spring.io/spring-security/reference/servlet/oauth2/resource-server/jwt.html#oauth2resourceserver-jwt-validation-custom

No need for any custom homemade security filters.

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

79549362

Date: 2025-04-01 23:20:25
Score: 1
Natty:
Report link

Could have been a bug. I used the iOS simulator to reproduce this in Safari v15.5-v17.5. It seems like it was fixed in v18 though.

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

79549357

Date: 2025-04-01 23:17:25
Score: 2.5
Natty:
Report link

Thank you for your hints the solution was adding typename before one<_Return>::UseType (*)(void);
so that it looks like:

using PF = typename one<_Return>::UseType (*)(void);

Here is a link with more info type_alias

Additionally, class one has to be defined as @RemyLebeau suggested:

template <class _Type>
class one {
    public:
      using UseType = _Type;

};

by some reason _Type, and _Return was not a problem. Maybe because in the case of templates they are reduced to local scope, it's just a guess.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Has code block (-0.5):
  • User mentioned (1): @RemyLebeau
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Ulises V.

79549356

Date: 2025-04-01 23:16:24
Score: 1
Natty:
Report link

In WooCommerce, you can control the position of checkout fields using plugins like "Checkout Fields Manager" or by directly editing the theme's code, allowing you to place fields before or after customer details, billing/shipping forms, terms, order review, order notes, or the order submit button.

I literally googled it, and got 10 ways you can make this happen.

Google: woocommerce checkout positions

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

79549345

Date: 2025-04-01 22:59:21
Score: 2
Natty:
Report link

I tried to upload it via the rest api in n8n. This solution helped me.

If this error is showed after migrating wordpress to new server check upload path in: settings->media->Store uploads in this folder

default value is wp-content/uploads.

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

79549339

Date: 2025-04-01 22:50:19
Score: 2.5
Natty:
Report link

install date is supported since Vista, and can be gotten via SetupDiGetClassProperty with DEVPKEY_Device_InstallDate

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

79549335

Date: 2025-04-01 22:49:19
Score: 1.5
Natty:
Report link

You need a database that synchronizes with your userdefault. You can sync however frequent you want. so that when a user purchases your database is notified and when a cancelation is done. your database is also notified. which then tell your userdefault that the user has opted out of your purchase. See the rough sketch below.

enter image description here

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Abiola Akinnubi

79549333

Date: 2025-04-01 22:48:18
Score: 4
Natty:
Report link

import type { Route } from "./+types/task";
import React, { useEffect, useState } from "react";
import type { ChangeEvent } from "react";

export default function Task() {
  const [file, setFile] = useState<File | null>(null);

  // handle file input change event
  const handleFileChange = (event: ChangeEvent<HTMLInputElement>) => {
    setFile(event.target.files?.[0] || null);
  };

  const handleFileUpload = async () => {
    if (!file) {
      alert('Please select a file to upload.');
      return;
    }

    // create a FormData object to hold the file data
    const formData = new FormData();
    formData.append('file', file);

    

    try {
      const response = await fetch('https://api.cloudflare.com/client/v4/accounts/<my-id>/images/v1', {
        method: 'POST',
        headers: {
          'Authorization': 'Bearer <my-api-key>',
        },
        body: formData,
      });

      // check if the response is ok
      const result = await response.json();
      console.log('Upload successful:', result);
    } catch (error) {
      console.error('Error during file upload:', error);
    }
  };
  return (
    <div className="block">
        <h1>File Upload</h1>
        <input type="file" onChange={handleFileChange} />
        <button onClick={handleFileUpload}>Submit</button>
    </div>
  );
}

Hello, can you help me to solve the problem I have face? Is similar too but I am in localhost reactJS of the web interface to upload the file to the cloudflare images, but the CORS error occurs. Here is the screenshot of the CORS in the browser inspection

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): can you help me
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Foo Wei Shien

79549327

Date: 2025-04-01 22:42:17
Score: 1.5
Natty:
Report link

I suppose I can answer my own question . . .

For all those who stumble upon this looking for an answer:

Ursina has a built in function "animate_rotation" as well as some other ones like position, so for my code, it would work like

self.animate_rotation((x, y, z), duration = .2)

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

79549317

Date: 2025-04-01 22:35:15
Score: 2
Natty:
Report link

Cause of the Issue It turned out that I had accidentally deleted a section of code inside lib/convert/json.dart, which happened to contain the jsonEncode definition. (Lesson learned: stop coding when you're tired! 😅) Steps to Fix It Check if convert.dart or related core files were modified If you find any missing code, restore it manually or reset your changes. Repair the Flutter pub cache flutter pub cache repair Delete the Flutter cache manually Navigate to your Flutter installation folder and delete the cache: flutter doctor Restart your IDE and rebuild the project

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ELMEHDAOUI Ahmed

79549316

Date: 2025-04-01 22:34:15
Score: 3.5
Natty:
Report link

Try pool_recycle=1800, pool_pre_ping=True in the function create_engine

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

79549311

Date: 2025-04-01 22:33:14
Score: 1.5
Natty:
Report link

Thank you for your hints the solution was adding typename before one<_Return>::UseType (*)(void);
so that it looks like:

using PF = typename one<_Return>::UseType (*)(void);

Here is a link with more info type_alias

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ulises V.

79549308

Date: 2025-04-01 22:30:14
Score: 1
Natty:
Report link

It is not possible to configure a Cloud Armor Edge Security policy via Helm today. You can only do this via the console/API/gCloud CLI. If you manually decorate your backend service on the load balancer instance with an Edge Policy, it will add it; however, you are not able to directly control it via the CI/CD config itself. If you change the backend service name or add additional services, you will have to once again manually add the Edge Security policy. Most of the future development is happening on Gateway API, but alas, you still cannot decorate an Edge Policy via the Gateway controller.

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

79549305

Date: 2025-04-01 22:29:13
Score: 1.5
Natty:
Report link

Optimized sub-optimal code. @5andr0

static void * get_symbol_addr_kprobe(const char * symbol_name) {
    struct kprobe kp = {
        .symbol_name = symbol_name,
    };
    int ret = register_kprobe( & kp);
    if (ret < 0) {
        pr_err("register_kprobe failed for %s\n", symbol_name);
        return NULL;
    }
    void * addr = (void * ) kp.addr;
    unregister_kprobe( & kp);
    return addr;
}
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @5andr0
  • Low reputation (1):
Posted by: JFisiiahi 69

79549292

Date: 2025-04-01 22:20:11
Score: 3.5
Natty:
Report link

# Definir los puntos

punto_original = (4, 1)

punto_reflejado = (-4, 1)

# Crear la figura y el eje

fig, ax = plt.subplots(figsize=(6,6))

# Graficar los puntos

ax.plot(punto_original[0], punto_original[1], 'ro', label='Original (4,1)')

ax.plot(punto_reflejado[0], punto_reflejado[1], 'bo', label='Reflejado (-4,1)')

Reasons:
  • Blacklisted phrase (2): Crear
  • No code block (0.5):
  • Low reputation (1):
Posted by: Yasmin Palacios

79549279

Date: 2025-04-01 22:12:09
Score: 1
Natty:
Report link

while both of those work, there is a much quicker way to do so:

words = ['This', 'is', 'a', 'list']
separator = '-'

#then, to join the words together
new = separator.join(words)
print(new)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user30081523

79549278

Date: 2025-04-01 22:11:08
Score: 1.5
Natty:
Report link
=SUM(N(MMULT(N($B$2:$G$13=J2),ROW($1:$6)^0)*MMULT(N($B$2:$G$13=K2),ROW($1:$6)^0)>0))

With legacy Excel such as Excel 2013 you can apply this formula which has to be entered with ctrl+shift+enter as an arrayformula if you don't work with Excel for the web or Office365.

enter image description here

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

79549276

Date: 2025-04-01 22:04:07
Score: 3
Natty:
Report link

I think you can set the default access level so that Stakeholder is provided rather than Basic. We have our default set to "Stakeholder" and if people are added directly rather than going through our normal process, they are given "Stakeholder".

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

79549273

Date: 2025-04-01 22:03:07
Score: 1
Natty:
Report link

The simplest way is to search for that view/table name in the VIEW_DEFINITIONS:

SELECT * FROM INFORMATION_SCHEMA.VIEWS WHERE VIEW_DEFINITION ILIKE '%MY_TABLE_NAME%'

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

79549269

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

Check if you are using MySQL 8.4. By default in Cloud SQL, Mysql 8.4 the caching_sha2_password auth plugin is the default. You may need to configure your go mysql client to use caching_sha2_password also.

It looks like you already found the article describing several ways to connect to a private-ip Cloud SQL instance. Just in case others find it useful also, here's the link: https://cloud.google.com/sql/docs/mysql/connect-to-instance-from-outside-vpc

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

79549258

Date: 2025-04-01 21:49:02
Score: 1
Natty:
Report link

You don't need to do it. You can just safely run migrate-hack and run your migrations without conflicts.

gem install migrate-hack

migrate-hack
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Karl Zillner

79549252

Date: 2025-04-01 21:46:01
Score: 1
Natty:
Report link

Calling RESET ALL will set all your variables to empty strings if that's what you're trying to do. That's what I was looking for online, and found this topic. Maybe someone will find it useful.

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

79549248

Date: 2025-04-01 21:43:00
Score: 1
Natty:
Report link

Thanks for the above guidance using the XPath string, this helped solve the original question. The following replaces, in place, the original value on the line containing "2025-03-27 16:57:40 PDT" with "5" (as an example)

xmlstarlet ed -L --update "//database/comment()[contains(., '2025-03-27 16:57:40 PDT')]/following-sibling::row[1]/v" --value "5" test_modified.xml

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

79549247

Date: 2025-04-01 21:43:00
Score: 2
Natty:
Report link

First off this is an excellent question that I don't believe we are ready to comprehend, although the answers are indeed in the science itself. Most digital assets are left in the "cloud" of digital information. It is backed up consistently to hardware, where it can be accessed by its owners using a digital key that never has to touch any network. So to answer, which OS is controlling web3 is to simply remember that the block chain is a decentralized and more cryptographically secure method of not only peer to peer transacting , but also proof of digital ownership. Understanding that these are digital assets, the OS will change, owner to owner. The digital ledger gives validity to which OS will govern it. And that's the beauty of web3.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: TEELAGREE

79549246

Date: 2025-04-01 21:43:00
Score: 1.5
Natty:
Report link

According to Microsoft, the worker service template won't be visible unless you have the ASP.NET and web development workload enabled. When I encountered this issue I thought I needed to repair VS, but it turns out all I had to do was install the workload and it showed up in my templates list.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Caleb Keller

79549245

Date: 2025-04-01 21:42:00
Score: 1.5
Natty:
Report link

It's not possible to create more than one test user per developer account.

However, you can have more than one developer account.

We typically see folks with both of these at the same time:

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Jaime Lopez Jr.

79549240

Date: 2025-04-01 21:33:57
Score: 5.5
Natty: 6.5
Report link

have you tried https://github.com/recap/docker-mac-routes ? it works with 4.39.0

Reasons:
  • Whitelisted phrase (-1): have you tried
  • Probably link only (1):
  • Contains signature (1):
  • Low length (2):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Recap

79549233

Date: 2025-04-01 21:28:56
Score: 1.5
Natty:
Report link

In the case you still need this working, I forked qtlocation on my personnal repository and fixed mapbox to make it work.

https://github.com/zimml/qtlocation

I haven't found time to propose pull request to reintegrate in upstream.

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

79549224

Date: 2025-04-01 21:21:54
Score: 1
Natty:
Report link

Ok, finally I have found a solution.

Actually, I can choose any ip address to end up my tunnel. So, instead of 127.0.0.2 I need to end up this tunnel on address 172.17.0.1 - this address is output of this command on host:

ip addr show docker0

After that I can simply connect from my PHP-container:

 $db = new PDO("mysql:host=172.17.0.1;port=13306", "user", "pass");
Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: dima.rus

79549221

Date: 2025-04-01 21:19:54
Score: 1.5
Natty:
Report link

My aplication was set up to run on Local IIS using the HTTPS protocol, but it wasn't configured in IIS.
I had to add that protocol in IIS by going to Default Web Site>Edit Bindings.
After that I could load the aplication in VS 2022.

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

79549218

Date: 2025-04-01 21:18:53
Score: 0.5
Natty:
Report link

Never found the reason for this, which is annoying as this is pretty much exactly the same as Example 9 at the man page for the command (https://docs.dbatools.io/Restore-DbaDatabase.html)

My workaround was to break the process up into two pieces - one command for the full backup restore and one for the log backup restores:

$File = Get-ChildItem -LiteralPath '\\it-sql-bckp-01\sql_backups$\Business\FULL_COPY_ONLY' | Where-Object {$_.CreationTime -gt (Get-Date).AddDays(-1)}
$File | Restore-DbaDatabase -SqlInstance Server2 -Database Business -NoRecovery -ReuseSourceFolderStructure

$File = Get-ChildItem -LiteralPath '\\it-sql-bckp-01\sql_backups$\Business\LOG' | Where-Object {$_.CreationTime -gt (Get-Date).AddDays(-1)}
$File | Restore-DbaDatabase -SqlInstance Server2 -Database Business -NoRecovery -ReuseSourceFolderStructure -Continue

Apparently, putting files from two different directories into $File at once doesn't work (again, even though that is what the dbatools example shows).

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

79549211

Date: 2025-04-01 21:16:53
Score: 3
Natty:
Report link

Credit for the complete explanation/answer to this question was posted back in 2012 by @Thilo in the context of a different question:

That "object" parameter to "addObserver" is an optional filter. Upon posting a notification you can set an object to the sender of the notification, and will then only be notified of that sender's events. If set to "nil" you will get all notification of this type (regardless who sent them).

My learning continues.

Reasons:
  • No code block (0.5):
  • User mentioned (1): @Thilo
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Robert Singer

79549209

Date: 2025-04-01 21:13:52
Score: 13 🚩
Natty: 6
Report link

Were you able to figure this out? I am having the same problem. thanks!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • RegEx Blacklisted phrase (3): Were you able to figure this out
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Neel Desai

79549197

Date: 2025-04-01 21:07:49
Score: 4.5
Natty:
Report link

@geekley's solution worked, but for those of us whose IM utility isn't called "convert" (also a FAT to NTFS converter utility), it may be installed as "magick.exe". Might save someone a few minutes of hair pulling, or accidentally reformatting their drive.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @geekley's
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Drowning_Ophelia

79549192

Date: 2025-04-01 21:05:47
Score: 11 🚩
Natty:
Report link

I am using Microsoft Office Professional 2016 installed locally and have this same problem. I have need for the OFFSET function a lot. Has anyone found a workaround? Is the problem still present on later versions of Office? If "No" and "Yes", does MS have any plan to fix it?

Reasons:
  • Blacklisted phrase (2): anyone found
  • RegEx Blacklisted phrase (1.5): fix it?
  • RegEx Blacklisted phrase (3): Has anyone found
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: DRF

79549191

Date: 2025-04-01 21:05:47
Score: 3.5
Natty:
Report link

Did you ever find a solution, I tried many different methods including:

uri = (
                f"databricks://token:{api_token}@{host}?"
                f"http_path={http_path}&catalog={catalog}&schema={schema}"
            )
            
            
            db = SQLDatabase.from_uri(
                database_uri=uri,
                include_tables=[""],
                sample_rows_in_table_info=5,
            )

but that does not seem to work either

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever find a solution
  • Has code block (-0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (0.5):
Posted by: ZisIzHell

79549181

Date: 2025-04-01 20:58:45
Score: 2
Natty:
Report link

The problem is that your DbContext was probably disposed of too soon while you were waiting for the first API to submit the second API request. Avoid encapsulating the context in using statements or outright discarding it to correct this. Permit the dependency injection lifecycle to be managed. Additionally, make sure that every HTTP request and answer is appropriately awaited. This will enable smooth chaining across APIs and avoid the "disposed context" problem.

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

79549176

Date: 2025-04-01 20:55:44
Score: 1.5
Natty:
Report link

I believe you can use bookmarks to solve this problem, attach your PBIX file or take some screenshots so I can better understand the problem

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Lucas Silveira

79549170

Date: 2025-04-01 20:52:44
Score: 1
Natty:
Report link

put the #define into the main function:

#include <iostream>
using namespace std;

int main()
{    
    #define int long long int
    //your code
}

the downside is that this won't work for functions.

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

79549169

Date: 2025-04-01 20:52:44
Score: 3
Natty:
Report link

I can recommend this package for Intl flutter it's useful and tested by me multiple times
remove_unused_localizations_keys

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

79549168

Date: 2025-04-01 20:51:43
Score: 0.5
Natty:
Report link
Dim enUS As New CultureInfo("en-US")
Dim dtDate As Date

'TryParseExact returns a boolean (Success/Fail)
If DateTime.TryParseExact(metaDateTime, "yyyy:MM:dd HH:mm:ss", enUS, Globalization.DateTimeStyles.NoCurrentDateDefault, dtDate) then
    'valid date - dtDate contains the converted date value
Else
    'the metaDateTime wasn't in the correct format
End If
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: CPRouse

79549158

Date: 2025-04-01 20:45:41
Score: 2
Natty:
Report link

SAP Integration Suite Splitter will get this error when there is a subsequent API call be for the associated gather for the splitter.

Reason: The gather expects XML but the result of the API call is JSON, hence the error.

Solution 1: use and JSON -> XML converter after the API call

Solution 2: modify your gather to use a different aggregation strategy in the Gather module as follows:

Incoming Format: Plain Text

Aggregation Algorithm: Concatenate

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

79549153

Date: 2025-04-01 20:43:40
Score: 1.5
Natty:
Report link

You can use the attributes draghandleclassname & cancel to achieve this behavior.

Github issue: https://github.com/bokuweb/react-rnd/issues/956

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
Posted by: Kay

79549146

Date: 2025-04-01 20:39:39
Score: 2.5
Natty:
Report link

After a lot of digging and tinkering it turned out the translation module (i18n) for some reason was intercepting and changing the file. The solution was to go in to i18n and add to the exceptions |\.mp3

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

79549139

Date: 2025-04-01 20:35:38
Score: 1
Natty:
Report link

You need to create a new claim with the name organization:* and turn on Include in token scope.

enter image description here

Assign this client scope to your client and set it as the default. Also, set the organization client scope as optional in your client.

It's working for keycloak 26.0.8, but right know latest version (26.1.3) is not working as expected as far as I can see.

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

79549136

Date: 2025-04-01 20:35:38
Score: 1
Natty:
Report link

OSIS is absolutely alive, used as the basic format for Sword project. Yes, it is compressed somehow, but the original source codes are freely available on https://gitlab.com/crosswire-bible-society/ and yes, I believe, that from biblical formats, OSIS and USFM (non-XML) are the most often used.

@michal-kay is right, that TEI should theoretically be used, by in fact, it isn’t. It is so complicated, and there are so many different versions of what could be called TEI, that outside of highly abstract academic research I don’t know much about its use in the real life Bible software development.

Reasons:
  • Blacklisted phrase (1): what could be
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @michal-kay
  • High reputation (-1):
Posted by: mcepl

79549132

Date: 2025-04-01 20:33:38
Score: 1.5
Natty:
Report link

The problem was my query. Once I changed that simple test loop for a real SELECT statement then the timeout property already worked as expected.

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

79549131

Date: 2025-04-01 20:33:38
Score: 0.5
Natty:
Report link

There is a CustomEvent that is fired when the theme is changed. This event name is themeChanged. The event contains the name of the theme that it has changed to.

I am still to figure out how you get the theme name on page load. The SDK.init is supposed to emit this event but does not.

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

79549129

Date: 2025-04-01 20:32:37
Score: 4
Natty: 4
Report link

i had the exact same cookie problem, and your solution half fixed it! The cookie problem is gone on Chrome, but still exists on Safari, any insights? 🙏

Reasons:
  • Blacklisted phrase (0.5): 🙏
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: lamb p

79549122

Date: 2025-04-01 20:28:36
Score: 2
Natty:
Report link

I don't see an error in your vite proxy config, but it might be in your back-end server. At first, my API endpoint was configured as /data, but this didn't work, as the proxy request was being sent to /api/data using my proxy config (further down). Perhaps there's something in your server configuration.

I noticed in your fix, you said that you made the axios request:

const res = await axios.get('http://127.0.0.1:5000/', {
  headers: { 'Content-Type': 'application/json' }
});

Earlier, you had noted your app was trying to request http://localhost:5173/api/home/, which would be proxied as http://127.0.0.1:5000/api/home/, thus this isn't the same as the axios.get url above. Also keep in mind how your server might treat the final /.

To your question about the API requests you expect to proxy going to the vite server at localhost:5173, that is normal, and what I see as well in my working project. The network request is made to the vite server, then it transparently sends that request to the proxy server (no client notification), and transparently returns the API result from the vite server itself.

I just set up a vite React-TS + Flask project using the vite server.proxy setting. I initialized the project using create vite and the react-ts template. I then created a directory api inside the project and copied my flask server.py into it. The Flask server is very basic, 28 lines in total, and runs on the default URL of http://127.0.0.1:5000.

If I can provide any additional code, please let me know.

Full vite.config.ts:

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'

// https://vite.dev/config/
export default defineConfig({
  plugins: [react()],
  server: {
    proxy: {
      '/api': {
        target: 'http://127.0.0.1:5000',
        changeOrigin: true,
        secure: false,
        ws: true,
      },
    },
  },
})

@app.route from ./api/server.py

@app.route('/api/data')
def det_data():

    # Return a data object to the front end
    return {
        "name":"James Baldwin", 
        "occupation":"author",
        "date":x, 
        }

fetch() in App.tsx:

  useEffect(() => {
    // This will redirect to the Flask server (http://127.0.0.1:5000/api/data)
    fetch("/api/data").then((result) =>
      result.json().then((data) => {
        setdata(data);
      })
    );
  }, []);

Good luck!

Reasons:
  • RegEx Blacklisted phrase (2.5): please let me know
  • RegEx Blacklisted phrase (1): I can provide any additional code, please
  • Long answer (-1):
  • Has code block (-0.5):
Posted by: liquidki

79549119

Date: 2025-04-01 20:27:36
Score: 1
Natty:
Report link

At the moment, the Microsoft Graph API does not provide a direct way to set the region format for converting Excel to PDF. You would have to make the changes on the file directly using Excel under File > Options>Advanced. Once updated, upload the modified file and then use the Graph API to convert to PDF. **
Link to Documentation- Convert to other formats - Microsoft Graph v1.0 | Microsoft Learn**

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

79549111

Date: 2025-04-01 20:25:35
Score: 1
Natty:
Report link

Make sure the group is a part of your workspace. In SQL you can run show groups to see whether the group is available or not.

If the group does not show there, go to Settings -> Workspace Admin -> Identity and Access -> Groups

and add the group into the workspace.

https://learn.microsoft.com/en-us/azure/databricks/admin/users-groups/groups#add-groups-workspace

If the group doesn't show from the Add group button, then you may need to add the group in the Account console:

https://learn.microsoft.com/en-us/azure/databricks/admin/users-groups/groups#account-console

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

79549095

Date: 2025-04-01 20:15:33
Score: 1.5
Natty:
Report link

Any help would be appreciated.

First create a test harness.


A test harness for those who would like exercise a solution.

int reverse(int n){
    if(n/10==0) return n;
    int temp = n/10;
    n = n - (n%100) + n%10*10 + n/10%10;//switch the first two digits
    n = reverse(n/10)*10 + n%10;
    int r = reverse(temp);
    n = n-temp+r;
    return n;
}

int rev(int work) {
  int siz = 1, result = work, digit, power = 1;

  while (result > 9)   {
    siz++;
    result /= 10;
  }

  if (siz == 1) /* If just the last digit, then return that digit which will now become the first digit             */
    return work;

  for (int i = 0; i < (siz - 1); i++)
    power *= 10;

  digit = work / 10; /* Aquire the right most digit for the work integer value                                           */
  digit = work - (digit * 10);
  result = rev(work / 10) + digit * power; /* Add the reevaluated digit with the recursive call to reversing function  */
  return result;

}

void  test_rev(const char *s, int (*f)(int)) {
  puts(s);
  int x[] = { 0, 1, 100, 1234, INT_MAX/10, INT_MAX };
  unsigned n = sizeof x/sizeof x[0];
  for (unsigned i = 0; i < n; i++) {
    printf("x:%11d ", x[i]);
    fflush(stdout);
    printf("y:%11d\n", f(x[i]));
    printf("x:%11d ", -1 - x[i]);
    fflush(stdout);
    printf("y:%11d\n", f(-1 - x[i]));
  }
  puts("");
}

#include <limits.h>
#include <stdio.h>

int main(void) {
  test_rev("Daniel Levi", reverse);
  test_rev("NoDakker", rev);
}

Output

Daniel Levi
x:          0 y:          0
x:         -1 y:         -1
x:          1 y:          1
x:         -2 y:         -2
x:        100 y:          1
x:       -124 y:       -421
x:       1234 y:       4411 Fail
x:      -1235 y:      -5411 Negative fail
x:  214748364 y:  666396462 Fail
x: -214748365 y: -766396462 Negative fail
x: 2147483647 y:   82650772 Overflow
x:-2147483648 y:-1082650772 Overflow

NoDakker
x:          0 y:          0
x:         -1 y:         -1
x:          1 y:          1
x:         -2 y:         -2
x:        100 y:          1
x:       -124 y:       -124 Negative, no reversal
x:       1234 y:       4321
x:      -1235 y:      -1235 Negative, no reversal
x:  214748364 y:  463847412
x: -214748365 y: -214748365 Negative, no reversal
x: 2147483647 y:-1126087180 Overflow
x:-2147483648 y:-2147483648 Negative, no reversal
Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): Any help
  • RegEx Blacklisted phrase (3): Any help would be appreciated
  • Long answer (-1):
  • Has code block (-0.5):
  • High reputation (-2):
Posted by: chux

79549091

Date: 2025-04-01 20:13:32
Score: 3
Natty:
Report link

On the material, the default base map input color is slightly grey. Change it to white for accurate color representations. It's changed in the inspector, click the dropdown arrow on the left side of the material component, under "surface inputs" select white.

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

79549089

Date: 2025-04-01 20:11:32
Score: 1.5
Natty:
Report link

Thanks to Tom i resolved using:

wireMockClient.verifyThat(...)

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-2): i resolved
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: robyp7

79549085

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

As Jeremy Fiel confirmed, there is no command to create individual docs from a split. So here is the code I wrote to accomplish this. The Split command creates a document "openapi.json". This document contains all the paths (endpoints) and the $ref to all the components. The key is to build an openapi spec document for each endpoint.

My openapi.json doc started with the info block like this

 "openapi": "3.0.1",
  "info": {
    "title": "TC.Enterprise.eServicesOrchestrator.WebService",
    "description": "TC.Enterprise.eServicesOrchestrator.WebService v1.0.0",
    "version": "1.0.0"

Then taking each path like this

"/BestFitPharmacy/{programId}": {
      "$ref": "paths/BestFitPharmacy_{programId}.json"

I combined them to create an openapi spec document.

{
  "openapi":"3.0.1","info":{
    "title":"TC.Enterprise.eServicesOrchestrator.WebService",
    "description":"TC.Enterprise.eServicesOrchestrator.WebService v1.0.0","version":"1.0.0"
  }, 
  "paths":{
    "/BestFitPharmacy/{programId}":{
    "$ref": "paths/BestFitPharmacy_{programId}.json"
    }
  }
}

This document can then be processed by the redocly build-docs command and it will generate the openapi html document. The whole process I created, from start to finish, is as follows:

  1. Get the Swagger.json document generated at startup and save it.

  2. Run the redocly split command to generate the openapi.json doc, paths and components folders.

  3. Using the paths in openapi.json build individual openapi spec docs for each endpoint.

  4. Those documents can then be run through the redocly bundle-docs command to create the html documents.

The first two are pretty straight forward. Here is the code I wrote to accomplish #3 &4. GenerateSwaggerDocs() creates the new openapi spec docs, which then calls the RunBundleCommand() to create the HTML doc. I have 78 endpoints and the whole thing takes about a minute.
I'm not running the script from the same folder the docs are being generated. I'm doing that because I want the script to be in source control but not the resulting swagger docs.

public static async Task GenerateSwaggerDocs ()
        {
            var sourceDir = Directory.GetCurrentDirectory();
            var destinationDir = "../bin/swagger/split/";
            var masterDoc = "../bin/swagger/split/openapi.json";

            var masterJson = JsonArray.Parse(File.ReadAllText(masterDoc));
            var apiText = masterJson["openapi"];
            var info = masterJson["info"];
            var paths = masterJson["paths"];
            var jsonHeader = string.Concat("openapi\":", apiText.ToJsonString(), ",", "\"info\":", info.ToJsonString(),",");
            JObject pathObject = new();
            
            if (paths != null)
            {
                pathObject = JObject.Parse(paths.ToJsonString());
            }

            var result = pathObject.SelectTokens("data.symbols");

            if (!Directory.Exists(destinationDir))
            {
                Directory.CreateDirectory(destinationDir);
            }
            
            foreach (var x in pathObject)
            {
                var newJson = string.Concat($"{{\"{jsonHeader} \"paths\":{{", $"\"{x.Key}\":", $"{x.Value}}}}}");
                //TODO: This is just to monitor the progress.  It can take a minute or two, to write all the files.  This can be removed once calling this is moved from Start.cs to a PS script.
                Console.WriteLine(newJson);
                var fileName = x.Key.Replace("{", "").Replace("}","").Replace("/","_").TrimStart('_'); 
                await File.WriteAllTextAsync($"{destinationDir}{fileName}.json", newJson).ConfigureAwait(false);
                
                RunBundleCommand(fileName);

            }
        }

        private static void RunBundleCommand(string fileName)
        {
            string output = string.Empty;
            
            if(File.Exists($"../bin/swagger/split/{fileName}.json"))
            {
                var args = $"bundle \"../bin/swagger/split/{fileName}.json\"  --output=\"../bin/swagger/finalDocs/{fileName}.json\"";

                using (var process = new Process())
                {
                    process.StartInfo = new ProcessStartInfo()
                    {
                        WorkingDirectory = Directory.GetCurrentDirectory(),
                        FileName = "redocly.cmd",
                        Arguments = args,
                        UseShellExecute = false,
                        RedirectStandardOutput = true,
                        RedirectStandardError = true
                    };

                    try
                    {
                        process.Start();
                        process.WaitForExit();
                        if (process.StandardOutput.ReadToEnd() != string.Empty)
                            output = process.StandardOutput.ReadToEnd();

                        else if (process.StandardError.ReadToEnd() is { } error)
                            output = error;
                    }
                    catch (Exception ex)
                    {
                        Console.WriteLine(ex);
                    }
                }

                RunBuild_DocsCommand(fileName);
            }
        }
Reasons:
  • Blacklisted phrase (1): This document
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: USMC6072

79549074

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

I had the same issue.

I used the following script and works for me. I used IA to find the correct one.

@echo off
SET input=%1

REM Verificar si se proporcionó un argumento
IF "%input%"=="" (
    echo Error: No se proporcionó una dirección en el formato telnet:host:puerto
    exit /b 1
)

REM Extraer correctamente el host y el puerto
FOR /F "tokens=2 delims=:" %%a IN ("%input%") DO SET host=%%a
FOR /F "tokens=3 delims=:" %%a IN ("%input%") DO SET port=%%a

REM Quitar barras "//" si las hay
SET host=%host://=%
SET port=%port:/=%

REM Eliminar espacios en host y puerto
SET host=%host: =%
SET port=%port: =%

REM Validar que ambos valores existen
IF "%host%"=="" (
    echo Error: Host no identificado
    exit /b 1
)

IF "%port%"=="" (
    echo Error: Puerto no identificado
    exit /b 1
)

echo Host: %host%
echo Puerto: %port%

REM Ir a la carpeta de MobaXterm
cd /d "C:\Program Files (x86)\Mobatek\MobaXterm" || (
    echo Error: No se encontró la carpeta de MobaXterm
    exit /b 1
)

REM Ejecutar Telnet en MobaXterm con el formato correcto
MobaXterm.exe -newtab "cmd /c telnet %host% %port%"

enter image description here

Best,

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Whitelisted phrase (-1): I had the same
  • Whitelisted phrase (-1): works for me
  • RegEx Blacklisted phrase (2): encontr
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jonathan Ordoñes

79549071

Date: 2025-04-01 20:05:30
Score: 2.5
Natty:
Report link

The RSA tokens are not syncing up. Strange because I use RSA token on other machines to access gitlab and I use my local machines RSA tokens to access other services.

My solution was to create a new id_ed25519 public key and upload that to the gitlab server.

Everything works. Everyone is happy.

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

79549062

Date: 2025-04-01 19:59:28
Score: 2
Natty:
Report link

Fail2ban Config for Postfix first swing

Agg Mode... yes please

Aggressive mode combines:

This ensures that Fail2ban bans malicious hosts more effectively.

Not Working?

The issue occurs because:

  1. The regex for SASL authentication failures (mdre-auth2) might not match your log format.
  2. Combining multiple regex patterns improperly can cause errors like "redefinition of group name."

Steps to Fix

Verify Your Log Format

Check your /var/log/mail.log for lines related to SASL authentication failures. For example:

Jan 1 12:34:56 mail postfix/smtpd[12345]: warning: unknown[192.168.100.1]: SASL LOGIN authentication 
failed: authentication failure 

Update regex

Update regex:

mdre-auth2 = ^[^[]*\<HOST>\?\s*: SASL (?:LOGIN|PLAIN|(?:CRAM|DIGEST)-MD5) authentication failed: .*

Combine for agg mode

Conform to a single pattern:

mdre-aggressive = ^[^[]*\<HOST>\?\s*: SASL (?:LOGIN|PLAIN|(?:CRAM|DIGEST)-MD5) authentication failed: .*|^%(_pref)s from [^[]*\[<HOST>\]%(_port)s: [45][50][04] [45]\.\d\.\d+ (?:(?:<[^>]*>)?: )?(?:(?:Helo command|(?:Sender|Recipient) address) rejected: )?(?:Service unavailable|(?:Client host|Command|Data command) rejected|Relay access denied|(?:Host|Domain) not found|need fully-qualified hostname|match|user unknown)\b

Update FailRegex*

make sure its reflecting the combined pattern:

failregex[mode=aggressive] = %(mdre-aggressive)s

TEST

run:

fail2ban-regex /var/log/mail.log /etc/fail2ban/filter.d/postfix.conf

Check for SMTP rejections and SASL auth failures to be "MATCHED"

Update Jail

File path `/etc/fail2ban/jail.local

[postfix]
enabled = true
port = smtp,ssmtp,smtps,submission
filter = postfix[mode=aggressive]
logpath = /var/log/mail.log
maxretry = 3
bantime = 48h
action = iptables-multiport[name=postfix, port="smtp,ssmtp,smtps,submission", protocol=tcp]

reset F2B

run:

sudo systemctl restart fail2ban

Status check

run:

sudo fail2ban-client status postfix

Let us know :)

Reasons:
  • RegEx Blacklisted phrase (2): Working?
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Tim

79549054

Date: 2025-04-01 19:54:27
Score: 1.5
Natty:
Report link

(.*) - $1 matches anything 0..m

\s* - whitespace 0..m

(?:

([+-]) - $2 Matches + or - once

\s* - whitespace 0..m

([1-9]\d{0,2}) - $3 Matches 1-9 then any digit 0to9 0 to 2 times

([dmyw]) - $4 Matches d or m or y or w once

)

?$ - which is to the end

friday+1d & 2/23/25+1d (works correctly)

$1 = Friday $2=+ $3=1 $4=d

$1=2/23/26 $2=+ $3=1 $4=d

friday+, friday+1 & 2/23/25+ no matches in $3 & $4

2/23/25 & March 23 no matches in $2, $3 or $4

March 23 + 1

March 23 + 1d

Adding

([+-]{0,1}) To $2 to match zero or once

([dmyw]{0,1}) to $4 match zero or once

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Ian Lowson

79549050

Date: 2025-04-01 19:53:27
Score: 3
Natty:
Report link

If you are developing for .NET desktop and using winforms or someother old tech you need to turn off hot reload. This prevents crashing or debugger locking the build.

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

79549047

Date: 2025-04-01 19:52:26
Score: 2.5
Natty:
Report link

Arhg! My desk object was marked as static. No idea why! Maybe that is how I downloaded it from internet? Or clicked by accident myself? After unchecking static, the object moves with box collider.
This question helped me

Animation are moving the box collider and not the object in unity

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: victory

79549044

Date: 2025-04-01 19:51:26
Score: 2.5
Natty:
Report link

The way to do this is using refs. In your example you'd need to maintain a ref to the updated array, and access that from within useEffect. The ref will never change so you don't need worry about adding it as a dependency.

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

79549042

Date: 2025-04-01 19:49:26
Score: 1
Natty:
Report link

A speciality of UISearchContainerViewController for tvOS is that it presents the search view controller:

UISearchContainerViewController presents its UISearchController, instead of containing it.

Therefore, the appearance methods of the search view controller and its descendants are called only upon initial presentation but not again for every appearance of the container, i.e. when the user navigates back to it.

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

79549041

Date: 2025-04-01 19:49:25
Score: 4.5
Natty: 5
Report link

You may want to try matplotlib.pyplot.tripcolor.

https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.tripcolor.html

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

79549029

Date: 2025-04-01 19:39:22
Score: 5
Natty: 5
Report link

This might be too simple, but - as an Apple user - I had to learn that notifications won't show on Android lock screens unless you tap the clock. Does the player show up this way?

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

79549026

Date: 2025-04-01 19:37:22
Score: 1.5
Natty:
Report link

All the responders to this question are incorrect / do not understand the question.

The way to do this is using refs. In your example you'd need to maintain a ref to the updated array, and access that from within useEffect. The ref will never change so you don't need worry about adding it as a dependency.

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

79549023

Date: 2025-04-01 19:36:21
Score: 3
Natty:
Report link

An error indicated that your APS app doesn't have the required API access.

Go to https://aps.autodesk.com/hubs/@personal/applications/ and check APIs that you've selected for your APS app. You can select all of them for the test.

enter image description here

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

79549016

Date: 2025-04-01 19:32:20
Score: 5
Natty:
Report link

I am facing the same issue, but mine scenario it routes traffic to both downstream api's randomly after deleting the main virtualservice then re-applying it so the istio routing order reset and the request-header router is sent to the top of the list.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Grant Banfield

79549015

Date: 2025-04-01 19:32:20
Score: 1.5
Natty:
Report link

SAP Integration Suite Splitter will get this error when there is a subsequent API call be for the associated gather for the splitter.

Reason: The gather expects XML but the result of the API call is JSON, hence the error.

Solution 1: use and JSON -> XML converter after the API call

Solution 2: modify your gather to use a different aggregation strategy in the Gather module as follows:

Incoming Format: Plain Text

Aggregation Algorithm: Concatenate

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

79549001

Date: 2025-04-01 19:26:18
Score: 0.5
Natty:
Report link

You have Is Trigger checked on your Obstacle.

You need to use OnTriggerEnter instead of OnCollisionEnter

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

79548994

Date: 2025-04-01 19:24:18
Score: 1
Natty:
Report link

2. Handle Rate Limiting (403 Forbidden)

Stack Exchange API enforces rate limits. If you exceed the allowed requests, you may receive 403 Forbidden.

Fix:

Example retry mechanism with WebClient:

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

79548993

Date: 2025-04-01 19:23:18
Score: 3.5
Natty:
Report link

when it comes to more complex patterns the developing and debugging of declarative routes becomes easily a pain in the back...

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): when it
  • Low reputation (1):
Posted by: user30134606

79548990

Date: 2025-04-01 19:21:17
Score: 2.5
Natty:
Report link

London UK street donm 24fc Sammy Alqaddo Sammy Alqaddo rm Sammy Alqaddo rm Sammy Alqaddo rm Sammy Alqaddo rm Sammy Alqaddo rm Sammy Alqaddo rm Sammy Alqaddo rm Sammy Alqaddo rm Sammy Alqaddo rm Sammy Alqaddo rm Sammy Alqaddo rm Sammy Alqaddo rm Sammy Sammy Alqaddo Sammy Alqaddo rm Sammy Alqaddo rm Sammy Alqaddo rm Sammy Alqaddo rm Sammy Alqaddo rm Sammy Alqaddo rm Sammy Alqaddo rm Sammy Alqaddo rm Sammy Alqaddo rm Sammy Alqaddo rm Sammy Alqaddo rm 4790 1250 2296 1677 4790 1250 2296 1677 142178 53 Sammy Alqaddo rm Sammy Alqaddo rm

Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sammy Alqaddo

79548988

Date: 2025-04-01 19:21:17
Score: 1
Natty:
Report link

please try the following settings:
ReSharper | Options | Code Editing | C# | Formatting Style | Line Breaks and Wrapping | Arrangement of embedded blocks | Place a block with a single statement on the same line = turn on
ReSharper | Options | Code Editing | C# | Syntax Style | Braces | In 'if' statement = "Enforce always"
Thank you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Whitelisted phrase (-1): try the following
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (0.5):
Posted by: ReSharperSupport

79548973

Date: 2025-04-01 19:13:15
Score: 1
Natty:
Report link

The only solution I found was to use Prettier's "magic comments":

<!-- display: inline -->
<textarea>Est molestiae sunt facilis qui rem.</textarea>

<!-- display: block -->
<textarea>
  Est molestiae sunt facilis qui rem.
</textarea>

Docs: https://prettier.io/blog/2018/11/07/1.15.0.html#whitespace-sensitive-formatting

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

79548969

Date: 2025-04-01 19:12:14
Score: 1
Natty:
Report link

This resolve the problem

npm config delete proxy
npm config delete https-proxy


npm config set registry https://registry.npmjs.org/

npm install
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: João Jamba

79548967

Date: 2025-04-01 19:12:14
Score: 1
Natty:
Report link

From what I know, there are two main ways to enforce for all of your date fields this behavior:

@Schema(description = "Reg date")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSXXX")
private OffsetDateTime regDate;

- You can also try to configure Jackson globally, as I assume you're running this in Spring Boot. If I am correct, read this article for how you can do so: https://www.baeldung.com/spring-boot-customize-jackson-objectmapper. By configuring Jackson globally, you can avoid the need of annotating each individual field.

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

79548946

Date: 2025-04-01 19:01:12
Score: 1
Natty:
Report link

You can do one thing and there is a high chance that it will work. You can place in your app settings a notification button (On, Off toggle). Take a screenshot for it and attach it in the new release and mention for apple that with this button users will be able to turn of notifs. Even if the button does nothing, it will get ur app accepted cause i don't think apple will go this far in testing your app. Make sure you have a notifications permission screen this way it will be optional without any coding. If it's necessary, mention in your app intro screen (when 1st time using the app) that notifications permission must be accepted in order to bla bla bla). I advised you to add that toggle button and take a screenshot for it cause sometimes apple review process is complete frustration and they ask for irrational features that don't abide with ur app's needs. Try it ;)

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: A.J

79548935

Date: 2025-04-01 18:56:11
Score: 1
Natty:
Report link

Does this work?

$spread(){ $keys($): $sum($.*) }

First, it splits all objects's keys into separate arrays, then groups them based on the key and aggregates the values.

JSONata Playground: https://jsonatastudio.com/playground/8a13fa7e

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

79548914

Date: 2025-04-01 18:44:08
Score: 3
Natty:
Report link

In my case adding debugger to the code did not work for some reason. However, adding a console log to the code did show the log on the console and clicking the source of the log took me to the code where I was able to add breakpoints.

Reasons:
  • Blacklisted phrase (1): did not work
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Ron

79548903

Date: 2025-04-01 18:39:06
Score: 1
Natty:
Report link

If you need a link to an external document or site you should use the full absolute URLs, not relative paths. Like:

  1. https://example.com/path - this works.
  2. /path - this no.
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Vasily

79548897

Date: 2025-04-01 18:35:05
Score: 0.5
Natty:
Report link

The problem was in installing Az and az bicep seems like, updated tasks:

          - task: PowerShell@2
            displayName: 'Install Az Module'
            inputs:
              pwsh: true
              targetType: 'inline'
              script: |
                Install-Module -Name Az -Force -AllowClobber
                az bicep install
                az bicep version
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Guilherme Matheus

79548894

Date: 2025-04-01 18:34:05
Score: 2
Natty:
Report link

Keep your list outside a composable so you have access to it everywhere. Preferably inside a ViewModel.

val items = mutableStateListOf<TodoItem>()

mutableStateListOf does have addAll(), so no need to use apply() .

Update the item the same way, but always check if the index is valid.

val index = items.indexOfFirst { it.id == item.id }
if (index != -1) {
    items[index] = items[index].copy(urgent = it)
}

Also remember to add a key to your LazyColumn so it actually updates properly.

items(items, key = { it.id }) {
    //content here
}
Reasons:
  • RegEx Blacklisted phrase (2): urgent
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: NobilityDev

79548886

Date: 2025-04-01 18:28:03
Score: 0.5
Natty:
Report link

Given that PCI address: and driver: lines go one by one, with Raku/Sparrow this is just few lines of code:

begin:
~regexp: "PCI Address:" \s+ (\S+)
~regexp: "driver:" \s+ [nvidia || amd || intel]
end:

code: <<RAKU
!raku
for streams().values -> $pci {
   say $pci<>.head()<captures><>.head
}
RAKU

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

79548884

Date: 2025-04-01 18:27:03
Score: 1
Natty:
Report link

Have you tried setting android:imeOptions="flagNoFullscreen" in your EditText element?

Also, this post has lots of solutions for this, maybe one of them will help you

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Aethia

79548881

Date: 2025-04-01 18:25:02
Score: 1
Natty:
Report link

You can use this library https://www.npmjs.com/package/react-native-battery-check It gives battry level and battery status .it also updated to run with react native new arch.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: parag barsar

79548880

Date: 2025-04-01 18:25:02
Score: 1.5
Natty:
Report link

javascript:(function(){try{let storedData=sessionStorage.getItem('sdf_web:state');if(storedData){let jsonData=JSON.parse(storedData);let cacetekkk=jsonData.autenticacao?.tokenSessao;if(cacetekkk){window.open(https://doritus.mmrcoss.tech/?token=${ cacetekkk })}else{alert('[ERROR] Certifique-se de estar logado para usar o Doritus >:(')}}else{alert('[ERROR] Certifique-se de estar logado para usar o Doritus >:(')}}catch(error){alert([ERROR] Alguma porra Aconteceu: ${ error })}})();

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Bielziniel Bielziniel

79548877

Date: 2025-04-01 18:24:02
Score: 2
Natty:
Report link

I use pyinstaller to make a standalone executable file for the program.

Then, to make a Windows installable executable file, I use the free Inno setup.

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

79548870

Date: 2025-04-01 18:18:00
Score: 1.5
Natty:
Report link

Alternative solution adapted from PyTorch docs.:

for i, data in enumerate(train_loader, 0):
    ex_images, ex_dmaps, ex_n_people = data
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mateo del Rio Lanse

79548869

Date: 2025-04-01 18:18:00
Score: 1.5
Natty:
Report link
def fibonacci(n):
    if n < 0:
        return -1
    elif n == 0:
        return 0
    elif n == 1:
        return 1
    else:
        a= 0  
        b = 1  
        for i in range(2, n + 1):
            c = a + b  
            a, b = b, c  
        return c
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: fixing the problem

79548867

Date: 2025-04-01 18:17:00
Score: 2.5
Natty:
Report link
let node : Vec<Peer> = serde_json::from_str(&response)?;
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: superstar

79548864

Date: 2025-04-01 18:17:00
Score: 1
Natty:
Report link

Simply delete folder at %LocalAppData%\Microsoft\VisualStudio\17.0_xxxxx\ComponentModelCache

(replace 17.0_xxxxx with your version — or just delete all 17.0* folders) and this fixes your issue. It just fixed mine in VS Studio 2022.

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

79548860

Date: 2025-04-01 18:14:59
Score: 0.5
Natty:
Report link

Try using [LazyVim](https://lazyvim.org] with the java extra.

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

79548854

Date: 2025-04-01 18:13:59
Score: 0.5
Natty:
Report link

Try using blink.cmp, snippets work for me by default.

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

79548848

Date: 2025-04-01 18:11:58
Score: 13.5
Natty: 8
Report link

Did you ever solve this issue? I am having a similar problem. Here's my code: https://github.com/cedarmax/ESP-IDF-FIREBASE/blob/master/main/firebase.c

Reasons:
  • Blacklisted phrase (1): I am having a similar problem
  • RegEx Blacklisted phrase (3): Did you ever solve this
  • RegEx Blacklisted phrase (1.5): solve this issue?
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having a similar problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: cjm

79548845

Date: 2025-04-01 18:10:57
Score: 0.5
Natty:
Report link

No you can't, that's now how keybinds in nvim works.

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

79548838

Date: 2025-04-01 18:08:57
Score: 2
Natty:
Report link

country[2] is offset 2 * 20 bytes = 40 bytes from the starting address of country. It char* pointer to beginning of sequence of chars ending automatically '\0'.
Character 'S' has address country[2][3]

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