79406434

Date: 2025-02-02 10:52:06
Score: 1.5
Natty:
Report link

Because 4t means 4 multiplied by t, using it as variable conflicts with expression which 4t. For example, 8n conflicts with n(we write 8n to mean 8 times n), so it conflicts with a mathematical expression. Excel doesn't allow variables like GN23423 if it conflicts with an existing cell name. It means there are 1,048,576 rows in Excel and 16,384 columns in Excel. If it only contains an alphabetical string and a number(starts with a string of one or more letters and one or more numbers after the letters), make sure that the number is greater than 1,048,576, and letter is after XFD. Variables like snow329 are valid but not it104 because Excel isn't case sensitive in variable names.

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

79406432

Date: 2025-02-02 10:51:06
Score: 2
Natty:
Report link

It was clear that there is some embarrassing reason for this: I used parenthesis for the password in the config file. Python added them to the password, so the password was wrong. When testing on the shell, the shell removed the parenthesis, so the password was correct.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Mr. Clear

79406423

Date: 2025-02-02 10:43:04
Score: 3.5
Natty:
Report link

Try copying your flutter code to a new project check if it runs.

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

79406420

Date: 2025-02-02 10:42:04
Score: 1
Natty:
Report link

Simplest solution is here: Just paste below command in your vs code terminal 1.Get-ExecutionPolicy -List 2.Set-ExecutionPolicy Unrestricted OR Set-ExecutionPolicy -Scope CurrentUser Unrestricted

Thats it !.....

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

79406418

Date: 2025-02-02 10:41:04
Score: 2
Natty:
Report link

Solution was:

// In your App.xaml.cs

public partial class App : MauiWinUIApplication
{
    // ...

    protected override async void OnLaunched(Microsoft.UI.Xaml.LaunchActivatedEventArgs args)
    {
        var appInstance = AppInstance.GetCurrent();
        var e = appInstance.GetActivatedEventArgs();

        // If it's not a Protocol activation, just launch the app normally
        if (e.Kind != ExtendedActivationKind.Protocol ||
            e.Data is not ProtocolActivatedEventArgs protocol)
        {
            appInstance.Activated += AppInstance_Activated;

            base.OnLaunched(args);
            return;
        }

        // If it's a Protocol activation, redirect it to other instances
        var instances = AppInstance.GetInstances();
        await Task.WhenAll(instances
            .Select(async q => await q.RedirectActivationToAsync(e)));

        return;
    }

    private void AppInstance_Activated(object? sender, AppActivationArguments e)
    {
        if (e.Kind != ExtendedActivationKind.Protocol ||
            e.Data is not ProtocolActivatedEventArgs protocol)        
        {
            return;
        }

        // Process your activation here
        Debug.WriteLine("URI activated: " + protocol.Uri);
    }

}

Also answered here: https://stackoverflow.com/a/79123126/17302880

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: SoldatXwing

79406412

Date: 2025-02-02 10:37:03
Score: 1.5
Natty:
Report link

In TensorFlow 2.18 the behavior of model.save() has changed. In previous versions you could save a model in the “SavedModel” (TensorFlow) format simply by calling, for example, model.save("my_model"). Now, however, model.save() requires that you either specify a .keras or a .h5 extension.

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

79406411

Date: 2025-02-02 10:35:03
Score: 1.5
Natty:
Report link

You can’t observe the onActiveSpace property because SkyLight does not support that feature. If you really want to observe it, you can either observe the private notification named _NSWindowDidChangeWindowNumber or override -[NSWindow _commonAwake].

But I want to ask: why? The onActiveSpace property indicates that NSWindow has created an NSCGSWindow and that it is connected to the WindowServer’s space. If it’s a tabbed window and that tab is not selected, it will return NO. Why do you want to observe this? If you initialized NSWindow with defer:YES, NSWindow will be on the space immediately.

If you want to determine whether a window is visible to the user, you need to use the occlusionState and observe the NSApplicationDidChangeOcclusionStateNotification.

Reasons:
  • Blacklisted phrase (0.5): why?
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Jinwoo Kim

79406404

Date: 2025-02-02 10:31:02
Score: 3
Natty:
Report link

I have found that the title tag is crawled by search engine automatically but if you not put it correctly you can see my website's title tag and keywords or SERP.

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

79406399

Date: 2025-02-02 10:26:00
Score: 1
Natty:
Report link

Solved it by by calling the SearchResults component inside the Page component and wrapping it in a Suspense block.

import { Suspense } from "react";

const searchResults = () => {
    // code
}

const Page = () => {
    return (
        <Suspense>
            <searchResults />
        </Suspense>
    )
}

export default Page
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Yash Kumar

79406398

Date: 2025-02-02 10:26:00
Score: 1
Natty:
Report link

hope this helps:

npm install -D tailwindcss@3 postcss autoprefixer
npx tailwindcss init
Reasons:
  • Whitelisted phrase (-1): hope this helps
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Araf Khatri

79406386

Date: 2025-02-02 10:17:59
Score: 1
Natty:
Report link

As you already found your way to Discord by now I suggest to continue the discussion over there, since the possibilities to include images and videos in answers and to online render code are better there.

But as a short answer: the order of the execution of updaters depends on the order in which the corresponding objects are added to the scene.

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

79406383

Date: 2025-02-02 10:13:58
Score: 1
Natty:
Report link
If you are using or have upgraded to react native 0.77.0 then you should go into this /android/app/build/generated/source/buildConfig/debug/com/your_project_name/codegen and delete the codegen folder and try again
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Rohit Chahal

79406373

Date: 2025-02-02 10:05:55
Score: 6 🚩
Natty: 5
Report link

Thanks @NicolBolas. Very useful explanations and exemples. Yes they deserve some time, and experiments, to digest. But will make me save time later. Roland

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • User mentioned (1): @NicolBolas
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Roland Gamper

79406372

Date: 2025-02-02 10:05:54
Score: 4
Natty: 5
Report link

I have to do this too often, updating hosts file takes lots of time. Requestly is faster - doc.

Reasons:
  • Blacklisted phrase (1): I have to do
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: nikhil aggarwal

79406365

Date: 2025-02-02 10:00:52
Score: 6.5 🚩
Natty: 6
Report link

"I am having a problem with the Filament login. It works perfectly fine locally, but not on the server (cPanel). Can anyone help?"

Reasons:
  • RegEx Blacklisted phrase (3): Can anyone help
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ravan ravan

79406358

Date: 2025-02-02 09:54:50
Score: 2.5
Natty:
Report link

The code is in kotlin and you using the compile options as java correct it and if you using java only make sure the Use Safe Args for Java Instead of Kotlin 'androidx.navigation.safeargs'. update the navigation to the latest version 2.7.7 and try invalid cache and restart once and build it again .

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

79406356

Date: 2025-02-02 09:53:49
Score: 1.5
Natty:
Report link

You can use this https://icon.kitchen/ to create the app launcher icons.

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

79406347

Date: 2025-02-02 09:47:47
Score: 7 🚩
Natty: 6.5
Report link

check this link This tutorial downloads and runs the Phi-3 mini short context model. :https://github.com/microsoft/onnxruntime-genai/blob/main/examples/python/phi-3-tutorial.md

Reasons:
  • Blacklisted phrase (1): This tutorial
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): check this link
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Yomna

79406345

Date: 2025-02-02 09:46:46
Score: 2
Natty:
Report link

If you looking for quick and nasty, and just adding and iterating, you can pad the keys with addtional spaces to make them uniqure. Then just trim on retrieval.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Dr Jeff Sinclair

79406341

Date: 2025-02-02 09:43:46
Score: 0.5
Natty:
Report link

To get a clean, working pip install on Ubuntu 24.04 I needed to use:

CMAKE_ARGS="-DGGML_CUDA=on -DCMAKE_CUDA_COMPILER=`which nvcc`" FORCE_CMAKE=1 pip install --upgrade --force-reinstall llama-cpp-python --no-cache-dir

Which may be due to self-inflicted pain with my nvcc but I didn't intentionally do anything exotic.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jason Kane

79406340

Date: 2025-02-02 09:42:45
Score: 0.5
Natty:
Report link

I had the same issue. The field editor.inlineSuggest.enabled": true was not in my settings.json, so I had to add it to the file. After adding the key-value in the JSON file, I uninstalled the Copilot extension and restarted VS Code. It is working now.

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

79406323

Date: 2025-02-02 09:27:42
Score: 1.5
Natty:
Report link

The 2 are used for 2 different use cases.

You would have to call either based on the specific use case that you have.

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

79406312

Date: 2025-02-02 09:16:39
Score: 4.5
Natty: 5
Report link

Still works 12 years later thank you :)

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jezweb

79406308

Date: 2025-02-02 09:14:37
Score: 7 🚩
Natty:
Report link

does constants like Const CatName = 0 will help for ordinal positions better than Enum, etc.? and then use them like RS(CatName) with or without .value ? please clarify

Reasons:
  • RegEx Blacklisted phrase (2.5): please clarify
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Girish Singla

79406305

Date: 2025-02-02 09:13:36
Score: 5
Natty: 5
Report link

But this process revokes the new instruction only if you write inline assembly in your code. What to do to revoke the new instruction without using the inline assembly?

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

79406301

Date: 2025-02-02 09:08:34
Score: 4.5
Natty: 4
Report link

Попробуй изменить параметры near и far матрицы matrixProjection, это явление часто связано с недостаточной точностью расчетов в шейдере.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • No latin characters (2):
  • Low reputation (0.5):
Posted by: Гена

79406295

Date: 2025-02-02 09:04:33
Score: 0.5
Natty:
Report link

You can use a network interceptor chrome extension, like Requestly. Then add a rule to modify the response headers for a specific API domain or URL, like set the header Access-Control-Allow-Origin to *.

Requestly Interceptor extension link: https://chromewebstore.google.com/detail/requestly-free-api-testin/mdnleldcmiljblolnjhpnblkcekpdkpa?hl=en

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Vishal Suthar

79406290

Date: 2025-02-02 08:58:31
Score: 4.5
Natty:
Report link

Just using 'ec2-user' worked for me. Could someone tell where this user name is configured while creating EC2 instance

Reasons:
  • Whitelisted phrase (-1): worked for me
  • RegEx Blacklisted phrase (2.5): Could someone tell
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: USHA S R

79406286

Date: 2025-02-02 08:55:30
Score: 2
Natty:
Report link

This cloud be just what you want.

import { text } from "node:stream/consumers";

console.log(await text(process.stdin));

streamConsumers.text(stream) (nodejs.org)

streamConsumers.text(stream)

Added in: v16.7.0

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

79406280

Date: 2025-02-02 08:49:29
Score: 0.5
Natty:
Report link

Turns out that my main issue was that the cookies sent by the login endpint were not being saved in my browser. I should have checked that first to make this question clearer. To fix that, I had to modify the /api/login request I was making on the front end to also have credentials: 'include'. This is because by default, when dealing with cross-origin api calls, received cookies are not saved. See this answer.

My fixed simple front-end script looks like this:

(async () => {
    console.log("logging in...")

    const loginResponse = await fetch('http://127.0.0.1:8000/api/login', {
        credentials: 'include', // <------------------------ NEW
        method: 'POST',
        headers: {
            'Content-Type': 'application/json'
        },
        body: JSON.stringify({
            username: 'test',
            password: 'securepassword123'
        })
    })
    const loginData = await loginResponse.json();
    console.log(loginData)

    if (!loginResponse.ok) {
        console.log('login failed :(')
        return
    }

    console.log("getting user info...")

    const userResponse = await fetch('http://127.0.0.1:8000/api/user', {
        credentials: 'include'
    });
    const userData = await userResponse.json();
    console.log(userData)
    if (!userResponse.ok) {
        console.log("user data fetch failed :(")
    }
})();
Reasons:
  • Blacklisted phrase (1): :(
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Ashkan Arabi

79406274

Date: 2025-02-02 08:44:27
Score: 4
Natty:
Report link

This feature was added in new version of gitea v1.23.0.

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

79406273

Date: 2025-02-02 08:44:27
Score: 2.5
Natty:
Report link

Make sure that there is no 'tsconfig.app.json', 'tsconfig.spec.json' file that is overwriting the 'paths' property

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

79406268

Date: 2025-02-02 08:40:27
Score: 3.5
Natty:
Report link

if you use tailwind just add whitespace-pre-line classname

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

79406266

Date: 2025-02-02 08:40:27
Score: 1
Natty:
Report link

There is an, admittedly, not very thoroughly explained answer here, but it did work for me several times when I got this error.

When it happened to me, I quit the R session (since there was no other option), but I did save my script temporarily in another file (simply copy-pasting it).

When I reopened the project and the associated script files, I did not need to use the backup script to update my work --- however, I must say I would always make a backup.

So, in brief, RStudio should be able to restore your script without loss, at least if you reopen the session immediately, but, regretfully, I cannot tell you why, and you should make a backup whenever possible.

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: streamline

79406265

Date: 2025-02-02 08:39:26
Score: 3.5
Natty:
Report link

Good news! This has been resolved in Access version 2501. After the MSOffice update on 28th Jan the issue is now fixed.

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

79406264

Date: 2025-02-02 08:38:26
Score: 3.5
Natty:
Report link

i think that the simplest way would be: uv pip freeze > requirements.txt

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

79406256

Date: 2025-02-02 08:31:25
Score: 0.5
Natty:
Report link

application.properties:

ADD

spring.servlet.multipart.max-request-size=50MB
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • High reputation (-1):
Posted by: life888888

79406249

Date: 2025-02-02 08:27:24
Score: 1
Natty:
Report link

Using preload, our custom font is downloaded, but it is not used or rendered yet. Fonts will only be fully activated when they are actually used on the page (i.e. used by actual text or invisible text [like your hack]).

Your hack forces the browser to apply the font and render it on an invisible text, so next time when actual text appears, our font is loaded, cached and activated so it’s available to be applied instantly without any delay.

Extra point: We can use {font-display: swap} to reduce the delay to load the text with custom font but the hack works fine and I think is the best way to ensure the text is loaded with custom font without any delay.

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

79406239

Date: 2025-02-02 08:17:22
Score: 3
Natty:
Report link

libssh2.dll copy from root php to apache>bin

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

79406231

Date: 2025-02-02 08:02:19
Score: 0.5
Natty:
Report link

This is the full code that works below.

Note in the frontend the first communication is to /generate-token which builds the Oauth url where the user logs in.

Once the user has logged in there is a callback to /oauth2/callback/google with the authCode as paramter that is used to get the refreshToken.

Using @dip-m's answer.


@Controller
class GmailController(
    private val securityUtils: SecurityUtils,
    private val googleOAuthService: GoogleOAuthService
) {
    @GetMapping("/settings")
    fun getSettingsPage(model: Model): String {
        if (!model.containsAttribute("tokenGrantSuccess")) {
            model.addAttribute("tokenGrantSuccess", model.getAttribute("tokenGrantSuccess"))
        } else {
            model.addAttribute("tokenGrantFail", false)
        }
        return "setting"
    }

    @GetMapping("/oauth2/callback/google")
    fun refreshTokenCallBack(
        redirectAttributes: RedirectAttributes,
        @RequestParam("code") authCode: String,
    ): String {
        val currentUserEmail = securityUtils.getCurrentUser()?.email
            ?: throw OAuthException("User not authenticated")

        googleOAuthService.handleOAuthCallback(authCode, currentUserEmail)
        redirectAttributes.addFlashAttribute("tokenGrantSuccess", true)
        return "redirect:/settings"
    }
}

@Service
class GoogleOAuthService(
    private val jdbcClient: JdbcClient,
    @Value("\${spring.security.oauth2.client.registration.google.client-id}") private val clientId: String,
    @Value("\${spring.security.oauth2.client.registration.google.client-secret}") private val clientSecret: String,
    @Value("\${spring.security.oauth2.client.registration.google.redirect-uri}") private val redirectUri: String,
    @Value("\${spring.security.oauth2.oauthUrl}") private val oauthUrl: String,
    @Value("\${spring.security.oauth2.client.registration.google.scope}") private val scope: String
) {
    private val logger = LoggerFactory.getLogger(GoogleOAuthService::class.java)
    private val jsonFactory: JsonFactory = GsonFactory.getDefaultInstance()
    private val httpTransport: NetHttpTransport = GoogleNetHttpTransport.newTrustedTransport()

    fun handleOAuthCallback(authCode: String, userEmail: String) {
        try {
            val response = GoogleAuthorizationCodeTokenRequest(
                httpTransport,
                jsonFactory,
                clientId,
                clientSecret,
                authCode,
                redirectUri
            ).setGrantType("authorization_code").execute()

            updateUserRefreshToken(userEmail, response.refreshToken)
        } catch (e: Exception) {
            logger.error("Failed to handle OAuth callback", e)
            throw OAuthException("Failed to process OAuth callback: ${e.message}")
        }
    }

    private fun updateUserRefreshToken(email: String, refreshToken: String) {
        jdbcClient.sql("""
            UPDATE users SET refresh_token = :refreshToken WHERE email = :email
        """.trimIndent())
            .param("refreshToken", refreshToken)
            .param("email", email)
            .update()
        logger.info("User refresh token successfully updated for email $email")
    }

    fun generateOAuthUrl(): String {
        validateOAuthConfig()
        return try {
            buildOAuthUrl()
        } catch (e: Exception) {
            logger.error("Failed to generate OAuth URL", e)
            throw OAuthException("Failed to generate OAuth URL: ${e.message}")
        }
    }

    private fun buildOAuthUrl(): String {
        val encodedRedirectUri = URLEncoder.encode(redirectUri, StandardCharsets.UTF_8.toString())
        val encodedScope = URLEncoder.encode(scope.replace(",", " "), StandardCharsets.UTF_8.toString())

        return UriComponentsBuilder.fromUriString(oauthUrl)
            .queryParam("client_id", clientId)
            .queryParam("redirect_uri", encodedRedirectUri)
            .queryParam("response_type", "code")
            .queryParam("scope", encodedScope)
            .queryParam("access_type", "offline")
            .queryParam("prompt", "consent")
            .build()
            .toUriString()
    }

    private fun validateOAuthConfig() {
        val missingFields = buildList {
            if (clientId.isBlank()) add("clientId")
            if (redirectUri.isBlank()) add("redirectUri")
            if (oauthUrl.isBlank()) add("oauthUrl")
            if (scope.isBlank()) add("scope")
        }

        if (missingFields.isNotEmpty()) {
            val errorMessage = "Missing required fields: ${missingFields.joinToString(", ")}"
            logger.error(errorMessage)
            throw OAuthException(errorMessage)
        }
    }
}

class OAuthException(message: String) : RuntimeException(message)

@RestController
class GmailRestController(private val googleOAuthService: GoogleOAuthService) {
    @GetMapping("/generate-token")
    fun generateRefreshToken(): String = googleOAuthService.generateOAuthUrl()
}

Frontend code, ScriptsStylingAndMeta just imports HTMX, Shoelace and Bootstrap:

<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:hx-on="http://www.w3.org/1999/xhtml">
<head>
  <div th:replace="~{fragments :: ScriptsStylingAndMeta}"/>
  <title>Settings Page</title>
  <style>
    .settings-card {
      background-color: var(--sl-color-neutral-0);
      border-radius: var(--sl-border-radius-medium);
      box-shadow: var(--sl-shadow-medium);
      padding: var(--sl-spacing-large);
    }

    .settings-description {
      color: var(--sl-color-neutral-600);
      margin-bottom: var(--sl-spacing-medium);
    }

    .success-message {
      display: flex;
      align-items: center;
      gap: var(--sl-spacing-small);
    }

    .hidden {
      display: none;
    }
  </style>
</head>
<body>
<div th:replace="~{fragments :: header}"/>

<div class="container py-5">
  <sl-card class="settings-card">
    <div class="settings-section">
      <sl-header class="mb-4">
        <h2>Google Integration</h2>
      </sl-header>

      <div id="integration-status" th:fragment="status" class="stack">
        <div th:if="${tokenGrantSuccess}" class="success-message" role="status">
          <sl-alert variant="success" open>
            <sl-icon slot="icon" name="check2-circle"></sl-icon>
            Refresh token has been successfully configured!
          </sl-alert>
        </div>

        <div th:unless="${tokenGrantSuccess}">
          <p class="settings-description">
            Generate a refresh token to enable Gmail integration with your account.
          </p>
          <sl-button
                  variant="primary"
                  size="large"
                  hx-get="/generate-token"
                  hx-trigger="click"
                  hx-swap="none"
                  hx-indicator="this"
                  hx-on::after-request="handleTokenResponse(event)"
                  aria-label="Generate Gmail refresh token"
          >
            <sl-icon slot="prefix" name="key"></sl-icon>
            Generate Refresh Token
          </sl-button>

          <sl-alert
                  variant="danger"
                  class="error-message hidden"
                  id="error-message"
          >
            <sl-icon slot="icon" name="exclamation-triangle"></sl-icon>
            Failed to generate token. Please try again.
          </sl-alert>
        </div>
      </div>
    </div>
  </sl-card>
</div>

<script>
  document.addEventListener('DOMContentLoaded', () => {
    // Ensure Shoelace components are defined
    customElements.whenDefined('sl-alert').then(() => {
      const errorAlert = document.getElementById('error-message');

      function handleTokenResponse(event) {
        const response = event.detail.xhr.response;
        if (response) {
          window.location.href = response;
        } else {
          console.error('Invalid response received');
          errorAlert.classList.remove('hidden');
          setTimeout(() => {
            errorAlert.classList.add('hidden');
          }, 5000);
        }
      }

      window.handleTokenResponse = handleTokenResponse;
    });
  });
</script>
</body>
</html>
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @dip-m's
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: pleasebenice

79406226

Date: 2025-02-02 07:56:17
Score: 9.5 🚩
Natty: 4.5
Report link

were you able to solve this issue? i am facing something similar

Reasons:
  • Blacklisted phrase (1): you able to solve
  • RegEx Blacklisted phrase (1.5): solve this issue?
  • RegEx Blacklisted phrase (3): were you able
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: WiZarD

79406210

Date: 2025-02-02 07:36:13
Score: 2.5
Natty:
Report link

Run your program, open Task Manager, right click and select "Open File Location", then copy the exe file to the USB.

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

79406204

Date: 2025-02-02 07:30:12
Score: 3.5
Natty:
Report link

not working in ubuntu ( ver. 24.04 - but in ver.22 works fine )

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

79406199

Date: 2025-02-02 07:26:11
Score: 2
Natty:
Report link

When comparing Angular Modules and Modular Website Design, it's essential to understand their roles in website designing and development. Angular Modules help developers structure and manage large-scale applications efficiently, improving maintainability and scalability. On the other hand, Modular Website Design focuses on reusable components, ensuring flexibility and faster development. Both approaches enhance project efficiency but serve different purposes. If you're a business handling VAT Registration, a modular approach can streamline compliance-related features, making updates and modifications seamless.

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

79406180

Date: 2025-02-02 07:06:08
Score: 2.5
Natty:
Report link

I am stuck by this limitation too, and it is still NO today. Unless the parsing algorithm of the "in head" insertion mode is updated to allow custom elements, they will be moved into the <body> element.

Reasons:
  • RegEx Blacklisted phrase (1.5): I am stuck
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Siu Pang Tommy Choi

79406178

Date: 2025-02-02 07:05:08
Score: 0.5
Natty:
Report link

Problems: Line 27 (photo = ImageTk.PhotoImage(img)) is unnecessary and should be removed. img is a local variable, and Python's garbage collector removes it after the function exits. As a result, the image disappears from image_label. The solution is to store the image as a global variable or an attribute of so that it persists.

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

79406173

Date: 2025-02-02 06:57:06
Score: 3.5
Natty:
Report link

In your authorizeUser function, are you using bcrypt? I also got the same error and solved it by removing bcrypt. How do I salt & hash the password then? Currently I have no solution for this.

I really should look into the error stack trace and maybe opening a new issue either on Next.js or Auth.js github

Reasons:
  • Blacklisted phrase (1): How do I
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Rezha Bahari

79406172

Date: 2025-02-02 06:53:05
Score: 0.5
Natty:
Report link

I hope this helps, I updated the mongodb version, I tried to install bson but it wasn't compatible and I had installed already mongoose in my project so I extracted the ObjectId from the Types object import { Types } from 'mongoose';. ex. Types.ObjectId

Reasons:
  • Whitelisted phrase (-1): hope this helps
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: David Nuñez

79406166

Date: 2025-02-02 06:47:05
Score: 1.5
Natty:
Report link

A good example of a .inc file would be ename.c.inc file which defines an array of strings, ename and those are the symbolic names corresponding to the errno values on the Linux/x86-32 system for example. It is hardware architecture specific though.

Source: The Linux Programming Interface book: Chapter 3, Page 57

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

79406158

Date: 2025-02-02 06:40:03
Score: 3
Natty:
Report link

Issue solved by modifying emulator setting.

SDK Manager > Tools > Emulator > Uncheck 'Launch in the Running device tool window

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

79406157

Date: 2025-02-02 06:40:03
Score: 1
Natty:
Report link

Maybe this will help with someone having a similar,but not exact, issue as OP's. that come across this post when searching for solution.

I had a similar problem on Linux system when trying to build a Kotlin project using Gradle Wrapper. I eventually traced problem to that months back I was building using a local install of gradle rather than gradlew. When I started using gradlew, I removed the local Gradle install, but forgot that I had put a PATH variable in my .bashrc file that referenced the local Gradle install.

Once I removed the PATH variable setting in the .bashrc file, the gradlew build and run worked fine.

If I understand correctly, if the build process detects a reference to a local install it will override the wrapper method and attempt to use a local Gradle process (and its javatool chain references, etc) for the build.

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

79406150

Date: 2025-02-02 06:32:02
Score: 0.5
Natty:
Report link

Everything is clearly explained in the documentation: CSS scroll snap. The example Scroll snap in action is pretty clear: you can look at some large scene with objects through a viewport.

If the objects' layout is regular, you may prefer not smooth scrolling, but scrolling snapping at certain object features, for example, centering each object in the viewport, see the objects aligned by one of the sides of their bounding rectangles, and so on.

To see the difference in behavior, check or uncheck the checkbox disable snapping, use both the arrows and the sliders of the scrollbars.

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

79406147

Date: 2025-02-02 06:30:01
Score: 1
Natty:
Report link
  1. Your card view contains multiple child elements without containing viewGroup(Relative or constraint layout) in the cardview first you take one view group and inside place all whatever you want.

  2. It maybe because of your android:background="@drawable/custom_text" check it this properly it once what it is doing.

  3. Remove backgroundTint for the card it maybe confict with the cardview

  4. And try to apply the visiblity for the edittext at run time edittext.setVisibility(View.VISIBLE);

let me know still if you face any issue

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

79406139

Date: 2025-02-02 06:19:00
Score: 2
Natty:
Report link

I made a workable template for using tailwind + shadcn in nextra.

You can find the config or direct use it at Github: nextra-docs-tailwind-shadcn-template

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

79406124

Date: 2025-02-02 06:03:55
Score: 4
Natty: 5.5
Report link

TÔI MUỐN TÌM SNI NHÀ MẠNG IFU CỦA FET

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

79406121

Date: 2025-02-02 05:56:54
Score: 3
Natty:
Report link

This is just a guess, you can try running the app on your own phone, delete targetSdkVersion 34, and try a different version of the phone like API 34 35

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

79406117

Date: 2025-02-02 05:52:52
Score: 5
Natty:
Report link

enable::::::::::::::::::::::::::::::mod_filter,mod_deflate

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • No latin characters (1):
  • Filler text (0.5): ::::::::::::::::::::::::::::::
  • Low reputation (0.5):
Posted by: user3205930

79406113

Date: 2025-02-02 05:48:51
Score: 0.5
Natty:
Report link

Adding \n in the string adds a new line.

For example,

print(f"Adds one extra line after the text \n")
print(f"Adds two extra lines after the text \n\n")
print(f"Adds three extra lines after the text \n\n\n")
print(f"And so on..")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Himanshu Singh

79406108

Date: 2025-02-02 05:40:49
Score: 3
Natty:
Report link

The issue was the limit on the number of AWS lambda parallel threads. It was 10 by default. I made a request to increase it to 1000 and everything works well now.

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

79406105

Date: 2025-02-02 05:36:49
Score: 3
Natty:
Report link

I have this issue too. The flickering seems a driver issue. If you use Chrome, try disabling Hardware Acceleration in Chrome.

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

79406102

Date: 2025-02-02 05:29:47
Score: 2
Natty:
Report link

I do not have enough stackoverflow points so I am responding via an answer.

Given that you have "LockAcquisition", I assume you are using a version column.

If you are using versioning, there are some additional annotations you might require depending on what type of locking approach you are taking.

For instance, for optimistic locking there's the annotation below where you can specify the exact lock type mode you want.

@Lock(LockModeType.OPTIMISTIC_FORCE_INCREMENT)

And also exceptions related to optimistic locking such as OptimisticLockException.class, CannotAcquireLockException.class, UnexpectedRollbackException.class, etc based on your requirements..

If this isn't the case, let me know and I can try to help as I have PROD experience with having to implement retryable.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mark Park

79406091

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

Try to do it in NgOnChange lifecycle hook.

ngOnChanges(changes: SimpleChanges) {
if (changes['username']) {
  this.username = changes['username'].currentValue;
}
if (changes['image_url']) {
  this.image_url = changes['image_url'].currentValue;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Raihan Ridoy

79406089

Date: 2025-02-02 05:10:45
Score: 3
Natty:
Report link

I removed Frame control from my Collectionview DataTemplate.

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

79406086

Date: 2025-02-02 05:06:43
Score: 2
Natty:
Report link

This often occurs in webpack 4.x. What version are you using? Upgrading to 5 can help.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Charles Owen

79406083

Date: 2025-02-02 05:01:42
Score: 3.5
Natty:
Report link

Selecting the default python interpreter fixed the issue for me.

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

79406075

Date: 2025-02-02 04:45:39
Score: 2
Natty:
Report link

You just need to change this line: RETURN DATEDIFF(StartHour, EndHour, HOUR)

to

RETURN DATEDIFF(StartHour, EndHour, MINUTE)

If you wanted to a fractional hour, you'd divide by 60 RETURN DIVIDE(DATEDIFF(StartHour, EndHour, MINUTE),60)

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

79406072

Date: 2025-02-02 04:36:37
Score: 0.5
Natty:
Report link

To extract images from pdf in c/c++ use 'pdfimages -all sample.pdf /tmp/output' for Extracts images in their original format. And -j flags for Extracts images in JPEG format. after extracting images you can use poppler library of c to extract text from that images.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: OMKAR GULAMBE

79406070

Date: 2025-02-02 04:33:36
Score: 1.5
Natty:
Report link

I figured out the answer to my question. Found a similar process in another area of the program that was causing the file to stay open.

Reasons:
  • Whitelisted phrase (-2): I figured out
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nat Broughton

79406069

Date: 2025-02-02 04:33:36
Score: 2.5
Natty:
Report link

it's currently a bug for macbook users. here is the bug

it should be working again on the 5th according to a user (patrickstar1234) on the issue on github.

this isn't new for docker unfortunately.

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

79406066

Date: 2025-02-02 04:32:36
Score: 3.5
Natty:
Report link

I'm not sure the exact intention
Are you wanting to scope/colour the capture groups separatory?

You can use "captures" to target a capture group
captures

do you have an example of a file you've trying to tokenize?

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • RegEx Blacklisted phrase (2.5): do you have an
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: RedCMD

79406065

Date: 2025-02-02 04:31:35
Score: 1.5
Natty:
Report link

This is the best way!

<a id="btn" onclick='alert("Hello people up vote please...! Thanks");'>Run Function</a>
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Onyedikachi Oko - Dexter

79406063

Date: 2025-02-02 04:29:35
Score: 3
Natty:
Report link

There Is A World.frameRate block in game lab if this stops working. set the block to a really high number and put it in the draw loop.

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

79406058

Date: 2025-02-02 04:24:34
Score: 1
Natty:
Report link

make sure you've imported both Bootstrap CSS and Bootstrap JS correctly in your index.js

import 'bootstrap/dist/css/bootstrap.min.css';
import 'bootstrap/dist/js/bootstrap.bundle.min.js';

but as you are using react I would suggest you to use Modal from react-bootstrap. Here you can find the details of it: React bootstrap Modal

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

79406037

Date: 2025-02-02 03:46:27
Score: 1
Natty:
Report link

you can set the default value of an input field in several ways

  1. by using value property directly using JS:
document.getElementById('inputId').value = 'Input value';
  1. you can set it directly in the HTML using the value attribute
<input type="text" id="inputId" value="Input Value">
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Shahnewaz Tameem

79406029

Date: 2025-02-02 03:39:26
Score: 1
Natty:
Report link

ssh connection in airflow ui mention server ip,username,password, port and paste this below path in extra.load private key to data folder in gcs bucket created by composer .Instead of mention data bucket path mention below

{"key_file": "/home/airflow/gcs/data/gcp_key"}

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: y durga prasad

79406015

Date: 2025-02-02 03:18:22
Score: 0.5
Natty:
Report link

Apart from the technical answers above, below answer serves as a simple mental model to fit the purpose of Script scope. Mental Model : We might want to declare some global variables but don't want to assign those variables to the global object ( reason : unnecessary polluting attributes of an global object ), in that case we use let/const(at top level). And to make sure above works, we need a way to show that these variables are global but not attached to the global object. Thus they have added a Script scope [ following the terminology from Chrome Dev tools ]

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

79406014

Date: 2025-02-02 03:16:22
Score: 1
Natty:
Report link

I have learned that, even one uses module-info.java to name its modules, on multimodule pom projects, childeren module names and the foldernames of the childeren has to be same.

There,

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

79406009

Date: 2025-02-02 03:09:21
Score: 1.5
Natty:
Report link

You're looking for the as property:

https://react-bootstrap.netlify.app/docs/getting-started/introduction#as-prop-api

So your code becomes:

<Container as="header" className="main-header">
  <Row>
    <Col sm={6}>
      Some content here
    </Col>
  </Row>
</Container>
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: shotor

79406003

Date: 2025-02-02 03:02:19
Score: 1
Natty:
Report link

Adding an updated answer here since I believe Go has implemented some new features in the standard library since this question was asked. Now you can simply do this:

http.HandleFunc("/smth", smthPage)
http.HandleFunc("/{$}", homePage)  // {$} represents the end of the URL
http.HandleFunc("/", custom404Page)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jeremy French

79406001

Date: 2025-02-02 03:01:19
Score: 2.5
Natty:
Report link

f'I want {quantity} pieces of item number {itemno} for {price} dollars.'

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: Suramuthu R

79405994

Date: 2025-02-02 02:51:17
Score: 4
Natty:
Report link

ÿÄ�µ���}�!1AQa"q2‘¡#B±ÁRÑð$3br‚
%&'()456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚáâãäåæçèéêñòóôõö÷øùúÿÄ��������
ÿÄ�µ��w�!1AQaq"2B‘¡±Á #3RðbrÑ $4á%ñ&'()56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz‚ƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚâãäåæçèéêòóôõö÷øùúÿÚ� ��?�á‹,s�ù}¸#õ«Ñiûs’UWŸºyô毙„j8ôù)­u•Û““Œ÷ÅyMöFlÚl!ÉØ¸ÏÔô©#µŠNß^ǘf“ž™§åUH Á‡Ò§™€Æ ¨TÏÝÇzlùŠ ~x£r¨'8â¦Vó#äç ãñ¢ãyaT¨8 ã9Í9TŸB3Ú§[]Êâ02N9¤òJüÀ“޼æ˜Ä{XÇo­?= ö-C<lÛ£<žµ\F­·vHè¤a¨U”nvŠl¿*ðrا¿.H$ÿ�žj©¢‚’3ǨïLD»ƒ(n‡3ùR3cœñþ:Ï›TŠ%¤ ÈuÅ,Ú´;~FW8?túÓåb¹¥w6sØS®2¬r3Øn‘o«36Z<3’:~†¤›TóB—{U˜î^Š©Ê…=3ø{ÓÚe�ÀdwÖÍÔ³H¸Üs»wJ‚âwgÏÆp2OùH¹Ò=ÄQ‚ÌÁp:Å5o­Ù¶ùªHPë\Йß,]ˆ¡mÀBçpÆHíùÕr!sš…ª²î9ÈèNMI&¹gYPÙ ¹õ®Fè2°$푚–Zl‚XöƥȂìÕ¸ñ4Àí…wn'Šrø‚]£îr­SþÏ)Ž72øâ’Hßfݬ¬=Zz¦ë^½Ä%Ïÿ�\f²ÍõÆæùøè8Î
Õ„o4N78ã¯Z­sg*Í…ƒÓœóéR¬€‡OR׋3–nz÷5g_ºpvFåY¹,}¿È©ítÉ·°*9Ç¥X¾°7‹ÀÃ~?,Quq˜)pòÆC3q·>Ý*8X¦UY¶çŒ¶Gç[º eù¤ùq‘й‹˜\äUs ±•ÆbÇê9õÅ9 œgÒ¶äÓ­ËäF£ü¹Î*HìÓËû€g¯~*yXϱÜöæÈÁãw›´ÅpTÉ=@üë¡XV(È©¼±ýÑ#}?Æ…+ÌKm,l>CŽ£Rÿ�fÌØ™útú×G°{7æ‚¿6Òr¿J|ác ×I’lîøiô=ÛFó9ëgw#k@9¨6üÛ¹Æx<ì®TfG •dŒót=©ú•™{a ûXö&´XØ€;~´�v†óŒgó¥ÌÕ¶zx[uV]¬_JÔ‚?.- óƒÐõ¦ínr8éš�zmò4›¸ÇîÜq¼2O׊•U0hü?A´ êGŸ$‡»Æzæ¤c½±žØ'ÈFycGÞ ’=qK·h?Å“Ÿþµ�F˹‰Èfô&œÌ¹ëךCžvŒàýi’.ãÓð â3+ÂT“3zâ-[k+Iç"½v÷ÃqëIXñϨúSáÓYmeãc¿zî§Z0™Í:nRº8MzK+­:U“ø¶Žsšæcgåí^“«|:Þªmäàÿ�xšço>ê–¸Ä[Ïû>•ÑN¬S Â]Žj „m¸Œð3Iw;I!<¨ÎpÅÆ‘uk# !e zU]­»iqü«¡4ö0ÕzZ½½ÒÊíÜ Ü}ëÙô)ãO…ƒÇûÕátðGŽIÁÇzô†zô—‘˜&u;�Ç=s\˜ˆó+4¥gcÐY‡@xèwR–ÎÓ"—žBŒ÷~•,j?ºÄc¿Zóβ-£åÈç·µÜ;…JÑFáž9¥[}¹ÏA@ P\’9½{ÓØmàž„v§L»üàŸ¥1º“Ô�ÅÎy$ûc½?i®:ð1ÏÔ‚1ÔœŽ˜§!œó­�;Œr@ý)‹ÎߘuúÓ‘U}1ÓŒÀzbhÛ†OÇ€K6�È>¸¨Cmp@ã¦jvùI8Ç?OÒ€ tcøH=zw÷¨õÉëŒv§ž˜B ÓY7p«Ôäÿ�J�sd¨ =;~t«˜go#=0)Ç$ç¶(áFÐ6žÜ @<6ÖîÝÉ4Ÿ7¯ËßúRÞnÉíÏ_þ½&üäðO±Æ8¦�Íé»ô9úÓ@ÛÇéõ óÎ:“Í9GQ»wÔ�åÇ'ð=éÛ‚ƒÇÔN=鹇B;¦u# úPÊG$wÆ{Ô°Éóp�â Üwn'œç½Ooµ“pÉn¿Ò¤c¤!ºƒžØ¤]ê^¹õ¨çPÒ8®?¥I»æÃŸöy¤¶ôÀàz”ÒØÎ3ó{Z8ì7c¨¡†N ú†Í†~o~3Ú£Û³7õý)ï¹�ãwÇZ€x�ç®=(�?tö=~ji$ç¨ç&¿Ê¤ûñøÓ¸Ûó ?Î(…Ù9éÏ·?‘õª“Œçô«wXøª!Üd°Æ@4 HÔ3sÇoBÀÆÐ£ŸLþµDÀÉqŒsÏÖœÎþ4ã£Æàp}ÏcþsM“æ�oÇñž¸?ËéL8<€GæZÆšd…™C_¥rHTp3Ž9®ùØ6W¯oþµqúÕ¿“1*¿&9íZÅÌyïb[“èy}+.KÂİR?J[ͪØêzðimìÚL|¥°98þu·C"9/¥Q3ߟåXÚ•“H»Š±<œžÕÜÙèñ§Í!Ï8ÚOÖu¢Àü‚GSÓ­.dUÕìfF9¡ëÚ¡Óm¥™¶ùLêŒgü÷¯iÿ�„rÒL«Ç¸ãï0áN_ Ù®æ ™È<ÿ�þª|èv<îÇIšFUd{ÔVô6Ïk®0r:þ•ØAg ¬N0O}Ã?J£wnr�@¡1Xå÷L¬¤}ÒyÀÆzÔ±OµNK(ô槙㱂=GjÈžè;~ïæOP®:öuãŸ×½%µð³ÄÍÀS»?¦¦ÓÜs׊}Æš÷|«Är>”´ê> ñ¥–£o‰>êÇNµÚC4D©·×9¯¼3«ÝèºÔ°’Yw‘–l ×¢Çñ æ64¿/(<ô¬%O] NŒúY&ùœŒ3×Ó·5ÙSïߊñÍâ³EÏúÄl‚º«_‰Ö®öÃÓ0k7M£XÉHí¶žLŸóô©&o•F>l‘ê+ÏÆúmÆSÎØØ!C×P·»ÁWSôáO 5¹WEë%‚œ¯=‡ÿ�­h3É8ééþESÓ¶¶ÖÁ#·?­`Ü|»‡\çµC4Ÿ¼øÓQã}¾¢†Ê)'±éDŽ ðÀò}ºÐŒÉÎ9õíúSÕBàד֣Â3FCg §O¥+Ì8Ü@íùÐ$¬ªw;~!¿§n•Zúþu$¶}+#Tš_´åÂŽØàþ•›4ff*[#ïWJ‰ƒ‘¹·oæÉcœ|ßY“Z·Ž<ç?xc+›µ³,ß'ËÛ=?-Ŭ²dÁìçҟ*36%ÖÔd®Ž{äÿ�œÕ«{“%¿œø[¨ÍsÖvû¤Ãex8÷®‡J\B¹P/¯ùïI¤ŠW(Ýk’ZÈUWiRqž¿VmRêê@IzƒŸnôÝCM‘®‰ ¸tÎ=êx´·X×±l’�«÷IÔ¨ÞkÌ2Ä€îçñý)åeÝÿ�)çæ´²Ý°sƒ÷‡ Ô–Úku”{i]+1á¼eÔ GÈ,ÝAë×Ú¶/mÛ—=9éUfÒ‹^G6HÃpOÆ·üµx”9ÈŸâ¥&ºÜäõYkãrôëÿ�ë¦A§+ÐŒžý}«§kŸ¹þŸ­Okg Q¸Œ–ç#4s‡)Ë+0ðAÎ1ʦ[i®(L ýìpá[²XFf@9ê¥]Ž5…UBŒuÎ)s”Á‹MvQ¸dà/5-îŽ$ Wänã?Ïš×Ù·æ‡ÏùÅ ãv g®y˜XÇC LœçŽ?ϽY‹ME\$>£¾kB5)Ž�P0sü©Ü7Þ矺}}hæaÊŠÙi‘"·à…I— )ü[~€Õ­Çå�9Å+¶æ�žœôõ£™ŽÈAI÷WcÇaGÙÔü¼œçjÐ>^€qþ~”’|¹ ƒê1×üâ¤d‚!ð˜’)~N2>UàsŠjüáÍ'Ê}ÏiǽÌBüÜäõΡ—œ;wúÓ¾laqž_óÿ�Ö§GÃwϧ<Ð1qœ•Q·Û¥/%¸À#®I¡‰Ü3ÉîOZ¾0¯\З<g<Rco$ŒRíÊúqÏùü©C}ìn xâ€rß–>†ž¡¹ìCçM $Ž=³Ö¦Ü¼Œ÷ç½ UÛì:ãÿ�¯M9äž™ÉéŠ]ç~OCÇÒ•”~Ã4�ô庌óHÀ0!»z·�ËŸóÅ5[,îsÏ>Þ”6D¹]Ô6ß`cm/fïÞ£o›hÈô�3÷ŽrïOF+€O c=Å"&7dm?OJF—–éüDf€'}¡sõ¨ùÛ¸ƒÀ>£ÿ�×J«žÈÇ^´óÆ Ÿn´�G‚ÞÎI‚Çòþ´‘íË6ï§

Reasons:
  • Blacklisted phrase (1): ¿
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • No latin characters (2):
  • Filler text (0.5): ��������
  • Low reputation (1):
Posted by: Jade

79405990

Date: 2025-02-02 02:45:16
Score: 2.5
Natty:
Report link

I recently had this issue and want to help people who may have similar issues in the future. I tried to use gnu-elpa-keyring-update, but it also failed because it pointed to an expired URL. To fix this,

  1. Go to the package website: https://elpa.gnu.org/packages/gnu-elpa-keyring-update.html, download the latest .tar file.

  2. Run tar -xvf gnu-elpa-keyring-update-2022.12.1.tar, or whatever the latest filename version is (this was the latest as of writing this answer) in the terminal where the current directory is where the file is located.

  3. Now that the files are extracted from the .tar, you'll want the update.el file. To load it in emacs use M-x load-file, navigate the the update.el file and hit enter.

  4. Now, with it pointing to the correct URL, running package-refresh-contents should work with no errors (or at least not the error from this question).

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): have similar issue
  • Low reputation (1):
Posted by: Scott Hootman-Ng

79405974

Date: 2025-02-02 02:22:12
Score: 0.5
Natty:
Report link

this worked for me: ffmpeg -i input.mp3 -af "rubberband=pitch=1.059463094352953" -c:a libmp3lame -q:a 2 output.mp3

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

79405969

Date: 2025-02-02 02:01:09
Score: 0.5
Natty:
Report link

I reckon that the behavior you're observing will depend on the type of script you're executing.

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

79405963

Date: 2025-02-02 01:57:07
Score: 5.5
Natty: 5
Report link

I've a similar issue. This method works correctly? I was trying to access one element inside an iframe on a different origin. But it is restricted by the same-origin policy for security reasons. I'm not sure I can resolve this issue. Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): 've a similar issue
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Gold Star

79405946

Date: 2025-02-02 01:31:03
Score: 2
Natty:
Report link

last element's index will be 39200 + 9 * 32 + 1 = 39 489. Generally, if you want to access ton`th element value the computer will read size_of_type_of_array bits starting from array_offset_in_memory + (n - 1) * size_of_type_of_array + 1. – nickolay CommentedAug 17, 2019 at 13:44

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

79405945

Date: 2025-02-02 01:31:02
Score: 11.5 🚩
Natty: 6
Report link

hello im having the same issue, did you find a solution?

Reasons:
  • RegEx Blacklisted phrase (3): did you find a solution
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): having the same issue
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: guillermo

79405938

Date: 2025-02-02 01:19:59
Score: 1.5
Natty:
Report link

In my case it was solved with this command

$ npx @next/codemod@canary next-async-request-api .
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Diego Celis

79405934

Date: 2025-02-02 01:15:58
Score: 3
Natty:
Report link

simply do:

conda install conda-forge::docplex 

just went to the anaconda arch packages: https://anaconda.org/conda-forge/docplex

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mário João

79405925

Date: 2025-02-02 01:00:56
Score: 1
Natty:
Report link

I want to share my solution for using conditional propTypes on a single prop value. Which is the case for showDropdown which and receive either bool || string.

const isBoolean = (val) => typeof val === 'boolean';
const isSring = (val) => typeof val === 'string' || val instanceof String;

Dropdown.propTypes = {
    data: PropTypes.array.isRequired,
    showDropdown: isRequiredIf(PropTypes.bool, props => (isBoolean(props.showDropdown) || isSring(props.showDropdown))),
    id: PropTypes.string.isRequired,
    classname: PropTypes.string,
}

NumaX hope this will help some fellow dev with the same doubt!!!

Reasons:
  • Whitelisted phrase (-1): hope this will help
  • RegEx Blacklisted phrase (1): I want
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: NumaX

79405915

Date: 2025-02-02 00:50:54
Score: 2.5
Natty:
Report link

You need the arms so that your phone may function right if without it you have some problems with malfunctions and little arrows inside there so it's good to have the arm and if it's the updated one

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

79405914

Date: 2025-02-02 00:49:53
Score: 4.5
Natty: 5
Report link

проблема решается следующим образом:открываете anaconda prompt или что так у вас и пишите:spyder update kernels.И все заработало.Что пришло в голову то и написал,главное что работает,думаю с jupyter схожая ситуация.

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

79405899

Date: 2025-02-02 00:24:49
Score: 0.5
Natty:
Report link
input = `read -n 1000000 user_input; echo $user_input`.chomp
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Daniel Garmoshka

79405898

Date: 2025-02-02 00:23:49
Score: 4
Natty:
Report link

You can now use prettier plugin called prettier-plugin-multiline-arrays

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Patrick Cho

79405889

Date: 2025-02-02 00:16:47
Score: 3.5
Natty:
Report link

Maybe you can try out this tool; it is also built on Pandoc, but it’s presented as a web application.

https://huggingface.co/spaces/u5ername/markdown2ppt-docker

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

79405878

Date: 2025-02-02 00:07:44
Score: 6.5 🚩
Natty:
Report link

I have the same problem with VS Pro 2022 17.12.4, python 3.13.

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: user1807011

79405873

Date: 2025-02-02 00:02:43
Score: 0.5
Natty:
Report link

don't waste time sorting the characters in the string. Just sequentially count frequencies of them, and compare. An anagram, by definition, would cancel out each other's buckets perfectly.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: RARE Kpop Manifesto

79405865

Date: 2025-02-01 23:52:41
Score: 2.5
Natty:
Report link

you can also use userInputService.InputChanged to get the 'Position' value of the input object

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Red pants

79405863

Date: 2025-02-01 23:51:39
Score: 7 🚩
Natty:
Report link

شحن شدات بوبجي مجانا

Blockquote

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

79405842

Date: 2025-02-01 23:34:35
Score: 1.5
Natty:
Report link

As I supposed, the error was eventually found in the UserLogin.aspx.cs file in that incorrect fields or properties were causing the error. The user comments were appreciated and helped me locate the issue although the Classic/Integrated mode issue was not the cause after all. To complicate matters, in my Global.Application Errors I was redirecting to UserLogin and hence the circular errors. Changing it to redirect to Defaults.aspx also helped as the underlying error was in part caused by incorrect cookies. In short - the answer to my question is it loads the next redirected/default page starting from that pages construction which is before any other events including the page.Preinit event.

Reasons:
  • Blacklisted phrase (1): appreciated
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: David