79125792

Date: 2024-10-25 13:02:18
Score: 3
Natty:
Report link

immediately after posting, I got solution. Mea culpa - not update, but updateRange ... sorry again

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

79125790

Date: 2024-10-25 13:02:18
Score: 0.5
Natty:
Report link

When cursor is not hold, then "usually" it is not materialized - depends on used internal operations. So although you process huge set of rows, the memory usage can be low.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When
  • High reputation (-2):
Posted by: Pavel Stehule

79125789

Date: 2024-10-25 13:01:18
Score: 1.5
Natty:
Report link

One of possible fixes:

CurrentUnitOfWork.Configuration.AutoDetectChangesEnabled = false;
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: bakunet

79125787

Date: 2024-10-25 13:01:18
Score: 1.5
Natty:
Report link

How and by what rule is my array masquerading as an array of arrays?

The code your provided declare buf as a pointer to a dynamically allocated array of ints with a size of max_size. So, buf pointers to the first element of a one-dimensional array of integers.

int* buf = new int[max_size];

In addition, the process function expects a pointer to a pointer to a constant int and the argument being passed to this function is &buf, which has the type int**. Here, buf is of type const int* const*, so buf[c] is dereferencing the first pointer in the array.

void process(const int* const* buf)
{
  int a = 0;
  int ch = 1;
  for(int c = 0; c < ch; ++c)
    for (int i = 0; i < max_size; ++i)
      a += buf[c][i]; // ???
}
Reasons:
  • Blacklisted phrase (1): ???
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How
  • Low reputation (0.5):
Posted by: Shelton Liu

79125771

Date: 2024-10-25 12:58:17
Score: 1
Natty:
Report link

i tried it (VS 2022) for example with:

#Const toCompile = False  
#If toCompile Then
    //code
#End If

and it worked.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Alex

79125762

Date: 2024-10-25 12:56:16
Score: 3
Natty:
Report link

I found the same issue on RN 0.75 Disabling bridgless mode works fine for me as mentioned on https://github.com/software-mansion/react-native-screens/issues/2324#issuecomment-2334659956

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

79125760

Date: 2024-10-25 12:56:16
Score: 4.5
Natty:
Report link

I encountered the same problem with Python 3.13.0:

File "C:\Users\user\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 955, in unwrap
return self._sslobj.shutdown()
       ~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: APPLICATION_DATA_AFTER_CLOSE_NOTIFY] application data after close notify (_ssl.c:2706)

Is there any fix for this?

Reasons:
  • Blacklisted phrase (1): Is there any
  • RegEx Blacklisted phrase (1.5): fix for this?
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: stev

79125745

Date: 2024-10-25 12:51:14
Score: 1.5
Natty:
Report link

Steps:

  1. In Firefox type about:config
  2. Search for backdrop You get result like layout.css.backdrop-filter.enabled this should be true

Note: If you are not familiar than reinstall browser.

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

79125734

Date: 2024-10-25 12:49:13
Score: 3
Natty:
Report link

I met the same error and I am using ubuntu24.04.I tried Serkan ÜNAL's answer but it didn't work.

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

79125732

Date: 2024-10-25 12:49:13
Score: 1.5
Natty:
Report link

it is simple, it is related with permission and i have fixed simply: go to your postgres(am using arch linux btw):

sudo -i -u postgres

then,

psql

then run:

GRANT ALL PRIVILEGES ON SCHEMA public TO your_django_user

and it shows output: enter image description here

and also finally run:

ALTER ROLE your_django_user WITH SUPERUSER

I HOPE NOW python manage.py migrate will work fine.

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Thehiddenguy

79125731

Date: 2024-10-25 12:48:13
Score: 4
Natty:
Report link

There is no persistance of data by default between 2 jobs. You need to use artifacts in order to achieve what you are trying to do: https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/storing-and-sharing-data-from-a-workflow

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

79125725

Date: 2024-10-25 12:46:12
Score: 0.5
Natty:
Report link

I'm using .at() most of the time:

let arr = [1, 2, 3, 4, 5];
let lastElement = arr.at(-1);
console.log(lastElement);

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

79125716

Date: 2024-10-25 12:44:12
Score: 0.5
Natty:
Report link

For me it worked that way:

`image=ft.DecorationImage(
    src='assets/splash.png',
    fit=ft.ImageFit.COVER,
)`
Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: t00ee

79125713

Date: 2024-10-25 12:44:09
Score: 7 🚩
Natty: 4
Report link
/*//////////////////////////////////////////////////////////////////////////////
//
//  IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
//  By downloading, copying, installing or using the software you agree to this
//  license. If you do not agree to this license, do not download, install,
//  copy or use the software.
//
// This file originates from the openFABMAP project:
// [http://code.google.com/p/openfabmap/] -or-
// [https://github.com/arrenglover/openfabmap]
//
// For published work which uses all or part of OpenFABMAP, please cite:
// [http://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=6224843]
//
// Original Algorithm by Mark Cummins and Paul Newman:
// [http://ijr.sagepub.com/content/27/6/647.short]
// [http://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=5613942]
// [http://ijr.sagepub.com/content/30/9/1100.abstract]
//
//                           License Agreement
//
// Copyright (C) 2012 Arren Glover [[email protected]] and
//                    Will Maddern [[email protected]], all rights reserved.
//
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
//  * Redistribution's of source code must retain the above copyright notice,
//    this list of conditions and the following disclaimer.
//
//  * Redistribution's in binary form must reproduce the above copyright notice,
//    this list of conditions and the following disclaimer in the documentation
//    and/or other materials provided with the distribution.
//
//  * The name of the copyright holders may not be used to endorse or promote
//    products derived from this software without specific prior written
///   permission.
//
// This software is provided by the copyright holders and contributors "as is"
// and any express or implied warranties, including, but not limited to, the
// implied warranties of merchantability and fitness for a particular purpose
// are disclaimed. In no event shall the Intel Corporation or contributors be
// liable for any direct, indirect, incidental, special, exemplary, or
// consequential damages (including, but not limited to, procurement of
// substitute goods or services; loss of use, data, or profits; or business
// interruption) however caused and on any theory of liability, whether in
// contract, strict liability,or tort (including negligence or otherwise)
// arising in any way out of the use of this software, even if advised of the
// possibility of such damage.
//////////////////////////////////////////////////////////////////////////////*/

#include "bowmsctrainer.hpp"

#include <iostream>
#include <vector>
#include <list>

namespace of2 {

BOWMSCTrainer::BOWMSCTrainer(double _clusterSize) :
    clusterSize(_clusterSize) {
}

BOWMSCTrainer::~BOWMSCTrainer() {
}

cv::Mat BOWMSCTrainer::cluster() const {
    CV_Assert(!descriptors.empty());
    int descCount = 0;
    for(size_t i = 0; i < descriptors.size(); i++)
        descCount += descriptors[i].rows;

    cv::Mat mergedDescriptors(descCount, descriptors[0].cols,
            descriptors[0].type());
    for(size_t i = 0, start = 0; i < descriptors.size(); i++)
    {
        cv::Mat submut = mergedDescriptors.rowRange((int)start,
                                                    (int)(start + descriptors[i].rows));
        descriptors[i].copyTo(submut);
        start += descriptors[i].rows;
    }
    return cluster(mergedDescriptors);
}

cv::Mat BOWMSCTrainer::cluster(const cv::Mat& descriptors) const {

    CV_Assert(!descriptors.empty());

    // TODO: sort the descriptors before clustering.

    // Start timing
    int64 start_time = cv::getTickCount();

    // Used for Mahalanobis distance calculation, identity covariance
    cv::Mat icovar = cv::Mat::eye(descriptors.cols,descriptors.cols,descriptors.type());

    // Create initial centres guaranteeing a centre distance < minDist //

    // Loop through all the descriptors
    std::vector<cv::Mat> initialCentres;
    initialCentres.push_back(descriptors.row(0));

    for (int i = 1; i < descriptors.rows; i++)
    {
        double minDist = DBL_MAX;
#pragma omp parallel for if (initialCentres.size() > 100)
        for (int j = 0; j < (int)initialCentres.size(); j++)
        {
            // Our covariance is identity, just use the norm, it's faster.
            // cv::Mahalanobis(descriptors.row(i),initialCentres[j], icovar);
            double myDist = cv::norm(descriptors.row(i),initialCentres[j]);
#pragma omp critical
            minDist = std::min(minDist, myDist);
        }
        // Add new cluster if outside of range
        if (minDist > clusterSize)
            initialCentres.push_back(descriptors.row(i));

        // Status
        if ((i-1)%(descriptors.rows/10) == 0)
            std::cout << "." << std::flush;
    }
    // Status
    std::cout << "\nFinished initial clustering for "
              << descriptors.rows << " descriptors. "
              << initialCentres.size() << " initial clusters. "
              << std::endl;

    // Assign each descriptor to its closest centre //

    // Loop through all the descriptors again
    // TODO: Consider a kd-tree for this search
    std::vector<std::list<cv::Mat> > clusters;
    clusters.resize(initialCentres.size());
#pragma omp parallel for schedule(dynamic, 200)
    for (int i = 0; i < descriptors.rows; i++) {
        size_t index; double dist, minDist = DBL_MAX;
        for (size_t j = 0; j < initialCentres.size(); j++) {
            dist = cv::norm(descriptors.row(i),initialCentres[j]);
            if (dist < minDist) {
                minDist = dist;
                index = j;
            }
        }
#pragma omp critical // Order doesn't matter here
        clusters[index].push_back(descriptors.row(i));

        // Status (could be off because of parallelism, but a guess
        if ((i-1)%(descriptors.rows/10) == 0)
            std::cout << "." << std::flush;
    }
    // Status
    std::cout << "\nFinished re-assignment. "
              << std::endl;

    // Calculate the centre mean for each cluster //

    // Loop through all the clusters
    cv::Mat vocabulary;
#pragma omp parallel for schedule(static, 1) ordered
    for (int i = 0; i < (int)clusters.size(); i++) {
        // TODO: Throw away small clusters
        // TODO: Make this configurable
        // TODO: Re-assign?
        // if (clusters[i].size() < 3) continue;

        cv::Mat centre = cv::Mat::zeros(1,descriptors.cols,descriptors.type());
        for (std::list<cv::Mat>::iterator Ci = clusters[i].begin(); Ci != clusters[i].end(); Ci++) {
            centre += *Ci;
        }
        centre /= (double)clusters[i].size();
#pragma omp ordered // Ordered so it's identical to non omp.
            vocabulary.push_back(centre);

        // Status (could be off because of parallelism, but a guess
        if ((i-1)%(clusters.size()/10) == 0)
            std::cout << "." << std::flush;
    }

    // Finish timing
    int64 end_time = cv::getTickCount();

    // Status
    std::cout << "\nFinished finding the mean. "
              << vocabulary.rows << " words. "
              << (end_time-start_time)/cv::getTickFrequency() << " s. "
              << std::endl;

    return vocabulary;
}

}

Hi, can you help me edit this code so that your solution to the problem can work for me as well.

Thanks in advance. I await your response

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Thanks in advance
  • RegEx Blacklisted phrase (3): can you help me
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Syed Kumayl Raza Moosavi

79125712

Date: 2024-10-25 12:44:09
Score: 3
Natty:
Report link

Accord does not have such class. I suggest to try ML.NET.

Here is ML.NET tutorial for anomaly detection:

https://learn.microsoft.com/en-us/dotnet/machine-learning/tutorials/sales-anomaly-detection

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

79125710

Date: 2024-10-25 12:43:09
Score: 2.5
Natty:
Report link

I’m working on a Node.js application using Express, Sequelize, and Nodemailer to handle contact form submissions. I’ve implemented CORS, connected to a MySQL database, and set up email notifications. However, I’d like some feedback or suggestions for improvement.

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

79125707

Date: 2024-10-25 12:43:09
Score: 2
Natty:
Report link

No, you cannot pass a const pointer to a struct and a pointer to its member as non-const. This will result in a compilation error.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: محمد عبدالله

79125704

Date: 2024-10-25 12:42:08
Score: 4
Natty: 5
Report link

Thank you Teamothy for your answer. I was just looking for this to speedup my project.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hges Fges

79125697

Date: 2024-10-25 12:39:08
Score: 1
Natty:
Report link

I created a sample Blazor web assembly application in .net 6 and then upgraded it to .net 8 got the similar errors while deploying it to Azure App Service.

Mostly, the error you've encountered occurs because of the NuGet packages, that are different in both the versions.

Thank you, @Akif T, for the clear explanation. I referred to this doc to know how to migrate from .NET 6 to .NET 8.

After doing the above changes I was able deploy the application to Azure Web App without any issues.

enter image description here

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Akif
  • Low reputation (0.5):
Posted by: Sirra Sneha

79125696

Date: 2024-10-25 12:38:07
Score: 1.5
Natty:
Report link

I encountered this issue while installing Android Studio 2024.2.1 on Windows 7 (as of October 25, 2024). To fix it, I found that installing an older version, Android Studio 2024.1.2, works without issues. You can download this version from archive.org, specifically the release dated before September 7, 2024. It’s compatible with Java JDK 18.0.1 and JRE 10.0.2.

Here's the download link: Android Studio 2024.1.2 - Archived Version. Scroll down to the bottom of the page to locate the Windows version.

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

79125695

Date: 2024-10-25 12:38:07
Score: 0.5
Natty:
Report link

In order to detect when there are errors in the form after the user clicks "pay now" button, you need to use the solution below.

Since "subscription" will be triggered on every interaction with every field, we need to make sure that it only triggers once, after the "pay" button is clicked. I left a comment in its place.

let pay_btn_clicked = false;

// here you need to write a function that changes the value of "pay_btn_clicked" to true, when the button is clicked

const { subscribe, select } = wp.data;
            
subscribe(() => {
    const checkoutData = select('wc/store/checkout');

    if ( pay_btn_clicked ) {
        if ( checkoutData.hasError() ) {
            console.error('There was an error in checkout');
        } else {
            console.error('There were no errors in checkout');
        }
    }

    pay_btn_clicked = false;
});
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: ChrisPlaneta

79125692

Date: 2024-10-25 12:38:07
Score: 0.5
Natty:
Report link

It looks like you need advance formatting. I guess lucene syntax for your variable in the query.

https://grafana.com/docs/grafana/latest/dashboards/variables/variable-syntax/#lucene---elasticsearch

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

79125688

Date: 2024-10-25 12:37:07
Score: 1
Natty:
Report link

Is there a way to trully disable AI features, and enforce it across all settings, users?

AFAIK, as of now, there isn't a direct way to disable the Automatic Assistant Autocomplete features for all users at the account level.

Individual user has control to disable Automatic Assistant Autocomplete they need to disable the feature themselves in their developer settings.

As per document to disable the Automatic Assistant Autocomplete you need to do it from user settings.

  • To turn off autocomplete suggestions, toggle Autocomplete as you type. When autocomplete is off, you can display autocomplete suggestions by pressing Ctrl + Space.
  • To prevent Enter from inserting autocomplete suggestions, toggle Enter key accepts autocomplete suggestions.

enter image description here

Reasons:
  • Blacklisted phrase (1): Is there a way
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is there a
  • High reputation (-1):
Posted by: Pratik Lad

79125679

Date: 2024-10-25 12:34:06
Score: 2.5
Natty:
Report link

Last version from https://mvnrepository.com, Aug 29, 2018:

<dependency>
    <groupId>javax.mail</groupId>
    <artifactId>javax.mail-api</artifactId>
    <version>1.6.2</version>
</dependency>
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: y.z

79125671

Date: 2024-10-25 12:32:06
Score: 2.5
Natty:
Report link

The way I found is using the lldb debugger, i need to attach in a running proccess and forward the device port with the machine port, then run lldb and put the remote address on the port forwared. In my case this work but not solve my problem, my tests runs on saucelab and there is a lot of limitations to adb commands.

Reasons:
  • Blacklisted phrase (0.5): i need
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Douglas Sermarini

79125666

Date: 2024-10-25 12:30:05
Score: 0.5
Natty:
Report link

The following links work on all operative systems. On Apple devices (iOS, macOS, etc.) it shows the app in the App Store, on other OSes it uses the browser and navigates to the app page on App Store.

These links go to the app with ID 123456789 and show the page in device language

If you want the page to be region specific

To get the ID of your app, go to https://appstoreconnect.apple.com/apps, select the app, the ID is in the URL

Reasons:
  • Blacklisted phrase (1): These links
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Alex Logvin

79125664

Date: 2024-10-25 12:30:05
Score: 2.5
Natty:
Report link

Facing the same problem, I've found a solution to it.

Short answer:

The idea is to use the CDT Build Output Parser that

... relies on verbose build output of your build where all these options are actually printed by make.

Then, what you need to do is to make your build command verbose, so that the call of the compiler is printed into the output with all the arguments, and call the build from Eclipse.

Long answer:

I've found the answer in the article from Eclipse here: https://www.eclipse.org/community/eclipse_newsletter/2013/october/article4.php

Quoting the part that explains it (focus on point 2.):

CDT will try to discover include paths and pre-processor symbols automatically for supported tool chains. There are 2 main ways to discover those:

  1. Built-in Settings. CDT will try to detect built-in compiler symbols and include paths running the compiler with special options and parse the output of this special run. Most compilers provide such an option to print built-in include paths and symbols. Built-in settings are implied and do not get passed to compiler during regular compilation.

  2. Build Output Parser (BOP). Another method that CDT employs is to analyze build output of the regular build with Build Output Parser. Often, include paths are supplied to the compiler with -I options, and macros with -D options and BOP will try to find those in the output. That method relies on verbose build output of your build where all these options are actually printed by make.

Now what's necessary is to:

  1. Make the build output verbose, so that the call of the compiler is printed into the output with all the arguments.
  2. Call the build from Eclipse.

Example build output (a single file compilation command) for an embedded ARM MCU target could look something like this:

[C++] Building file: src/your_source_file.cpp

arm-none-eabi-g++ -c -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -std=c++17 -pedantic -Wall -Werror -W... -fno-exceptions -f... -Isrc -I... -DUSE_FULL_LL_DRIVER=1 -DARM_MATH_CM4=1 -D... -g -O3 src/your_source_file.cpp -o _build/release/your_source_file.o

Notes to the output example above:

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Me too answer (2.5): Facing the same problem
  • Low reputation (0.5):
Posted by: Michal M.

79125654

Date: 2024-10-25 12:26:04
Score: 2.5
Natty:
Report link

Problem solved.. the answer was right in front of me.. I was passing the env variables url's without the https://

After correcting that both app's on Azure App service and Static Web App are working properly

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

79125635

Date: 2024-10-25 12:22:03
Score: 3
Natty:
Report link

I DID THE SAME WITH MUI TIME PICKER BUT IT ONLY OPENS ON CLOCK ICON CLICK NOT WITH WHEN USER ENTERS ON TEXT FIELD

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

79125626

Date: 2024-10-25 12:20:03
Score: 3
Natty:
Report link

use FTP SERVER Like filezila pro or Easyftp For Easy Way to Uplode & Downlode For onedrive

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

79125610

Date: 2024-10-25 12:14:01
Score: 2
Natty:
Report link

first you must be under your project root directorie.

if you are running Samples project like.

the command will be samples:project1:androidDependencies

the dot "." is replaced by ":"

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

79125607

Date: 2024-10-25 12:13:01
Score: 2.5
Natty:
Report link

Sometimes it helps to restart the device and the authorization dialog appears on the next attempt (experienced on two devices this week).

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Jan Molnár

79125584

Date: 2024-10-25 12:05:59
Score: 1.5
Natty:
Report link

To maximize ROI in test automation, start by clearly defining objectives, such as reducing testing time, enhancing accuracy, and cutting defect rates. Focus on automating repetitive, high-impact test cases, such as regression and smoke tests, for the most significant time and cost savings. Choosing the right tools and frameworks is crucial, as they can optimize workflows and reduce future maintenance costs. Additionally, track key metrics like time saved, defect reductions, and test coverage to measure ROI effectively. An efficient test automation strategy minimizes manual effort, improves software quality, and delivers measurable financial returns over time, ensuring sustainable growth.

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

79125571

Date: 2024-10-25 12:04:59
Score: 0.5
Natty:
Report link

You could use the following JS when your modal shows:

 const body=document.body.style.overflow="hidden"

then you can reset the behavior to default "scroll" when closing the modal.

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

79125561

Date: 2024-10-25 12:02:58
Score: 2.5
Natty:
Report link

I don't believe that powershell recognizes the HKU hive but if you're willing to use the older CMD syntax, you can replace *HKCU* with *HKU<sid>* where is the user's domain security ID associated with their username.

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

79125551

Date: 2024-10-25 11:58:57
Score: 2
Natty:
Report link

I created a feature proposal to Ruby, please support if you'd like to see fetch_nested method in the core.

https://bugs.ruby-lang.org/issues/20815

Reasons:
  • RegEx Blacklisted phrase (1): I created a feature proposal to Ruby, please
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: dmitriy_strukov

79125540

Date: 2024-10-25 11:55:57
Score: 2
Natty:
Report link

solved, by changing this line:

if (isset($this->contents[$products_id])) {

to

if (isset($this->contents[(int)$products_id])) {
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Matthias Thoen

79125539

Date: 2024-10-25 11:55:57
Score: 3
Natty:
Report link

You must pass col3 into insert which obviously cannot be NULL, your error is not about conflict.

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

79125526

Date: 2024-10-25 11:52:56
Score: 3
Natty:
Report link

You need to include EXTRACT_STATIC = YES into your doxyfile. I presume this is what you wanted right?

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Constantinos Glynos

79125523

Date: 2024-10-25 11:51:56
Score: 3
Natty:
Report link

yeah the https:// way really works even for the error: "fatal: unable to connect to github.com: github.com[0: 20.207.73.82] : errno=Connection timed out" tysm

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

79125521

Date: 2024-10-25 11:50:53
Score: 6 🚩
Natty: 5.5
Report link

When this feature release public in the AWS Redshift?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): When this
  • Low reputation (1):
Posted by: Kiss Kutty

79125500

Date: 2024-10-25 11:45:51
Score: 4
Natty: 5.5
Report link

I need this version if possible (v10.21.3)

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Henemi Hicham

79125492

Date: 2024-10-25 11:41:50
Score: 4
Natty:
Report link

When you are run a sub processes it's back his pids. Command wait can wait wait <process or job ID>. Command waitpid can you help too then you have a list of running sub processes. From process to process you can send param as pid or used in subprocess subfunction for watch ps .From the ps man page, the status field will tell you if a thread is on the run queue (use the 'L' option to see threads) . Create true logic of your program.

Reasons:
  • RegEx Blacklisted phrase (3): can you help
  • Has code block (-0.5):
  • Starts with a question (0.5): When you are
  • Low reputation (1):
Posted by: Dmitry Lvov

79125489

Date: 2024-10-25 11:41:50
Score: 1
Natty:
Report link

It works in my browser. Can you try open with other PC and if it works you can try reinstall your Firefox. Here is My POV

Reasons:
  • Whitelisted phrase (-2): Can you try
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: TinNguyen

79125488

Date: 2024-10-25 11:41:50
Score: 1.5
Natty:
Report link

I will explain with an example ,

I already had a post with this url: example.com/website

I changed the url to this:

example.com/why-reason-website

And now I want to change the url again to the original address:

example.com/website

If the type is exact, the page will not come up, but if the type is regex, the page will come up. I have more than 1000 posts and I can’t change the type to regex one by one. That’s why I added this redirect from (.*) to $1 by type regex for redirecting all the posts on my site at once, but it doesn’t work.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: ponel

79125474

Date: 2024-10-25 11:35:49
Score: 2.5
Natty:
Report link

Unfortunately there is no way to download any old version. Its only a retrospective about that version but the actual download button is missing. So is no way to get those good old versions. The only way that I found it is possible is from adjacent websites. I find this version to work with my win7: https://android-studio.software.informer.com/download/#downloading

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

79125472

Date: 2024-10-25 11:34:49
Score: 1
Natty:
Report link

Create a 1 GiB file.

string testfile = "hello";
var content = new byte[1024L * 1024 * 1024];
Random random = new Random();

random.NextBytes(content);
File.WriteAllBytes(testfile, content);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Phoebus

79125463

Date: 2024-10-25 11:30:48
Score: 2
Natty:
Report link

Have you add enctype="multipart/form-data" attribute to form tag, if not than add this.

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

79125461

Date: 2024-10-25 11:30:48
Score: 1.5
Natty:
Report link

Use encode and no ! for you input (! is there to mark start and end) and don't set text.

here_document_input ="""input 1
input 2
input 3
"""
result = subprocess.run("program", input=here_document_input.encode(), shell=True)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: mazop

79125453

Date: 2024-10-25 11:28:47
Score: 1
Natty:
Report link

Run gradlew commands inside the android folder.

./gradlew assembleRelease for apk

./gradlew bundleRelease for aab

APK will be located in android/app/build/outputs/apk/release/

AAB will be located in android/app/build/outputs/bundle/release/

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

79125399

Date: 2024-10-25 11:09:42
Score: 0.5
Natty:
Report link

I was able to fix this issue by using the flags:

args: ['--headless=new', '--remote-allow-origins=*', '--autoplay-policy=user-gesture-required', '--disable-gpu', '--single-process']

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

79125398

Date: 2024-10-25 11:09:42
Score: 1
Natty:
Report link

Create a index.d.ts file in the src folder and insert this declaration.

declare module '*.png';

Restart the TS Compiler if issue persists.

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

79125389

Date: 2024-10-25 11:06:42
Score: 1
Natty:
Report link

Just install this library: https://www.npmjs.com/package/react-native-get-random-values and then import it on the entry route of your project; top layout if using expo router, or app.js/tsx or index.js/tsx:

import 'react-native-get-random-values';
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nicolás Martínez Cara

79125385

Date: 2024-10-25 11:05:41
Score: 1.5
Natty:
Report link

I faced the similar issue, The reason even though public access is on,and security groups are configured correctly. The Subnet group in RDS uses default subnet group, lets say we have 2 AZ's with 2 subnets in each AZ (Private and public), the default db group adds 4 subnets and place the db instance in one of the private subnet.

Fix: Create a custom Subnet group, add only public subnets.

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

79125383

Date: 2024-10-25 11:04:41
Score: 1
Natty:
Report link

we will need more information. Do you use WebSocketConnector or BasicWebSocketConnector? What version of Quarkus do you use? In general, the connector should receive the error (either wrapped in a CompletionException for connectAndAwait() or returns a failed Uni for connect()).

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
Posted by: Martin Kouba

79125377

Date: 2024-10-25 11:00:41
Score: 0.5
Natty:
Report link

I had the same problem, and found that the solution is just to restart VS before publishing, you dont have to do anything else.

For the same reason, always publish to a new empty folder, so you can see the actual output, if any.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Whitelisted phrase (-1): solution is
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: erik carlsson

79125374

Date: 2024-10-25 10:59:40
Score: 1
Natty:
Report link

adding this to the top worked for me

Add-Type -AssemblyName System.Windows.Forms
Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Oliver Evans

79125371

Date: 2024-10-25 10:59:40
Score: 1
Natty:
Report link

I tweaked the code slightly with the following inclusions:

  1. Rejigged sorted data indexes by returning values(), instead of the collection as-is
  2. It made more sense to average the scores in either mode, since the indices don't make much sense to the viewer. It provides greater clarity into what the ranking is all about. I compared returned result set with the actual row values and the ranking for the employees in each mode checks out

In addition, the sorting function is not entirely redundant as earlier assumed, since the behavior varies, depending on incoming parameter

Putting it all together, we have:

protected function punctualChart ($attendanceCollection, ?string $puncMode) {

        $puncMode = $puncMode?? "ear";

        $attendanceDays = $attendanceCollection->groupBy(function ($attendance) {

            return $attendance->created_at->format("m-d");
        })
        ->map(function ($daysCollection) use ($puncMode) { // then sum their value for each day? add their indexes. depending on the mode, we know whether highest or lowest is the winner

            return $puncMode == "ear"? $daysCollection->sortByDesc("created_at")->values():

            $daysCollection->sortBy("created_at")->values();
        });
//dd($attendanceDays, $puncMode);
        $scoreEmployee = [];

        $maxValue = 0;

        foreach ($attendanceDays as $attendanceCollection) {

            foreach ($attendanceCollection as $index => $attendance) {

                $employeeId = /*$attendance->employee->last_name.*/$attendance->employee_id;

                if (!array_key_exists($employeeId, $scoreEmployee))

                    $scoreEmployee[$employeeId] = /*0;*/[

                        "value" => 0,

                        "model" => $attendance->employee, //->last_name
                    ];

                $maxValue += $index+1;

                $scoreEmployee[$employeeId]["value"] += $index+1; // offset 0-based index
            }
        }

        foreach ($scoreEmployee as $employeeId => &$employeeDetails)

            $employeeDetails["value"] = round(

                ($employeeDetails["value"]/$maxValue)*100,

                2
            );
//dd($scoreEmployee);
        return $scoreEmployee;
    }

Thanks to @angel for motivating me to give this another shot

reassign the indexes to the resulting collection

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @angel
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: I Want Answers

79125370

Date: 2024-10-25 10:59:40
Score: 1
Natty:
Report link

If you're looking for an easy way to send Firebase Cloud Messaging (FCM) push notifications in Laravel, I’ve developed a package called heyharpreetsingh/fcm that simplifies the process. It allows you to send notifications to mobile (Android, iOS) and web platforms efficiently.

How to Use: Install the package via Composer:

composer require heyharpreetsingh/fcm

Register the service provider in bootstrap/providers.php (Laravel 11) or config/app.php (Laravel 10 and below):

Heyharpreetsingh\FCM\Providers\FCMServiceProvider::class,

Set up Firebase credentials by generating a private key in Firebase Console and adding the path to the JSON file in your .env file:

FCM_GOOGLE_APPLICATION_CREDENTIALS=storage/ServiceAccount.json

Send a notification to individual devices like this:

use Heyharpreetsingh\FCM\Facades\FCMFacade;

FCMFacade::send([
   "message" => [
        "token" => "bk3RNwTe3H0:CI2k_HHwgIpoDKCIZvvDMExUdFQ3P1...", // Device token
        "notification" => [
            "body" => "This is an FCM notification message!",
            "title" => "FCM Message"
        ]
    ]
]);

Was this guide helpful to you? Please support my work by leaving a 👏 clap as a token of appreciation.

Reasons:
  • Blacklisted phrase (1): this guide
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Harpeet Singh

79125359

Date: 2024-10-25 10:55:40
Score: 1
Natty:
Report link

Posit numbers will be commonly used in the future. The OP may have found this unfortunate, but the Posit concept itself is indeed still very young (from 2017), and not yet mature enough (in implementation) to have replaced IEEE-754, especially in hardware accelerators. Remember that IEEE tried to come with a failed replacement (IEEE 854) in the mean time, The cited library cannot be faster than hardware obviously, but also not in software, and is definitely not the same as 5 years ago. Posit neither, as the standard was published in 2022.

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

79125358

Date: 2024-10-25 10:54:39
Score: 2.5
Natty:
Report link

you should try one api call for authorization with private app cliendId and other necessary params and app will apear in your ghl dashboard. After you select on ghl widget sub or agency account it will be installed.

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

79125352

Date: 2024-10-25 10:52:38
Score: 4
Natty:
Report link

it's new feauture in excel, "Stale Value Formatting": https://support.microsoft.com/en-au/office/stale-value-formatting-4b5c63c3-5dc7-4e9b-8e24-88bed1987dbd

You can turn it off or recalculate worksheet before print.

Thanks to A.Mack from Microsoft forum, he found this.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Vik

79125345

Date: 2024-10-25 10:49:38
Score: 2
Natty:
Report link

Not quite sure what is going wrong with your implementation. My guess would be you might have the wrong index specified somewhere or the wrong range.

I have a similar implementation here

Reasons:
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
Posted by: Hath995

79125341

Date: 2024-10-25 10:48:37
Score: 2.5
Natty:
Report link

There are 2 fixes. One is mentioned already. And it's to paint off all grass (CTRL + CLICK to DEL selected type). Bake, then CTRL+Z, to get them back.

Other way is to detach the grass from the terain with code and treat them as game objects to be able to modify them accordingly.

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

79125338

Date: 2024-10-25 10:47:37
Score: 1.5
Natty:
Report link

provider hashicorp/azurerm does not support resource type "azurerm_resource_group_policy_assignment

Hello Greencolor, seems like you already found a solution to your problem, I am just posting it here for ease of other folks who are facing similar issue on SO. Please feel free to add any points / your inputs to this if required.

As per the github link azurerm_resource_group_policy_assignment is supported by azurerm from the version = "3.49.0" so make sure youre using the version greater or equal to that.

enter image description here

Seems you're using the version = "2.52.0" is very outdated. As per the HarshiCorpdoc the latest version = "4.7.0" as of today.

As MarkoE suggested in always the best practice to use the latest version provider so that most up-to-date features, improvements, and security enhancements will be up-to date.

Refer: azurerm_resource_group_policy_assignment | Resources | hashicorp/azurerm | Terraform | Terraform Registry

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): facing similar issue
Posted by: Vinay B

79125321

Date: 2024-10-25 10:42:36
Score: 1.5
Natty:
Report link

As i can recall detectChanges should be trigged on: DOM events, Asynchronous tasks and Component lifecycle events, accent here is on "it should" there are cases (in my experiece at least) where angular does not trigger change detection automatically (when change is runnning outside of Angular zone) in that cases you should trigger change manually, for example using ChangeDetectorRef:

import { ChangeDetectorRef } from '@angular/core';

constructor(private cdr: ChangeDetectorRef) {}

someMethod() {
  // Code that doesn't trigger automatic change detection
  this.value = 'Updated manually';
  
  // Manually trigger change detection
  this.cdr.detectChanges();
}

but for most cases, for me, more direct way is to do what ever you need after you change value. So for given example if You are changing something onClick() and expecting some reaction to change caused by that method call another method from within onClick() which will do something yo expect with given data?

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

79125320

Date: 2024-10-25 10:42:36
Score: 0.5
Natty:
Report link

In the latest version of Enterprise Architect (I'm using v16) it's easy to copy whole package and than paste it into new project (eapx). But, it's mandatory to have diagram within a package, so if it is not the case, you should previously create one "dummy" or "test" for copy purposes.

  1. Right click on the package containing diagram and copy whole package using this option in the menu (Copy -> Full Structure for Duplication):

enter image description here

  1. Paste the package into your project. Good news: if the target project contains a package with the same name, the "...- Copy" will be created automatically.

  2. After this, you can copy desired diagram from one package into another one.

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

79125303

Date: 2024-10-25 10:37:35
Score: 1
Natty:
Report link

It works when there's version problem.

pip install paho-mqtt==1.6.1
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
Posted by: Vinci

79125301

Date: 2024-10-25 10:36:34
Score: 1.5
Natty:
Report link

To prevent showModalBottomSheet from rebuilding when scrolling, consider avoiding the direct use of FutureBuilder within it. Instead, fetch the data once before opening the modal, cache the result, and pass it as an argument to the showModalBottomSheet. This approach ensures data is read only once, minimizing rebuilds and improving performance.

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

79125286

Date: 2024-10-25 10:31:33
Score: 1.5
Natty:
Report link

You can add proxy_set_header Host domain2.com in your location

location / {
   proxy_pass http://domain1.com/test/;
   proxy_set_header Host domain2.com
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: userbana

79125275

Date: 2024-10-25 10:29:32
Score: 1.5
Natty:
Report link

What did helped me (on Ubuntu 22.04) was this in advanced emulator setup (... Settings), set

OpenGL ES Renderer to Desktop native OpenGL and OpenGL ES API Level to Rendered maximum

enter image description here

It's still kinda slow, but bearable - qemu still take a lot of CPU, but at least Android is reasonably reactive.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): What did help
Posted by: Ivan

79125271

Date: 2024-10-25 10:28:30
Score: 8.5 🚩
Natty: 5.5
Report link

i do have this doubt did you got answer ?

Reasons:
  • RegEx Blacklisted phrase (3): did you got answer
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ajay

79125270

Date: 2024-10-25 10:28:30
Score: 3
Natty:
Report link

You need ngrok http 4000. You need tunnel.

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

79125264

Date: 2024-10-25 10:27:29
Score: 0.5
Natty:
Report link

I find out the solution and it helpful for me

Resque.delayed_queue_peek(1, 20)
# Result : ["1727744400", "1727780400", "1728379910", "1728381061", "1728381063", "1728381750", "1728383426", "1728391401", "1728391426", "1730320200", "1731148380", "1737030600"]


scheduled_timestamps = Resque.redis.zrange('delayed_queue_schedule', 0, -1)
# result  ["1727744400", "1727780400", "1728379910", "1728381061", "1728381063", "1728381750", "1728383426", "1728391401", "1728391426", "1730320200", "1731148380", "1737030600"]

scheduled_jobs = scheduled_timestamps.map do |timestamp|
   Resque.redis.lrange("delayed:#{timestamp}", 0, -1)
end
# result [["{\"class\":\"CompanyEnqueSnapshotsJob\",\"args\":[1,\"2024-10-01\"],\"queue\":\"snapshots\"}"]...

scheduled_jobs.flatten.each do |job|
   puts job
end
{"class":"CompanyEnqueSnapshotsJob","args":[1,"2024-10-01"],"queue":"snapshots"}

Thank you

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Hardika Desai

79125261

Date: 2024-10-25 10:27:29
Score: 3
Natty:
Report link

There are numbers of scripts available online you can get idea from that to download SlideShare presentations.

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

79125250

Date: 2024-10-25 10:25:29
Score: 1
Natty:
Report link

If you're looking for an easy way to send Firebase Cloud Messaging (FCM) push notifications in Laravel, I’ve developed a package called heyharpreetsingh/fcm that simplifies the process. It allows you to send notifications to mobile (Android, iOS) and web platforms efficiently.

How to Use: Install the package via Composer:

composer require heyharpreetsingh/fcm

Register the service provider in bootstrap/providers.php (Laravel 11) or config/app.php (Laravel 10 and below):

Heyharpreetsingh\FCM\Providers\FCMServiceProvider::class,

Set up Firebase credentials by generating a private key in Firebase Console and adding the path to the JSON file in your .env file:

FCM_GOOGLE_APPLICATION_CREDENTIALS=storage/ServiceAccount.json

Send a notification to individual devices like this:

use Heyharpreetsingh\FCM\Facades\FCMFacade;

FCMFacade::send([
   "message" => [
        "token" => "bk3RNwTe3H0:CI2k_HHwgIpoDKCIZvvDMExUdFQ3P1...", // Device token
        "notification" => [
            "body" => "This is an FCM notification message!",
            "title" => "FCM Message"
        ]
    ]
]);

Was this guide helpful to you? Please support my work by leaving a 👏 clap as a token of appreciation.

Reasons:
  • Blacklisted phrase (1): this guide
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Harpeet Singh

79125249

Date: 2024-10-25 10:25:28
Score: 4.5
Natty: 5.5
Report link

https://c3js.org/reference.html#api-axis-max Here is an documentation how to do that.

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

79125245

Date: 2024-10-25 10:25:28
Score: 0.5
Natty:
Report link
  1. Use getInitialMessage when user authenticated:

    FirebaseMessaging.instance.getInitialMessage().then(_handleFirebaseMessage);

  2. Handle message:

     static void _handleFirebaseMessage(RemoteMessage? message) {
         logger.i('Remote message: $message');
         if (message == null) return;
         ...
     }
    
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Иван Игонькин

79125243

Date: 2024-10-25 10:24:28
Score: 5.5
Natty:
Report link

I have similar issue , the problem when creating the db on firebase console , I didn't use default database and named databse so was unreachable, deleted database and created default was able to connect with no issues

Reasons:
  • Blacklisted phrase (1): I have similar
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have similar issue
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Tony Melek

79125236

Date: 2024-10-25 10:22:27
Score: 1
Natty:
Report link

The invoke_agent API is under AgentsforBedrockRuntime (see API doc). So changing your bedrock_client would resolve the error.

bedrock_client = boto3.client("bedrock-agent-runtime")
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: lsc

79125234

Date: 2024-10-25 10:22:27
Score: 3.5
Natty:
Report link

There is the same problem with my program,but i can't fix it.

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

79125218

Date: 2024-10-25 10:15:25
Score: 3.5
Natty:
Report link

Just write "FFIR" instead of "RIFF" and do the same for the rest of the strings,"WAVE". "fmt " and "data". Byte order is reversed from string to int

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

79125209

Date: 2024-10-25 10:14:25
Score: 2.5
Natty:
Report link

Have you tried passing limit argument to imagesCollection? Not sure why the differences between playground result and your actual query though.

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

79125199

Date: 2024-10-25 10:12:25
Score: 0.5
Natty:
Report link

i had the same problem, what fixed it for me is going to the androidManifest.xml file and in the intent-filter section adding:

""

hope this helps!!

Reasons:
  • Whitelisted phrase (-1): hope this helps
  • Whitelisted phrase (-1): i had the same
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ron gartenbank

79125196

Date: 2024-10-25 10:12:25
Score: 1
Natty:
Report link

Switching from -file to -job in the kitchen command input and removing the .kjb extension in the job file solved the issue.

Before:

./kitchen.sh -rep=repo1 -file=/var/lib/jenkins/project/path/etl/Job1.kjb

After:

./kitchen.sh -rep=repo1 -job=/var/lib/jenkins/project/path/etl/Job1
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Mohan Rajan K

79125194

Date: 2024-10-25 10:12:25
Score: 0.5
Natty:
Report link

The following works as well, for psql;

psql -U "$POSTGRES_USER" -d "$POSTGRES_TARGET"  -c "\copy (SELECT * FROM table) 
TO STDOUT WITH (FORMAT CSV, HEADER, DELIMITER E'\t');" > output.tsv
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Bram van Es

79125190

Date: 2024-10-25 10:11:24
Score: 0.5
Natty:
Report link

I'm building a dotnet tool executing the C# source file without a project file, hope it helps

https://github.com/WeihanLi/dotnet-exec

Install the dotnet tool first

dotnet tool install -g dotnet-execute

and then execute the csharp source file with dotnet-exec Hello.cs

Reasons:
  • Whitelisted phrase (-1): hope it helps
  • Contains signature (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: WeihanLi

79125188

Date: 2024-10-25 10:10:24
Score: 2.5
Natty:
Report link

Per my knowledge, there is no method to limit only one Power automate flow be running at the same time for a SharePoint list item.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Emily Du - MSFT

79125182

Date: 2024-10-25 10:08:24
Score: 2
Natty:
Report link

use git LFS: git LFS (large file Storage) is designed for handling large files. By storing large binary files outside of your repository and only keeping pointers in the Git repo, you can significantly reduce the repository size and speed up operations.

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

79125165

Date: 2024-10-25 10:04:23
Score: 2
Natty:
Report link

If you are inside an SC_METHOD or if you don't want to stop (in time) an SC_THREAD, then the following will work:

#define SC_INCLUDE_DYNAMIC_PROCESSES
#include <systemc>

  //...
  sc_signal<int, SC_MANY_WRITERS> sig;
  //...
  sc_spawn( [&](){ wait(DELAY); sig.write(VALUE); } );

This was taken from here: https://forums.accellera.org/topic/7010-how-to-model-output-delay-in-systemc-like-the-verilog-non-blocking-intra-assignment-delay/

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

79125160

Date: 2024-10-25 10:03:23
Score: 2
Natty:
Report link

I had exactly the same problem in an environment with Microsoft Office 365 64-bit version (2016 and newer). The application contains 17 reports. On 80 computers all reports opened without a problem, on 10 computers one report did not open at all, only reported the error ActiveX component can't create object, but during debugging I found the source error: There isn't enough memory to perform this operation.

I reinstalled Office, compared the registers, everything seemed to be correct, but I kept getting the exact same error. I deleted the report and imported it from the backup file, decompiled the application (option /decompile) and still the same error.

What was the solution to the problem?

I created a new blank report, set it to exactly the same DataSource, the same grouping and sorting, and copied all the controls to it, section by section from the non-working report. The report works correctly and opens without any problems on all computers.

It looks like it wasn't a Microsoft Office installation issue, but an internal error in the Microsoft Access file.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): getting the exact same error
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Jerzy Gebler

79125158

Date: 2024-10-25 10:03:23
Score: 1
Natty:
Report link

I've wasted hours on this.

Just remove LOG_STACK from .env It's an L10 directive and when kept inside .env after an upgrade it will create many problems in multiple places of the app.

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

79125149

Date: 2024-10-25 10:01:22
Score: 4.5
Natty: 4
Report link

you can find solution here ,I use 4.9.0 version:https://github.com/actix/actix-web/blob/master/actix-web/examples/middleware_from_fn.rs

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

79125134

Date: 2024-10-25 09:53:20
Score: 1
Natty:
Report link

First, if you generate .ipa files through VS, you need to ensure that:

  1. Create and download the provisioning profile in VS.

  2. In Solution Explorer, navigate to the iOS Bundle Signing tab and ensure that Scheme is set to Manual Provisioning, Signing identity is set to Distribution (Automatic), and Provisioning profile is set to Automatic:

In addition, you can try to generate an ipa file through the command line:

dotnet publish -f net8.0-ios -c Release

. For details, you can refer to Publish an iOS app using the command line.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Shuowen He-MSFT

79125125

Date: 2024-10-25 09:51:19
Score: 1
Natty:
Report link

You have to specify the content type.

<quill-editor theme="snow" v-model:content="newComment" content-type="html"></quill-editor>

It will works

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

79125122

Date: 2024-10-25 09:50:19
Score: 2.5
Natty:
Report link

The previous answer looks like the sort of answer I'd expect ChatGPT to generate and doesn't actually answer the question, which is, for a Java application, is there any way to mitigate this issue.

Short of using a different JRE/JDK, the answer would appear to be no.

Reasons:
  • Blacklisted phrase (1): is there any
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Lee

79125112

Date: 2024-10-25 09:46:18
Score: 2
Natty:
Report link

You can ingest all the Excels files into one dataset only, which is simpler than creating one dataset per file.

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

79125111

Date: 2024-10-25 09:46:18
Score: 0.5
Natty:
Report link

The statement that C++ modules cannot be built in parallel is not entirely accurate. While C++ modules introduce a new system of organizing and managing code that can affect build processes, they do not inherently prevent parallel builds.

In traditional C++ compilation, each translation unit (source file) is compiled independently, which allows for parallel compilation. With modules, the relationship between modules can create dependencies that might require a more careful approach to parallelization. Specifically, if one module depends on another, the dependent module must be built after the module it relies on. This can lead to scenarios where dependencies need to be resolved before some modules can be compiled.

However, many modern build systems are designed to manage these dependencies effectively, allowing for parallel compilation when possible. They can analyze the module dependencies and optimize the build process accordingly.

In summary, while C++ modules introduce some complexities regarding dependencies, they do not eliminate the possibility of parallel builds. With a well-configured build system, you can still take advantage of parallel compilation to speed up the build process.

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

79125108

Date: 2024-10-25 09:45:18
Score: 3
Natty:
Report link

Did you start the server mongodb before all? Below is the string to start the server on my linux machine

sudo mongod --noauth --port 27017 --dbpath /var/lib/mongodb

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (0.5):
Posted by: vrobbi

79125107

Date: 2024-10-25 09:44:18
Score: 1
Natty:
Report link

In the sign in request, you can append &[email protected]

This works for both Azure and Okta

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