79464044

Date: 2025-02-24 15:25:11
Score: 8.5 🚩
Natty: 3.5
Report link

hey i have working on the same , can you help if you got an idea

Reasons:
  • RegEx Blacklisted phrase (3): can you help
  • RegEx Blacklisted phrase (2): hey i have
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: dev MuhammedSalih

79464038

Date: 2025-02-24 15:23:11
Score: 1
Natty:
Report link
SELECT
    Product_Name,
    PONo,
    SUM(Quantity) AS Total_Quantity
FROM GrnTable
GROUP BY 1, 2
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: gzzz

79464037

Date: 2025-02-24 15:23:11
Score: 1
Natty:
Report link

The last available 64-bit version of MySQL ODBC Driver is 8.0.33. You can find this version under the archive section. After installing this 64-bit driver, it will be accessible in the 64-bit ODBC window.

visual studio 2022 doesn't allow you to change the runtime to 32bit therefore this is the only option i had to use the 64bit driver.

enter image description here

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

79464028

Date: 2025-02-24 15:21:10
Score: 5.5
Natty:
Report link

What you are trying can be achieved through the "Foreach" or "While" loop.

Can you let me know the language you are using to get the JSON response? So I can provide you with docs and examples.

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you let me know
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What you are
  • Low reputation (1):
Posted by: Hamza Kingdom Vision

79464027

Date: 2025-02-24 15:21:10
Score: 2
Natty:
Report link
  1. I switched Android Studio from the default "Auto-detect proxy" to "No proxy."
  2. I cleared all cookies for that localhost domain since the browser also used to include a lot of studd in the request that was not relevant and cause second error 513 status code..
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: dami

79464026

Date: 2025-02-24 15:21:10
Score: 2
Natty:
Report link

I had this same error while running a next app.

The issue was resolved when i moved src (which contained my index.js file) out of public folder making it look this way; my-app/frontend/src

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

79464025

Date: 2025-02-24 15:21:10
Score: 0.5
Natty:
Report link

You should focus more on verifying JWT tokens on the server side, as there’s no more secure way than letting clients store their own tokens. However, storing access tokens in cookies on the client side exposes them to XSS attacks. A better approach is:

For Web (React): Store the access token in memory and the refresh token in an HTTP-only, Secure cookie. For Mobile (Flutter): Store both tokens in secure storage (Keychain/Keystore) since cookies aren’t supported. Also, implement token blacklisting and cache invalidated tokens to prevent unauthorized reuse. Always use short-lived access tokens and verify them on every request.

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

79464022

Date: 2025-02-24 15:20:10
Score: 3.5
Natty:
Report link

I dont think OvenMedia Engine supports pulling RTMP. You can push RTMP and pull WebRTC..

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

79464016

Date: 2025-02-24 15:17:09
Score: 1
Natty:
Report link

Either you can change the runtime to 32bit in Visual Studio or install the 64 bit driver.

The last available 64-bit version of MySQL ODBC Driver is 8.0.33. You can find this version under the archive section. After installing this 64-bit driver, it will be accessible in the 64-bit ODBC window.

visual studio 2022 doesn't allow you to change the runtime to 32bit therefore thi is the only option i had to use the 64bit driver.

enter image description here

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

79463996

Date: 2025-02-24 15:10:07
Score: 3.5
Natty:
Report link

I found an answer thanks to the question Django REST Framework pagination links do not use HTTPS

setting proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto; in the nginx solves the problem.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Ayatoo

79463994

Date: 2025-02-24 15:09:07
Score: 1
Natty:
Report link

Ok I have found a solution that worked for me...

I did the following:

Step 1: Open a new terminal and run sudo apt autoremove sudo apt clean sudo apt autoclean

Step 2: Open a new terminal and run rm -rf ~/.cache/thumbnails/* systemctl stop ufw && systemctl disable ufw

step 3: Open a new terminal and run sudo apt autoremove --purge

Step 4: Open new terminla and run sudo apt install nload iftop nload iftop

Step 5: Open new terminla and run curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python3 -

Reasons:
  • Whitelisted phrase (-1): worked for me
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Kevin Garza

79463989

Date: 2025-02-24 15:07:07
Score: 2
Natty:
Report link

I would suggest grouping by the PO number first, and then also group by the Product Name : Group By PONo., Product Name

By adding the group by to the PONo, you accomplish the first task of grouping by respective PO.

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

79463988

Date: 2025-02-24 15:07:07
Score: 1.5
Natty:
Report link

I found that $_SERVER['REQUEST_URI'] contains the double slashes. I will use that to redirect to the single-slash-variant.

I don't get how nobody on this thread seamed to understand your problem.

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

79463984

Date: 2025-02-24 15:07:07
Score: 2
Natty:
Report link

You can also use the parameter: NewCircuitPeriod at torrc file and put there any time you want, in seconds, for TOR to renew your circui, for example:

NewCircuitPeriod 60

Normally this file is in: /etc/tor/torc

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

79463977

Date: 2025-02-24 15:05:06
Score: 2.5
Natty:
Report link

Well, it seems that changing the 24-hour time on the MacBook settings works only if you reset the simulator with Erase All Content and Settings....

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

79463973

Date: 2025-02-24 15:04:06
Score: 2.5
Natty:
Report link

You could use DeepSeek (without deep thinking), it works better than chatGPT for this particular case.

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

79463965

Date: 2025-02-24 15:02:06
Score: 1
Natty:
Report link

It's much easier to make these changes directly in GeneXus instead of reading and modifying the HTML.

Button.Caption = "New Caption"
&Column_var.Title = "New Title"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ealmeida

79463962

Date: 2025-02-24 15:02:06
Score: 0.5
Natty:
Report link

In my experience, the temp dataset is always left as the default value (cloud_dataflow). Instead, the necessary permissions are granted to the service account to enable the job to read data from BigQuery e.g. roles/bigquery.dataEditor role.

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

79463955

Date: 2025-02-24 15:01:05
Score: 5
Natty:
Report link

I've exactly your configuration and issue. I tried to create a C++ class that install a new QTranslator. Every C++ classes that have a localized strings can register for QEvent::LanguageChange and then emit a signal for every string. This works on C++ class side but qml files still not change. Have you find a solution?

Reasons:
  • Blacklisted phrase (2): Have you find
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Riccardo Casagrande

79463949

Date: 2025-02-24 15:00:05
Score: 0.5
Natty:
Report link

To those that replied Thank you and to any that follow, I found this:- It works in this test code and it remains to be seen if it works in my application. It is very fast too, it has gone from 100's milliseconds to a few microseconds.

from multiprocessing import Process, Lock, Value, shared_memory
import time
import numpy as np
import signal
import os

class Niao:
    def __init__(self, axle_angle, position_x, position_y, energy, speed):
        self.axle_angle = axle_angle
        self.position_x = position_x
        self.position_y = position_y
        self.energy = energy
        self.speed = speed 
        
    def move(self, new_x, new_y):
        self.position_x.value = new_x
        self.position_y.value = new_y

class SharedWorld:
    def __init__(self):
        self.lock = Lock()
        self.niao_shm = None  # Shared memory for Niao attributes

    def create_niao_shared_memory(self):
        # Create shared memory for Niao attributes
        self.niao_shm = shared_memory.SharedMemory(create=True, size=5 * 8)  # 5 double values (8 bytes each)
        return self.niao_shm

    def add_niao(self, niao):
        with self.lock:
            # Store values in shared memory
            shm_array = np.ndarray((5,), dtype='d', buffer=self.niao_shm.buf)
            shm_array[0] = niao.axle_angle.value
            shm_array[1] = niao.position_x.value
            shm_array[2] = niao.position_y.value
            shm_array[3] = niao.energy.value
            shm_array[4] = niao.speed.value

    def get_niao(self):
        with self.lock:
            shm_array = np.ndarray((5,), dtype='d', buffer=self.niao_shm.buf)
            return Niao(
                Value('d', shm_array[0]),  # Create new Value object
                Value('d', shm_array[1]),  # Create new Value object
                Value('d', shm_array[2]),  # Create new Value object
                Value('d', shm_array[3]),  # Create new Value object
                Value('d', shm_array[4])   # Create new Value object
            )
       
    def move_niao(self, new_x, new_y):
        with self.lock:
            shm_array = np.ndarray((5,), dtype='d', buffer=self.niao_shm.buf)
            shm_array[1] = new_x  # Update position_x
            shm_array[2] = new_y  # Update position_y

def niao_worker(shared_world):
    while True:
        with shared_world.lock:  # Lock access to shared data
            shm_array = np.ndarray((5,), dtype='d', buffer=shared_world.niao_shm.buf)
            print(f"Niao Worker accessing: Niao Position ({shm_array[1]}, {shm_array[2]})")
            pos_x = shm_array[1]
            pos_y = shm_array[2]
        
        # Move Niao object
        shared_world.move_niao(pos_x + 5.0, pos_y + 6.0)

        start_time = time.time()  # Record the start time
        with shared_world.lock:  # Lock access to shared data
            shm_array = np.ndarray((5,), dtype='d', buffer=shared_world.niao_shm.buf)

        end_time = time.time()  # Record the end time
        duration_microseconds = (end_time - start_time) * 1_000_000  # Convert to microseconds
        print(f"Niao_worker access shm_array {duration_microseconds:.2f} microseconds.")            
        print(f"Niao Worker accessing post update: Niao Position ({shm_array[1]}, {shm_array[2]})")
        
        time.sleep(1)  # Delay for 1 second

def worker(shared_world):
    while True:        
        niao = shared_world.get_niao()
        print(f"Worker accessing: Position ({niao.position_x.value}, {niao.position_y.value})")
        # Delay to reduce the loop's speed
        time.sleep(1)  # Delay for 1 second (adjust as needed)

def signal_handler(sig, frame):
    print("Terminating processes...")
    os._exit(0)

if __name__ == "__main__":
    signal.signal(signal.SIGINT, signal_handler)  # Handle Ctrl+C gracefully

    shared_world = SharedWorld()
    shared_world.create_niao_shared_memory()

    # Add Niao object to the shared world
    shared_world.add_niao(Niao(
        Value('d', 0.0),  # niao_axle_angle
        Value('d', 0.0),  # niao_position_x
        Value('d', 0.0),  # niao_position_y
        Value('d', 0.0),  # niao_energy
        Value('d', 0.0)   # niao_speed
    ))

    # Create and start Niao process
    niao_process = Process(target=niao_worker, args=(shared_world,))
    niao_process.start()

    # Create and start Worker process
    worker_process = Process(target=worker, args=(shared_world,))
    worker_process.start()

    # Wait for processes to finish (they run indefinitely)
    niao_process.join()
    worker_process.join()

    # Cleanup shared memory
    shared_world.niao_shm.close()
    shared_world.niao_shm.unlink()
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Peter Mason

79463933

Date: 2025-02-24 14:57:04
Score: 1
Natty:
Report link

Vite handles Public Base Path and by default base path equals to /. So you can add / to the beginning of the path, for example like /assets/fonts/GeistMono-Light.woff2 for font file located in /public folder. This will solve the warning.

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

79463930

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

The advantage of using numpy is that you can specify an optional axis argument along which the mean should be calculated:

def geom_mean(arr, axis=None):
    return np.exp(np.mean(np.log(arr), axis=axis))

It uses the identity exp(arithmetic_mean(log(values))) = geometric_mean(values)

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

79463878

Date: 2025-02-24 14:44:00
Score: 2
Natty:
Report link

I don't know much about "Polylang" plugin but upon searching "pll_get_post" might do it.

replace your code with this code and "1" with your thank you page post id.

add_action( 'wp_footer', 'mycustom_wp_footer' );
function mycustom_wp_footer() {
    if ( function_exists( 'pll_get_post' ) ) {
        // Get the translated Thank You page URL

        $page_id = 1; // Replace with the actual Thank You page ID in default language
        $new_thank_you_url = get_permalink( pll_get_post( $page_id ) );
    }
    ?>
    <script>
        document.addEventListener( 'wpcf7mailsent', function( event ) {
            location = "<?php echo esc_url( $translated_thank_you_url ); ?>";
        }, false );
    </script>
    <?php
}

Here is the link if you want to study about the function

https://polylang.wordpress.com/documentation/documentation-for-developers/functions-reference/

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (0.5): Thank You
  • Blacklisted phrase (1): Here is the link
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hamza Kingdom Vision

79463875

Date: 2025-02-24 14:42:00
Score: 0.5
Natty:
Report link

I was thinking the easiest thing to do would be to delete the password sign-in method so that the user can only use Google sign-in (they could still reset their password), but I can't find a method anywhere in the docs that does this?

To delete a sign in provider, you have to do it via the Firebase Auth console. Screenshot

Firebase has also has blocking functions that trigger when a user creates an account but before they're added to Firebase. You could use beforeUserCreated to see if the email is already registered and block creation if it's found.

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

79463872

Date: 2025-02-24 14:39:59
Score: 2
Natty:
Report link

You can solve this problem using the flutter_bloc_mediator package. This package allows BLoCs to communicate indirectly through a mediator, eliminating the need for direct dependencies between them.

How It Works:

Instead of manually invoking events in multiple BLoCs from another BLoC, you can define a Mediator that listens for events from one BLoC and delegates them to others.

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

79463871

Date: 2025-02-24 14:39:59
Score: 1
Natty:
Report link

Your theoretical approach using password-based encryption (PBE) for authentication introduces interesting trade-offs compared to traditional password hashing.

Below is a breakdown of the security implications, pros/cons, and recommendations:

Key Comparisons: Password Hashing vs. PBE

  1. Password Hashing (Traditional Approach) Mechanism:

A password is hashed with a salt using a secure key derivation function (KDF) like Argon2.

Validation involves rehashing the input password with the stored salt and comparing the result.

Advantages:

Simple, widely understood, and battle-tested.

No encryption/decryption overhead; minimal implementation complexity.

Explicitly designed for password storage (e.g., tools like bcrypt and argon2 handle salting and work factors).

Disadvantages:

Does not encrypt user data at rest (if that’s a requirement).

  1. Password-Based Encryption (Your Proposed Approach) Mechanism:

Derive a key from the password using a KDF (e.g., Argon2).

Encrypt arbitrary data (e.g., a fixed string or JSON blob) with this key and store the ciphertext.

Validate passwords by attempting decryption: Success implies the correct key (and password).

Advantages:

Encrypts user data at rest (if the data column contains sensitive information).

Obscures the authentication mechanism (security through obscurity, though not a robust defense).

Disadvantages:

Complexity: Requires secure encryption parameters (nonce/IV, authentication tags).

False Positives: Without authenticated encryption, garbage decryption might accidentally match expected plaintext.

Key Management: Changing passwords requires re-encrypting all data with a new key.

Performance: Encryption/decryption adds minor overhead, but KDFs like Argon2 dominate the cost.

Critical Security Considerations Authentication and Integrity:

Stream ciphers (e.g., ChaCha20) require authenticated encryption (e.g., ChaCha20-Poly1305). Without an authentication tag, attackers could tamper with ciphertexts or exploit false positives during decryption.

Known Plaintext Attacks:

If the encrypted data is predictable (e.g., "valid"), attackers could target it similarly to cracking hashes. Use randomized plaintext (e.g., a UUID) to mitigate this.

Security Through Obscurity:

If the database is breached, attackers likely also have server code (via other exploits), revealing KDF/encryption details. Do not rely on hidden algorithms for security.

Salt and Nonce Management:

Salts must be unique per user. Nonces/IVs must never repeat for the same key. Store these with the ciphertext.

Password Changes:

Updating passwords requires re-encrypting all data linked to the old key, adding complexity.

When to Use PBE Over Hashing? Use PBE if:

You need to encrypt user data at rest (e.g., sensitive user attributes).

You want to combine authentication and data encryption into one workflow.

Stick to Hashing if:

You only need to validate passwords (no data encryption requirement).

Simplicity and maintainability are priorities.

Recommendation For most applications, traditional password hashing is preferable due to:

Lower complexity and fewer failure points.

Explicit design for password storage (e.g., built-in handling of salts and work factors).

No need to manage encryption keys or ciphertexts.

If encryption at rest is required, combine both approaches:

Hash the password (for authentication).

Use a separate key (derived from the password) to encrypt data.

Example Secure Workflow (Hybrid Approach) Registration:

Generate a random salt.

Hash the password with Argon2 (or similar) and store the hash.

Derive an encryption key from the password and salt.

Encrypt user data with this key (using AEAD like AES-GCM) and store the ciphertext.

Login:

Verify the password against the stored hash.

If valid, derive the key and decrypt user data.

This separates concerns (authentication vs. encryption) while leveraging the strengths of both methods.

Final Notes Never use raw encryption without authentication (e.g., AES-CBC, ChaCha20 alone). Always use AEAD modes (e.g., AES-GCM, ChaCha20-Poly1305).

Avoid inventing custom schemes. Use established libraries (e.g., Libsodium, OpenSSL) for KDFs and encryption.

Prioritize code audits for cryptographic implementations, as subtle flaws can compromise security.

While your PBE approach is theoretically viable, it introduces risks that often outweigh its benefits unless encryption at rest is explicitly required. Stick to hashing for most use cases.

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

79463857

Date: 2025-02-24 14:34:58
Score: 4
Natty:
Report link

Use my tool, code on Go^ work witch last release 3.77: https://github.com/Chased/nexus-cli

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Дмитрий

79463848

Date: 2025-02-24 14:32:57
Score: 2.5
Natty:
Report link

Cancelling a Mono or Flux is possible if the subscription was made via subscribe(), but in that case you need to explicitly manage Subscription.

If you are using Netty's Reactor (which is usually the case with WebClient.create()), then canceling the request (dispose() or cancel()) does not immediately break the connection, but allows the connection pool to reuse it.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): Can
  • Low reputation (1):
Posted by: Глеб Кудрявцев

79463843

Date: 2025-02-24 14:31:57
Score: 0.5
Natty:
Report link

If all entries are in the strict format 'M2 USD … BITC … MAD … LOSS …', where the BITC-value is always the fifth part, you can try using a simple split:

SELECT SUM(SPLIT_PART(value, ' ', 5)::float) AS bitc_sum
FROM TABLE(FLATTEN(INPUT => data))

Where data is your array with the values ​​from the question.

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

79463840

Date: 2025-02-24 14:30:57
Score: 1
Natty:
Report link

Since window.setInterval is returning a number (see http://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval#return_value) we can safely cast it to number :

let onSizeChangeSetInterval = setInterval(() => {...}, 30) as any as number;

That way we can avoid any server side issues, and get rid of the Typescript error.

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

79463829

Date: 2025-02-24 14:27:56
Score: 3
Natty:
Report link

The main problem was that I put the claims in the JwtAuthenticationToken, but my OAuth2 client and resource server were in the same app with OIDC authorization and so the problem was solved after I put and view the claims from the OAuth2AuthenticationToken

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

79463828

Date: 2025-02-24 14:26:56
Score: 1
Natty:
Report link

To download the dependency, maven will need a version tag. This would be the most recent version:

<dependency>
    <groupId>com.playtika.reactivefeign</groupId>
    <artifactId>feign-reactor-spring-cloud-starter</artifactId>
    <version>4.2.1</version>
</dependency>

As mentioned by @rzwitzerloot, if you wanted to deal with the cause of the issue, you'd have to rewrite this in a reactive way, passing in success and failure callbacks to the token validation.

That may be a nontrivial rewrite, so you might want to first establish whether thread starvation is a relevant issue in your specific setup.

If you prefer the blocking style, you might get similar performance and eliminate starvation by using virtual threads.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @rzwitzerloot
  • Low reputation (1):
Posted by: Peter Aisher

79463821

Date: 2025-02-24 14:24:55
Score: 1.5
Natty:
Report link

I think we should use:

MediaQueryData.fromView(View.of(context));
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Uwe Post

79463812

Date: 2025-02-24 14:21:54
Score: 1
Natty:
Report link

Just in case not using it at all then just remove that plugin from eclipse, Quick to focus on important tasks. :-)

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

79463806

Date: 2025-02-24 14:18:54
Score: 1
Natty:
Report link

This worked for me:

import nltk nltk.download('punkt_tab')

pip install tokenizers

Reasons:
  • Whitelisted phrase (-1): This worked for me
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jesily Thomas

79463797

Date: 2025-02-24 14:15:53
Score: 2.5
Natty:
Report link

i know i am 9 years late , but consider moving from x to (3x + 1)/2 if x is odd insted of moving to (3x +1) because 3x + 1 will always be even if x is odd like that you will do less steps

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

79463796

Date: 2025-02-24 14:15:53
Score: 2
Natty:
Report link

You can use this API in Rapidapi to get accurate values for RSI, Bollinger bands, MACD, EMA, SMA and 20+ indicators

https://rapidapi.com/arjunravi868/api/crypto-technical-analysis-indicator-apis-for-trading

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

79463789

Date: 2025-02-24 14:12:52
Score: 5.5
Natty:
Report link

Thank you! This was exactly what I needed (simply adding "cidr" to the path expression field). I don't have the "reputations" to give you a vote though.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (1.5): reputation
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kevin Lennan

79463771

Date: 2025-02-24 14:06:50
Score: 0.5
Natty:
Report link

In case this helps anyone. I'm running Jenkins locally on Windows with JDK21 and had this issue. You need to remember to open the command prompt as administrator ('Run as administrator') before starting Jenkins with a command like:

java -jar jenkins.war --httpPort=8081

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

79463760

Date: 2025-02-24 14:00:49
Score: 3
Natty:
Report link

| |
| 🔥 UNDER 25 APP LOGO [⚡] |
| |
| 🍕 25 |
| (Pizza slice with fiery "25" stamp) |
| |
| DELIVERING |
| UNDER 25 MINUTES |
| (Bold 3D text with motion blur lines) |
| |
| Neon gradient triangles ▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴
| |
| @e/nithin234 (graffiti-style tag) |
|_________________________________________________________|

Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Filler text (0.5): ▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴▴
  • Filler text (0): _________________________________________________________
  • Low reputation (1):
Posted by: Nithin

79463754

Date: 2025-02-24 13:58:49
Score: 0.5
Natty:
Report link

If you are willing to type in the first two values manually then the following formula in A3 should work:

=A1*1.5

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: cybernetic.nomad

79463750

Date: 2025-02-24 13:56:48
Score: 1.5
Natty:
Report link

This can happen because of the termination of firebase client, If you are using a secondary firebase app with multiple configuration depending upon environments you need to check if the client is already terminated somewhere else before initialisation of new firebase app.

Note- Firebase app termination is a async call.

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

79463749

Date: 2025-02-24 13:56:48
Score: 2.5
Natty:
Report link

Here are Easy steps to integrate scrollview in iOS storyboard

Steps:

  1. Add ScrollView to the ViewController XIB or storyboard
  2. Add constraints to all four corners
  3. Add a UIView inside the UIScrollview and add constraints with the scrollView to all four corners.
  4. Set equal width between the UIView and the scrollView.
  5. Add height to the UIView (If the height is greater than the height of the device, It automatically becomes scrollable).

For live video watch: https://www.youtube.com/watch?v=nvNjBGZDf80

Reasons:
  • Blacklisted phrase (1): youtube.com
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hardika Vachhani

79463737

Date: 2025-02-24 13:52:47
Score: 1.5
Natty:
Report link

Icecream flover water% making Milk+flower

  1. stobary 50 40ml+90ml
  2. Mango 50 40ml+90ml
  3. Kiwi 50 40ml+90ml
  4. Lichi 50 40ml+90ml
  5. Gavava 50 40ml+90ml
  6. Black currant 50 40ml+90ml
  7. Blue Barry 50 40ml+90ml
Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mayur Jayani

79463734

Date: 2025-02-24 13:51:47
Score: 1.5
Natty:
Report link

Safest way of impersonating another user: (safest because it avoids loading his startup scripts which may contain harmful code)

sudo -u somebody sh
cd
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Andrzej Pieńkowski

79463733

Date: 2025-02-24 13:51:47
Score: 0.5
Natty:
Report link

You can create a composable for this grid item to use everywhere without duplicating code:

@Composable
fun GridContentItemWithDivider(
    index: Int,
    columnCount: Int,
    content: @Composable () -> Unit
) {
    val isLastColumn = (index + 1) % columnCount == 0
    Row(Modifier.height(IntrinsicSize.Min)) {
        Column(
            modifier = Modifier.weight(1f),
            horizontalAlignment = Alignment.CenterHorizontally
        ) {
            content()
            HorizontalDivider()
        }
        if (!isLastColumn) {
            VerticalDivider()
        }
    }
}

and use like this:

val columnCount = 3
LazyVerticalGrid(
    modifier = modifier.fillMaxSize(),
    columns = GridCells.Fixed(columnCount),
) {
    itemsIndexed(uiState.myitems, key = { _, item -> item.id }) { index, item ->
        GridContentItemWithDivider(
            columnCount = columnCount,
            index = index
        ) {
            MyItem(item = item)
        }
    }
}

enter image description here

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

79463726

Date: 2025-02-24 13:46:46
Score: 0.5
Natty:
Report link

I had the same problem.

When I disabled the "Avast" antivirus for 10 minutes, "composer" installed just fine.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
Posted by: crownlessking

79463721

Date: 2025-02-24 13:45:46
Score: 2
Natty:
Report link

You can use this API in rapid API to get accurate realtime values for RSI, Bollinger bands, MACD and 20+ indicators

https://rapidapi.com/arjunravi868/api/crypto-technical-analysis-indicator-apis-for-trading

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

79463720

Date: 2025-02-24 13:45:46
Score: 2
Natty:
Report link

As per recent versions of Jupyterlab (my guess: after version 4.0, released in June 2023), the solution by @waddles is broken due to the switch from Mathjax 2 to Mathjax 3, see version Jupyterlab 4.0 announcement.

Running the proposed code cell

%%javascript
MathJax.Hub.Config({
    TeX: { equationNumbers: { autoNumber: "AMS" } }
});

yields a Javascript Error: MathJax.Hub is undefined.

I looked at MathJax 3.2 doc which says that equation numbering should be activated by the following javascript code:

window.MathJax = {
  tex: {
    tags: 'ams'
  }
};

I've tried to implement this in a Jupyterlab code cell

%%javascript
window.MathJax = {
  tex: {
    tags: 'ams'
  }
};

and it runs without error.

However, the following Markdown cell doesn't work (doesn't work in the sense that 1) the equation is not numbered and 2) the reference is replace by (???)):

Here is equation number \eqref{eqa}:
\begin{equation}
    \label{eqa}
    a=1
\end{equation}

So I don't know what is the solution of Jupyterlab 4.0+...

Reasons:
  • Blacklisted phrase (1): ???
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @waddles
  • Low reputation (0.5):
Posted by: Pierre H.

79463714

Date: 2025-02-24 13:43:45
Score: 0.5
Natty:
Report link

You can just use a tag like this

<template>
  <div>
    <a :href="url" target="_blank">Open Link</a>
</div>
</template>

<script>
export default {
  data() {
    return {
      url: 'https://example.com'
    };
  }
};
</script>

You can also change the target attribute to use variable or props

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

79463704

Date: 2025-02-24 13:39:44
Score: 0.5
Natty:
Report link

With Rails 8, I integrated my helper to a class by

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

79463703

Date: 2025-02-24 13:39:44
Score: 2
Natty:
Report link

The following works (thanks to a hint from @cafce25):

#![allow(unused_variables)]
use polars::prelude::*;

fn main() {
    println!("Hello, world!");
    let mut df = df! [
        "names" => ["a", "b", "c"],
        "values" => [1, 2, 3],
    ].unwrap();

    println!("{:?}", df);

    let old_name = df.get_column_names_str()[0].to_owned();
    let new_name = <PlSmallStr>::from_str("letters");
    let _ = df.rename(&old_name, new_name);
    println!("{:?}", df);
}
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Has code block (-0.5):
  • User mentioned (1): @cafce25
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Roger V.

79463697

Date: 2025-02-24 13:37:44
Score: 1.5
Natty:
Report link

WebClient is thread-safe and does not require explicit closing, as it is managed by Reactor Netty. There is no need to close it unless you are using custom resources.

Connection management in Reactor Netty: If you are using the standard WebClient, resources and connection pool are managed automatically. For custom resources, such as ConnectionProvider, they must be closed manually when the application is terminated.

Recommendations for long-lived applications: For Telegram bots, create one instance of WebClient, reuse it, and configure connection parameters via ConnectionProvider if necessary.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Глеб Кудрявцев

79463692

Date: 2025-02-24 13:36:44
Score: 1
Natty:
Report link

Your code isn't working because you used turtle.done() inside the movement functions, which stops the program after the first key press. Also, screen.onkeypress(None, key) disables the keybinding, so the keys stop working after one use. To fix it, remove both of these lines and make them simple by movement functions using pen.setx() and pen.sety() instead of getting and setting positions manually.

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

79463689

Date: 2025-02-24 13:33:43
Score: 1.5
Natty:
Report link

Regarding Quarkus.io/guides/all-config : https://quarkus.io/guides/all-config#quarkus-vertx-http_quarkus-http-host

In dev/test mode this defaults to localhost, in prod mode this defaults to 0.0.0.0 As an exception, when running in Windows Subsystem for Linux (WSL), the HTTP host defaults to 0.0.0.0 even in dev/test mode since using localhost makes the application inaccessible.

It means that even if it displays "Listening on: http://localhost:9080", Quarkus actually binds all interfaces

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

79463688

Date: 2025-02-24 13:33:43
Score: 0.5
Natty:
Report link

Sometimes, it seems, one needs to spend time to ask the question in order to find the answer themselves...

I tried a final search, and it seems that, even though Waffle 3.5.0 is from very recently, it is not upgraded to work with Java 17. Instead, there is a separate depencency called "waffle-jna-jakarta" that works with jakarta instead.

I guess the regular Waffle for javax.servlet is still updated for posterity.

    <dependency>
        <groupId>com.github.waffle</groupId>
        <artifactId>waffle-jna-jakarta</artifactId>
        <version>3.0.0</version>
    </dependency>

was the answer.

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

79463683

Date: 2025-02-24 13:32:42
Score: 6.5 🚩
Natty: 5
Report link

I'm having the same problem. I don't know if it's unsupported or not. But the way I solve it is to create a normal node in between 2 map-reduce sections and it works!

Reasons:
  • Blacklisted phrase (1): I'm having the same problem
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Chatrtham Chatramornrat

79463682

Date: 2025-02-24 13:32:42
Score: 0.5
Natty:
Report link

Use alpinejs-xcomponent

https://github.com/lmanukyan/alpinejs-xcomponent

<script src="https://unpkg.com/[email protected]/alpine-components.min.js"></script>
<script defer src="https://unpkg.com/[email protected]/dist/cdn.min.js"></script>

<div x-data="{
    countries: [
        {name: 'Russia', area: 17098246, population: 146150789},
        {name: 'Canada', area: 9984670, population: 41465298},
        {name: 'China', area: 9596960, population: 1408280000},
        {name: 'United States', area: 9525067, population:  340110988},
        {name: 'Brazil', area: 8510346, population:  212583750}
    ]
}">
    <table border="1">
        <tr>
            <th>Name</th>
            <th>Area</th>
            <th>Population</th>
        </tr>
        <template x-for="country in countries">
            <tr x-data="template('country-item')" x-bind="bind" x-model="country"></tr>
        </template>
    </table>
</div>

<template id="country-item">
    <td x-text="props.name"></td>
    <td x-text="props.area"></td>
    <td x-text="props.population"></td>
</template>

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

79463678

Date: 2025-02-24 13:31:42
Score: 2
Natty:
Report link

It 2025 and still sees javascript objects naming with first letter being capital, it not a problem for many but very disastrous to beginners studying javascript. The language is too dynamic, enabling misunderstandings all over. As in contrast to c++, you gain complete understanding of how objects behave.

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

79463668

Date: 2025-02-24 13:25:40
Score: 1
Natty:
Report link

Method 1

Add the following code to your theme's functions.php file...

add_action('template_redirect', function() {
$urls_to_404 = [
    '/example-page/',    // Replace Url
    '/example-page 2/',
];

$current_url = $_SERVER['REQUEST_URI'];

foreach ($urls_to_404 as $url) {
    if (trailingslashit($current_url) === trailingslashit($url)) {
        global $wp_query;
        $wp_query->set_404();
        status_header(404);
        nocache_headers();
        include(get_query_template('404'));
        exit;
    }
} });

Method 2

Using a Redirect Plugin Install "Redirection" plugin. Go to Tools > Redirection. Add a new redirect:

Source URL: /example-page/

Target URL: 404 (select "Do nothing" and check "404 Not Found").

Plugin Url https://wordpress.org/plugins/redirection/ enter image description here

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

79463667

Date: 2025-02-24 13:25:40
Score: 3
Natty:
Report link

Update: Poetry >2.0 now supports PEP standard project settings in pyproject.toml

Check out:

https://python-poetry.org/blog/announcing-poetry-2.0.0/

https://python-poetry.org/docs/pyproject/

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

79463664

Date: 2025-02-24 13:23:40
Score: 1.5
Natty:
Report link

The easiest solution would be to use https://github.com/freedomofpress/dangerzone - it basically renders input PDF (or makes it PDF first if necessary) and than output rendered pixels as new PDF.

The upside - no JS and other crap can survive the process. The downside - you loose clickable links, copyable text etc.

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

79463663

Date: 2025-02-24 13:23:39
Score: 6.5 🚩
Natty: 4.5
Report link

I'm having the exact same issue as the OP, only I don't have a .pnp file anywhere. What is that file exactly? Is it related to PNPM, Yarn, etc?

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Me too answer (2.5): I'm having the exact same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Andrew Jones

79463659

Date: 2025-02-24 13:22:39
Score: 1.5
Natty:
Report link

Don't use unsafe inline at all; rather put all js and css into separate files, then use script and style src as self.

If you need any external css or js, then add these links to your CSP. It's safer. Also avoid putting JavaScript like onClick and such in your HTML code. Just put an ID and do it in an external js.

Reasons:
  • Blacklisted phrase (1): these links
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Aleksander Karabtsuk

79463651

Date: 2025-02-24 13:18:38
Score: 1
Natty:
Report link

Refer to the docs: https://github.com/sidekiq/sidekiq/wiki/Using-Redis

You must either set REDIS_URL env variable to the url of the redis instance, or set the variable REDIS_PROVIDER to the name of the variable containing that url, e.g.: REDIS_PROVIDER=REDISCLOUD_URL

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

79463630

Date: 2025-02-24 13:10:36
Score: 1.5
Natty:
Report link

Another open source project. Tested in 2025 with https. Very simple : only one php file, less then 400 lines of code.

The advantage of this project is that it proxifies recursively the resources within web pages (images, css, scripts)

https://github.com/mcnemesis/proxy.php

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

79463629

Date: 2025-02-24 13:10:35
Score: 6.5 🚩
Natty:
Report link

Getting an error on the ingErrors,displin (the error is on the comma) in the cmd. Any ideas?

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

79463627

Date: 2025-02-24 13:10:35
Score: 0.5
Natty:
Report link

Addition to @jcomeau_ictx 's answer,

classes: $(SOURCES)
    javac -d obj \
     -cp $(ANDROID) \
     src/com/example/hello_world/*.java

would result in clean output.

I am not well versed in java, but after reading java docs, I am able to interpret that -bootclasspath option is depreceated in JDK 9+

--boot-class-path path or -bootclasspath path Overrides the location of the bootstrap class files. Note: This can only be used when compiling for releases prior to JDK 9. As applicable, see the descriptions in --release, -source, or -target for details. For JDK 9 or later, see --system.

Why -classpath works?

--class-path path, -classpath path, or -cp path Specifies where to find user class files and annotation processors. This class path overrides the user class path in the CLASSPATH environment variable.

Since we need to use android.jar, we can add it to classpath and let JVM know that android package exists.

Note: My explanation may not be correct or well explanatory since I am new to java and android

References:

  1. what is classpath?
  2. Build APK from CLI
Reasons:
  • RegEx Blacklisted phrase (1.5): I am new
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
Posted by: Faraaz Kurawle

79463625

Date: 2025-02-24 13:09:35
Score: 1
Natty:
Report link

It seems that your Vault is overriden by Git. Try this in your application.yml:

...
    spring:
...
      cloud:
        config:
          allowOverride: false
          overrideNone: true
...

see: https://docs.spring.io/spring-cloud-config/reference/server/environment-repository/using-bootstrap-to-override-properties.html

Reasons:
  • Whitelisted phrase (-1): Try this
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Pavlo.P

79463621

Date: 2025-02-24 13:08:34
Score: 5.5
Natty:
Report link

Im having the same issue the closest ive come is manually running in terminal but for me it dosent even work in PyCharm

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): having the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jacob Strange

79463620

Date: 2025-02-24 13:07:34
Score: 2
Natty:
Report link

If I understand your question correctly this can be easily done by double clicking on the data band. A popup should appear with a box labeled 'Number of Records' to the desired number of records. This is using Fastreport VCL but I would expect Fastreport FMX would work the same.

enter image description here

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

79463618

Date: 2025-02-24 13:06:34
Score: 0.5
Natty:
Report link

Unfortunately at the time of this writing (2025-02-24) Central Package Management (CPM) does not support the old style csproj, so in essence .NET Framework projects are not supported.

[Feature]: Add support for central package management to Visual Studio Package Manager UI for legacy projects

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

79463614

Date: 2025-02-24 13:04:33
Score: 5.5
Natty:
Report link

Which environment are you using for your chatbot? Your tenants default environment or a extra environment for your chatbot and associated flows?

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

79463610

Date: 2025-02-24 13:04:33
Score: 1.5
Natty:
Report link

No need for explicit closing: WebClient is thread-safe and does not require explicit closing, as it is managed by Reactor Netty. There is no need to close it unless you are using custom resources.

Connection management in Reactor Netty: If you are using the standard WebClient, resources and connection pool are managed automatically. For custom resources, such as ConnectionProvider, they must be closed manually when the application is terminated.

Recommendations for long-lived applications: For Telegram bots, create one instance of WebClient, reuse it, and configure connection parameters via ConnectionProvider if necessary.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Глеб Кудрявцев

79463609

Date: 2025-02-24 13:04:33
Score: 0.5
Natty:
Report link

In order not to use floats and not to clear the float, you can apply the margin. This will work with old CSS versions as well.

table {
   width: auto;
   margin-left: auto; /* This pushes the table to the right */
   margin-right: 0;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: mazy

79463603

Date: 2025-02-24 13:02:32
Score: 2
Natty:
Report link

Once you find it is easy:

Just don't select the word you want to find. Put the cursor in it, then search. The whole word will still be searched for but the checkbox remains blank:

enter image description here

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

79463600

Date: 2025-02-24 13:02:32
Score: 0.5
Natty:
Report link

Drizzle ORM does not work at runtime on Cloudflare Pages but works on Vercel Cloudflare Pages (Edge Runtime): Limitations of Edge Runtime: Cloudflare Pages deploys your API routes and Server Actions as Edge Functions (Cloudflare Workers). These workers run in an environment that does not support many Node.js APIs such as:

fs (file system access) net (TCP connections) Drizzle ORM relies on these modules to load migration files and establish direct database connections. Therefore, if you try to use Drizzle ORM for runtime queries on Cloudflare Pages, you will encounter errors because the necessary Node.js modules are missing in the Edge Runtime.

What You Can Do Instead:

Schema Management: You can still use Drizzle ORM locally for schema management and migration generation. Use drizzle-kit to generate and apply migrations to your Supabase database. Database Queries at Runtime: Since direct database connections via Drizzle are not feasible on Cloudflare Pages, you should use the Supabase REST API (or another compatible edge-friendly adapter like Prisma Data Proxy) to perform runtime queries. This allows you to interact with your database without relying on Node.js-specific modules. Vercel (Node.js Runtime): Full Node.js Support: Vercel’s default runtime for API routes and Server Components is the Node.js Runtime, which supports all Node.js modules (including fs, net, etc.). This means Drizzle ORM can be used for both schema management and runtime queries on Vercel without encountering the limitations present in Edge Runtime environments. Developer Experience: With Vercel, you benefit from full support for Node.js APIs, making it straightforward to use ORMs like Drizzle ORM for type-safe, direct database access in your Next.js application. Summary: Cloudflare Pages:

Runtime: Edge Runtime (Cloudflare Workers) Issue: Lacks Node.js modules like fs and net required by Drizzle ORM Workaround: Use Drizzle ORM for migration/schema management only; for runtime queries, rely on the Supabase REST API or an edge-compatible solution like Prisma Data Proxy. Vercel:

Runtime: Node.js Runtime Advantage: Full Node.js API support allows you to use Drizzle ORM both for migrations and runtime database queries. In short, if you plan to deploy on Cloudflare Pages, you won’t be able to use Drizzle ORM for runtime operations due to the limitations of the Edge Runtime. You can still use it for managing your schema, but for data queries you'll need an alternative approach. Conversely, deploying on Vercel provides a Node.js environment where Drizzle ORM works as expected.

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

79463597

Date: 2025-02-24 13:01:32
Score: 1.5
Natty:
Report link

I tried the solution, but changing the type and the daemonize does not resolve the problem. I tried a lot of different ways but the error still persists. Then I ran the pkill -f frappe-bench command and the error was resolved. I believe this would be helpful.

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

79463596

Date: 2025-02-24 13:01:32
Score: 1
Natty:
Report link

I closed visual studio code and re-opened it and that solved the problem. I am not sure why it happened in the first place but probably due to some command in the shell script I was writing and debugging,

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

79463594

Date: 2025-02-24 13:00:32
Score: 0.5
Natty:
Report link

You should update minSdk with higher version. Follow this path to find build.gradle file. android>app>build.gradle. then update the minSdk with higher version

defaultConfig {
    applicationId = "com.example.project_name"
    minSdk = 29
    targetSdk = flutter.targetSdkVersion
    versionCode = flutter.versionCode
    versionName = flutter.versionName
}

For find latest sdk versions, use this link.

Reasons:
  • Blacklisted phrase (1): this link
  • Has code block (-0.5):
Posted by: Dinith

79463593

Date: 2025-02-24 12:59:32
Score: 1
Natty:
Report link

A solution you might try is, go to:

Home > Tools & Settings > Server-wide mail settings > Settings

Limitations on outgoing email messages

The following limits are default. They can be overridden in each service plan and subscription. The limits do not work server-wide, but act as a template for the plans and subscriptions for which no custom limits were specified. Note that switching on the limitation of outgoing email messages can affect the mail server performance. Learn more about limiting outgoing mail

Disable this: Turn on limitations on outgoing email messages

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Γεώργιος Π

79463587

Date: 2025-02-24 12:58:31
Score: 3
Natty:
Report link

thanks to everyone who has helped me.

It actually turned out that the ffmpeg release I installed as an update did not contain the libmp3lame. To fix this, I had to download an alternative release and after deleting the old installation folder, install it in a new folder and set the system path variable again. Simply putting the new release of ffmpeg in the old installation folder did not work, strangely enough. Ffmpeg then insisted that libmp3lame was not installed...

In short, now everything works as it should.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): did not work
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Ralf Stresow

79463583

Date: 2025-02-24 12:56:31
Score: 1.5
Natty:
Report link

Besides setting the font size with jtable.setFont(jtable.getFont().deriveFont(size)), you also need to set the row height. I find that the font size + 4 works well: jtable.setRowHeight((int) size+4).

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: John Caron

79463582

Date: 2025-02-24 12:56:31
Score: 1.5
Natty:
Report link

We have encountered a similar situation in our projects. All other compilation flags, except for fortify, produce the expected checksec output.

If anyone is interested in verifying whether it works as expected, we have a Minimal, Verifiable, Complete Example (MVCE) available here: Stoppable_MVE

It makes use of memcpy and memmove, which should be fortifiable functions.

The compiler settings file can be found at: compiler_settings.cmake

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

79463581

Date: 2025-02-24 12:55:31
Score: 1.5
Natty:
Report link

I'm not sure why this fixing the issue and it makes no sense to me whatsoever but i set the default database back to master.

I added a USE MyDB before the stored procedure and it works now.

Use MyDB 
Go
Exec MyProc
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Tommy W Holden

79463580

Date: 2025-02-24 12:55:31
Score: 1.5
Natty:
Report link

I've managed to fix this by going to settings.json and adding the following line:

"terminal.integrated.inheritEnv": true

Restart vscode and you will be good to go.

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

79463574

Date: 2025-02-24 12:53:30
Score: 1
Natty:
Report link

Before installing new project just use this 2 console commands:

gem uninstall concurrent-ruby
gem install concurrent-ruby -v 1.3.4

Then u can easily install your new project and add specific version of this gem in Gemfile.

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

79463572

Date: 2025-02-24 12:53:30
Score: 2
Natty:
Report link

It might be due to some technical error that arose due to some coding issues that were not able to pass the test case. Most of the game development company in UAE have never faced this issue this is possible due to the expert team who has years of experience in developing the games as well as expertise in the latest unreal game development tools.

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

79463570

Date: 2025-02-24 12:52:30
Score: 2.5
Natty:
Report link

You can go to "Settings/Preferences > Editor > General> Appearance" option, and disabling the annoying option (s) should do the trick.

Note : The interface might differ slightly if you are on Windows.

enter image description here

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

79463569

Date: 2025-02-24 12:52:30
Score: 2.5
Natty:
Report link

Okey, problem solved! Python was looking at the local installation of Scipy before looking to the environment installation, raising a dependencies problems. To solve it, you can uninstall Scipy from the local machine (pip uninstall didn't work for me, so I manually remove it from ~/.local/lib/python3.9/site-packages/) or avoid python looking at the local installation with bash export PYTHONNOUSERSITE=1

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

79463565

Date: 2025-02-24 12:51:30
Score: 3
Natty:
Report link

The filter model gets reset to null when using string mode (not sure why). Try turning of strict mode and see if that solves the issue.

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

79463551

Date: 2025-02-24 12:46:28
Score: 5
Natty:
Report link

Eclipse Breadcrumb setting

Did you press this button? Look for "breadcrumb" in settings.

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (0.5):
Posted by: MarcelTon

79463544

Date: 2025-02-24 12:42:27
Score: 2
Natty:
Report link

In PrimeReact for the tree component there is an option to set the selectable property for each node

TreeNode/selectable

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Георгий Барсегян

79463539

Date: 2025-02-24 12:41:27
Score: 2.5
Natty:
Report link

Not finding a solution, I approached it differently. I created a new endpoint, /mon-compte/vouchers/download. I pass the current language in the arguments of the download button on my /en/mon-compte/voucher page. I handle the click with JS, then send it to the new download endpoint, which is managed in store default language. I retrieve the language passed in the arguments, and this way, I return the corresponding PDF without worrying about the translation plugin

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

79463538

Date: 2025-02-24 12:41:27
Score: 1.5
Natty:
Report link

Check out this sample. Here i used only html and css. Menu will open on click and collapse

[https://codepen.io/kuttisenthil/pen/wBvWOGv][1]
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: senthilkumar

79463533

Date: 2025-02-24 12:38:27
Score: 1.5
Natty:
Report link

When using the Scanner class in Java, one common issue arises when you read an integer followed by a string. This often leads to the string input being skipped. The reason for this is that after you read an integer, there's a newline character left in the input buffer, which can interfere with subsequent inputs.

To solve this problem, you should always follow up your integer input with a call to nextLine(). This method consumes the leftover newline character before you read the string. In simple terms:

  1. Read the integer input.
  2. Immediately after, use nextLine() to clear the buffer.
  3. Then, proceed to read your string input.

Following this approach will help ensure that both your integer and string inputs are read correctly. If you keep these steps in mind, you should be able to avoid any input issues. If you have more questions, feel free to ask!

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Богдан Лямзин

79463526

Date: 2025-02-24 12:36:26
Score: 1.5
Natty:
Report link

words = input().split(" ")

for word in words:

word_count = 0
for word2 in words:

   if word2.lower() == word.lower():
       word_count += 1
print(f'{word} {word_count}')
       

Here is my solution. no imports just a simple nested loop.

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

79463524

Date: 2025-02-24 12:35:26
Score: 0.5
Natty:
Report link

Final solution was removing catch all template:

template <EventId_e EventId, typename... Args>
static void Log(Args... args) {
  LogMessage(static_cast<Args>(args)...);
}

And using this type of template for every ID:

template <EventId_e EventId, typename std::enable_if<EventId == EventId_e::EventId_OverVoltageWarning, int>::type = 0>  void Log(uint16_t MaxCellVoltage, uint16_t MinCellVoltage, int16_t PeakCurrent) { LogMessage(MaxCellVoltage, MinCellVoltage, PeakCurrent); }
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Sarge324

79463523

Date: 2025-02-24 12:34:25
Score: 3.5
Natty:
Report link

I added

pip3 install pysnmplib

which seems to have fixed it.

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

79463516

Date: 2025-02-24 12:32:25
Score: 3
Natty:
Report link

The Spring WebFlux is thread-safe and designed to be reusable. However, since it uses Reactor Netty under the hood, it is important to consider resource management, especially in long-lived applications.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Глеб Кудрявцев