79165337

Date: 2024-11-07 07:07:22
Score: 8 🚩
Natty: 5
Report link

Even I am also facing the same issue.unable to download anything from the internet.facing issue with connection time out.All the appropirate ports are open and no firwall blocking.

Reasons:
  • Blacklisted phrase (1): I am also facing the same issue
  • RegEx Blacklisted phrase (2): Even I am
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am also facing the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kodi Arasan M

79165334

Date: 2024-11-07 07:06:21
Score: 3
Natty:
Report link

You can achieve the goal in the UI way.

PM Console is not applicable in Rider, but the features have been implemented in UI way.

RIDER-21941 Add nuget package manager console

enter image description here

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

79165333

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

After some suggestion in the comments, I came up with something that does the job, maybe someone has a more elegant solution?

import monix.reactive.Observable
import monix.execution.Scheduler.Implicits.global
import java.time.ZonedDateTime
import scala.concurrent.duration.DurationInt
import scala.language.postfixOps

val events = Observable.range(0, 100).delayOnNext(1 second)

val timeWindow = 5 seconds

val timestamps = events.map(_ => ZonedDateTime.now())

events.zip(timestamps).scan(Seq[(Long, ZonedDateTime)]())((acc, event) => {
  (acc :+ event).filter(_._2.isAfter(ZonedDateTime.now().minusSeconds(timeWindow.toSeconds)))
}).map(_.map(_._1)).foreach(println)
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Giuliano De Sabata

79165329

Date: 2024-11-07 07:03:20
Score: 1
Natty:
Report link

The best way to extract the data and table schema is to use the Export Data option in SSMS. We've used this to move data from one production database to another.

You can either

  1. use a query (in which case you select/ignore, transform (blinding sensitive data) and rename columns if needed) or

  2. copy entire table(s) at once.

There are options to specify the data types and mappings from source to destination, etc.

It takes a few tries to determine the source/destination driver (SQL Native Client is very straightforward) depending on the type of authentication you're using (The best way is to create a DBUser and DBUserLogin temporarily for this purpose, primarily if the DB access is controlled by Azure Entra ID Interactive approach; AZURE Entra Integrated is still effortless)

You can generate a script using SSMS to create the database schema, indexes, etc., in sequence. This script can then be run on the target database before drawing the data.

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

79165325

Date: 2024-11-07 07:02:20
Score: 1.5
Natty:
Report link

It seems like there's two different enemyPrefab you are referencing. You should remove the line:

instance.name = enemyPrefab.name;

Can you include a screenshot how you reference the enemyPrefab? either in script or in inspector. Also a screenshot of the actual prefab in your project.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Dave Victorino

79165320

Date: 2024-11-07 07:00:19
Score: 4
Natty:
Report link

Now supported by Terraform : Reference Documentation

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

79165309

Date: 2024-11-07 06:56:18
Score: 1
Natty:
Report link

Try this approach.

=ARRAYFORMULA({UNIQUE(A2:A), SUMIF(A2:A, UNIQUE(A2:A), B2:B)})

Sample Output

Output

Reasons:
  • Whitelisted phrase (-1): Try this
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Patsytalk

79165300

Date: 2024-11-07 06:54:17
Score: 4
Natty:
Report link

This may be dependency management and/or IDE issue. I'm regularly seeing similar issues while having many projects open in IntelliJ IDE that have different versions of Java and dependencies. Closing IDE and opening with single project usually resolves this.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): seeing similar issue
  • Low reputation (0.5):
Posted by: Olavi Vaino

79165296

Date: 2024-11-07 06:53:17
Score: 1
Natty:
Report link

Moving to python:3.11.10-slim-bookworm solved this for me. I would bet that just moving to 3.11.10 would have done it as well.

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

79165292

Date: 2024-11-07 06:52:17
Score: 2
Natty:
Report link
  1. List item AC CONFIG /storage/emulated/0/Documents/PDF Reader/convert/12//storage/emulated/0/Documents/PDF Reader/convert/12/w966547515731/storage/emulated/0/Documents/PDF Reader/convert/12/966547515731
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Juwel Rana

79165289

Date: 2024-11-07 06:51:16
Score: 2
Natty:
Report link

When it comes to unit testing embedded systems, there's often a trade-off between safety and efficiency. While thorough testing ensures safety, especially for critical systems, it can sometimes lead to slower execution and increased complexity. On the other hand, prioritizing efficiency might compromise safety by leaving edge cases unchecked. A good balance is essential. Enrolling in a program testing course can provide you with the tools and methodologies needed to optimize both safety and efficiency in embedded systems testing.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When it
  • Low reputation (1):
Posted by: John Preston

79165269

Date: 2024-11-07 06:44:14
Score: 1.5
Natty:
Report link

The MAIL_TO_ADDRESS should be MAIL_FROM_ADDRESS, as far as I understand you want to send mail from [email protected].

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

79165261

Date: 2024-11-07 06:41:14
Score: 3
Natty:
Report link

I've noted that same thing happened to mutual_info_regression as well, changing the order the X will produce different results

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

79165251

Date: 2024-11-07 06:39:13
Score: 1.5
Natty:
Report link

DataGridViewAutoSizeColumnMode.Fill:

The column width adjusts so that the widths of all columns exactly fills the display area of the control.

So if your RowHeadersWidth is changed by this, its value depends on your font, display DPI and many other display settings. It should be calculated before paint dynamically, and thus it can not be calculated in your grid constructor.

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

79165248

Date: 2024-11-07 06:38:13
Score: 2.5
Natty:
Report link

I would use a '.sh' file and pass my hive query as either hive -e 'query' or hive -f 'query.hql'

In bash, it would be very easy to achieve you require.

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

79165245

Date: 2024-11-07 06:36:13
Score: 2
Natty:
Report link
git branch --track lexer origin/lexer

this work for me

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

79165240

Date: 2024-11-07 06:33:12
Score: 4
Natty:
Report link

āĻŦāĻžāĻ‚āϞāĻžāĻĻ⧇āĻļ⧇āϰ āĻ•ā§ƒāώāĻŋ āĻŦāĻžāĻ‚āϞāĻžāĻĻ⧇āĻļ āĻ•ā§ƒāώāĻŋāĻĒā§āϰāϧāĻžāύ āĻĻ⧇āĻļāĨ¤ āĻāĻĻ⧇āĻļ⧇ āĻļāϤāĻ•āϰāĻž ā§­ā§Ģ āĻ­āĻžāĻ— āϞ⧋āĻ• āĻ—ā§āϰāĻžāĻŽā§‡ āĻŦāĻžāϏ āĻ•āϰ⧇āĨ¤ āĻŦāĻžāĻ‚āϞāĻžāĻĻ⧇āĻļ⧇āϰ āĻ—ā§āϰāĻžāĻŽ āĻāϞāĻžāĻ•āĻžā§Ÿ ā§Ģ⧝.ā§Žā§Ē% āϞ⧋āϕ⧇āϰ āĻāĻŦāĻ‚ āĻļāĻšāϰ āĻāϞāĻžāĻ•āĻžā§Ÿ ā§§ā§Ļ.ā§Žā§§% āϞ⧋āϕ⧇āϰ āĻ•ā§ƒāώāĻŋāĻ–āĻžāĻŽāĻžāϰ āĻ°ā§Ÿā§‡āϛ⧇āĨ¤ āĻŽā§‹āϟ āĻĻ⧇āĻļāϜ āĻ‰ā§ŽāĻĒāĻžāĻĻāύ āϤāĻĨāĻž āϜāĻŋāĻĄāĻŋāĻĒāĻŋāϤ⧇ āĻ•ā§ƒāώāĻŋāĻ–āĻžāϤ⧇āϰ āĻ…āĻŦāĻĻāĻžāύ ⧧⧝.ā§§% āĻāĻŦāĻ‚ āĻ•ā§ƒāώāĻŋāĻ–āĻžāϤ⧇āϰ āĻŽāĻžāĻ§ā§āϝāĻŽā§‡ ā§Ēā§Ž.ā§§% āĻŽāĻžāύ⧁āώ⧇āϰ āĻ•āĻ°ā§āĻŽāϏāĻ‚āĻ¸ā§āĻĨāĻžāύ āϤ⧈āϰāĻŋ āĻšāĻšā§āϛ⧇āĨ¤ āϧāĻžāύ,āĻĒāĻžāϟ,āϤ⧁āϞāĻž,āφāĻ–,āĻĢ⧁āϞ āĻ“ āϰ⧇āĻļāĻŽāϗ⧁āϟāĻŋāϰ āϚāĻžāώāϏāĻš āĻŦāĻžāĻ—āĻžāύ āϏāĻŽā§āĻĒā§āϰāϏāĻžāϰāĻŖ,āĻŽāĻžāĻ› āϚāĻžāώ,āϏāĻŦāϜāĻŋ, āĻĒāĻļ⧁āϏāĻŽā§āĻĒāĻĻ āωāĻ¨ā§āύ⧟āύ, āĻŽāĻžāϟāĻŋāϰ āωāĻ°ā§āĻŦāϰāϤāĻž āĻŦ⧃āĻĻā§āϧāĻŋ,āĻŦā§€āϜ āωāĻ¨ā§āύ⧟āύ āĻ“ āĻŦāĻŋāϤāϰāĻŖ āχāĻ¤ā§āϝāĻžāĻĻāĻŋ āĻŦāĻŋāώ⧟āϏāĻŽā§‚āĻš āĻ āĻĻ⧇āĻļ⧇āϰ āĻ•ā§ƒāώāĻŋ āĻŽāĻ¨ā§āĻ¤ā§āϰāĻŖāĻžāϞ⧟ āĻ“ āϏāĻ‚āĻļā§āϞāĻŋāĻˇā§āϟ āĻŦāĻŋāĻ­āĻžāĻ—āϏāĻŽā§‚āĻšā§‡āϰ āĻ•āĻ°ā§āĻŽāĻ•āĻžāĻŖā§āĻĄā§‡āϰ āĻ…āĻ¨ā§āϤāĻ°ā§āϭ⧁āĻ•ā§āϤāĨ¤ read more

Reasons:
  • No code block (0.5):
  • No latin characters (2.5):
  • Low reputation (1):
Posted by: Ai IDEAS

79165234

Date: 2024-11-07 06:29:09
Score: 6.5 🚩
Natty:
Report link

I don't have enough reputation for posting in the comment section. Also, this may not be what you're looking for, but could you enclose everything in the overridden ExecuteAsync() in a try-catch block that handles this failure?

Maybe StopApplication() could help?

https://learn.microsoft.com/en-us/dotnet/core/extensions/workers#:~:text=hostApplicationLifetime.StopApplication()%3B

How to cancel manually a BackgroundService in ASP.net core

Reasons:
  • RegEx Blacklisted phrase (1.5): I don't have enough reputation
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: chandanbsd

79165233

Date: 2024-11-07 06:29:09
Score: 3.5
Natty:
Report link

You can add all your keyed dependencies in the last as a workaround.

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

79165214

Date: 2024-11-07 06:21:07
Score: 0.5
Natty:
Report link

In 2024, use scriptArgs because arguments doesn’t work:

$ js --version
JavaScript-C128.4.0
$ cat script.js
print(arguments);
$ js script.js hello world
script.js:1:7 ReferenceError: arguments is not defined
Stack:
  @script.js:1:7
$ cat script.js
print(scriptArgs);
$ js script.js hello world
hello,world
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Paalon

79165212

Date: 2024-11-07 06:19:07
Score: 1
Natty:
Report link

PLAYWRIGHT_ABORT_REQUEST

In your case

def should_abort_request(request):
    return (
        request.resource_type != "xhr" in request.url
    )

and apply the function in settings

PLAYWRIGHT_ABORT_REQUEST = should_abort_request
Reasons:
  • Whitelisted phrase (-1): In your case
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Joon

79165207

Date: 2024-11-07 06:17:06
Score: 2
Natty:
Report link

I don't think this is possible using the picker.

As someone else suggested in the comments, you're better off building your own photo picker and fetching the photos using Apple's PhotoKit framework.

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

79165203

Date: 2024-11-07 06:16:05
Score: 3.5
Natty:
Report link

have you used app.use(bodyParser.json());

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

79165201

Date: 2024-11-07 06:16:05
Score: 2.5
Natty:
Report link

im also face same issue in Login with google. anyone have solution? i follow same step

    @GetMapping("/loginSuccess")
public String loginSuccess(@AuthenticationPrincipal OAuth2User oauthUser) {
    Authentication authentication = SecurityContextHolder.getContext().getAuthentication();
    System.out.println("Authentication principal: " + authentication.getPrincipal());

    if (oauthUser == null) {
        return "Error: OAuth2User is null. Authentication failed.";
    }
    String username = oauthUser.getAttribute("name");
    JwtToken jwtToken = jwtUtils.generateTokenFromUsername(username);
    return "Login successful! JWT Token: " + jwtToken;
}

here my SecurityConfig

@Bean
public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
    http.cors(cors -> cors.configurationSource(corsConfigurationSource()))
            .csrf(csrf -> csrf.disable())
            .authorizeHttpRequests(auth -> {
                auth.requestMatchers(
                                antMatcher("/api/auth/**"),
                                antMatcher("/oauth2/**"),
                                antMatcher("/login/**")
                        ).permitAll()
                        .anyRequest().authenticated();
            })
            .oauth2Login(oauth2 -> oauth2
                    .defaultSuccessUrl("/api/auth/loginSuccess")
                    .failureUrl("/api/auth/loginFailure")
            )
            .httpBasic()
            .and()
            .sessionManagement(session -> session.sessionCreationPolicy(SessionCreationPolicy.STATELESS))
            .exceptionHandling()
            .authenticationEntryPoint(unauthorizedHandler)
            .and()
            .addFilterBefore(authenticationJwtTokenFilter(), UsernamePasswordAuthenticationFilter.class)
            .authenticationProvider(authenticationProvider());
    return http.build();
}
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): also face same issue
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Ahamed

79165198

Date: 2024-11-07 06:14:05
Score: 1.5
Natty:
Report link

Use partition name to make it faster

SELECT GL_CODE, SUM(NET_LCY) FROM ( SELECT GL_CODE, NET_LCY FROM "KTC"."SHARED_RAW_RE_GL78" PARTITION (MONTHID_08) WHERE CUST_DIVISION = 'KHCN' ) a GROUP BY GL_CODE;

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Sudipto Bhattacharya

79165195

Date: 2024-11-07 06:14:05
Score: 1.5
Natty:
Report link

The easiest way to resolve this is to add a root_path argument to your FastAPI instance:

 app = FastAPI(
        root_path="/api",
        docs_url="/"
    )
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Muhammad Saad Aziz

79165181

Date: 2024-11-07 06:04:04
Score: 1
Natty:
Report link

If you haven't wrote any native code in your android folder I recommend try deleting the android folder and run

npx expo prebuild

This should bring back the android and ios folder, then try running the app again.

Use this expo link for reference

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

79165178

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

I've worked some more in the class and was able to solve 90%: colouring same preference red + hopping out

Here is the class code:

Option Explicit

Public WithEvents CmdEvents As MSForms.ToggleButton

Private Sub CmdEvents_Click()

    'if Clicking off, do nothing
    'set backcolor to off
    If CmdEvents.Value = False Then
        CmdEvents.BackColor = vbButtonFace
        GoTo EndNothing
        Else
        CmdEvents.BackColor = RGB(0, 128, 64)
    End If
    'MsgBox "mpp: " & Left(CmdEvents.Name, 1) & vbCrLf & "i: " & Mid(CmdEvents.Name, 2, 1) ' reads out mpp and i
    Dim i As Long
    Dim mpp         As Long
    mpp = Left(CmdEvents.Name, 1)
    Dim ctl As Control
    Dim nv As Long
    nv = 0
    Dim trb As Long
'    Dim j As Long
        
    For i = 1 To Sheets(1).Cells(11 + mpp, 5).Value
        If Order.Controls(Left(CmdEvents.Name, 2) & i).Value And i <> Right(CmdEvents.Name, 1) Then
            nv = Order.Controls(Left(CmdEvents.Name, 2) & i).Name
            Order.Controls(Left(CmdEvents.Name, 2) & i).Value = False
        End If
    Next i

    'Colour Red if same preference
    For Each ctl In Order.Controls
        If Left(ctl.Name, 1) = mpp Then 'if control is a TB button
            If Left(ctl.Name, 1) = Left(CmdEvents.Name, 1) And Right(ctl.Name, 1) = Right(CmdEvents.Name, 1) And ctl.Value = True And CmdEvents.Value = True And ctl.Name <> CmdEvents.Name Then
                ctl.BackColor = RGB(120, 105, 2) 'red
                CmdEvents.BackColor = RGB(120, 105, 2) 'red
                Else
                'reset green colour
                If Left(ctl.Name, 1) = Left(CmdEvents.Name, 1) And Right(ctl.Name, 1) = Right(CmdEvents.Name, 1) And ctl.Value = True And ctl.Name <> CmdEvents.Name Then
                   'only if not two buttons are pressed in column
                   'need to change "old" column colour as well
'                   For j = 1 To Sheets(1).Cells(11 + mpp, 5).Value
                    trb = 0
                    For i = 1 To Sheets(1).Cells(11 + mpp, 5).Value
                         If Order.Controls(Left(CmdEvents.Name, 1) & i & Right(CmdEvents.Name, 1)).Value Then 'j
                             trb = trb + 1
                         End If
                     Next i
                     MsgBox trb
                    If trb = 1 Then
                         ctl.BackColor = RGB(0, 128, 64) 'green
                    End If
'                  Next j
                End If
            End If
        End If
    Next ctl
    
EndNothing:
End Sub

I also added some colour code and next page in multipage to Order Initialize:

For mpp = 1 To 2 'added version for alternative date
 ' the same
TB.Name = mpp & i & j 'altered for second "date" to work
 ' the same
If TB.Caption = i Then
                        TB.Value = True
                        TB.BackColor = RGB(0, 128, 64) 'added to give green background'
 ' the same
Next mpp
End Sub

My only problem now is that if you click of "7" now (and make it right again), the other 7 stays red: "7" stays red although correct

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

79165175

Date: 2024-11-07 06:02:03
Score: 2
Natty:
Report link

Yes, AWS CloudWatch Logs Insights allows you to query log groups across multiple AWS accounts and regions simultaneously. This capability is part of CloudWatch’s cross-account observability feature, which enables you to view and analyze metrics, logs, and traces from different accounts and regions within a single monitoring account.

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

79165170

Date: 2024-11-07 05:59:02
Score: 0.5
Natty:
Report link

@click.option('--status/--no-status', default=True) is the way to go, as suggested by click documentation

Example:

script.py:

import click

@click.command
@click.option('--status/--no-status', default=True)
def main(status):
    click.echo('status: {}'.format(status))

if __name__ == '__main__':
    main()

$ python3 script.py 
status: True

$ python3 script.py --status
status: True

$ python3 script.py --no-status
status: False
Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): is the
  • Low reputation (0.5):
Posted by: laur

79165167

Date: 2024-11-07 05:57:01
Score: 3
Natty:
Report link

In my case i hadn't created the database i specified in the datasours.url

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

79165163

Date: 2024-11-07 05:56:01
Score: 1.5
Natty:
Report link

Add a button input with the name of send in your form. <button name="send" type="submit">Send</button>

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

79165162

Date: 2024-11-07 05:56:01
Score: 1.5
Natty:
Report link

So removing all permissions from the service account and granting only storage admin access, along with full API access for Cloud Scope, ultimately worked. I stopped the current VM and restarted it, and now the gcloud cp command is functioning properly.

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

79165159

Date: 2024-11-07 05:56:01
Score: 2
Natty:
Report link

Last week i also had this issue,, im using the dotnet code, the problem is with the security ..my public server cloudflare is blocking the docusign.. so better you neeed to check this cloudflare check if the docusign domains are whitelisted check the firewall logs and proxy if there is any block

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

79165157

Date: 2024-11-07 05:55:01
Score: 3
Natty:
Report link

Sync with Firebase: Once you're signed in with the correct account, the Firebase Assistant should automatically sync with Firebase services, and the error should no longer appear.

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

79165153

Date: 2024-11-07 05:53:00
Score: 1.5
Natty:
Report link

only if you know its going to be col_B, we can also do something like this, for 'n' columns you can loop

if (df.columns.contains("col_B")) df else df.drop("col_B")
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: devmittal

79165140

Date: 2024-11-07 05:45:59
Score: 2.5
Natty:
Report link

When you face the problem bigserial doesn't exist when giving it in prisma datatype then

Run the command npx prisma migrate dev --create only

It will generate a migration.sql file inside the generated file changed all BIGSERIAL to BIGINT

And now run the command npx prisma migrate dev

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When you
  • Low reputation (1):
Posted by: Aryan Trivedi

79165137

Date: 2024-11-07 05:42:58
Score: 1.5
Natty:
Report link

You can use DuplicateFilesDeleter software to delete duplicate files. This is the best way of delete duplicate files.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dan Johnson

79165121

Date: 2024-11-07 05:35:56
Score: 1.5
Natty:
Report link

Please beaware that Copying all content of C:\xampp\mysql\backup to the C:\xampp\mysql\data will fix the issue. But if you have existing db and WordPress installation then it will not open the website homepage properly. I will ask you an fresh WP installation and won't let you install the new one.

So replace it at your own risk.

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

79165106

Date: 2024-11-07 05:28:55
Score: 1.5
Natty:
Report link

It sounds frustrating to run into issues with deleting a promo code or updating the maximum redemption attribute! Often, this can happen due to system restrictions or specific settings in your platform. Here are a few suggestions:

Check Permissions: Ensure that you have the necessary permissions to make these changes. Some platforms restrict editing or deleting codes based on user roles.

Review Code Settings: Sometimes, settings tied to the promo code—like expiration dates or usage limits—might prevent changes. Try reviewing these to see if anything conflicts with your update.

Clear Cache or Try a Different Browser: Occasionally, browser cache can interfere with system changes. Clearing your cache or trying a different browser might help.

Contact Support: If you’ve checked permissions and settings but still face issues, it could be worth reaching out to the support team of your platform. They can often resolve backend issues that aren't visible on your end.

For more helpful resources on using promo codes effectively, check out our Encashback website, where you can find a range of promo codes and cashback offers across multiple categories.

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

79165098

Date: 2024-11-07 05:18:53
Score: 4
Natty:
Report link

In this case just clear cached data of browser.

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

79165094

Date: 2024-11-07 05:16:53
Score: 0.5
Natty:
Report link

11 Grinder

November 8, 2019

"HENERAL LUNA"

(CRITIQUE PAPER)

The movie "Heneral Luna" is one of the best historical movies ever created by the Filipinos. It shows complete details and information that Heneral Luna and his men did before. As a viewer, perhaps I was not able to get the exact message that the director wanted to convey, but obviously, the movie is about the willingness of our Filipino ancestors who fought and willingly sacrificed for the country. In particular, Heneral Antonio Luna, the main character, was depicted as the nationalistic leader of the Filipino soldiers. Here, the filmmakers were able to create a character somehow similar to us, something which we can relate for. The movie shows how selfishness and having no collective unity and loyalty in the society greatly affects the country. The movie reminds us of the sacrifices and the blood wasted, just to achieve the freedom and independence that we have long been aspiring for.

The film is engaging because the author makes it realistic for it to become convincing for the viewers. The scenarios are naturally implied to Filipino people's characteristic before, one of which was depicted was that they did not mind to use vulgar words. Moreover, the movie is not depicted too poetic so the generations are able to relate. The film is also not boring so the viewers are interested to watch it It emphasized the history of our country under the jurisdiction of then President Emilio Aguinaldo as General Luna lead the Philippine army for the freedom of our country. It also shows the political hierarchy in his time. Watching the film, it expands our knowledge about our history and at the same time it is also entertaining.

I am really impressed with the movie. The unique perspective and idea of the filmmaker, the way the artists brought their character, and all of the style they used in making such a beautiful movie, truly caught the attention of the viewers. It is just that, I got disappointed about the unexpected unhappy ending. I mean, why some of the Filipino before, kill the General instead of just being open and cooperative. Its ending was also unclear but being unclear makes the viewers to create and imagine their own ending based from their understanding. So, in the end the movie is really great for those who is open minded and for those who really loves the Philippines. If there is another historical movie, I would love to watch it and to know more

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

79165093

Date: 2024-11-07 05:16:50
Score: 6 🚩
Natty: 5
Report link

are you able to solve it? I have created a ticket on Upwork regarding this. If you were able to find the solutions let me know.

Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): you able to solve
  • RegEx Blacklisted phrase (1.5): solve it?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Waqas Yousaf

79165087

Date: 2024-11-07 05:14:49
Score: 4
Natty:
Report link

I find the error, it must using StatefulSet when deploying jenkins on kubernetes.

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

79165085

Date: 2024-11-07 05:12:49
Score: 0.5
Natty:
Report link

Okay, I have the answer to your question and the explanation. After running into the same issue myself and digging deeper, I realized it was a "skill" issue and not an "angular" issue.

The "skill" issue here is using a boilerplate template (e.g., ng new) and not understanding how the different files are wired together, further exaggerated by different documentations and online articles assuming different versions of angular "template".

Issue in detail

Angular: 18.2.0 Material: 18.2.11

When using standalone components without module files, I could not utilize the provider to inject the default options into the matsnackbar in the following way.

import { MAT_SNACK_BAR_DEFAULT_OPTIONS, MatSnackBar, MatSnackBarModule } from '@angular/material/snack-bar';

@Component({
  ......
  standalone: true,
  imports: [...., MatSnackBarModule, ....],
  providers: [
    {
      provide: MAT_SNACK_BAR_DEFAULT_OPTIONS,
      useValue: {
        duration: 2500,
        horizontalPosition: 'left',
      }
    }],
  ......
})

constructor(private _snackBar:MatSnackBar) {}

Solution 1: Defining providers in a component and inject it immediately for usage

Building on @christian-fuchs' comments and answers, the closest workaround I could settle on was the following.

import { MAT_SNACK_BAR_DEFAULT_OPTIONS, MatSnackBar, MatSnackBarConfig, MatSnackBarModule } from '@angular/material/snack-bar';

@Component({
  ......
  imports: [....,MatSnackBarModule, ....],
  standalone: true,
  providers: [
    {
      provide: MAT_SNACK_BAR_DEFAULT_OPTIONS,
      useValue: {
        duration: 2500,
        horizontalPosition: 'left',
      }
    }],
  ......
})

constructor(@Inject(MAT_SNACK_BAR_DEFAULT_OPTIONS) private _snackBarDefaultOptions: MatSnackBarConfig,
  private _snackBar: MatSnackBar) {}

triggerSnackbar() {
  this._snackBar.open('This snackbar will close in 5 seconds', null, _snackBarDefaultOptions)
}

Solution 2: Use ngModules along with standalone components (Keep it lightweight and use it for global configs)

To be honest, the above example is not really a workaround but the right way to do this when you're not using Angular module files (i.e., app.module.ts, etc.).

The reason is that the matsnackbar seems to be initialized before the provider can feed the default values in the standalone component. However, it would work if you took the same approach in the module file, say example.module.ts, and did something like below.

example.module.ts

import {
  MAT_SNACK_BAR_DEFAULT_OPTIONS,
  MatSnackBarModule,
} from '@angular/material/snack-bar';

@NgModule({
  providers: [
    { provide: MAT_SNACK_BAR_DEFAULT_OPTIONS, useValue: { duration: 50 } },
  ],
  exports: [MatSnackBarModule],

)
export class ExampleModule {}

example.component.ts

import { SnackBarComponentComponent } from './snack-bar-component/snack-bar-component.component';

@Component({
  ....
})
export class ExampleComponent {

  constructor(private snackBar: MatSnackBar) {}

  openSnackBar() {
    this.snackBar.open('This snack will close in 5 seconds');
  }
}

There may be some gotchas. For example, if this were app.module.ts and app.component.ts, we need to ensure that the app module is bootstrapped in main.ts or main.server.ts (server-side rendering, I believe) and not the AppComponent (as is the case when generating an Angular app with standalone templates).

Method 3: Understand the boilerplate generated by the latest ng command and define the provider in the correct location/file

If you are set on using angular standalone components without any modules, define the providers when bootstrapping. This ensures that the required information is loaded into the global config before these components are rendered.

For example

app.config.ts

import { MAT_SNACK_BAR_DEFAULT_OPTIONS } from '@angular/material/snack-bar';

export const appConfig: ApplicationConfig = {
  providers: [
    {
      provide: MAT_SNACK_BAR_DEFAULT_OPTIONS,
      useValue: {
        duration: 1000,
        horizontalPosition: 'right',
      }
    }]
};

main.ts

import { bootstrapApplication } from '@angular/platform-browser';
import { appConfig } from './app/app.config';
import { AppComponent } from './app/app.component';

bootstrapApplication(AppComponent, appConfig)
  .catch((err) => console.error(err));
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @christian-fuchs'
  • Low reputation (1):
Posted by: chandanbsd

79165082

Date: 2024-11-07 05:11:49
Score: 5.5
Natty:
Report link

Thank Ravinder for your response.. I am use this code but It's gives on url bar

cricf.com/cricket-article.php?cardid=3730

When I do some changes like below It gives on url bar

cricf.com/cricket-article/cardid/3730/

But with page not found 404 error

RewriteEngine on RewriteCond %{THE_REQUEST} /cricket-article.php?cardid=([^\s&]+) [NC]

RewriteRule ^ cricket-article/cardid/%1? [R=302,L]

RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^cricket-article/cardid/([^/]+)/?$ cricket-article.php?cardid=$1 [L,QSA,NC]

Any Suggestions..?

Reasons:
  • RegEx Blacklisted phrase (2): Any Suggestions
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Wasim Saiyed

79165078

Date: 2024-11-07 05:09:48
Score: 2
Natty:
Report link
change  the function return type
public funciton phpDemo():void{
//
}
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hemil

79165076

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

Im facing the same issue, have you found the solution for this?

Reasons:
  • RegEx Blacklisted phrase (2.5): have you found the solution for this
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): facing the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jonas

79165075

Date: 2024-11-07 05:08:48
Score: 1
Natty:
Report link

Using od:

echo "[$(echo -n "hey" | od -An -tu1 | awk -v OFS=', ' '{$1=$1;print}')]"

will print

[104, 101, 121]
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Akhil

79165061

Date: 2024-11-07 04:59:46
Score: 1
Natty:
Report link

You can also add importProvidersFrom([BrowserAnimationsModule]) in appConfig and load bootstrapApplication along with appConfig,

export const appConfig: ApplicationConfig = {
  providers: [
    // other providers
    importProvidersFrom([BrowserAnimationsModule])
  ]
    
};

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

79165059

Date: 2024-11-07 04:58:46
Score: 2
Natty:
Report link

You have to use d-flex for first point and flex-grow-1 to make the horizontally and vertically centered.

<!doctype html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Bootstrap demo</title>
    <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
</head>

<body>
    <div class="flex flex-column vh-100">
    <header class='fixed-top d-flex justify-content-around'>
        <div class="d-flex align-items-center gap-5 justify-content-center">
            <h3 class="float-md-start mb-0">Ethan Leyden</h3>
            <nav class="nav nav-masthead justify-content-center float-md-end">
                <a class="nav-link fw-bold py-1 px-0 active" aria-current="page" href="#">Home</a>
                <a class="nav-link fw-bold py-1 px-0" href="#">Features</a>
                <a class="nav-link fw-bold py-1 px-0" href="#">Contact</a>
            </nav>
        </div>
    </header>
<div class="mx-auto flex-grow-1 d-flex justify-content-center align-items-center h-100 mt-5">
    <main class="">
        <h1>Welcome to the site</h1>
        <p class="lead">It's definitely still under construction. Do you know how to vertically center
            content with Bootstrap? I sure don't</p>
        <p class="lead">
            <a href="#" class="btn btn-lg btn-light fw-bold border-white bg-white">Learn more</a>
        </p>
    </main>
</div>
    <div class="mx-auto my-auto">
     
    </div></div>

    <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
        integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
        crossorigin="anonymous"></script>
</body>

</html>

Reasons:
  • RegEx Blacklisted phrase (2.5): Do you know how
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Suman

79165052

Date: 2024-11-07 04:51:45
Score: 0.5
Natty:
Report link

Just like you, I wonder why there is no CommandLineToArgvA() function. Anyway, normally there should be an ANSI version for each wchart version. At last, I found the answer on Microsoft website. https://learn.microsoft.com/en-us/windows/win32/api/processenv/nf-processenv-getcommandlinea

"The command line returned by GetCommandLineA is a conversion of the Unicode command line to the 8-bit process code page.

For most code pages this conversion is lossy and the converted command line can differ from the Unicode command line, creating possible security issues like the following:

The conversion may alter strings intended for use as file names. For example, if the ANSI code page is Windows-1252, the Unicode character U+0100 (Latin capital letter A with macron: Ā) converts to 0x41 (the Latin capital letter A). If a user passes a file name containing the character Ā, a program that uses GetCommandLineA will receive it with the character A and operate on the wrong file. The conversion may alter how the command line is parsed. For example, if the ANSI code page is Windows-1252, the Unicode character U+FF02 (Fullwidth quotation mark: īŧ‚) converts to 0x22 (the ASCII quotation mark) and the Unicode character U+2010 (Hyphen: ‐) converts to 0x2D (the ASCII minus sign). Both of these can result in command line file arguments being misinterpreted as command line options. To avoid this problem, use the GetCommandLineW function to receive the Unicode command line, or use an application manifest (on Windows Version 1903 or later) to set UTF-8 as the process code page."

The string from GetCommandLineA is a conversion of the Unicode command line to the 8-bit process code page. If we use it in CommandLineToArgvA() function, there might be a security problem. Hence, Microsoft don't want us to have CommandLineToArgvA() function. In fact, all ANSI version functions would convert ANSI strings into wchart strings under the hood of windows. When I use GetCommandLineA to get an ANSI command line, I just do it myself to reinvent the wheels to build my own function to handle it.

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

79165046

Date: 2024-11-07 04:49:44
Score: 5
Natty:
Report link

enter image description here

Police arrest -selling and making fake notes gang

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Aditya Chougule

79165044

Date: 2024-11-07 04:48:43
Score: 3
Natty:
Report link

I got the same issue, seems like it is related to permissions, so try to apply the a basic Authentication enable as Anonymous too, with a service account that has full access

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

79165038

Date: 2024-11-07 04:40:42
Score: 3.5
Natty:
Report link

Dude i've been trying to figure this out for like months and i got it fixed by doing brew install mongoose

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

79165027

Date: 2024-11-07 04:34:40
Score: 3.5
Natty:
Report link

I second Anwar ul Haq. That is the correct solution for this.

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

79165024

Date: 2024-11-07 04:32:40
Score: 2
Natty:
Report link

Reminder: Answers generated by artificial intelligence tools are not allowed on Stack Overflow. Learn more

enter code herebnnjvbn
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user28172897

79165015

Date: 2024-11-07 04:24:39
Score: 1
Natty:
Report link

Try using

page.locator('//ui-input[@label="First Name"]/descendant::input')

as

page.getByLabel('First Name').getByRole('textbox'); is not working.

If this is also not working, Can you check if there is no iframe at the top level of this form?

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

79165009

Date: 2024-11-07 04:21:38
Score: 1.5
Natty:
Report link

You can also just pull the image, and docker will use it as a cached image if you just want to test locally:

docker pull public.ecr.aws/lambda/python:3.11

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

79165008

Date: 2024-11-07 04:20:38
Score: 3
Natty:
Report link

Just Check your properties file because of some changes in code properties files also updates seems u forgot to merge in your local from remote properties file.

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

79165006

Date: 2024-11-07 04:19:38
Score: 1.5
Natty:
Report link

Maybe it will still be helpful to someone - changing the minSdkVersion from 21 to 24 helped me

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

79164990

Date: 2024-11-07 04:08:36
Score: 1.5
Natty:
Report link

Currently, the most efficient exact answer is Depth-First Graph Edit Distance (DF-GED), from An Exact Graph Edit Distance Algorithm for Solving Pattern Recognition Problems. An implementation exists in Python's networkx library.

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
Posted by: I'll Eat My Hat

79164985

Date: 2024-11-07 04:06:35
Score: 1.5
Natty:
Report link

Thank you! updating RVM equally worked for me. More specifically, updating with head rather than stable.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: teneeto

79164976

Date: 2024-11-07 04:01:34
Score: 2
Natty:
Report link

Try to whitelist your IP address from MongoDB Atlas. Use below steps to do it.

  1. Login to MongoDB Atlas and go to Cluster page.
  2. Click on Network Access -> Add IP Address -> Add current IP Address.
  3. Alternatively, to allow access from any IP and save changes. ( Enter 0.0.0.0/0 as the IP address )
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Tharuka Deshan

79164973

Date: 2024-11-07 04:01:34
Score: 3.5
Natty:
Report link

i don't know asmdasdjm'alskdjalskdjaslkjdasdjsapodasojopfjpoajsfpoafpasfpaspfafsjjfpasjfsoapjfaspifjsarhpashlfknlknclknklnslaknlkd

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Cưáģng PháēĄm

79164971

Date: 2024-11-07 03:58:33
Score: 1.5
Natty:
Report link

Instead of { params }: { params: Record<string, string> } you can try: { params }: { params: string }.

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

79164965

Date: 2024-11-07 03:55:33
Score: 8.5
Natty: 7.5
Report link

Have you found the solution for this?

Reasons:
  • RegEx Blacklisted phrase (2.5): Have you found the solution for this
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jonas

79164959

Date: 2024-11-07 03:53:32
Score: 1
Natty:
Report link

Simply add a time.sleep(3) statement between driver.get() and actually pulling results from the table. Some items are loaded with JavaScript and require some pause time for them to load in. Tested out your exact code but with a sleep statement and it worked as you want it too. Best of luck with your project.

Reasons:
  • Whitelisted phrase (-1): it worked
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Caleb

79164957

Date: 2024-11-07 03:53:32
Score: 2.5
Natty:
Report link

I followed Dilhan's suggestion about Windows firewall. I am using Laragon and running Ngix and Mysql. I noticed after I have added Laragon, Ngix and Mysql to the Windows Defender Firewall and checked both Private and Public checkboxes, it seems to have solved the Wordpress slow loading on localhost.

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

79164952

Date: 2024-11-07 03:48:31
Score: 1
Natty:
Report link

There is a very useful way: set:

$this->app['request']->server->set('HTTPS','on');

instead of:

URL::forceScheme('https');

only this can slove the page link http to https. when use proxy.

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

79164951

Date: 2024-11-07 03:48:31
Score: 3.5
Natty:
Report link

Use basic code to connect the mongoose instead of complex code , if it does work tell me.

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

79164948

Date: 2024-11-07 03:47:31
Score: 0.5
Natty:
Report link

scipy.stats.multivariate_normal.cdf works on rectangular regions, giving the probability that components of a random vector would be less than components of the given vector. If we instead want the probability that a sample lies inside the ellipsoid determined by Mahalanobis distance, this can be done using chi2.cdf (see this article):

from scipy.stats import chi2
import numpy as np

mean = np.array([1, 2])
covariance = np.array([[1, 0.8],[0.8, 1]])
x = np.array([2, 3])
y = x - mean
r2 = y @ np.linalg.inv(covariance) @ y
print(chi2.cdf(r2, len(x))) # 0.4262465792625671
Reasons:
  • Blacklisted phrase (1): this article
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: HackerBoss

79164926

Date: 2024-11-07 03:29:27
Score: 2.5
Natty:
Report link

Nu Html Checker This tool is an ongoing experiment in better HTML checking, and its behavior remains subject to change

Showing results for https://developer.mescius.com/blogs/rss-feeds Checker Input Show sourceoutlineimage report

Check by address https://developer.mescius.com/blogs/rss-feeds

Warning: text/* type without a charset parameter seen. Defaulting to US-ASCII per section 3.1 of RFC 3023.

https://developer.mescius.com/blogs/rss-feeds

Warning: External encoding information specified US-ASCII, but XML declaration specified UTF-8. Allowing external to override per RFC 3023. The well-formedness status of this document may change when decoupled from the external character encoding information.

At line 1, column 36

encoding="UTF-8" ?>↩<rss versi

Schema Error: XML document with no namespace; cannot determine any schema to use for validation.

https://developer.mescius.com/blogs/rss-feeds

The result cannot be determined due to a non-document-error.

Total execution time 603 milliseconds.

About this checker â€ĸ Report an issue â€ĸ Version: 24.10.31

Reasons:
  • Blacklisted phrase (1): this document
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Ezequiel Leiuqeze

79164923

Date: 2024-11-07 03:26:26
Score: 3
Natty:
Report link

Just put the target folder outside your project folder could solve the problem.

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

79164922

Date: 2024-11-07 03:25:25
Score: 4
Natty:
Report link

awesome You need to change č¨­åŽšãŽãƒĸãƒŧド:ä¸Šį´šč€…

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

79164920

Date: 2024-11-07 03:23:25
Score: 2.5
Natty:
Report link

using UniqueKey() for tab, the tab will rebuild every time you call it.

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

79164917

Date: 2024-11-07 03:21:24
Score: 0.5
Natty:
Report link

As of Sphinx 7.4, there's the SphinxDirective.parse_content_to_nodes() method to handle rst inside the content of a directive. It obviates directly using self.state.nested_parse(self.content, self.content_offset, node), as was linked in the other answer.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: Jake Stevens-Haas

79164915

Date: 2024-11-07 03:20:24
Score: 2
Natty:
Report link

After days of trying to find out, the reason for all this chaos is because some of the libraries that I was using in the project are no longer available or supported in jitpack or maven. So I had to check if removing them had any impacts. I was able to permanently remove some libraries while I had to find the jar / aar files for others and put them into my project. Then I was able to build and run successfully.

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

79164911

Date: 2024-11-07 03:17:23
Score: 0.5
Natty:
Report link

In a convenient location or a new tab, set up 3 ranges, Macro1, Macro2, and Macro3. Then at the end of the code for each macro, include the statement

Range("Macro<1 2 or 3>") = Now()

Add Labels around those ranges to indicate which macro they refer to, and the tag "Last Run".

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

79164909

Date: 2024-11-07 03:15:23
Score: 1.5
Natty:
Report link

Step 1: npx @next/codemod@latest next-async-request-api --force

Step 2: 'On which files or directory should the codemods be applied?': '.'

Also we need to make sure that the function is declared as async, otherwise the changes won't take effect.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: ssonthal

79164889

Date: 2024-11-07 03:06:21
Score: 2
Natty:
Report link

You can use https://wordpress.org/plugins/cptsm-slug-manager/ , This plugin provides a simple and powerful interface for managing custom post type slugs.

Reasons:
  • Blacklisted phrase (1): This plugin
  • Whitelisted phrase (-1.5): You can use
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: luis urdaneta

79164888

Date: 2024-11-07 03:05:21
Score: 1
Natty:
Report link

After my test, this problem does exist. But you can avoid it by the following methods:

1: Right-click the project and select Properties.

2: In the Debug tab, manually set the Start External Program path to the compiled file, for example:

Set to bin\Debug\WpfAppDebug.exe for Debug configuration

Set to bin\Release\WpfAppRelease.exe for Release configuration

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

79164884

Date: 2024-11-07 03:01:20
Score: 3.5
Natty:
Report link

In Vite you can install vite-plugin-svgr, also check out this answer.

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

79164883

Date: 2024-11-07 03:01:19
Score: 4
Natty:
Report link

Because {% load static %} will not work for email template, Use the below format

https://www.your-domain.com/static/path_to_image/image_file_name.extension

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

79164874

Date: 2024-11-07 02:53:17
Score: 0.5
Natty:
Report link

In any case, if one of those packages is at fault, what's the fix?

This is because the iisnode module itself is using the Buffer() method, you may need to update the Interceptor.js file. Simply refer to this thread:https://github.com/Azure/iisnode/issues/60

If you simply don't want to see these warning messages, you can disable them via configuration. Something like:

<iisnode nodeProcessCommandLine="your/path/to/node.exe --no-deprecation --no-warnings"/>
Reasons:
  • RegEx Blacklisted phrase (1.5): fix?
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: Xudong Peng

79164872

Date: 2024-11-07 02:52:17
Score: 1.5
Natty:
Report link

CREATE TABLE products ( product_id INT AUTO_INCREMENT PRIMARY KEY, product_name VARCHAR(255), brand VARCHAR(100), model VARCHAR(100), size VARCHAR(50), price DECIMAL(10,2), quantity INT, description TEXT, image VARCHAR(255), created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP, updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP );

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: DARAYA SHOP DRY

79164870

Date: 2024-11-07 02:51:17
Score: 2.5
Natty:
Report link

As Multer Module is not a global module, so the setting in the app.module.ts not work! It should set at the module which used the file upload.

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

79164866

Date: 2024-11-07 02:48:16
Score: 2
Natty:
Report link

@user18610347 I tested a similar setup, and here’s a version that works for me:


variables:
  ${{ if or(eq(variables['Build.SourceBranch'], 'refs/heads/master'), startsWith(variables['Build.SourceBranch'], 'refs/heads/release')) }}:
    branchName: 'master'
  ${{ else }}:
    branchName: 'develop'

stages:
  - stage: Build
    jobs:
      - job: BuildJob
        steps:
          - script: echo "branchName is $(branchName)"

enter image description here Here is the pipeline for your review: https://dev.azure.com/nacho-chukwu/Infrastructure%20As%20A%20Code/_build/results?buildId=167&view=logs&j=a314f22c-0d8d-5f4e-2e5a-7023d7141778&t=afcbd69d-6218-5d12-27f7-cd8c790f2eca

Reasons:
  • Whitelisted phrase (-1): works for me
  • Probably link only (1):
  • Contains signature (1):
  • Has code block (-0.5):
  • User mentioned (1): @user18610347
  • Low reputation (0.5):
Posted by: nacho

79164859

Date: 2024-11-07 02:44:15
Score: 1
Natty:
Report link

I just had to work through the same issue.

My solution (applied to the code in your original question) was to add an e.preventDefault() statement to the onButtonClick function.

...

const onButtonClick = (e) => {
  e.preventDefault()
  inputFile.current?.click();
};

return (
  ...
);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Thomas

79164858

Date: 2024-11-07 02:44:13
Score: 8 🚩
Natty: 4.5
Report link

Any luck.? I am facing same issue and looking for answer.

Reasons:
  • Blacklisted phrase (1.5): Any luck
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sagar Potdar

79164848

Date: 2024-11-07 02:34:10
Score: 1
Natty:
Report link

VS2022, in git changes window,

if you alread double clicked the file and diff window opened, CLOSE the diff window first!

select the file, hold Shift and double click the file.

It will go to the source file, instead of diff window.

Cons: it cannot right click the content of the file and go to the exact line.

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

79164840

Date: 2024-11-07 02:28:08
Score: 2.5
Natty:
Report link

It says that your PROJECT_ID doesn't match or your project doesn't exist.

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

79164838

Date: 2024-11-07 02:27:08
Score: 1.5
Natty:
Report link

For anyone else who sees this - the solution I'm using for the time being is as follows.

Instead of saving GoogleTest as GoogleTest, I am saving GoogleTest as GoogleTest/src and saving my build file as GoogleTest/Build-GoogleTest.lua.

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

79164826

Date: 2024-11-07 02:21:07
Score: 3.5
Natty:
Report link

Try a longer interval like, schedule=60 to give the task more time to start and run

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

79164820

Date: 2024-11-07 02:16:06
Score: 0.5
Natty:
Report link

Step 1. Calculating the number of multiplications needed using N = log(Z/X, Y)

Step 2. Using scan to multiply X by Y for N times.

Like below: Formula in cell B7: =B1

Formula in cell B8:

=LET(x, B1, y, B2, z, B3, num_operations, ROUNDUP(LOG(z / x, y), 0), SCAN(x, SEQUENCE(num_operations), LAMBDA(current,dummy, current * y)))

enter image description here

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

79164816

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

While @nucleon's answer works, if you want to let users toggle layer's visibility on and off, setting visibility to visible can trigger unnecessary tile requests to the server, even for layers already loaded into the map.

To avoid that, I keep layers visible all the time and toggle their visibility by setting opacity to 0 (invisible) or 1 (to make them visible again). Note that a layer must be initially loaded before its visibility can be toggled:

// [email protected]
const show = true;
const layers = map.getStyle().layers;
layers
  // Filter for symbol layers with "-label" suffix (modify as needed)
  .filter(layer => layer.type === 'symbol' && layer.id.includes('-label'))
  .forEach(layer => map.setPaintProperty(layer.id, 'text-opacity', show ? 1 : 0));
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @nucleon'sworks
  • Low reputation (1):
Posted by: lekoshimura

79164812

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

Remove "position: relative;" and you get this css:

.tooltip {
}

.tooltip .tooltiptext {
  visibility: hidden;
  position: absolute;
  z-index: 1;
  
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

   .tooltip {
}

.tooltip .tooltiptext {
  visibility: hidden;
  position: absolute;
  z-index: 1;
  
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}
<a class="tooltip">
        Hover
        <div class="tooltip tooltiptext">
                Tooltip Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum
        </div>
</a>

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Hellm

79164802

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

happened to me, in the end I think there are 2 options:

  1. use real object instead of mock object.
  2. mock the getName behavior, not setName behavior.
Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: RococoBernini

79164796

Date: 2024-11-07 01:58:02
Score: 2.5
Natty:
Report link

I was finally able to bitbake the recipe :) The problem was that I needed to use SRC_URI +=, instead or SRC_URI = Then, I read on another post that qt6-cmake added the assets without needing to explicitly tell it to do it, but I had to add them with SRC_URI =+ because they weren't being found. Then, I had a typo and that was it, the recipe bake successfully :)

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

79164794

Date: 2024-11-07 01:56:02
Score: 1
Natty:
Report link

For A Url in jquery:

You Could Try The prop Method:

$(location).prop('href')

Or Try The attr Method:

$(location).attr('href')

Snippet:

function oneurl(){
alert($(location).prop('href'))
}
function twourl(){
alert($(location).attr('href'))
}
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<button onclick="oneurl()">#1</button>
<button onclick="twourl()">#2</button>

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