79611419

Date: 2025-05-07 21:20:59
Score: 0.5
Natty:
Report link

The solution is quite simple. In short, my structs were not not of the same size.

typedef struct dirent {
    char name[DIR_NAME];
    int  inum;
    bool active;
    char _unused[4];
} dirent;
Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: gjbauer

79611418

Date: 2025-05-07 21:20:59
Score: 1.5
Natty:
Report link

You can do it without the explicit cast if you use sqrtf(x).

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

79611416

Date: 2025-05-07 21:19:58
Score: 1
Natty:
Report link

Wayland won't draw a window's contents until something is committed (drawn to) that window. For Vulkan, that means doing a present.

Once you complete your sample/demo code far enough to present something, you should then see the window.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: Karl Schultz

79611409

Date: 2025-05-07 21:08:56
Score: 1.5
Natty:
Report link

For that you will have to save the user's time zone in the database somewhere, so you can know it ahead of time. Unless you also bundle some js, that can change the dates later when js is run in the browser.

There other advanced tactics sites use to detect user's location, like the 'Accept-Language' header or analysing the ipaddress, you can research those if you like.

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

79611406

Date: 2025-05-07 21:06:55
Score: 2
Natty:
Report link

Start-Process explorer.exe "C:\Users\Users\Pictures"

Start-Process explorer.exe "C:\Users\Users\Downloads"

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

79611395

Date: 2025-05-07 20:56:53
Score: 2
Natty:
Report link

If you outside of TFS, I prefer to copy file into new project and even solution as a file and then add it into another project. As a quick and dirty solution can be just copy /paste xml content into any existing or new package.

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

79611393

Date: 2025-05-07 20:52:52
Score: 0.5
Natty:
Report link
HttpURLConnection connection = (new Connection(urlString)).connection;
connection.setRequestProperty("User-Agent", "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2");

It is crucial to change the user-agent because the old user agent is on Yahoo's stop-list.

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

79611391

Date: 2025-05-07 20:52:52
Score: 3
Natty:
Report link

The reason for illegal argument was because of the http request we are passing in should be same by receiver class. In one of the case I observed today where the receiver method has javax.servlet HttpRequest while we are passing in PreAuthorized for jakarta httpRequest.

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

79611386

Date: 2025-05-07 20:48:51
Score: 0.5
Natty:
Report link

import pyttsx4

# Maelezo ya sauti

narration_text_en = """

I am a descendant of the Kwahhayi clan — a proud branch of the Wairaqi people of Tanzania.

The name Kwahhayi means "to throw" — a symbol of release, strength, and continuity of generations.

My clan name is Tlhathlaa, meaning "Daylight" — the light of life and the rise of new beginnings.

The Wairaqi are a Cushitic community that migrated from the Horn of Africa thousands of years ago.

Today, we proudly preserve our language, Iraqw, our deep-rooted traditions, and the honor of our lineage.

From my bloodline to the world, my voice says: I am Wairaqi. I am Kwahhayi. I am Tlhathlaa.

"""

# Anzisha injini ya sauti

engine = pyttsx4.init()

# Chagua sauti ya kiume au kike

voices = engine.getProperty('voices')

engine.setProperty('voice', voices[0].id) # 0 kwa sauti ya kiume, 1 kwa sauti ya kike

# Seti kasi ya sauti

engine.setProperty('rate', 150)

# Seti sauti

engine.setProperty('volume', 1)

# Hifadhi sauti kwenye faili

audio_file_path_en = "Wairaqi_Clan_Username_English.mp3"

engine.save_to_file(narration_text_en, audio_file_path_en)

engine.runAndWait()

print(f"Sauti imehifadhiwa kwenye: {audio_file_path_en}")

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

79611381

Date: 2025-05-07 20:42:49
Score: 2.5
Natty:
Report link

Modern SQL server will handle everything above, technically exists works faster then anything else, so I voted for it.

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

79611377

Date: 2025-05-07 20:40:48
Score: 2
Natty:
Report link

I don't have enough reputation to write comment, so I apologize for asking questions in an "answer".

What git hosting services are you using behind those remoteHost1 and remoteHost2? Are they the same or they are different? For example GitHub, BitBucket, Gogs, etc? If they are the same, are they both configured the same? Or if they are not the same, does the other one support large files? Does it have enough space on disk? Are they in the same or in different networks? Maybe some firewall in front of remoteHost2 is blocking large requests? Does git push --verbose show any meaningful message?

Regarding that last part of your question, it can't be done. If it's one repo locally, you can't add one file for one remote and ignore it for another.

Reasons:
  • RegEx Blacklisted phrase (1.5): I don't have enough reputation
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: jura

79611368

Date: 2025-05-07 20:29:45
Score: 0.5
Natty:
Report link

You need to generate a signed URL to upload your file in the bucket.

You can follow the instructions from https://aps.autodesk.com/en/docs/data/v2/tutorials/upload-file/#step-4-generate-a-signed-s3-url

You can also find a .NET example using our SDK at https://github.com/autodesk-platform-services/aps-sdk-net/blob/main/samples/oss.cs#L41-L53

For the Model Derivative part (conversion to IFC), you can use the Model Derivative SDK, as done at https://github.com/autodesk-platform-services/aps-sdk-net/blob/main/samples/modelderivative.cs#L31-L93

You just need to change the payload according to the RVT->IFC options

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: João Martins

79611366

Date: 2025-05-07 20:27:45
Score: 2.5
Natty:
Report link

the first answer worked for me, but I only put 10 milliseconds in the dalayed

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Lindomar Farineli

79611361

Date: 2025-05-07 20:21:43
Score: 2
Natty:
Report link

You can bind it as an attribute of the module with, e.g.,

m.attr("ERR_FAIL") = my_namespace::ERR_FAIL;

This gist has a complete example.

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

79611351

Date: 2025-05-07 20:14:41
Score: 0.5
Natty:
Report link
<?
$array = ['one', 'two', 'three', 'four'];
$n = 10;
$arr=array_fill(0, ceil($n/count($array)), $array);
$arr=array_merge(...$arr);
shuffle($arr);
$arr=array_slice($arr,0,$n);
print_r($arr);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sergey Soltanov

79611348

Date: 2025-05-07 20:10:40
Score: 2.5
Natty:
Report link

I am encountering the same issue with the latest version of Ray (2.35.0) on DBR 15.4 ML LTS. This happens whether I am writing my checkpoints to a regular DBFS path or a mount pointing to a cloud storage location.

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

79611347

Date: 2025-05-07 20:10:40
Score: 1.5
Natty:
Report link

Kinda late to the party at this time but bear in mind: unload can blindly unload to a fifo.

So if you create a fifo and have a program reading from the fifo and appending to your target file, you can throw several UNLOAD outputs into the fifo and have the data from all those unloaded queries sent to the one file, courtesy of the fifo-reader.

I did this years ago, unloading to a FIFO and having a dbimport (dbload? I forget) reading the FIFO to load another table. Very fast table copy!

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Jacob Salomon

79611343

Date: 2025-05-07 20:05:38
Score: 2
Natty:
Report link

With
lwz r19, 4(r29)
you are actually reading a word value 4 bytes after the label VC_INPUT:

The same with
stw r19, 4(r23)
writing 4 bytes after the address given by label VC_OUTPUT:

Maybe something is then overwritten.

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

79611339

Date: 2025-05-07 20:04:38
Score: 0.5
Natty:
Report link

You can define a ZLIB_ROOT cmake/env variable pointing to homebrew's zlib prefix:

export ZLIB_ROOT=/opt/homebrew/Cellar/zlib/1.3.1/
cmake
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: max

79611334

Date: 2025-05-07 20:02:37
Score: 1
Natty:
Report link

In my case I had forgotten the code in "project/project/__init__.py" (in this example), which resulted in the same error message. So in this case the question itself was my answer.

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

79611329

Date: 2025-05-07 19:58:36
Score: 2.5
Natty:
Report link

In most cases, the client platform handles PIN entry for security keys, not the browser (there are some exceptions).

but how do they know what process on the host they are allowing to act on their identity? What stops the authenticator from granting a hidden webauthn client privileges to act on their behalf? Must they still enter a PIN for every session?

Client platforms are responsible for interacting with authenticators, including managing who can call the APIs. Most major client platforms only allow a single WebAuthn request to be in flight at a time.

A simple solution would be for the www browser to keep the authenticator binding state pinUvAuthToken established by a single PIN entry in long term memory. Does anyone know whether browsers behave that way?

No, the PUAT is not an artifact designed to be stored.

Reasons:
  • RegEx Blacklisted phrase (2): Does anyone know
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
Posted by: Tim

79611328

Date: 2025-05-07 19:56:35
Score: 0.5
Natty:
Report link

My error was as follows:

Severity    Code    Description Project File    Line    Suppression State
Error (active)  CS0006  Metadata file '..\packages\AWSSDK.S3.3.5.7.8\analyzers\dotnet\cs\AWSSDK.S3.CodeAnalysis.dll' could not be found CCNRebuild  C:\Users\jp2code\source\Workspaces\Dealers Rebuild\CCNRebuild\CCNRebuild\CSC    1   

This was after a fresh install of my project from Source Control.

For me, I went into the Package Manager (Tools > NuGet Package Manager > Manage NuGet Packages for Solution...")

menu screenshot

I located my package in Nuget by searching for AWSSDK.S3 and picked the version that matched from the dropdown list:

nuget screenshot

It looks like the last person forgot to check in a package that they had added to the project.

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

79611323

Date: 2025-05-07 19:52:34
Score: 0.5
Natty:
Report link

Yes, you can listen for and handle both events.
You can even add multiple listeners for the same event and all the handlers will get called for that event.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Ray Wallace

79611319

Date: 2025-05-07 19:50:33
Score: 2
Natty:
Report link

For anyone that might look at this, the docs are not super helpful when trying to upload a story. If you are in the US,

https://api-us.storyblok.com/v1/spaces/

Is the fetch url.

NOT mapi, or v2, this is the exact one that finally worked.

It ONLY seems to say that here: https://www.storyblok.com/docs/api/management/getting-started/

I spent hours on this hopefully this helps someone some day.

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

79611316

Date: 2025-05-07 19:49:33
Score: 2.5
Natty:
Report link

APKs are binaries intended for distribution and use specifically for Android. You may want to look into something like Waydroid or BlueStacks for what you're trying to accomplish.

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

79611305

Date: 2025-05-07 19:42:31
Score: 1
Natty:
Report link

I couldn't find a way to re-initiate django-autocomplete-ligth, as you asked, but found a workaround that solved the issue:

htmx.on('htmx:afterSettle', (e) => {
  const selElement = $('#id_of_must_hide_select_element')
  if (selElement) {
    selElement.addClass('select2-hidden-accessible')
  }
})
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Leonardo Checon Dantas

79611304

Date: 2025-05-07 19:42:31
Score: 1
Natty:
Report link

If you're building a site with advanced registration and want to allow frontend search of registered users, I’d recommend checking out the Member Directory module we recently released.

It’s designed exactly for this type of use case:

Real-time search with multiple filter options

Fully customizable fields pulled from the Joomla User Profile plugin

Responsive layout, ready for multilingual use (12 languages including RTL)

Secure input validation and caching for performance

It works well alongside your RSForm Pro setup if you're using it just for registration, but it can also integrate directly with standard Joomla user profiles – so no need for complex coding or custom components.

You can see it in action here:

Demo: https://www.xcelerate-future.com/member-directory-module-demo

And docs here:

Docs: https://www.xcelerate-future.com/member-directory-installation-guide

Member Directory Image

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

79611302

Date: 2025-05-07 19:41:31
Score: 0.5
Natty:
Report link
<?php
$members = [
    'myname' => ['userid' => 52, 'age' => 46],
    'isname' => ['userid' => 22, 'age' => 47],
    'yourname' => ['userid' => 47, 'age' => 85]
];
$result=array_keys($members);
$result=array_combine($result,$result);
$result=array_merge_recursive($members,$result);
print_r($result);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sergey Soltanov

79611280

Date: 2025-05-07 19:28:27
Score: 2
Natty:
Report link

as the user

Akina said Replace INTO works

REPLACE INTO Table_copy
SELECT *
FROM Table
WHERE Table.Counter >= SELECT(MAX(Counter) FROM Table_Copy)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: onering20

79611278

Date: 2025-05-07 19:21:25
Score: 0.5
Natty:
Report link

There may be compatibility issues with Rails 7.2 due to recent changes introduced in this version.

Consider downgrading to Ruby 2.7 and Rails versions which are supported by the standard environment.

Rails 7.2 now requires Ruby 3.1 as the minimum version. This change means that Rails 7.2 may not be fully compatible with Ruby 3.0 or earlier versions. However, it doesn't explicitly state that Rails 7.2 is incompatible with Ruby 3.2.

Although Ruby 3.2 is supported according to the Runtime Schedule by the App Engine Standard Environment, there have been reports of deployment issues when using it. One example is in the Google Cloud Community mentions problems with the foreman gem when deploying Rails apps with Ruby 3.2 in the Standard Environment.

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

79611277

Date: 2025-05-07 19:20:25
Score: 2
Natty:
Report link

If you click this button to disable the breakpoint, it won’t be hit after refreshing the page.
But it's enabled by default, and as far as I know, there's no way to change that in DevTools, as it gets enabled again when you close and reopen the page.
Disable breakpoint on DevTool

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

79611269

Date: 2025-05-07 19:15:23
Score: 2
Natty:
Report link

For anyone interested, I've decided to disable Django's CSRF protection and now the mobile client (android specifically) can make logout request by sending only the session id as header.

One can check how to disable it here, provided by Saeed user

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

79611259

Date: 2025-05-07 19:04:20
Score: 0.5
Natty:
Report link

The best tool we use at our place is the "let the computer figure it out" approach; instead of pruning deps they're generated by default using gazelle.

The default is to generate, and only if you mark things in your build files will it "keep" it... The tool you're describing could certainly work, but I think it's working backward instead of letting the file dependencies themselves inform bazel on what the BUILD files should look like.

It works really well for Go and OK for Java in my experience, we haven't managed to get it going for Python though. Its main downside as a toolchain is you have to hook it into how you run your bazel commands if you don't want to keep rerunning the "regenerate" command, but I think it's worth it for the "autoimport" capabilities that you get.

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

79611246

Date: 2025-05-07 18:56:17
Score: 1
Natty:
Report link

In my case I found that it failed due to

https://www.google.com/recaptcha/

not being added to the "child-src" of the content security policy. From what I gather google loads an iFrame for reCAPTCHA and this needs to be allowed in the browser.

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

79611245

Date: 2025-05-07 18:55:17
Score: 2
Natty:
Report link

For my IntelliJ folks out there: Re-initialize maven project:

1. Right click on pom.xml -> Maven -> Unlink Maven Projects
2. Right click on pom.xml again -> Add as a Maven Project

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

79611236

Date: 2025-05-07 18:47:15
Score: 8
Natty: 7.5
Report link

I assume you got the answer. If so, Can you share the answer?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you share the answer
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Bibek Tamang

79611224

Date: 2025-05-07 18:41:12
Score: 2.5
Natty:
Report link

This neural networks and deep learning by Micha

header 1 header 2
cell 1 cell 2
cell 3 cell 4
  1. el Nielsen if we plot the first
Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Zahra Micellina

79611223

Date: 2025-05-07 18:40:12
Score: 1.5
Natty:
Report link

Had to move to flutter channel stable(was on beta) & then had to run Flutter upgrade

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: Syed Arsalan Kazmi

79611222

Date: 2025-05-07 18:40:12
Score: 3
Natty:
Report link

I need to create an ADF pipeline to restart a databricks cluster. I am trying to do this using web activity by using token authentication. Token is saved in keyvault but how to fetch the token from keyvault and pass it in web activity without exposing the secret in pipeline run logs.

Make sure your ADF instance has permission to access your Key Vault. You can do this by assigning the appropriate role using either RBAC (IAM) or by adding an Access Policy directly in the Key Vault settings to allow Get permission on secrets.

enter image description here

This allows you to securely pass the token into headers or bodies of subsequent Web activities by using dynamic content. "@activity('Web1').output.value"

enter image description here

Make sure to turn on Secure Inputs and Secure Outputs for any activities dealing with the secret. This ensures that the token doesn’t show up in pipeline run history or logs, protecting it from being viewed by unauthorized users.

enter image description here

Output : enter image description here

Also you can refer SO

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): I am trying to
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Shraddha Pore

79611221

Date: 2025-05-07 18:40:12
Score: 4
Natty:
Report link

May 2025: none of the above links work. The new link where you can get the png and ai file for Facebook logo is here:

Other guidelines are still at the same link as @Avrahm posted:

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Avrahm
  • Low reputation (1):
Posted by: codedrunk

79611218

Date: 2025-05-07 18:38:11
Score: 1
Natty:
Report link

Found a easy way just copy anything _id which is not allowed and the messages will go to DLQ

    - copy_values:
        entries:
         - from_key: name
           to_key: _id
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Milind Chaudhary

79611214

Date: 2025-05-07 18:38:11
Score: 3.5
Natty:
Report link

just use *[qty] in Shipping class costs here is the documentation from woo https://woocommerce.com/document/flat-rate-shipping/#advanced-costs[![a screen shot on where to use the code](https://i.sstatic.net/e8PUxtUv.png "example")](https://i.sstatic.net/e8PUxtUv.png)

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

79611213

Date: 2025-05-07 18:37:11
Score: 2.5
Natty:
Report link

Down-sizing your machine type is not recommended as e2-micro is very constrained for a Wordpress + MySQL workload. As mentioned by @dany L, you may use cloud monitoring to check and set up alerts for high CPU and memory usage. As another option, you can enable the "Automatic Restart" configuration settings to help the VM recover automatically if services crashed.

Reasons:
  • No code block (0.5):
  • User mentioned (1): @dany
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: p_lycs

79611208

Date: 2025-05-07 18:34:10
Score: 1.5
Natty:
Report link
 t.write(state_data.state)

instead of this you can also write t.write ( user_answer ) which will print the name of the state only. And problem is in your list() which you got the 2 answer.

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

79611207

Date: 2025-05-07 18:34:06
Score: 6 🚩
Natty:
Report link

I work with vr a frame not a lot but from time to time and I do not know what to solve this but I'm also have the same problem as this person

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I'm also have the same problem
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Robbietrex

79611197

Date: 2025-05-07 18:26:03
Score: 2
Natty:
Report link

I ultimately fixed my issue by using the MsalService.handleRedirectObservable() method and subscribing to the results, then checking for an active account:

this.msal.handleRedirectObservable().subscribe(() => {
  const account = this.msal.instance.getActiveAccount();
  if (account) {
    // do post-login stuff
  } else {
    this.msalBroadcastService.inProgress$.pipe(
      filter(status => status === InteractionStatus.None),
      take(1))
      .subscribe(() => {
        // do post-login stuff
      });
  }
});

If you try to call the getActiveAccount method before the MsalService gets initialized it'll throw an error and it seems like handleRedirectObservable did the initialization I needed to be able to check for an active account, in which case I would either proceed or branch off to do the login logic. There's probably a cleaner way to do this?

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
Posted by: Zulukas

79611185

Date: 2025-05-07 18:16:01
Score: 2
Natty:
Report link

I'm trying to migrate SSIS package 2012 to 2022 in the visual studio when I open the SSIs package it is giving the error particularly the task are not identified, instead it is coming as SSIS.Replacementtask

I couldn't understand what I'm missing

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

79611178

Date: 2025-05-07 18:09:59
Score: 4
Natty:
Report link

Well... they seem to have fixed the problem. The packages are now visible...

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

79611170

Date: 2025-05-07 18:06:57
Score: 1
Natty:
Report link

I was trying to something similar but mine was to debug a third-party packages under node_modules written in TS. I got the source code and recompile the package to emit mapping and use my own output to replace the package under node_modules. I also have to update resolveSourceMapLocations in launch.json to allow source mapping for that specific package. This works for me.

Reasons:
  • Whitelisted phrase (-1): works for me
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user3745539

79611167

Date: 2025-05-07 18:04:56
Score: 1.5
Natty:
Report link

<VirtualHost *:80>

ServerName mental.health.github.eunoia

DocumentRoot "/var/www/mental_health"

</VirtualHost>

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

79611165

Date: 2025-05-07 18:02:55
Score: 3
Natty:
Report link

Solved by user @furas in the comments here, keyboard.press() keeps the button pressed, so the code needed keyboard.release() for to avoid the initial keyboard.press() being held in for the rest of the loops.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @furas
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ferd

79611160

Date: 2025-05-07 17:57:54
Score: 3
Natty:
Report link

you need to be careful with special characters, because you need to encode them, like @, using percent-encoding:

@ → %40

: → %3A

/ → %2F

? → %3F

.# → %23 (without .)

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: João Costa

79611150

Date: 2025-05-07 17:49:52
Score: 0.5
Natty:
Report link

You have the problem with the object of the same id that you want to store to the db. Because the object already exists in the session and you didn't get it from there. Here's another way to save your object:

BettingProgram bettingProgramInserted = bettingProgramRepository.merge(bettingProgram);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: TevinS

79611146

Date: 2025-05-07 17:47:51
Score: 0.5
Natty:
Report link

Grouping by multiple arrays is now natively supported since Xarray>=2024.09.0.

https://xarray.dev/blog/multiple-groupers#more-complex-time-grouping

import xarray as xr


ds = xr.tutorial.open_dataset("air_temperature")

ds.groupby(["time.year", "time.month"]).mean()

I think your real problem is solved by "resampling", for which we support complex season definitions now (Xarray >2025.04.0):

import xarray as xr
from xarray.groupers import SeasonResampler

ds = xr.tutorial.open_dataset("air_temperature")

ds.resample(time=SeasonResampler(["DJFM", "AMJ", "SON"])).mean()

https://docs.xarray.dev/en/latest/user-guide/time-series.html#handling-seasons

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

79611143

Date: 2025-05-07 17:44:50
Score: 1.5
Natty:
Report link

On latest Xarray (>2025.04.0), you can do

import xarray as xr
from xarray.groupers import SeasonGrouper

ds = xr.tutorial.open_dataset("air_temperature")

ds.groupby(time=SeasonGrouper(["JJAS", "ON", "MAM", "DJF"])).mean()

https://docs.xarray.dev/en/latest/user-guide/time-series.html#handling-seasons

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

79611137

Date: 2025-05-07 17:41:49
Score: 1.5
Natty:
Report link

For more complex season definitions, use the new SeasonResampler object in Xarray>2025.04.0:

import xarray as xr
from xarray.groupers import SeasonResampler

ds = xr.tutorial.open_dataset("air_temperature")

ds.resample(time=SeasonResampler(["DJFM", "AMJ", "SON"])).mean()

https://docs.xarray.dev/en/latest/user-guide/time-series.html#handling-seasons

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

79611132

Date: 2025-05-07 17:39:48
Score: 1.5
Natty:
Report link

For more complex season definitions, use the new SeasonResampler object in Xarray>2025.04.0:

import xarray as xr
from xarray.groupers import SeasonResampler

ds = xr.tutorial.open_dataset("air_temperature")

ds.resample(time=SeasonResampler(["DJFM", "AMJ", "SON"])).mean()

https://docs.xarray.dev/en/latest/user-guide/time-series.html#handling-seasons

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

79611126

Date: 2025-05-07 17:37:48
Score: 1.5
Natty:
Report link

On latest Xarray(>2024.04.0), you can do:

import xarray as xr
from xarray.groupers import SeasonResampler

ds = xr.tutorial.open_dataset("air_temperature")

ds.resample(time=SeasonResampler(["DJ"])).mean()

https://docs.xarray.dev/en/latest/user-guide/time-series.html#handling-seasons

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

79611120

Date: 2025-05-07 17:35:47
Score: 1.5
Natty:
Report link

On latest Xarray (>2024.04.0) you can do

import xarray as xr
from xarray.groupers import SeasonResampler

ds = xr.tutorial.open_dataset("air_temperature")

ds.resample(time=SeasonResampler(["DJFM", "AMJ", "SON"])).mean()

This should correctly handle seasons that span Dec 31/Jan1

https://docs.xarray.dev/en/latest/user-guide/time-series.html#handling-seasons

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

79611114

Date: 2025-05-07 17:33:46
Score: 1.5
Natty:
Report link

On latest Xarray (>2024.04.0) you can do

import xarray as xr
from xarray.groupers import SeasonGrouper

ds = xr.tutorial.open_dataset("air_temperature")

ds.groupby(time=SeasonGrouper(["JJAS", "ON", "DJF", "MAM"])).mean()

https://docs.xarray.dev/en/latest/user-guide/time-series.html#handling-seasons

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

79611103

Date: 2025-05-07 17:27:45
Score: 1.5
Natty:
Report link

Use following instruction to load the immediate value into all fields of a vector register:
unsigned
vspltb/vsplth/vspltw
or signed
vspltisb/vspltish/vspltisw

If the value is greater than the maximum that can be coded in the instruction (5 bits provided), use vector shift instructions
vsl/vsldoi/vslo
and/or use
vor (or nvor) to combine the 2 parts.

Then add the resulting register with the other register (vadd)

Documentation is available here:
https://www.nxp.com/docs/en/reference-manual/ALTIVECPEM.pdf

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

79611099

Date: 2025-05-07 17:26:44
Score: 3.5
Natty:
Report link

A more direct approach would be to use a single Image object in your display ImageDocument and simply change its size, as needed, with the ImageResize() method. This is covered in the following SO question ...

How to resize an image by DM scripting?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Mike Kundmann

79611092

Date: 2025-05-07 17:20:41
Score: 12.5 🚩
Natty: 6.5
Report link

Did you manage to solve it? I have the same problem.

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (3): Did you manage to solve it
  • RegEx Blacklisted phrase (1.5): solve it?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Code Coffee

79611075

Date: 2025-05-07 17:06:37
Score: 2
Natty:
Report link

Anyone facing this issue, your Mysql service is not started.
To solve this, search "Services" in start > find Mysql > and click Start the service.
Now try testing your connections again.

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

79611069

Date: 2025-05-07 17:02:36
Score: 3
Natty:
Report link

Added "Reader" role for the blob storage in the user managed identity, restarted the app which fixed the issue.

Error from the notifications tab is vanished. Functions are healthy and processes blobs successfully.

enter image description here
enter image description here

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

79611067

Date: 2025-05-07 17:01:35
Score: 3.5
Natty:
Report link

I was able to fix this by updating Compose Multiplatform to the stable version 1.8.0 released yesterday:

https://github.com/JetBrains/compose-multiplatform/releases/tag/v1.8.0

SImilar issue here: https://github.com/JetBrains/compose-multiplatform/issues/4818

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

79611064

Date: 2025-05-07 16:59:35
Score: 2.5
Natty:
Report link

freeze and restrict access with Netpatch apk. Reset the phone and start it, don't connect it to internet till you passed and installed Netpatch apk. restrict network access within the app, then voila.. just dont reboot it.

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

79611058

Date: 2025-05-07 16:53:33
Score: 1
Natty:
Report link

to get the tilt and "reachability" of the virtual keyboard, use the .utilityPanel placement:

    WindowGroup(id: "KeyboardWindow") {
        KeyboardWindow()
    }
    .defaultWindowPlacement { _, _ in
        return WindowPlacement(.utilityPanel)
    }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: andymangobananas

79611055

Date: 2025-05-07 16:51:32
Score: 1
Natty:
Report link

Nice!

While looking for when some sleep command started, here is what can be typed:

ps -p `pgrep sleep` -o user,pid,start,cmd
USER       PID  STARTED CMD
user     25218 18:33:03 sleep 357

In this case the sleep command will finish precisely at 18:39:00

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Stéphane Peters

79611050

Date: 2025-05-07 16:45:30
Score: 3
Natty:
Report link

If the images are on your computer, you won't be able to do a drag and drop operation using playwright. It's only for the web portion, not desktop. Have you tried using the setInputFiles function? https://playwright.dev/docs/input#upload-files

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

79611048

Date: 2025-05-07 16:45:30
Score: 1
Natty:
Report link

Best way I have found is to add as a Database Reference

Right click on References > Add Database Reference...

In the Add Reference Dialog you can add a reference to a dacpac and check the box at the bottom to "Suppress errors caused by unresolved references in the referenced project" which will ignore errors in the referenced project, so you don't have to worry about the dependency chain.

Add Database Reference Dialog

This will automatically add the SQLCMD variables and you should then be able to use them in the view. enter image description here

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

79611043

Date: 2025-05-07 16:41:29
Score: 1.5
Natty:
Report link

We've had the same error message when we were calling a db2 query from a linked server on SQL server.

We found the issue to be that the query was executing on db2 with some output error messages for some records (trying to convert an invalid value to a TIMESTAMP_FORMAT) and when we mitigated that error the query was able to be called again from the linked server.

Perhpas some recors in the mentioned query return an divide by 0 error.

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

79611010

Date: 2025-05-07 16:25:24
Score: 0.5
Natty:
Report link

Well, You can solve error code: 0xc00000fd by creating a dump file of this like I did. So, for that purpose you need to go to C:/ and create a folder dumps

And open notepad

"

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps]
"DumpFolder"=hex(2):63,00,3a,00,5c,00,64,00,75,00,6d,00,70,00,73,00,00,00
"DumpCount"=dword:0000000a
"DumpType"=dword:00000002

"

and save it as .REG file there in dumps folder

And double click on .REG file to import the values into the registry

And then You Are Good to go
So, whenever next crash happens in your IIS this will automatically create a dump, and you can open that in Visual studio as well

Also, you can refer to following link for other options as well

https://techcommunity.microsoft.com/blog/iis-support-blog/crash-dump-collection/4334896

Thanks.

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

79611003

Date: 2025-05-07 16:20:23
Score: 4
Natty:
Report link

Wasn't encoding to base64 on client end. Server end expected base64 encoding

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

79610997

Date: 2025-05-07 16:19:19
Score: 8 🚩
Natty:
Report link
module.exports = {
content: [
  "./src/**/*.{html,ts}",
  "./node_modules/flusysng/**/*.{html,ts}",
],
corePlugins: {
  preflight: false,
}

}

Hi sir, did you find anser. i use this but it not work for me. can you help me about that.

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): did you find
  • RegEx Blacklisted phrase (3): can you help me
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: MD HOSSEN RANA

79610986

Date: 2025-05-07 16:14:17
Score: 1
Natty:
Report link

I am posting this in case somebody finds it useful. I created a new SQL migration with the following SQL code and I was able to fetch up to 10 000 entries with a single select.

ALTER ROLE authenticator SET pgrst.db_max_rows = 10000;
NOTIFY pgrst, 'reload config';

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

79610984

Date: 2025-05-07 16:13:16
Score: 4.5
Natty:
Report link

I found it!

Grant_type in the request is not 'client_credentials' but 'password'.

Best regards

Sergio

Reasons:
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: maccarilab

79610972

Date: 2025-05-07 16:07:14
Score: 4
Natty:
Report link

Well, trying to create a minimal reproducible example actually solved my problem! There’s actually just some absolutely positioned element in the way – if I remove that, the code works fine. Thank you @C3roe!!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @C3roe
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Anna Kleiner

79610971

Date: 2025-05-07 16:07:14
Score: 1
Natty:
Report link

Postman on Windows 11 may not properly access client certificates from the Windows Certificate Store like Windows 10 does. To fix it, export your .pfx to .crt and .key files using OpenSSL, then manually add them in Postman's Settings > Certificates. Also, try running Postman as Administrator.

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

79610969

Date: 2025-05-07 16:06:14
Score: 1
Natty:
Report link

In the Appylar documentation, it says:

Make sure to check the device size before setting the "banner_height" property to "90". For devices with screens smaller than 728 device independent pixels (points), always use banners with the height "50". Otherwise, the banner size will default to 320 x 50 points.

Based on your screenshots, it looks like your device is narrower than the 728 device independent pixels needed to show banners with the height 90px. The fact that the View is 90px high is just to provide a predictable outcome since you are expecting the banner to occupy 90px on the screen.

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

79610968

Date: 2025-05-07 16:06:14
Score: 1
Natty:
Report link
func urlForApplication(toOpen contentType: UTType) -> URL?

https://developer.apple.com/documentation/appkit/nsworkspace/urlforapplication(toopen:)-95cvp

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

79610963

Date: 2025-05-07 16:04:12
Score: 7 🚩
Natty: 5
Report link

any ideas for android 14? i have this same issue on a Honor magic 6 lite, it wont lemme uninstall it.. i froze it.. but it bugs me to have it there.. what ive done is to froze it and then limit its network access with an app called NetPatch(basically a firewall). but there is no way i can uninstall it, and also i cant install an unbranded firmware. it is so annoying. Thanks in advance

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): any ideas
  • RegEx Blacklisted phrase (3): Thanks in advance
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Franco Martellini

79610962

Date: 2025-05-07 16:04:12
Score: 3.5
Natty:
Report link

Checkout this post react native with sms retriever api

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

79610946

Date: 2025-05-07 15:54:09
Score: 1
Natty:
Report link

thanks every one for your answers

but i found out what was the problem

i changed the browser to chrome and saw that my image is being sent to my php file

then i found my code problems

first: i used application/json instead of multipart/form-data

second: i added a column to my database but didn't add it in my query

so now every thing works!

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

79610940

Date: 2025-05-07 15:52:08
Score: 1.5
Natty:
Report link

✅ How to localize MudDataGrid filters in MudBlazor (v7+) – With updated identifiers

If you're trying to localize the filter options of MudDataGrid and it's not working, you're likely using the old localization keys, like:

"MudDataGrid.contains"

These no longer work in newer versions of MudBlazor (v7+). The identifiers have changed to use underscores, like:

"MudDataGrid_Contains"

✔️ Solution (Updated and Working)

  1. Update MudBlazor to the latest version:
dotnet add package MudBlazor
  1. In your Program.cs:
builder.Services.AddTransient<MudLocalizer, CustomMudLocalizerImpl>();
  1. Create a class CustomMudLocalizerImpl with the updated keys:
using Microsoft.Extensions.Localization;
using MudBlazor;
using System.Globalization;
using System.Threading;

internal class CustomMudLocalizerImpl : MudLocalizer
{
    private readonly Dictionary<string, string> _localization;

    public CustomMudLocalizerImpl()
    {
        _localization = new()
        {
            { "MudDataGrid_AddFilter", "Agregar filtro" },
            { "MudDataGrid_Apply", "Aplicar" },
            { "MudDataGrid_Cancel", "Cancelar" },
            { "MudDataGrid_Clear", "Limpiar" },
            { "MudDataGrid_CollapseAllGroups", "Colapsar todos los grupos" },
            { "MudDataGrid_Column", "Columna" },
            { "MudDataGrid_Columns", "Columnas" },
            { "MudDataGrid_Contains", "Contiene" },
            { "MudDataGrid_NotContains", "No contiene" },
            { "MudDataGrid_Equals", "Igual a" },
            { "MudDataGrid_NotEquals", "Distinto de" },
            { "MudDataGrid_StartsWith", "Empieza con" },
            { "MudDataGrid_EndsWith", "Termina con" },
            { "MudDataGrid_IsEmpty", "Está vacío" },
            { "MudDataGrid_IsNotEmpty", "No está vacío" },
            { "MudDataGrid_Is", "Es" },
            { "MudDataGrid_IsNot", "No es" },
            { "MudDataGrid_IsAfter", "Es después de" },
            { "MudDataGrid_IsBefore", "Es antes de" },
            { "MudDataGrid_IsOnOrAfter", "Es en o después de" },
            { "MudDataGrid_IsOnOrBefore", "Es en o antes de" },
            { "MudDataGrid_Filter", "Filtro" },
            { "MudDataGrid_FilterValue", "Valor del filtro" },
            { "MudDataGrid_Group", "Grupo" },
            { "MudDataGrid_RefreshData", "Actualizar datos" },
            { "MudDataGrid_Save", "Guardar" },
            { "MudDataGrid_ShowAll", "Mostrar todo" },
            { "MudDataGrid_Hide", "Ocultar" },
            { "MudDataGrid_HideAll", "Ocultar todo" },
            { "MudDataGrid_Ungroup", "Desagrupar" },
            { "MudDataGrid_Unsort", "Quitar ordenamiento" },
            { "MudDataGrid_True", "Verdadero" },
            { "MudDataGrid_False", "Falso" },
            { "MudDataGrid_Value", "Valor" }
        };
    }

    public override LocalizedString this[string key]
    {
        get
        {
            var culture = Thread.CurrentThread.CurrentUICulture.TwoLetterISOLanguageName;
            if (culture.Equals("es", StringComparison.InvariantCultureIgnoreCase)
                && _localization.TryGetValue(key, out var translated))
            {
                return new LocalizedString(key, translated);
            }

            return new LocalizedString(key, key, true);
        }
    }
}

🧪 Bonus Tip

To debug the keys MudBlazor is actually requesting, you can add a breakpoint inside the indexer this[string key] and inspect which keys are triggered when you open the filter dialog.


🙌 Credits

Original idea by Rafael Parenza — Improved here with updated localization keys for MudBlazor v7+.


Reasons:
  • Blacklisted phrase (1): Está
  • Blacklisted phrase (1): está
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Aarón Flores Pasos

79610931

Date: 2025-05-07 15:47:06
Score: 1.5
Natty:
Report link

Vrham!

I know making new projects can be tough, but luckily there are some great samples of OpenIddict implementations out there. Try some of those samples in the repository and see if you can customize them to your needs. If you run into any issues, feel free to post some code samples and any errors you run into and we would be happy to help!

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

79610918

Date: 2025-05-07 15:38:03
Score: 2
Natty:
Report link

library(readr)

library(writexl)

data <- readRDS("Halal_toruism_rawdata.rds")

# Optional: View data structure

str(data)

# Save as Excel

write_xlsx(data, "Halal_Tourism_Tweets.xlsx")

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

79610914

Date: 2025-05-07 15:37:02
Score: 6 🚩
Natty: 5.5
Report link

Can You give exact versions of CUDA, CuDNN, and Nvidia Driver? I'm trying to do same in 2025 but there are still some obstacles (too new - looks, some functions are not supported in never version :/)

Reasons:
  • RegEx Blacklisted phrase (2.5): Can You give
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can You give
  • Low reputation (1):
Posted by: Tomasz B

79610912

Date: 2025-05-07 15:35:01
Score: 0.5
Natty:
Report link

How about MockMe? It doesn't support mocking static members (yet), but it does support mocking concrete types without the artificial activity of introducing an interface or making members virtual (furthermore without the need of adding any InternalsVisibleTo):

static void Main(string[] args)
{
    var fakeDriver = Mock.Me(default(BlueToothDriver));
    fakeDriver.Setup.ReadString().Returns("world!");

    var device = new BlueToothDevice(fakeDriver.MockedObject);
    device.Hello();
}

internal class BlueToothDevice(BlueToothDriver driver)
{
    public void Hello() => Console.WriteLine("Hello {0}", driver.ReadString());
}

// e.g. external library
internal class BlueToothDriver
{
    public string ReadString() => "doomsday!";
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How
  • Low reputation (0.5):
Posted by: marchewek

79610891

Date: 2025-05-07 15:25:58
Score: 1.5
Natty:
Report link

You can add:

android:windowSoftInputMode="adjustPan"

Directly in the XML for TextInputEditText, if you want to use it only for certain inputs.

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

79610881

Date: 2025-05-07 15:20:57
Score: 0.5
Natty:
Report link

Since you already have the direct .mp4 URL from the Twitter CDN, adding a download button on your page is pretty straightforward using plain HTML.

Here’s a simple way to do it:

<a href="https://video.twimg.com/ext_tw_video/1735368028454567940/pu/vid/avc1/720x1280/K1xz9gR_dzGv3ad2.mp4?tag=12" download>
  <button>Download Video</button>
</a>

This will prompt the browser to download the video when the user clicks the button.
The download attribute in the <a> tag is what tells the browser to treat it as a file download rather than opening it.

If you're dynamically fetching the video URL via JavaScript, you can also set the href of the <a> element with JS.

Let me know if you're working with a framework or want to trigger this with a custom player!
You can check my work on https://twvideodownloader.net/ website i develop this tool.

Thanks

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

79610879

Date: 2025-05-07 15:19:56
Score: 1
Natty:
Report link

It seems you are asking how to get a tool that will generate the .c and .h files for you from the ASN.1 specification. There is an excellent list of ASN.1 compilers (both free and commercial) in the ITU-T ASN.1 Project at https://www.itu.int/en/ITU-T/asn1/Pages/Tools.aspx which you can use to read the ASN.1 specification and generate code to encode/decode/validate the messages in your ASN.1 specification. If this is not what you are asking, please clarify your question.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • RegEx Blacklisted phrase (2.5): please clarify your question
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Paul Thorpe

79610875

Date: 2025-05-07 15:17:55
Score: 4
Natty:
Report link

try npm i vitest-react-native plugin and add it to vitest.config. info: https://github.com/sheremet-va/vitest-react-native

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

79610874

Date: 2025-05-07 15:17:55
Score: 0.5
Natty:
Report link

I would guess that you can do it in for loop and inside the loop it will wait in the workqueue.Get() until an item added you break when shutdown check this implimentation : https://github.com/kubernetes/sample-controller/blob/e3aa2202834f61b1c8415b33dd801d4417957010/controller.go#L193

Here is some simple try I was also playing with workqueue but it depends on your implimentation here I am not running process in go routine but you can figure out how to do best reference would be sample-controller code

* you can also post code to help understand your implimentation

1   package main                                                                                                                            
  1                                                                                                                                         
  2 import (                                                                                                                                
  3         "fmt"                                                                                                                           
  4         "time"                                                                                                                          
  5                                                                                                                                         
  6         "k8s.io/client-go/util/workqueue"                                                                                               
  7 )                                                                                                                                       
  8                                                                                                                                         
  9 func FillQueue(q workqueue.Interface) {                                                                                                 
 10         time.Sleep(1 * time.Second)                                                                                                     
 11         q.Add("A")                                                                                                                      
 12         q.Add("B")                                                                                                                      
 13         q.Add("C")                                                                                                                      
 14                                                                                                                                         
 15 }                                                                                                                                       
 16                                                                                                                                         
 17 func processingQueue(q workqueue.Interface) bool {                                                                                      
 18         item, _ := q.Get()                                                                                                              
 19         fmt.Printf("Processing %s .. \n", item)                                                                                         
 20         q.Done(item)                                                                                                                    
 21         return true                                                                                                                     
 22 }                                                                                                                                       
 23                                                                                                                                         
 24 func main() {                                                                                                                           
 25         q := workqueue.New()                                                                                                            
 26         go FillQueue(q)                                                                                                                 
 27         for processingQueue(q) {                                                                                                        
 28         }                                                                                                                               
 29 }                                                                                                                                       
~       
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Low entropy (1):
  • Low reputation (1):
Posted by: Mohammed

79610872

Date: 2025-05-07 15:17:55
Score: 0.5
Natty:
Report link

I don’t have enough experience to say this with full confidence, but I think using a nested helper function is a pretty common and reasonable approach when dealing with recursion and memoization. It helps keep the main function clean by hiding the implementation details.

That said, without any comments and with a generic name like helper, the code can be harder to follow, especially for someone new to it. Giving the function a more descriptive name and maybe adding a short docstring could make it clearer, especially if you're working in a team.

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

79610865

Date: 2025-05-07 15:11:54
Score: 0.5
Natty:
Report link

To connect from outside the container, use your host machine's IP address.

Here's an example:
If your host machine (e.g., host-docker-01) has the IP 10.1.0.101, connect like this:

psql -h 10.1.0.101 -p 5432 -U username -d dbname
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Abner Rizzi

79610858

Date: 2025-05-07 15:08:53
Score: 3
Natty:
Report link

I realize this posting is a bit old. But I believe it matches my situation. I think it does.

This my situation.

enter image description here From Azure I want to make REST calls to an On-Prem REST API.

Does the above diagram show the pieces required?

Does the Corporate Firewall have to be modified for the Integration Runtime?

Thanks for your guidance.

KD

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (1): I want
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: KBD

79610856

Date: 2025-05-07 15:07:52
Score: 3.5
Natty:
Report link

another way of doing it is by directly updating default max duration field in vercel project's settings : update default max duration of vercel function image

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

79610845

Date: 2025-05-07 15:01:50
Score: 0.5
Natty:
Report link

This is a limitation I found too: NetTopologySuite performs planar (Euclidean) calculations, while SqlGeography uses geodesic calculations on an ellipsoidal model (WGS84). So you cannot use NTS to calculate distances or buffers or other operations that depend on the Earth curvature.

For those running into similar issues, I’ve built SharpSpatial, an open-source .NET library that extends NetTopologySuite with true geodesic computations, including:

It's especially useful if you're moving away from SQL Server or need cross-platform, accurate geodesic logic in .NET 6/7/8 projects.

I’ve been using it in some of my own projects. While it’s not yet fully comprehensive, it allowed me to move away from the SqlGeography DLLs and work entirely on .NET Core.
I'm not a geospatial expert, but for my needs, the results have been sufficiently accurate.

Disclaimer: I'm the author of the library.

Reasons:
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Lodeli

79610826

Date: 2025-05-07 14:53:48
Score: 2.5
Natty:
Report link

Invalid Dynamic Link - Blocked

Domain (kso.page.link) is disallowed due to ([]).

If you are the developer of this app, ensure that your Dynamic Links domain is correctly configured and that the path component of this URL is valid.

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