79099115

Date: 2024-10-17 16:53:18
Score: 0.5
Natty:
Report link

Passing dataset with methods you need to display() function worked for me, for example:

display(df.head()) display(df.tail())

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Vladimir

79099099

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

You can do this now with the following code. It will force the amount of bars to be visible before it scrolls

.chartXVisibleDomain(length: 34)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: FrontFacingWindowCleaner

79099098

Date: 2024-10-17 16:47:17
Score: 1.5
Natty:
Report link

The data type of int in C++ has the following limits:

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

79099087

Date: 2024-10-17 16:45:16
Score: 4.5
Natty:
Report link

Has it been resolved yet?

I found the reason from another StackOverflow thread that LiteSpeed is not updated properly. But in my cPanel dashboard, I don't have the option to check the LiteSpeed Webserver updation. I've requested that the Hosting Admin update it. Now it's working fine!

Reasons:
  • Blacklisted phrase (1): StackOverflow
  • RegEx Blacklisted phrase (1.5): resolved yet?
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Nimal

79099084

Date: 2024-10-17 16:44:15
Score: 1
Natty:
Report link

From the documentation:

Libraries outside of the interface's own defining library can implement the interface, but not extend it.

Which implies that within the defining library it is possible to extend a class marked with the ’interface’ modifier and make use of a concrete method defined in a super class.

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

79099077

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

For me, the key binding "Alt+Z" (toggle "Word Wrap") wasn't working within VSCode on Windows 11. The computer I'm using has an AMD graphics chip, and there's an "AMD Software" app that, by default, allocates multiple keyboard shortcuts at the system level, including "Alt+Z".

I opened the AMD Software app, opened the app's SETTINGS page, selected the HOTKEYS tab, and disabled the app's keyboard shortcuts. Afterwards, I was able to use the "Alt+Z" key binding within VSCode.

enter image description here

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

79099075

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

Scripting languages make coding simpler and faster, so it’s not surprising that they are widely used in web development or other platforms.

Many scripting languages have various features and quirks. So if you are considering learning a new scripting language as a new professional path, here is the list:

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

79099050

Date: 2024-10-17 16:34:13
Score: 3
Natty:
Report link

Neither, as long as you provide at least one of the required properties, ts should not raise an err(yell at you, lol). Typescript uses structural type system - https://www.typescriptlang.org/docs/handbook/interfaces.html

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

79099029

Date: 2024-10-17 16:27:11
Score: 1
Natty:
Report link

I know this post is old, but if you are migrating from Xamarin to MAUI in Visual Studio (deprecated) you can do this:

  1. Update your Mac's operating system version (I have MacBook Pro, Sonoma 14.7)
  2. Update XCode and update iOS (today iOS 18.0)
  3. Update Visual Studio (today 17.6.14)
  4. Check in Visual Studio use .Net 8.0 in Preview Features
  5. Install SDK 8.0.403 and .NET Runtime 8.0.10 from https://dotnet.microsoft.com/en-us/download/dotnet/8.0 (today version, IMPORTANT: If you install and still have the error, install x64 and arm64, or restart mac)
  6. Open the terminal in Visual Studio (View - Terminal):
    • sudo dotnet workload install maui (press enter and wait installation)
    • sudo dotnet workload install maui-tizen (press enter and wait installation)
    • sudo dotnet workload install ios (press enter and wait installation)
  7. Close Visual Studio and open again
  8. Done
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Peter Davis

79099024

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

I encountered the same error. After debugging, I realized that I had misspelled the method name when importing it from the controller into the route file. Please verify the method name.

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

79099005

Date: 2024-10-17 16:21:09
Score: 6 🚩
Natty: 4
Report link

You can check out the recommendation api for LinkedIn here: https://learn.microsoft.com/en-us/linkedin/shared/integrations/people/reputation-guides/recommendation

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

79098996

Date: 2024-10-17 16:18:07
Score: 1
Natty:
Report link

For anyone who has this issue in the future: it is possible to run Interop with a non-interactive task. I was able to make it work tweaking CSOM settings. Here are the steps:

  1. Open dcomcnfg Press Win + R to open the Run dialog. Type dcomcnfg and press Enter. This will open the Component Services window.
  2. Navigate to Microsoft Excel Application In the Component Services window, expand the following: Component Services → Computers → My Computer → DCOM Config. Scroll down the list until you find Microsoft Excel Application. The entries are listed alphabetically, so it will be towards the middle.
  3. Configure DCOM Properties for Excel Right-click on Microsoft Excel Application and choose Properties.

A new window will open. Now follow the steps below to configure permissions:

General Tab:

Ensure that Authentication Level is set to Default. Security Tab:

Under Launch and Activation Permissions, click Customize and then Edit.

Add the user account that runs the Task Scheduler job and grant it the following permissions:

Local Launch: Allow Remote Launch: (only if you plan to run Excel from another machine) Local Activation: Allow Remote Activation: (only if running from another machine) Under Access Permissions, click Customize and then Edit.

Add the user or service account running the task and give it access permissions as needed. Identity Tab:

Here, choose how you want Excel to run. You have three options: The interactive user: This runs Excel only when a user is logged in. The launching user: This runs Excel using the user who launches the task. This user: You can specify a specific user account (provide username and password) to run Excel. If you want Excel to run as a background task, choose This user and provide the credentials of a user that has the necessary permissions.

  1. Restart the DCOM Service Once you've configured DCOM for Excel, you might need to restart the DCOM service. You can do this by restarting the machine or using the following steps:

Open Services (press Win + R, type services.msc, and press Enter). Find DCOM Server Process Launcher. Right-click and select Restart.

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

79098995

Date: 2024-10-17 16:18:07
Score: 3
Natty:
Report link

You can check django-ninja-jwt. It`s pretty straightforward and you can customize it to your preferences in your django project settings.py(check django-ninja-jwt/settings)

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

79098986

Date: 2024-10-17 16:15:05
Score: 7.5 🚩
Natty: 6.5
Report link

друг, удалось решить эту проблему? у меня тоже самое

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: NineTails

79098979

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

By trial-and-error, I switched to different iPhone simulators, e.g., iPhone 16 Pro -> iPhone 11 Pro Max, and back and forth, and I was able to get the Simulator working again.

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

79098976

Date: 2024-10-17 16:13:05
Score: 3
Natty:
Report link

Had the same problem and realized flowbite , follows the mobile-first approach, you would need to use the responsive tailwind classes to fix the problem . Example

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

79098971

Date: 2024-10-17 16:11:04
Score: 0.5
Natty:
Report link

I use Windows and somehow the other answers did not work for me. I had to add this to my %USERPROFILE%/.gitconfig (in the [alias] section):

stash-rename = "!sh -c 'export rev=$(git rev-parse stash@{$0}) && git stash drop stash@{$0} || exit 1 && git stash store -m \"${1:-STASH}\" $rev; echo Renamed $rev to \\\"${1:-STASH}\\\", now stash@{0}; git stash list'"

Now I can do this to rename stash 0:

git stash-rename 0 "Whatever name I want"
Reasons:
  • Blacklisted phrase (1): did not work
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Michel de Ruiter

79098970

Date: 2024-10-17 16:10:04
Score: 0.5
Natty:
Report link

C++ Core Guidelines Per.1: Don't optimize without reason
Reason:

If there is no need for optimization, the main result of the effort will be more errors and higher maintenance costs.

As for me, I will use

std::cout<<is_sqrt ? std::sqrt(i) : i*i;

I feel like this might be slightly faster and doesn't introduce too much complexity.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: 許恩嘉

79098964

Date: 2024-10-17 16:09:04
Score: 2.5
Natty:
Report link

Disclaimer: I've borrowed from @david-heffernan's answer, @lu-rd's comments on that answer, and from this this page which writes about the with trick.

The example below works in Delphi 12.1.

Background (or a long rant; just skip to the answer): after migrating a project from Delphi 7 to Delphi 12.1, it was discovered that where TDateTimePicker.Date was used, the time portion was included in the resultant TDateTime, but at some point (maybe even in Delphi 12.1, I don't know) this was changed to strip out the time portion, returning only the date in the resultant TDateTime. An urgent fix was needed. It was decided that changing potentially hundreds of instances of Date to DateTime was too error-prone given the time constraint. To plug in a great annoyance I have with Delphi is that now that it has LSP, why haven't they prioritised the ability to find all references for a given symbol accurately? The existing Refactoring menu is deprecated and broken and it sucks that I have to repeatedly resort to class helpers and hacks (like using Detours library's trampolines) to avoid making error-prone mass changes - something I could do with a few clicks and keystrokes in C# (and could have done many years ago). I suppose I could add a copy of Vcl.ComCtrls.pas into the project, rename the existing Date property to something like DateBlahBlahBlah, write an automation script that performs a compile, waits for the error, sends keystokes to the editor or edits the file where DateBlahBlahBlah was found and changes it to DateTime, but I am not going to do that (yet :D).

The fix I went for involved overriding the behaviour of:

function GetDate: TDate;

Which is in:

TCommonCalendar = class(TWinControl)

Which is in:

Vcl.ComCtrls.pas

I've done the work in a separate unit that was simply added to the project. It's pasted in its entirety below. Notice that I commented out another verison of TCommonCalendarHelper.GetGetDateAddress which shows another way to get private method's address using with; I went with what looks like a simpler/shorter version. Also included in the code below is a bit help access TCommonCalendar.DateTime protected property.

The whole unit:

unit D12DateTimePickerFix;

interface

{ Fix for TDateTimePicker.Date no longer also including the time, and TDateTimePicker.Time no longer including the date.

In Delphi 7, getting TDateTimePicker.Date (TDateTime) included the time portion of TDateTime, as shown below:

function TCommonCalendar.GetDate: TDate;
begin
  Result := TDate(FDateTime);
end;

Even though there is a cast, it's only symbolic, since TDate is TDateTime.

In Delphi 12.1 (or earlier versions), they changed it so the time portion is stripped out:

function TCommonCalendar.GetDate: TDate;
begin
  Result := TDate(DateOf(FDateTime));
end;

Ths fix involves patching TCommonCalendar.GetDate method, or rather, "hooking" into it so our own method is called instead.

The Detours library is utilised again, which is currently needed for a BDE fix. In the future, a search is needed for
all the instances where TDateTimePicker.Date is used, and replaced with DateTime. Let's wait until Delphi's "Refactoring"
features are not in a "deprecated" state.

Similarly, TDateTimePicker.Time no longer includes the date.

In Delphi 7 the code is:

function TDateTimePicker.GetTime: TTime;
begin
  Result := TTime(FDateTime);
end;

In Delphi 12.1, the code is:

function TDateTimePicker.GetTime: TTime;
begin
  Result := TTime(TimeOf(FDateTime));
  if (Result = 0) and ([csWriting, csDesigning] * ComponentState <> []) then
    Result := TTime(FDateTime);
end; }

implementation

uses
  ComCtrls,
  DDetours  //need this library for easy injecting/hooking/trampolining (like with madCodeHook)
  ;

//helper class is needed to get an address of a private method
type
  TCommonCalendarHelper = class helper for TCommonCalendar
    function GetGetDateAddress: Pointer;
  end;
  TDateTimePickerHelper = class helper for TDateTimePicker
    function GetGetTimeAddress: Pointer;
  end;

{ TCommonCalendarHelper }

function TCommonCalendarHelper.GetGetDateAddress: Pointer;
begin
  Result := @TCommonCalendar.GetDate;
end;

//alternative way to access a private method using a "with" trick
{function TCommonCalendarHelper.GetGetDateAddress: Pointer;
var
  _GetDateMethod: function: TDate of object;
begin
  with Self do _GetDateMethod := GetDate;
  Result := TMethod(_GetDateMethod).Code;
end;}

{ TDateTimePickerHelper }

function TDateTimePickerHelper.GetGetTimeAddress: Pointer;
begin
  Result := @TDateTimePicker.GetTime;
end;

//the rest of the code below relates to using the Detours library to "hijack" the original GetDate and GetTime methods and use my own methods instead, which demonstrates my use-case in full
var
  GetDate_Old: function(const _Self): TDate = nil;
  GetTime_Old: function(const _Self): TTime = nil;

type
  TCommonCalendarAccess = class(TCommonCalendar);  //need this to access the protected DateTime property

function GetDate_New(const _Self): TDate;
begin
  //var Self: TCommonCalendarAccess := @_Self; Result := Self.DateTime;
  Result := TDate(TCommonCalendarAccess(@_Self).DateTime);  //restore Delphi 7 behaviour
end;

function GetTime_New(const _Self): TTime;
begin
  Result := TTime(TDateTimePicker(@_Self).DateTime);  //restore Delphi 7's behaviour
end;

initialization
  //intercept the two methods in Vcl.ComCtrls.pas
  @GetDate_Old := InterceptCreate(TCommonCalendar.GetGetDateAddress, @GetDate_New);
  @GetTime_Old := InterceptCreate(TDateTimePicker.GetGetTimeAddress, @GetTime_New);
finalization
  //undo intercepts
  InterceptRemove(@GetDate_Old);
  InterceptRemove(@GetTime_Old);
end.
Reasons:
  • RegEx Blacklisted phrase (2): urgent
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @david-heffernan's
  • User mentioned (0): @lu-rd's
  • Low reputation (0.5):
Posted by: TByte

79098962

Date: 2024-10-17 16:08:03
Score: 3.5
Natty:
Report link

Xunit now provides an Assert.Equal which takes a tolerance argument.

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

79098957

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

On September, 2024, Heroku updated REDIS to use a secure TLS connection URL. See this Help article for more information on what config var changes you must make to your Redis configuration.

In my case, I was using redis.Redis python function to create the connection like this:

import os
from urllib.parse import urlparse
import redis

url = urlparse(os.environ.get("REDIS_URL"))
r = redis.Redis(host=url.hostname, port=url.port, password=url.password, ssl=(url.scheme == "rediss"), ssl_cert_reqs=None)

I was missing the parameters ssl=(url.scheme == "rediss") and ssl_cert_reqs=None

How to fix?

Make sure you are specifying the SSL related configuration parameters ssl=True and ssl_cert_reques=None

Reasons:
  • RegEx Blacklisted phrase (1.5): How to fix?
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Alejandro Sanchez

79098950

Date: 2024-10-17 16:06:03
Score: 3.5
Natty:
Report link

I ran into this issue as well. Perhaps this can help you.

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

79098948

Date: 2024-10-17 16:06:03
Score: 3
Natty:
Report link

Found the answer in the issue below. I had to add iohook not just to /package.json but also in the /release/app/package.json. Refer this issue https://github.com/wilix-team/iohook/issues/414

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

79098943

Date: 2024-10-17 16:03:02
Score: 3.5
Natty:
Report link

You convert dlat/dlon from degrees to pi, but you forgot to convert lat1/lat2 in the cos functions

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

79098942

Date: 2024-10-17 16:03:02
Score: 2.5
Natty:
Report link

Hey within my team we have adopted Patrik's approach with one caveat.. set variable 3 would be outside of the Until activity. Otherwise we would keep overriding url1 value every run.

Our ADF pipeline

btw.. thanks Patrik, your answer was very helpful for us

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

79098928

Date: 2024-10-17 16:01:01
Score: 2.5
Natty:
Report link

I found out that I should add a package named IOS14 ads tracking from unity package manager and import sample. then edit script.

And Add Sample scene to Scenes List in Build Settings in 0 position.

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

79098921

Date: 2024-10-17 15:59:01
Score: 3
Natty:
Report link
document.getElementdById('button')?.addEventListener('click', function (){ });
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: bensab62

79098919

Date: 2024-10-17 15:59:01
Score: 0.5
Natty:
Report link

The solution was that I needed to:

Import-Module Az.Accounts

before loading my modules, or within my class definition itself.

class MyClass {
    [string]$azureTenantId

    # Constructor
    MyClass () {
        #this is required        
        Import-Module Az.Accounts
    }

    [void] connectAzAccount(){
        Connect-AzAccount -TenantId $this.azureTenantId
    }

    [void] setTenantId([string]$tenantId){
        $this.azureTenantId = $tenantId
    }
}
Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Adam Winter

79098912

Date: 2024-10-17 15:55:59
Score: 2.5
Natty:
Report link

Some of my assumptions were incorrect. The tests were slowing down, but the culprit wasn't memory creep, but an issue with Robolectic and Compose.

https://github.com/robolectric/robolectric/issues/9043

In the end, creating a junit rule that resets the AndroidUIDispatcher's Choreographer solved the issue.

Here's a gist for junit rule: https://gist.github.com/johngray1965/24d7a3f1e5ae5f0fc1adc24444fe12ac

Note: it was very important that the rule runs before the compose rule (otherwise the compose rule may fail).

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

79098910

Date: 2024-10-17 15:54:59
Score: 1.5
Natty:
Report link

iter.reduce(c => c + 1, 0) works for me

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (2):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: butterbrot

79098909

Date: 2024-10-17 15:54:59
Score: 3
Natty:
Report link

I just used the accepted answer from @Ali Khalili and @miken32 for a model with a point field, which worked a treat. However, I got a deprecation warning for getDoctrineSchemaManager()->getDatabasePlatform().

Changed to getDoctrineConnection()->getDatabasePlatform(), this is using doctrine/dbal 3.9.x

Reasons:
  • Blacklisted phrase (1): worked a treat
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Ali
  • User mentioned (0): @miken32
  • Low reputation (1):
Posted by: Paul Gardner

79098905

Date: 2024-10-17 15:52:58
Score: 1
Natty:
Report link

What you need is Record<..., ...> I believe.

So, in this case it could be rewritten as:

export interface QualitiesInterface extends Record<QualityStrings, number> {}

Basically we're 'converting' type to interface above with the use of extension semantics:

interface SomeThing extends MyType {
   // normal iface stuff can be added here if needed
}
Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): What you
  • Low reputation (1):
Posted by: thodnev

79098902

Date: 2024-10-17 15:51:57
Score: 7 🚩
Natty: 5.5
Report link

Is there any chance to update Post to Post::where(id,1)->paginate(15) ?

Reasons:
  • Blacklisted phrase (1): Is there any
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Is there any
  • Low reputation (1):
Posted by: Manu Espinosa

79098901

Date: 2024-10-17 15:51:57
Score: 1
Natty:
Report link

First of all you need to integrate also the real-time App Store Notifications system in your backend

Basically you need to provide an endpoint for receiving POST messages from Apple server

Save the payload from those request and analyze it to understand what is happening.

Read more here:

Workflow:

1 - When you first receive a new purchase you have to save also the originalTransactionId that you will find in the receipt

2 - Use the originalTransactionId with this API and decode the content as usual

3 - you will find the appAccountToken in there!

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

79098897

Date: 2024-10-17 15:50:57
Score: 1.5
Natty:
Report link

So, the above mentioned forgiveness mode is allowing the code to work in both cases.

What is strange here is that after leaving my computer ON over the weekend with Eclipse running, it stopped showing those things as errors on Monday.

It is now obvious that this change was made to make things clearer and avoid possible wrong definitions used when they have identical name at the end. It is recommended to convert all these enums to the new full form and used them as such for any further development.

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

79098888

Date: 2024-10-17 15:49:57
Score: 1
Natty:
Report link

enter image description here

public class SquarPattern {

public static void main(String[] args) {

    int n = 6;
    for (int i = 0; i < n; i++) {
        for (int j = 0; j < n; j++) {
            if((i==0 || i==n-1 )  || (j==0 || j==n-1)) {
              System.out.print("*");
            }else {
                  System.out.print(" ");
            }
        }
        System.out.println();
    }

}

}

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Govind Sharma

79098887

Date: 2024-10-17 15:48:56
Score: 0.5
Natty:
Report link

You may try:

=WORKDAY(A1, 7) = TODAY()

to check if today is 7 business days from the specified date in cell A1.

or

=WORKDAY(A1, 7) < TODAY()

to check if it's already at least 7 business days from the specified date in cell A1.

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

79098871

Date: 2024-10-17 15:44:55
Score: 4.5
Natty:
Report link

My flows missing too, but I have all files of flows in %localappdata%\Microsoft\Power Automate Desktop

It's possible to recover flows from this files?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: José António Carvalho

79098862

Date: 2024-10-17 15:41:55
Score: 1.5
Natty:
Report link

The coverage of the Cloud API content is not comprehensive to all content of the InsuranceSuite applications. API coverage is continually expanding over time. For this type of question please open a case with Guidewire support to get more information and to register your implementations interest/need for a particular API endpoint.

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

79098860

Date: 2024-10-17 15:41:55
Score: 3
Natty:
Report link

Ir a la bóveda del antivirus, el antivirus secuestró a mysql.exe es lo que ocasiona el error. Liberarlo y añadir la excepción para el antivirus.

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

79098853

Date: 2024-10-17 15:38:54
Score: 3
Natty:
Report link

Try this if you are using android studio ladybug :

https://github.com/fluttercommunity/plus_plugins/issues/3303

Reasons:
  • Whitelisted phrase (-1): Try this
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ali Esmkhani

79098852

Date: 2024-10-17 15:38:54
Score: 1
Natty:
Report link

When using the App Store Connect API to request sales reports, the date format depends on the frequency of the report. For monthly reports, the format should be YYYY-MM, whereas for daily reports, the format is YYYY-MM-DD. For yearly reports, the format should be YYYY.

If you request a monthly report but use the YYYY-MM-DD format, it may result in an error due to an invalid combination of frequency and date format​ Apple Developer

So, for your monthly and summary reports, ensure you're using the YYYY-MM format.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: Gallonallen

79098841

Date: 2024-10-17 15:35:53
Score: 11.5 🚩
Natty: 6.5
Report link

Did you manage to solve it? I am having the same problem

Reasons:
  • RegEx Blacklisted phrase (3): Did you manage to solve it
  • RegEx Blacklisted phrase (1.5): solve it?
  • 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
  • Low reputation (1):
Posted by: André Villa de Brito

79098822

Date: 2024-10-17 15:30:51
Score: 8.5
Natty: 7.5
Report link

Stuck on this error for a week, Can anyone help?

Reasons:
  • RegEx Blacklisted phrase (3): Can anyone help
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Qtbdin faiz

79098819

Date: 2024-10-17 15:29:50
Score: 1
Natty:
Report link

Somehow I managed to replicate the error!

replicated the error

I believe you have created eks cluster using some other AWS user.

and you are trying to access using admin user, which means by default you can't archive that. Because initially eks cluster owner can able to access the eks cluster and he can only able to give access to rest of the user.

If you need to access eks cluster using your admin user, it means

Go to eks cluster console > click on to your cluster > access

enter into eks cluster

then create an access entry

navigate to access section

and select your respective user and make type as standard, click next then select amazoneksclusteradminpolicy and access scope as cluster then press add policy

create access for your user

now you can able to access the cluster.

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

79098816

Date: 2024-10-17 15:28:50
Score: 3.5
Natty:
Report link

It might be due transactional producer, transactions failed to commit will result in such behavior. Ref https://www.confluent.io/blog/transactions-apache-kafka/

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

79098814

Date: 2024-10-17 15:28:50
Score: 1
Natty:
Report link

You can add a filter assuming the "f" stands by itself. If not then the white will change aswell. You may have to adjust the values of invert, hue and saturation and even then it is hard to get perfect.

filter: invert(38%) sepia(100%) hue-rotate(236deg) saturate(37);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gart77

79098811

Date: 2024-10-17 15:28:50
Score: 5
Natty:
Report link

I tried putting it in different spots in the code but I keep getting errors. The first error, when put at the end:

Warning: Undefined property: Opencart\System\Engine\Autoloader::$customer in testing2/catalog/controller/common/header.php on line 98Call to a member function isLogged() on null: in testing2/catalog/controller/common/header.php on line 98

I get the same error if I put it inside the function, and the second error if put at the top:

syntax error, unexpected token "if", expecting "function" or "const": in testing2/catalog/controller/common/header.php on line 13

Reasons:
  • RegEx Blacklisted phrase (1): I get the same error
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): I get the same error
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: InfinityRogue

79098806

Date: 2024-10-17 15:27:49
Score: 1
Natty:
Report link

Yes. There might be some good use cases for this, for example if users are coming from different part of the world and you want them to hit the best responding endpoint via a latency policy or based on data residency requirements.

See/read the AWS blog on Multi-Region Serverless Applications with API GW and Lambda.

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

79098802

Date: 2024-10-17 15:27:49
Score: 2
Natty:
Report link

The second group for 4.1 is $Entities. The msh 4.1 format is not easy. I would recomend to try to create enough simple geometry, mesh it and to write it in a desired format to understand the msh format. I would recommend to start from 2.2 msh format.

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

79098798

Date: 2024-10-17 15:27:49
Score: 3.5
Natty:
Report link

None of the answers works for mine ..

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

79098788

Date: 2024-10-17 15:25:49
Score: 2.5
Natty:
Report link

I was able to fix the same issue by changing the shorter description to 40-80 characters (Xcode allow to enter much more characters than it's allowed by GitHub)

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

79098781

Date: 2024-10-17 15:24:48
Score: 7.5 🚩
Natty:
Report link

Sir. I am safi can you Creat A Telegram @Majorbot. Script file . Please send script file in my WhatsApp number. +923285663870.

Reasons:
  • RegEx Blacklisted phrase (2.5): Please send
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • User mentioned (1): @Majorbot
  • Low reputation (1):
Posted by: Safi

79098778

Date: 2024-10-17 15:23:47
Score: 1
Natty:
Report link

A simple alternative is to make a new word. :-)

The primitives needed are in the system for us to use. That's how Forth solves problems.

If you are careful to only use this word in definitions, this will do the job. It parses the string up to a single quote.

: S' ( -- ) [CHAR] ' PARSE POSTPONE SLITERAL ; IMMEDIATE

: TEST S' Now we can do "double quotes" easily' TYPE ;

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

79098772

Date: 2024-10-17 15:23:47
Score: 1
Natty:
Report link

Add multipart/form-data to your binary media type..

so go to Api Gateway then click the Api you are using, then click Api settings at the left hand conner then add it

Binary media type

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

79098723

Date: 2024-10-17 15:12:44
Score: 5
Natty:
Report link

I want to export my processed raster layer which are np arrays as tif with following steps, after creating the out.tif raster with the driver I could not load the created tif file back into python. I tried to change the 'gdal.GDT_Int32' into other types but it didn't work. I also tried using instead of 'inds.GetDriver' 'GetDriverByName('GTiff') but that also didn't make any changes, messages as below:

In [13]: driver.Create('out.tif', cols, rows, 1, gdal.GDT_Int32) Out[13]: <osgeo.gdal.Dataset; proxy of <Swig Object of type 'GDALDatasetShadow * ' at 0x000000000F437360> >

In [18]: outds=gdal.Open('out.tif')

RuntimeError Traceback (most recent call last) in () ----> 1 outds = gdal.Open('out.tif')

RuntimeError: `out.tif' not recognised as a supported file format. or... so. im lindsey on darrals phome. metro phone wheres that iphone? jmeg?

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Filler text (0.5): 000000000
  • Low reputation (1):
Posted by: pooh bear nucles.

79098707

Date: 2024-10-17 15:08:43
Score: 0.5
Natty:
Report link
location / {
    proxy_pass https://kasmweb:6901;
    proxy_set_header Authorization "Basic a2FzbV91c2VyOnBhc3N3b3Jk";
    proxy_pass_header Authorization;
    proxy_set_header Host $host;
    proxy_set_header X-Forwarded-Scheme $scheme;
    proxy_set_header X-Forwarded-Proto  $scheme;
    proxy_set_header X-Forwarded-For    $remote_addr;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection $http_connection;
    proxy_http_version 1.1;
}

Thanks to this discussion, this worked for Nginx proxy Manager and it connects imediatly. including this in authentik configurations breaks it tho

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Asem Khen

79098705

Date: 2024-10-17 15:08:43
Score: 1.5
Natty:
Report link

try

from asyncio import Future
future = Future()
future.set_result(some_result) 
api_helper_instance.get_function_by_topic_by_method.return_value = future
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Виталий Мазурчик

79098704

Date: 2024-10-17 15:07:43
Score: 2.5
Natty:
Report link

You need to use the title of the spreadsheet as it appears in Google Docs, as documented here.

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

79098703

Date: 2024-10-17 15:07:43
Score: 1.5
Natty:
Report link

Using querySelector is generally okay. But it's important to consider the following: if one day you decide to rewrite your classes, as is common during a layout redesign, the changes might break your scripts. I recently had this issue. Now I understand the advantage of using getElementById whenever possible. And at the CSS level, using classes instead of IDs.

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

79098700

Date: 2024-10-17 15:07:42
Score: 4
Natty:
Report link

I think Firebase gets the version from the android:versionName field in AndroidManifest.xml file (which is contained in the .apk). Have you checked the value of that field?

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

79098699

Date: 2024-10-17 15:06:42
Score: 2
Natty:
Report link

You have to set another buildsystem for your toolset. If you're using CMake presets type "toolset": "buildsystem=12" or if you call it directly cmake -GXcode -T buildsystem=12. "buildsystem=1" was allowed for Xcode 13.x

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

79098691

Date: 2024-10-17 15:04:41
Score: 2
Natty:
Report link

I'm answering my own question for posterity and the LinkedIn dev community.

  1. Use the LinkedIn Zendesk to actually get a response from LinkedIn Support https://linkedin.zendesk.com/

  2. LinkedIn support told me this does require the r_fullprofile permission, which is closed. Also, superTitles are not available for Marketing Developer Platform partners at this time.

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

79098688

Date: 2024-10-17 15:04:41
Score: 2
Natty:
Report link

To list empty folders in Linux, you can use the find command. Open your terminal and run the following command:

find /dev -type d -empty

enter image description here

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

79098685

Date: 2024-10-17 15:03:41
Score: 0.5
Natty:
Report link

3 years later and it's still not updated in documentation.

Translation JSON:

{
  "apple": "{0} apple | {0} apples"
}

In Vue template:

$t('apple', [apples], apples)

Where "apples" is a number of apples

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

79098678

Date: 2024-10-17 15:01:40
Score: 2.5
Natty:
Report link

I was able to solve it in a really easy way.

Just adding "pr: none" to my pipeline after the trigger.

So when there is a pull request it doesn't trigger before the end of the merge. Just when the merge is completed it triggers the pipeline after the branch receives the new changes.

I followed the microsoft documentacion from this link: https://learn.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml#pr-triggers

enter image description here

trigger:
- <branch_name>

pr: none
Reasons:
  • Blacklisted phrase (1): this link
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Pedro Duque

79098676

Date: 2024-10-17 15:01:40
Score: 5
Natty: 4.5
Report link

Well, yes, of course. The Russians are to blame for everything. Yeah. I'm from Russia. My site was scanned yesterday with the same requests from an IP from Venezuela. Are Venezuelans bad or something?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Денчик

79098667

Date: 2024-10-17 14:59:39
Score: 2.5
Natty:
Report link

I spent a lot of time trying to figure out what went wrong.I finally fixed this.

Make sure that bootstrap is only imported once. It was imported into app.js and my layout.

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

79098666

Date: 2024-10-17 14:59:39
Score: 3.5
Natty:
Report link

I was unable to find the root cause and ended up doing it in a different way. Thank you all for your time

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 (0.5):
Posted by: agalli

79098661

Date: 2024-10-17 14:58:39
Score: 3
Natty:
Report link

My understanding is, accepting a SDP with fingerprint means that you believe the owner of fingerprint is reliable.

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

79098659

Date: 2024-10-17 14:58:39
Score: 2
Natty:
Report link

I think this error comes until the pending request is completed. You can see the state of the request by navigating to the Setup/App signing menu in the left sidebar

enter image description here

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

79098651

Date: 2024-10-17 14:57:39
Score: 2.5
Natty:
Report link

See the comment by nom-mon-ir:

import matplotlib.pyplot as plt

instead of import matplotlib.pyplot as plt or using a new ipython version

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

79098648

Date: 2024-10-17 14:56:39
Score: 1.5
Natty:
Report link

There are few possible ways to try overcome the issue:

  1. No make the second area as an exact copy of the first one. It could done manually or by Symmetry command (the second way could better).

  2. To use transfinite type mesh. It will work, but it is not well for your geometry.

  3. To make a mesh for one region and then to mirror it similar, as in the example mirror-mesh.py for python.

Do not hesistate to ask you question in Gmsh forum https://gitlab.onelab.info/gmsh/gmsh/issues.

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

79098646

Date: 2024-10-17 14:56:38
Score: 5
Natty:
Report link

Proxmox is now officially supported by veeam (https://www.veeam.com/blog/veeam-backup-for-proxmox.html). It will help to backup proxmox VM to Wasabi.

Thanks to Alex Robinson (https://stackoverflow.com/a/71542402/15425391) for its previous answer that help finding this !

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

79098644

Date: 2024-10-17 14:56:38
Score: 0.5
Natty:
Report link

Thanks all for your comments. I'm gonna use part of your answers.

I get further in the code, and the component I'm using is a component from echarts and echarts is using both string and number for numbers.

Thus, I need to get them both string in the form, check the value, and if necessary cast it to number when I apply the form to the component. Finally, I'll have to do it.

Still, I'm using directive like this, and I'll improve it for decimal and negative values:

import { Directive, ElementRef, HostListener } from '@angular/core';
import { NgControl } from '@angular/forms';

@Directive({
  selector: '[appInputNumber]'
})
export class NumberDirective {

  /**
   * Constructeur
   */
  constructor(private el: ElementRef, private control: NgControl) {}

  /**
   * Ecoute de l'évènement de modification d'input
   */
  @HostListener('input', ['$event']) onInputChange($event: KeyboardEvent) {
    const input = this.el.nativeElement as HTMLInputElement;
    let sanitizedValue = input.value.replace(/[^0-9]/g, '');
    if (sanitizedValue === '') {
      sanitizedValue = null;
    }

    if (this.control && this.control.control?.value !== sanitizedValue) {
      this.control.control?.setValue(sanitizedValue);
    }
  }
}
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Manuela CodingPadawan

79098643

Date: 2024-10-17 14:55:38
Score: 1.5
Natty:
Report link

You have to check "Docker-outside-of-docker" (DooD) to allow the manager container to control the docker environment.

Try following thing.

1- Mount the docker socket(/var/run/docker.sock) from the host when you run the manager container and the Command is

docker run -v /var/run/docker.sock:/var/run/docker.sock --name manager-container your-manager-image

*Just make sure Docker CLI is installed in your manager container.

You can also check Docker-in-Docker (DinD)

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

79098635

Date: 2024-10-17 14:54:38
Score: 0.5
Natty:
Report link

enter image description here

This is what is written on Reacts official website. Now to summarize why to use functional components over class components.

  1. Simpler syntax: Functional components are easier to read, write, and maintain.
  2. Hooks: Enable state and lifecycle features in functional components, making them just as powerful as class components.
  3. No this: Avoids confusion and bugs related to the this keyword.
  4. Reusability: Hooks promote reusable and modular code.
  5. Performance: Functional components with hooks like React.memo offer easier performance optimizations.
  6. Future-proof: Functional components align with the future direction of React.
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Apurva Pathak

79098611

Date: 2024-10-17 14:48:36
Score: 4
Natty:
Report link

std::cout.unsetf(std::ios::showpoint | std::ios::fixed);

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Fiifi Nenyi

79098594

Date: 2024-10-17 14:43:33
Score: 10.5 🚩
Natty:
Report link

Can you tell us why pymc3 is not working?

It might be help to follow this tutorial: https://goldinlocks.github.io/Bayesian-logistic-regression-with-pymc3/

As for SVM classifiers, follow this link: https://scikit-learn.org/1.5/modules/svm.html

Reasons:
  • Blacklisted phrase (1): this tutorial
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (2.5): Can you tell us
  • RegEx Blacklisted phrase (2): working?
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (0.5):
Posted by: Kamil Oster

79098566

Date: 2024-10-17 14:37:32
Score: 4
Natty: 4.5
Report link

Also can't get Delete working as eg. bt List not yet working in Linux (Mint) terminal! Successful installation, as no errors displayed. Using FF 128.03 Any help on this gratefully received.

chrisRoald

Reasons:
  • Blacklisted phrase (1): Any help
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: chrisRoald

79098564

Date: 2024-10-17 14:37:32
Score: 0.5
Natty:
Report link

Ktor 3.0 has been released. Now, you just need to upgrade to Ktor 3.0 and Kotlin 2.0.20 to experience it. On the Wasm platform, you can use HttpClient without introducing new libraries, while other platforms still need to follow the Ktor documentation to introduce the corresponding libraries.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: 王 能

79098563

Date: 2024-10-17 14:37:32
Score: 4
Natty: 4
Report link

The divisor (dlat/2) should also be a double (dlat/2.0)

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

79098551

Date: 2024-10-17 14:34:30
Score: 4
Natty: 5.5
Report link

org.javamoney.moneta.spi.MoneyUtils.getBigDecimal(number)

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Andrii Denysenko

79098550

Date: 2024-10-17 14:34:30
Score: 2.5
Natty:
Report link

Try using docker link: Docs enter image description here

Suppose you have containers A and B, so to call B from A define a link via task definition UI. Container name should be B, alias B. It can be done in Container Network Settings.

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

79098547

Date: 2024-10-17 14:33:29
Score: 3
Natty:
Report link

I found that AddIdentity adds a bunch of cookies and auth schemas to the app, and I think this was interfering with what I was trying to do. However, since I still needed some of the services that are added by Identity, I changed it to AddIdentityCore and configured the EF Core stores, etc. and it now works.

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

79098545

Date: 2024-10-17 14:33:29
Score: 3
Natty:
Report link

using Luxon DateTime.now().startOf('day').toJSDate();

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Low reputation (0.5):
Posted by: Huantao

79098544

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

// add is this methout in the class make sure out of the any function

@Override protected void onCreate(@Nullable Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); }

ActivityResultLauncher<PickVisualMediaRequest> pickMedia =
        registerForActivityResult(new ActivityResultContracts.PickVisualMedia(), uri -> {
            if (uri != null) {

            }
        });
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Override
  • Low reputation (1):
Posted by: karamjeet singh

79098543

Date: 2024-10-17 14:31:29
Score: 5
Natty: 4.5
Report link

Нужно пририсовать квадрат слева 3 границы черные 1 белая справа фон белый и эта граница белая перекроет черную в элементе TextBox

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: user27854404

79098535

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

Since a ggplot is a list you can stick to base R and ggplot2 and use lapply to add a layer many times. Here is an example with a data.frame for input, but that could just as easily be a list of lists or some other object you like better.

library(ggplot2)
parsdf <- data.frame(int = c(0:2), slope = c(1,1,-1))
ggplot() +
  xlim(0, 1) +
  lapply(seq_len(nrow(parsdf)), function(i) {
    geom_function(fun = function(x) parsdf[i, "int"] + parsdf[i, "slope"]*x)
  })

enter image description here

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

79098519

Date: 2024-10-17 14:23:26
Score: 4.5
Natty: 5
Report link

v4.29.2 Convert Expand and create CSS

https://github.com/ZeoNish/feather-css

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

79098511

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

You can not use external libraries inside of AppSync's JS resolvers. Here's a list of supported runtime features: https://docs.aws.amazon.com/appsync/latest/devguide/resolver-util-reference-js.html

One way of doing this would be to create a Lambda function (where you can install dynamoose), and then use AppSync JS resolver to invoke that function. See here: https://docs.aws.amazon.com/appsync/latest/devguide/tutorial-lambda-resolvers-js.html

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

79098498

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

was able to solve my case, thanks internet:

Reasons:
  • Blacklisted phrase (0.5): thanks
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: ivolemm

79098490

Date: 2024-10-17 14:16:24
Score: 0.5
Natty:
Report link

I think the key (no pun intended) to understand how tieBreakOrder works, is to consider that it's used only with keys that are already (or about to be) present in the tree. That way, it gives a consistent ordering of the keys belonging to nodes in the tree (even when they are not Comparable).

Obviously, tieBreakOrder cannot be used with keys that are not in the tree (e.g. the key you pass as parameter of find), because different instances of the same key will have different identityHashCode, so tieBreakOrder will be meaningless for them.

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

79098471

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

If you get this message when you are trying to read templates from an S3 bucket (which is necessary if you have templates larger than a certain size), the fix is to use:

--template-url https:\my-bucket\someprefix\atemplate.yml

Instead of using --template-body, which is for local files.

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

79098468

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

This error will also be reported if requests to relevant third-party domains such as braintree-api.com or pay.google.com are being blocked by, for example, a browser privacy addon.

In my case, it was a browser addon that I had not yet disabled for my local development site which caused a few minutes of head scratching.

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

79098467

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

if you use TEST_F and implement your test class with ::testing::Test as base, you can check in the TearDown() if the test has any failures.

class TestsForFunctionX: public ::testing::Test
{
private:
    void TearDown() override
    {
        if (HasFailure())
        {
            std::cerr << "My additional info";
        }
    }
}

TEST_F(TestsForFunctionX, BadInput)
{
    ASSERT_TRUE(false);
}  
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: rhf

79098465

Date: 2024-10-17 14:10:23
Score: 3
Natty:
Report link

I have the same problem, and think it's a bug:

|WARNING|Missing Django module in requirements.txt 
Add Django to your requirements.txt file

I certainly do NOT have Django in my requirements.txt file, but that is by design - I'm using Flask, and it installs and runs just fine - except for this error during build!

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same problem
Posted by: cyberspy

79098463

Date: 2024-10-17 14:10:23
Score: 0.5
Natty:
Report link

In registerClass, you can't use operator[] because in case the provided key doesn't exist in the map, a default constructed reference_wrapper should be instantiated. However, this is not possible since it makes no sense to create an object supposed to encapsulate a reference without any reference.

On the other hand, you could first test the existence of the key with find and then insert the new entry if needed:

if (getRegistry().find(id) == getRegistry().end())
{
    getRegistry().insert ({id,std::ref(ds)});
}

or you can simply as @AhmedAEK suggested use emplace.

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

79098457

Date: 2024-10-17 14:08:22
Score: 0.5
Natty:
Report link

I think the configurations for java 8 with maven-compiler-plugin and java 17 with maven-compiler-plugin are to be done in different ways.

For java 8 and lower version it is as below,

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-compiler-plugin</artifactId>
    <version>3.11.0</version>
    <configuration>
      <source>1.8</source>
      <target>1.8</target>
    </configuration>
  </plugin>

For java 9+ version the configurations are as below,

  <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.11.0</version>
        <configuration>
          <release>8</release>
        </configuration>
      </plugin>

References:

  1. https://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-release.html
  2. https://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: code_buddy

79098456

Date: 2024-10-17 14:07:22
Score: 1.5
Natty:
Report link

Check this answer from unclemeat and comment from TessellatingHeckler in this thread

for /f "usebackq tokens=*" %%p in (`powershell -Command "$pword = read-host 'Enter Password' -AsSecureString ; $BSTR=[System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($pword); [System.Runtime.InteropServices.Marshal]::PtrToStringAuto($BSTR)"`) do set password=%%p
echo %password%
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: R.Campos