79158786

Date: 2024-11-05 11:03:30
Score: 0.5
Natty:
Report link

Wanted to post an update as I have managed to solve it and it may help others.

When running the project from Visual Studio, the magic behind the scenes creates the developer self signed certificates and injects them into the kestrel web server.

When running in production this does not happen so you need to manually add the certificates. Ideally you should use production SSL certificates that are fully valid but in my case for AWS I could not as these were bound to the load balancers and not exportable.

What I did was:

  1. Create a self signed certificate from a private key using openssl.
  2. Converted this into a pfx file using openssl.
  3. Created a folder in the project called Certificates and added the pfx file setting the copy attribute to "Copy Always". This ensures that on every build the certificate is available locally on the image.
  4. Set the following environment variables in AWS (you can add this to dockerfile though this will expose your password)

ASPNETCORE_HTTPS_PORTS=8081 ASPNETCORE_Kestrel__Certificates__Default__Password=mycertificatepassword ASPNETCORE_Kestrel__Certificates__Default__Path=/app/Certificates/ProductionCertificate.pfx

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

79158784

Date: 2024-11-05 11:02:29
Score: 2.5
Natty:
Report link

Apart from ELK stack, I would recommend Middleware which is a full stack observability platform that helps to easily control the data ingestion and helps reduce your observability spends by 10X.

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

79158782

Date: 2024-11-05 11:02:29
Score: 1
Natty:
Report link

Use this in your setup:
xcode-project use-profiles --custom-export-options={\"manageAppVersionAndBuildNumber\":false}

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

79158773

Date: 2024-11-05 11:00:28
Score: 5
Natty: 4
Report link

I tried the above example with Delphi 11 and I get "exposed beyond app through ClipData.Item.getUri()"

Under options I did set "secure File Sharing" to true.

Please help. Being trying for weeks following various group threads but cannot get it right.

Reasons:
  • RegEx Blacklisted phrase (3): Please help
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Andy

79158768

Date: 2024-11-05 10:59:28
Score: 2
Natty:
Report link

There are no built-in tools from grafana as per their documentation. However, you can refer this.

OR

There are some external tools like ysde/grafana-backup-tool & shoplineapp/grafana-backup-tool can help.

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

79158758

Date: 2024-11-05 10:55:27
Score: 0.5
Natty:
Report link

I've just added PR which should fix the issue: https://github.com/sulu/sulu/pull/7639

Problem is in babel loading, as @Alexander Schranz suggested.

In the meantime, until PR get's merged, you can also modify your local webpack.config.js inside admin assets folder and rebuild admin (don't replace your local webpack.config.js when prompted):

/* eslint-disable flowtype/require-valid-file-annotation */
/* eslint-disable import/no-nodejs-modules*/
/* eslint-disable no-undef */
const path = require('path');
const webpackConfig = require('../../vendor/sulu/sulu/webpack.config.js');

module.exports = (env, argv) => {
    env = env ? env : {};
    argv = argv ? argv : {};

    env.project_root_path = path.resolve(__dirname, '..', '..');
    env.node_modules_path = path.resolve(__dirname, 'node_modules');

    const config = webpackConfig(env, argv);
    config.entry = path.resolve(__dirname, 'index.js');

    config.module.rules = config.module.rules.map((rule) => {
        if (rule?.use?.loader === 'babel-loader') {
            let exclude = [rule.exclude, /friendsofsymfony\/jsrouting-bundle/];
            rule.exclude = exclude;
        }
        return rule;
    });

    return config;
};
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Alexander
  • Low reputation (1):
Posted by: bmandl

79158754

Date: 2024-11-05 10:55:27
Score: 2.5
Natty:
Report link

This is correct:

from webdriver_manager.chrome import ChromeDriverManager

driver = webdriver.Chrome(service=webdriver.ChromeService(ChromeDriverManager().install()))

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

79158750

Date: 2024-11-05 10:53:26
Score: 1
Natty:
Report link

In my case the remote repo blob had been removed and due to huge number of branches I didn't want to go through all the tags. To resolve I proceeded with

rm -r .git/refs/remotes/origin/

deleting all the local references in the local repo and pulling again.

git pull
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Utkarsh Jaiswal

79158749

Date: 2024-11-05 10:53:26
Score: 0.5
Natty:
Report link

I needed to select Devices from the virtual machine menus, USB and then select my keyboard. I have to unselect it so I can use it on my regular machine again.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Adam

79158745

Date: 2024-11-05 10:51:26
Score: 2
Natty:
Report link

select n.activity_date,n.advertiser_id,c.type as type from a JOIN b as n -- because of the alias name you've got to reference table b as n -- and you've omitted the AND operator on (a.id=n.id AND a.name=n.name)
JOIN c on n.c_id=c.id where n.country='CA' -- you've got to use n instead of b limit 10;

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

79158743

Date: 2024-11-05 10:51:23
Score: 11 🚩
Natty: 6
Report link

did you solve this problem? I am having the same problem

Reasons:
  • RegEx Blacklisted phrase (3): did you solve this problem
  • RegEx Blacklisted phrase (1.5): solve this problem?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you solve this
  • Low reputation (0.5):
Posted by: lauren1573

79158734

Date: 2024-11-05 10:48:22
Score: 0.5
Natty:
Report link

Your file structure is correct and you are basically halfway there. Adjusting the following should do it.

Adjust this

    import { CustomButton } from "../components";

To this

    import { CustomButton } from "../components/CustomButton";
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Thomasino73

79158732

Date: 2024-11-05 10:47:22
Score: 1.5
Natty:
Report link

For me,

I went to headers, deselected the original Content-type Then went to presets, clicked manage presets There, I clicked Add, then in the popup a. Choose a Header Preset Name (anything will work) b. For key -- enter Content-type c. For value -- enter text/xml d. Last click Add at bottom right corner Close the manage preset popup Click your new preset, then select the new Content-type at the bottom

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

79158729

Date: 2024-11-05 10:47:22
Score: 1
Natty:
Report link

Angular on it's own does not support it.

Enable building with source maps generated as inline-source-map - Github Issue
Inline SourceMap Option - Github issue
Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-2):
Posted by: Naren Murali

79158720

Date: 2024-11-05 10:45:21
Score: 1
Natty:
Report link

.container {

display: flex;
flex-wrap: wrap;
gap: 10px;
max-height: calc(2 * 40px + 10px);
overflow: hidden;

}

button {

flex: 1 1 auto;
padding: 10px;
font-size: 16px;
white-space: nowrap;

}

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

79158719

Date: 2024-11-05 10:44:20
Score: 2.5
Natty:
Report link

Another option to read BER encoded ASN.1 files without any ASN.1 schema is using readasn. It just dumps the file's content on the screen.

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

79158712

Date: 2024-11-05 10:43:20
Score: 1
Natty:
Report link

Please run this command:

php bin/magento deploy:mode:set developer
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
Posted by: ASSILI Taher

79158699

Date: 2024-11-05 10:40:19
Score: 0.5
Natty:
Report link

I encountered this issue yesterday when trying to invoke a lambda function from an Airflow DAG synchronously, I needed to wait for the lambda to finish in order to continue with the rest of the tasks in the workflow. Your solution looks good and helped me to fix it, however it didn't work right away when I tested your code.

Just in case this is of help, here is what I did in my DAG in order to get it working the way you wanted.

from botocore.config import Config
from airflow.providers.amazon.aws.hooks.lambda_function import LambdaHook
from airflow.providers.amazon.aws.operators.lambda_function import (  
    LambdaInvokeFunctionOperator as BaseLambdaInvokeFunctionOperator,
)
class LambdaInvokeFunctionOperator(BaseLambdaInvokeFunctionOperator):
    """
    Class needed to override default confifguration lambda uses for boto3 connections to AWS
    Need to extend the default connection timeot, the read timeout and need to keep the tcp connection alive.
    """

    def __init__(self, *args, **kwargs):
        config_dict = {
            "connect_timeout": 900,
            "read_timeout": 900,
            "tcp_keepalive": True,
        }
        self.config = Config(**config_dict)

        super().__init__(*args, **kwargs)

    def execute(self, context):
        hook = LambdaHook(aws_conn_id=self.aws_conn_id, config=self.config)
        self.hook = hook

        return super().execute(context)

Feeling quite surprised that there is not an easier way to do this directly with an operator or hook without having to do these weird modifications. Thanks ;)

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: jaime hernandez

79158698

Date: 2024-11-05 10:40:19
Score: 1
Natty:
Report link

Put this images into orientation depend directories, for example:

Resource dir name for portait mode: drawable-port and for landscape mode: drawable-land

Example path where default_wallpaper of aosp14 system is placed: frameworks/base/core/res/res/drawable-nodpi/default_wallpaper.png

Check out other drawable variants also.

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

79158695

Date: 2024-11-05 10:39:19
Score: 1.5
Natty:
Report link

Really annoying that they removed it. Sometimes it is really great to get the traffic from the customer to analyse errors in more details.

Hopefully they bring it back.

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

79158694

Date: 2024-11-05 10:39:19
Score: 3
Natty:
Report link

So i am blind after all.

Just use BindTapGesture instead of TapGesture. Time to call it a day.

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

79158673

Date: 2024-11-05 10:32:18
Score: 1
Natty:
Report link

Step 1: Read your input file and split the TIFF into individual (single) images. You can write them out to individual files or keep them as byte arrays if you have enough memory. See sample code here how TIFFs can be split

Trying to improve multi-page TIFF file splitting

Step 2: Create 1 multipage PDF or create individual PDF pages from the images and combine them to a multipage PDF.

Sample Convert Image into Pdf using itextsharp in c#

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

79158669

Date: 2024-11-05 10:31:17
Score: 1.5
Natty:
Report link

I solved the problem. Setting the statecode and statuscode in the plugin pre-operation with the other attributes solved the problem.

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

79158667

Date: 2024-11-05 10:31:17
Score: 2
Natty:
Report link

I did receive help from Zoho.

In order to call Zoho CRM function using the OAuth method, we'd need to get an access token and pass it in the header of the request.

Here are steps of what I've done

  1. Create client in Zoho Developer's console (Self Client) with a Scope of Zoho.CRM.functions.execute

2.Call to get a refresh token:

getRefreshToken = invokeurl [ url :"https://accounts.zoho.eu/oauth/v2/token?grant_type=authorization_code&client_id=xxx&client_secret=xxx&redirect_uri=https%3A%2F%2Fcrm.zoho.eu%2F&code=xxx" type :POST ]; ref_Tok = getRefreshToken.getJSON("refresh_token");

The client ID, Secret and Code you get from the developer's console client.

  1. Get access token: Using the refresh token, client id, client secret and the grant type as parameters. This is a POST request!

https://accounts.zoho.eu/oauth/v2/token?refresh_token=xxx&client_id=xxx&client_secret=xxx&grant_type=refresh_token

  1. Call the function using this url: https://www.zohoapis.eu/crm/v2/functions/getleadsdata/actions/execute?auth_type=oauth&requested_by=xxx

This is a GET request (very important!)

The access token that we get from the previous call we pass as a header in this structure:

Authorization: Zoho-oauthtoken access_key (There is space between authtoken and the access key).

Requested_by can be passed as parameter, I did it as it's a parameter that I need to pass when calling the function.

Something else that is important to note, I was advised by Zoho that when making a call to get the Access token, that has to be done from outside Zoho for some reason, otherwise the access token doesn't work...

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Denis Denchev

79158661

Date: 2024-11-05 10:29:17
Score: 2.5
Natty:
Report link

SET GLOBAL innodb_strict_mode = OFF;

run this by selecting your db in mysql(dbeaver/phpmyadmin) then the problem will be fixed

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

79158653

Date: 2024-11-05 10:27:16
Score: 2.5
Natty:
Report link

Probably duplicated topic with this one:

Main Topic

You can also check the aws documentation: DocumentDB

In my case the problem was the optional parameters.

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

79158652

Date: 2024-11-05 10:26:16
Score: 0.5
Natty:
Report link

You could do that, but it's probably better to use something more robust like AWS secret manager or any of the other SaaS products. I know SO doesn't like software recommendations (or at least asking for them) but really you need a secret manager.

What's right for you will be more specific to your stack and architecture but most cloud providers have some version of this. A quick google search for "secret manager" will set you straight :)

Reasons:
  • No code block (0.5):
Posted by: klvs

79158643

Date: 2024-11-05 10:22:15
Score: 0.5
Natty:
Report link

Please review answer here ItextSharp Scaling / Resizing Images into PDF

Before you insert the image into the document object, you can apply proportional or x/y independent scaling based on an absolute value or by percentage.

Another solution is shown here Auto scaling of Images with iTextSharp

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Hakan Usakli

79158639

Date: 2024-11-05 10:21:15
Score: 2.5
Natty:
Report link

In xCode 18.1 use #include <sys/_types/_sa_family_t.h>

_types folder added between sys and file_name.h

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

79158634

Date: 2024-11-05 10:19:14
Score: 4.5
Natty:
Report link

Thanks ukBaz. It's Windows 10. The PC application will be used by others to operate the equipment. I will look at the Python. I've now managed to connect two HM-10s using AT+INQ and AT+BAND from h ttps://www.youtube.com/watch?v=MFJsgTsvxLg. Any comments on AT+BAND might be of help as I haven't found it elsewhere.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): youtube.com
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: egginstone

79158630

Date: 2024-11-05 10:18:14
Score: 2
Natty:
Report link

just upgrade you typescript to 5.0.4

npm i -D [email protected]
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: KevinBrother

79158629

Date: 2024-11-05 10:18:14
Score: 1
Natty:
Report link

git config pull.rebase false

git pull

--> this basically, downloads others commit logs from remote + (plus) downloads the files from remote to local dir.

index pointer stays where it was ! that means, local origin does not point to remote origin, but it is behind.

that means, if you do git status, it will show you the your local commit logs + (plus) other users commit logs

~~ ~~

whereas, git config pull.rebase true

git pull

--> this, downloads commit logs from remote + (plus) downloads the files from remote to local dir. + (plus) moves current index (pointer) to latest.

index pointer does not stay where it was. Instead, it now points to last pulled remote repo.

index(local origin) is now is same as remote origin.

that means, if you do git status, it will show you only your local commit logs .

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

79158622

Date: 2024-11-05 10:17:13
Score: 5
Natty:
Report link

Thanks to @Gergely Kőrössy and his library lazy-sticky-headers which solves my problem

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @Gergely
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: xephosbot

79158620

Date: 2024-11-05 10:16:11
Score: 11 🚩
Natty:
Report link

I am having the exact error! Did you manage to resolve your issue? Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (3): Did you manage to resolve your
  • RegEx Blacklisted phrase (1.5): resolve your issue?
  • RegEx Blacklisted phrase (1): I am having the exact error
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: user8216057

79158616

Date: 2024-11-05 10:15:11
Score: 2
Natty:
Report link

It seems that the issue you encountered with the ModalBottomSheet was related to a bug in Material3 version 1.4.0-alpha02, which has since been fixed in Material3 version 1.4.0-alpha03. This kind of issue, where certain UI components behave incorrectly or inconsistently, is unfortunately common during the alpha or early release stages of libraries, as new features are being tested and refined.

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

79158612

Date: 2024-11-05 10:15:11
Score: 0.5
Natty:
Report link

This can be achieved with matplotlib GridSpec:

from matplotlib.gridspec import GridSpec

By creating a grid for the subplots you can control the sizes. The layout is a grid with two rows and two columns. One column is reserved for the legends/ labels so that they do not interfere with the size of the main plots.

fig = plt.figure(figsize=(10, 8), dpi=100)
gs = GridSpec(2, 2, width_ratios=[1, 0.3], height_ratios=[1, 1], wspace=0.3, hspace=0.4)

# First plot (Top)
ax1 = fig.add_subplot(gs[0, 0])
my_plot(ax1, x1, [y1_1, y1_2], ["sin", "cos"])

# Second plot (Bottom) with longer labels
ax2 = fig.add_subplot(gs[1, 0])
my_plot(ax2, x1, [y1_1, y1_2], ["long_sine_label", "long_cosine_label"])

Subplots same size, different label lengths

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

79158609

Date: 2024-11-05 10:14:11
Score: 1
Natty:
Report link

hy Not Iterate to high in One Step? Now, let's address your alternative code, where you propose iterating up to j <= high and performing the swap directly without the final swap step. Here’s the key issue with that approach:

Final Position of Pivot: The crucial step in quicksort is ensuring that the pivot ends up in its correct position after partitioning. When the loop ends, i will be pointing to the last element that is smaller than or equal to the pivot. However, the pivot itself still sits at the last position (array[high]).

If you swap array[i] with array[j] when j == high, you'll be swapping the pivot with the last element that was smaller than or equal to the pivot. This would cause the pivot to land in a position where it may not be correctly ordered in relation to other elements. This would break the partitioning logic. Final Swap Corrects the Position: By performing the final swap (swap(&array[i + 1], &array[high])), you ensure that the pivot is placed exactly in the position where all the smaller elements are on the left and all the larger elements are on the right. This guarantees that the pivot is in the correct sorted position, which is crucial for the recursive calls to continue working.

To Summarize: Why iterate up to j < high in the loop?

We stop the loop at j < high because the pivot is located at array[high], and we don’t want to compare the pivot to itself during the partitioning step. Why the final swap?

After the loop, the element at array[i] is the last element smaller than or equal to the pivot. The pivot itself is at array[high]. The final swap ensures that the pivot gets placed in its correct sorted position, i.e., just after the last element that is smaller than or equal to it. What would happen if you didn’t do the final swap?

The pivot wouldn’t end up in its correct sorted position, which would result in incorrect behavior during the recursive sorting steps, potentially causing the algorithm to not sort the array properly. Code with Your Suggested Approach (For Comparison): If you were to follow your suggested approach, i.e., iterate to j <= high, the final swap becomes unnecessary, but the pivot wouldn't end up in its correct position, and you would likely end up with an unsorted array.

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

79158606

Date: 2024-11-05 10:13:10
Score: 1
Natty:
Report link

Do you have PostgreSQL installed ? if yes, check the pg_config location in :

Then, update the PATH :

Otherwise, you can try :

sudo apt install libpq-dev python3-dev
sudo apt install build-essential
Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: khalidgt

79158605

Date: 2024-11-05 10:13:10
Score: 0.5
Natty:
Report link

The command you used is almost right, but it has a slight syntax mistake. You need to apply the safe.directory setting to the main repository directory, not just the .git.

git -c safe.directory=/path/to/repo/owned/by/other clone /path/to/repo/owned/by/other ./here
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sanja

79158603

Date: 2024-11-05 10:12:10
Score: 1
Natty:
Report link

To reduce XSS risks in user-generated content, whitelist only essential tags like <b>, <i>, <p>, <ul>, <ol>, <li>, <a>, and restrict <a> to attributes like href, title, and target with safe URL patterns. Avoid tags and attributes that allow JavaScript execution, such as <script> and onclick, and limit CSS properties if the style attribute is allowed.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Md Mohosin Ali Shah

79158599

Date: 2024-11-05 10:11:10
Score: 0.5
Natty:
Report link

Run clone command with --config and specify safe.directory -

GIT_CONFIG_GLOBAL=/dev/null git -c safe.directory=/path/to/repo/owned/by/other clone /path/to/repo/owned/by/other ./here
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Om Prakash Swami

79158592

Date: 2024-11-05 10:09:09
Score: 3.5
Natty:
Report link

m1 for mac must open -a "Android Stuidio" too

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

79158581

Date: 2024-11-05 10:07:09
Score: 1.5
Natty:
Report link

An other way to fix it, it to stop using "pswh.exe" and set the path to "powershell.exe" :

"PowerShell": {
            //"source": "PowerShell",
            "path": ["C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"],
            "icon": "terminal-powershell"
        },
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: William

79158574

Date: 2024-11-05 10:05:08
Score: 2
Natty:
Report link

From the version 1.4, there is an option named Incremental Depolyment. This can used to deploy only the resources(e.g. ADF activity) changes rather the whole pipeline. More details can be found in this repository.

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

79158572

Date: 2024-11-05 10:04:08
Score: 2
Natty:
Report link

For me running npm i [email protected] (as v18-lts) helped to solve same issue.

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

79158571

Date: 2024-11-05 10:04:08
Score: 1
Natty:
Report link

For me when I type with "origin" like git checkout origin/branch-name it entered to Detached Head state. So, instead usegit checkout branch-name

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

79158570

Date: 2024-11-05 10:04:08
Score: 1.5
Natty:
Report link

A bit late but there is another really good library for showing markdown content in Multiplatform Compose projects:

multiplatform-markdown-renderer by mikepenz

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

79158568

Date: 2024-11-05 10:04:08
Score: 1
Natty:
Report link

I missed header that must be use for send the cookies this is updated code

export default defineEventHandler(async (event) => {
  const { req } = event;
  const cookies = req.headers.cookie;

  const _allSN: [] = await $fetch(`${apiBaseUrl}/serialnumber`, {
    credentials: "include",
    headers: cookies ? { cookie: cookies } : undefined,
  });

});


Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: M Hasan Nudin

79158565

Date: 2024-11-05 10:03:07
Score: 0.5
Natty:
Report link

Using the code sent by Michal, I tested different formulas and now it works, I added the line "ALLSELECTED('Append')" followed by the line "PARALLELPERIOD('Append'[DATE_REFERENCE], -1, QUARTER)"

This line allows me to select all the values, even those that were previously filtered and not retrieved by "PARALLELPERIOD"

Here is the code

CalculateMeasure = 
VAR CurrentValue = SUM('Append'[Value])
VAR CurrentSale = SUM('Append'[Sale])
VAR PreviousQuarterValue = 
    CALCULATE(
        SUM('Append'[Value]),
        ALLSELECTED('Append'),
        PARALLELPERIOD('Append'[DATE_REFERENCE], -1, QUARTER)
    )
RETURN
    IF (
        CurrentValue <> 0,
        CurrentValue - PreviousQuarterValue,
        IF (
            CurrentValue = 0,
            CurrentSale - PreviousQuarterValue,
            BLANK()
        )
    )
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: QuentinGr

79158563

Date: 2024-11-05 10:02:07
Score: 3
Natty:
Report link

My self-signed certificate had same error, so i added godaddy issued certificate, fixed the issue.

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

79158554

Date: 2024-11-05 10:01:07
Score: 1
Natty:
Report link

To add your sandbox account on your device:

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

79158539

Date: 2024-11-05 09:57:06
Score: 0.5
Natty:
Report link
  1. Direct Instantiation Works: When you use new AdminController() directly, PHP understands that AdminController refers to the class within the current namespace (Base) because of the namespace declaration at the top of the file.

  2. Dynamic Instantiation Requires Fully Qualified Namespace: When you assign $class = "AdminController" and then use new $class(), PHP does not automatically assume that AdminController is in the Base namespace. It will look for AdminController in the global namespace unless you explicitly specify the namespace.


    namespace Base;
    class Router
    {
        function loadClass($class) {
            require_once "$class.php";
            $class = "Base Admin\\Controller"; 
            $obj = new $class(); 
            $obj = new AdminController();  
        }
    }

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

79158537

Date: 2024-11-05 09:57:06
Score: 1.5
Natty:
Report link

U Can try add Begin for first query before for rec and add END also after end loop, like below

BEGIN FOR rec IN ( SELECT food_name, food_type, food_qty FROM food_tbl WHERE food_type = 'C') LOOP INSERT INTO candy_tbl(candy_name, candy_type, candy_qty) VALUES(rec.food_name, rec.food_type, rec.food_qty) END LOOP; END;

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

79158536

Date: 2024-11-05 09:57:06
Score: 1.5
Natty:
Report link

Call waitForPendingUpdates() and wait for the resulting promise.

https://firebase.google.com/docs/reference/js/firestore_.md#waitforpendingwrites_231a8e0

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

79158519

Date: 2024-11-05 09:52:04
Score: 1.5
Natty:
Report link

It seems that exporting to Excel is only supported in Visual Studio Ultimate and Premium edition. My only source for this is a comment by @Stefan Dragnev on this SO answer. For me, on Community edition, the option is visible but greyed out.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Stefan
  • Single line (0.5):
  • High reputation (-1):
Posted by: Paul Siersma

79158517

Date: 2024-11-05 09:50:04
Score: 0.5
Natty:
Report link

The accepted and high-rated answer doesn't work for me. While binary files generated by go build do include debug symbols, they are compiled with optimization enabled, which makes it almost impossible to debug with delve.

The following option works for me (I find it in delve document):

go build -gcflags="all=-N -l"
Reasons:
  • Whitelisted phrase (-1): works for me
  • RegEx Blacklisted phrase (2): doesn't work for me
  • Has code block (-0.5):
Posted by: rayx

79158492

Date: 2024-11-05 09:45:02
Score: 0.5
Natty:
Report link

It could be done as,

Uint8List int8List = ...;
Int16List int16List = Int16List.view(int8List.buffer)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: selvan

79158485

Date: 2024-11-05 09:44:02
Score: 3
Natty:
Report link

According to the documentation, tests in a single file are run in sequence, not in parallel. This means the best approach is probably to include dependent tests in the same file, in the desired order of execution.

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

79158474

Date: 2024-11-05 09:42:01
Score: 0.5
Natty:
Report link

For better understanding of --ff-only option, check out the git documentation.

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

79158473

Date: 2024-11-05 09:42:01
Score: 3.5
Natty:
Report link

FYI, django is now supporting asynchronous views...

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

79158470

Date: 2024-11-05 09:40:00
Score: 1.5
Natty:
Report link

Just use meld. It highlights character level differences and has line wrapping.

I've tried everything and nothing comes close. Pretty sure it uses an algorithm that is unique.

Reasons:
  • Blacklisted phrase (1): ve tried everything
  • Low length (1):
  • Has code block (-0.5):
Posted by: dagelf

79158458

Date: 2024-11-05 09:38:00
Score: 1
Natty:
Report link

I was also wondering this, take a look at the docs:

https://docs.flutter.dev/packages-and-plugins/developing-packages#step-2b-add-android-platform-code-kt-java

You need to build the example app at least once and then don't open the android folder directly but rather open the example application.

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

79158456

Date: 2024-11-05 09:36:59
Score: 0.5
Natty:
Report link
  1. Using the packageName extracted from the AndroidManifest.xml,

  2. You shold remove package form AndroidManifest.xml file.

  3. Add a namespace property under the android block in the build.gradle file.

Like this:

// build.gradle 

android {
    namespace "packageName"
    ...
}

See detail : https://discuss.gradle.org/t/namespace-not-specified-for-agp-8-0-0/45850

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

79158452

Date: 2024-11-05 09:35:59
Score: 2
Natty:
Report link

Watch this thread

I went through the same error and phenomenon. I'm using a McMini as a build machine, and I've really tried every means and method I can, but it didn't work, so I found it here. The ESET installation was really the problem

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

79158443

Date: 2024-11-05 09:31:58
Score: 1.5
Natty:
Report link

To replicate this logic in LINQ, you should: Use join with new { } to define composite keys. Use null-coalescing operators (??) to apply -1 as a default value for nullable fields. Use DefaultIfEmpty() to handle the left join behavior.

var query = from t in mainTable join drv in categories on new { CourseID = t?.CourseID ?? 0, OfflineCategoryID = t?.OfflineCategoryID ?? -1 } equals new { CourseID = drv.CourseID, OfflineCategoryID = drv.OfflineCategoryID ?? -1 } into cgroup from oc in cgroup.DefaultIfEmpty() // This handles the LEFT JOIN select new { // Select fields from mainTable (t) and the joined table (oc) t.CourseID, t.OfflineCategoryID, CategoryCourseID = oc?.CourseID, // This will be null if there's no match CategoryOfflineCategoryID = oc?.OfflineCategoryID };

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

79158442

Date: 2024-11-05 09:31:58
Score: 3.5
Natty:
Report link

TypeError: Cannot destructure property 'isLogoFullHeight' of '(0 , awaze_design_system_components_logo__WEBPACK_IMPORTED_MODULE_2_.getLogoConfig)(...)' as it is undefined. im getting this error how resolve

Reasons:
  • RegEx Blacklisted phrase (1): im getting this error
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: umar saeed

79158441

Date: 2024-11-05 09:30:57
Score: 2
Natty:
Report link

I think this question is more and more relevant as html5 consumes too much resources and old pure html4 browsers are not able to cope with current https protocols. html5 is one of the main internet killers. The same page, same look 50x more ram and cpu used - I don't want that. CSS have shown in advance what would happen, but w3c pushed further thinking that developers will shift to reason miraculously and stat making efficient pages... Either the page will work with html4 rendering or I probably don't need to see it. I survived with disabled javascript for more than a decade when it started damaging the web.

I want pure html4 browser that would be able to connect to current servers. Ofc it would be best if it could work like in the applet days when one only opened this or that piece of java or flash, leaving rest of the web developer phantasmagoria untouched - but html5 is developed to not support such approach. Disabling media autoplay is solution to rather small fraction of the problem. Thus user lost control over his resources again and this time in a very big way.

I see a way in building an old browser with new crypting protocols, but that would proly be a bumpy road.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Old timer

79158440

Date: 2024-11-05 09:30:57
Score: 1
Natty:
Report link

For this instance, I used the Microsoft.AspNetCore.Mvc.ApiExplorer to inject IApiDescriptionGroupCollectionProvider, and tryaddenumerable for IApiDescriptionProvider, DefaultApiDescriptionProvider

I then created a help controller which provided me a list of string from looping into ApiDescriptionGroups.Items[0] then getting each relativepath. Also checking if there are ParameterDescriptions then getting all its name to stringbuilder to provide me the API description. Not bad but hehe. That's what the old man wants me todo. hahahah

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

79158437

Date: 2024-11-05 09:30:57
Score: 2.5
Natty:
Report link

I hope that somebody will solve this exact problem. But, alternatively, you can create multiple assistants with different structured outputs and link to the same thread. This should also work.

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

79158430

Date: 2024-11-05 09:28:57
Score: 1
Natty:
Report link

Okay, figured out this behavior is more so emerging from drei's <Merged/> Helper component and how it forwards the mesh references. Replacing my previous IInstanceContext Interface with type ContextType = Record<string, React.ForwardRefExoticComponent<JSX.IntrinsicElements['mesh']>>; Made typescript happy in my case.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Ocean Evers-Peete

79158423

Date: 2024-11-05 09:25:56
Score: 0.5
Natty:
Report link

Another solution using the Change event similar to the proposal of @taller:

Private Sub Worksheet_Change(ByVal Target As Range)
    Dim rng As Range, c As Range
    Set rng = Application.Intersect(Target, Me.Columns(1))
    If rng Is Nothing Then Exit Sub
    If rng.Value = vbNullString Then Exit Sub
    Set c = Sheets("Lists").Range("A1").CurrentRegion ' modify as needed
    Target.Value(11) = c.Find(Target.Value, LookAt:=xlWhole).Value(11)
End Sub
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @taller
Posted by: MGonet

79158413

Date: 2024-11-05 09:21:55
Score: 1
Natty:
Report link

Their is a difference.

Please note, in entire of git, their are ONLY 2 commands which 'talk' to the remote (which means github.com public repo).

This talk helps sync, and check differences in local dir and remote

the commands are -

->git pull

->git push

_>git pull talks with remote. It checks for differences.

whereas, merge, does no talk with remote.

pull is a command, which executes code in git bash, and talks with remote.

merge is a command, which executes code in git bash, does 'no talk' with remote. It executes code locally only.

merge ->locally merges your current changes/divergence with 'last downloaded/pulled remote setup'

pull -> refreshes that 'remote setup'.

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

79158407

Date: 2024-11-05 09:18:54
Score: 0.5
Natty:
Report link

My working implementation boils down to two things:

  1. Set clockSkew to 0 s.
OAuth2AuthorizedClientProvider authorizedClientProvider = OAuth2AuthorizedClientProviderBuilder.builder()
                .clientCredentials(
                        clientCredentialsGrantBuilder -> clientCredentialsGrantBuilder.clockSkew(Duration.ZERO))
                .build();
  1. Add retry mechanism in case of 401:
public class WebClientRetryHelper {

    public static Retry retryUnauthorized() {
        return Retry.fixedDelay(1, Duration.ofMillis(500))
                .filter(throwable -> {
                    if (throwable instanceof WebClientResponseException ex) {
                        return ex.getStatusCode() == HttpStatus.UNAUTHORIZED;
                    }
                    return false;
                });
    }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: dan

79158402

Date: 2024-11-05 09:18:54
Score: 1.5
Natty:
Report link

In order to obtain an experience similar to JetBrains products (Intellij, WebStorm, .etc), try also setting this:

"editor.lineHeight": 1.7
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hasan Mothaffar

79158399

Date: 2024-11-05 09:17:54
Score: 3
Natty:
Report link

Abandoned, cURL can only send raw data as ftp files (alternatives are only HTTP or HTTPS) and has issues with crlf characters.

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

79158395

Date: 2024-11-05 09:16:54
Score: 1
Natty:
Report link
Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When I
  • Low reputation (1):
Posted by: kali bano

79158390

Date: 2024-11-05 09:14:53
Score: 2.5
Natty:
Report link

I had problems to install ADT (Abap Development Tools) in Eclipse 2024 09 but adding these two lines "-Djavax.net.ssl.trustStore=NUL -Djavax.net.ssl.trustStoreType=Windows-ROOT " in eclipse.ini, the problem was solved.. Thank you so much Christian Stadelmann!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: John Ubaldo

79158387

Date: 2024-11-05 09:13:53
Score: 0.5
Natty:
Report link

if you are using Bun start the server with

"start": "NODE_TLS_REJECT_UNAUTHORIZED=0 bun ./index.ts"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: xhxe

79158379

Date: 2024-11-05 09:11:52
Score: 1
Natty:
Report link

i' m using mochaOptions but you need to handle the defaults by youself.

import {loadOptions} from 'mocha/lib/cli/options.js';
const opts = loadOptions();
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: yellowsir

79158376

Date: 2024-11-05 09:11:52
Score: 0.5
Natty:
Report link

public folder is not the default way to handle files form laravel, anyway if you are on blade you have to use <img src={{url('/images/photo.type')}} width="" height="" alt=""/> Rember to configure in a good way the access to the subfolders on the public folder (ex empty index.html)

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

79158375

Date: 2024-11-05 09:10:52
Score: 2
Natty:
Report link

Generally this error occurred in Ubuntu OS when you install nodejs from Snapstore or App Center.

You can solve this error by following these steps:

  1. Uninstall Nodejs from snapstore.
  2. Install nodejs from official website or using NVM.
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Upendra Kumar

79158369

Date: 2024-11-05 09:08:51
Score: 1.5
Natty:
Report link

You can also check out the Targeted messages with multiple outgoing channels. You'd need to do the error handling with try-catch inside the incoming method.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Ozan Günalp

79158368

Date: 2024-11-05 09:08:51
Score: 0.5
Natty:
Report link

JavaScript does indeed have a built-in garbage collector that helps manage memory automatically, but there are still best practices that can help you write efficient, memory-friendly code. Here are a few points to consider:

  1. When to Use delete The delete operator is generally used to remove properties from objects, rather than variables or references. It's crucial to note that using delete doesn’t free up memory directly, but rather removes the reference from the object, allowing the garbage collector to clean it up later (if there are no other references).

Best Practice: Avoid excessive use of delete unless it's necessary to dynamically remove object properties. Instead, consider setting properties to null when you simply want to break a reference.

  1. Closures and Memory Retention Closures are powerful, but they can retain references to variables in their outer scope, which can sometimes lead to memory leaks. This is particularly important if closures are used within loops or are tied to event listeners.

Best Practice: Avoid creating unnecessary closures in frequently called functions or events, as they retain variables in memory. Instead, try to use closures judiciously or detach them once they’re no longer needed.

  1. Watch Out for Global Variables Variables in the global scope persist for the lifetime of your application, which can cause memory bloat over time. This is one of the most common traps in JavaScript and can lead to increased memory usage, especially if not cleaned up properly.

Best Practice: Minimize global variables. Use const or let within functions or blocks to limit scope. Encapsulate your code within modules or functions to reduce exposure to the global scope.

  1. Object and Array Management When working with large objects or arrays, ensure they’re cleared out when they’re no longer in use. Holding onto these large structures can consume significant memory if not handled properly.

Best Practice: Reuse objects where possible, and empty arrays or objects (array.length = 0; or object = {}) once they’re no longer needed. Additionally, use WeakMap or WeakSet for short-lived objects that don’t need strong references, as they allow for automatic garbage collection.

  1. Event Listeners and Memory Leaks Event listeners attached to DOM elements can cause memory leaks if they are not removed, especially for elements that are no longer in the DOM.

Best Practice: Remove event listeners when they are no longer needed or when the DOM element is removed. This can help prevent memory leaks and improve performance in long-running applications.

Additional Reading For a deeper dive into the internal workings of JavaScript's Call Stack, Garbage Collection, and best practices for memory management, check out this blog post on JavaScript memory management. It provides detailed insights and examples, covering everything from the Call Stack to Garbage Collection techniques, which can help you optimize memory usage effectively.

Hope this helps! Feel free to ask more if you have specific scenarios or questions.

Reasons:
  • Blacklisted phrase (1): this blog
  • Whitelisted phrase (-1): Hope this helps
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Saunish Sheth

79158366

Date: 2024-11-05 09:07:51
Score: 0.5
Natty:
Report link

Since migrations don't take any notice of the Auto properties (per the rescinded answer above), even in .Net/EF 8, the best way to do this is within the OnModelCreating method for the Data Context:

modelBuilder.Entity<Revision>().Property(e => e.IsReleased).HasDefaultValue(true);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Webreaper

79158363

Date: 2024-11-05 09:07:51
Score: 1.5
Natty:
Report link

This CSS should solve your problem-

.turtle {
  word-break: break-word;
  overflow-wrap: break-word;
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Naresh Swami

79158362

Date: 2024-11-05 09:07:51
Score: 0.5
Natty:
Report link

If cmd won't work outside VS Code, go to the registry (regedit) and delete

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Command Processor\AutoRun

as suggested in https://www.youtube.com/watch?v=SnZu6HNmIiY

That worked for me, and also solved installation issues for newer versions of Anaconda and Miniconda.

WARNING! Some commenters of the video say that deleting this key causes the explorer to not launch after rebooting. If that happens, launch the explorer by other means and then consider creating the key again.

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Whitelisted phrase (-1): worked for me
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Arturo Ramirez

79158360

Date: 2024-11-05 09:06:50
Score: 0.5
Natty:
Report link

Very late answer that might help someone-

Further to the comment by Peter Krnjevic, have a look at the FOSS tool "Everything".

This uses the NTFS USN journal to provide "instant search" by filename across a complete filesystem. Search results update in realtime as new files are written. With the appropriate indexing choices you can also run fast searches for files created/updated in any chosen timeframe.

The tool has a GUI, but there is also a command line tool and an API that talk to a background service.

For NTFS this is a comprehensive filesystem monitoring solution.

The worst thing about it is the app name, that no one is going to think to search for ..

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

79158357

Date: 2024-11-05 09:05:50
Score: 0.5
Natty:
Report link

If you are using yarn. You can add enableTransparentWorkspaces: false to .yarnrc.yml. This will switch the order of lookup to look first to npm and then to the workspaces.

Reference

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

79158355

Date: 2024-11-05 09:05:50
Score: 1
Natty:
Report link

It is usually a problem of file name or file path location. It was not working in my case because of the file name. I extended my file name to -dev and added it to the URL. It worked.

Reasons:
  • Whitelisted phrase (-1): It worked
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: sagar waghmare

79158353

Date: 2024-11-05 09:04:50
Score: 4
Natty:
Report link

The comments by the two above have already resolved the issue. Thank you to those who responded.

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

79158351

Date: 2024-11-05 09:04:50
Score: 2
Natty:
Report link

Try deleting the node_modules, .next and all cache related folders (mostly the ones that are created as soon as you run 'npm run dev'), restart VSCode and run 'npm run test'. Might help :)

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

79158346

Date: 2024-11-05 09:02:49
Score: 2.5
Natty:
Report link

OK, so meanwhile, I tested with ndk r27 and it succeeds ... Yet, it is written here https://doc.qt.io/qt-5/android-getting-started.html, that ndk r21 is supported for Qt 5.14 or later.

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

79158335

Date: 2024-11-05 09:01:49
Score: 2.5
Natty:
Report link

I encountered this issue after upgrading to Android Studio Ladybug. To resolve it, I updated the Android Gradle Plugin (AGP) dependency from 8.1.0 to 8.7.2. Make sure to follow the pre-upgrade steps before changing the version and run the post-upgrade steps afterward.

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

79158334

Date: 2024-11-05 09:01:49
Score: 2
Natty:
Report link

Answer can be found here:

APScheduler missing jobs after adding misfire_grace_time

BlockingScheduler(
    logger=log,
    job_defaults={'misfire_grace_time': 15*60},
)
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Gilbert

79158332

Date: 2024-11-05 09:00:48
Score: 10.5
Natty: 7.5
Report link

I'm facing the same issues. Have you found the solutions?

Reasons:
  • RegEx Blacklisted phrase (2.5): Have you found the solutions
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm facing the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Simon John

79158325

Date: 2024-11-05 08:58:47
Score: 2
Natty:
Report link

A good mnemonik is "Money", since the typical use case for decimals is in financial applications.

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

79158323

Date: 2024-11-05 08:57:47
Score: 1.5
Natty:
Report link

You may have your iptables altered in a way that forbids DOCKER or DOCKER-USER inbound or outbound traffic. Try doing a sudo iptables-restore < ./iptables.backup if you can.

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

79158311

Date: 2024-11-05 08:55:46
Score: 0.5
Natty:
Report link

Just to improve on @slushy answer, you can specify the service account you want to use in your 2nd generation cloud functions with setGlobalOptions:

// index.ts

import { onRequest } from "firebase-functions/v2/https";
import { initializeApp } from "firebase-admin/app";
import { setGlobalOptions } from "firebase-functions/v2";

initializeApp({ });

setGlobalOptions({
  serviceAccount: "chosen-service-account@PROJECT_ID.iam.gserviceaccount.com",
});


exports.myCustomFunction = onRequest(
  { cors: true },
  async (req: Request, res: Response) => {
     // Operations through the Admin SDK will be using the specified service account
  })

This allows you to target a more restrictive service account regarding account permissions, therefore improving your app security.

Check out more on firebase service accounts and the related google cloud permissions.

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

79158309

Date: 2024-11-05 08:54:46
Score: 4
Natty:
Report link

Worked out the issue, flatpak pycharm was running in a sandbox. My bad.

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

79158290

Date: 2024-11-05 08:50:45
Score: 0.5
Natty:
Report link

change the below code like this and let me know,

 (Format.convertTo(double.tryParse(data.lapus2_n1),0) + double.tryParse(data.lapus3_n1),0)),

issues is you try to add the string then try to parse it. just parse both value then add.

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