79509793

Date: 2025-03-14 17:17:02
Score: 2
Natty:
Report link

I'd fought with all kind of workarounds on tracking changes in my shared/online excel files and I'd ended up creating an app for that:
https://TrackChanges.app/

It can track changes in shared/online Excel or Google Spreadsheets and you can get email, Slack or Teams notifications with the actual changes.

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

79509782

Date: 2025-03-14 17:13:01
Score: 0.5
Natty:
Report link

Application.DateDifference will always return 0 if the first date passed in is later than the second date passed in.

Add a check to make sure you put the earlier date as the first argument.

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

79509764

Date: 2025-03-14 17:05:59
Score: 4
Natty:
Report link

may be you need docker? ew, maybe. i just cant exactly know what is S3 bucket

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Karesis

79509750

Date: 2025-03-14 17:00:58
Score: 3.5
Natty:
Report link

I think the original issue is that you're trying to mount to /dev. If you look at the gcsfuse docs, it says /dev is a restricted mount path.

The way you solved this was by adding gcsfuse inside your container, however, the docs also say you don't need to modify your container in any way to use the feature.

Having you tried changing the mount path and using your original image?

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

79509748

Date: 2025-03-14 16:58:57
Score: 7 🚩
Natty:
Report link

I'm trying to use the Secure PDF plugin in Moodle 4.5 on a local Apache server. I've made all the changes mentioned for the ImageMagick theme, but it still doesn't work. Any suggestions?

Change policy.xml as follows:

<policymap>
 <policy domain="delegate" rights="read|write" pattern="gs" />
     <policy domain="coder" rights="read|write" pattern="PDF" />
     <policy domain="delegate" rights="read|write" pattern="gswin64c" />
</policymap>

But when I upload a document to Moodle, it throws the following error:

ImagickException: FailedToExecuteCommand "gs" -sstdout=%stderr-dQUIET-DSAFER-DBATCH-DNOPAUSE-DNOPROMPT-dMaxBitmap=500000000-dAlign ToPixels=0-dGridFitTT=2"-SDEVICE=pngalpha" -dTextAlphaBits=4-dGraphicsAlphaBits=4 "-r150x150"-dPrinted=false*-sOutputFile=C:/Users/INNOVA~1/AppData/Local/Temp/magick-6Mjg7ywlThqzo3HGDLdGq0_2TmNV8ERx%d" "-fC:/Users/...AppData/Local/Temp/magick-K-JKeJ5TTiNf90cEz5-Kq0SwYdHxKxXx" "-fC:/Users/.../AppData/Local/Temp/magick-gyUWDIH8th4X3P540qJayx5JgNDVKrS-" (El sistema no puede encontrar el archivo especificado.)

@error/delegate.c/ExternalDelegateCommand/516 in

C:\Users\...\server\moodle\mod\securepdf\view.php:98 Stack trace: #0

C:\Users\...\server\moodle\mod\securepdf\view.php(98): Imagick->readImageBlob('%PDF-1.7\r\n%\x35\x35\x35\xB5...) #1 (main)

I appreciate any help you can give me.

Reasons:
  • Blacklisted phrase (1): any help
  • RegEx Blacklisted phrase (2): Any suggestions?
  • RegEx Blacklisted phrase (2): it still doesn't work
  • RegEx Blacklisted phrase (2): encontrar
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: jhonatan

79509745

Date: 2025-03-14 16:57:56
Score: 1.5
Natty:
Report link

I would recommend looking into using CSOM to query the Project Online database rather than the HttpClient. It's a NuGet package you can add to your project.

Check out that link and the surrounding topics.

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

79509743

Date: 2025-03-14 16:56:56
Score: 1
Natty:
Report link

Adding the follwing layer after inputs solves the issue by force reshaping inputs, as suggested in the comments:

class ReshapeLayer(keras.layers.Layer):
    def __init__(self, **kwargs):
        super(ReshapeLayer, self).__init__(**kwargs)

    def build(self):
        pass

    def call(self, inputs):
        return tf.expand_dims(inputs, axis=-1)
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: The_Docc

79509740

Date: 2025-03-14 16:53:55
Score: 1
Natty:
Report link
Between calls to avformat_alloc_output_context2() and avcodec_find_encoder() I think you need to call:

avio_open2(&formatContext->pb, url, AVIO_FLAG_WRITE, NULL, NULL);

Otherwise pb is NULL when the AVFormatContext trys to write the data.
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Starman2049

79509739

Date: 2025-03-14 16:52:55
Score: 5.5
Natty: 6
Report link

After go to PSS the behavior (performance) is similar to 4.X?

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

79509735

Date: 2025-03-14 16:51:54
Score: 0.5
Natty:
Report link

The easiest way is to copy the code Termly provides and loadit as HTML:

export default function Terms() {
    const termlyPolicy = `
        // PASTE HERE THE CODE FROM TERMLY
    `;

    return  <div className="p-6" dangerouslySetInnerHTML={{ __html: termlyPolicy }} />
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: miguelaeh

79509726

Date: 2025-03-14 16:49:54
Score: 0.5
Natty:
Report link

I was need generate new code by changed .proto

After several attempts I realized that I don't need the plugin. And in order to update classes according to the .proto, I run "quarkusBuild" task.

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

79509725

Date: 2025-03-14 16:48:54
Score: 0.5
Natty:
Report link

In my case, I was trying to connect to a "3rd party" database that didn't exist. Example,

$foodb = Database::getConnection( 'default', 'foo' ) ;

where the foo database was not configured it settings.php.

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

79509724

Date: 2025-03-14 16:48:54
Score: 1.5
Natty:
Report link

I found this clean approach :

 try (Timeout t = Timeout.after(5, TimeUnit.SECONDS)) {
     doSomething();
// this thread will self-interrupt if it doesn't reach this line within 5 seconds
 } catch (InterruptedException e) {
 // thread timed out or was otherwise interrupted
 }

source : https://docs.oracle.com/middleware/1221/coherence/java-reference/com/oracle/common/base/Timeout.html

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

79509720

Date: 2025-03-14 16:47:53
Score: 1
Natty:
Report link

Would highly recommend if possible to just use generic resources like "Electrician" and "Mechanic" in the resource sheet rather than individual names of people for your resources.

It's way more of a pain in the butt to manage when one of your named resources leaves the company, gets promoted to a different role, goes on parental leave, etc.

I would also recommend setting the calendar of all of these generic resources to your standard company calendar with holidays, the same as your project.

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

79509716

Date: 2025-03-14 16:44:53
Score: 1
Natty:
Report link

In java, the import statements themselves do not load anything into memory. They are just references to classes or packages that the Java compiler and the JVM will use to resolve class names. The actual loading of classes happens during runtime when those classes are needed

In python, when you import a module, the entire module is loaded into memory at runtime. This means that even if you import a module but never actually use it, Python will still load the module into memory, which includes all definitions, functions, and objects in that module.

In terms of memory efficiency, this does make Python less efficient in this specific context, because Python will allocate memory for entire modules that might not even be needed.

About your last question Python will still load all 3 packages into memory, whereas Java will only load the package that you actually use.

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

79509710

Date: 2025-03-14 16:43:52
Score: 2.5
Natty:
Report link

I have done extensive work on Virtual earth around 2007-09. According to code provide by you have read it, in second line from last line of code you have mentioned .setRotation(45). Try it by .setRotation(90). It may works.

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

79509690

Date: 2025-03-14 16:35:51
Score: 1.5
Natty:
Report link

On Windows, I had to press Ctrl+c first and then do the standard Vim editor actions like i to enter into insert mode and then Escape+ :wq to close the editor.

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

79509689

Date: 2025-03-14 16:35:51
Score: 1
Natty:
Report link

I just implemented a solution similar to this:

import sys

stdin_str: str = None
has_stdin: bool = False
if not sys.stdin.isatty():
    stdin_str = "".join(sys.stdin)[:-1]
    has_stdin = True
    sys.stdin = open("/dev/tty", "r")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Aaron Brockmeyer

79509688

Date: 2025-03-14 16:35:50
Score: 8.5 🚩
Natty:
Report link

b15 Did you find a solution to this. I am facing exactly the same issue while running a spark job in GCP dataproc.

Reasons:
  • RegEx Blacklisted phrase (3): Did you find a solution to this
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am facing exactly the same issue
  • Single line (0.5):
  • Starts with a question (0.5): Did you find a solution to this
  • Low reputation (0.5):
Posted by: Emilia

79509686

Date: 2025-03-14 16:34:50
Score: 2
Natty:
Report link

In my case I was proxying a call with all the headers, which container "host" and it resulted in 403.
Removing all the unplanned headers solved the issue.
AWS is so unintuitive in those API GW errors.

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

79509685

Date: 2025-03-14 16:34:50
Score: 0.5
Natty:
Report link

The scantxoutset RPC method is stable and can be used in production. The "EXPERIMENTAL" warning in the documentation appears to be outdated.

According to this merged PR in Bitcoin Core, the warning was supposed to be removed after a Bitcoin Core developer meeting in 2021. The PR states:

Remove old warning per IRC wallet meeting discussion at this log
This RPC was merged 3 years ago in #12196.

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

79509680

Date: 2025-03-14 16:31:43
Score: 15.5 🚩
Natty: 6.5
Report link

I’m facing the exact same issue as you. Did you manage to find a fix or a workaround? Any help would be appreciated!

Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): Any help
  • RegEx Blacklisted phrase (3): Did you manage to find a fix
  • RegEx Blacklisted phrase (1.5): fix or a workaround?
  • RegEx Blacklisted phrase (3): Any help would be appreciated
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): facing the exact same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: swekast projects

79509679

Date: 2025-03-14 16:31:42
Score: 6.5 🚩
Natty: 6.5
Report link

broooo como lo solucionaste? es muy confuso para mi

Reasons:
  • Blacklisted phrase (2.5): solucion
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: MARVIN FERNANDO VALVERDE SIRLU

79509677

Date: 2025-03-14 16:30:42
Score: 1.5
Natty:
Report link

By default the this code in the Form only shows the people I often work with.

Choices([@'List'].'PeoplePicker')

I want to show only users filtered by Office Location dropdown.
If been trying for days creating collections and variables, using our AI or online AI's. None of there solutions are working.
In some case I could make it work but the it was a struggle to Patch it together with the Submit. The display in the Form was not refreshed. I gave up. Why do they make it so complex!!!

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Els Croux

79509673

Date: 2025-03-14 16:29:41
Score: 0.5
Natty:
Report link

As of Explicit Resource Management introduced in TypeScript 5.2, with the power of DisposableStack and AsyncDisposableStack. You can use defer like this.

function example() {
  using cleanup = new DisposableStack();
  cleanup.defer(() => console.log('defer'));
  console.log('do some work');
}
example();
Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Yang Gao

79509669

Date: 2025-03-14 16:29:41
Score: 4
Natty: 4
Report link

check if you have duplicate id's (id="review" on more than one of your elements)

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: J Matthew Gaskill

79509657

Date: 2025-03-14 16:24:40
Score: 2
Natty:
Report link

From geoserver documentation:

Note: id is one of a few reserved keywords in ECQL and thus an attribute (or database column) named id must be quoted, e.g. “id”

So use: CQL="id" IN (1,2,3)

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

79509650

Date: 2025-03-14 16:21:39
Score: 0.5
Natty:
Report link
<receiver
            android:name=".SunWidgetProvider"
            android:icon="@mipmap/ic_launcher"
            android:label="@string/app_name"
            android:exported="true">-------change here false to true
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mohamed Rimshad

79509646

Date: 2025-03-14 16:18:38
Score: 5.5
Natty: 4
Report link

Did anyone try using singleton class as global variables in a Flink app ? Accessing the singleton class in all streams and aggregate windows ?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did anyone
  • Low reputation (1):
Posted by: Nilanjan Nath

79509644

Date: 2025-03-14 16:18:38
Score: 2
Natty:
Report link

It is possible to replace Google's User Messaging Platform (UMP) with a third-party Consent Management Platform (CMP), but integration needs to be done carefully in order to remain GDPR compliant and communicate with AdMob smoothly. Here are some references developers.google.com/admob and third-party

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

79509637

Date: 2025-03-14 16:16:38
Score: 0.5
Natty:
Report link

Just define your own handler:

(defun visit-today-file (bookmark)
  "bookmark handler to visit the org file for today"
  (find-file (today-file)))

and use it like

("Today"
  (handler . visit-today-file)
  ;; removed for brevity
)

I also tried using a lambda function, but that crashed the bookmark list.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: René Steetskamp

79509635

Date: 2025-03-14 16:15:37
Score: 4.5
Natty: 4
Report link

Maybe, this explanation can help you.

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

79509616

Date: 2025-03-14 16:08:35
Score: 0.5
Natty:
Report link

Actually, discovered the issue. I was using azure-identity, which currently has an issue with one of it's dependencies, Cryptography. I was able to fix the issue by putting an older version of cryptography (43.0.3) in my requirements.txt

This is the link to the github issue:

https://github.com/Azure/azure-sdk-for-python/issues/38725

In case something happens to the link, here's the answer from one of the cryptography devs explaining what happened:

---------------------------------------------------------------------------
Hi folks, I'm one of the pyca/cryptography developers 😄

This isn't a bug in the pyca/cryptography project. Instead it's a confluence of several factors in the Python and Azure Functions ecosystem interacting in unfortunate ways.

I'm not an Azure user, but Azure Functions appears to have two ways of building Python environments for deployment: local and remote. Remote is recommended for deploying Linux functions because any packages containing native code need to be compatible with the deployment environment and the local host may be a different operating system or even CPU architecture.

However, when you construct an environment on a Linux host and install packages that contain native code and offer precompiled wheels pip will prioritize the highest libc version that's compatible with the underlying distribution of the host. Previously, for glibc-based distributions pyca/cryptography shipped 2.17 (aka manylinux2014) and 2.28 compatible wheels, but with 44 we now ship 2.34 as well.

If the host running the build process (Azure Functions remote build, a GitHub Actions runner, etc) possesses a glibc 2.34 or newer then pip will download the 2.34+ compatible wheel where previously it would have fetched the 2.28+ compatible wheel. This works fine on that host, but when deployed subsequently to Azure Functions the glibc version is older (this comment suggests 2.31), which causes it to fail.

While pinning to 43.0.x is a short term workaround, it is not the correct solution. pyca/cryptography is one of the earlier projects to ship a 2.34 wheel, but usage will only expand in the next year.

Azure has a few possible improvement paths here:

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Filler text (0.5): ---------------------------------------------------------------------------
  • Low reputation (1):
Posted by: Ben Halladay

79509600

Date: 2025-03-14 16:03:33
Score: 0.5
Natty:
Report link

I'm using in Eclipse 2025-03:

Architecture Hexagonal but not reactor multimodule a single module structuring packages and use git branch for different base package of modules (package base as adater port domain service with its subpackages).

With below pom.xml in our project not work:

I don't know the reason.

It's very strange thing this.

Thanks a lot for support.

POM.XML

<?xml version="1.0" encoding="UTF-8"?>
<project    xmlns="http://maven.apache.org/POM/4.0.0"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <!-- Parent project -->
    <parent>
        <groupId>com.xxx</groupId>
        <artifactId>yyyy</artifactId>
        <version>0.0.1</version>
    </parent>
    <!-- Maven project child -->
    <groupId>com.aaa</groupId>
    <artifactId>bbb</artifactId>
    <version>0.0.1</version>
    <name>bbb</name>
    <description>Carpe diem</description>
    <url>/bbb/api/</url>
    <properties>
        <!-- Java source encoding -->
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <!-- Java for reports encoding -->
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

        <java.version>21</java.version>
        <maven.compiler.source>${java.version}</maven.compiler.source>
        <maven.compiler.target>${java.version}</maven.compiler.target>
        <maven.compiler.release>${java.version}</maven.compiler.release>

        <spring.boot.version>3.4.3</spring.boot.version>
        <maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version>

        <!-- To configure Redis -->
        <lettuce-core.version>6.5.4.RELEASE</lettuce-core.version>

        <lombok.version>1.18.36</lombok.version>
        <guava.version>33.4.0-jre</guava.version>
        <de.flapdoodle.embed.mongo.version>4.18.1</de.flapdoodle.embed.mongo.version>

        <!-- Swagger -->
        <springdoc.version>1.8.0</springdoc.version>
        <springdoc.openapi.version>2.8.5</springdoc.openapi.version>

        <!-- Main class -->
        <main.class>com.aaa.bbb.MyApp</main.class>
    </properties>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-dependencies</artifactId>
                <version>${spring.boot.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>
    
    <dependencies>
        <dependency>
            <groupId><groupId>com.xxx</groupId></groupId>
            <artifactId>ddd</artifactId>
            <version>0.0.1</version>
        </dependency>
        <!-- Webflux -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-webflux</artifactId>
            <exclusions>
                <!-- Exclude the Tomcat web server dependency (use jetty for best performance no blocking and multi thread)-->
                <exclusion>
                    <groupId>org.springframework.boot</groupId>
                    <artifactId>spring-boot-starter-tomcat</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <!-- Default Jetty page http://localhost:8080/jetty-demo -->
            <groupId>org.springframework.boot</groupId> 
            <artifactId>spring-boot-starter-jetty</artifactId>
            <scope>provided</scope>
        </dependency>

        <!-- MongoDB Reactive -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-data-mongodb-reactive</artifactId>
        </dependency>

        <dependency>
            <groupId>com.google.code.gson</groupId>
            <artifactId>gson</artifactId>
        </dependency>

        <!-- Redis Reactive -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-data-redis-reactive</artifactId>
        </dependency>
        <!-- Libraries for connection and other left jedis and use lettuce -->
<!-- 
        <dependency>
            <groupId>redis.clients</groupId>
            <artifactId>jedis</artifactId>
            <version>5.2.0</version>
        </dependency>
 -->
        <dependency>
            <groupId>io.lettuce</groupId>
            <artifactId>lettuce-core</artifactId>
            <scope>compile</scope>
        </dependency>

        <dependency>
            <groupId>org.springdoc</groupId> 
            <artifactId>springdoc-openapi-webflux-core</artifactId>
            <version>${springdoc.version}</version>
        </dependency>
        <dependency>
            <groupId>org.springdoc</groupId> 
            <artifactId>springdoc-openapi-webflux-ui</artifactId>
            <version>${springdoc.version}</version>
        </dependency>
        <dependency>
            <groupId>org.springdoc</groupId>
            <artifactId>springdoc-openapi-starter-webflux-api</artifactId>
            <version>${springdoc.openapi.version}</version>
        </dependency>
<!--    Add this dependency if in same cases can't use webflux for example get token of APIM, APIGEE

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
            <exclusions>
                ### Exclude the Tomcat dependency ###
                <exclusion>
                    <groupId>org.springframework.boot</groupId>
                    <artifactId>spring-boot-starter-tomcat</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
 -->

        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
            <optional>true</optional>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <scope>test</scope>
            <exclusions>
                <exclusion>
                    <groupId>org.junit.vintage</groupId>
                    <artifactId>junit-vintage-engine</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>junit</groupId>
                    <artifactId>junit</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <!-- Test -->
        <dependency>
            <groupId>io.projectreactor</groupId>
            <artifactId>reactor-test</artifactId>
            <scope>test</scope>
        </dependency>
<!--    TestContainer allow when application is disconnected from internet
            for system integration by test container for example when we will
            have sonar to verify inconsistent pattern, password not crypted, ...
 -->
        <dependency>
            <groupId>org.testcontainers</groupId>
            <artifactId>testcontainers</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.testcontainers</groupId>
            <artifactId>junit-jupiter</artifactId>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>org.testcontainers</groupId>
            <artifactId>mongodb</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>${maven-compiler-plugin.version}</version>
                <configuration>
                    <annotationProcessorPaths>
                        <path>
                            <groupId>org.projectlombok</groupId>
                            <artifactId>lombok</artifactId>
                            <version>${lombok.version}</version>
                        </path>
                    </annotationProcessorPaths>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <version>${spring.boot.version}</version>
                <configuration>
                    <excludes>
                        <exclude>
                            <groupId>org.projectlombok</groupId>
                            <artifactId>lombok</artifactId>
                        </exclude>
                    </excludes>
                </configuration>
            </plugin>
            <!-- mvn clean package spring-boot:repackage -->
            <plugin>
                <artifactId>maven-assembly-plugin</artifactId>
                <configuration>
                    <archive>
                        <manifest>
                            <mainClass>${main.class}</mainClass>
                        </manifest>
                    </archive>
                    <descriptorRefs>
                        <descriptorRef>jar-with-dependencies</descriptorRef>
                    </descriptorRefs>
                </configuration>
            </plugin>
            <!-- maven-dependency-plugin -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                <executions>
                    <execution>
                        <id>copy-dependencies</id>
                        <phase>package</phase>
                        <goals>
                            <goal>copy-dependencies</goal>
                        </goals>
                        <configuration>
                            <!-- Configure the output directory for thedependencies -->
                            <outputDirectory>${project.build.directory}/libs</outputDirectory>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @RestController
  • User mentioned (0): @Service
  • User mentioned (0): @Repository
  • User mentioned (0): @Super
  • User mentioned (0): @RestController
  • User mentioned (0): @Autowire
  • User mentioned (0): @Value
  • Low reputation (0.5):
Posted by: SkyBlackHawk

79509574

Date: 2025-03-14 15:55:31
Score: 1.5
Natty:
Report link

I opened a ticket with AWS and they still do not support this in 2025. They sent over this comment describing a workaround, "The only workaround available is to configure Google client as an OIDC identity provider in the Cognito user pool [2] and have the initial redirect from the Hosted UI hit an interceptor instead of Google that adds that query parameter before redirecting to Google with the HTTP request. Means, while configuring your Google client as OIDC provider [2] you need to provide the authorization endpoint URL as the URL of an interceptor so that Cognito forwards the request to your interceptor. That interceptor needs to add the 'prompt=select_account' query parameter and need to redirect the end user to Google's authorization endpoint with 'prompt=select_account'."

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

79509573

Date: 2025-03-14 15:55:31
Score: 2
Natty:
Report link

The problem was caused by a download and install of the latest Meerkat Andriod Studio.

Removing this, and installing the older Kiola version fixed the Flutter problem

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

79509568

Date: 2025-03-14 15:53:31
Score: 1.5
Natty:
Report link

One of my coworker had all the plugin, config setups etc., The only thing missing was that POM.xml was not added as a maven project. It worked fine after fixing it by right-clicking pom.xml -> add as maven project in IntelliJ.

Reasons:
  • Whitelisted phrase (-1): It worked
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: bharath marimuthu

79509564

Date: 2025-03-14 15:52:30
Score: 2.5
Natty:
Report link

Maybe a stacked widget like this?

enter image description here

Row(
  mainAxisAlignment: MainAxisAlignment.center,
  crossAxisAlignment: CrossAxisAlignment.end,
  children: [
    Text('this '),
    CaretLetter('7'),
    Text(' is custom'),
  ],
),
class CaretLetter extends StatelessWidget {
  final String s;
  const CaretLetter(this.s, {super.key});

  @override
  Widget build(BuildContext context) {
    return Stack(
      alignment: AlignmentDirectional.topCenter,
      children: [
        Text('\u0302'),
        Padding(padding: const EdgeInsets.fromLTRB(0, 4, 0, 0), child: Text(s)),
      ],
    );
  }
}
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: rodeomacon

79509561

Date: 2025-03-14 15:49:30
Score: 3
Natty:
Report link

Base64 Offers no security, its output can be decoded by anyone.

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

79509556

Date: 2025-03-14 15:48:30
Score: 2
Natty:
Report link

I would initially try to understand how the website actually tracks the fact that cookies are enabled or not. Likely it's just a try to set a pre-defined string to the browser cookie and then it tries to read it. There is still a slim chance that certain dynamic value is used instead of pre-defined string, but it's pretty unlikely IMO.

Here is an exact topic about it: How to detect that JavaScript and/or Cookies are disabled?

Which means that you can initially investigate which cookie name and value is used for it opening a website from a normal user browser.

So then set it manually on the synthetic test setup (exactly as @bwest showed).

It may probably help you to overcome this initial check.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @bwest
  • Low reputation (1):
Posted by: ddemakov

79509553

Date: 2025-03-14 15:47:30
Score: 0.5
Natty:
Report link

You can also use ksh script to feed input files to jmeter. Simple example would be like this

#!/bin/ksh

# Check if folder path is provided
if [ -z "$1" ]; then
    echo "Usage: $0 <folder_path>"
    exit 1
fi

FOLDER_PATH="$1"

# Check if the provided argument is a valid directory
if [ ! -d "$FOLDER_PATH" ]; then
    echo "Error: Directory '$FOLDER_PATH' not found."
    exit 1
fi

# Iterate over .txt files in the folder
for file in "$FOLDER_PATH"/*.txt; do
    # Check if any .txt files exist
    if [ ! -e "$file" ]; then
        echo "No .txt files found in the directory."
        exit 1
    fi
    
    echo "Processing file: $file"
    
    # Run JMeter command with SQL_FILE property
    jmeter -n -t your_test_plan.jmx -JSQL_FILE="$file"

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

79509551

Date: 2025-03-14 15:46:29
Score: 2
Natty:
Report link

The ask here is not to store the password as plain text in file, the reason is simple that anyone can get it from here and misuse.

I suggest you to use Encypt your passowrd using strong Encyption technique like sha-256 etc and then store that enrypted passowrd in the file.

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

79509549

Date: 2025-03-14 15:45:29
Score: 3.5
Natty:
Report link

dude, why didn't you post the solution...

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: крестоносец 1

79509539

Date: 2025-03-14 15:42:28
Score: 2
Natty:
Report link

Actually I found a solution and it worked. I have used interserver communication path but , may be that was wrong path. So , i just commented out that path in my config file. Now clickhouse automatically settled it's interserver communication path. And my replication work fine now.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Subhashree Mohan Swain

79509537

Date: 2025-03-14 15:41:27
Score: 8 🚩
Natty:
Report link

Bro facing same issue
please tell if you find solution

Reasons:
  • RegEx Blacklisted phrase (2.5): please tell
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): facing same issue
  • Low reputation (1):
Posted by: B_Gourab Chakraborty

79509535

Date: 2025-03-14 15:41:27
Score: 4.5
Natty:
Report link

Have you checked that all the packages (in pubspec.yaml) you are using are compatible with Android and iOS?

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

79509531

Date: 2025-03-14 15:39:27
Score: 1
Natty:
Report link

If you're like me the problem might be as simple as you're new to jest and are calling the function in the wrong spot....

Ex: It should be

expect(sum(1, 2)).toBe(3)

Not

expect(sum(1, 2).toBe(3))

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

79509530

Date: 2025-03-14 15:39:27
Score: 2.5
Natty:
Report link

```sh
composer require tymon/jwt-auth
php artisan vendor:publish --provider="Tymon\JWTAuth\Providers\LaravelServiceProvider"
php artisan jwt:secret
```

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

79509524

Date: 2025-03-14 15:35:26
Score: 4
Natty: 6
Report link

Such a simple fix! Scratching my head... why does the prefilled disappear?

Thanks!!

upvote is not working... for me

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): upvote
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Marc

79509521

Date: 2025-03-14 15:34:25
Score: 2.5
Natty:
Report link

With this converter tool, you can Convert Less to CSS instantly without installing any software.Enjoy 100% client-side processing, so your code stays secure and private. Upload less files, load CSS from a URL, or simply paste your Less code. And finally Download the converted CSS or copy it with just one click.

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

79509497

Date: 2025-03-14 15:22:23
Score: 3.5
Natty:
Report link

You have to indicate the specific mailbox you want to search in via "Account". In your get mail activity add the email account and ensure all capitalization are correct.

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Kevin Foendoe

79509496

Date: 2025-03-14 15:22:23
Score: 2.5
Natty:
Report link

Thanks to @3CxEZiVlQ for pointing me in the direction of a solution. I needed to add the folder that contained link.exe to my path. After that, it was able to build fine.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @for
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Joel

79509493

Date: 2025-03-14 15:22:23
Score: 3
Natty:
Report link

@salvador, thank you very much!! took me almost 2 days to figure this out. i was working in a docker container with vscode and remote containers extension when running the cdk synth command. i knew it had something to do with docker in docker (dind) but never found a good solution.

you had the right answer in my case

Reasons:
  • Blacklisted phrase (0.5): thank you
  • No code block (0.5):
  • User mentioned (1): @salvador
  • Low reputation (1):
Posted by: Arrow

79509483

Date: 2025-03-14 15:18:23
Score: 0.5
Natty:
Report link

solved it by adding a helper function to create middleware

type InferInput<TProcess> = TProcess extends (ctx: Context<infer I, any>) => any
    ? I
    : never

type InferOutput<TProcess> = TProcess extends (
    ctx: Context<any, any>,
) => infer O
    ? O
    : never

export function defineMiddleware<
    TProcess extends (ctx: any) => any,
    TEvents extends Record<string, (...args: any[]) => void> = {},
>(mw: {
    name: string
    deps?: (keyof InferInput<TProcess> & string)[]
    provides: keyof InferOutput<TProcess> & string
    process: TProcess
    rollback?: (
        ctx: Context<InferInput<TProcess> & InferOutput<TProcess>, TEvents>,
    ) => void | Promise<void>
}): MiddleWare<InferInput<TProcess>, InferOutput<TProcess>, TEvents> {
    return mw as MiddleWare<
        InferInput<TProcess>,
        InferOutput<TProcess>,
        TEvents
    >
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: weuoimi

79509479

Date: 2025-03-14 15:16:22
Score: 1
Natty:
Report link

If you want a wider dropdown, you can also increase your padding in order to push the text below or to the right of the box.

No Padding:

<ComboBox Name="BlankBox"
                              Height="21"
                              Margin="3,2"
                              Padding="0"/>

(text is aligned top-left)

Some Padding:

<ComboBox Name="BlankBox"
                              Height="21"
                              Margin="3,2"
                              Padding="5"/>

(text is offset from the top-left and partially obscured by the bottom padding of the box)

Full Padding:

<ComboBox Name="BlankBox"
                              Height="21"
                              Margin="3,2"
                              Padding="20"/>

(text is fully out of view)

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

79509475

Date: 2025-03-14 15:14:21
Score: 3
Natty:
Report link
FileInfo fi = new FileInfo(somefile){Attributes = FileAttributes.Hidden};
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Lady Amalia

79509474

Date: 2025-03-14 15:14:21
Score: 3
Natty:
Report link

I was implicitly a test user because my Facebook account was automatically added as a test user. Adding the other account as a test user resolved their problem. So now I think I need to request advanced access on instagram_basic through app verification. It's hard to get guidance from Meta, though I asked for it in my verification request.

Reasons:
  • Blacklisted phrase (0.5): I need
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nate

79509467

Date: 2025-03-14 15:12:21
Score: 1.5
Natty:
Report link

FWIW, in spring2025 still, I noticed this same problem, went in search of an answer, land here. I didn't change my script to add sys.exit(). I ran it, quick run, saw no Python tasks in task manager. I hit Refresh in the Task Scheduler Actions and status goes back to the expected Ready.

So, a bug, still.

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

79509465

Date: 2025-03-14 15:12:21
Score: 2
Natty:
Report link
import speech_recognition as sr

# Crear el reconocedor
recognizer = sr.Recognizer()

# Usar el micrófono
with sr.Microphone() as source:
    print("Di algo...")
    recognizer.adjust_for_ambient_noise(source)  # Ajustar al ruido ambiental
    audio = recognizer.listen(source)  # Escuchar la entrada de voz

# Intentar reconocer el audio
try:
    texto = recognizer.recognize_google(audio, language="es-ES")  # Convertir audio a texto
    print("Has dicho:", texto)
except sr.UnknownValueError:
    print("No se pudo entender el audio")
except sr.RequestError:
    print("Error con el servicio de reconocimiento")
Reasons:
  • Blacklisted phrase (2): Crear
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sofía Altamirano

79509454

Date: 2025-03-14 15:10:20
Score: 4
Natty: 5
Report link

it's possible to have only the price, not the name product

thanks

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: stephan

79509426

Date: 2025-03-14 15:00:18
Score: 1
Natty:
Report link

Is this correct ??

Switch(
    [Dif Tarea] >= -5, "Verde",
    [Dif Tarea] < -10, "Rojo",
    [Dif Tarea] < -5 AND [Dif Tarea] >= -10, "Amarillo"
)

Help!!

The goal of this formula is to categorize the difference in task performance (represented by [Dif Tarea]) into three distinct categories, each represented by a color:

"GREEN" : This indicates that the task is performing well or is on track. "YELLOW" : This indicates that the task is at risk or needs attention. "RED" : This indicates that the task is significantly behind or in trouble.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is this
  • Low reputation (1):
Posted by: Jorge Trejo

79509415

Date: 2025-03-14 14:57:17
Score: 2
Natty:
Report link

use cloneType

val aluop       =  Input(ALUType.AluOP.ADD.cloneType()) 
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sanek

79509389

Date: 2025-03-14 14:47:15
Score: 0.5
Natty:
Report link

I think that many to many attribute/entity is expecting a Foreign Key to Project model, and that's what generating your error. Perhaps you may need to rethink your models a little. For example, a project will always have an owner and contributors, so you may add these attributes to Project model instead of Account, and that many to many field would be added in Project as well (a project has single owner and many contributors).

Then, if you want to get all project a single user is participating you could use "get_related" methods to pull that QuerySet.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Héctor Asencio L

79509370

Date: 2025-03-14 14:43:14
Score: 1.5
Natty:
Report link

Ctrl-u

write / paste formula

Cmd-Shift-Enter

works for me on Excel 16.95 (25030928)

Ctrl-Shift-Enter has no effect.
Also, all the populated cells don't paint properly until you scroll away & back

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: choddo

79509366

Date: 2025-03-14 14:41:14
Score: 1.5
Natty:
Report link

I had same issue with flutter_sound. Checked pubspec.lock and found that it was on an old version 9.6.0 so I updated it in pubspec.yaml to flutter_sound: 9.25.9 latest version. Then I did flutter pub upgrade . Also you may need to bump minSdk to 24 in android/app/build.gradle with newer plugin versions.

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

79509364

Date: 2025-03-14 14:40:13
Score: 2
Natty:
Report link

Update for Ionic 8:

ion-toolbar {
  --background: transparent;
}
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Thiago Bezerra

79509353

Date: 2025-03-14 14:34:12
Score: 2
Natty:
Report link

A python library implemented by python3, for listening to Toast message notifications on windows.
WinToastListener-Readme

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

79509343

Date: 2025-03-14 14:27:10
Score: 0.5
Natty:
Report link

Mlir vs TVM table of comparison

Even though TVM and MLIR are frameworks designed for the optimized and lower high-level computation representation to efficient machine code, the design philosophy and the purpose are completely different and they operate on the other level of the stack.

Below is their key differences

Key Differences

Feature TVM MLIR
Primary Goal Optimized deep learning model deployment Infrastructure for building reusable compiler frameworks
Scope End-to-end deep learning compilation (from model to hardware) General-purpose intermediate representation (IR) for compilers
IR Type Uses Relay (high-level) and TIR (low-level) Multi-level IR with dialects for different abstraction levels
Target Audience Primarily for ML engineers and practitioners Compiler developers working on new frontends or backends
Optimization Focus Tensor optimizations, auto-tuning, scheduling Multi-level representation, extensibility, lowering passes
Hardware Support CPU, GPU, FPGA, and custom accelerators (via AutoTVM & TensorIR) Acts as an intermediate layer for various compiler backends (e.g., LLVM, TVM, XLA, IREE)
Flexibility Designed specifically for ML workloads Can be used for ML but also supports general compiler use cases
Adoption Used by AI frameworks for optimized model execution Used in LLVM, TensorFlow, IREE, and other compiler projects

When to use What

  1. TVM -> Dealing with the deployment of the deep learning model and requirement is that you need efficient execution on various hardware targes with auto tuning and scheduling optimization

  2. MLIR -> When you are dealing with the building a compiler or required a flexible multi level IR infra to transform and lower computation

💡 Tip
TVM can be considered as end-to-end deep learning compiler stack who main aim is to focus on optimizing and deploying ML models efficiently across various hardware backends.
MLIR (Multi-Level Intermediate Representation) is a compiler framework whose main aim is to build reusable and extensible compiler infrastructures.
Overall both TVM and MLIR have different goal thats the reason they complement each other rather than competing.
Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: abhinav tiwari

79509340

Date: 2025-03-14 14:27:10
Score: 5
Natty: 5.5
Report link

we're seeing this but for user_pseudo_id (i.e. multiple traffic_source.source and traffic_source.medium where this should only reflect the initial traffic orogins for that particalar user_pseudo_id. anyone else getting this issue in BigQuery?

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

79509338

Date: 2025-03-14 14:26:10
Score: 2
Natty:
Report link

The other answer is not up to date with latest version of woocommerce (03/2025)

It is now this :

UPDATE `mod13_wc_orders` SET `currency` = 'EUR' WHERE `mod13_wc_orders`.`currency` = 'USD';

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

79509331

Date: 2025-03-14 14:23:09
Score: 1.5
Natty:
Report link

I've got far enough and replaced characters but I still have an error I simply don't understand, there should not be a invalid character anymore

FileNotFoundError: [WinError 2] Das System kann die angegebene Datei nicht finden: 'C:\\Users\\merta\\Music\\music\\music.2\\1000x COOLER + W1NNER (prod. by Young Kira) - TJ_beastboy.mp3' -> 'C:\\Users\\merta\\Music\\music\\music.2\\mitMeta\\1000x COOLER _ W1NNER (prod. by Young Kira) - TJ_beastboy.mp3'

replacements = str.maketrans({"/": "_", "|": "_", '"': "_", "'": "_", "?" : "_", "<" : "_", ">" : "_", "[":"_", "]":"_", "*":"_",\
                                                      "%":"_", "\\":"_", ":": "_", "`":"_", "!":"_", "@":"_","+":"_","=":"_"})
                        newname = newname.translate(replacements)
Reasons:
  • RegEx Blacklisted phrase (1): I still have an error
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Mertus Mentoles

79509316

Date: 2025-03-14 14:13:07
Score: 2.5
Natty:
Report link

From windows machine you can count using Powershell -

PS1>gsutil ls gs://bucket-name/** |measure-Object

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

79509313

Date: 2025-03-14 14:12:07
Score: 0.5
Natty:
Report link

The errors you're getting are due to the auth settings of your app. You can't sign URLs with the access token only (default way your app uses). Thus you can either:

  1. Configure app to use IAM Sign Blob API. Prerred way, minimal changes, but there is a quota limits;
  2. Configure app to use a mounted private key of the Service Account. More actions, might be less secure.

Please read the guide you attached carefully starting from the Authentication settings section. You will find all the answers here.


When going to Django admin, there's AttributeError

Exception Value:
you need a private key to sign credentials.the credentials you are currently using <class 'google.auth.compute_engine.credentials.Credentials'> just contains a token. see https://googleapis.dev/python/google-api-core/latest/auth.html#setting-up-a-service-account for more details.

Your guide says:

If your app handles signed (expiring) urls, then read through the options in the Settings for Signed Urls in the following section

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

79509303

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

From the documentation, follow this link and update the row with these

mainAxisAlignment: MainAxisAlignment.center, // Center the row contents and a SizedBox for some space

so it should look like this then

Row(
          mainAxisAlignment: MainAxisAlignment.center, // center  contents
          children: <Widget>[
            Text(label),
            const SizedBox(width: 8), // some spacing between text and switch
            Switch(
              value: value,
              onChanged: (bool newValue) {
                onChanged(newValue);
              },
            ),
          ],
        ),
Reasons:
  • Blacklisted phrase (1): this link
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: pumpkin

79509297

Date: 2025-03-14 14:06:05
Score: 2.5
Natty:
Report link

Apart from duplicate or near duplicate points, I found that large coordinate values can also lead to this warning. Try centering the coordinates in conjunction with dropping duplicate and near duplicate values. This might solve your problem.

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

79509294

Date: 2025-03-14 14:06:05
Score: 2
Natty:
Report link

Thanks all for contributing to my understanding the rules of how dotnet restore works

I found out that I could find the dependencies to specific versions of packages by examining the Project.assets.json file and doing so in a json editor it became clear what was causing the issue.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Viktor Stjärne

79509282

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

This error means that at some point we're using a ensure that a value is non-null with ! when it's actually null.

But it doesn't seem to come from the code you're giving us.

Could you use a breakpoint with the debugger to see the exact line?

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: JTO Informatique

79509278

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

Perfect solution !!

Until version 21c this is the only way.

Thanks a lot !

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Regis Vaz

79509269

Date: 2025-03-14 13:56:03
Score: 1.5
Natty:
Report link
def Lshift(arr,n):
    a=Lshift[n:]+Lshift[:n]
    return a
arr=[1,2,3,4,5,6,7]
n=int(input("enter a number by which you want to seperate:"))
x=Lshift(arr,n)
print("original list :",arr)
print("after shifting list :",x)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: bhavesh

79509261

Date: 2025-03-14 13:54:02
Score: 3
Natty:
Report link

Encountered this error on a process i was working on. Kill all process before running your code. THus kill excel and any other open application, in order to clear up CPU.

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

79509245

Date: 2025-03-14 13:49:00
Score: 11 🚩
Natty: 6.5
Report link

Thanks. I'm having the same problem and this post was helpful. But, I have an additional issue. When I try to install Snowsql, both the cmd prompt and terminal stop accepting input at the password prompt. I type, but nothing happens. Any ideas on address that? Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): I'm having the same problem
  • Blacklisted phrase (1): Any ideas
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same problem
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Robert Crump

79509242

Date: 2025-03-14 13:48:00
Score: 0.5
Natty:
Report link

I followed all of this, and it worked once I realized all this changes require to open a new terminal so the new config on .aws/credentials apply to the current terminal

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: JPRLCol

79509237

Date: 2025-03-14 13:45:59
Score: 0.5
Natty:
Report link

I had a double configuration issue on .aws/credentials file, cleaned up and open a new terminal and it worked fine

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: JPRLCol

79509235

Date: 2025-03-14 13:44:59
Score: 0.5
Natty:
Report link

If someone is using Reactjs or Nextjs. you can easily fix this safari bug with this one.

useEffect(() => {
    const timeout = setTimeout(() => {
      document.body.style.transform = 'translateZ(0)';
    }, 10);

    return () => clearTimeout(timeout);
  }, []);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Maninder Singh

79509226

Date: 2025-03-14 13:42:58
Score: 0.5
Natty:
Report link

You can use a stub file for the migration file creation and then run 'artisan migrate'.

Here is a package that makes stub customization easy: https://laravel-news.com/laravel-stub

I will not judge if letting the user trigger a table creation is a good practice or not... it is not.

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

79509225

Date: 2025-03-14 13:42:58
Score: 2
Natty:
Report link

I had a similar problem. For me the trouble was that nginx only logged when the connection was closed. Setting the HTTP request header Connection to closed solved the problem for me. This cannot be done for fetch-requests from a browser and thus doesn't solve OP's problem, I just wanted to comment in case might help somebody else.

Reasons:
  • Blacklisted phrase (1): to comment
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Fabian

79509221

Date: 2025-03-14 13:40:58
Score: 1
Natty:
Report link

The initial code is valid, but you selected the wrong logger. To get the traceback on the error, you would need to modify the "uvicorn.error" logger.

Like so:

 import logging
 log = logging.getLogger("uvicorn.error")
 log.setLevel(logging.DEBUG)

Other available default loggers are "uvicorn" and "uvicorn.access" , as seen in @TheClockTwsiter's answer. This way you don't need to copy/modify the entire logging configuration. It will also preserve any implicit behavior of the uvicorn logging configuration, if it is ever updated by the dev team.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @TheClockTwsiter's
  • Low reputation (1):
Posted by: PatJon6

79509217

Date: 2025-03-14 13:39:57
Score: 0.5
Natty:
Report link

if your component class is in this path: The livewire class (app/Livewire/Productos.php)
The problem might be in the namespace declaration inside of the Products.php file.
You have it declared wrong with: App\Http\Livewire. It should be: App\Livewire

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

79509214

Date: 2025-03-14 13:37:57
Score: 1
Natty:
Report link

I really didn't find in the official codesys Help a detailed descriptive definition for each possible combination type and the expected response, but I found this note here:

"Conversions from a "larger" type to a "smaller" type are also implicitly possible (for example, from INT to BYTE or from DINT to WORD)."

Would that be enough?

Despite this, there are several notes distributed in the codesys help explaining specific situations about value conversions, such as notes about floating points and possible problems between different Target Systems, like here:

"The rounding logic for borderline cases depends on the target system or the FPU (Floating Point Unit) of the target system. For example, a value of -1.5 can be converted differently on different controllers."

Another situation, as example, is about DATA and TIME conversion, explained in the help for the ADD operator.

Finally, what I recommend as good practice is, when in doubt, use explicit conversion.

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

79509201

Date: 2025-03-14 13:31:56
Score: 1
Natty:
Report link

I was running into the same issue and did some more digging myself. Appears to be an issue with when this deprecation happens.

https://github.com/php/php-src/issues/17422

As an example I've put two 8.4 deprecations together and set error reporting to 0. The implicit null deprecation still outputs an error but the unserialize deprecation does not. Example code.

For us this means php 8.4.5 (current version) is not yet production ready as we don't have control of every package to fix what is only a deprecation and extra output to stdout ruins json output.

Recommendation: stay with php 8.3 until this is fixed.

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

79509196

Date: 2025-03-14 13:28:55
Score: 2
Natty:
Report link

It seems that this behavior (that won't show the duplicate rows) is by design on Power BI.

I also do not found an effective solution to achieve your requirement except maybe for add a external field such as index and then make the new index colum not visible

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

79509187

Date: 2025-03-14 13:24:54
Score: 2.5
Natty:
Report link

Just to add more what Morag Hughson anserwed. The issue got resolved by modifying the Topic to have propterites Non-persistent message delivery and Persistent message delivery set to value To all available subscribers. These are properties in General section of a topic.

enter image description here

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

79509185

Date: 2025-03-14 13:22:54
Score: 1.5
Natty:
Report link
private static int main()
{
    var randomInt = GLib.Random.int_range(int.MIN, int.MAX);
    print(randomInt.to_string());
    return 0;
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: 4747

79509182

Date: 2025-03-14 13:21:54
Score: 1.5
Natty:
Report link

Let me know if I am wrong about this, but shouldn't the right hand side of the 2nd constraint in the dual problem be 1 and not -1?

Generally, this scenario is not possible - If the primal is feasible and bounded, the dual should also be feasible and bounded.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: רום גת

79509181

Date: 2025-03-14 13:20:53
Score: 1
Natty:
Report link

Thanks to Sona I solved the issue. In case somebody is facing the same problem and has to debug, here it is my full code, copyng Sona and other posts.

import requests
from requests.auth import HTTPBasicAuth
import logging
import contextlib
from http.client import HTTPConnection

#https://stackoverflow.com/questions/16337511/log-all-requests-from-the-python-requests-module
# FOR DEBUGGING
def debug_requests_on():
    '''Switches on logging of the requests module.'''
    HTTPConnection.debuglevel = 1

    logging.basicConfig()
    logging.getLogger().setLevel(logging.DEBUG)
    requests_log = logging.getLogger("requests.packages.urllib3")
    requests_log.setLevel(logging.DEBUG)
    requests_log.propagate = True

def debug_requests_off():
    '''Switches off logging of the requests module, might be some side-effects'''
    HTTPConnection.debuglevel = 0

    root_logger = logging.getLogger()
    root_logger.setLevel(logging.WARNING)
    root_logger.handlers = []
    requests_log = logging.getLogger("requests.packages.urllib3")
    requests_log.setLevel(logging.WARNING)
    requests_log.propagate = False

@contextlib.contextmanager
def debug_requests():
    '''Use with 'with'!'''
    debug_requests_on()
    yield
    debug_requests_off()

debug_requests_on()

#from Sona

files = {'flusso': ('lista.csv', open('here the file', 'rb'), 'text/plain')}

body, content_type = requests.models.RequestEncodingMixin._encode_files(files, {})

data = body
headers = {
    "Content-Type": content_type,
    'Content-Disposition': 'form-data; name="flusso"',
    'Content-Disposition': 'form-data; filename="lista.csv"',
    'Accept-Encoding': 'gzip,deflate',
    'User-Agent': '',
    'MIME-Version': '1.0',
    'Connection' : 'keep-alive',
}
r = requests.post(
    url,
    data=data,
    headers=headers,
    auth=HTTPBasicAuth('here the user', 'here the password')
)
if r.ok:
    print("Login: Success!")
    print(r.text)    
    print(r.status_code)
    print(r)
else:
    raise Exception("Errore. ", r.status_code)
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): stackoverflow
  • Whitelisted phrase (-2): I solved
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): facing the same problem
  • Low reputation (0.5):
Posted by: dario

79509174

Date: 2025-03-14 13:17:53
Score: 0.5
Natty:
Report link

I don't know if I'll ever be good enough to understand the real reason for this, but I did find a solution to my problem.

As I write this, I realise that I'm also using MimeKit v4.8.0 while v4.11.0 is available. Not yet tested on v4.11.0

Essentially the problem seems to occur when:

The solution (in my case at least) was to store the original byte array only, and not to store or reuse the output of the MimeMessage.WriteTo() method.

But again, I only hit this problem on a Linux box (Windows seemed fine), and the ONLY difference I could find (on a byte-for-byte basis) between the mails that worked and didn't work was the line endings (\r\n worked; \n did not work).

The thing was that causing all of those weird equals signs was some sort of off-by-one issue when handling the line breaks and/or line lengths.

For example, given the below 2-line snip of "quote-printable" section of the message (have added the \r\n characters for clarity):

<div lang=3D"EN-US" link=3D"#467886" vlink=3D"#96607D" style=3D"word-wrap:b=\r\n
reak-word">

this SHOULD be extracted / translate to:

<div lang=3D"EN-US" link=3D"#467886" vlink=3D"#96607D" style=3D"word-wrap:break-word">

but INSTEAD was getting extracted / translated to:

<div lang=3D"EN-US" link=3D"#467886" vlink=3D"#96607D" style=3D"word-wrap:b=eak-word">

In other words, it was keeping the "=" at the end of each line, and dropping the first character from the subsequent line. This obvious broke the HTML structure, and if it was actual content that was spanning the line break, you'd see characters being "replaced" by "=" signs.

For good measure, some commented code that illustrates the issue I was seeing:

// Gets the message stream from Microsoft Graph API
var mimeContentStream = await _Client.Users[_Username].Messages[uid].Content.GetAsync();

// Loads the message stream into a MimeMessage object
// write this mimeMessage to disk / view in email client, and I get the correct body
var mimeMessage = await MimeKit.MimeMessage.LoadAsync(mimeContentStream);

// writes the MimeMessage object to a byte array
byte[] mimeMessageArr;
using (var ms = new MemoryStream())
{
    mimeMessage.WriteTo(ms);
    mimeMessageArr = ms.ToArray();
}

// Loads the byte array into a new MimeMessage object
MimeMessage mimeMessageAgain;
using (var ms = new MemoryStream(mimeMessageArr))
{
    mimeMessageAgain = await MimeKit.MimeMessage.LoadAsync(ms);
}

// write mimeMessageAgain to disk / view in email client, and I get lots of EQUALS signs interspersed with the (mis-formatted) body

I don't think the fact that I was retrieving this from a Microsoft Graph API call makes the difference. I have no idea why Linux/Windows would make a difference. All I know is that after 2 days I can finally sleep.

Reasons:
  • Blacklisted phrase (1): did not work
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: pcbulldozer

79509169

Date: 2025-03-14 13:15:52
Score: 2.5
Natty:
Report link

was you able to find a solution for this case?

I also see some similar errors on virtual machines when trying to open terminal. But I am doing the same steps locally and no issues for terminal..

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

79509164

Date: 2025-03-14 13:12:52
Score: 1.5
Natty:
Report link

Try

GET /cars?is_impounded=null

instead of

GET /cars?is_impounded=None
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Coco Q.

79509155

Date: 2025-03-14 13:10:51
Score: 3.5
Natty:
Report link

Container queries aid this issue in some way. https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_containment/Container_queries

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

79509144

Date: 2025-03-14 13:05:50
Score: 3
Natty:
Report link

Wanting to do something similar I stumbled upon this article. A bit misleading title, if you ask me. A div.dropdown is not a dropdown component.

Reasons:
  • Blacklisted phrase (1): this article
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jeff