79094627

Date: 2024-10-16 14:57:41
Score: 0.5
Natty:
Report link

It is due to how Next.js handles Typescript and its build process. In Next.js, there are a few reasons:

1.Server-Side Rendering: this sometimes lead to type errors not being immediately visible in the browser since the code may execute without being fully type-checked in the same way as in a client-rendered React app. 2.Type Checking Behavior: If you're running the development server with next dev, TypeScript errors might not break the development server but will show up in the terminal where the Next.js process is running. 3.Typescript Configuration: Just ensure that in tsconfig.json the strict option is enabled, which will enforce stricter type checks throughout your application. 4.Next.js Type Checking: enable type checking using the next dev command by adding the --type-check flag, however this may not be the default behavior..

The way to enable type errors in Next.js

  1. tsconfig.json: { "compilerOptions": { "strict": true, // other options } }
  2. Run Type Checking During Development: npx next build && npx next dev
  3. The change in the package.json: "scripts": { "dev": "next dev", "type-check": "tsc --noEmit", "dev:check": "concurrently "npm run dev" "npm run type-check"" } for this, u will need to install concurrently to run both commands simultaneously.
Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Aleksandar Dutina

79094626

Date: 2024-10-16 14:57:41
Score: 1.5
Natty:
Report link

Aedvald Tseh's answer did help me so thanks for that. However, I found that the following finer-grained configuration also corrects this error but allows for some of the production optimization:

              "optimization": {
              "scripts": true,
              "styles": {
                "minify": true,
                "inlineCritical": false
              },
              "fonts": true
            },

For info see the Angular documentation: Angular doc on optimization

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): help me
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: plex4r

79094620

Date: 2024-10-16 14:55:40
Score: 4
Natty: 4.5
Report link

I was looking for the same solution and found this: https://github.com/kdnk/sublime_text_highlighter

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

79094618

Date: 2024-10-16 14:55:40
Score: 1.5
Natty:
Report link

I know I am late but the only solution to this problem is to have a retry mechanism. We have tried every possible setting but with Oracle it never got fixed. So we put in place a 3 times retry mechanism with 1 second delay. It works mostly in 1st retry itself and at max 2 Issue happens due to race condition on job id(probably) between multiple concurrent jobs.

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

79094615

Date: 2024-10-16 14:54:40
Score: 4
Natty: 4.5
Report link

you need to export a resources in mule Ref https://docs.mulesoft.com/mule-runtime/latest/how-to-export-resources

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

79094614

Date: 2024-10-16 14:54:40
Score: 1
Natty:
Report link

I'm not sure what exactly do you want to shrink, but you got a whole bunch of classes for datepicker available mostly you should be interested in bs-datepicker-head and bs-datepicker-body. Add required styles to your main styles.css and it will work like a charm, just note that there're min-width/min-height set.

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

79094612

Date: 2024-10-16 14:54:40
Score: 2
Natty:
Report link

From my understanding, dapr state management is to manage the states of the resources that gets shared across distributed applications. This is common use case for caching (Not necessarily only for caching). ORM does the abstraction and db can be swapped with minimum effort.

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

79094606

Date: 2024-10-16 14:52:39
Score: 2
Natty:
Report link

Use Python's struct module. It calculates and prints the size of primitive data types in bytes.

struct.calcsize() function can be used to determine the memory size of binary data.

import struct

print(struct.calcsize("i")) # integer.........returns 4

print(struct.calcsize("f")) # float........returns 4

print(struct.calcsize("d")) # double........returns 8

print(struct.calcsize("c")) # character......returns 1

print(struct.calcsize("h")) # short......returns 2

print(struct.calcsize("l")) # long.......returns 4

print(struct.calcsize("q")) # long long....returns 8

print(struct.calcsize("?")) # boolean......returns 1

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Filler text (0.5): .........
  • Filler text (0): ........
  • Filler text (0): ........
  • Low reputation (1):
Posted by: Kotipalli Mounika

79094604

Date: 2024-10-16 14:52:39
Score: 1
Natty:
Report link

I found the best way for me. How to hide rows where values are null, 0. Guava doesn't help me , because guava does int as string , but "0" value, it isn't null value ,so i coudn't hide rows if row is int

My way:

public static void appendIfStringNotNull(StringBuilder stringBuilder, String msgForAppend ,String field) {

if (field != null && !field.isEmpty()) {

    stringBuilder.append(msgForAppend).append(field).append(", ");

}

}

public static void appendIfIntegerNotNull(StringBuilder stringBuilder, String msgForAppend ,Integer field) {

if (field != null && field != 0) {

    stringBuilder.append(msgForAppend).append(field).append(", ");

}

}

public String toString() {

StringBuilder sb = new StringBuilder();

Building.appendIfStringNotNull(sb, "Place: ", place);

Building.appendIfIntegerNotNull(sb, "Height: ", height);

Building.appendIfIntegerNotNull(sb, "Width: ", width);

return sb.length() > 0 ? sb.substring(0, sb.length() - 2) : "";

}

Reasons:
  • Blacklisted phrase (1): help me
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Zhenia Ho

79094603

Date: 2024-10-16 14:52:39
Score: 1
Natty:
Report link

After a long search, I was able to find the following

.navigation .sub-menu,
.navigation .children {
  border: none;
}

.navigation .sub-menu li,
.navigation .children li {
  margin-top:8px;
  padding-top: 0 0;
  border: 1px solid #464646;
  border-bottom: 1px solid #464646;
}

.navigation .sub-menu li:last-of-type,
.navigation .children li:last-of-type {
  border-bottom: 1px solid #464646;
}

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

79094601

Date: 2024-10-16 14:51:39
Score: 1.5
Natty:
Report link

*, [child parentFilter=docType:"VEHICLE" childFilter="promotion.startDate_dt:[2018-04-03T00:00:00Z TO ] AND promotion.endDate_dt:[ TO 2018-04-03T23:00:00Z]"]

Or Try

*, [child parentFilter=docType:"VEHICLE" childFilter="startDate_dt:[2018-04-03T00:00:00Z TO ] AND endDate_dt:[ TO 2018-04-03T23:00:00Z]"]

Add double quotes in childFilter value, it should work.

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

79094598

Date: 2024-10-16 14:51:39
Score: 2
Natty:
Report link

The hook you are currently using is only for displaying the price, it will not do anything regarding the price. Try it with this hook: actionProductPriceCalculation

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Inform-all

79094596

Date: 2024-10-16 14:50:39
Score: 1.5
Natty:
Report link

Inject quarkus.oidc.OidcConfigurationMetadata, it will give you a discovered or configured issuer

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

79094595

Date: 2024-10-16 14:50:39
Score: 2
Natty:
Report link

FYI the better solution nowadays is this: https://getpublii.com/blog/one-line-css-solution-to-prevent-anchor-links-from-scrolling-behind-a-sticky-header.html

html {
  scroll-padding-top: 4rem;
}
Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
Posted by: cnizzardini

79094593

Date: 2024-10-16 14:50:39
Score: 1
Natty:
Report link

Very first do not use ACS App only context and its retired (but not end of life!).

This is a permission issue due to wrong application permissions granted during the app registration. You are providing app access to the Tenant level and hence the app should be registered in the admin center appregnew.aspx page. PFB check sheet for permission xml

SharePoint ACS APP permission check sheet

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

79094592

Date: 2024-10-16 14:49:38
Score: 8.5 🚩
Natty: 4
Report link

Exactly the same problem ... I made the certificate with IIS, exported, placed with MMC in trusted root certificates ... nothing changes.

Did you resolve and how?

Reasons:
  • RegEx Blacklisted phrase (3): Did you resolve
  • RegEx Blacklisted phrase (1.5): resolve and how?
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Giorgio Forti

79094589

Date: 2024-10-16 14:49:37
Score: 2
Natty:
Report link

Isn't the real problem here that status is defined/typed wrong?

If you want to do status === DeclarationStatus.APPROVED_BY_FREELANCER...

then declare status with that type let status: DeclarationStatus.

This way no matter what the enum values are it will work.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Isn't the
  • Low reputation (1):
Posted by: William Guigue

79094581

Date: 2024-10-16 14:46:37
Score: 0.5
Natty:
Report link

With awk Replaces the original file directly

awk 'NF==0 || (/"*";/ && !seen[$0]++) || !/"*";/' Localizable.strings > temp.txt && mv temp.txt Localizable.strings
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: ChanOnly123

79094569

Date: 2024-10-16 14:43:36
Score: 3.5
Natty:
Report link

Same issue. Contacted Atlassian and they say it's AWS. AWS contact is looking into it but heard nothing back. The lack of debug tools in Atlassian cloud is a joke.

Reasons:
  • RegEx Blacklisted phrase (1): Same issue
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Mike Freeman

79094563

Date: 2024-10-16 14:41:35
Score: 1.5
Natty:
Report link

I had the same problem with 2 led screen once ,I used raspberry pi 4 (dual HDMI) for managing 2 led screen, I don't know about your case but you can even use the usb port to connect 2 more monitor . Might be complex and not so efficient but can work

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dhruv Kabara

79094557

Date: 2024-10-16 14:40:35
Score: 4.5
Natty:
Report link

I am also looking for a detailed solutions. I am a java programmer and our application uses Authroze.net merchant API calls. We have received the same email to update Entrust to DigiCert SSL Certificate Migration. Example way of expiation would be helpful

Reasons:
  • Blacklisted phrase (2): I am also looking
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kalpana Muvvala

79094554

Date: 2024-10-16 14:40:35
Score: 3
Natty:
Report link

Problem solved. Just use 'control' in the Ribbon.xml instead of 'button'.

https://learn.microsoft.com/en-us/openspecs/office_standards/ms-customui/f2bf1b5d-0492-46a4-88f7-dc1a9528f755

This will clone the original MS PowerPoint button.

 <control idMso="Paste" size="large" />
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Han Jiang

79094553

Date: 2024-10-16 14:39:35
Score: 1
Natty:
Report link

It is configured in Settings > Windows.Title or in settings.json:

# Here's the default config but with rootName and activeEditorShort switched places

"window.title": "${dirty}${rootName}${separator}${activeEditorShort}${separator}${profileName}${separator}${appName}"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: manururu

79094542

Date: 2024-10-16 14:37:34
Score: 4.5
Natty:
Report link

This is credit to @SvyatoslavDanyliv . Thanks man. Complete code link of @SvyatoslavDanyliv which I changed and only changed code is posted in the answer How to select many from string in efcore?

I modified your code only tow functions and it is achieved my target. Now I can post as much as possible condition from frontend. Following are the code which I modified and rest of the function is the same.

I want to return Expression instead of Querable return, want to add it into repository and can be used into my injected Services as parameters that can work along with other parameters.

Now working fine and thanks once again @SvyatoslavDanyliv your code helped me a lot. I am using Recursive function instead due to lack of time will continue to improve it to improve its performance.

public static Expression<Func<T, bool>> Where<T>(DbContext context, IList<qCondition.whereClause> filters)
 {
     IQueryable<T> returnResult = null;
     var parameter = Expression.Parameter(typeof(T), "e");
     Expression expression = Expression.Constant(true);
     foreach (var key in filters)
     {
         if (key.condition == "()")
         {
             var dynamicQuery = FilterQuery(context.Model, parameter, key.field, propExpression =>
                 Expression.Call(EnsureString(propExpression), nameof(string.Contains), Type.EmptyTypes,
             Expression.Constant(key.value)));

             expression = Expression.AndAlso(expression, dynamicQuery);
         }
         else if (key.condition == "*=")
         {
             var dynamicQuery = FilterQuery(context.Model, parameter, key.field, propExpression =>
                 Expression.Call(EnsureString(propExpression), nameof(string.StartsWith), Type.EmptyTypes,
             Expression.Constant(key.value)));

             expression = Expression.AndAlso(expression, dynamicQuery);
         }
          else if (key.condition == "=*")
         {
             var dynamicQuery = FilterQuery(context.Model, parameter, key.field, propExpression =>
                 Expression.Call(EnsureString(propExpression), nameof(string.EndsWith), Type.EmptyTypes,
             Expression.Constant(key.value)));

             expression = Expression.AndAlso(expression, dynamicQuery);
         }
         else
         {
             var dynamicQuery = FilterQuery(context.Model, parameter,key.field, propExpression =>
             {
                 if (key.value == null)
                 {
                     var propType = propExpression.Type;
                     if (propType.IsValueType)
                     {
                         propExpression = Expression.Convert(propExpression, typeof(Nullable<>).MakeGenericType(propType));
                     }
                 }
                 if(key.condition=="=")
                     return Expression.Equal(propExpression, Expression.Constant(Convert.ChangeType(key.value, propExpression.Type), propExpression.Type));
                 else if(key.condition=="!=")
                     return Expression.NotEqual(propExpression, Expression.Constant(Convert.ChangeType(key.value, propExpression.Type), propExpression.Type));
                 else if(key.condition=="<")
                     return Expression.LessThan(propExpression, Expression.Constant(Convert.ChangeType(key.value, propExpression.Type), propExpression.Type));
                 else if(key.condition==">")
                     return Expression.GreaterThan(propExpression, Expression.Constant(Convert.ChangeType(key.value, propExpression.Type), propExpression.Type));
                 else if(key.condition=="<=")
                     return Expression.LessThanOrEqual(propExpression, Expression.Constant(Convert.ChangeType(key.value, propExpression.Type), propExpression.Type));
                  else 
                     return Expression.GreaterThanOrEqual(propExpression, Expression.Constant(Convert.ChangeType(key.value, propExpression.Type), propExpression.Type));
             });
             expression = Expression.AndAlso(expression, dynamicQuery);
         }
     }

     var finalResult = Expression.Lambda<Func<T, bool>>(expression, parameter);
     return finalResult;
     //return query.Where(finalResult);
 }

And another function which I eddited

private static Expression FilterQuery(IModel model, ParameterExpression exp, string propPath, Func<Expression, Expression> filterFactory)
{
    var propNames = propPath.Split('.');
    var parameter = exp;
    var filter = BuildFilter(exp, model, propNames, 0, filterFactory);
    // var filterLambda = Expression.Lambda<Func<T, bool>>(filter, entityParameter);
    // return query.Where(filterLambda);
    return filter;

}

Now I can pass as many as parameters with multiple conditions. Working with following input parameters

new List<parameters>
{
    new parameter{key:"Name",operator:"=", value : "abcd"},
    new parameter{key:"Students.Classes.Class.classTitle",operator:"()-Contains", value : "V"},
 new parameter{key:"Students.BasicInformation.FirstName",operator:"*=", value : "xyz"},
}
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): helped me a lot
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @SvyatoslavDanyliv
  • User mentioned (0): @SvyatoslavDanyliv
  • User mentioned (0): @SvyatoslavDanyliv
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Own

79094533

Date: 2024-10-16 14:35:33
Score: 1
Natty:
Report link

Somewhere you are importing package.json and trying to use some of it's properties.

Per: Fully Stacked:

"For security reasons (a file extension alone is not a reliable enough indicator of the content type) you have to specify the type using with {type: "json"}."

so instead use (for example):

import pkg from "./package.json" with { type: "json" };

Note also the comment above and consider handling the case where the file (package.json in this example) is missing.

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

79094528

Date: 2024-10-16 14:34:33
Score: 0.5
Natty:
Report link

Try uninstall git and reinstall it. The latest current version of git is the version 2.47.0

Here is how you can reinstall git :

sudo apt-get purge git
sudo apt-get autoremove
sudo apt-get install git

After that you can try again to push.

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

79094527

Date: 2024-10-16 14:33:33
Score: 1.5
Natty:
Report link

When you create a field with 3 or less than 3 characters, followed by some numeric value its internal name will gets changed.

Also, if your field name starts with the numeric value then also the Internal name will get changed. In these cases when you query the Field Internal name from CSOM / PnP, use

EntityProperyName

instead of InternalName.

Reasons:
  • No code block (0.5):
  • Starts with a question (0.5): When you
  • Low reputation (0.5):
Posted by: Naveen Prasath

79094506

Date: 2024-10-16 14:28:32
Score: 1
Natty:
Report link

In your case (tasks), the save mothod will not trigger a signal. Because it's running out side of Django process. Django signals are bit confusing šŸ˜•. If you fellow documentation you would expect it to work. But in reality signals are only sent from a Django context( views , admin, forms,...)

Reasons:
  • Whitelisted phrase (-1): In your case
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Hemza Talha

79094496

Date: 2024-10-16 14:27:31
Score: 2.5
Natty:
Report link

For me, the problem was solved by removing the source tag belonging to the video tag and assigning the src attribute to the video tag. Before changing, the problem only occurred on Android mobile devices, but after changing, Android, iPhone mobile and PC all worked fine.

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

79094495

Date: 2024-10-16 14:26:31
Score: 1
Natty:
Report link

You can't. For "Security" the prohibit the use of localhost. You can either use 127.0.0.1 or setup a dummy domain locally. We wound up using the 127.0.0.1 as it was easier.

There are a number of posts on the Authorize.net Developer community forum about this (and the lack of any reference to this change in their documentation)

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

79094492

Date: 2024-10-16 14:26:31
Score: 1.5
Natty:
Report link

There is a solution suggested but not sure how reliable it is. It works only occasionally on my site but that could be due to admin-enforced restrictions in my enterprise environment.

If you go to the end of your URL of the share link, you have a Question Mark (?) followed by letters (it's different for each URL). Replace the information after the question mark with download=1.

A detailed explanation is given in How to use the IMAGE function with SharePoint URLs

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Stefan

79094491

Date: 2024-10-16 14:26:31
Score: 0.5
Natty:
Report link

Doing the first two steps was enough for me. In case it doesn't work. can do the third step.

  1. Enable Developer Mode: • Open Settings. • Go to Update & Security > For developers. • Turn on Developer Mode.
  2. Configure Git to Use Symbolic Links: • Open Git Bash and run the following command to enable symbolic links globally: git config --global core.symlinks true
  3. Grant Symbolic Link Privileges: • Open the Local Group Policy Editor (gpedit.msc). • Navigate to Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment. • Find and double-click Create symbolic links. • Add your user account to the list.
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Shravya Boggarapu

79094489

Date: 2024-10-16 14:25:30
Score: 1
Natty:
Report link

You can try to install this package https://www.npmjs.com/package/eslint-plugin-simple-import-sort and integrate it with your current codebase.

This has the eslint --fix feature, which can fix the order in your codebase.

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

79094480

Date: 2024-10-16 14:24:30
Score: 1.5
Natty:
Report link

First ensure that u have the Redux DevTools extension installed in your Chrome browser and use this code.

export const store = configureStore({ reducer: persistedReducer, middleware: (getDefaultMiddleware) => getDefaultMiddleware({ serializableCheck: false, }).concat(apiSlice.middleware), devTools: process.env.NODE_ENV !== 'production', // Enable Redux DevTools in development });

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

79094475

Date: 2024-10-16 14:21:29
Score: 0.5
Natty:
Report link

I agree with @somethingsomething as based on this documentation, gsutil commands are not listed here. Although it was not mentioned that gsutil is not allowed nor does it work to ignore files included in the .gcloudignore file, it seems like .gcloudignore only works when deploying an app or function.

I tried replicating your issue and I got the same results as yours. The files included in .gcloudignore files are still pushed to the bucket using gsutil rsync command. Upon adding the -x command, the files are also not pushed to the bucket.

On the other hand, I also tried deploying a function using gcloud functions deploy. It worked well and ignored the files I included in the .gcloudignore file.

Reasons:
  • Blacklisted phrase (1): this document
  • Whitelisted phrase (-1): It worked
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @somethingsomething
  • Low reputation (0.5):
Posted by: yannco

79094473

Date: 2024-10-16 14:21:29
Score: 0.5
Natty:
Report link

This problem is discussed in this thread on gitlab forum.

My working script lines for a merge request pipeline are

- git fetch origin $CI_MERGE_REQUEST_TARGET_BRANCH_NAME
- git --no-pager diff --name-only origin/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME | grep "**/*\.py$" | xargs black --check
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: EgurnovD

79094468

Date: 2024-10-16 14:20:29
Score: 1.5
Natty:
Report link

why checking if x is True is worse

because the code should be written a way which eases modifications.

Checking for x is True works fine when x is an instance of bool, but if you'll want to modify it – for example, create a class for lazy calculation of x, and define it via that class instead of direct assignment, x is True will become false, even if x == True still could be true (see __bool__(), __nonzero__()*, __eq__() and __ne__() on how to achieve that).

Reasons:
  • Blacklisted phrase (1): how to achieve
  • Has code block (-0.5):
  • Starts with a question (0.5): why
  • Low reputation (0.5):
Posted by: LogicDaemon

79094466

Date: 2024-10-16 14:20:29
Score: 0.5
Natty:
Report link

Look this chapter in your article https://oracle-base.com/articles/19c/oracle-db-19c-installation-on-oracle-linux-9

Patch Installation
For the installation to be supported you need to be on patch level 19.19 or later... We already applied the main RU during the software installation

Did you try the same ? Apply RU>=19 during installation.

Reasons:
  • Whitelisted phrase (-2): Did you try
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: G. Slautsky

79094464

Date: 2024-10-16 14:19:28
Score: 2.5
Natty:
Report link

I have a dataset in Json format containing XYZ-Coordinates, and I need to extract the circular region around the nearest point from this dataset and remove the noise(outlier) . I'm incorporating bias and variance analysis, as well as applying linear regression for model accuracy. For nearest neighbor calculations, I'm using K-Nearest Neighbors (KNN) and SVM with kernel functions. However, the results are not as accurate as expected. Dataset can be downloaded from the Link below

This is the issue: Remove Noise near the start Click

DataSet: DataSet in Json Format

Reasons:
  • Blacklisted phrase (1): the Link below
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Rvtcad

79094435

Date: 2024-10-16 14:13:27
Score: 1
Natty:
Report link

Intellij needs permissions so that it can for instance seamlessly download plugin you chose, or maybe if your build setup is configured for different artifactory to get it's code snapshots from (for example when you include package in your pom - intellij in the background when you press maven refresh downloads that from maven repo to your local .m2 folder. To install git when you first time installing Intellij on the system and git is not found on path. If you have 'Code With Me' plugin in Intellij so that it can function properly, and so many other stuff.

Usage statistics is different setting - related to firewall settings but not only thing that goes through firewall, and btw you can disable it.

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

79094424

Date: 2024-10-16 14:10:26
Score: 2.5
Natty:
Report link

As phd mentioned - the problem turned out to be git 2.47.0 After uninstalling it and installing 2.46.2 everything works fine.

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

79094419

Date: 2024-10-16 14:09:26
Score: 0.5
Natty:
Report link

Based on previous answers, including from Ikhtesam, I managed the following:

$workflowUri = "/subscriptions/$SubscriptionId/resourceGroups/$ResourceGroup/providers/Microsoft.Web/sites/$LogicAppName/workflows/"
$workflows = az resource show --ids $workflowUri | ConvertFrom-Json
foreach ($workflow in $workflows.value) {
    $workflowName = $workflow.name -replace "$LogicAppName/", ""
    $triggerUri = "https://management.azure.com/subscriptions/$SubscriptionId/resourceGroups/$ResourceGroup/providers/Microsoft.Web/sites/$LogicAppName/hostruntime/runtime/webhooks/workflow/api/management/workflows/$workflowName/triggers/$TriggerName/listCallbackUrl?api-version=2018-11-01"
    $response = az rest --method post --uri $triggerUri | ConvertFrom-Json
    Write-Output $response.value
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: GermƔn Mendoza

79094398

Date: 2024-10-16 14:03:24
Score: 14
Natty: 7
Report link

I am also facing same issue. Response should be 302 intead of that I am getting 200. Did you get any solution for same?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): Did you get any solution
  • RegEx Blacklisted phrase (2): any solution for same?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am also facing same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user2350497

79094392

Date: 2024-10-16 14:02:23
Score: 6.5 🚩
Natty:
Report link

If you found a solution, please share me my friend. I got the same trouble, and I wants the same solution as WPS office.

Reasons:
  • Blacklisted phrase (1): If you found a solution
  • RegEx Blacklisted phrase (2.5): please share me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Wendmnew Sitot

79094368

Date: 2024-10-16 13:55:21
Score: 5
Natty: 4
Report link

I am struggling with a similar bug right now...

what did you see??

Reasons:
  • Blacklisted phrase (1): I am struggling
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Remi Beaulieu

79094365

Date: 2024-10-16 13:55:21
Score: 4.5
Natty: 4.5
Report link

Did you actually manage to figure it out? I ran into the same issue.

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

79094363

Date: 2024-10-16 13:54:20
Score: 3.5
Natty:
Report link

I would return an object and cast the type using an if statement.

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

79094356

Date: 2024-10-16 13:53:20
Score: 3
Natty:
Report link

This issue is caused by the transitive dependency Spring Cloud Function and fixed in https://github.com/spring-cloud/spring-cloud-function/pull/1169. You can exclude that dependency until a new version is released. See also: https://github.com/aws/serverless-java-container/issues/904

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Dennis Kieselhorst

79094350

Date: 2024-10-16 13:52:19
Score: 3
Natty:
Report link

Your log products offer a unique touch to any space, combining natural beauty with functionality. Customers will appreciate the craftsmanship and sustainability behind each piece.

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

79094349

Date: 2024-10-16 13:52:19
Score: 2
Natty:
Report link

I've already resolved it by identifying proper exports of variables from one class file to another. It was like exporting from where it was created and then importing it to where it should be used.

I've discovered that it was like creating my own packages within the project itself.

P.S., I am using Node.JS with Express.js. It was so fun to play around with.

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

79094347

Date: 2024-10-16 13:51:19
Score: 0.5
Natty:
Report link

as @cole mentioned, this is happening because the tailwind config uses CSS variables that aren't defined.

an easy fix would be to define those, here is a nice default start place for all those variables, taken from next.js global.css. Add it to your index.css.

@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  :root {
    --background: 0 0% 100%;
    --foreground: 222.2 84% 4.9%;
    --card: 0 0% 100%;
    --card-foreground: 222.2 84% 4.9%;
    --popover: 0 0% 100%;
    --popover-foreground: 222.2 84% 4.9%;
    --primary: 222.2 47.4% 11.2%;
    --primary-foreground: 210 40% 98%;
    --secondary: 210 40% 96.1%;
    --secondary-foreground: 222.2 47.4% 11.2%;
    --muted: 210 40% 96.1%;
    --muted-foreground: 215.4 16.3% 46.9%;
    --accent: 210 40% 96.1%;
    --accent-foreground: 222.2 47.4% 11.2%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;
    --border: 214.3 31.8% 91.4%;
    --input: 214.3 31.8% 91.4%;
    --ring: 222.2 84% 4.9%;
    --radius: 0.5rem;
    --chart-1: 12 76% 61%;
    --chart-2: 173 58% 39%;
    --chart-3: 197 37% 24%;
    --chart-4: 43 74% 66%;
    --chart-5: 27 87% 67%;
  }

  .dark {
    --background: 222.2 84% 4.9%;
    --foreground: 210 40% 98%;
    --card: 222.2 84% 4.9%;
    --card-foreground: 210 40% 98%;
    --popover: 222.2 84% 4.9%;
    --popover-foreground: 210 40% 98%;
    --primary: 210 40% 98%;
    --primary-foreground: 222.2 47.4% 11.2%;
    --secondary: 217.2 32.6% 17.5%;
    --secondary-foreground: 210 40% 98%;
    --muted: 217.2 32.6% 17.5%;
    --muted-foreground: 215 20.2% 65.1%;
    --accent: 217.2 32.6% 17.5%;
    --accent-foreground: 210 40% 98%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 210 40% 98%;
    --border: 217.2 32.6% 17.5%;
    --input: 217.2 32.6% 17.5%;
    --ring: 212.7 26.8% 83.9%;
    --chart-1: 220 70% 50%;
    --chart-2: 160 60% 45%;
    --chart-3: 30 80% 55%;
    --chart-4: 280 65% 60%;
    --chart-5: 340 75% 55%;
  }
}

@layer base {
  * {
    @apply border-border;
  }
  body {
    @apply bg-background text-foreground;
  }
}

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @cole
  • Low reputation (1):
Posted by: Daniel .W

79094346

Date: 2024-10-16 13:51:19
Score: 0.5
Natty:
Report link

Take it apart.

You start with .* which can match an empty string.

Then you have (?i) which is a directive and does not match anything.

Then you have d? which can match an empty string.

Then you have max which must match the sequence "m", "a", and "x" but could be upper or lower case.

Then you have another .* which can also match an empty string.

It looks to me like you've built a complicated string to search for occurrences of "max". What were you trying to do?

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Chris Maurer

79094324

Date: 2024-10-16 13:44:18
Score: 4
Natty:
Report link

You give your function a new_doc argument, which you do nothing to, and then you save it using document.save(new_doc). Do you not need to apply some changes to the new_doc?

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Slavensky

79094320

Date: 2024-10-16 13:43:17
Score: 1
Natty:
Report link

I don't know how it translates to jquery, but in plain Javascript you can just do:

event.target.parentElement.querySelector(".submenu-toggle").classList.add("new-class")
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ray Wallace

79094319

Date: 2024-10-16 13:43:17
Score: 1
Natty:
Report link

There's another way that can be considered or just more information for your reference.

You can download the source code from the official repository: https://github.com/rubenlagus/TelegramBots

And then build the jar files locally and add them back to your maven project.

The latest version 7.10.0 is compatible with Spring boot 3.2.3

Notice that the telegrambots-spring-boot-starter is gone but became telegrambots-springboot-longpolling-starter and telegrambots-springboot-webhook-starter.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Wing Kui Tsoi

79094317

Date: 2024-10-16 13:43:17
Score: 1
Natty:
Report link

This is a bit of an old question but it plagued me as well and the answer turned out to be adding this to the VSCode settings (Preferences - Open User Settings JSON):

"python.experiments.optInto": ["pythonTestAdapter"]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nathan

79094315

Date: 2024-10-16 13:42:17
Score: 1
Natty:
Report link

Many to Many relationship is the best approach. In a modern database, this should not make any performance issues even if you have thousands of users.

However if you are sure that you have only 3 roles in the system and its not going to grow to 4 or 5, you can also follow the approach of giving a numeric value to indicate the roles similar to the chmod command in unix. client -1, recipient - 2, administrator 4. A total value of 7 indicates all 3 roles, 3 indicates client+receipient, 6 indicates recipent+admin, 4 indicates only admin etc.

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

79094311

Date: 2024-10-16 13:41:17
Score: 1
Natty:
Report link

After some digging I found out that that creating a X-Forwarded-Host rewrite rule with the new domain in Azure Application Gateway and together with setting this enviroment variable:

{
  name: 'GF_SECURITY_CSRF_TRUSTED_ORIGINS'  
  value: '[publicdomain].com'
}

did the trick.

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

79094303

Date: 2024-10-16 13:39:16
Score: 4
Natty:
Report link

I am new with gekko, but I think the usage of m.if2 might be wrong. 'm.if2(m.abs(v)<=1e-4, u,xs_)' should be written as 'm.if2(m.abs(v)-1e-4, u,xs_)', it means if 'm.abs(v)-1e-4' is less than 0, the value is u, or else it is xs_.

Reasons:
  • RegEx Blacklisted phrase (1.5): I am new
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: fatsen

79094301

Date: 2024-10-16 13:38:16
Score: 1
Natty:
Report link
    With selenium 4.23.0we are able to avoid automated detection.

 var options = new ChromeOptions();
    options.addArguments("enable-automation");
    options.addArguments("disable-infobars");// optional it will just disable info bar
    WebDriver driver=new ChromeDriver(options);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: rajeev ranjan

79094294

Date: 2024-10-16 13:36:15
Score: 3
Natty:
Report link

For me this was caused by changing from version v2 to v3 of the sdk, see the migration hints. You may need to specify region, or set followRegionRedirects.

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

79094284

Date: 2024-10-16 13:34:15
Score: 2.5
Natty:
Report link

might related to this.

https://github.com/Milad-Akarie/auto_route_library/issues/2055

I updated this key to false to avoid that error

ios/Runner/Info.plist

<key>FlutterDeepLinkingEnabled</key>
<false/>
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: wzz

79094281

Date: 2024-10-16 13:33:14
Score: 1
Natty:
Report link

In my case, nothing was working until I updated the docker desktop to the latest version.

Then the command minikube startā€Š-ā€Šdriver=docker worked as expected.

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

79094278

Date: 2024-10-16 13:32:14
Score: 3
Natty:
Report link

In Django 5.1 you should set obj.pk=None and obj._state.adding = True, then obj.save() See more in docs.djangoproject.com/en/5.1/topics/db/queries/#copying-model-instances

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

79094276

Date: 2024-10-16 13:32:14
Score: 0.5
Natty:
Report link

Thanks to @Clarence Kuo, this is the helper function I created for when I had the same question as the OP: extracting the latitude and longitude from a WKT LINESTRING Geometry object in GeoPandas:

import pandas as pd
from shapely import wkt
from typing import Tuple

def expand_max_min_lat_long_from_wkt(df: pd.DataFrame, wkt_col_name: str) -> pd.DataFrame:
    
    def _check_n_correct_wkt(df: pd.DataFrame, wkt_col_name: str) -> Tuple[pd.DataFrame, str]:
        if str(df[wkt_col_name].dtype) != 'geometry':
            new_wkt_col_name = f"{wkt_col_name}__WKT"
            df[new_wkt_col_name] = df[wkt_col_name].apply(wkt.loads)
            wkt_col_name = new_wkt_col_name
        return df, wkt_col_name

    def _expand_max_min_lat_long_from_wkt(wkt_val) -> tuple:
        if not wkt_val:
            return (None, None, None, None)
        lon, lat = wkt_val.coords.xy
        return (
            min(lat),
            max(lat),
            min(lon),
            max(lon),
        )

    df, wkt_col_name = _check_n_correct_wkt(df, wkt_col_name)

    (
        df[f"{wkt_col_name}__LAT_MIN"], 
        df[f"{wkt_col_name}__LAT_MAX"], 
        df[f"{wkt_col_name}__LONG_MIN"], 
        df[f"{wkt_col_name}__LONG_MAX"],
    ) = zip(*df[wkt_col_name].apply(_expand_max_min_lat_long_from_wkt))

    return df

With usage of:

gdf = expand_max_min_lat_long_from_wkt(gdf, 'geometry')

and results like: enter image description here

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): I had the same
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Clarence
  • Low reputation (0.5):
Posted by: Weston A. Greene

79094272

Date: 2024-10-16 13:31:14
Score: 0.5
Natty:
Report link

The error message suggests that you may need to look into the specific permissions and roles.

To set the cross-project permissions in a moderately complex architecture in Google Cloud Platform. You will need to configure the roles and permissions.

As per this official document about BigQuery IAM roles and permissions:

This document provides information on Identity and Access Management (IAM) roles and permissions for BigQuery. IAM lets you grant granular access to specific BigQuery resources and helps prevent access to other resources.

The error you are getting due to the cloud Functions can’t read from bigquery because it doesn’t have permissions. So, you need to allow the cloud Functions to read the bigquery in project-2

In your project-1 you need to grant the kubernetes pod permission to call the cloud function.

In your project-2 You need to grant the IAM service Account the roles/bigquery.dataviewer and roles/bigquery.dataEditor

The above roles grant the IAM service account necessary permissions to bigquery tables in Project-2

Reasons:
  • Blacklisted phrase (1): This document
  • Long answer (-1):
  • No code block (0.5):
Posted by: Sai Chandini Routhu

79094271

Date: 2024-10-16 13:31:14
Score: 5
Natty:
Report link

this is extremely amazing thanks all

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (2):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: silas

79094267

Date: 2024-10-16 13:30:13
Score: 2
Natty:
Report link

For me works:

typeof InstallTrigger !== "undefined"
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: АнГрій Єемій

79094266

Date: 2024-10-16 13:30:13
Score: 2.5
Natty:
Report link

As @Matthias Mertens said, I was missing a DIV with a certain width around it. Using <div class="vw-99"></div> around everything fixed the issue.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @Matthias
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: baswijdenesdotcom

79094265

Date: 2024-10-16 13:30:13
Score: 5.5
Natty:
Report link

I changed image and it works correctyl. Thank you @Thiny Wang

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @Thiny
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Bogdan

79094262

Date: 2024-10-16 13:30:13
Score: 3.5
Natty:
Report link

I faced a similar error while executing script, a quick solution to this just add this to end of your function:

after $$ signs and before ';'

Like this:

enter image description here

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

79094234

Date: 2024-10-16 13:22:11
Score: 1.5
Natty:
Report link

We are not simulating the results of LINQ extension methods.

If your goal is to verify that NotFoundException is thrown when you didn't find the cost by id - then you need to encapsulate the search and simulate the output of that method.

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

79094225

Date: 2024-10-16 13:21:11
Score: 1.5
Natty:
Report link

It's an access issue. Verify if the role RO has access on this table

SHOW GRANTS TO ROLE RO;
OR
SHOW GRANTS ON TABLE <DB_NAME.SCHEMA.TABLE_NAME>;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Khathibur Rehman

79094217

Date: 2024-10-16 13:19:10
Score: 1
Natty:
Report link

Find a field or another element that certainly has a way to find it and go for the parent

expr="//field[@name='some_field']/parent::page"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Alesis Joan

79094206

Date: 2024-10-16 13:19:10
Score: 0.5
Natty:
Report link

If you are using macbook and installed mysql with homebrew, this error can happen when brew upgrades mysql version. You can reninstall the old version and link to it.

brew install [email protected] #or your version [email protected]
brew unlink mysql
brew link [email protected]
brew services start [email protected]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: andychukse

79094201

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

Use self.debug_mode():

my_form = Form(self.env['my.model'])
my_form.field_name = 'test'```
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Alesis Joan

79094189

Date: 2024-10-16 13:15:09
Score: 2
Natty:
Report link

ssh -p 2220 [email protected]

password: bandit0

Highly Recommend! "This command should work by adding '0' between 'bandit' and '@'."

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

79094187

Date: 2024-10-16 13:14:09
Score: 7.5 🚩
Natty: 6.5
Report link

Can you help me like roughly how much screenshot is needed so that to detect buttons icons and text fields in a screenshot.

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Can you help me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can you help me
  • Low reputation (1):
Posted by: Jeomon Geo

79094184

Date: 2024-10-16 13:13:08
Score: 1.5
Natty:
Report link

The mechanism for implementing shadow variable listeners has been greatly simplified in one of the newest releases. You can check out the blog post about that on the official site.

As for use in an example, the quickstarts have been adjusted accordingly. I think almost everything you need would be included in the Vehicle Routing example found. This includes chained visits through the @PlanningListVariable annotation. In the quickstart, that annotation is used here.

Reasons:
  • No code block (0.5):
  • User mentioned (1): @PlanningListVariable
Posted by: Tom Cools

79094153

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

Are you trying to display your fetched data in a component?

user.jsx

const User = ({ fruit }) => {
  return <div>{fruit} in user.jsx</div>;
};

export default User;

App.jsx

export default FruitApp;

import './index.css';
import { useState, useEffect } from 'react';
import axios from 'axios';
import User from "./user";

function App() {
  const [count, setCount] = useState(0);
  const [array, setArray] = useState([]);

  const fetchApi = async () => {
    try {
      const response = await axios.get("http://localhost:3000/api");
      setArray(response.data.fruits);
      console.log(response.data.fruits);
    } catch (error) {
      console.error("Erreur lors de la rƩcupƩration des donnƩes : ", error);
    }
  };

  useEffect(() => {
    fetchApi();
  }, []);

  return (
    <div>
      {array.map((fruit, index) => (
        <User key={index} fruit={fruit}></User>
      ))}
    </div>
  );
}

export default App;

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

79094150

Date: 2024-10-16 13:04:05
Score: 2
Natty:
Report link

I had the same problem for quite a while now, I still have it .

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

79094140

Date: 2024-10-16 13:02:04
Score: 4
Natty:
Report link

You can upload and manage any package you have developed in pub.dev see:

https://dart.dev/tools/pub/publishing

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

79094116

Date: 2024-10-16 12:56:03
Score: 1
Natty:
Report link

This extension is all you need:

https://marketplace.visualstudio.com/items?itemName=inwtlab.python-smart-execute&ssr=false#review-details

It binds Ctrl+Enter keys to execute code and move to the next non-empty line. In addition, it will execute code in a smart way. For example, if you place the cursor to the first line of a for code block, it will execute the whole for loop and then it will move the cursor to the next executable line. It is similar to Rstudio if you are familiar with.

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

79094113

Date: 2024-10-16 12:54:02
Score: 0.5
Natty:
Report link

Issue with Cron Triggers in JCASC Jobs

It sounds like your cron triggers only kick in after a manual run. This happens because Jenkins doesn't start the cron schedule until the job runs at least once.

Workarounds:

If you’re using other specific plugins or have more details, feel free to share. It could help refine the solution!

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

79094111

Date: 2024-10-16 12:54:02
Score: 2.5
Natty:
Report link

Resolved this issue just now.

I saw that the isar package I was using was holding an async write thread due to a deadlock formed because of 2 back to back writes to its cache.

To summarise, the actual culprit was a thread left running in the background, which made the entire debugger unresponsive.

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

79094109

Date: 2024-10-16 12:53:02
Score: 3
Natty:
Report link

Your number is literally the same, the negligible difference you see is purely due to different methodologies when it comes to interpolation and associated calculation conventions (Bloomberg has richer set of choices compared to Quantlib).

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

79094102

Date: 2024-10-16 12:51:01
Score: 0.5
Natty:
Report link

If someone needs answer for this just register command in the app\Console\Kernel.php because it is not registered automatically:

protected $commands = [
        ExportMessagesToFlat::class
    ];
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Osta

79094100

Date: 2024-10-16 12:50:01
Score: 3.5
Natty:
Report link

Both issues are solved with getting business_management permission

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

79094096

Date: 2024-10-16 12:49:01
Score: 1.5
Natty:
Report link

Here I compared below conditions,

The value of the _size field must be less than or equal to 5000. The value of the _size_to field must be greater than or equal to 1000.

When we filter like Min[1000] & Max[12000]

_size <= 1000
_size_to >= 5000
<?php
$filter_size_rang_min_val = 1000;
$filter_size_rang_max_val = 5000;

$meta_query = array(
    'relation' => 'AND',
    array(
        'key' => '_size',
        'value'    =>  $filter_size_rang_max_val,
        'type'     => 'NUMERIC',
        'compare' => '<='
    ),
    array(
        'key' => '_size_to',
        'value'    =>  $filter_size_rang_min_val,
        'type'     => 'NUMERIC',
        'compare'  => '>='
    ),
);

Please let me know if it works.

Reasons:
  • RegEx Blacklisted phrase (2.5): Please let me know
  • Long answer (-0.5):
  • Has code block (-0.5):
Posted by: Mahesh Thorat

79094093

Date: 2024-10-16 12:49:01
Score: 2
Natty:
Report link
sudo service docker start 

sudo service docker status 

on your wsl docker

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

79094088

Date: 2024-10-16 12:47:00
Score: 2.5
Natty:
Report link

To solve this problem in visual studio code, in debugging select the option Attach to .NET Functions as shown in following image. enter image description here

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

79094086

Date: 2024-10-16 12:46:00
Score: 2.5
Natty:
Report link

For me its resolved by unrestricting battery optimsation in app battery setting which can be find in devices setting-> apps -> ['app name']->battery and turn off toggole for (cancel permission when app in unused) . After changing this setup its start working

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

79094085

Date: 2024-10-16 12:46:00
Score: 1.5
Natty:
Report link

Have you tried this?

    // Modular reduction: (uint64(m) * uint64(max)) >> 32
    // first multiply (even lanes)
    VPMULUDQ Z31, Z2, Z3
    // prepare odd lanes multiply
    VPSRLQ $32, Z3, Z3
    VPSRLQ $32, Z2, Z2
    // second multiply (odd lanes)
    VPMULUDQ Z31, Z2, Z2
    // clear wrong lane
    VPSRLQ $32, Z2, Z2
    VPSLLQ $32, Z2, Z2
    // combine odd and even lanes
    VPORQ Z2, Z3, Z3
  
    // Store result
    VMOVDQU32 Z3, (DI)
Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Hairo

79094082

Date: 2024-10-16 12:46:00
Score: 1
Natty:
Report link

Can't do a comment yet, so...

...An error occurred trying to start process '/home/lartsevalex/NewAvitoParser/bin/Debug/net8.0/selenium-manager/linux/selenium-manager' with working directory '/home/lartsevalex/NewAvitoParser'. Permission denied

Permission denied

Giving permissions to the user that runs this program might resolve this.

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): Can't
  • Low reputation (1):
Posted by: Josip Rajković

79094080

Date: 2024-10-16 12:46:00
Score: 1
Natty:
Report link

Type errors are displayed in the browser during rendering by React, although they might not be as noticeable in Next.js because of:

  1. SSR Action: Subsequent.Because server-side rendering is used by JavaScript, type mistakes that appear solely during client-side hydration can be hidden.

  2. TypeScript Handling: TypeScript is supported natively by Next.js, which suppresses some errors and concentrates more on build-time checks.

  3. Development Mode: Compared to React, which displays all faults instantly in the browser during development, Next.js may display less problems in production.

Use rigorous TypeScript settings and run TypeScript checks frequently in both frameworks to detect all type issues.

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

79094079

Date: 2024-10-16 12:46:00
Score: 1
Natty:
Report link

These are the system-defined database roles that are residing in the Snowflake database.

Please run the below command in the worksheet to see these database roles:

use role accountadmin;
show database roles in database snowflake;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Khathibur Rehman

79094078

Date: 2024-10-16 12:45:00
Score: 3
Natty:
Report link

Turning on 'USB Debugging' from within Developer Options did the trick for me.

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

79094073

Date: 2024-10-16 12:42:59
Score: 1.5
Natty:
Report link

Also worked in below way

 Bgt Avg YTD =  = 
VAR Purch_curr = MAXX('GRIP','GRPI'[Purchase curr])
RETURN(
(CALCULATE(AVERAGEX('FX Rates','FX Rates'[[Bgt Avr YTD]),DATESYTD('Reporting date'[Date]),'Currency'[Currency]= Purch_curr))   ```
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Jakub Jabłoński

79094069

Date: 2024-10-16 12:42:59
Score: 1.5
Natty:
Report link
  1. To the left there is a "Grid zone" Click on red rectangular of date you want to inspect.
  2. To the right click at "Graph" tab
  3. On the graph click on task you want to inspect the "Logs" tab will appear for such task
  4. Unfold "execution logs" at bottom of text
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: MosQuan

79094044

Date: 2024-10-16 12:37:58
Score: 5
Natty:
Report link

If possible, try to add the image of the issue that we can understand properly and get the root cause can you please add images to question?

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