79569516

Date: 2025-04-11 18:38:21
Score: 2.5
Natty:
Report link

The initial insert sets ver = 0, and the UPDATE doesn't apply because ver wasn't yet updated in the same statement context. By using a CTE that returns id and time, and then updating based on that, we ensure the inserted values are immediately available to compute ver = id + time.

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

79569512

Date: 2025-04-11 18:35:20
Score: 2
Natty:
Report link

Besides running VS as administrator and making sure you're running a 64bit command prompt and configuring VS for C/C++ tools, if the user who configured VS for C/C++ projects isn't the same user who logs in as admin, and if THAT user doesn't have VS configured, nmake will still be unable to find appropriate header paths.

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

79569510

Date: 2025-04-11 18:34:18
Score: 9.5 🚩
Natty:
Report link

Did you ever figure this out, I am having the exact same issue.

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever figure this out
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having the exact same issue
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: David McCall

79569498

Date: 2025-04-11 18:27:15
Score: 6 🚩
Natty:
Report link

Downvote this answer to get me Peer Pressure badge.

Reasons:
  • RegEx Blacklisted phrase (2): Downvote
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Haris Mahmood

79569491

Date: 2025-04-11 18:23:15
Score: 0.5
Natty:
Report link

Simple and Easy way.

string stringToCheck = "hi this is text1";
string[] givenStringArray = { "text1", "testtest", "test1test2", "test2text1" };

bool included = givenStringArray.Any(x =>
stringToCheck.ToUpper().Contains(x.ToUpper()));
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Pankaj Goel

79569489

Date: 2025-04-11 18:21:14
Score: 2.5
Natty:
Report link

The problem is that you're double-encoding the product title. You're encoding it when creating the URL with encodeURIComponent and the router is likely encoding it again. You need to stop encoding the title when building the route.

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

79569488

Date: 2025-04-11 18:20:13
Score: 13.5
Natty: 7.5
Report link

I have the same problem in Peru. Did you manage to solve this?

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (3): Did you manage to solve this
  • RegEx Blacklisted phrase (1.5): solve this?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Samir Rifai

79569486

Date: 2025-04-11 18:20:13
Score: 2
Natty:
Report link

If I understand the problem right, might be able to create an AUP file and open audacity with that file which will open a project with both audio files in it. https://manual.audacityteam.org/man/audacity_2.html

I am less familiar with subprocess but this might solve your issue: How to terminate a python subprocess launched with shell=True

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

79569474

Date: 2025-04-11 18:09:11
Score: 0.5
Natty:
Report link

The override option is not present in the "Enable automatic completion" function, but only in the "Complete" function from the drop down menu:

enter image description here

There they should see the "Override branch policies and enable merge" selection. Also the merge type can be overridden.

But perhaps you already knew this, but anyhow your screen capture was from "Enable automatic completion".

If the reason is still about permission settings, you can download the full security definitions from branch policy settings:

enter image description here

and search if there is any group where the user could belong where "Bypass policies when completing pull requests" is "Deny".

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

79569471

Date: 2025-04-11 18:06:10
Score: 1
Natty:
Report link

Are you sending the "KeepAlive" messages whenever you have silence?

I know Deepgram's documentation says they will close the connection if there's silence for more than 10 seconds (https://developers.deepgram.com/docs/audio-keep-alive), but we make sure to send the message before that threshold, around 5 seconds for us.

Another thing you might want to look into, are you using raw or compressed audio? Because if you're using compressed audio and there is some sort of blip in the connection, you need to make sure you store the first audio chunk (header) and re-send it when re-connecting before sending any additional audio chunks.

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

79569470

Date: 2025-04-11 18:06:10
Score: 3.5
Natty:
Report link

As a frustrating workaround, you can implement the read by hand, passing impersonated credentials to the worker.

See https://stackoverflow.com/a/79569386/23744045

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Matthew Albrecht

79569452

Date: 2025-04-11 17:57:08
Score: 3.5
Natty:
Report link

tworstu hnftwhn elttaet lohrsfr aceebly sapaeos ttoshyt kipuido notrncr onaedoe

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

79569447

Date: 2025-04-11 17:53:07
Score: 0.5
Natty:
Report link

was running into the same issue. The issue is that updating state in 1 beforeload (like __root) for another beforeload (like _auth) doesnt work. the state is correctly updated but the second beforeload still reads the stale data. that's just how react works unfortunately. using flush sync fixes it but it is flush sync. online people suggested using an external store outisde of react

my mock up code (hard coded just for testing routing)

export const Route = createRootRouteWithContext<MyRouterContext>()({
  beforeLoad: async ({ context }) => {
    if (!context.auth.isAuthenticated) {
      //  api auth/me call
      await new Promise((resolve) => setTimeout(resolve, 500));
      const apiToken = "1ausidhiausd2";
      const userData: User = {
        email: "[email protected]",
        provider: "EMAIL",
        username: "markmark",
      };
      const res = { accessToken: apiToken, user: userData };
      if (res) {
        flushSync(() => {
          context.auth.setUser(res.user);
        });
        context.auth.setAccessToken(res.accessToken);
        //context.auth.isAuthenticated = true;
      } else {
        context.auth.setUser(null);
        context.auth.setAccessToken(null);
        //context.auth.isAuthenticated = false;
      }
    }
  },
  component: RootComponent,
});
Reasons:
  • Blacklisted phrase (1): doesnt work
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user29684365

79569446

Date: 2025-04-11 17:53:07
Score: 2.5
Natty:
Report link

"You don't need it" is a HORRIBLE (and arrogant) answer.

Try using $stmt->rowCount() to see how many rows were (successfully) inserted.

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

79569441

Date: 2025-04-11 17:50:06
Score: 4.5
Natty:
Report link

Upvote this answer to get me Disciplined badge.

Reasons:
  • Blacklisted phrase (0.5): Upvote
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Haris Mahmood

79569433

Date: 2025-04-11 17:41:03
Score: 3
Natty:
Report link

localhost is not accessible for Android/IOS use your network ip address and run you backend on network ip

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

79569430

Date: 2025-04-11 17:38:01
Score: 6 🚩
Natty: 6
Report link

Magari spiegare quale era questo errore?

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

79569417

Date: 2025-04-11 17:26:59
Score: 2
Natty:
Report link

you can simply use the command
git clone https://usename:[email protected]/myproject/_git/myrepo/

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

79569412

Date: 2025-04-11 17:22:57
Score: 1
Natty:
Report link

the only solution I've found even for TableLayoutPanel scenario, is to just use SelectedIndexChanged, u just refocus to another component e.g. a dummy one, or any other on your form.
e.g.

private void fpsComboBoxPreview_SelectedIndexChanged(object sender, EventArgs e)
{
    button7.Focus();
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Vlad Pocris

79569411

Date: 2025-04-11 17:22:57
Score: 0.5
Natty:
Report link

You'd want to reverse the 'start of line' carrot and the comma though if using this for anything where the first field may be null, otherwise it will return what should be the second field instead of the null first field

select
',UK,244,,Mathews' AS string_key_NULL_1
  ,REGEXP_SUBSTR(string_key_NULL_1, '(,|^)\K([^,]*)(?=,|$)',1,1) --Result: 'UK'--Incorrect
  ,REGEXP_SUBSTR(string_key_NULL_1, '(^|,)\K([^,]*)(?=,|$)',1,1) --Result: Null--Correct Result
,'RES,UK,244,,Mathews' AS string_key_NON_NULL_1
  ,REGEXP_SUBSTR(string_key_NON_NULL_1, '(,|^)\K([^,]*)(?=,|$)',1,1) --Result: 'RES'--Correct Result (Because first field is not null)
  ,REGEXP_SUBSTR(string_key_NON_NULL_1, '(^|,)\K([^,]*)(?=,|$)',1,1) --Result: 'RES'--Correct Result
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Jobastion

79569408

Date: 2025-04-11 17:21:57
Score: 0.5
Natty:
Report link

If your original data was made with the following formula, this will give you a value between 1 and 7 and stored in cell A1:

=rand()*6+1

You could then do the following:

=MIN(MAX(A1+RAND()*4-2,1),7)

I like the more granular approach of rand()*6+1 vs randbetween - it gives you the same answer, but is more easily generalized with basically the same number of characters being typed.

edit: randbetween gives you integer values only, so in truth you'd need =round(rand()*6+1,0) to get the EXACT same values. That being said, when I'm trying to get random numbers I usually want artificial extra precision.

If you don't, the second formula can also be modified to be:

=round(MIN(MAX(A1+RAND()*4-2,1),7),0)

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

79569406

Date: 2025-04-11 17:20:56
Score: 2.5
Natty:
Report link

I tried to get the UDID from the iOS simulator using this site: udid.tech
But it did not work on my iPhone 16 Pro Max.

When I tried on an old iOS simulator, like iPhone 8 Plus with iOS 16.2, it worked successfully, and I got the device UDID, and it worked with the App Store.

enter image description here

Reasons:
  • Blacklisted phrase (1): did not work
  • Whitelisted phrase (-1): it worked
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Mostafa Alazhariy

79569399

Date: 2025-04-11 17:17:55
Score: 2
Natty:
Report link

​Union-Find is designed for undirected graphs to manage disjoint sets and detect cycles. It doesn't account for edge direction, which is crucial in directed graphs. Therefore, using Union-Find to find roots in a directed graph isn't appropriate. Instead, consider computing the in-degree of each node; nodes with an in-degree of zero are potential roots.

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

79569398

Date: 2025-04-11 17:17:55
Score: 1
Natty:
Report link

Looks like this was recently expanded to 10 years in the past and 1 year in the future: https://cloud.google.com/bigquery/docs/streaming-data-into-bigquery#time-unit_column_partitioning

Time-unit column partitioning

You can stream data into a table partitioned on a DATE, DATETIME, or TIMESTAMP column that is between 10 years in the past and 1 year in the future. Data outside this range is rejected.

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

79569397

Date: 2025-04-11 17:17:55
Score: 3
Natty:
Report link

Full article on customizing my account page with various methods and hooks here:

https://usersinsights.com/woocommerce-my-account-page/

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
Posted by: OG Sean

79569394

Date: 2025-04-11 17:16:55
Score: 1.5
Natty:
Report link

How about:

echo hello | awk '{split($1, a, ""); asort(a); for (i in a) printf a[i]; printf "\n"}'
ehllo
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Starts with a question (0.5): How
  • Low reputation (0.5):
Posted by: Greg Barrett

79569387

Date: 2025-04-11 17:11:54
Score: 1
Natty:
Report link

MacOS/iOS user here facing the same problem.

✅ Solution

Restarting the router fixed it.

After the restart, my laptop was assigned a new IP address. I'm not entirely sure what the issue was with the old one, but this resolved the timeout error.

🛠️ Additional Things to Try

If a simple restart doesn't help, try the following steps:

Look for the AP isolation setting in one of the following sections:

Make sure AP Isolation is turned off. This setting prevents devices on the same network from communicating with each other over LAN, which may cause issues with development tools or device discovery.

Reasons:
  • Whitelisted phrase (-1): try the following
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): facing the same problem
  • Low reputation (0.5):
Posted by: Andrew Kycha

79569379

Date: 2025-04-11 17:08:52
Score: 4
Natty: 7.5
Report link

it don't work so can you make it work laese if not thank you anyways

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

79569376

Date: 2025-04-11 17:08:52
Score: 4
Natty: 4.5
Report link

Check my bpmn auto layout implementation:

https://www.npmjs.com/package/bpmn-auto-layout-feat-ivan-tulaev

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Иван Тулаев

79569374

Date: 2025-04-11 17:07:52
Score: 3
Natty:
Report link

Lapack is indeed used for a performance gain. OpenCV has an internal HAL file that's composed entirely of Lapack-optimized functions.

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

79569372

Date: 2025-04-11 17:03:51
Score: 1
Natty:
Report link

My approach to this is to use truncate, as it is the only portable option that I have found that also works with lower.
`{{ "HelloWorld" | lower | truncate(5, True, '') == "hello" }}`.

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

79569371

Date: 2025-04-11 17:03:51
Score: 2.5
Natty:
Report link

I'm actually the package author/maintainer for SQLove. At present, it's designed primarily to work with Redshift and, as a result, JDBC connections only. Great adjustment to the code for ODBC connections. If you think it worthwhile, I would be happy to make adjustments to the package to give it the capacity to handle ODBC connections as well!

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

79569362

Date: 2025-04-11 16:58:49
Score: 1
Natty:
Report link

Thank you for all your feedback. I tried everything you all suggested and unfortunately none of it seemed to fix the issue. After further testing I discovered that it wasn't specifically mobile that was the issue, but safari in general.

I have successfully got it to work. The issue was happening due to incorrectly handling the range provided by the browser.

I changed that part of the code from this:

while (!feof($handle) && ftell($handle) <= $range_end) {
    echo fread($handle, $chunk_size);
    flush();
}

To this:

echo fread($handle, $range_end - $range_start + 1);
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Hellin

79569346

Date: 2025-04-11 16:50:47
Score: 1
Natty:
Report link

I resolve thath changin first letter to Upper Case

This is a context React example used on Ionic 8:

#Before

const useAuth = createContext(AuthContext)

#After

const UseAuth = createContext(AuthContext)

Then export

export {
 UseAuth
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gonzalo Orellana

79569327

Date: 2025-04-11 16:36:43
Score: 1
Natty:
Report link

the answer is:

    - ${{ inputs.debug == 'true' && '--debug' || '' }}
    - ${{ inputs.enforce == 'true' && '--enforce' || '' }}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Tomer S

79569318

Date: 2025-04-11 16:31:41
Score: 4
Natty:
Report link

You can try my implementation.

It`s compatible with Camunda.

https://www.npmjs.com/package/bpmn-auto-layout-feat-ivan-tulaev?activeTab=readme

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Иван Тулаев

79569310

Date: 2025-04-11 16:26:40
Score: 0.5
Natty:
Report link

Here is my working example:

(function () {
  let lastUrl = location.href;

  function runCustomScript() {
document.querySelectorAll("p").forEach(node => {
            { node.style.backgroundColor = "Yellow"; }
        });
}

  function checkUrlChange() {
    const currentUrl = location.href;
    if (currentUrl !== lastUrl) {
      lastUrl = currentUrl;
      runCustomScript();
    }
  }

  const pushState = history.pushState;
  const replaceState = history.replaceState;

  history.pushState = function () {
    const result = pushState.apply(this, arguments);
    checkUrlChange();
    return result;
  };

  history.replaceState = function () {
    const result = replaceState.apply(this, arguments);
    checkUrlChange();
    return result;
  };

  window.addEventListener("popstate", checkUrlChange);

  setInterval(checkUrlChange, 1000);

  runCustomScript();
})();
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Doldrums

79569274

Date: 2025-04-11 16:04:34
Score: 0.5
Natty:
Report link

I want all files: Login.cshtml, Register.cshtml, AccessDenied.cshtml, ForgotPassword.cshtml, ResetPassword.cshtml

If you want the specific list in your post (i.e. Login.cshtml, Register.cshtml, AccessDenied.cshtml, ForgotPassword.cshtml, ResetPassword.cshtml)?

Use the switch --files for a list of files you specifically want to add.

dotnet aspnet-codegenerator identity --files "Account.Register;Account.Login;Account.AccessDenied;Account.ForgotPassword;Account.ResetPassword" --force

--force will overwrite existing files.

I want my command to generate Login.cshtml and Register.cshtml after I run scaffolding command.

dotnet aspnet-codegenerator identity --files "Account.Register;Account.Login"

Every UI file would be the following per the Identity scaffolding dialog:

Scaffoling UI

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
Posted by: Dave B

79569266

Date: 2025-04-11 15:57:32
Score: 1
Natty:
Report link

You could try checking:

You are correct to use the ver:2-hint: token — that’s the refresh token. Ignore the doc using ver:1-hint: — that’s outdated/confusing.

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

79569259

Date: 2025-04-11 15:54:31
Score: 1.5
Natty:
Report link

from pydub import AudioSegment

from gtts import gTTS

# Текст из первого варианта

lyrics = """

Ты не гладь против шерсти, не трогай душу вслепую,

Я был весь в иголках, но тянулся к тебе — как к святому.

Ты хотела тепла — я отдал тебе пепел из сердца,

А теперь твои пальцы царапают — будто мне нечем защититься.

Я не был добрым — но я был настоящим,

Слово — не сахар, но всегда без фальши.

Ты гладила боль — а она лишь росла,

Ты думала, трогаешь шёлк, а трогала шрамы со дна.

Ты вырезала мой голос — будто был он из плёнки,

Но память играет его снова, без купюр, как в комнатке.

Мы тонем, не глядя друг другу в глаза,

Ты гладь по течению — а я всегда против шла.

Я не хотел стать врагом — но ты сделала монстра,

Я гладил любовь, а ты рвала её остро.

Ты ищешь во мне то, чего не было вовсе,

Но, чёрт, я пытался, как пламя в ледяной кости.

"""

# Генерация озвучки с помощью gTTS

tts = gTTS(text=lyrics, lang='ru')

tts.save("/mnt/data/vocal_track.mp3")

# Путь к сохранённому файлу

"/mnt/data/vocal_track.mp3"
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: VITALY LAT1VE

79569246

Date: 2025-04-11 15:49:29
Score: 2
Natty:
Report link

It seems the issue is not having Dapr.AspNetCore installed. It is working after installing this package.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Rasitha Gamage

79569244

Date: 2025-04-11 15:48:29
Score: 1
Natty:
Report link

The error occurs because there is no Elasticsearch instance running in the GitHub Actions runner. To run your application in the pipeline, you need to provide a valid and accessible Elasticsearch URL—either by spinning up a service within the pipeline or pointing to an external instance.

That said, running the actual JAR file in your CI pipeline is generally not considered best practice. If your goal is to verify that the application works correctly, it's better to write automated tests and use tools like Testcontainers to spin up temporary instances of Elasticsearch and other dependencies during the test phase. This approach provides more reliable, repeatable, and isolated test environments.

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

79569241

Date: 2025-04-11 15:46:28
Score: 5.5
Natty:
Report link

I found below page while exploring about findAll() in 3.4.4 version, it may helpful to you
What is difference between CrudRepository and JpaRepository interfaces in Spring Data JPA?

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

79569238

Date: 2025-04-11 15:45:28
Score: 4
Natty: 4
Report link

I realize this is old as heck, but if anyone here is looking for a solution still. Check out the confluence app - Just Add+. This should get you sorted pretty easily.
Here is the link: https://marketplace.atlassian.com/apps/1211438/just-add-embed-markdown-diagrams-code-in-confluence-git?hosting=cloud&tab=overview

Reasons:
  • Blacklisted phrase (1): Here is the link
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jerry Nettles

79569236

Date: 2025-04-11 15:44:27
Score: 1.5
Natty:
Report link

Based on @hopebordarh answer, you can also use .clone to avoid mutations on original values as following:

import moment from 'moment'

// 👉 Search period
const initialDate = moment()
const finalDate = moment().add(9, 'days')

const dateRange = [] as string[]
const dateRangeStart = initialDate.clone()

while (dateRangeStart.isBefore(finalDate)) {
  dateRange.push(dateRangeStart.toDate())
  dateRangeStart.add(1, 'days')
}
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @hopebordarh
  • Low reputation (1):
Posted by: Gustavo - Gugabit

79569232

Date: 2025-04-11 15:41:26
Score: 1
Natty:
Report link

Try to apply filter for each group

df_ts = my_df.groupby('col_1').filter(lambda x: (x['col_2'] <= 1).any())

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

79569229

Date: 2025-04-11 15:40:26
Score: 3.5
Natty:
Report link

You can optimize futhur by using hash set instead of list. Contains in hash set is faster than list.

https://www.jetbrains.com/help/inspectopedia/SlowListContainsAll.html

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

79569224

Date: 2025-04-11 15:39:25
Score: 1.5
Natty:
Report link

Am I doing something wrong?

Yes, but not in the code snippet you've provided.

How do I troubleshoot this to determine if the javascript side of the code functions properly (which my logic is saying it is not)?

Take the project I've provided below, where you code works , make changes to how you have it configured and then save it back to a Github repo.

Did the above problem come about because I moved the code to a separate Class Library and now there is a conflict in some code? or could it be related to the fact that Visual Studio was recently update? - should anyone know.

Maybe, but unless we can see more code then don't know.

Here a working version of your code: https://github.com/ShaunCurtis/SO79568191

Note the settings in App - <Routes @rendermode="InteractiveWebAssembly" />.

On automating sequence numbering, this question and answer provides information on why you shouldn't do it and links to further documents on the subject. https://stackoverflow.com/a/78952688/13065781

Reasons:
  • Blacklisted phrase (1): How do I
  • Blacklisted phrase (1): stackoverflow
  • Blacklisted phrase (2): something wrong?
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-2):
Posted by: MrC aka Shaun Curtis

79569217

Date: 2025-04-11 15:35:25
Score: 1
Natty:
Report link

See my comment on the accepted answer.

From what I have researched and tried, the "ASP.NET and web development" option should be used for VS 2022+. Use the VS installer to view options for this project type at the right side of the window. Expand the ASP.NET and Web development options. You can select the .NET Framework project and item templates AND Additional project templates (previous versions) which helps to fill some of the holes in missing project add types.

See the figure below.

enter image description here

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

79569211

Date: 2025-04-11 15:32:24
Score: 3
Natty:
Report link

in case your code is working fine locally, but throwing 'No triggers found' during deployment. In my case I had to create new Function app pointing to a different branch in GitHub repo! So, check carefully where your code is pushed and enjoy!

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

79569206

Date: 2025-04-11 15:28:23
Score: 5
Natty: 4
Report link

I am also having this issue. Let me know if you found a solution.

Reasons:
  • Blacklisted phrase (1): if you found a solution
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Macy

79569205

Date: 2025-04-11 15:27:22
Score: 10.5
Natty: 7
Report link

I had the same when many users tried to register around the same time. Some phone numbers just get blocked. Did you find any solution for this?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Whitelisted phrase (-1): I had the same
  • RegEx Blacklisted phrase (3): Did you find any solution
  • RegEx Blacklisted phrase (2): any solution for this?
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Josh Bleijenberg

79569203

Date: 2025-04-11 15:26:22
Score: 1.5
Natty:
Report link

Instead of Ctrl+C, try using Ctrl+Insert to copy the text from the console log.

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: Anna Koskinen

79569190

Date: 2025-04-11 15:19:19
Score: 0.5
Natty:
Report link

Check the symlink setting, too [additional to the previous answer]:

Using readlink: The `readlink` command can be used to see the target of a symlink:

readlink /usr/bin/python

To change the symlink `/usr/bin/python` to point to `python3.13`, you would run:

sudo ln -sf /usr/bin/python3.13 /usr/bin/python
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Paul-ET

79569186

Date: 2025-04-11 15:18:19
Score: 2
Natty:
Report link

Please check if you have EXTERNAL_OAUTH_ANY_ROLE_MODE set to enabled on the security integration which you created for this on your snowflake account.

When the token consists of scope SESSION:ROLE-ANY then the security integration created should have EXTERNAL_OAUTH_ANY_ROLE_MODE = 'ENABLE';

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: anshul.anand

79569179

Date: 2025-04-11 15:15:18
Score: 1.5
Natty:
Report link

For me the problem was that in the backend change the DEBUG env variable to false, and the server stopped from serve the image properly (needed another configuration).

But in summary, the problem was the server, not Next.js.

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

79569172

Date: 2025-04-11 15:13:17
Score: 2
Natty:
Report link

It is a scope issue. Memory management operates on when a variable is no longer applicable, so when it exits that variable's scope. Since a global variable's scope is the whole program, it would be never recognized as out of scope.

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

79569169

Date: 2025-04-11 15:12:17
Score: 0.5
Natty:
Report link

You are using port 7777, which is mapped externally (via Docker's ports), but containers in the same Docker network should use the internal port, which for MySQL is 3306.

Change the JDBC URL in your config-script.cli to:

connection-url="jdbc:mysql://db:3306/susfund_db"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Vijay

79569165

Date: 2025-04-11 15:10:17
Score: 2
Natty:
Report link

a tool called Renifler work well and if the github repo if it find public Github repo on the page it will display the languages the devs use

I think it respond better to what you are looking for.

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

79569163

Date: 2025-04-11 15:10:17
Score: 2
Natty:
Report link

At reading, like at coding,
I would prefer let the coder choose betwwen properties and methods, public protected or private,

such anotation do reduce the performance,
it generalizes an access by the method, where a direct access to the property may be safe.

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

79569162

Date: 2025-04-11 15:10:17
Score: 0.5
Natty:
Report link

there ist no solution from Atlassian, so here ist my Tip for Jira DataCenter

you can write a ScriptRunner Programm, wich uses the HttpSession and the Request Data

I have tested this in Chrome and Edge

(i wrote this in a helper Class so it is a static mehtod. After you have the "real" user (not the automation actor) you can do your work for example write a comment with the

ComponentAccessor.getCommentManager()

Here is the code

public static String getActualuser()
    {
        def request = ComponentAccessor.getComponent(HttpContext)?.getRequest()
        if (request) {
            HttpSession httpSession = request.getSession()
            def userid= httpSession.getAttribute('seraph_defaultauthenticator_user_id')
            return(userid )
        } else {
            return(null)
        }

    }

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Juergen Mezger

79569149

Date: 2025-04-11 15:04:15
Score: 3
Natty:
Report link

Did anyone by any chance figure out how to solve this? I have a system running that I am able to update my apple pass but cannot get the notification to show up. pass.json as follows:

{
  "formatVersion": 1,
  "passTypeIdentifier": "pass.com.hidden.loyalty",
  "serialNumber": "testpass5",
  "teamIdentifier": "hidden",
  "organizationName": "YourBrand",
  "description": "Loyalty Rewards Card",
  "logoText": "YourBrand Rewards",
  "foregroundColor": "#2e1832",
  "changeMessage": "You now have %@ points!",
  "backgroundColor": "#f14b75",
  "labelColor": "#2e1832",
  "relevantDate": "2025-04-11T13:25:00Z", //does this date have any issues?
  "locations": [
    {
      "latitude": 37.7749,
      "longitude": -122.4194,
      "relevantText": "You're near a YourBrand store. Show this pass to earn bonus points!"
    },
    {
      "latitude": 34.0522,
      "longitude": -118.2437,
      "relevantText": "Welcome to our Los Angeles location!"
    },
    {
      "latitude": 40.7128,
      "longitude": -74.006,
      "relevantText": "Visit our New York flagship store!"
    }
  ],
  "storeCard": {
    "primaryFields": [
      {
        "key": "balance",
        "label": "Points",
        "value": "600",
        "changeMessage": "You now have %@ points!"
      }
    ],
    "secondaryFields": [
      {
        "key": "level",
        "label": "Tier Level",
        "value": "Platinum",
        "changeMessage": "Congratulations! Your tier is now %@!"
      },
      {
        "key": "member",
        "label": "Member #",
        "value": "G12345"
      }
    ],
    "auxiliaryFields": [
      {
        "key": "joinDate",
        "label": "Member Since",
        "value": "2023",
        "textAlignment": "PKTextAlignmentRight"
      }
    ],
    "backFields": [
      {
        "key": "terms",
        "label": "Terms & Conditions",
        "value": "Points expire 12 months after issue. See full terms at yourcompany.com/terms."
      },
      {
        "key": "website",
        "label": "Website",
        "value": "yourcompany.com"
      },
      {
        "key": "support",
        "label": "Support",
        "value": "[email protected]\n1-800-123-4567"
      }
    ]
  },
  "authenticationToken": "hidden",
  "webServiceURL": "https://008f-105-233-36-155.ngrok-free.app/pass"
}{
  "formatVersion": 1,
  "passTypeIdentifier": "pass.com.hidden.loyalty",
  "serialNumber": "testpass5",
  "teamIdentifier": "hidden",
  "organizationName": "YourBrand",
  "description": "Loyalty Rewards Card",
  "logoText": "YourBrand Rewards",
  "foregroundColor": "#2e1832",
  "changeMessage": "You now have %@ points!",
  "backgroundColor": "#f14b75",
  "labelColor": "#2e1832",
  "relevantDate": "2025-04-11T13:25:00Z",
  "locations": [
    {
      "latitude": 37.7749,
      "longitude": -122.4194,
      "relevantText": "You're near a YourBrand store. Show this pass to earn bonus points!"
    },
    {
      "latitude": 34.0522,
      "longitude": -118.2437,
      "relevantText": "Welcome to our Los Angeles location!"
    },
    {
      "latitude": 40.7128,
      "longitude": -74.006,
      "relevantText": "Visit our New York flagship store!"
    }
  ],
  "storeCard": {
    "primaryFields": [
      {
        "key": "balance",
        "label": "Points",
        "value": "600",
        "changeMessage": "You now have %@ points!"
      }
    ],
    "secondaryFields": [
      {
        "key": "level",
        "label": "Tier Level",
        "value": "Platinum",
        "changeMessage": "Congratulations! Your tier is now %@!"
      },
      {
        "key": "member",
        "label": "Member #",
        "value": "G12345"
      }
    ],
    "auxiliaryFields": [
      {
        "key": "joinDate",
        "label": "Member Since",
        "value": "2023",
        "textAlignment": "PKTextAlignmentRight"
      }
    ],
    "backFields": [
      {
        "key": "terms",
        "label": "Terms & Conditions",
        "value": "Points expire 12 months after issue. See full terms at yourcompany.com/terms."
      },
      {
        "key": "website",
        "label": "Website",
        "value": "yourcompany.com"
      },
      {
        "key": "support",
        "label": "Support",
        "value": "[email protected]\n1-800-123-4567"
      }
    ]
  },
  "authenticationToken": "hidden",
  "webServiceURL": "hidden"
}
Reasons:
  • Blacklisted phrase (1): how to solve
  • RegEx Blacklisted phrase (1.5): how to solve this?
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did anyone
  • Low reputation (1):
Posted by: rcflowapt

79569143

Date: 2025-04-11 15:03:14
Score: 7 🚩
Natty:
Report link

Ask for advice, same question?

Reasons:
  • RegEx Blacklisted phrase (1): same question
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: zhangqun.China

79569140

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

To Remove leading spaces from string

let exampleText = "   \n\tHello world !"
let regex = #/^\s*/# // regex finds any \s - symbols at the begging of the string
let textWithoutSpacesInLeading = exampleText.replacing(regexSa) { _ in "" } // replace 
textWithoutSpacesInLeading == "Hello world !" // true
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Daniel Smith

79569139

Date: 2025-04-11 15:01:14
Score: 2.5
Natty:
Report link

Async immediately invoked function exists and there is an article in MDN about it - Async IIFE. But article isn`t very detailed.

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

79569136

Date: 2025-04-11 14:59:13
Score: 2
Natty:
Report link

Hey so there is still no solution to this dilemma in the BIG 2025.

We would like to do the same allow users of our app to leave a comment in the app and push it programmatically to the app store

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

79569117

Date: 2025-04-11 14:51:11
Score: 3
Natty:
Report link

It was fixed by closing and reopening the Powershell console.

Sorry.

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

79569116

Date: 2025-04-11 14:51:11
Score: 4.5
Natty:
Report link

The problem went away by itself :)

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

79569109

Date: 2025-04-11 14:47:10
Score: 0.5
Natty:
Report link

You're on the right path by setting up an AWS Cognito User Pool and a Snowflake external OAuth security integration, but a key detail in how AWS Cognito issues access tokens for machine-to-machine app clients is causing this issue.

issue: Missing aud (audience) claim

AWS Cognito, when used for machine-to-machine (client credentials flow), issues access tokens that do not contain an aud claim by default — only an access_token is returned and it’s formatted for use with AWS APIs (not generic OAuth 2.0 providers like Snowflake).

Snowflake, however, requires the aud claim (audience) in the JWT and validates it against the external_oauth_audience_list in your security integration.

AWS Cognito doesn't allow you to customize the aud claim in the access token for machine-to-machine apps.

You cannot add a custom audience (like your Snowflake URL) to the JWT access token issued by Cognito for this flow.

Option 1: Use a custom authorizer (e.g., AWS API Gateway + Lambda)

This is a middleware pattern:

Call a Lambda that:

Steps in the documents as pointed above by Srinath Menon

https://community.snowflake.com/s/article/How-to-use-AWS-Cognito-and-Lambda-to-generate-a-Authorization-token-and-use-Scopes-for-Oauth-with-Snowflake

Option 2: Use a proper OAuth 2.0 Provider that supports client_credentials flow with configurable audience

Providers like Auth0, Okta, Azure AD, or Keycloak let you define custom aud claims in the issued token — better suited for Snowflake M2M auth.

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

79569106

Date: 2025-04-11 14:45:09
Score: 0.5
Natty:
Report link

There is no asset on the url you specified

curl https://github.com/wait4x/wait4x/releases/download/v3.2.0/wait4x-linux-x86_64.tar.gz

Not Found

Check available assets and change your url to correct one

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

79569087

Date: 2025-04-11 14:36:06
Score: 1.5
Natty:
Report link

Yes, you can add a global exception handler in Azure Functions (.NET C#), especially using the .NET 8 isolated model — perfect for centralizing logs to Rollbar.

Here’s a step-by-step guide:
Blog: Global Exception Handling in Azure Functions

And a working sample on GitHub:
GitHub - Azure Function Exception Handler Sample

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

79569083

Date: 2025-04-11 14:35:06
Score: 1.5
Natty:
Report link

Aha! found what I was looking for on a old blog post!

Qt OPC UA will be available directly from the Qt installer for those holding a Qt for Automation license. [...] Users of one of the Open Source licenses will need to compile Qt OPC UA themselves. See here for a list of build recipes.

this really should be clearly stated on documentation...

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

79569078

Date: 2025-04-11 14:33:06
Score: 2
Natty:
Report link

Change your default compiler.

Go to C/C++: Edit Configurations (UI)

enter image description here

Change compiler path to whatever you desire. I use gcc-10, so I changed default path to /usr/bin/gcc-10.

enter image description here

Hope it helps.

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Whitelisted phrase (-1): Hope it helps
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Furkan T

79569077

Date: 2025-04-11 14:32:05
Score: 1.5
Natty:
Report link

You can use the wise_bluetooth_print package for android devices

here is the step-by-step implementation guide

https://wiseservices.co.uk/post/4c34fef9-3fd3-4935-9073-031c8f4258dc

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

79569062

Date: 2025-04-11 14:24:03
Score: 0.5
Natty:
Report link

There is an sklearn issue. In sklearn 1.6.1 the error was turned into warning. You can install sklearn >=1.6.1,<1.7 and just expect DeprecationWarning regarding this issue.

Or another way, you can downgrade to 1.3.1 to avoid this issue

!pip uninstall -y scikit-learn
!pip install scikit-learn==1.3.1
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: poisoned_monkey

79569056

Date: 2025-04-11 14:23:02
Score: 1
Natty:
Report link

- Non-Isolated Mode: Your function code runs in the same process as the Azure Functions runtime. It offers better performance and simplicity.
- Isolated Mode: Your code runs in a separate worker process. It communicates with the runtime via gRPC, providing more flexibility and compatibility with modern .NET features like custom dependency injection and middleware.

you may want to review this:

https://wiseservices.co.uk/post/b98a1606-487b-4743-9862-af1d232485d4

or this:

https://learn.microsoft.com/en-us/azure/azure-functions/dotnet-isolated-in-process-differences

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

79569053

Date: 2025-04-11 14:22:02
Score: 0.5
Natty:
Report link
mySignal = signal(0);

this.mySignal.update(val => val + 1);

effect(() => {
    this.mySignal();
    console.log('has been triggered');
});

this is the easiest way could figure out when dealing with a similar issue. In my case i only needed a trigger for an effect without needing the value.

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

79569051

Date: 2025-04-11 14:19:01
Score: 3.5
Natty:
Report link

I had several ApexCharts on the same page. One of them, the first, would often not render even though the data was there. The solution from @agubugu almost solved the problem. What else was needed for me was to add 'await Task.Delay(100) after the 'InvokeAsync(StateChanged)'.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @agubugu
  • Single line (0.5):
  • Low reputation (1):
Posted by: Skattch

79569050

Date: 2025-04-11 14:19:01
Score: 3.5
Natty:
Report link

Sadly, all of the previous answers use deprectaed code.

If you are looking for a newer vesion, there is this post about it :
Replace PHPUnit method `withConsecutive` (abandoned in PHPUnit 10)

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

79569043

Date: 2025-04-11 14:17:01
Score: 1.5
Natty:
Report link

Using enums for roles in newer versions of rails looks like this:

class User < ActiveRecord:Base
   enum :role, {seller: 0, buyer: 1, admin: 2}

   ... 
end
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Damoon Imani

79569038

Date: 2025-04-11 14:15:00
Score: 1
Natty:
Report link

to build utils correctly add following

MAKE_TARGETS = "${PN}"
do_compile_utils() {
        cd ${B}
        oe_runmake utils
}

addtask do_compile_utils after do_compile before do_install

this will build utils without errors looking for sys/types.h
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gregory Nietsky

79569034

Date: 2025-04-11 14:14:00
Score: 3.5
Natty:
Report link

Maybe late but this will help:

Install below nuget package: nuget package

Install below extension: TypeScript Extension

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Prasad Kulkarni

79569032

Date: 2025-04-11 14:14:00
Score: 3
Natty:
Report link
  1. Check if pandas is installed:

    bash

    Copy

    pip show pandas
    

    If not installed:

    bash

    Copy

    pip install pandas
    
  2. If installed but not working:

    bash

    Copy

    pip uninstall pandas
    pip install pandas --upgrade
    
  3. Ensure dependencies are installed:

    bash

    Copy

    pip install numpy --upgrade
    
  4. Try a clean environment:

    bash

    Copy

    python -m venv temp_env
    
    • Windows: temp_env\Scripts\activate

    • Mac/Linux: source temp_env/bin/activate
      Then:

    bash

    Copy

    pip install pandas
    
  5. Check for error messages:
    Run your script directly in terminal:

    bash

    Copy

    python your_script.py
    
  6. Verify VS Code is using the right Python:

    • Press Ctrl+Shift+P

    • Select "Python: Select Interpreter"

    • Choose the Python where pandas is installed

If still not working, share the exact error message from the terminal.

Reasons:
  • Blacklisted phrase (1): but not working
  • Blacklisted phrase (2): still not working
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ebad Ahmed

79569031

Date: 2025-04-11 14:14:00
Score: 1.5
Natty:
Report link

Change de max-initial-line-lenth

# For reference, see: 
server:
  netty:
    max-initial-line-length: 16384 # Define o limite para 16.384 caracteres

spring:
  cloud:
    gateway:
      routes:
      - id: Upstream
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: isaque

79569027

Date: 2025-04-11 14:12:00
Score: 1
Natty:
Report link

Unfortunately, Snowflake does not provide a direct feature to view the raw HTTP/cURL requests for general API usage, as this level of access is typically restricted and not available through standard administrative tooling.

The REST API history table in Snowflake does indeed seem to be limited to SCIM (System for Cross-domain Identity Management) endpoints and does not cover OAuth authorizations or token requests by custom clients or integrations

Given this, you might want to focus on the logs or trace features provided by the third-party tool itself. Often, third-party tools have logging options that can be enabled to view the raw requests they send. Additionally, using network sniffing tools (such as Wireshark) on the server where the requests are made could help capture these requests' raw data.

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

79569026

Date: 2025-04-11 14:12:00
Score: 1
Natty:
Report link

Try to set KEYKLOACK_FRONTEND_URL for keycloak to use an external address

KEYCLOAK_FRONTEND_URL=http://app.com/keycloak

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

79569025

Date: 2025-04-11 14:12:00
Score: 1.5
Natty:
Report link
idx int = 0;
Movie.ForEach(x => x.Id = ++idx);
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Single Step Debugger

79569021

Date: 2025-04-11 14:08:59
Score: 2
Natty:
Report link

This repo looks like it contains only a microsoft visual studio project. You could try to download MSV and open the .sln file, then compile the project.

Otherwise, you could just exctract the .c and .h files and compile them with you prefered c compiler (like gcc or clang), but you will probably have to solve some dependencies.

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

79569020

Date: 2025-04-11 14:08:59
Score: 0.5
Natty:
Report link

try executing

pip freeze

and look whether you have pandas or not

if you are having multiple python versions on your computer check which one are you using to run the script and which one is used to install the pandas package

and test by making

import pandas
print("Hello world!")
print("Great day!")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Lakshmikanth Ayyadevara

79569017

Date: 2025-04-11 14:06:58
Score: 0.5
Natty:
Report link

In BigQuery Client, you do things by yourself, more of a hands on approach. In Apache Beam it is like you have a robot assistant that can do most of the things for you.

You have to handle files and format by yourself in BigQuery Client, but in Apache Beam it automatically writes files and does breaks if needed.

BigQuery Client is ideal for simple loading while Apache Beam is well suited for large scale data processing, as Apache Beam starts and runs the whole process. BigQuery Client starts with your script or command.

BigQuery Client and Apache Beam loads are not really the same but it does the same thing, to load data to BigQuery.

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

79569012

Date: 2025-04-11 14:02:57
Score: 2
Natty:
Report link

Recently I faced this problem .I think this happens on the source code you cloned it from odoo main repository because they updated their code regularly. So If you cloned it you need to be updated either by making a pull request to your addons and update your libraries also, if You face any mismatch module during running your environment.

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

79569011

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

On terminal mysql use

GRANT ALL PRIVILEGES ON databse.* TO 'user'@'localhost';
or
GRANT ALL PRIVILEGES ON *.* TO 'user'@'localhost';

First gives acces to one database, replace "database" for your database name. Second one gives access to all databases.

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

79569009

Date: 2025-04-11 14:01:57
Score: 3
Natty:
Report link

from pydub import AudioSegment

from gtts import gTTS

# Текст из первого варианта

lyrics = """

Ты не гладь против шерсти, не трогай душу вслепую,

Я был весь в иголках, но тянулся к тебе — как к святому.

Ты хотела тепла — я отдал тебе пепел из сердца,

А теперь твои пальцы царапают — будто мне нечем защититься.

Я не был добрым — но я был настоящим,

Слово — не сахар, но всегда без фальши.

Ты гладила боль — а она лишь росла,

Ты думала, трогаешь шёлк, а трогала шрамы со дна.

Ты вырезала мой голос — будто был он из плёнки,

Но память играет его снова, без купюр, как в комнатке.

Мы тонем, не глядя друг другу в глаза,

Ты гладь по течению — а я всегда против шла.

Я не хотел стать врагом — но ты сделала монстра,

Я гладил любовь, а ты рвала её остро.

Ты ищешь во мне то, чего не было вовсе,

Но, чёрт, я пытался, как пламя в ледяной кости.

"""

# Генерация озвучки с помощью gTTS

tts = gTTS(text=lyrics, lang='ru')

tts.save

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: VITALY LAT1VE

79568996

Date: 2025-04-11 13:56:56
Score: 1.5
Natty:
Report link

You don't need to load tar or extract all files from tar Read the "name:tag" from the manifest file inside the image

cat test_v1.0.tar | awk -F'RepoTags' '/RepoTags/ { print substr($2, 5, index($2,"]")-6) }'

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: André Müller Pereira

79568993

Date: 2025-04-11 13:54:55
Score: 3.5
Natty:
Report link

The problem was on the server side. I forgot to create user for testing 'cause test system creates empty database, that's why I had only one file in the storage.

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

79568992

Date: 2025-04-11 13:54:55
Score: 2
Natty:
Report link

It depends on the data you have in table1.

For example, if the table has two distinct groups, there will be two rows in your select and it will cause the routine to be called twice

group ean res
g1 e1 r1
g1 e2 r2
g2 e3 r3
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Rodrigo Pan

79568979

Date: 2025-04-11 13:46:53
Score: 3.5
Natty:
Report link

I found a way for it to work by using(importing) plyer.
(from plyer import tts, stt # Import STT/TTS from Plyer)

I tried using plyer perviously, i guess i didn't try hard enough/?
it s working well now.

Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: GX1705

79568969

Date: 2025-04-11 13:43:52
Score: 4
Natty: 4.5
Report link

slashv
I am on Windows 10, using python 3.13
I typed \v inadvertently this morning, and noticed I get the mars symbol.

print("slash V is allegedly \v vertical tab")

not Venus? WTF?

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

79568960

Date: 2025-04-11 13:40:51
Score: 6
Natty: 7
Report link

Can I describe your working example in more detail?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Can I
  • Low reputation (1):
Posted by: bolod

79568958

Date: 2025-04-11 13:38:50
Score: 2.5
Natty:
Report link

Please get the destination before every request, do not store it in a variable or constant. There is a cache for performance. The destination user authentication information

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