79572691

Date: 2025-04-14 08:32:48
Score: 3
Natty:
Report link

Thanks to @Peter - REDIS_PASSWORD in docker environment is non-standard, so Redis service during installation just ignores it. Later I will write command tag in Redis service turning on authentication

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Peter
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: vbulash

79572684

Date: 2025-04-14 08:31:48
Score: 1
Natty:
Report link

Add logic condition to prevent showing toastr in every page

In includes-bottom.php:

     <script>
        if ($this->session->flashdata('error_message') !== null) {
            toastr.error('<?php echo $this->session->flashdata('error_message');?>');
        }
    </script>
<?php } ?>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hendra

79572683

Date: 2025-04-14 08:30:47
Score: 5.5
Natty:
Report link

I checked your geometries. (See 1st screenshot)
Table FTJOIN contains invalid geometries returning Oracle error code 13367. Check this blog post about validating and rectifying, if necessary, invalid geometries using SDO_UTIL.RECTIFY_GEOMETRY. Once rectified you´ll get the result you are expecting. (See 2nd+3rd screenshots)

Does it help?

enter image description here

enter image description here

enter image description here

Reasons:
  • Blacklisted phrase (1): this blog
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: kpatenge

79572681

Date: 2025-04-14 08:29:46
Score: 1
Natty:
Report link

You can simply use code --version command in a terminal like that

code --version

or

code --version | head -1

For example:

code --version will return you Version, Commit and type of OS:

1.99.2
4948501c480d4cab945e3c0c6d400348da7f474b
x64

code --version | head -1 will return you only Version:

1.99.2

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

79572676

Date: 2025-04-14 08:26:45
Score: 3.5
Natty:
Report link

Every time you need to save your code. So save your code and check it will work.

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

79572674

Date: 2025-04-14 08:24:45
Score: 1
Natty:
Report link

Turns out the 2.8.6 version of swagger-ui doesn't work with SpringBoot 3.4.4 at the moment. Downgrading to 2.8.5 worked just fine for me.

<dependency>
    <groupId>org.springdoc</groupId>
    <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
    <version>2.8.5</version>
</dependency>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Gwendal

79572671

Date: 2025-04-14 08:24:45
Score: 3
Natty:
Report link

as DataFrames said above, but I add a little

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: lam vu Nguyen

79572666

Date: 2025-04-14 08:21:44
Score: 1
Natty:
Report link

This error appears whenever some file or folder path in your solution directory is very long. In your solution folder, try following command. It will increase the filepath length in Windows.

git config --global core.longpaths true
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ankush Patil

79572665

Date: 2025-04-14 08:20:44
Score: 2
Natty:
Report link

Instagram video URLs expire quickly and are dynamically generated. Instagram's terms of service and API limit scraping or direct access to content. Cross-origin restrictions also block loading videos directly into your own player. If fullscreen support is a must, you can try to get permission to rehost the videos. Upload them to a platform like Vimeo or YouTube. Embed those videos on your site with fullscreen controls enabled.

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

79572656

Date: 2025-04-14 08:17:43
Score: 2
Natty:
Report link

No, you do not need HTTPS configuration on your backend when you configure TLS termination on Application Gateway; the TLS session ends at the application gateway itself, and it forwards the traffic to the backend over unencrypted HTTP (port 80).

This is a fully supported and secure pattern — especially useful when integrating with Azure Firewall or when the backend only supports HTTP.

Reference: Azure Application Gateway TLS termination tutorial (official)

What is TLS termination?

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Looks like a comment (1):
  • High reputation (-1):
Posted by: Venkat V

79572651

Date: 2025-04-14 08:15:42
Score: 4
Natty:
Report link

Your first attempt isn't a formula, so saying that Temperatuur = 15 C, it then should be assigning the value:

Text(${Temperatuur}) //Text(15 C)

I get the expected output from:

=Text(Temperatuur) //15 C

While using:

=Text(${Temperatuur})

I get these errors regarding unexpected characters:

Parameter 'Value': Unexpected characters. Characters are used in the formula in an unexpected way.
Unexpected characters. The formula contains 'CurlyOpen' where 'ParenClose' is expected.
Unexpected characters. Characters are used in the formula in an unexpected way.
The function 'Text' has some invalid arguments.
Expected text or number. We expect text or a number at this point in the formula.

Best regards,

Gustav

Reasons:
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • RegEx Blacklisted phrase (1): I get these error
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Gustav

79572650

Date: 2025-04-14 08:14:40
Score: 9 🚩
Natty: 5.5
Report link

Hello I have the same problem or similar. I have downloaded protocol buffers and compiled with cmake as the readme file says in this download: https://github.com/protocolbuffers/protobuf/releases/tag/v3.14.0

Then compiled a simple .proto file, added the .pb.h and .pb.cc:

enter image description here

Added the addutuibak Include and the Linker paths to libs, still I get:

enter image description here

Does anyone know what is happening? Thank you so much

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): I have the same problem
  • Blacklisted phrase (1): enter image description here
  • RegEx Blacklisted phrase (2): Does anyone know
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Jairo Ferrero

79572648

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

Nb: I found changing

Mat frame = new Mat();

To

Mat frame = new Mat(height, width, depth, channels);

Working with a video file so took those parameters from the video.

Made things work better.

Context:Engu.CV MAUI on Android phone.

Was getting significant buffer issues.

==========

Mat frame = new Mat(); had worked OK on OpenCVSharp.

Reasons:
  • No code block (0.5):
  • Filler text (0.5): ==========
  • Low reputation (0.5):
Posted by: David Jones

79572643

Date: 2025-04-14 08:09:39
Score: 0.5
Natty:
Report link

This is an improved version of the original answer by @taras-d.

Credit goes to the original author.

Create one Directive

import { Directive, Host, Input, isDevMode, Optional } from '@angular/core';
import { RouterLink, RouterLinkWithHref } from '@angular/router';

/**
 * @ngModule RouterModule
 *
 * @description
 * 
 * A directive that prevents navigation when applied to elements with [routerLink] or [routerLinkWithHref].
 * When the `suppressNavigation` input is `true`, the directive intercepts the default behavior of the link's click event.
 * This allows the navigation to be suppressed, preventing the route change.
 * 
 * @param suppressNavigation - A boolean that determines whether the navigation should be suppressed.
 * 
 * @throws Error if used without [routerLink] or [routerLinkWithHref].
 * 
 * @publicApi
 * @see {@link RouterLink}
 * @see {@link RouterLinkWithHref}
 * 
* @remarks
 * Inspired by a [Stack Overflow answer by taras-d](https://stackoverflow.com/a/45323200/14344959).
 * Credit goes to the original author.
 */
@Directive({
  selector: '[suppressNavigation]',
  standalone: true
})
export class SuppressNavigationDirective {

  @Input() suppressNavigation: boolean = false;

  constructor(
    // Inject routerLink
    @Optional() @Host() routerLink: RouterLink,
    @Optional() @Host() routerLinkWithHref: RouterLinkWithHref
  ) {

    const link = routerLink || routerLinkWithHref;

    if (!link) {
      if (isDevMode()) {
        throw new Error(
          '[suppressNavigation] directive must be used on an element with [routerLink] or [routerLinkWithHref].'
        );
      }

      return; // Safety check
    }

    // Save original click handler
    const originalOnClick = link.onClick;

    // Override click handler
    link.onClick = (...args) => {
      if (this.suppressNavigation) {
        return routerLinkWithHref ? false : true;
      } else {
        return originalOnClick.apply(link, args);
      }
    };
  }
}

Usage:

<a routerLink="/search" [suppressNavigation]="!isLogged">Search</a>
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @taras-d
Posted by: Harsh Patel

79572641

Date: 2025-04-14 08:07:38
Score: 1
Natty:
Report link

My problem was the type: "module", i removed it and killed the daemon then restarted the server.

"type": "module". // remove this from your package.json.

$ killall node
$ nx run-many --target=serve --projects=<your projects>,
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Friday Candour

79572639

Date: 2025-04-14 08:07:38
Score: 1.5
Natty:
Report link
document.addEventListener("DOMContentLoaded", function () {
  const links = document.querySelectorAll('.linksblock a');
  links.forEach(link => {
    const href = link.getAttribute('href');
    if (href) {
      if (!href.includes('?=PAT')) {
        // Check if URL already has a query string
        const separator = href.includes('?') ? '&' : '?';
        link.setAttribute('href', href + separator + '=PAT');
      }
    }
  });
});

Just add above java script code to your html.

const links = document.querySelectorAll('.linksblock a');

will get all the elements inside with class linksblock,

links.forEach(link => {}

Above code Loops through each element found

if (href) {

Above code Checks that the href isn't null or empty

if (!href.includes('?=PAT')) {

** Above code Ensures ?=PAT is not already present, this is to avoid duplicating.**

const separator = href.includes('?') ? '&' : '?';
link.setAttribute('href', href + separator + '=PAT');

Above code Updates the link’s href by adding ?=PAT or &=PAT at the end

Let me know if you need further explination to the code? or any other issues if your having?

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Omprakash S

79572637

Date: 2025-04-14 08:07:38
Score: 2
Natty:
Report link

I was able to connect to my mongodb community db running on Ec2 t2 micro through Mongodb compass, but couldn't connect to it through node js server running on the same instance. After increasing serverSelectionTimeoutMS=3000 from 3000 to 2000 in the mongodb connection uri worked.

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

79572624

Date: 2025-04-14 08:00:36
Score: 1
Natty:
Report link

you need to change .dimension(1024) to .dimension(384).

You can always get the dimention of your EmbeddingModel by calling EmbeddingModel.dimension().

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

79572622

Date: 2025-04-14 07:58:35
Score: 2.5
Natty:
Report link

I came across a JPEG image that lacks an APP14 marker and has a CID of 01 02 03 04. I thought it should be YCCK, but in reality, it's CMYK. It seems that ISO/IEC 10918-6:2013 (E), section 6.1 provides the accurate description, while the additional CID judgment actually led to an error.

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

79572603

Date: 2025-04-14 07:49:33
Score: 3
Natty:
Report link

there.

I want to test the ability to open my app with a voice command using Google Assistant, but I want to publish it for internal testing only and not to production.
Is it possible?

I tried to find out the way to test but I can't.

Conversational actions are deprecated and android actions test tool didn't find out shortcuts.xml.

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

79572602

Date: 2025-04-14 07:48:32
Score: 0.5
Natty:
Report link

As far as I know, you should have the browser installed, as I believe the driver is just supposed to be used to control the browser... though your success with it working without it makes me doubt that theory.

As for the missing class attribute issue... hmm, it's possible that the class isn't there OR it's not parsing the .html correctly. Have you used driver.page_source to verify that attribute exists in the html when selenium gets it? You can do that by waiting for it to fetch the third page, then do print(driver.page_source). Warning: it will be a LOT of output, so you might just want to save that output to a file, then do

cat file.txt | grep FS03250425_BCN03A20

to see if it's where you expect it.

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

79572601

Date: 2025-04-14 07:47:32
Score: 3
Natty:
Report link

The Haystack team is currently working on adding multimodal support including Images as part of the user prompt. You can see the work being tracked in our public roadmap here.

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

79572600

Date: 2025-04-14 07:47:32
Score: 3
Natty:
Report link

As @nbk suggested in the comments, I checked all the files in the Test project and it turns out the templates used to generate the reports where out of date and the original templates used by the application had some additional fields. I should have used only one set of templates in the first place. There was no problem with parallel generation of reports using Crystal Reports.

Reasons:
  • No code block (0.5):
  • User mentioned (1): @nbk
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Nikola

79572597

Date: 2025-04-14 07:45:31
Score: 2.5
Natty:
Report link

I tried to run winutils.exe separately and it threw a MSV** file missing error. Installing Visual C++ Redistributable for Visual Studio 2013 solved the issue with winutils and therefore the start-all.cmd ran without an issue afterwards.

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

79572596

Date: 2025-04-14 07:45:31
Score: 2.5
Natty:
Report link

I added firebase-functions as a dependency to my project (ie. the project level package.json, it was already in the functions package.json). I don't understand why this was necessary though as the function was already deployed and working.

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

79572585

Date: 2025-04-14 07:39:29
Score: 2
Natty:
Report link

I guess a decision maker would be where you host your application, for example when you deploy your app on vercel you would probably choose their cron jobs implementation but when you self deploy an AWS then I would also use their service.

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

79572571

Date: 2025-04-14 07:34:28
Score: 2
Natty:
Report link

The isolation "REPEATABLE READ" is the same as "SERIALIZABLE" in Oceanbase. You can refer to the official Oceanbase document.

In your test, the isolation level is SERIALIZABLE in Oceanbase. So the result is different with MySQL.

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

79572570

Date: 2025-04-14 07:34:28
Score: 2
Natty:
Report link

I followed your instructions and didn’t get the same error, but I understand what you meant.

Feel free to tell me if I did something diffent.

  1. Cloned the Vite.js in TypeScript example repo from gitHub
  2. Copied dashboard and shared-theme folders from gitHub and pasted them into the src folder

Here is solution

  1. Removed all .js files from the dashboard and shared-theme folders.
  2. Imported Dashboard into main.tsx
import App from "./dashboard/Dashboard";

And it worked! So you need to remove all .js files.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Has code block (-0.5):
  • Me too answer (2.5): get the same error
  • Low reputation (1):
Posted by: Emily.C

79572567

Date: 2025-04-14 07:31:27
Score: 0.5
Natty:
Report link

There is no build-in function like std::swap in C++.

However, this code can perform the task:

def my_swap(obj1, obj2):
    obj1[:], obj2[:] = obj2[:], obj1[:]
l1 = [1, 2, 3]
l2 = [4, 5, 6]
my_swap(l1, l2)
print("l1:", l1)
print("l2:", l2)

Output:

l1: [4, 5, 6]
l2: [1, 2, 3]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Subir Chowdhury

79572566

Date: 2025-04-14 07:31:27
Score: 0.5
Natty:
Report link

Hit the delete key on the keyboard while the stale string is selected.

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

79572564

Date: 2025-04-14 07:30:27
Score: 1
Natty:
Report link

Thanks @furas for the hint: simply uninstalling qt6-main using `conda remove qt6-main` worked for me (conda installed/uninstalled a lot of other packages, unfortunately I didn't really paid attention and just clicked ok). Just in case someone is interested: that's what my environment looks now:

_openmp_mutex             4.5                       2_gnu    conda-forge
ampl-asl                  1.0.0                he0c23c2_2    conda-forge
brotli-python             1.0.9           py312h5da7b33_9
bzip2                     1.0.8                h2466b09_7    conda-forge
ca-certificates           2025.2.25            haa95532_0
cairo                     1.16.0               hc68a040_5
colorama                  0.4.6              pyhd8ed1ab_1    conda-forge
contourpy                 1.3.1           py312h214f63a_0
cycler                    0.11.0             pyhd3eb1b0_0
deepdiff                  8.1.1              pyhd8ed1ab_0    conda-forge
double-conversion         3.3.1                he0c23c2_0    conda-forge
expat                     2.6.4                h8ddb27b_0
font-ttf-dejavu-sans-mono 2.37                 hd3eb1b0_0
font-ttf-inconsolata      2.001                hcb22688_0
font-ttf-source-code-pro  2.030                hd3eb1b0_0
font-ttf-ubuntu           0.83                 h8b1ccd4_0
fontconfig                2.14.1               hb33846d_3
fonts-anaconda            1                    h8fa9717_0
fonts-conda-ecosystem     1                    hd3eb1b0_0
fonttools                 4.55.3          py312h827c3e9_0
freetype                  2.13.3               h0620614_0
geojson                   3.2.0              pyhd8ed1ab_0    conda-forge
glib                      2.78.4               hd77b12b_0
glib-tools                2.78.4               hd77b12b_0
graphite2                 1.3.14               hd77b12b_1
harfbuzz                  10.2.0               hf458a27_0
icu                       73.1                 h6c2663c_0
intel-openmp              2024.2.1          h57928b3_1083    conda-forge
ipopt                     3.14.17              h905d1ba_0    conda-forge
jpeg                      9e                   h827c3e9_3
kiwisolver                1.4.8           py312h5da7b33_0
krb5                      1.21.3               hdf4eb48_0    conda-forge
lcms2                     2.16                 hb4a4139_0
lerc                      4.0.0                h5da7b33_0
libblas                   3.9.0              26_win64_mkl    conda-forge
libcblas                  3.9.0              26_win64_mkl    conda-forge
libclang13                14.0.6          default_h8e68704_2
libdeflate                1.22                 h5bf469e_0
libexpat                  2.6.4                he0c23c2_0    conda-forge
libffi                    3.4.2                h8ffe710_5    conda-forge
libflang                  5.0.0           h6538335_20180525    conda-forge
libgcc                    14.2.0               h1383e82_2    conda-forge
libglib                   2.78.4               ha17d25a_0
libgomp                   14.2.0               h1383e82_2    conda-forge
libhwloc                  2.11.2          default_ha69328c_1001    conda-forge
libiconv                  1.17                 hcfcfb64_2    conda-forge
libintl                   0.22.5               h5728263_3    conda-forge
libjpeg-turbo             2.0.0                h196d8e1_0
liblapack                 3.9.0              26_win64_mkl    conda-forge
liblzma                   5.6.3                h2466b09_1    conda-forge
libpng                    1.6.39               h8cc25b3_0
libpq                     12.15                h906ac69_0
libsqlite                 3.48.0               h67fdade_1    conda-forge
libtiff                   4.5.1                h44ae7cf_1
libwebp-base              1.5.0                h3b0e114_0    conda-forge
libwinpthread             12.0.0.r4.gg4f2fc60ca      h57928b3_9    conda-forge
libxcb                    1.17.0               h0e4246c_0    conda-forge
libxml2                   2.13.5               h24da03e_0
libxslt                   1.1.41               h0739af5_0
libzlib                   1.2.13               h2466b09_6    conda-forge
llvm-meta                 5.0.0                         0    conda-forge
llvmlite                  0.44.0          py312h8b1c7eb_1
lxml                      5.3.0           py312h395c83e_1
lz4-c                     1.9.4                h2bbff1b_1
matplotlib                3.10.1          py312h2e8e312_0    conda-forge
matplotlib-base           3.10.1          py312h90004f6_0    conda-forge
minizip                   4.0.3                hb68bac4_0
mkl                       2024.2.2            h66d3029_15    conda-forge
mumps-seq                 5.7.3                h7c2359a_6    conda-forge
networkx                  3.4.2              pyh267e887_2    conda-forge
numba                     0.61.0          py312hcccf92d_1    conda-forge
numpy                     2.1.3           py312h49bc9c5_0    conda-forge
openjpeg                  2.5.2                hae555c5_0
openmp                    5.0.0                    vc14_1    conda-forge
openssl                   3.4.0                ha4e3fda_1    conda-forge
orderly-set               5.2.3              pyh29332c3_1    conda-forge
packaging                 24.2               pyhd8ed1ab_2    conda-forge
pandapower                3.0.0              pyhd8ed1ab_0    conda-forge
pandas                    2.2.3           py312h72972c8_1    conda-forge
pcre2                     10.42                h0ff8eda_1
pillow                    11.1.0          py312h096bfcc_0
pip                       25.0               pyh8b19718_0    conda-forge
pixman                    0.44.2               had0cd8c_0    conda-forge
ply                       3.11               pyhd8ed1ab_3    conda-forge
pthread-stubs             0.3                  h3c9f919_1
pyomo                     6.8.2           py312h275cf98_1    conda-forge
pyparsing                 3.2.0           py312haa95532_0
pyside6                   6.7.2           py312hf8997a8_0
python                    3.12.3          h2628c8c_0_cpython    conda-forge
python-dateutil           2.9.0.post0        pyhff2d567_1    conda-forge
python-tzdata             2025.1             pyhd8ed1ab_0    conda-forge
python_abi                3.12                    5_cp312    conda-forge
pytz                      2024.1             pyhd8ed1ab_0    conda-forge
qhull                     2020.2               h59b6b97_2
qtbase                    6.7.2                h0804d20_0
qtdeclarative             6.7.2                h5da7b33_0
qtshadertools             6.7.2                h5da7b33_0
qtsvg                     6.7.2                hf2fb9eb_0
qttools                   6.7.2                h0de5f00_0
qtwebchannel              6.7.2                h5da7b33_0
qtwebengine               6.7.2                h601c93c_0
qtwebsockets              6.7.2                h5da7b33_0
scipy                     1.13.1          py312h1f4e10d_0    conda-forge
setuptools                75.8.0             pyhff2d567_0    conda-forge
six                       1.17.0             pyhd8ed1ab_0    conda-forge
sqlite                    3.45.3               h2bbff1b_0
tbb                       2021.13.0            h62715c5_1    conda-forge
tk                        8.6.13               h5226925_1    conda-forge
tornado                   6.4.2           py312h827c3e9_0
tqdm                      4.67.1             pyhd8ed1ab_1    conda-forge
typing_extensions         4.12.2          py312haa95532_0
tzdata                    2025a                h78e105d_0    conda-forge
ucrt                      10.0.22621.0         h57928b3_1    conda-forge
unicodedata2              15.1.0          py312h827c3e9_1
vc                        14.42                haa95532_4
vc14_runtime              14.42.34433         h6356254_24    conda-forge
vs2015_runtime            14.42.34433         hfef2bbc_24    conda-forge
wheel                     0.45.1             pyhd8ed1ab_1    conda-forge
xorg-libxau               1.0.12               h0e40799_0    conda-forge
xorg-libxdmcp             1.1.5                h0e40799_0    conda-forge
xz                        5.6.4                h4754444_1
zlib                      1.2.13               h2466b09_6    conda-forge
zstd                      1.5.6                h8880b57_0
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): worked for me
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @furas
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Andre

79572560

Date: 2025-04-14 07:29:26
Score: 1.5
Natty:
Report link

For this, you need to implement the IAutoComplete2 interface. Ask chatgp for "Implements IAutoComplete2 in c#", you will get a basic implementation, and sample how to attach it to a winform textbox.

Now, all you need to provide ACO_NOPREFIXFILTERING flag, when creating your new autocomplete.

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

79572558

Date: 2025-04-14 07:27:26
Score: 1
Natty:
Report link

The problem was decimal type values.

They were exported with point and not comma

Conventing them to double, i resolved hte problem

Reasons:
  • Whitelisted phrase (-2): i resolved
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: paolo130881

79572553

Date: 2025-04-14 07:25:24
Score: 6 🚩
Natty: 6.5
Report link

difflib.get_close_matches gives amazing results with high accuracy. do give it a try. But also does anyone know how to do this same process on golang?

Reasons:
  • RegEx Blacklisted phrase (2): does anyone know
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Arul Prasad

79572548

Date: 2025-04-14 07:21:22
Score: 3.5
Natty:
Report link

Dear Team,

Please find below the Excel upload format I am using to update item texts for multiple purchase requisitions (PRs) in SAP. The file contains PR numbers, corresponding line item numbers, and the desired item text to be uploaded.

PR Number PR Item Number PR Item Text
3400001460 10 8 HOLES
3400001460 20 PMI TESTING
3400001460 30 HARDNESS TESTING
3400000875 10 MECHANICAL TESTING
3400000875 20 LADDLE ANALYSIS
3400000875 30 HARDNESS TEMPERATURE

I kindly request your support in providing a VBA macro that can:

This automation will help reduce manual efforts and ensure consistency in text updates.

Please let me know if you need any additional details or adjustments to the format.

Thank you for your support!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • RegEx Blacklisted phrase (2.5): Please let me know
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Surendra Bhilare

79572527

Date: 2025-04-14 07:10:19
Score: 1.5
Natty:
Report link

安装对应版本的devel,我是python3.11 我安装python3-devel不能解决问题,安装python311-dev可以解决问题了

yum install python311-devel
pip3 install uwsgi 
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • No latin characters (0.5):
  • Low reputation (0.5):
Posted by: user1232595

79572524

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

I tried accessing the pusher api key in my Next.js project like this

process.env.PUSHER_APP_KEY

but received the same error but when I replaced the value with the litral value it worked just fine but due to obvious security reasons this cannot be used like this. First doubt was that I might be making some kind of typo but it wasn't the case, the following helped me so replace the above snippet with the below

`${process.env.PUSHER_APP_KEY}`

This solved my issue I hope helps other facing the same issue. Happy coding.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): facing the same issue
  • Low reputation (1):
Posted by: deepak mahto

79572519

Date: 2025-04-14 07:01:17
Score: 0.5
Natty:
Report link

I think you might be mixing up a few concepts.

When working with Convolutional Neural Networks (CNNs), the goal is typically to perform automatic feature extraction and model training directly from images. It's not like working with traditional models where you have predefined columns or features — in CNNs, those features are implicitly learned from the images themselves.

Regarding your question "whether to freeze the model or to extract until Dense(128...)," — it's quite common to include one or more dense layers after the convolutional and max pooling layers, before the final classification output. This is because connecting the convolutional outputs directly to the output layer would be too raw and inefficient. Dense layers help consolidate and interpret the extracted features before making the final prediction.

As for "whether to use a number of folds or if that's only for machine learning," — CNNs can also benefit from techniques like K-Fold cross-validation. In my case, I usually start with a small number of epochs and use something like a 5x10 K-Fold setup to get an initial idea of model performance. Based on that, I adjust hyperparameters and experiment with different fold sizes.

Also, if your dataset is large or training from scratch is too slow, you might want to try transfer learning — it can save a lot of time and resources.

Regarding dropout layers, they are definitely useful and commonly used to prevent overfitting by randomly deactivating neurons during training. However, if dropout is too aggressive (e.g., using very high dropout rates), it can prevent the network from learning effectively. So again, it comes down to experimentation — finding the right balance is key.

In the end, there’s no single “right” way to do this — trial and error, careful tuning, and adapting to your specific dataset and task is what usually leads to the best results.

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

79572504

Date: 2025-04-14 06:47:13
Score: 0.5
Natty:
Report link

Here's a quick solution without needing Lodash or other libraries:

function areObjectsEqual(a: any, b: any): boolean {
  return (
    JSON.stringify(a, Object.keys(a).sort()) ===
    JSON.stringify(b, Object.keys(b).sort())
  );
}

This can also handle nested objects and different order of properties.

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

79572492

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

In my original post, I omitted the fact that I was saving the URI to RoomDB between creating and trying to read from it. My custom URI TypeConverter for RoomDB was calling uri.path to convert it to a string, but the path attribute cuts off the URI scheme (thanks to @CommonsWare for pointing this out in the comments). After changing my TypeConverter to use uri.toString(), when I retrieve the value from RoomDB I get the complete URI including the content:// prefix indicating the scheme. From there, it's simple to create a bitmap from the retrieved uri using ImageDecoder and ContentResolver:

val bitmapSource = ImageDecoder.createSource(contentResolver, uriFromDb)
val bitmap = ImageDecoder.decodeBitmap(bitmapSource)
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @CommonsWare
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: theasianpianist

79572486

Date: 2025-04-14 06:37:10
Score: 1
Natty:
Report link

I had this issue only when working with Docker and Nestjs, above solutions didn't worked. This one eventually helped:

in package.json:

"pnpm": {
    "onlyBuiltDependencies": ["bcrypt"]
},

in Dockerfile:

RUN pnpm install
RUN pnpm rebuild bcrypt
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Michał Cesarczyk

79572481

Date: 2025-04-14 06:35:09
Score: 5
Natty: 4.5
Report link

Add exception for those urls in Avast :

https://repo.packagist.org/\*

https://api.github.com/\*

https://getcomposer.org/\*

https://packagist.org/\*

https://raw.githubusercontent.com/\*

https://codeload.github.com/\*

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

79572480

Date: 2025-04-14 06:33:09
Score: 1.5
Natty:
Report link

This question only comes up if multiplications and divisions are to be "optimised" by shifts. Since decades, this is done by the compiler, and never performance relevant; just obfuscates the program.

So if a number shall be divided by 8, the proper type should be used and the division written. If a certain number of bits has to be moved right, use an unsigned integer; the high order bits are irrelevant in this case.

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

79572478

Date: 2025-04-14 06:32:08
Score: 1.5
Natty:
Report link

Thanks to F. Hauri - Give Up GitHub comment above I just had to remove -tt

What -tt does:

Force pseudo-tty allocation. This can be used to execute arbitrary screen-based programs on a remote machine, which can be very useful, e.g. when implementing menu services.

Multiple -t options force tty allocation, even if ssh has no local tty.

Reference

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

79572472

Date: 2025-04-14 06:30:07
Score: 4
Natty:
Report link

flood, flood, flood, flood, flood, flood, flood, flood, flood, flood

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

79572471

Date: 2025-04-14 06:30:07
Score: 1
Natty:
Report link

Add androidXBrowser = "1.8.0" in the android/build.gradle file under ext block

ext {
        ...
        androidXBrowser = "1.8.0"
    }
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ali Abbas

79572461

Date: 2025-04-14 06:23:05
Score: 0.5
Natty:
Report link

Try working with this -- it handles all data types and uses recursion to go arbitrarily deep into complex JS object structures. I got tired of looking for something which wasn't either a bloated library or too simple to deploy easily. Wanted to guard against folks poking holes in my SQL (I do use parameterization, but...), logging, server code, whatever. You can easily change the regexes, etc. to fit your needs. Just wrote it this afternoon, so would appreciate feedback if there are things I overlooked.

function sanitizeVar(jsVar, options = {}) {

    const type = typeofComplete(jsVar)

    if (type == 'object') 
        Object.keys(jsVar).forEach(key => { jsVar[key] = sanitizeElement(jsVar[key])})

    else if (type == 'array')
        for (let idx = 0; idx < jsVar.length; idx++) { jsVar[idx] = sanitizeElement(jsVar[idx]) }

    else // string, boolean, number, bigint, null, undefined, function, symbol
        jsVar = sanitizeElement(jsVar) 

    return jsVar // return mutated value -- end of main function

    /*
        helper functions -- keep in this scope
    */
    function typeofComplete(jsVar) { // what the native JS typeof should do...

        return jsVar == null ? 'null' : Array.isArray(jsVar) ? 'array' : typeof jsVar
    }

    function sanitizeElement(val) {

        const type = typeofComplete(val)

        if (type == 'string') return sanitizeString(val)

        // return back up to sanitizeVar(); will likely recurse back here...
        else if (['object', 'array'].includes(type)) return sanitizeVar(val) 

        else if (['boolean', 'number', 'bigint', 'null', 'undefined'].includes(type)) 
            return val // these are safe as they are

        else if (['function', 'symbol'].includes(type)) return null // never in a client request
    }

    function sanitizeString(str) { // sanitizing crux; add regex and options as needed

        // DIAG to make sure it's working:  str = str.replace(/\d/g, 'X')

        return str.replace(/[^\x00-\x7F]/g, '')                 // remove non-ASCII chars
            .replace(/[\\|`"';<>]/g, '')                        // remove \ | ` " ' ; < >
            .substring(0, options.max_str_length || undefined)  // undefined => no limit
    }
}

I know the question is super-old, but I ran across it before I gave up looking for a more robust light-weight solution. Another idea is to pass regex(es) in as part of options object arg.

Reasons:
  • Blacklisted phrase (1.5): would appreciate
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: monist

79572459

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

In addition to @fepegar answer - you probably don't want to save the images as .jpg format, since .jpg is a lossy-compression type, which means it losses important information. You should save the images to a lossless compression file types, such as .pgm for a single channel image, .png for 3 channels image, or .tiff (using python's package tifffile) for any other number of channels - which is probably what you'd want in this case.

pip install tifffile

import tifffile as tiff
tiff.imwrite(file_path, image, dtype=np.float32)  # Save the image as a TIFF file as FP32
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @fepegar
  • Low reputation (1):
Posted by: Call Saul

79572458

Date: 2025-04-14 06:22:05
Score: 3
Natty:
Report link

I am going to share how did it help me. I also have spent two days just to find it was a small issue.

I have updated the profile name to the user name which was showing under git config ls (only username before @).

code pushed successfully.

Reasons:
  • Blacklisted phrase (1): help me
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Poonam Jha

79572452

Date: 2025-04-14 06:17:03
Score: 0.5
Natty:
Report link

AFAIK, you cannot simulate a cancellation in Simulators. However, it's possible on a real device with a sanbox account. These steps are:

  1. Create a sanbox account in AppStoreConnect
  2. On your real device, login to this account by

Settings -> AppStore -> SANDBOX ACCOUNT

  1. When logged in, you're able to manage the account's subscription. i.e. purchase a transaction outside the app or cancel a subscription.

enter image description here

enter image description here

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

79572442

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

Ambulance service simulation is a critical tool used to enhance the efficiency and effectiveness of emergency medical services. In a fast-paced and densely populated city like Mumbai, simulation plays a vital role in preparing ambulance teams for real-life scenarios. By using advanced technology and training modules, Ambulance Service in Mumbai can simulate emergencies such as accidents, cardiac arrests, or mass casualty incidents to train staff in quick decision-making, patient care, and route optimization.

These simulations help identify potential challenges, test response times, and improve coordination between ambulance drivers, paramedics, and hospitals. As a result, they significantly enhance the overall quality and reliability of emergency care services in the city. With Mumbai’s complex traffic and varied infrastructure, simulation ensures that the ambulance services are well-prepared to save lives efficiently and swiftly.

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

79572441

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

If you can drop a code snippet, it'll be easier to see what's happening and help.

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

79572419

Date: 2025-04-14 05:58:57
Score: 0.5
Natty:
Report link

Complement based on @Saad Malik's answer,

Conclusion:

  1. Golang will load the CA certificate file and all certificates under the CA certificate directories as it's root CA certificates.
  2. The CA certificate file and directories have default values shown in below code snippets.
  3. CA certificate file can be overridden with environment variable SSL_CERT_FILE (the customized CA certificate file path)
  4. CA certificate directories can be overridden with system environment variable SSL_CERT_DIR (colon separated list of directories)

Source path: https://golang.org/src/crypto/x509/root_linux.go.

var certFiles = []string{

    "/etc/ssl/certs/ca-certificates.crt",                // Debian/Ubuntu/Gentoo etc.

    "/etc/pki/tls/certs/ca-bundle.crt",                  // Fedora/RHEL 6

    "/etc/ssl/ca-bundle.pem",                            // OpenSUSE

    "/etc/pki/tls/cacert.pem",                           // OpenELEC

    "/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem", // CentOS/RHEL 7

    "/etc/ssl/cert.pem",                                 // Alpine Linux

}


// Possible directories with certificate files; all will be read.

var certDirectories = []string{

    "/etc/ssl/certs",     // SLES10/SLES11, https://golang.org/issue/12139

    "/etc/pki/tls/certs", // Fedora/RHEL

}

Source Path: https://golang.org/src/crypto/x509/root_unix.go.

    // certFileEnv is the environment variable which identifies where to locate

    // the SSL certificate file. If set this overrides the system default.

    certFileEnv = "SSL_CERT_FILE"


    // certDirEnv is the environment variable which identifies which directory

    // to check for SSL certificate files. If set this overrides the system default.

    // It is a colon separated list of directories.

    // See https://www.openssl.org/docs/man1.0.2/man1/c_rehash.html.

    certDirEnv = "SSL_CERT_DIR"
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Saad
  • Low reputation (1):
Posted by: Guilin Liang

79572418

Date: 2025-04-14 05:57:56
Score: 9 🚩
Natty: 6
Report link

Facing this exact situation, did someone find the answer?

Reasons:
  • RegEx Blacklisted phrase (3): did someone find the answer
  • 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: user30264386

79572409

Date: 2025-04-14 05:52:55
Score: 2
Natty:
Report link

I found for Tomcat on Windows, the following worked.

If the Tomcat AppServer is configured as a Windows Service, you need to run the tomcatw.exe command and then enter the values in the fields as per below:

enter image description here

Restart Tomcat and check the Catalina log. You should see something like this:

enter image description here

If the Tomcat AppServer is NOT configured as a Windows Service, you need to create file setenv.bat in the Tomcat bin folder and add the following entries:

set JAVA_OPTS=%JAVA_OPTS% -Dfile.encoding=UTF-8 -server -Xms512m -Xmx2g -Xss4m

You should see something like this in the catalina.log

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ZoranI

79572407

Date: 2025-04-14 05:50:53
Score: 8 🚩
Natty: 5.5
Report link

I am having the same issue/error.

is the above answer works ?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having the same issue
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30264332

79572406

Date: 2025-04-14 05:49:53
Score: 3.5
Natty:
Report link

Please check your python version. it should be 3.9+

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

79572401

Date: 2025-04-14 05:45:52
Score: 1.5
Natty:
Report link

The following two commands (to restart Windows NAT driver) successfully get rid of this error.

  1. net stop winnat
  2. net start winnat

And whala, it is now working, again.

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

79572397

Date: 2025-04-14 05:41:50
Score: 0.5
Natty:
Report link

I also made a try : https://framagit.org/FBibonne/poc-java/-/tree/iso8859?ref_type=heads : this litle project tries to reproduce your context with the class ConfigRestClient which provides RestClients to retrieve Product entites (simplified version of your )

Then I made tests mocking a server which serves xml encoding with ISO-8859-1 : https://framagit.org/FBibonne/poc-java/-/blob/iso8859/src/test/java/poc/java/springrestclient/ConfigRestClientTest.java?ref_type=heads : each test configures a mock server to return xml, gets a ResClient from ConfigRestClient and calls retrieve with the RestClient as your method getStuff() does.

The different tests try to explain the problem and suggest a fix :

If you introduced such a RestClient in your application, you would only use it for the problematic endpoint thanks to @Qualifier adn/or @Primary.

I don't think the problem resides in Spring RestClient : in fact, it seems impossible to set up externally the encoding used by Jaxb unmarshalling : see Override declared encoding during unmarshalling with JAXB : the suggested solution is to process byte decoding outside jaxb to control encoding. I neither found in Jaxb a way to do it : jakarta.xml.bind.helpers.AbstractUnmarshallerImpl#setProperty does not support any property set (raise exceptions)

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Whitelisted phrase (-1): solution is
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Qualifier
  • User mentioned (0): @Primary
  • Low reputation (0.5):
Posted by: FBibonne

79572396

Date: 2025-04-14 05:40:50
Score: 2
Natty:
Report link

1 from random import *

2 import os

3 u_pwd =input("Enter a possword: ")

4 pwd=['a' , 'b' , 'c' , 'd' , 'e' ,'f' , 'g' , 'h' , 'i' , 'j' , '1' , '2' , '3' , '4' , '5' , '6']

5

6 pu=''

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

79572391

Date: 2025-04-14 05:30:47
Score: 0.5
Natty:
Report link

On click of your button you get the following errors in the console The invalid form control with name=‘building_budget’ is not focusable. The invalid form control with name=‘drainage_budget’ is not focusable.

The thing that is happening is that the input fields with building_budget and drainage_budget are required, but they have display: none.

To fix this either make them optional or show the fields. After that your submit should be working fine. Make sure to check the url that it is submitting to, as currently you dont seem to have escaped the <?php tag, leading to getting a post url that is different from the one you desire. If you are unsure of how to check these things, look up a guide on how to use the chrome/firefox (or any other browser youre using) inspector tools and console

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

79572387

Date: 2025-04-14 05:23:46
Score: 0.5
Natty:
Report link

An explaination of PrintWindowW

Right After this line in your code

compatible_dc.BitBlt((0, 0), (width, height), dc_object, (0, 0), win32con.SRCCOPY)

add

 ctypes.windll.user32.PrintWindow(hwnd, compatible_dc.GetSafeHdc(), 2)

instead of win32gui.GetClientRect(hwnd), use win32gui.GetWindowRect(hwnd)

This will cleanup the image that you are converting to a numpy array for OpenCV. As far as the offset, you're going to end up with a boarder around the window itself because of shadowing around the window that is actually part of the window as you can see there isn't any spacing along the top of the images below.

Before: Before

And after enter image description here

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

79572386

Date: 2025-04-14 05:21:45
Score: 2.5
Natty:
Report link

Bigtable now supports SQL GROUP BY with aggregation functions SUM, AVG, COUNT, MIN, MAX, HLL_COUNT.MERGE... and Continuous Materialized Views to calculate aggregations incrementally into materialized views.

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

79572385

Date: 2025-04-14 05:21:45
Score: 2.5
Natty:
Report link

This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free.

Got a question about the site itself? meta is the place to talk about things like what questions are appropriate, what tags we should use, etc.

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

79572384

Date: 2025-04-14 05:20:45
Score: 2
Natty:
Report link
  1. Download the google-services.json file from Firebase.

  2. Close Android Studio.

  3. Restart your system.

  4. Open Android Studio.

  5. Copy and paste the google-services.json file to the following location:
    [Project Name]/android/app/google-services.json.

  6. Rebuild the project.

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

79572383

Date: 2025-04-14 05:19:45
Score: 3.5
Natty:
Report link

I got to realise that there were typos in my assembly code that was causing the tests to not compile. Thanks for the help.

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

79572378

Date: 2025-04-14 05:15:43
Score: 3.5
Natty:
Report link

check if there are any locks on the resource group of the app service. if there is delete it.

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

79572374

Date: 2025-04-14 05:06:41
Score: 1
Natty:
Report link

Make sure you escape all the $ that are part of the output document that aren't a variable. To escape / quote them you double up the $ so, $$

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: Arran Ubels

79572355

Date: 2025-04-14 04:41:36
Score: 1
Natty:
Report link

This document outlines the procedure for downgrading the Flutter plugin in Android Studio from version 85.0.4 to 85.0.3, including the configuration steps to prevent automatic updates.


✅ Step 1: Download the Target Plugin Version

  1. Navigate to the official JetBrains Plugin Repository.

  2. Locate version 85.0.3 of the Flutter plugin.

  3. Click Download to obtain the .zip archive of the plugin.


✅ Step 2: Install the Plugin from Disk

Follow the official JetBrains procedure to manually install the downloaded plugin:

  1. Open Android Studio.

  2. Press Ctrl + Alt + S (Windows/Linux)
    or go to:
    FileSettings (or Android StudioPreferences on macOS).

  3. In the Settings window, select Plugins.

  4. Click the ⚙️ gear icon in the top-right corner.

  5. Select Install Plugin from Disk….

  6. Locate and select the downloaded .zip file (e.g., flutter-intellij-85.0.3.zip) and click OK.

  7. Click OK to apply the changes.

  8. Restart Android Studio when prompted.

ℹ️ This is the official method provided by JetBrains for manual plugin installation.

Reference here: https://github.com/flutter/flutter-intellij/issues/8051

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

79572351

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

This also works and skips the view creation

SELECT * INTO [REMOTEDB].[SCHEMA].[NEW_TABLE]
FROM OPENQUERY([REMOTESERVER],'SELECT * FROM [REMOTEDB].[SCHEMA].[TARGET_TABLE]');
GO
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Geoffrey McDonald

79572345

Date: 2025-04-14 04:33:34
Score: 1
Natty:
Report link

java-sqs-listener a lightweight, dependency-free library was developed for exactly, with a design that supports seamless future upgrades. Refer to java-sqs-listener-springboot-example for a demonstration of how to integrate the java-sqs-listener library within a Spring Boot application.

Disclaimer: I’m the author.

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

79572327

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

I would start by making sure that API.cs and program.cs are part of different projects. The way I open projects is I pin Visual Studio to the taskbar (you should pin both of your versions). Once you've opened the correct project right right-click on that version of Visual Studio in the taskbar and pin the project to the recent files list. Then all you have to do going forward is right-click on the appropriate version of Visual Studio and left-click on the desired project.

enter image description here

If you want to make your two versions of Visual Studio look vastly different you can customized their icons:
enter image description here

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

79572322

Date: 2025-04-14 03:57:25
Score: 4.5
Natty: 5
Report link

I am finding the above filter function prevents the cart from having shipping added for Express checkout type payment methods including Apple Pay. Has anyone else experienced this?

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

79572315

Date: 2025-04-14 03:46:22
Score: 10
Natty: 7
Report link

I am also facing same issue with intelliJ. Please let me know for evaulate Java8 Stream in IntelliJ?

Reasons:
  • RegEx Blacklisted phrase (2.5): Please let me know
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am also facing same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Haribabu

79572296

Date: 2025-04-14 03:24:16
Score: 2.5
Natty:
Report link

Fewest steps:

Step 1 - Select count(*)/2 as Limit1 from table1

Step 2 select variable1 from table1 order by variable limit Limit1

No brainer way to do it unless you have a truly large dataset or incredibly slow computing infrastructure.

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

79572295

Date: 2025-04-14 03:20:15
Score: 1.5
Natty:
Report link

I finally found the answer to new arch library in React Native. Please follow the link for more information.

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

79572283

Date: 2025-04-14 03:08:12
Score: 2.5
Natty:
Report link

I saw a post that help me to solve that problem,
Cucumber project build success but console Test run 0, Test skip 0

Basically, he did the next thing:

  <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-surefire-plugin</artifactId>
    <version>3.0.0-M5</version>
    <dependencies>
      <dependency>
        <groupId>org.apache.maven.surefire</groupId>
        <artifactId>surefire-junit47</artifactId>
        <version>3.0.0-M5</version>
      </dependency>
    </dependencies>
  </plugin>
Reasons:
  • Blacklisted phrase (1): help me
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Diego-Santiago

79572278

Date: 2025-04-14 02:57:10
Score: 1.5
Natty:
Report link

This is an old thread, but this is what I use to go back:

REF1 = Request.ServerVariables("HTTP_REFERER")
    
RESPONSE.REDIRECT REF1
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Penguin

79572275

Date: 2025-04-14 02:54:09
Score: 3.5
Natty:
Report link

I recommend the book "Grokking Machine Learning" - everything is described there perfectly.
My repository for this book: https://github.com/cr00z/PythonMLBackup/tree/main/grokking_dl

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

79572274

Date: 2025-04-14 02:54:09
Score: 1
Natty:
Report link

Refer System.Text.Json.JsonSerializer instead of newton soft json serializer... Sorry Dinesh I had to repeat your answer as I couldn't upvote... But I tested it and it worked like a charm

class OTPData{ public string OTP {get;set} ....... }

var result = System.Text.Json.JsonSerializer.Deserialize<OTPData> 
(response.ToString());

string otp = result.OTP;
string username = result.UserName;
string type = result.type;
Reasons:
  • Blacklisted phrase (0.5): upvote
  • Blacklisted phrase (1): worked like a charm
  • Whitelisted phrase (-1): it worked
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kaustav Das

79572273

Date: 2025-04-14 02:54:09
Score: 1.5
Natty:
Report link

The async pipe unsubscribes automatically.

So do Signals and Effects.

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

79572272

Date: 2025-04-14 02:52:08
Score: 2
Natty:
Report link

Pandas 3.0 rolling will add support to first and last natively. However, as of writing of this answer this is still in dev branch:

https://pandas.pydata.org/docs/dev/reference/api/pandas.core.window.rolling.Rolling.last.html#pandas.core.window.rolling.Rolling.last

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

79572270

Date: 2025-04-14 02:41:07
Score: 2
Natty:
Report link

I asked copilot itself about an API interface to send prompts and get responses and it said it doesn't support that as it's intended for integration into IDEs. It also said "If you're looking for programmatic access to AI-powered code generation, you might want to explore OpenAI's GPT APIs or similar services, which are specifically designed for such use cases."

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

79572268

Date: 2025-04-14 02:37:06
Score: 0.5
Natty:
Report link

Compression comes in two flavors: lossy, and lossless. Lossy compression can take file sizes down significantly, but some data will be lost (hence the name). Lossless compression on the other hand keeps all original data intact, but usually can't take file sizes down as much.

Due to the nature of SVGs being vector-based[^1] XML-defined[^2] graphics, unless you manually optimize them you can't get much better compression than removing the whitespace and comments in the files (if any).

If you want to maintain acceptable visual quality and are ok with them being quite small, you can rasterize them into a PNG, for example. Online tools such as CloudConvert or command-line tools such as ImageMagick can help you with this.

tl;dr: unless you need to use SVGs, convert them into tiny raster graphics.


[^1]: i.e. the image is defined as a series of curves and shapes instead of pixels. This generally results in less information per image ∴ smaller file sizes.

[^2]: i.e. it's written in plaintext, which can't be compressed without overhead.

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

79572262

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

If you're asking what the default window color is, then its #F0F0F0

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

79572260

Date: 2025-04-14 02:07:59
Score: 3.5
Natty:
Report link

You are my hero. I just wanted you to know that this snippet works perfectly for me and is exactly what I needed. :)

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Laura Webster Lola

79572257

Date: 2025-04-14 02:05:59
Score: 2
Natty:
Report link

I encountered the same issue. I disabled the antivirus and restarted my Windows PC. After that, I was able to log in successfully using Chrome. There was no need to install any additional browser

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

79572254

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

This issue can be resolved by setting the following code
viewer.scene.logarithmicDepthBuffer = false;
This is the reference link

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

79572251

Date: 2025-04-14 01:52:56
Score: 2.5
Natty:
Report link

I was succeed!

In conclusion, this was done!

I tried again, noting that it might be interpreted as a non-member status. When selecting an account on the OAuth authorization screen, I had chosen the account with my email address, but instead of doing so, I chose my YouTube channel account created with the same email address. I did that and got a response without 403 forbidden.

Thanks.

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

79572248

Date: 2025-04-14 01:51:55
Score: 1
Natty:
Report link

So I just spent hours trying to figure this out... I was working with device emulation turned on in the dev console. The device I was using was even configured as desktop non-touch device. I was working on Edge, I will assume Chrome will behave the same way.

IF DEVICE EMULATION IS TURNED ON DRAGOVER EVENT WONT FIRE AND CURSOR WILL BE MARKED AS BLOCKED!

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

79572242

Date: 2025-04-14 01:44:53
Score: 1
Natty:
Report link

Fixed, for some reason the ios project was setup in "Release mode". I did the change in Xcode -> edit schemes enter image description here

Then In Run Section, The build configuration was in "release", did the change to "Debug". Close xcode enter image description here then in vscode, run again: npm start npm run ios After that, the app runs well again and able to send logs to debugger. And if someone don't know, I wasn't able to see the logs inmmediately, as I read before in some posts around internet about RN >= 0.77, it is necessary to have some third-party debugger, but i wanted to put it simple, just downloaded Chrome browser first, and then run the npm commands. In simulator, once the app is launched, press "j" key, to see the option "open dev tools", with that the chrome dev tools will open and you'll see the logs. I were about 4 days with this trouble,I hope these details can help others

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

79572241

Date: 2025-04-14 01:42:53
Score: 0.5
Natty:
Report link

You should enable "Depth Test".

So all you have to do is just to add one line.

viewer.scene.globe.depthTestAgainstTerrain = true;

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

79572238

Date: 2025-04-14 01:32:50
Score: 3.5
Natty:
Report link

I found out.. https://github.com/pallets-eco/cachelib/blob/9a4de4df1bce035d27c93a34608a8af4413d5b59/src/cachelib/file.py#L50 because of __wz_cache_count

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

79572235

Date: 2025-04-14 01:27:48
Score: 5
Natty: 4
Report link

You can try using onlyoffice(https://api.onlyoffice.com/docs/docs-api/get-started/frontend-frameworks/vue/)

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

79572230

Date: 2025-04-14 01:19:46
Score: 3
Natty:
Report link

Remove the aria-hidden="true" from the modal div. Line #68 of your index.html file.

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

79572219

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

Yeah you can ignore it It worked for me. i got this on tensor flow app.

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

79572210

Date: 2025-04-14 00:47:38
Score: 3
Natty:
Report link

I received this error today. In my case, the ssh agent service was not running. After enabling, I was able to clone a repo with SSH.

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

79572204

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

Breaking @poke answer into some basic pieces for additional clarity:

current_frame = inspect.currentframe()
parent_frame = inspect.getouterframes(current_frame)[1].frame
parent_function_name = parent_frame.f_code.co_name
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @poke
  • Low reputation (0.5):
Posted by: DocOc

79572202

Date: 2025-04-14 00:35:36
Score: 0.5
Natty:
Report link

Facing similar SSL failure. exceptions with Docker python:3.13-alpine
and rabbitmq-amqp-python-client library.
Apparently, while building proton package, it rely on pkgconf / pkg-config.
So after adding packages, proton.SSL.present() again works

apk add --no-cache build-base pkgconf openssl openssl-dev
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sergey Motyrev

79572196

Date: 2025-04-14 00:24:33
Score: 2.5
Natty:
Report link

Bonjour à chaque fois que j'essaie d'utiliser swiper avec react js ça ne fonctionne pas. Est ce que quelqu'un a une idée "swiper": "^11.2.6" Merci d'avance

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