79638590

Date: 2025-05-26 08:40:19
Score: 1.5
Natty:
Report link

Here is a potential way, provided by AWS Support:

[...] Amazon RDS takes DB snapshots during the upgrade process only if you have set the backup retention period for your DB instance to a number greater than 0. [...]

Using that knowledge, one could maybe devise an upgrade strategy to set the current backups to manually taken, then reduce retention to 0, then to upgrade then to increase retention again. I have not yet tested that idea though with regards to ensuring 100% safety with regards to quick disaster recovery during the time that retention is set to 0.

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

79638588

Date: 2025-05-26 08:38:18
Score: 2.5
Natty:
Report link

Additional steps required here. You have to create a variable (in Flowise) with name apiKey of type runtime and in the Agents Configuration, in Security, enable Override Configuration and then enable the apiKey variable override.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Βασίλης Περαντζάκης

79638586

Date: 2025-05-26 08:36:17
Score: 5
Natty:
Report link

Does @Tutor_Melissa02 works for shopify as a customer service or adminhttps://t.me/Tutor_Melissa02 l think you can try searching using this link that she gave me.

Reasons:
  • Blacklisted phrase (1): this link
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @Tutor_Melissa02
  • Single line (0.5):
  • Low reputation (1):
Posted by: noluthando maudo

79638579

Date: 2025-05-26 08:31:15
Score: 1.5
Natty:
Report link

You are in the global scope and overwriting a variable that already exists in the window object (the usual global context for browsers).

Solution 1: Use javascript modules, they execute in their own scope.

Solution 2: Use a self-executing function, then have all variables inside that scope.

Solution 3: Use a unique namespace to put your variables into. Like for example `const MyApp = {}; MyApp.name = "Bob";

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

79638578

Date: 2025-05-26 08:31:15
Score: 1.5
Natty:
Report link

What fixed the problem for me was adding this line:

C(const char *s) {
  std::locale::global(std::locale("C"));
  std::fstream f(s);
  double d;
  f >> d;
  std::cout << d;
  f >> d;
  std::cout << d;
}

I suspect that gtk might be modifiying locale itself after the application is launched so I have to correct it.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): What fix
  • Low reputation (1):
Posted by: l1ivi1l

79638577

Date: 2025-05-26 08:31:15
Score: 1.5
Natty:
Report link

use testDebugUnitTest instead of test

./gradlew testDebugUnitTest --test "class.path"
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: bottlerun

79638576

Date: 2025-05-26 08:30:15
Score: 1.5
Natty:
Report link

I got it, it only works on real devices, not emulators, for anyone else who might be going through this because it nearly drove me crazy

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

79638575

Date: 2025-05-26 08:30:15
Score: 1.5
Natty:
Report link

Import app (the initialized FirebaseApp) from src/lib/firebase.ts.

Import getFirestore from firebase/firestore.

Inside the handleSubmit function, right before creating the document reference, call const db = getFirestore(app, "your_database_name");

This db instance (which is now guaranteed to be for the "your_database_name" database) will be used in the doc(db, "users", user.uid) and setDoc(...) calls.

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

79638557

Date: 2025-05-26 08:18:12
Score: 0.5
Natty:
Report link

Thanks to @CommonsWare suggestions, using a TextureView instead fixed the issue right away. Here's what I had to change:

In the original layout i was using a SurfaceView, so that got swapped for:

<FrameLayout
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/core_dark100">

    <TextureView
        android:id="@+id/surface"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_gravity="center" />

</FrameLayout>

Here I wrapped it in a FrameLayout so that I could control "its" color while the video is still loading. Then in the custom ConstraintLayout implementation for my FPV widget, i replaced the SurfaceView's callbacks with the appropriate one for the TextureView:

binding.surface.isOpaque = false // used to display the FrameLayout's bg color

binding.surface.surfaceTextureListener = object : TextureView.SurfaceTextureListener {
    override fun onSurfaceTextureAvailable(surfaceTexture: SurfaceTexture, width: Int, height: Int) {
        isSurfaceReady = true
        surface = Surface(surfaceTexture)

        surface?.let { doStuff }
    }

    override fun onSurfaceTextureSizeChanged(surfaceTexture: SurfaceTexture, width: Int, height: Int) {
        surface?.let { doStuff }
        isSurfaceReady = true
    }

    override fun onSurfaceTextureDestroyed(surfaceTexture: SurfaceTexture): Boolean {
        isSurfaceReady = false
        surface?.release()
        surface = null
        return true
    }

    override fun onSurfaceTextureUpdated(surfaceTexture: SurfaceTexture) {
        // Called when the SurfaceTexture is updated via updateTexImage()
    }
}

That's all i had to do, now I could pass the surface directly to the DJI API.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @CommonsWare
  • Self-answer (0.5):
Posted by: Stelios Papamichail

79638552

Date: 2025-05-26 08:14:11
Score: 2
Natty:
Report link

I would add to the answer of @JohanC that you must disable "fliers" for the boxplot:

ax = sns.boxplot(data=tips, x="day", y="total_bill", showfliers=False,
                 hue="smoker", hue_order=['Yes', 'No'], boxprops={'alpha': 0.4})

These fliers are duplicates of points already shown with stripplot.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @JohanC
  • Low reputation (1):
Posted by: Tom-tbt

79638540

Date: 2025-05-26 08:09:09
Score: 3.5
Natty:
Report link

I observed a curious issue in SPI. TXE is not immediately cleared by writing in DR. I solve that issue by inserting some NOP before exit the interrupt.

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

79638531

Date: 2025-05-26 08:01:07
Score: 4
Natty: 5
Report link

@user4413257 i just need to tells you after all these years your comment helped some one (me)

thank you

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @user4413257
  • Low reputation (1):
Posted by: Mohamed Taher

79638524

Date: 2025-05-26 07:58:05
Score: 0.5
Natty:
Report link

A workaround for C++23:

#include <concepts>
#include <iostream>

template <std::regular_invocable<> auto cstr>
void f() {
    std::cout << cstr() << '\n';
}

int main() {
    f<[]{return "template arg";}>();
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: shynur

79638515

Date: 2025-05-26 07:53:04
Score: 1
Natty:
Report link

Solution:

install the app not with Capabilities, but in the runtime with ((InteractsWithApps) driver).installApp().

WebDriverAgent can get all the necessary system-level interactions. Such as are Apple secure SpringBoard Passcode prompts.

Attention: For me it was necessary to install the runtimeApp with different bundleID, Appium somehow cached the Dump and if I have simply updated the capabilityinstalled app with runtime - it did not work.

Reasons:
  • Blacklisted phrase (1): did not work
  • Whitelisted phrase (-2): Solution:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Mikhail Nersesov

79638510

Date: 2025-05-26 07:52:03
Score: 4.5
Natty:
Report link

I'm newbie in C too and i want to write functions same to Michele's. It's softcode and we can config parameters such as timer, channel, resolution bits, gpio output pwm. But it didn't work (no PWM signal). I'm stuck here and thankful to any help

I use same reference manual as Michele.

#include "pwm.h"

// ===== Peripheral control registers =====
#define DPORT_PERIP_CLK_EN_REG       (*(volatile uint32_t*)0x3FF000C0)     // Enable peripheral clocks
#define GPIO_ENABLE_W1TS_REG         (*(volatile uint32_t*)0x3FF44024)     // Enable output for GPIO < 32
#define GPIO_ENABLE1_REG             (*(volatile uint32_t*)0x3FF4402C)     // Enable output for GPIO >= 32
#define GPIO_FUNC_OUT_SEL_CFG_REG(n) (*(volatile uint32_t*)(0x3FF44530 + (n) * 0x4))   // GPIO output signal selection
   
// ===== IO_MUX register addresses for each GPIO =====
static const uint32_t gpio_io_mux_addr[] = {
    [0]  = 0x3FF49044, [1]  = 0x3FF49088, [2]  = 0x3FF49040, [3]  = 0x3FF49084,
    [4]  = 0x3FF49048, [5]  = 0x3FF4906C, [12] = 0x3FF49034, [13] = 0x3FF49038,
    [14] = 0x3FF49030, [15] = 0x3FF4903C, [16] = 0x3FF4904C, [17] = 0x3FF49050,
    [18] = 0x3FF49070, [19] = 0x3FF49074, [21] = 0x3FF4907C, [22] = 0x3FF49080,
    [23] = 0x3FF4908C, [25] = 0x3FF49024, [26] = 0x3FF49028, [27] = 0x3FF4902C,
    [32] = 0x3FF4901C, [33] = 0x3FF49020, [34] = 0x3FF49014, [35] = 0x3FF49018,
    [36] = 0x3FF49004, [37] = 0x3FF49008, [38] = 0x3FF4900C, [39] = 0x3FF49010,
};

// ===== LEDC timer and channel register base =====
#define LEDC_HSTIMER_CONF_REG(n)     (*(volatile uint32_t*)(0x3FF59140 + (n) * 0x8))    // High-speed timer configuration
#define LEDC_HSCH_CONF0_REG(n)       (*(volatile uint32_t*)(0x3FF59000 + (n) * 0x14))   // Channel configuration 0
#define LEDC_HSCH_HPOINT_REG(n)      (*(volatile uint32_t*)(0x3FF59004 + (n) * 0x14))   // High point
#define LEDC_HSCH_DUTY_REG(n)        (*(volatile uint32_t*)(0x3FF59008 + (n) * 0x14))   // PWM duty
#define LEDC_HSCH_CONF1_REG(n)       (*(volatile uint32_t*)(0x3FF5900C + (n) * 0x14))   // Channel configuration 1

// ===== Initialize PWM =====
void pwm_init(uint8_t timer_num, uint8_t channel_num, uint8_t resolution_bits, uint8_t gpio_num, uint32_t freq_hz) {
    // --- Enable LEDC peripheral clock ---
    DPORT_PERIP_CLK_EN_REG |= (1 << 11); // Bit 11: LEDC_EN

    // --- Configure LEDC timer ---
    volatile uint32_t* timer_conf = &LEDC_HSTIMER_CONF_REG(timer_num);

    *timer_conf &= ~(0x1F);                      // Clear previous resolution bits [0:4]
    *timer_conf |= (resolution_bits & 0x1F);     // Set new resolution (max 0x1F)

    // Calculate the clock divider: 80MHz / (frequency * 2^resolution)
    uint32_t divider = 80000000 / (freq_hz * (1 << resolution_bits));

    *timer_conf &= ~(0x3FFFF << 5);              // Clear divider bits [22:5]
    *timer_conf |= (divider << 13);              // Set divider (bits [22:5]), shifted appropriately

    // --- Configure PWM channel ---
    LEDC_HSCH_CONF0_REG(channel_num) &= ~(0b11);             // Clear old timer selection
    LEDC_HSCH_CONF0_REG(channel_num) |= (timer_num & 0x3);   // Select timer (0~3)

    LEDC_HSCH_CONF0_REG(channel_num) |= (1 << 2);            // Enable channel (bit 2 = EN)

    LEDC_HSCH_HPOINT_REG(channel_num) = 1;                   // Set high point to 1

    LEDC_HSCH_DUTY_REG(channel_num) &= ~(0xFFFFFF);          // Clear previous duty
    LEDC_HSCH_DUTY_REG(channel_num) = (20 << 4);             // Set default duty (shifted left 4 bits)

    GPIO_FUNC_OUT_SEL_CFG_REG(gpio_num) = 71 + channel_num; // Route LEDC HS_CHx to GPIO

    if (gpio_num < 32) {
        GPIO_ENABLE_W1TS_REG |= (1 << gpio_num);             // Enable output for GPIO < 32
    } else {
        GPIO_ENABLE1_REG |= (1 << (gpio_num - 32));          // Enable output for GPIO ≥ 32
    }

    // --- Configure IO_MUX for selected GPIO ---
    volatile uint32_t* io_mux_reg = (volatile uint32_t*)gpio_io_mux_addr[gpio_num];
    *io_mux_reg &= ~(0b111 << 12);                           // Clear FUNC field
    *io_mux_reg |= (2 << 12);                                // Set FUNC2 (LEDC high-speed function)

    LEDC_HSCH_CONF1_REG(channel_num) |= (1 << 31);           // Trigger duty update

    // --- Unpause the timer (start it) ---
    *timer_conf &= ~(1 << 23); // Bit 23: PAUSE (write 0 to run)
}

// ===== Update PWM duty cycle at runtime =====
void pwm_set_duty(uint8_t channel_num, uint32_t duty_value) {
    LEDC_HSCH_DUTY_REG(channel_num) = (duty_value << 4);     // Set new duty (shifted left 4 bits)
    LEDC_HSCH_CONF1_REG(channel_num) |= (1 << 31);           // Trigger duty update
}
Reasons:
  • Blacklisted phrase (1): any help
  • RegEx Blacklisted phrase (1.5): I'm stuck
  • RegEx Blacklisted phrase (1): i want
  • RegEx Blacklisted phrase (1.5): I'm new
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tuấn Vũ Anh

79638509

Date: 2025-05-26 07:51:03
Score: 1.5
Natty:
Report link

1. Select your_database > Schemas
2. Go to menu bar - Object > Refresh

This will show the tables in Schemas > Tables

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

79638507

Date: 2025-05-26 07:49:02
Score: 1.5
Natty:
Report link

for me it is ok with the fully path :

<server name="KERNEL_CLASS" value="\App\Service\Kernel" />
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Frederic M

79638506

Date: 2025-05-26 07:48:02
Score: 7
Natty: 8
Report link

Where you able to solve this?Im currently facing this issue.

Reasons:
  • Blacklisted phrase (1): you able to solve
  • RegEx Blacklisted phrase (1.5): solve this?
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Where you
  • Low reputation (1):
Posted by: Paul

79638500

Date: 2025-05-26 07:45:01
Score: 2.5
Natty:
Report link

You can simplify this by using a single Boolean to check if VAT is included, based on the dropdown value. I had to figure out similar logic while building a VAT Calculator app. The cleanest way is to use one dropdown name and check its value. It makes the condition easier to handle and avoids duplicate inputs.

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

79638495

Date: 2025-05-26 07:43:00
Score: 1.5
Natty:
Report link

You can check https://dockstats.com, it's ideal for your use-case.

You can easily grab all logs from your containers across many hosts. It's also very easy to setup

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

79638475

Date: 2025-05-26 07:26:55
Score: 3.5
Natty:
Report link

Try after clearing the cookies.

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

79638470

Date: 2025-05-26 07:22:54
Score: 3
Natty:
Report link

Auto-Merge has removed the package ref from the .props file, check files in git

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

79638469

Date: 2025-05-26 07:21:54
Score: 3.5
Natty:
Report link

The issues was with symlink, there was no entry present for the sub application, after making some changes it started working

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

79638466

Date: 2025-05-26 07:19:53
Score: 4.5
Natty:
Report link

Helpful thread! Good reminder to use class properties to share data between methods—simple fix that keeps things clean and consistent.

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

79638461

Date: 2025-05-26 07:15:52
Score: 2
Natty:
Report link

Selecting 'Partner bidding' causes the issue in my case. Try creating a new ad without selecting 'Partner bidding'

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

79638456

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

Open the Command Palette (Ctrl+Shift+P)
Use: View: Reset View Locations

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

79638454

Date: 2025-05-26 07:09:50
Score: 2
Natty:
Report link
public static final String FIND_Targets = "SELECT type, description, target_id, valid, version FROM public.globalsettings WHERE type='Target';";
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Keerthi

79638452

Date: 2025-05-26 07:08:50
Score: 1
Natty:
Report link

Hey you might need to install a package because I also ran into the same problem
pip install setuptools

It was mostly because of the face_recognition package
Let me know if you have any other issues.

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

79638431

Date: 2025-05-26 06:52:45
Score: 1.5
Natty:
Report link
Browser = await Playwright.Chromium.LaunchAsync(new BrowserTypeLaunchOptions
    {
        Headless = false,
        Args = new[] { "--window-size=1920,1080" }
    });

it works!

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

79638427

Date: 2025-05-26 06:46:44
Score: 3
Natty:
Report link

I'm still unable to invalidate the refresh token, even after waiting more than 20 minutes.

The refreshTokensValidFromDateTime field was updated correctly, but I'm still able to use the existing refresh token to obtain a new access token. It seems the refresh token is not being invalidated as expected.

I’ve also checked the portal, and the StsRefreshTokensValidFrom field is correctly set to the current time.

For reference, my token lifetimes are configured as follows:

Is there any known issue that could be causing this?

Reasons:
  • Blacklisted phrase (1): Is there any
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Alpesh

79638425

Date: 2025-05-26 06:44:43
Score: 0.5
Natty:
Report link

What Is A URL Redirect?

Every time you change a url slug on your website, you run the risk of breaking old links. If you emailed a link to your audience, sent a client a direct link, or added that link to a button on your site, bad news: anyone who clicks on that link is going to land on a 404 page.

The good news? It’s easy to fix those broken links using url redirects!

Basically, a url redirect automatically sends you to a new url when you land on an old one. For example, if you set up a redirect from your old slug /contact-1 to your new page /contact, users who typed in or clicked the old link would automatically land on the new one instead.

Why You Might Need to Set Up URL Redirects in Squarespace

Aside from fixing broken links, you might set up url redirects to…

No matter the reason you need redirects, the setup is the same.

How to Create URL Redirects in Squarespace

If you’re ready to get started with Squarespace now, click here to save 10% off your first subscription of a website by using the code PARTNER10.

Here’s how to plan and create url redirects for your Squarespace website.

STEP 1: Make a list of all your potential redirects.

Create a list of all your current urls and what you want to change them to. You can write this down by hand, set up a Google Sheet, or (if you’re a member of The Creator Club) use my handy template.

STEP 2: Go to URL Mappings in the Squarespace builder.

In your Squarespace dashboard, navigate to SETTINGS > ADVANCED > URL MAPPINGS. You should see a code block.

STEP 3: Enter your redirects.

If you’re using my template, all you have to do is copy and paste the code from the third column.

If you’re doing this yourself, you’ll need to enter the old url, the new url, and the redirect type in this format:

/old-url-here -> /new-url-here 301

Depending on the type of redirect you’re making, you’ll enter either 301 or 302 after the two urls. A 301 redirect (which you’ll probably use most often) is meant to be permanent, but a 302 is meant to be temporary.

STEP 4: Test them out!

Once you’ve saved your redirects, it’s time to test them! Type the old url into your browser and make sure you’re automatically redirected to the new one. If it works, you’re done!

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What Is A
  • Low reputation (1):
Posted by: user30618673

79638422

Date: 2025-05-26 06:41:43
Score: 1.5
Natty:
Report link

In newer fastai version,

resnet50(): no pre-trained weights are used.
resnet50(weights='DEFAULT'): the pre-trained weights are used. 
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: toshihiro okamoto

79638421

Date: 2025-05-26 06:41:43
Score: 1
Natty:
Report link

Returning DTOs is preferred because of below points:

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

79638419

Date: 2025-05-26 06:40:42
Score: 1.5
Natty:
Report link

Did u mean to statically restrict shape of the ndarray? For example, if u want a to be a (3, 4)-shaped float64 array, you can write like this:

from typing import Literal as L
import numpy as np
a: np.ndarray[tuple[L[3], L[4]], np.dtype[np.float64]] = np.zeros((3, 4), dtype=np.float64)

But most of the time u don't have to.

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did
  • Low reputation (1):
Posted by: iw17

79638415

Date: 2025-05-26 06:36:40
Score: 8 🚩
Natty: 4.5
Report link

Any luck solving this? Facing the same issue.

Reasons:
  • Blacklisted phrase (1.5): Any luck
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): Facing the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Paul

79638414

Date: 2025-05-26 06:36:40
Score: 0.5
Natty:
Report link

For migrating OwnCloud URLs to Azure Blob SAS URLs in SQL Server, C# is your best choice due to its excellent integration with both Azure SDK and SQL Server. For the best solutions contact Glocal Adda

Recommended Approach

1. Use C# with these key libraries:

csharp
// Azure Storage SDK
Azure.Storage.Blobs
Azure.Storage.Sas

// SQL Server connectivity
System.Data.SqlClient (or Microsoft.Data.SqlClient)

2. High-level migration strategy:

Phase 1: Data Migration

Phase 2: Database Update

Sample Implementation Structure

csharp
public class UrlMigrationService
{
    private readonly BlobServiceClient _blobClient;
    private readonly SqlConnection _sqlConnection;
    
    public async Task MigrateUrls()
    {
        // 1. Get OwnCloud URLs from database
        var oldUrls = await GetOwnCloudUrls();
        
        // 2. For each URL, generate Azure Blob SAS URL
        foreach(var url in oldUrls)
        {
            var sasUrl = GenerateSasUrl(url.BlobName);
            await UpdateUrlInDatabase(url.Id, sasUrl);
        }
    }
    
    private string GenerateSasUrl(string blobName)
    {
        var blobClient = _blobClient.GetBlobContainerClient("container")
                                  .GetBlobClient(blobName);
        
        return blobClient.GenerateSasUri(BlobSasPermissions.Read, 
                                        DateTimeOffset.UtcNow.AddHours(24))
                        .ToString();
    }
}

Key Considerations

SAS URL Expiration: SAS URLs have expiration times. Consider:

Performance:

Error Handling:

Alternative Approaches

1. Use Azure Data Factory for large-scale data movement 2. PowerShell scripts if you prefer scripting approach 3. SQL Server Integration Services (SSIS) for complex ETL scenarios

Security Best Practices

Reasons:
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Glocal Adda

79638405

Date: 2025-05-26 06:28:38
Score: 0.5
Natty:
Report link

@MartinPrikryl regarding your comment, I tried with

private static final int PORT = 6323;
private static final String USERNAME = "tsbulk";
private static final String HOST = "<SERVER>";
private static final String ROOT_DIRECTORY = "/tsbulk-prod";
private static final String PRIVATE_KEY = "<PRIVATE-KEY-PATH>"

public static void main(String[] args) throws JSchException, IOException, SftpException {
    Path file = Files.write(createTempFile("foo", "bar"), "test".getBytes(UTF_8));
    JSch jSch = new JSch();
    jSch.addIdentity(PRIVATE_KEY);
    Session session = jSch.getSession(USERNAME, HOST, PORT);
    session.setConfig("StrictHostKeyChecking", "no");
    session.setConfig("PreferredAuthentications", "publickey");
    session.connect();
    ChannelSftp channel = (ChannelSftp) session.openChannel("sftp");
    channel.connect();
    channel.put(file.toString(), ROOT_DIRECTORY + "/" + file.getFileName());
    channel.rm(ROOT_DIRECTORY + "/" + file.getFileName());
    channel.disconnect();
    session.disconnect();
}

and it's working fine. The file gets uploaded and no errors are triggered. Of course, this is a bit a simplified setup given that it doesn't handle sub directories.

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

79638398

Date: 2025-05-26 06:18:35
Score: 1
Natty:
Report link
  1. Helps Separate Objects That Touch

    • If two things in a photo are stuck together (like touching coins), watershed can separate them clearly.
  2. Finds Clear Boundaries

    • It draws neat lines around each object, which helps when you want to count or label them.
  3. Better Results with Markers

    • You can tell the computer what’s background and what’s object — this helps avoid mistakes and over-segmentation (splitting too much).
  4. Works Great on Edge Images

    • If you use an edge-detection filter first, watershed becomes even more accurate.
  5. Very Useful in Medical and Scientific Images

    • Doctors use it to find and study things like cells, tumors, or organs in scan images.
  6. Easy to Use with Tools Like OpenCV

    • It’s available in popular image processing libraries, so you don’t have to build it from scratch.
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Prachi Digifypro

79638391

Date: 2025-05-26 06:12:34
Score: 3.5
Natty:
Report link

Bit embarrassed, turns out it was the urn in the results object that was not the correct one. Works fine now

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

79638390

Date: 2025-05-26 06:10:33
Score: 2.5
Natty:
Report link

A milling cutter is a rotary cutting tool used in milling machines to shape and remove material from workpieces. It's essentially a rotating blade with multiple cutting edges that remove material by cutting, creating a smooth surface on the workpiece.

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

79638388

Date: 2025-05-26 06:09:33
Score: 3.5
Natty:
Report link

The Device Manager is on the side panel.

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Nor.Z

79638385

Date: 2025-05-26 06:06:32
Score: 1
Natty:
Report link

server.tomcat.remoteip.remote-ip-header="X-Forwarded-For" You can also try setting this in your application.properties.

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

79638373

Date: 2025-05-26 05:55:29
Score: 2
Natty:
Report link

Use the custom <MyPanel> for reusability and cleaner code in multiple places, and the pure XAML approach for quick, simple, one-off layouts.

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

79638366

Date: 2025-05-26 05:47:27
Score: 2.5
Natty:
Report link

share code after edit

css:

@import "tailwindcss";
@plugin "@tailwindcss/typography";
@source "../views";
@source "../../content";

@theme {
  --breakpoint-*: initial;
  --breakpoint-md: 1080px;
  --breakpoint-lg: 1280px;
  --container-*: initial;
  --container-md: 1080px;
  --container-lg: 1200px;
}

html :

<div
  class="sm:max-sm:bg-yellow-400 lg:bg-red-800 2xl:bg-purple-800 heading-36 container mx-auto"
>
  Lorem ipsum dolor sit amet consectetur, adipisicing elit. Suscipit, officiis
  soluta! Unde dolorum, officia ex ab distinctio iusto, repellendus maiores
  doloribus numquam iste incidunt tempore labore! Incidunt voluptatem non
  quibusdam!
</div>

in my case if I define it like that then the background color that I use for the brekapoin test doesn't work, everything just becomes red, why is that?

Reasons:
  • RegEx Blacklisted phrase (0.5): why is that
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: fajriyan

79638365

Date: 2025-05-26 05:47:27
Score: 1.5
Natty:
Report link

Yes. It is technically possible.

If /route2 is a http endpoint - sendRedirect from the someClassABC process method would work

However if it is just another route - then ProducerTemplate should be used for the redirection

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

79638360

Date: 2025-05-26 05:42:26
Score: 3
Natty:
Report link

you also can go to
/usr/lib/jvm
to see what java virtual machine is pointing to
image

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ahmed Fahmi

79638358

Date: 2025-05-26 05:41:25
Score: 1
Natty:
Report link
  1. Workshop (PostgreSQL): Great for structured data like users, roles, files, and comments. You need relationships and strict rules here.

  2. Forum (MongoDB): Perfect for flexible, fast-changing data like threads and messages. NoSQL handles unstructured data well.

    Now,

    • Using both is okay: Since your workshop and forum are on different subdomains, they can run independently. Users can still share one account (auth system) while each app uses its own database.

    • Using only PostgreSQL: You could do everything in SQL, but the forum might feel more rigid. MongoDB gives you flexibility for discussions.

    According to me,

    Stick with PostgreSQL for the workshop and MongoDB for the forum. It’s a solid combo, and many apps mix SQL + NoSQL for different needs. Just make sure your auth system (user login) works across both!

    If keeping things simple is a priority, PostgreSQL alone can work—but MongoDB will make forum management easier.

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

79638353

Date: 2025-05-26 05:39:25
Score: 1
Natty:
Report link
Function KeepNumericAndDot(str As String) As String
    With CreateObject("VBScript.RegExp")
        .Global = True
        .Pattern = "[^0-9\.\-]+"
        KeepNumericAndDot = .Replace(str, "")
    End With
End Function
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: kingsbane

79638352

Date: 2025-05-26 05:39:25
Score: 3.5
Natty:
Report link

I check its working fine , you need to discuss with squarespace support.

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

79638351

Date: 2025-05-26 05:37:24
Score: 1
Natty:
Report link

Large legacy systems feel scary, but you got this. Let’s

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

79638348

Date: 2025-05-26 05:35:24
Score: 2.5
Natty:
Report link
  1. Discover the power of Calcoladora Alice – a tool that simplifies your financial calculations in just a few clicks. It’s perfect for both beginners and experts alike. Try it now at https://calcoladoraalice.com/ and see for yourself.

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

79638341

Date: 2025-05-26 05:27:22
Score: 2
Natty:
Report link

I implemented this in a shiny app. I get x-axis coordinates but not y-axis. Can not figure out how to fix this.

Actually it is in a plotly contour plot. I also want to get the z-axis coordintate too.

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

79638335

Date: 2025-05-26 05:15:19
Score: 1
Natty:
Report link

A few things:

  1. Optimistic state should be updated using useTransition() rather than just a normal function.
  2. Unlike a form action, your state won't be refetched from the server when your optimistic state finishes. You need to manually call router.refresh() or something when using useTransition() and updating the state on the server.
Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Eliot Hertenstein

79638334

Date: 2025-05-26 05:13:18
Score: 1.5
Natty:
Report link

I first deleted ~/.aws/credentials file (made a copy), and then ran aws configure again. It works for me. But actually, just need to remove the session part, since it is the difference between new generated credentials file.

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: James Stone

79638317

Date: 2025-05-26 04:58:14
Score: 0.5
Natty:
Report link

In Laravel 10+ , you can share data with all 404 error views using View Composers in AppServiceProvider.php like this:

View::composer('errors::404', function ($view) {
    $view->with('data', $data);
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Azade

79638313

Date: 2025-05-26 04:51:13
Score: 1
Natty:
Report link

import React, { useState } from "react"; import { View, Text, TextInput, Button, Image, TouchableOpacity } from "react-native"; import * as DocumentPicker from "expo-document-picker"; import * as SecureStore from "expo-secure-store";

export default function App() { const [auth, setAuth] = useState(false); const [pin, setPin] = useState(""); const [inputPin, setInputPin] = useState(""); const [files, setFiles] = useState([]);

const savePin = async () => { await SecureStore.setItemAsync("user_pin", pin); setAuth(true); };

const checkPin = async () => { const storedPin = await SecureStore.getItemAsync("user_pin"); if (storedPin === inputPin) setAuth(true); };

const pickFile = async () => { const result = await DocumentPicker.getDocumentAsync({ multiple: true }); if (result.type === "success") { setFiles([...files, result]); } };

if (!auth) { return ( <View style={{ flex: 1, justifyContent: "center", alignItems: "center" }}> <Image source={require("./assets/logo.png")} style={{ width: 100, height: 100 }} /> <Text style={{ fontSize: 20, fontWeight: "bold", marginBottom: 10 }}>Enter PIN <TextInput secureTextEntry keyboardType="numeric" style={{ borderBottomWidth: 1, width: 200, marginBottom: 20 }} onChangeText={setInputPin} /> <Text style={{ marginTop: 20, fontSize: 12 }}>First Time? Set your PIN below <TextInput secureTextEntry keyboardType="numeric" placeholder="Set PIN" style={{ borderBottomWidth: 1, width: 200, marginBottom: 10 }} onChangeText={setPin} /> ); } return ( <View style={{ flex: 1, padding: 20 }}> <Text style={{ fontSize: 24, fontWeight: "bold" }}>Secure Vault {files.map((file, index) => ( {file.name} ))} ); }

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

79638307

Date: 2025-05-26 04:38:10
Score: 2.5
Natty:
Report link

Issue got resolved and also thanks to AI for suggesting this as well..

The problem was when uploading app to play store google checks manifest and determine the features used by the app from premissions...<br/>

e.g: supposed if we need wifi permission then google thinks our app uses-feature wifi hardware.<br/><br/>

Now with my current app faketouch feature gets automatically applied by play console even i haven't mentioned it inside my app manifest.<br/>

Then, i have uploaded a test version and removed the OneSignal also which contains the firebase dependencies as well, after removal and uploading again i saw 2,444 devices are now supported. 👍

Reasons:
  • Blacklisted phrase (0.5): thanks
  • RegEx Blacklisted phrase (2): even i have
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: ShaRy

79638301

Date: 2025-05-26 04:26:07
Score: 1
Natty:
Report link

Basic points to consider while designing Model and DTO,

  1. Entity (Model)
  1. DTO (Data Transfer Object)
  1. Service Layer
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @Entity
Posted by: Anupam Haldkar

79638299

Date: 2025-05-26 04:23:06
Score: 2
Natty:
Report link

I found diff way to open my current repo in git GUI (I wanted to open git GUI, its cool) just copy path of GUI exe and paste it in current open window (web explorer search) like C:\Program Files\Git\cmd\git-gui.exe and hit enter

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

79638296

Date: 2025-05-26 04:20:05
Score: 1.5
Natty:
Report link

the latest RN uses a new arch, you have to force it to use old arch

Android: Change newArchEnabled to false in android/gradle.properties

iOS: Navigate to the ios directory and run "bundle install && RCT_NEW_ARCH_ENABLED=0 bundle exec pod install"

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

79638290

Date: 2025-05-26 04:06:02
Score: 3
Natty:
Report link

Also if you are on windows the cmd line tools won't show up if you only install development msvc, install both runtime and development

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

79638289

Date: 2025-05-26 04:06:02
Score: 3
Natty:
Report link
  1. header 1 header 2
    cell 1 cell 2
    cell 3 cell 4
Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Uchechuchukwu Uzodinma

79638288

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

Fairly easy to do. `pnpm dev --port 3002`

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

79638280

Date: 2025-05-26 03:51:58
Score: 4.5
Natty:
Report link

Is there a way to redirect the URL?

My URL is indexed by google and detected as redirect error. I cant resolve the problem with rankmath.

URl : /%EF%BB%BF

Reasons:
  • Blacklisted phrase (1): Is there a way
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is there a
  • Low reputation (1):
Posted by: rio Rios s

79638279

Date: 2025-05-26 03:50:58
Score: 1.5
Natty:
Report link

After I added @Configuration to SecurityConfig, it fixed my issue. The OauthSuccessHandler is getting invoked now. However, I am still not sure how the oauth flow worked before but only my OauthSuccessHandler failed to get invoked.

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

79638278

Date: 2025-05-26 03:48:57
Score: 2.5
Natty:
Report link

ugh, i found the issue. i had installed godot via snap. seems like this is a known bug, but I got a unusual error message, so i didnt find the issue at first. reinstalling godot (but not via snap) solved the issue for me. GH issue for the snap bug: github.com/godotengine/godot/issues/23725

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

79638275

Date: 2025-05-26 03:41:56
Score: 0.5
Natty:
Report link
from pydub.generators import Sine
from pydub import AudioSegment

# Fungsi untuk hasilkan nada chord asas
def generate_chord(freq, duration=1000):
    tone = Sine(freq).to_audio_segment(duration=duration).fade_in(50).fade_out(50)
    return tone

# Susunan melodi ringkas: Am – G – F – G – Am
melody = (
    generate_chord(220) +      # A minor
    generate_chord(196) +      # G major
    generate_chord(174.61) +   # F major
    generate_chord(196) +      # G major
    generate_chord(220)        # A minor
)

# Eksport sebagai fail audio
melody.export("generasi_alquran_demo.wav", format="wav")
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30634785

79638273

Date: 2025-05-26 03:40:55
Score: 1
Natty:
Report link

It resolved via use of uppercase as below:

Answers.builder()
                   .vasOrPlan(Answers.VasOrPlanEnum.valueOf(
                       recommPlanAnswerEntity
                           .getRecommPlanAnswerFeatureMapping()
                           .getVasOrPlan().toUpperCase))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Pulkit Agrawal

79638257

Date: 2025-05-26 03:20:51
Score: 2.5
Natty:
Report link

microcom /dev/ttyUSB0

<ctrl><shift><a> y luego <ctrl><shift><c> para habilitar echo ON

ahora se puede comandar "micropython" y se obtiene el típico >>>

Luego se puede salir con <ctrl><shift><a> y luego <ctrl><shift><x>

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

79638255

Date: 2025-05-26 03:16:50
Score: 3
Natty:
Report link

Hi Swati,

According to your first question, you can set maxlen argument to pad_sequence(), and than the Embedding input length set the same value.
( ref: https://www.tensorflow.org/api_docs/python/tf/keras/utils/pad_sequences#args )

About the question-2, you need to statistic your all sentences length distributed, and choose the mode value of all sentences length distributed.
( ref: https://www.carted.com/blog/variable-length-sequences-in-tensorflow-part-1/ )

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jung-Yi Tsai

79638254

Date: 2025-05-26 03:16:50
Score: 5.5
Natty: 5
Report link

You need paid API from https://zerodha.com/products/api/ and then refer to this postman collection:

https://www.postman.com/amazealgos/zerodha/collection/sju7yb4/zerodha-kite-restful-api-official-api-paid

Reasons:
  • Probably link only (1):
  • Contains signature (1):
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Amazealgos

79638245

Date: 2025-05-26 02:47:43
Score: 5
Natty:
Report link

I just tried all the solutions above but nothing works even with the HttpsProxyAgent

and I realised that my case, I use the corp proxy for both HTTP and HTTPS

so, I give it a try for HTTPProxyAgent

This time, it works. Not really understand why ~ Please advise me if you got something for this

My code for reference

// Proxy with HttpProxyAgent
const {HttpProxyAgent} = require('http-proxy-agent');
const proxyUrl = 'http://myUser:myPass@proxyIP:port';
const httpProxyAgent = new HttpProxyAgent(proxyUrl);


// Axios POST call with HttpProxyAgent
axios.post(url, body, {
  httpAgent: httpProxyAgent,
  proxy: false, // Proxy won't work if I don't force disabling default axios proxy , 
if you know why please advise me
});

P/s: I think might be the cause can come from using http or https in proxyUrl I mean for HttpProxyAgent I should use http and HttpsProxyAgent I should use https

Please advise me if you have an answer for this

Reasons:
  • Blacklisted phrase (1): but nothing work
  • RegEx Blacklisted phrase (2.5): Please advise me
  • RegEx Blacklisted phrase (2.5): please advise me
  • Long answer (-0.5):
  • Has code block (-0.5):
Posted by: ninoorta

79638242

Date: 2025-05-26 02:40:41
Score: 2.5
Natty:
Report link

https://ariston-net.ariston.com/index.html

Let me tell you something, folks. If you're looking for a place where you can download Hollywood movies without breaking the bank, you've come to the right spot. vegamovies yt has been making waves in the online movie world, and today, we’re diving deep into what it’s all about. Whether you’re a movie buff or just someone who loves a good flick, this guide is for you.

Reasons:
  • Blacklisted phrase (1): this guide
  • No code block (0.5):
  • Low reputation (1):
Posted by: andygroup6 se

79638239

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

I just found a solution(AutoLocalise) recently where you dont even need to manage localization files, and much cheaper than Lokalise, if you are using React or React Native

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

79638237

Date: 2025-05-26 02:23:38
Score: 2.5
Natty:
Report link

you will have to write the text also in hindi e.g. चूंकि मानव परिवार के सभी सदस्यों के जन्मजात गौरव और समान

only then it will display the text in hindi

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

79638233

Date: 2025-05-26 02:18:37
Score: 0.5
Natty:
Report link

How to display Arabic company name next to logo in the header?

There two tags are missing div style="display and img t-att-src=

snippet:

<template id="custom_header_with_company_name" inherit_id="web.external_layout">
    <xpath expr="//div[@class='header']" position="inside">
        <div style="display: flex; align-items: center; justify-content: space-between;">
            <img t-att-src="doc.company_id.logo" style="max-height: 50px; margin-right: 10px;"/>
            <div style="text-align: right; font-size: 16px; font-weight: bold; direction: rtl;">
                شركة روزنبرج إيجيبت
            </div>
        </div>
    </xpath>
</template>

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How to
  • Low reputation (0.5):
Posted by: Adios Gringo

79638224

Date: 2025-05-26 01:56:32
Score: 4
Natty:
Report link

currently I connect to the camera as H.264, is there any way to switch to H.265, I code in Flutter language

Reasons:
  • Blacklisted phrase (1): is there any
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: quang minh

79638212

Date: 2025-05-26 01:40:28
Score: 0.5
Natty:
Report link

Would assume that when you are debugging mobile applications on your phone which presumes you install new packages and software to that phone. Is it possible that these newly installed applications cause additional battery drain? You can use simple charge meters like https://play.google.com/store/apps/details?id=com.devdroid.batteryguardian to find any such battery consumers.
Log.d messages do get executed even on built / distributed releases, yet the output is not really shown as filtered on production devices. The battery consumption for that would be miniscule.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: S Deg

79638207

Date: 2025-05-26 01:35:26
Score: 1
Natty:
Report link

There is a workaround, by changing the image link format from:

https://github.com/org/repo/blob/master/images/XXX.png

to:

https://raw.githubusercontent.com/org/repo/master/images/XXX.png

For same page links, either the anchor method or heading method as discussed in the comments remains Ok. Additional discussion is here.

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

79638206

Date: 2025-05-26 01:35:26
Score: 2.5
Natty:
Report link

If you use elementor pro, you only need Polylang connect for elementor

https://polylang.pro/how-to-translate-elementor-with-polylang/

I used elementor header builder and it works perfectly

I almost cried!!!

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: 이현배

79638205

Date: 2025-05-26 01:34:26
Score: 1
Natty:
Report link

UPI support is currently in beta (doc) , you'll want to reach out to Stripe support if you want to enable it on your account.

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

79638193

Date: 2025-05-26 01:07:20
Score: 3.5
Natty:
Report link

That documentation from Android Developers seems good, I will for sure take a look at it.

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

79638190

Date: 2025-05-26 01:03:19
Score: 5
Natty:
Report link

@ranadip Dutta: thanks I see what you mean and was doing in the script. it worked. thanks again

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @ranadip
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: zerokool666

79638187

Date: 2025-05-26 01:00:18
Score: 0.5
Natty:
Report link

I don't have an emulator handy to test this, but I think the problem is the pop ax at the end of the function, which overwrites the return value you have put there.

Also check the way you build up the number- you are doing bx = bx + ax *10 instead of bx = bx*10 + ax.

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

79638182

Date: 2025-05-26 00:51:16
Score: 2.5
Natty:
Report link

I added the 'vue/no-undef-components': 'error' rule to my eslint.config.js:

rules: {
  'vue/no-undef-components': 'error'
}

Now it checks for undefined components!

EDIT: Stackoverflow says I must wait to accept my own answer in 2 days.

Reasons:
  • Blacklisted phrase (1): Stackoverflow
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Dudeguy

79638181

Date: 2025-05-26 00:47:15
Score: 5.5
Natty: 4.5
Report link

I've changed env on my Azure wordpress plan and I got this error "Error establishing a database connection" for my homepage website
I did restarting the webapp and pull reference values but I have same problem

Reasons:
  • Blacklisted phrase (1): I have same problem
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have same problem
  • Low reputation (1):
Posted by: Mahshid gholamzadeh nabati

79638174

Date: 2025-05-26 00:35:13
Score: 2
Natty:
Report link

Don't you want much smaller summary table?

WITH everything AS(
  SELECT maker, 
    COUNT(DISTINCT pc.model) pc, 
    COUNT(DISTINCT l.model) l, 
    COUNT(DISTINCT pr.model) pr
  FROM Product p 
  LEFT JOIN Pc pc ON p.model = pc.model
  LEFT JOIN Laptop l ON p.model = l.model
  LEFT JOIN Printer pr ON p.model = pr.model
  GROUP BY maker
)
SELECT maker, pc/(pc+l+pr) pc, l/(pc+l+pr) l, pr/(pc+l+pr) pr
WHERE (pc+l+pr)>0
Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Solt

79638160

Date: 2025-05-26 00:16:09
Score: 0.5
Natty:
Report link

Why all these unneeded multiplications, divisions and shifts? You are loosing precious resources.

I don't know if there is big or little endian, so here are both.

//assume bytes_to_write is original (x2), not modified to 24 (x3)

//Big endian
for (int i = 0, j=0; i < bytes_to_write; i+=2, j+=3) {
  current_pos_16[j]   = current_pos[i];
  current_pos_16[j+1] = current_pos[i+1];
  current_pos_16[j+2] = 0;
}

//Little endian
for (int i = 0, j=0; i < bytes_to_write; i+=2, j+=3) {
  current_pos_16[j]   = 0;
  current_pos_16[j+1] = current_pos[i];
  current_pos_16[j+2] = current_pos[i+1];
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Why
  • Low reputation (0.5):
Posted by: Solt

79638158

Date: 2025-05-26 00:12:08
Score: 1.5
Natty:
Report link

For me:
deleting %userprofile%\AppData\Local\IconCache.db
and restarting the computer didn't work.
But
deleting %userprofile%\AppData\Local\IconCache.db
Then opening TaskManager and restarting Explorer.exe did fix the issue.

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

79638157

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

a few of these answers are a bit outdated. There's a newer/better maintained python jq implmentation, https://github.com/mwilliamson/jq.py

pip install jq

The other one isn't well maintained anymore (it's old enough it assumes you'll be using python 2)

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

79638136

Date: 2025-05-25 23:04:53
Score: 1.5
Natty:
Report link

If on a debian based OS, instead of installing opencv with pip, install it with apt

apt install python3-opencv

This solved the problem for me

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

79638127

Date: 2025-05-25 22:45:49
Score: 2
Natty:
Report link

This is not possible. DynamoDB is a proprietary service that only runs on AWS; either connect there or use something like: https://docs.localstack.cloud/user-guide/aws/dynamodb/

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

79638123

Date: 2025-05-25 22:37:47
Score: 1.5
Natty:
Report link

You can try using the get_permalink() function.

<form method="POST" action="<?php echo esc_url(get_permalink()); ?>">
    <!-- Form fields -->
</form>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Live Stream

79638112

Date: 2025-05-25 22:12:41
Score: 5
Natty: 4.5
Report link

Any updates on this? I had similar issues.

Reasons:
  • Blacklisted phrase (1): Any updates on
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Raphi

79638109

Date: 2025-05-25 22:07:40
Score: 2.5
Natty:
Report link

This happened to me when I was trying to install an npm package but misspelled it and got an error. That's when VS Code threw the GitHub sign-in pop-up. I had just committed, so I thought it was a weird pop-up. Signed in, authorized again, and didn't show up again so far.

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

79638105

Date: 2025-05-25 22:00:38
Score: 3.5
Natty:
Report link

You should use something like roles and permissions try https://spatie.be/docs/laravel-permission/v6/introduction its popular package and easly to learn

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Mohamed ِRadwan

79638096

Date: 2025-05-25 21:42:33
Score: 0.5
Natty:
Report link

For anyone facing this problem, developers here found the root cause in Redmon source code and found a solution. https://github.com/stchan/PdfScribe/issues/17

Reasons:
  • Whitelisted phrase (-2): For anyone facing
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: victory

79638092

Date: 2025-05-25 21:31:31
Score: 2
Natty:
Report link

I'm in favor of abandoning coordinates and using some kind of linked graph structure instead

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Never Sleep Again

79638089

Date: 2025-05-25 21:29:30
Score: 0.5
Natty:
Report link

or() is supported by CriteriaBuilder, see the details there: https://www.baeldung.com/jpa-and-or-criteria-predicates

public List<User> searchUsers(String name, Integer age, Boolean active,
      boolean matchAny) {
CriteriaBuilder cb = entityManager.getCriteriaBuilder();
CriteriaQuery<User> query = cb.createQuery(User.class);
Root<User> root = query.from(User.class);

List<Predicate> predicates = new ArrayList<>();

if (name != null && !name.isEmpty()) {
    predicates.add(cb.like(cb.lower(root.get("name")), "%" + name.toLowerCase() + "%"));
}

if (age != null) {
    predicates.add(cb.equal(root.get("age"), age));
}

if (active != null) {
    predicates.add(cb.equal(root.get("active"), active));
}

if (!predicates.isEmpty()) {
    Predicate finalPredicate = matchAny
        ? cb.or(predicates.toArray(new Predicate[0]))
        : cb.and(predicates.toArray(new Predicate[0]));
    query.where(finalPredicate);
}

return entityManager.createQuery(query).getResultList();

}

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

79638079

Date: 2025-05-25 21:11:25
Score: 2
Natty:
Report link

When using Vite and your project path is a mapped drive or symlink, set preserveSymlinks to true in vite.config.js. See my linked answer for more details: https://stackoverflow.com/a/79638077/2979955

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (1):
  • No code block (0.5):
  • Starts with a question (0.5): When
  • High reputation (-1):
Posted by: Chris Sprague