79384922

Date: 2025-01-24 16:10:39
Score: 0.5
Natty:
Report link

Thanks for your suggestions. Here is the working code:

package com.example.passwordsafe.data;

import com.example.passwordsafe.core.usecases.EncryptionModuleInterface;

import javax.crypto.*;
import javax.crypto.spec.IvParameterSpec;
import javax.crypto.spec.PBEKeySpec;
import javax.crypto.spec.SecretKeySpec;
import java.security.InvalidAlgorithmParameterException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.security.SecureRandom;
import java.security.spec.InvalidKeySpecException;
import java.security.spec.KeySpec;
import java.util.Base64;

public class AESEncryption implements EncryptionModuleInterface {
    private static final int ITERATION_COUNT = 1000000;
    private static final int KEY_LENGTH = 256;
    private static final String PBKDF_ALGORITHM = "PBKDF2WithHmacSHA1";
    private static final String TRANSFORMATION = "AES/CBC/PKCS5Padding";
    private static final String ALGORITHM = "AES";

    @Override
    public String encryptPassword(String password, String masterpassword) {
        byte[] finalCiphertext;

        SecureRandom random = new SecureRandom();
        byte[] salt = new byte[16];
        random.nextBytes(salt);

        KeySpec spec = new PBEKeySpec(masterpassword.toCharArray(), salt, ITERATION_COUNT, KEY_LENGTH);

        try {
            SecretKeyFactory factory = SecretKeyFactory.getInstance(PBKDF_ALGORITHM);
            byte[] key = factory.generateSecret(spec).getEncoded();
            SecretKeySpec keySpec = new SecretKeySpec(key, ALGORITHM);

            byte[] ivBytes = new byte[16];
            random.nextBytes(ivBytes);
            IvParameterSpec iv = new IvParameterSpec(ivBytes);

            Cipher cipher = Cipher.getInstance(TRANSFORMATION);
            cipher.init(Cipher.ENCRYPT_MODE, keySpec, iv);

            byte[] inputBytes = password.getBytes();

            byte[] encValue = cipher.doFinal(inputBytes);
            finalCiphertext = new byte[encValue.length+2*16];
            System.arraycopy(ivBytes, 0, finalCiphertext, 0, 16);
            System.arraycopy(salt, 0, finalCiphertext, 16, 16);
            System.arraycopy(encValue, 0, finalCiphertext, 32, encValue.length);

        } catch (NoSuchPaddingException | InvalidKeyException | InvalidAlgorithmParameterException |
                 InvalidKeySpecException | NoSuchAlgorithmException | IllegalBlockSizeException | BadPaddingException e) {
            throw new RuntimeException(e);
        }

        Base64.Encoder encoder = Base64.getEncoder();

        return encoder.encodeToString(finalCiphertext);
    }

    @Override
    public String decryptPassword(String password, String masterpassword) {
        byte[] ivBytes = new byte[16];
        byte[] salt = new byte[16];
        byte[] encValue;

        Base64.Decoder decoder = Base64.getDecoder();
        byte[] readEncryptedBytesWithIvAndSaltPrefix = decoder.decode(password);

        byte[] inputBytes = new byte[readEncryptedBytesWithIvAndSaltPrefix.length - 32];

        System.arraycopy(readEncryptedBytesWithIvAndSaltPrefix, 0, ivBytes, 0, 16);
        System.arraycopy(readEncryptedBytesWithIvAndSaltPrefix, 16, salt, 0, 16);
        System.arraycopy(readEncryptedBytesWithIvAndSaltPrefix, 32, inputBytes, 0, readEncryptedBytesWithIvAndSaltPrefix.length - 32);

        KeySpec spec = new PBEKeySpec(masterpassword.toCharArray(), salt, ITERATION_COUNT, KEY_LENGTH);

        try {
            SecretKeyFactory factory = SecretKeyFactory.getInstance(PBKDF_ALGORITHM);
            byte[] key = factory.generateSecret(spec).getEncoded();
            SecretKeySpec keySpec = new SecretKeySpec(key, ALGORITHM);

            IvParameterSpec iv = new IvParameterSpec(ivBytes);

            Cipher cipher = Cipher.getInstance(TRANSFORMATION);
            cipher.init(Cipher.DECRYPT_MODE, keySpec, iv);

            encValue = cipher.doFinal(inputBytes);

        } catch (NoSuchAlgorithmException | NoSuchPaddingException | InvalidKeyException | IllegalBlockSizeException |
                 BadPaddingException | InvalidKeySpecException | InvalidAlgorithmParameterException e) {
            throw new RuntimeException(e);
        }

        return new String(encValue);
    }
}
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: max23

79384908

Date: 2025-01-24 16:05:37
Score: 3
Natty:
Report link

@AhmadMahmoudSaleh You can get rid of error "Unresolved reference to version catalog" by simply enclosing libs in parentheses - (libs). javaClass. This way you will force the compiler to recalculate the type from scratch, rather than bypass the error.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @AhmadMahmoudSaleh
  • Low reputation (1):
Posted by: Prochell

79384906

Date: 2025-01-24 16:05:37
Score: 3.5
Natty:
Report link

It looks like when I hit the route with anything other then the browser it returns the proper error code and message. I have a feeling it has something to do with the frontend. Thank you to everyone who posted about my code being correct.

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

79384896

Date: 2025-01-24 16:02:37
Score: 2
Natty:
Report link

I removed

style.ParagraphFormat.LineSpacing = 15; 
style.ParagraphFormat.LineSpacingRule = LineSpacingRule.Exactly;

and now the image is aligned properly inside the top margin

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

79384894

Date: 2025-01-24 16:01:36
Score: 0.5
Natty:
Report link

One of ChatGPTs answer.

To handle custom properties like description and versionNumber, you can cast item to your CamsComboBoxItem type:

<ComboBox
    titleText="Contact"
    placeholder="Select contact method"
    let:item
    let:index
    items={items}
    selectedId={1}
    {itemToString}
>
    <div title={(item as CamsComboBoxItem).description}>
        <strong>{(item as CamsComboBoxItem).name}</strong>
    </div>
    <div>
        Version Number: {(item as CamsComboBoxItem).versionNumber}
    </div>
    <div>
        index: {item.id}
    </div>
</ComboBox>

This approach explicitly informs TypeScript that item can have additional properties like description and versionNumber. Type assertions (as CamsComboBoxItem) ensure compatibility without changing the underlying ComboBoxItem type definition.

Reasons:
  • Blacklisted phrase (0.5): contact me
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: G-key

79384888

Date: 2025-01-24 15:59:36
Score: 2.5
Natty:
Report link

Well by the exception, looks like Eclipse can’t find your app ID—make sure you set eclipse.application in config.ini to your app’s ID. Also, double-check that bundles.info is not playing hide-and-seek.

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

79384883

Date: 2025-01-24 15:57:35
Score: 1.5
Natty:
Report link

In my case my vim ack plugin was causing this error. Fixed by updating my ack via brew install ack

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

79384879

Date: 2025-01-24 15:54:34
Score: 4
Natty: 4.5
Report link

I tried this way too, but still receiving same error again. here is solution

https://techdaytodayissue.blogspot.com/2025/01/how-to-resolve-cors-issue-in-angular-12.html

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

79384872

Date: 2025-01-24 15:51:32
Score: 1.5
Natty:
Report link

if you are working in react just create an env file make your base url with your local host for ex. BASE_URL=http://localhost:1337 the return to your img and type in src {${import.meta.env.BASE_URL}${item.url}}

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

79384862

Date: 2025-01-24 15:48:32
Score: 1
Natty:
Report link

Well for some reason -

GLES20.GlBlendFuncSeparate( GLES20.GlSrcAlpha, GLES20.GlOneMinusSrcAlpha, GLES20.GlZero, GLES20.GlOne );

fixed my problem. How or why I dont know.

GLES20.GlBlendFunc( GLES20.GlSrcAlpha, GLES20.GlOneMinusSrcAlpha );

was already giving me the correct blending arithmetic - but for some reason it corrects the pixel address arithmetic..

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

79384846

Date: 2025-01-24 15:40:30
Score: 1.5
Natty:
Report link

document.addEventListener('DOMContentLoaded', function() {
  const cardWrapper = document.querySelector('.card-wrapper');
  const btnScrollUp = document.getElementById('btn-scroll-up');
  const btnScrollDown = document.getElementById('btn-scroll-down');

  let scrollAmount = window.innerWidth < 768 ? 50 : 100; // Adjust scroll amount based on screen size

  function scrollVertically(direction) {
    // Scroll up
    if (direction === 1) {
      cardWrapper.scrollBy({
        top: -scrollAmount,
        behavior: 'smooth'
      });
    }
    // Scroll down
    else {
      cardWrapper.scrollBy({
        top: scrollAmount,
        behavior: 'smooth'
      });
    }

    // Update button visibility after scrolling
    setTimeout(updateScrollButtons, 300); // Delay to allow for smooth scrolling
  }

  function updateScrollButtons() {
    const currentScrollPosition = cardWrapper.scrollTop;
    const maxScrollHeight = cardWrapper.scrollHeight - cardWrapper.clientHeight;

    // Hide or show the up button
    btnScrollUp.style.display = currentScrollPosition <= 0 ? 'none' : 'flex';

    // Hide or show the down button
    btnScrollDown.style.display = currentScrollPosition >= maxScrollHeight ? 'none' : 'flex';
  }

  // Initialize scroll button visibility
  updateScrollButtons();

  // Create a wrapper function for scrolling up
  function scrollUp() {
    scrollVertically(1);
  }

  // Create a wrapper function for scrolling down
  function scrollDown() {
    scrollVertically(-1);
  }

  // Add event listeners for buttons
  btnScrollUp.addEventListener('click', scrollUp);
  btnScrollUp.addEventListener('touchstart', scrollUp);
  btnScrollDown.addEventListener('click', scrollDown);
  btnScrollDown.addEventListener('touchstart', scrollDown);

  // Add scroll event listener to update button visibility when scrolling manually
  cardWrapper.addEventListener('scroll', updateScrollButtons);

  // Add event listeners for "View More" buttons
  const viewMoreButtons = document.querySelectorAll('.view-more-btn');
  viewMoreButtons.forEach(button => {
    button.addEventListener('click', function() {
      const cardDetails = this.parentElement.querySelector('.card-text');
      cardDetails.classList.toggle('expanded'); // Toggle the expanded class

      // Scroll to the bottom of the card wrapper if expanding the last card
      if (this.closest('.card') === cardWrapper.lastElementChild) {
        cardWrapper.scrollTo({
          top: cardWrapper.scrollHeight, // Scroll to the bottom of the card wrapper
          behavior: 'smooth' // Smooth scroll
        });
      }

      this.textContent = cardDetails.classList.contains('expanded') ? 'View Less' : 'View More'; // Change button text

      // Update scroll button visibility
      updateScrollButtons();
    });
  });

  // Add touch and click event listeners to the window for scrolling
  ['touchstart', 'click'].forEach(function(e) {
    window.addEventListener(e, function(event) {
      if (event.target === btnScrollUp) {
        scrollUp();
      } else if (event.target === btnScrollDown) {
        scrollDown();
      }
    });
  });
});
:root {
    --primary-color: #00605f;
        --secondary-color: #017479;
        --text-dark: #0f172a;
    --white: #ffffff;
    }
    .testimonial-container-right {
      grid-area: testimonial-container-right;
      display: flex;
      flex-direction: column;
    }

    .vertical-scroll {
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      /* Change to relative for positioning */
    }

    .btn-scroll {
      font-size: 2rem;
      outline: none;
      border: none;
      color: var(--white);
      cursor: pointer;
      background: var(--primary-color);
      transition: .3s all ease;
    }

    #btn-scroll-up,
    #btn-scroll-down {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      /* Ensure it's displayed as a flex container */
      z-index: 1;
      padding: .5rem 1rem;
    }

    #btn-scroll-up {
      border-radius: 0 0 1rem 1rem;
      top: 0;
    }

    #btn-scroll-down {
      border-radius: 1rem 1rem 0 0;
      bottom: 0;
    }

    .btn-scroll:hover,
    .btn-scroll:focus {
      background-color: var(--secondary-color);
    }

    .card-wrapper {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      gap: 1rem;
      height: 650px;
      overflow-y: hidden;
      position: relative;
    }

    .card {
      padding: 2rem;
      display: flex;
      flex-direction: row;
      align-items: flex-start;
      gap: 1rem;
      background-color: var(--white);
      border-radius: 1rem;
      cursor: pointer;
      max-height: auto;
      border: 1px solid var(--secondary-color);
      -webkit-user-select: none;
      /* Safari */
      -ms-user-select: none;
      /* IE 10 and IE 11 */
      user-select: none;
      /* Standard syntax */
      max-width: 650px;
      /*word-break: break-all;*/
    }

    .testi-image {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .card img {
      width: 75px;
      /* Set a max width for the preview */
      height: 75px;
      /* Set a max height for the preview */
      border-radius: 50%;
      border: 1px solid #eee;
      float: none;
      pointer-events: none;
    }

    .card__content {
      display: flex;
      gap: 1rem;
      flex: 1;
      max-width: 100%;
    }

    .card__content span i {
      font-size: 2rem;
      color: var(--primary-color);
    }

    .card__details {
      flex-grow: 1;
      /* Allow it to grow */
      flex-shrink: 1;
      /* Allow it to shrink */
      min-width: 0;
      /* Avoid forcing unnecessary width */
      max-width: 100%;
      /* Prevent overflow beyond container */
      overflow: hidden;
    }

    .card__details p {
      max-width: 100%;
      font-size: 1rem;
      font-style: italic;
      font-weight: 400;
      color: var(--text-dark);
      margin-right: 1rem;
      margin-bottom: 1rem;
      overflow: hidden;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      /* Limit to 3 lines */
      -webkit-box-orient: vertical;
      transition: max-height 0.3s ease;
      max-height: 4.5em;
      /* Adjust based on line height */

    }

    .card__details p.expanded {
      -webkit-line-clamp: unset;
      /* Remove line limit */
      max-height: none;
      /* Allow full height */
    }

    .card__details h4 {
      text-align: right;
      color: var(--primary-color);
      font-size: 1rem;
      font-weight: 500;
    }

    .card__details h5 {
      text-align: right;
      color: var(--primary-color);
      font-size: .8rem;
      font-weight: 400;
      margin-bottom: .1rem;
    }

    .card__details h6 {
      text-align: right;
      color: var(--text-light);
      font-size: .7rem;
      font-weight: 400;
      display: flex;
      /* Use flexbox for better alignment */
      align-items: center;
      /* Center align items vertically */
      justify-content: flex-end;
      /* Align content to the right */
      margin-top: 0;
      margin-bottom: 0;
    }

    .rating-stars_in_card {
      height: 30px;
      position: absolute;
      vertical-align: baseline;
      color: #b9b9b9;
      line-height: 10px;
      float: left;
      margin: 1rem 0;
    }

    .card__details button {
      padding: .5rem 1rem;
      outline: none;
      border: none;
      border-radius: 5px;
      background: linear-gradient(to right, #ff226f,
          #fe6769);
      color: var(--white);
      font-size: .8rem;
      cursor: pointer;
    }

    @media(max-width:768px){
    .testimonial-container-right{
            margin: 1rem 0 1rem 0;
        }
        .card-wrapper{
            height: 500px;
        }
        .btn-scroll{
            font-size: 1rem;
        }
        #btn-scroll-up,
        #btn-scroll-down {
            padding: .25rem .5rem;
        }
        .card{
            display:flex;
            flex-direction: column; /* Stack elements vertically */
            align-items: center; /* Center items horizontally */
            gap:0;
            width: 300px;
        }
        .card img{
            width: 60px;
            height: 60px;
            margin-bottom: 1rem; /* Add some space below the image */
            order: -1; /* Ensure the image appears first */
        }
        .rating-stars_in_card {
            margin-top: 0.5rem; /* Add some spacing below the image */
        }
        .card__content{
            display: flex;
            gap:1rem;
        }
        .card__content span i{
            font-size: 1.5rem;
        }
        .card__details p{
            font-size: .8rem;
            margin-bottom: 0.5rem;
        }
        .card__details h4{
            font-size: .8rem;
            margin-top: 1.5rem;
        }
        .card__details h5{
            font-size: .7rem;
            margin-bottom: .1rem;
        }
        .card__details h6{
            font-size: .6rem;
        }
        .card__details button{
            padding: .25rem .5rem;
            font-size: .6rem;
        }
    }
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.9.0/css/all.min.css" integrity="sha512-q3eWabyZPc1XTCmF+8/LuE1ozpg5xxn7iO89yfSOd5/oKvyqLngoNGsx8jq92Y8eXJ/IRxQbEC+FGSYxtk2oiw==" crossorigin="anonymous" referrerpolicy="no-referrer" />

        <div class="testimonial-container-right">
          <div class="vertical-scroll">
            <button class="btn-scroll" id="btn-scroll-up">
                <i class="fas fa-chevron-up"></i>
            </button>
          </div>
          <div class="card-wrapper">
            <div class="card">
              <div class="testi-image">
                <img src="https://cdn-icons-png.flaticon.com/512/219/219969.png" alt="client-photo">
              </div>
              <div class="card__content">
                <span><i class="fas fa-quote-left"></i></span>
                <div class="card__details">
                  <p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec in lacinia nisl, ac dapibus magna. Morbi malesuada orci vitae turpis egestas, sit amet pellentesque massa auctor. Etiam id bibendum tellus. Duis accumsan in metus a rutrum. Nam ac rutrum sem, non aliquet neque. Aliquam vulputate interdum finibus. Vestibulum eu efficitur ligula. Nunc felis turpis, tincidunt gravida commodo a, maximus et dui. In fringilla ante vitae tortor venenatis, ac luctus urna faucibus. </p>
                  <button class="view-more-btn">View More</button><br>
                  <div class="rating-stars_in_card">
                    <div class="grey-stars"></div>
                    <div class="filled-stars" style="width:60%"></div>
                  </div>
                  <h4>~ techieafrohead</h4>
                  <h5>India(Amity)</h5>
                  <h6>Service</h6>
                </div>
              </div>
            </div> 
            <div class="card">
              <div class="testi-image">
                <img src="https://cdn-icons-png.flaticon.com/512/219/219969.png" alt="client-photo">
              </div>
              <div class="card__content">
                <span><i class="fas fa-quote-left"></i></span>
                <div class="card__details">
                  <p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec in lacinia nisl, ac dapibus magna. Morbi malesuada orci vitae turpis egestas, sit amet pellentesque massa auctor. Etiam id bibendum tellus. Duis accumsan in metus a rutrum. Nam ac rutrum sem, non aliquet neque. Aliquam vulputate interdum finibus. Vestibulum eu efficitur ligula. Nunc felis turpis, tincidunt gravida commodo a, maximus et dui. In fringilla ante vitae tortor venenatis, ac luctus urna faucibus. </p>
                  <button class="view-more-btn">View More</button><br>
                  <div class="rating-stars_in_card">
                    <div class="grey-stars"></div>
                    <div class="filled-stars" style="width:60%"></div>
                  </div>
                  <h4>~ techieafrohead</h4>
                  <h5>India(Amity)</h5>
                  <h6>Service</h6>
                </div>
              </div>
            </div> 
            <div class="card">
              <div class="testi-image">
                <img src="https://cdn-icons-png.flaticon.com/512/219/219969.png" alt="client-photo">
              </div>
              <div class="card__content">
                <span><i class="fas fa-quote-left"></i></span>
                <div class="card__details">
                  <p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec in lacinia nisl, ac dapibus magna. Morbi malesuada orci vitae turpis egestas, sit amet pellentesque massa auctor. Etiam id bibendum tellus. Duis accumsan in metus a rutrum. Nam ac rutrum sem, non aliquet neque. Aliquam vulputate interdum finibus. Vestibulum eu efficitur ligula. Nunc felis turpis, tincidunt gravida commodo a, maximus et dui. In fringilla ante vitae tortor venenatis, ac luctus urna faucibus. </p>
                  <button class="view-more-btn">View More</button><br>
                  <div class="rating-stars_in_card">
                    <div class="grey-stars"></div>
                    <div class="filled-stars" style="width:60%"></div>
                  </div>
                  <h4>~ techieafrohead</h4>
                  <h5>India(Amity)</h5>
                  <h6>Service</h6>
                </div>
              </div>
            </div> 
            <div class="card">
              <div class="testi-image">
                <img src="https://cdn-icons-png.flaticon.com/512/219/219969.png" alt="client-photo">
              </div>
              <div class="card__content">
                <span><i class="fas fa-quote-left"></i></span>
                <div class="card__details">
                  <p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec in lacinia nisl, ac dapibus magna. Morbi malesuada orci vitae turpis egestas, sit amet pellentesque massa auctor. Etiam id bibendum tellus. Duis accumsan in metus a rutrum. Nam ac rutrum sem, non aliquet neque. Aliquam vulputate interdum finibus. Vestibulum eu efficitur ligula. Nunc felis turpis, tincidunt gravida commodo a, maximus et dui. In fringilla ante vitae tortor venenatis, ac luctus urna faucibus. </p>
                  <button class="view-more-btn">View More</button><br>
                  <div class="rating-stars_in_card">
                    <div class="grey-stars"></div>
                    <div class="filled-stars" style="width:60%"></div>
                  </div>
                  <h4>~ techieafrohead</h4>
                  <h5>India(Amity)</h5>
                  <h6>Service</h6>
                </div>
              </div>
            </div> 
          </div><!--card-wrapper-->
          <div class="vertical-scroll">
            <button class="btn-scroll" id="btn-scroll-down">
              <i class="fas fa-chevron-down"></i>
            </button>
          </div>
        </div><!--testimonial-container-right-->

it finally worked.

thanks to @Mark Schultheiss

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Mark
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: techie_afrohead

79384843

Date: 2025-01-24 15:39:29
Score: 1
Natty:
Report link

Just select the python kernel and it should format the code as python

I ran into an issue where I created a .ipynb file in vscode, but when I add new code cells, they show up as 'plain text' "code" cells instead of python. I was googling for 5 minutes before I just did that and I was good to go.

I think this might be what Denis was referring to by 'starting' the notebook.

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

79384841

Date: 2025-01-24 15:38:29
Score: 3
Natty:
Report link

Add this in config.yaml

webimage_extra_packages: ["php${DDEV_PHP_VERSION}-ssh2"]

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

79384838

Date: 2025-01-24 15:37:29
Score: 3.5
Natty:
Report link

Thank you rehaqds. You nailed it.

Lesson do not debug when tired.

KD

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: KBD

79384833

Date: 2025-01-24 15:35:29
Score: 2
Natty:
Report link

To send email when a activity fails, you could make a success capture activity that has only 'On success' relations. If that activity is skipped, you know there's a failure before.

Example: simplified pipeline

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

79384832

Date: 2025-01-24 15:34:28
Score: 1.5
Natty:
Report link

In 2025, with Android Studio Koala 2024.1.1. Patch 1 and junit 4.12, adding @Ignore after @Test worked.

@Suppress did not work, nor did removing @Test.

Reasons:
  • Blacklisted phrase (1): did not work
  • Low length (1):
  • Has code block (-0.5):
Posted by: bartonstanley

79384826

Date: 2025-01-24 15:33:28
Score: 1.5
Natty:
Report link

You can also use a handy lib called dot-object. Particularly dot.dot() method

var dot = require('dot-object');

var obj = {
  id: 'my-id',
  nes: { ted: { value: true } },
  other: { nested: { stuff: 5 } },
  some: { array: ['A', 'B'] }
};

var tgt = dot.dot(obj);

This will result in

{
  "id": "my-id",
  "nes.ted.value": true,
  "other.nested.stuff": 5,
  "some.array[0]": "A",
  "some.array[1]": "B"
}

Link: https://github.com/rhalff/dot-object?tab=readme-ov-file#convert-object-to-dotted-keyvalue-pair

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: El Niño

79384822

Date: 2025-01-24 15:31:27
Score: 0.5
Natty:
Report link

I know this is 3 years old but another way if you bind to an IEnumerable(Of Entity):

     For Each item In items
         combo.Items.Add(role)
     Next
    
    Combo.SelectedItem = items.Where(Function(x) x.ValueToSelect = ValueToSelect).FirstOrDefault()

Index = combo.selectedIndex
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ian Jowett

79384813

Date: 2025-01-24 15:29:26
Score: 3.5
Natty:
Report link

I can't comment because my account is new, so I will answer...

Did you rise the value of that innodb parameter before try again? Or you gave up trying to add the index.

I'm on a very similar situation and want to know more of the solution you took.

Tks

Reasons:
  • RegEx Blacklisted phrase (1): can't comment
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Beirutec___

79384806

Date: 2025-01-24 15:25:26
Score: 3
Natty:
Report link

Yeah, because you are mixing up the format—use name="projects//locations//repositories//packages//tags/" instead of the wildcard or generic "name: ". And tag me back and reply how it goes, and well, upvote.

Reasons:
  • Blacklisted phrase (0.5): upvote
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Varun Dubey

79384801

Date: 2025-01-24 15:23:25
Score: 1.5
Natty:
Report link

I found the solution in this documentation:

https://ddev.readthedocs.io/en/stable/users/extend/customizing-images/#adding-php-extensions

with this line in config.yaml

webimage_extra_packages: ["php${DDEV_PHP_VERSION}-ssh2"]

Reasons:
  • Blacklisted phrase (1): this document
  • Whitelisted phrase (-2): I found the solution
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Michael Oehlhof

79384793

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

Have you tried using observers this way?

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

79384784

Date: 2025-01-24 15:19:23
Score: 0.5
Natty:
Report link

I solved this by, just creating a reports subdomain instead of using a virtual directory. Still couldnt figure out what the issue was but, after spending a week on this, trying a different method saved the day.

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Sleep Paralysis

79384774

Date: 2025-01-24 15:12:22
Score: 2.5
Natty:
Report link

I've written a script based off of Gary's comment. Github link: https://github.com/HCR-Law/Lnk-File-Generator

It is written in TypeScript and is built to run in Bun, but could easily be rewritten for Node.

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

79384762

Date: 2025-01-24 15:09:21
Score: 2.5
Natty:
Report link

Fruit Salad Recipe for Every Occasion Fruit salads are versatile, refreshing, and packed with nutrients, making them the perfect addition to any meal or event. Whether you’re hosting a family gathering, preparing for a potluck, or looking for a quick and healthy snack, a fruit salad can be tailored to fit every occasion. In this article, we’ll explore the ultimate fruit salad recipe that’s both delicious and easy to prepare.

Why Choose Fruit Salad? Fruit salads are not just a treat for the taste buds; they’re also a feast for the eyes. Their vibrant colors and diverse textures make them a crowd-pleaser. Plus, they’re: Nutrient-Rich: Packed with vitamins, minerals, and antioxidants. Versatile: Adaptable to seasonal fruits and personal preferences. Quick and Easy: Ready in minutes with minimal prep work. Diet-Friendly: Naturally low in calories and suitable for most dietary needs.

Reasons:
  • Blacklisted phrase (1): this article
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Tasty Cooking

79384761

Date: 2025-01-24 15:09:21
Score: 1
Natty:
Report link

If you want to create a List like you do and want to be able to look for values basing on Integer numbers you can do this using __groovy() function like:

${__groovy(vars.getObject('events').find { it[0] == 2 }?.get(1),)}

More information on Groovy scripting in JMeter: Apache Groovy: What Is Groovy Used For?

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Ivan G

79384750

Date: 2025-01-24 15:01:19
Score: 8.5
Natty: 7
Report link

Take 2 by https://stackoverflow.com/users/23109513/unzipgit also seems to me to be an acceptable, though perfectible answer. Unzipgit, could you please provide an easily reproducible answer, which maybe the op could then accept?

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • RegEx Blacklisted phrase (2.5): could you please provide
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: StieK

79384748

Date: 2025-01-24 15:01:18
Score: 1
Natty:
Report link
  1. Check you EC2 instance quotas to ensure you are able to launch VT1 instances - should be named "Running On-Demand G and VT instances" or "All G and VT Spot Instance Requests" for Spot instances.

  2. Check that your job memory requirements leave some room for the ECS agent. Batch reserves a small portion of memory in the instance for this and other system tasks.

  3. Check the job status. Blocked job queue events should update the job status if there is something wrong with the request.

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

79384743

Date: 2025-01-24 14:59:17
Score: 9
Natty: 7
Report link

Thank you @Yosoyadri, you saved my day ! This is the only solution that worked for me !

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (2): you saved my
  • Blacklisted phrase (2): saved my day
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @Yosoyadri
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Antoine Bigeard

79384736

Date: 2025-01-24 14:56:16
Score: 13.5 🚩
Natty: 5.5
Report link

Were you able to use airmon-ng via termux? Can it be used to measure the noise floor in a Wi-Fi channel?ALso which usb wifi adapter did you use and how? Can you provide some in-depth information? Thanks in advance

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2.5): Can you provide some
  • RegEx Blacklisted phrase (3): Thanks in advance
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Pradee Prabhu

79384733

Date: 2025-01-24 14:54:15
Score: 5
Natty: 5.5
Report link

I've found the answer years later: https://github.com/apache/superset/discussions/29340

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

79384725

Date: 2025-01-24 14:52:14
Score: 1
Natty:
Report link

Currently, you can directly use from_polars():

from datasets import Dataset

hf_dataset = Dataset.from_polars(df)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: GoTrained

79384720

Date: 2025-01-24 14:51:14
Score: 2.5
Natty:
Report link

It's most probably a version mismatch, you may need to dig deep. Reinstall it to ensure the module is correctly installed. Check if your Python version is compatible with PyQt6 6.8, as version mismatch with python can be more of a cause than pycharm.

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

79384719

Date: 2025-01-24 14:50:13
Score: 2.5
Natty:
Report link

please explain the solution in detail. what all parameters do we need in stunnel.conf: stunnel.conf: [binance-fix] client = yes accept = connect = fix-oe.binance.com:9000 key = my/path/to/privatekey.txt

.cfg file:
[DEFAULT]
[DEFAULT]
ConnectionType=initiator
SenderCompID=
TargetCompID=SPOT
SocketConnectHost=
SocketConnectPort=9000
StartTime=00:00:00
EndTime=23:59:59
FileStorePath=store/
FileLogPath=log/
UseDataDictionary=Y
DataDictionary=FIX44.xml
HeartBtInt=30
  [SESSION]
BeginString=FIX.4.4
SenderCompID=
TargetCompID=SPOT
Reasons:
  • RegEx Blacklisted phrase (2.5): please explain the solution
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: K-Luxuriant

79384717

Date: 2025-01-24 14:50:13
Score: 1
Natty:
Report link

The cleaner way to do that is:

  1. Create your analysis in the Analyses tab.
  2. Click on Map right to your expression's Output Attribute (or Output in function for a Rollup analysis).
  3. Click on New Attribute.
  4. Choose Save Output History to No
  5. Give a name/description to your attribute, choose appropiate data server and type, and then click on OK.

The new attribute's Data Reference is then set to Analysis.

Note 1: if choosen Save Output History to Yes in step 4 then the Data Reference is always set to PI Point.

Note 2: no way to set Data Reference to Analysis by a simple creation of an attribute unlinked to an analysis.

Note 3: the best practice for static attributes as outputs of analyses is indeed to set their Data Reference to Analysis, avoid setting that to None though it is possible.

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

79384715

Date: 2025-01-24 14:49:13
Score: 1
Natty:
Report link

I use the sheep24 extensions to install flutter. Then I use command line to build.

For the outdated dependencies error maybe you forget to run flutter pub get before build.

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

79384714

Date: 2025-01-24 14:48:12
Score: 5
Natty:
Report link

Thank you, @MT0 and @jdweng, for your valuable insights regarding the trailing semicolon (;). Removing the semicolon resolved the initial ORA-00933: SQL command not properly ended issue. However, I am now encountering two new problems:

When trying to bind parameters, I get the error: ORA-01008: not all variables bound. If I hard-code the parameter values instead of using bind variables, the query runs without errors, the grid and column headers appear in Uyumsoft, but no data is displayed.

    SELECT 
    ENTITY_ID, 
    ENTITY_CODE AS "CARI KOD", 
    ENTITY_NAME AS "CARI AD", 
    IS_EMAIL AS "MAIL GONDERIM", 
    MAIL_ATTACHMENT_INFO AS "MAIL EKLENECEK DOSYA TIPI", 
    E_INVOICE_PROFILE AS "FATURA SENARYO", 
    EINVOICE_START_DATE AS "MUKELLEF TARIHI", 
    IS_EINVOICE_ENTITY AS "E FATURA MUKELLEFI MI", 
    E_INVOICE_DEL_TYPE AS "EFATURA POSTA KUTUSU", 
    EMAIL AS "EFATURA GONDERIM MAILI"
FROM FIND_ENTITY
WHERE 
    (ENTITY_CODE LIKE '%123%')
    AND (IS_EMAIL = 1)
    AND (EINVOICE_START_DATE >= TO_DATE('2025-01-01', 'YYYY-MM-DD'))
    AND (E_INVOICE_DEL_TYPE = '2')

enter image description here

When attempting to use bind variables, the query looks like this:

SELECT 
    ENTITY_ID, 
    ENTITY_CODE AS "CARI KOD", 
    ENTITY_NAME AS "CARI AD", 
    IS_EMAIL AS "MAIL GONDERIM", 
    MAIL_ATTACHMENT_INFO AS "MAIL EKLENECEK DOSYA TIPI", 
    E_INVOICE_PROFILE AS "FATURA SENARYO", 
    EINVOICE_START_DATE AS "MUKELLEF TARIHI", 
    IS_EINVOICE_ENTITY AS "E FATURA MUKELLEFI MI", 
    E_INVOICE_DEL_TYPE AS "EFATURA POSTA KUTUSU", 
    EMAIL AS "EFATURA GONDERIM MAILI"
FROM FIND_ENTITY
WHERE 
    (:EntityCode IS NULL OR ENTITY_CODE LIKE '%' || :EntityCode || '%')
    AND (:IsEmail IS NULL OR IS_EMAIL = :IsEmail)
    AND (:StartDate IS NULL OR EINVOICE_START_DATE >= TO_DATE(:StartDate, 'YYYY-MM-DD'))
    AND (:InvoiceDeliveryType IS NULL OR E_INVOICE_DEL_TYPE = :InvoiceDeliveryType)

Is this issue related to how Uyumsoft is handling the bind variables, or is there something missing in the query syntax/configuration? Any advice would be greatly appreciated.

Thank you again for your help!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): appreciated
  • RegEx Blacklisted phrase (1): I get the error
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @MT0
  • User mentioned (0): @jdweng
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Gökhan

79384713

Date: 2025-01-24 14:48:12
Score: 3.5
Natty:
Report link

Solved... I was using a VPN that interfered with the redirection to sapui5 and the ODATA service, made by the local proxy (defined in the ui5-local.yaml).

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

79384710

Date: 2025-01-24 14:48:12
Score: 3
Natty:
Report link

yes, it was dash not -y. It was difficult to figure it out, Thank a lot.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: laxman kadam

79384709

Date: 2025-01-24 14:47:12
Score: 2.5
Natty:
Report link

I think those Category div will still be placed below each other because you have set it to be "grid-cols-5". Meaning, there would only be 5 Divs of Category per row. Thus, the remaining 4 Category Divs will be placed on a new row.

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

79384703

Date: 2025-01-24 14:46:12
Score: 0.5
Natty:
Report link

This worked for me:

  1. flutter clean && dart pub get
  2. remove Podfile, pods [directory], podfile.lock
  3. flutter build ios
Reasons:
  • Whitelisted phrase (-1): This worked for me
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Dawit Tesfamariam

79384696

Date: 2025-01-24 14:42:10
Score: 0.5
Natty:
Report link

What worked for me after trying other suggestions was replacing OpenCV.loadShared() with OpenCV.loadLocally(), I'm using gradle on IntelliJ and did not have to do any native library setup. I have the dependency on my build.gradle as per below

implementation group: 'org.openpnp', name: 'opencv', version: '3.4.2-0'

Reasons:
  • Whitelisted phrase (-1): worked for me
  • No code block (0.5):
  • Starts with a question (0.5): What
  • Low reputation (0.5):
Posted by: OAM

79384690

Date: 2025-01-24 14:40:10
Score: 1
Natty:
Report link

Check if you included Microsoft.NETCore.UniversalWindowsPlatform. For me the UWP project didn't target x64 but Any cpu. Changing it to x64 solved it for me.

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

79384684

Date: 2025-01-24 14:37:09
Score: 3.5
Natty:
Report link

Just disable Code Lens and Current Line in vscode settings😉.screenshot

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

79384682

Date: 2025-01-24 14:37:09
Score: 1
Natty:
Report link

specify the regional code in url when you send a request. for example:

https://my-bucket-name.<accountid>.r2.cloudflarestorage.com

add eu before r2

https://my-bucket-name.<accountid>.eu.r2.cloudflarestorage.com
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: arifcelik

79384679

Date: 2025-01-24 14:36:08
Score: 5
Natty: 4.5
Report link

That's work very well for me:) Thx @MrC aka Shaun Curtis

Reasons:
  • Blacklisted phrase (1): Thx
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @MrC
  • Low reputation (1):
Posted by: antopa

79384673

Date: 2025-01-24 14:34:07
Score: 2.5
Natty:
Report link

In some versions of keycloak, the use of lightweight token is enabled by default. This causes the loss of information such as the resource_access in the token. To enable it, go to the client -> Advanced tab -> Advanced settings -> Always use lightweight access token.

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

79384665

Date: 2025-01-24 14:30:06
Score: 0.5
Natty:
Report link

Short answer: your website has been hacked :(

If you run a site:https://abodeinfo.com/ search, you'll see a list of pages indexed by Google on your site, and not only do these pages seem unrelated to your website, but they are also a tell-tale sign of spammy content injected by hacking.

Try viewing your homepage after changing your browser's user agent to a Googlebot user-agent, e.g. Googlebot/2.1 (+http://www.google.com/bot.html), and you'll see that what Googlebot sees has nothing to do with your website.

Furthermore, the XML sitemap at https://abodeinfo.com/sitemap_index.xml appears to have been generated by Rank Math, not Yoast. It contains links to multiple sitemap indexes, each linking to multiple XML sitemaps listing a lot of .htm pages consisting of spammy looking e-commerce pages written in Japanese, e.g. https://abodeinfo.com/71941203252.htm.

Good luck cleaning up this mess! I recommend using the Wordfence plugin for WordPress to identify security vulnerabilities in the themes and plugins you are using. Also, take a look at Google's "Help, I think I've been hacked" guide.

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

79384664

Date: 2025-01-24 14:30:06
Score: 4.5
Natty: 6
Report link

As tested this with another PPA and failed.

Two things to notice:

If there is no /devel/ there is no API output.

Otherwise, great many thx. Help me a lot.

Reasons:
  • Blacklisted phrase (1): thx
  • Blacklisted phrase (1): Help me
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: thizmo

79384663

Date: 2025-01-24 14:30:06
Score: 1
Natty:
Report link

The answer is....

 final AutoDisposeFutureProviderFamily<GdGoalPageResponse, int> provider;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: user2868835

79384657

Date: 2025-01-24 14:27:05
Score: 3
Natty:
Report link

The Zaiats's answer works perfect for me! After follow that steps I already disactivated the usb debugging and disconnect from usb and stills works perfectly. Thanks for that!

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

79384637

Date: 2025-01-24 14:18:03
Score: 2
Natty:
Report link

Swagger uses the provided example values to generate sample requests; if the type doesn't match, it could lead to validation issues.

Can you change the example value for the id in VendorDto to be a valid UUID format instead of '1', since Prisma's id field is a UUID?

For example:

@ApiProperty({ example: '550e8400-e29b-41d4-a716-446655440000', required: false })
@IsOptional()
@IsString()
id?: string;
Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Motunrayo Koyejo

79384629

Date: 2025-01-24 14:15:01
Score: 1.5
Natty:
Report link

I tried all the suggestions, but they still didn’t work and I didnt know either if it helps (perhaps). However, I managed to get it functional.

To achieve this, the virtual machine must be shut down. Go to Virtual Machine -> Settings -> General -> Add Devices -> Network Adapter -> Bridge (Auto Detect).

and voilà

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

79384615

Date: 2025-01-24 14:08:00
Score: 2.5
Natty:
Report link

On the UI, please store the token in session storage or cookies, and then pass the token value through the header to every API. The backend API will retrieve the token from the header and validate it.

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

79384613

Date: 2025-01-24 14:05:59
Score: 0.5
Natty:
Report link

From Angular 19 you can generate components exported as default using the CLI:

ng generate component page --export-default
# or
ng g c page --export-default
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: fabio_biondi

79384597

Date: 2025-01-24 14:00:58
Score: 2.5
Natty:
Report link

TailwindCSS has just released its new v4 version, so all the older v3 documentation has become outdated.

Follow these docs : https://tailwindcss.com/docs/installation/using-vite

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

79384594

Date: 2025-01-24 13:59:58
Score: 0.5
Natty:
Report link

I was facing to the same issue but adding

setOnTouchListener { v, event ->
    v.parent?.requestDisallowInterceptTouchEvent(true)
    v.onTouchEvent(event)
}

to the webView (in the apply block) is fixing the problem !

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

79384592

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

I was facing to the same issue but adding

setOnTouchListener { v, event ->
    v.parent?.requestDisallowInterceptTouchEvent(true)
    v.onTouchEvent(event)
}

to the webView (in the apply block) is fixing the problem !

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

79384588

Date: 2025-01-24 13:57:57
Score: 0.5
Natty:
Report link

I was facing to the same issue but adding

setOnTouchListener { v, event ->
    v.parent?.requestDisallowInterceptTouchEvent(true)
    v.onTouchEvent(event)
}

to the webView (in the apply block) is fixing the problem !

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

79384582

Date: 2025-01-24 13:55:57
Score: 1.5
Natty:
Report link

Using JS create the bootstrap modal instance.

 const modal = new bootstrap.Modal(document.getElementById('staticBackdrop'));
 modal.hide();
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Farhan_Hamza

79384577

Date: 2025-01-24 13:54:56
Score: 2
Natty:
Report link

You're probably missing this in your app.module.ts

ScheduleModule.forRoot()
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nicolas Obregon

79384574

Date: 2025-01-24 13:53:56
Score: 4
Natty:
Report link

Check the indentation of name and command, and maybe of "if" line...

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

79384560

Date: 2025-01-24 13:49:55
Score: 2.5
Natty:
Report link

Be careful with the ibis cumsum function because in some backends it won't work as what it was expected and designed.

E.g. here is an relevant open issue to Bigquery backend: https://github.com/ibis-project/ibis/issues/10699

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

79384557

Date: 2025-01-24 13:49:55
Score: 1
Natty:
Report link

Replace

result.push(data)

with

Object.assign(result, data)
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
Posted by: Ray Wallace

79384554

Date: 2025-01-24 13:48:54
Score: 0.5
Natty:
Report link

have you ever resolve this ? I tried to connect by myself and now I'm able to do so using this solution:

Server Properties > Parameters (add these connection parameters):

SSL mode -> verify-ca

Connection timeout -> 10 seconds

Client certificate key -> (choose file)

Client certificate -> (choose file)

Server certificate -> (choose file)

This way works fine for me. I hope this will help someone with same problem.

image of parameters on PgAdmin 4

Reasons:
  • Whitelisted phrase (-1): hope this will help
  • Whitelisted phrase (-2): solution:
  • RegEx Blacklisted phrase (1.5): resolve this ?
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Ademir

79384551

Date: 2025-01-24 13:45:54
Score: 3
Natty:
Report link

I had encountered the same error on flutter web(3.27.1), but after upgrading it to 3.27.3 error disappeared

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

79384550

Date: 2025-01-24 13:45:53
Score: 6 🚩
Natty: 5.5
Report link

Any news about this question ?

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: B2B

79384545

Date: 2025-01-24 13:43:52
Score: 0.5
Natty:
Report link

As per this official GCP document on Configure secrets for services :

“Any configuration change leads to the creation of a new revision. Subsequent revisions will also automatically get this configuration setting unless you make explicit updates to change it.

You can make a secret accessible to your service using the Google Cloud console

Verify the secret version you're trying to access exists:

gcloud secrets versions list --secret="my-secret

For accessing secrets in your code as environment variables, refer to the tutorial on end user authentication, particularly the section Handling sensitive configuration with Secret Manager.

Also refer to this tutorial on Using Environment Variables in Node.js for App Configuration and Secrets by Ryan Blunden to know more information about how to use environment variables in node.js for app configurations and services.

Reasons:
  • Blacklisted phrase (1): this tutorial
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hemanth Kanchumurthy

79384523

Date: 2025-01-24 13:34:50
Score: 2
Natty:
Report link

You can add to your application.properties spring.codec.max-in-memory-size=16MB or more MB, still works in 2025

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

79384520

Date: 2025-01-24 13:34:50
Score: 1
Natty:
Report link

So after some research we've created our own microservice that basically runs a daily job that checks if all users still exist in Entra ID. This allowed us to stay away from external dependencies in the form of plugins.

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

79384517

Date: 2025-01-24 13:33:45
Score: 6.5 🚩
Natty: 6.5
Report link

Thanks Mike's answer. Is this problem solved?

and Mike's code is not work for me, any progress?

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (1.5): solved?
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: zhipeng hu

79384516

Date: 2025-01-24 13:33:45
Score: 2
Natty:
Report link

as well, I would add the fact that 1 table without a multitenant principle would be a mess to actually have all that information on a single table! So having things separately would also reduce cost due to the fact that are fewer columns!

Here's a good article on this matter: https://www.onelogin.com/learn/multi-tenancy-vs-single-tenancy

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

79384512

Date: 2025-01-24 13:33:43
Score: 8.5 🚩
Natty: 5.5
Report link

@MikeK - Did you get this resolved? I just was having the same issues and your post helped at least figure out WHAT was happening. On the main laptop screen...button triggers immediately. But if i move the spreadsheet to an extended monitor, it doesn't trigger unless i hold the mouse down on the button for about 4 seconds.

Thank you

Edit....more googling and i found a solution that worked for me. Bottom right on display settings, change from optimize for appearance to optimize for compatibility.

solution came from this link https://answers.microsoft.com/en-us/msoffice/forum/all/command-button-macro-not-working-when-on-second/61da5773-29cc-4701-b065-3ddc5e0d8c1b

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): this link
  • Whitelisted phrase (-1): worked for me
  • RegEx Blacklisted phrase (3): Did you get this resolved
  • RegEx Blacklisted phrase (1.5): resolved?
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @MikeK
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: GuyboR

79384509

Date: 2025-01-24 13:31:43
Score: 1
Natty:
Report link

the issue could be with activation issues the account you are trying to access with must be non- microsoft account, they might be asking you to use product key. you can try using your original default outlook or administrator account. hope this helps!

Reasons:
  • Whitelisted phrase (-1): hope this helps
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Pooja Patel

79384504

Date: 2025-01-24 13:30:42
Score: 1
Natty:
Report link

On my Docker Windows Container, all the above did not work because I could not install Windows Media Feature Pack, probably not available in my container.

I managed to find out the missing dlls, which were:

(You can find them in C:\Windows\System32 on a normal Windows 11 installation, on which you previously installed the Media Feature Pack).

Then I COPY the 4 dlls, thanks to my Dockerfile:

COPY install\\*.dll C:\\Windows\\System32\\
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): did not work
  • Has code block (-0.5):
Posted by: PJ127

79384501

Date: 2025-01-24 13:29:42
Score: 2.5
Natty:
Report link

It is due to SRP of the Solid Principles. If in future we want to add or delete columns in related to payment details, it will be easier to test such change as it affects only the payment table.

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

79384499

Date: 2025-01-24 13:29:42
Score: 2.5
Natty:
Report link

Reference: these lines are taken from the poem "lines written in tha early spring"written by "William Wordsworth"

Context:tha poet talks about the flower that enjoy breathing

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

79384497

Date: 2025-01-24 13:28:42
Score: 3
Natty:
Report link

I have changed the default Java from OpenJDK 21.0.4 to GraalVM 23.0.1 but the parameter still does not take any effect.

But the workaround with setting the system properties instead of the options works fine:

Eclipse Export Properties

Thanks for your help!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-0.5): Thanks for your help
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Andy Brunner

79384492

Date: 2025-01-24 13:27:41
Score: 2
Natty:
Report link

I found out why this wasn't working for me, and, in the site settings, under sftp settings, the 'Web URL' was incorrect - I probably changed it accidentally when I was editing the 'Root Directory' because the website itself wasn't stored in the root directory of the sftp server. Fixing the "Web URL" corrected this problem for me.

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

79384490

Date: 2025-01-24 13:25:41
Score: 2.5
Natty:
Report link

Pipeline parameters can only be assigned at the start of a pipeline run and cannot be updated or assigned during the run. However, pipeline variables can be declared at the pipeline level and updated or assigned during execution using the SetVariable activity

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

79384485

Date: 2025-01-24 13:24:40
Score: 4
Natty:
Report link

Create a Custom Column to define the group and use that column in the slicer enter image description here

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

79384476

Date: 2025-01-24 13:21:38
Score: 9 🚩
Natty: 5.5
Report link

arnt- were you able to achieve this ?

Reasons:
  • RegEx Blacklisted phrase (3): were you able
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Muhammad

79384471

Date: 2025-01-24 13:18:37
Score: 1.5
Natty:
Report link

I know I'm late to the game, but for future users who find this thread, this feels like a good use for TRANSLATE().

SELECT TRANSLATE(column, "AF", "BZ") FROM table

This has the benefit (or curse) of catching any variation. "Column A" becomes "Column B" for instance. It also means that "Alvin" becomes "Blvin" - which may not be intended behavior. Check your db, table, and column settings to see what consideration you need to give to case sensitivity.

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

79384470

Date: 2025-01-24 13:18:37
Score: 3
Natty:
Report link

@findux

Maybe there may be some text left in the filter of the terminal window. If you delete it it will be fixed.

Happened to me. Even if close and open vscode again, it can keep the last search.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @findux
  • Low reputation (1):
Posted by: MarckSi

79384469

Date: 2025-01-24 13:18:37
Score: 3
Natty:
Report link

I was looking for the way to implement the exact same feature you were looking for, and found a good youtube video and codes that you can exploit to do that. I did it, and I believe that you can, too.

https://youtu.be/8w6tHAv7WuI?si=P2Tn1UbD8ffJ68RC

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hyungeol

79384465

Date: 2025-01-24 13:17:37
Score: 0.5
Natty:
Report link

I already resolved this; it was because my signedPreKeyId was too long, so I changed my makeID function to this below:

function makeID() {
    return Math.floor(10000 * Math.random())

    // const timestamp = Date.now()
    // const random = Math.floor(Math.random() * 1000)
    // return parseInt(`${timestamp}${random}`, 10)
  }
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Adekojo Emmanuel

79384461

Date: 2025-01-24 13:14:36
Score: 1.5
Natty:
Report link

I used the NPM cookie-parser middleware that used to come as part of Express:

npm install cookie-parser

Be careful when rolling your own cookie parsing instead of using the cookie-parser middleware module.

I had an = in one of my cookie values that remained encoded as a %3d value.

The cookie-parser module correctly decoded this for me.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sean V. Baker

79384455

Date: 2025-01-24 13:12:35
Score: 0.5
Natty:
Report link

As already answered by @ehiller, it's only possible to have covariant returns if a property is readonly, but you can still set its value when calling the constructor. Here's an example:

  1. Define a couple of types that are going to be used to declare the properties (using interfaces in this example):
public interface IBase {
    void Method1();
}

public interface IDerived : IBase {
    void Method2();
}
  1. Define the types that declare the properties:
public class Base {
    public virtual IBase Property { get; }

    public Base(IBase b) {
        Property = b;
    }

    public void CallMethod1() {
        Property.Method1();
    }
}

public class Derived : Base {
    // Property with covariant return. 
    public override IDerived Property { get; }

    public Derived(IDerived d) : base(d) {
        Property = d;  // No setter, but it's legal to set the value here.
    }

    public void CallMethod2() {
        Property.Method2();
    }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @ehiller
  • Low reputation (0.5):
Posted by: metator

79384447

Date: 2025-01-24 13:10:35
Score: 1.5
Natty:
Report link

The content jumps around because initially <img> elements have 0 height, the image loads and height increases, making content other "jump". The images are loaded when they are entering the viewport.

There are 2 options to solve that:

  1. Define height of the <img> elements to be the same as the height of the image itself. The problem here would be retrieve that height.
  2. Preload images. You can load all images before they are entering the viewport, that would minimize the jump. Here are some resources on how to do it: How to Preload Images without Javascript?
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Max Mayorov

79384442

Date: 2025-01-24 13:09:34
Score: 2
Natty:
Report link

If you're coming across the issue where the tailwind.config.js file is not being generated, it's likely because Tailwind CSS has been updated to version 4.0 (released on January 22, 2025). In this version, there might be changes in how the configuration is initialized. https://tailwindcss.com/docs/installation/using-vite

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

79384440

Date: 2025-01-24 13:08:34
Score: 3
Natty:
Report link

Please install the Lombok plugin for VS Code.

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

79384439

Date: 2025-01-24 13:08:33
Score: 7.5
Natty: 7
Report link

it doesn't work for me. I have the broken ones in the first place of course. How can I convert them to real emojis?

Reasons:
  • Blacklisted phrase (0.5): How can I
  • RegEx Blacklisted phrase (2): doesn't work for me
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: HoseinGSD

79384437

Date: 2025-01-24 13:07:33
Score: 3
Natty:
Report link

t-minus365 has details on how to consent to apps on behalf of customers, without having to consent using admin accounts in the customer tenants. Use the REST API examples, not the PartnerCenter stuff.

https://tminus365.com/my-automations-break-with-gdap-the-fix/

https://tminus365.com/gdap-multi-tenant-automation/

https://tminus365.com/how-to-leverage-microsoft-apis-for-automation/

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

79384432

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

The visual and description in this blog post OP referred to on how the decoder blocks work is misleading.

The last encoder block does not produce K and V matrices.

Instead, the cross-attention layer L in each decoder block takes the output Z of the last encoder block and transforms them to K and V matrices using the Wk and Wv projection matrices that L has learned. Only the Q matrix in L is derived from the output of the previous (self-attention) layer. As the original paper states in section 3.2.3:

In "encoder-decoder attention" layers, the queries come from the previous decoder layer, and the memory keys and values come from the output of the encoder.

Also refer to Fig. 1 in the original paper.

Thus, each token fed to the decoder stack attends to all tokens fed to the encoder stack via the cross-attention layers and all previous tokens fed to the decoder stack via the (masked) self-attention layers.

Reasons:
  • Blacklisted phrase (1): this blog
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Fijoy Vadakkumpadan

79384416

Date: 2025-01-24 13:00:31
Score: 1
Natty:
Report link

I really like firefox and much appriciate their effort to make it work. So I, would just add these screenshots to help future fellas despretly looking to re-enable breakpoints. This is how to do it for Firefox 128, under linux.

inspec panel re-enable debugger

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

79384410

Date: 2025-01-24 12:58:30
Score: 0.5
Natty:
Report link

The draw method of reportlab.graphics.barcode.code39.Extended39 doesn't take anything as input: see the source code.

Furthermore, it seems like the reportlab library only allows you to draw on PDF. See this code snippet for an example.

I'd advise to use the python-barcode library which allows you to work on code39 barcodes and to draw them on images.

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

79384409

Date: 2025-01-24 12:58:30
Score: 1
Natty:
Report link

I did this a few times. You just need to read binary safely. Writing can be less safe. Read it exactly into bytes. Yes, doing it all manually is feasible. All it requires is separating the headers from the pixels. Errors will happen because you copy and cut a few bits wrong. You can't rely on ascii reading but you can rely on ascii writing to file. So declare new variable types and sure they are bitwise exact. Reading it all bitwise would probably be easier than passing it into ascii characters.

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

79384407

Date: 2025-01-24 12:57:30
Score: 2
Natty:
Report link

There was an error with data coming, data should be come like this { id: "arrow_tile_layer", type: "symbol", source: "arrow", 'source-layer': "ways", minzoom: 13, maxzoom: 20, filter: ["==", ["get", "way_type"], "primary"], paint: {}, layout: {'icon-image': 'arrow_icon', 'visibility': 'visible', 'symbol-spacing': 80, 'symbol-placement': 'line'}, },

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

79384402

Date: 2025-01-24 12:56:29
Score: 0.5
Natty:
Report link

There's a probably underrated Github project https://github.com/hansmi/prombackup that can be deployed, for instance, as a service container beside your Prometheus service container. It has a reduced-to-the-max no-thrills web UI where you simply click to take and then immediately download the snapshot to your browser.

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

79384391

Date: 2025-01-24 12:52:28
Score: 1
Natty:
Report link

so yk, In the XC8 compiler, you can't directly use the @ syntax like you can do in CC5X to assign a variable to a specific memory address.

here's an example,

#include <xc.h>

char my_array[10]; unsigned int *cont_up;

void main() { cont_up = (unsigned int *)&my_array[5];

*cont_up = 0xABCD; 


while (1);

}

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