79169901

Date: 2024-11-08 11:50:53
Score: 1.5
Natty:
Report link

actually there is no error in the codes, I just hit the debug button instead of hot-reload button from the IDE. but it should show changes when hot reloading because it is only in .xaml and not in .cs

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

79169896

Date: 2024-11-08 11:48:52
Score: 3.5
Natty:
Report link

The version is optional and if not specified SSM will return the latest version

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

79169892

Date: 2024-11-08 11:47:52
Score: 2.5
Natty:
Report link

This is an issue related to the character case not being retained in postgres data sources. We have this issue reported here and a fix should be included in the DataGrip 2024.3 version

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

79169879

Date: 2024-11-08 11:45:52
Score: 0.5
Natty:
Report link

This has worked for me I wanted to nest bottom navigation, and sider navigation on the same place, after struggles I settled for this one [this has worked for me I wanted to nest bottom navigation, and sider navigation on the same place, after struggles I settled for this one

enter image description here

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

79169877

Date: 2024-11-08 11:45:52
Score: 2.5
Natty:
Report link

The answer to my question is actually published at [1]

Only EA releases are released to Maven Central. Releases of stable versions (e.g. x.23) are made to Chronicle’s nexus and are available to customers with a commercial agreement.

[1] https://github.com/OpenHFT/OpenHFT/blob/aa79b18031dbecfd6722aa285a495e87e2d016d5/docs/Version-Support.adoc#ea-early-access

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Antonio Barone

79169867

Date: 2024-11-08 11:43:51
Score: 2
Natty:
Report link

OOM is a kernel function for protect your system. If your request use all mamory, then you can do few moment:

  1. Give a swap memory.
  2. Insert in your server new phisical memory.
  3. Optimize your SQL code.
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Dmitry Lvov

79169866

Date: 2024-11-08 11:43:51
Score: 0.5
Natty:
Report link

In case it helps anyone. The thing that caught me out was trying to put the protocol refererence in my existing Objective-C "ViewController.h" file @interface declaration as I had a lot of other existing protocol and method definitions in the .h file.

@interface ViewController: UITableViewController <AnotherDelegate, CuteDelegate> {....}  ..... @end

But, Objective-C header files can't see the Swift auto generated headers (e.g. "TestObjcUsingGPKit-Swift.h" ) so XCode complained about CuteDelegate being undefined. Finally I found out that you can also add an interface declaration in the .m file as well with just the delegate declarations in if it looks like this:-

@interface () UITableViewController <AnotherDelegate, CuteDelegate>

and still have the .h file declaration looking like this:-

@interface ViewController: UITableViewController
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @interface
  • Low reputation (0.5):
Posted by: goelectric

79169865

Date: 2024-11-08 11:43:51
Score: 0.5
Natty:
Report link
  1. Build a docker image

docker build -t dockerHubUserName/first-image:0.0.1 .

( dockerHubUserName is docker Username, first-image is the project name, 0.0.1 is the tag (versions) and . represent current directory )

  1. Login in Docker

docker login

-> provide id and password

  1. push code in docker hub

docker push iamatif96/eureka-serveer:0.0.1

Reasons:
  • No code block (0.5):
Posted by: Mohammad Atif Aftab

79169863

Date: 2024-11-08 11:42:51
Score: 1
Natty:
Report link

Try to set environnement of SE_ENABLE_TRACING to false in docke-compose.

exemple using commandline with docker run: -e SE_ENABLE_TRACING=false

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

79169859

Date: 2024-11-08 11:41:50
Score: 2.5
Natty:
Report link

Internal clock divider needed to be set to CGC_SYS_CLOCK_DIV_2 (default from manufacturer's XML configs) instead of CGC_SYS_CLOCK_DIV_1. I made some mistake when creating the SDK.

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

79169836

Date: 2024-11-08 11:33:46
Score: 10.5 🚩
Natty: 6
Report link

I have the same problem, have you solved it somehow? It's just inconvenient to output to the terminal

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Blacklisted phrase (2): have you solved it
  • RegEx Blacklisted phrase (1.5): solved it somehow?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Мак вин

79169833

Date: 2024-11-08 11:31:45
Score: 1
Natty:
Report link

I had a similar situation in gitlab-ce. In my case I didn't have to login to gitlab-rails. From the UI as an admin, I just followed below steps

(Admin -> users -> <username> -> Identities - delete LDAP)

(3 dots at top right corner -> 'unblock user')

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

79169816

Date: 2024-11-08 11:24:44
Score: 3.5
Natty:
Report link

it is a bug already fixed and it will be back ported to 8.15.4 https://github.com/elastic/kibana/pull/197797

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: Fabry

79169813

Date: 2024-11-08 11:24:44
Score: 1.5
Natty:
Report link

As mentioned in the comment thread, I think this is an issue with my configuration of VSCode - if I reload the IDE, often times it shows the error and sometimes it does not. tsc or webpack logs no errors.

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

79169812

Date: 2024-11-08 11:24:44
Score: 1.5
Natty:
Report link

A better way to do this is to use scipy.stats.mode which accepts an axis argument.

def find_mode(arr, axis):
    m = stats.mode(arr, axis=axis)
    return m[0]
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ben Silver

79169806

Date: 2024-11-08 11:23:43
Score: 1
Natty:
Report link

Looking on your currency data described relations:

hour_rates (h) = capacities (Ah) / currents (A)
capacities (Ah) = hour_rates (h) * currents (A)
currents (A) = capacities (Ah) / hour_rates (h)

These are not met explicitly in the data you presented. I've created the data which are exactly like the presented results:

capacity_data_corr = capacity[['hour_rates', 'capacities']]
capacity_data_corr['currents'] = capacity_data_corr['capacities']/capacity_data_corr['hour_rates']

Interpolation is almost ideal

enter image description here enter image description here

This means, that the interpolation obtained can be good, but the data does not meet assumed relations. If these relations are only approximate, in such long horizon error like this should not be as bad as it looks.

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

79169801

Date: 2024-11-08 11:22:43
Score: 4.5
Natty:
Report link

If I want to integrate the mail is this the correct way or if it needs modification, can you please guide me

Connect-AzAccount

# Initialize an empty array to store the results
$expirationDetails = @()

# Get all subscriptions
$subscriptions = Get-AzSubscription

# Loop through each subscription
foreach ($subscription in $subscriptions) {
    # Set the context to the current subscription
    Set-AzContext -SubscriptionId $subscription.Id

    # Get all Key Vaults in the current subscription
    $kvnames = Get-AzKeyVault

    foreach ($kvitem in $kvnames) {
        # Get Key Vault secrets, keys, and certificates
        $secrets = Get-AzKeyVaultSecret -VaultName $kvitem.VaultName
        $keys = Get-AzKeyVaultKey -VaultName $kvitem.VaultName
        $certificates = Get-AzKeyVaultCertificate -VaultName $kvitem.VaultName

        # Function to check expiration date and return the expiration DateTime or null for missing values
        function Check-Expiration($expiryDate) {
            if ($expiryDate) {
                return [datetime]$expiryDate  # Return the DateTime object if expiration date exists
            }
            return $null  # Return null if expiration date is missing
        }

        # Function to calculate remaining days
        function Get-RemainingDays($expiryDate) {
            if ($expiryDate -ne $null) {
                $remainingDays = ($expiryDate - (Get-Date)).Days
                return $remainingDays
            }
            return $null  # Return null if no expiration date
        }

        # Process secrets
        foreach ($secret in $secrets) {
            $expirationDate = Check-Expiration $secret.Expires
            $remainingDays = Get-RemainingDays $expirationDate

            if ($expirationDate -ne $null) {
                $formattedExpirationDate = $expirationDate.ToString("MM/dd/yyyy HH:mm:ss")
            } else {
                $formattedExpirationDate = ""  # Empty string for null expiration dates
            }

            # Only include items expiring within the next 7 days
            if ($remainingDays -le 7 -and $remainingDays -ge 0) {
                $expirationDetails += [PSCustomObject]@{
                    SubscriptionName  = $subscription.Name
                    ResourceGroupName = $kvitem.ResourceGroupName
                    ResourceName      = $kvitem.VaultName  # Key Vault name
                    ObjectName        = $secret.Name        # Name of the secret
                    ObjectCategory    = "Secret"            # Category for KeyVault secret
                    ExpirationDate    = $formattedExpirationDate  # Formatted expiration date
                    ExpiresIn         = $remainingDays     # Remaining days until expiration
                }
            }
        }

        # Process keys
        foreach ($key in $keys) {
            $expirationDate = Check-Expiration $key.Attributes.Expires
            $remainingDays = Get-RemainingDays $expirationDate

            if ($expirationDate -ne $null) {
                $formattedExpirationDate = $expirationDate.ToString("MM/dd/yyyy HH:mm:ss")
            } else {
                $formattedExpirationDate = ""  # Empty string for null expiration dates
            }

            # Only include items expiring within the next 7 days
            if ($remainingDays -le 7 -and $remainingDays -ge 0) {
                $expirationDetails += [PSCustomObject]@{
                    SubscriptionName  = $subscription.Name
                    ResourceGroupName = $kvitem.ResourceGroupName
                    ResourceName      = $kvitem.VaultName  # Key Vault name
                    ObjectName        = $key.Name           # Name of the key
                    ObjectCategory    = "Key"               # Category for KeyVault key
                    ExpirationDate    = $formattedExpirationDate  # Formatted expiration date
                    ExpiresIn         = $remainingDays     # Remaining days until expiration
                }
            }
        }

        # Process certificates
        foreach ($certificate in $certificates) {
            $expirationDate = Check-Expiration $certificate.Attributes.Expires
            $remainingDays = Get-RemainingDays $expirationDate

            if ($expirationDate -ne $null) {
                $formattedExpirationDate = $expirationDate.ToString("MM/dd/yyyy HH:mm:ss")
            } else {
                $formattedExpirationDate = ""  # Empty string for null expiration dates
            }

            # Only include items expiring within the next 7 days
            if ($remainingDays -le 7 -and $remainingDays -ge 0) {
                $expirationDetails += [PSCustomObject]@{
                    SubscriptionName  = $subscription.Name
                    ResourceGroupName = $kvitem.ResourceGroupName
                    ResourceName      = $kvitem.VaultName  # Key Vault name
                    ObjectName        = $certificate.Name  # Name of the certificate
                    ObjectCategory    = "Certificate"       # Category for KeyVault certificate
                    ExpirationDate    = $formattedExpirationDate  # Formatted expiration date
                    ExpiresIn         = $remainingDays     # Remaining days until expiratio
                }
            }
        }
    }
}

# Optionally, display the results on the screen
$expirationDetails | Format-Table -Property SubscriptionName, ResourceGroupName, ResourceName, ObjectName, ObjectCategory, ExpirationDate, ExpiresIn

project vaultUri
"@
$result = Search-AzGraph -Query $query

$pwd = ConvertTo-SecureString 'mailtopassword' -AsPlainText -Force
$CredSmtp = New-Object System.Management.Automation.PSCredential ('mail from', $password)$pwd = ConvertTo-SecureString 'mailfrompassword' -AsPlainText -Force
$CredSmtp = New-Object System.Management.Automation.PSCredential ('mail to', $pwd)
$FromMail = "@gmail.com"
$MailTo = "@outlook.com"
$Username = $CredSmtp.UserName
$Password = $CredSmtp.Password
$SmtpServer = "smtp.office365.com"
$Port = 587
$Message = New-Object System.Net.Mail.MailMessage $FromMail, $MailTo
$MessageSubject = "Sending Automation results"
$Message.IsBodyHTML = $true
$Message.Subject = $MessageSubject
$Smtp = New-Object Net.Mail.SmtpClient($SmtpServer, $Port)
$Smtp.EnableSsl = $true
$Smtp.Credentials = New-Object System.Net.NetworkCredential($Username, $Password)
$Smtp.Send($Message)
Reasons:
  • Blacklisted phrase (1): guide me
  • RegEx Blacklisted phrase (2.5): can you please guide me
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Manju S

79169797

Date: 2024-11-08 11:21:43
Score: 2.5
Natty:
Report link

Actually it was quite simple. I used Pythons

subprocess.run("touch foo", shell=True, executable="/bin/bash")

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

79169795

Date: 2024-11-08 11:20:42
Score: 0.5
Natty:
Report link

Macros are text replacements done by the C Preprocessor; a tool that runs over your code before the compiler itself ever sees it, and consequently, before any compile-time constant expressions (such as 5+6) are evaluated.

Most importantly, the preprocessor has no notion of the language you're writing in. It doesn't know any of the syntax or semantics of either C or C++.

This is the main reason why in the C++ world, macros are generally considered "evil" (read: should be avoided unless absolutely necessary). Note that the result you want here, parsing a compile-time-evaluated number into a compile-time-evaluated string, cannot be generally achieved even in the most recent C++ standard revision. constexpr strings do exist, but they do not survive long: See Is it possible to use std::string in a constant expression?

Bottom line: Can't be done, you have to do it at runtime.

Reasons:
  • Blacklisted phrase (1): Is it possible to
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: lo-asys

79169790

Date: 2024-11-08 11:19:42
Score: 0.5
Natty:
Report link

Thanks to the Decompose library owner for providing a quick response and saving my time. Here’s the code for the Android entry point to create two retainedComponent.

class MainActivity : ComponentActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        val (rootComponent, dashBoardRootComponent) = retainedComponent {
            RootComponent(it.childContext("root")) to DashBoardRootComponent(it.childContext("dash"))
        }
        setContent {
            App(rootComponent, dashBoardRootComponent)
        }
    }
}

Here link for original answer by owner. Solution

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

79169786

Date: 2024-11-08 11:17:41
Score: 3
Natty:
Report link

Compiler gives error "GetTotalSheetCount(pSheets)" is undefined. Would you be so kind to give the implementation of this function, please

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

79169784

Date: 2024-11-08 11:17:41
Score: 1
Natty:
Report link

I'm only four years late here and can't comment yet, so adding this as an answer.

It's probably the newer Python & Pandas causing this but this now fires Assertion Error, as the .groupby adds the grouping key to the output.

df["cagr"] = df.groupby("company").apply(lambda x, period: ((x.pct_change(period) + 1) ** (1/period)) - 1, cagr_period)

Simple fix to this is to use group_keys=False

df["cagr"] = df.groupby("company", group_keys=False).apply(lambda x, period: ((x.pct_change(period) + 1) ** (1/period)) - 1, cagr_period)
Reasons:
  • RegEx Blacklisted phrase (1): can't comment
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Arseni

79169770

Date: 2024-11-08 11:11:40
Score: 0.5
Natty:
Report link

After hours of retry, I finally get it.

When downloaded, you must set the path to

flutter config --jdk-dir *JDK-folder-version*/Content/Home

(cause Flutter will search that path/bin/java to determine jdk version)

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

79169762

Date: 2024-11-08 11:09:40
Score: 4.5
Natty: 5
Report link

There is an unoffical Azure App Configuration emulator availaible here https://github.com/tnc1997/azure-app-configuration-emulator

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

79169754

Date: 2024-11-08 11:07:39
Score: 3.5
Natty:
Report link

It is defaulting to anonymous access. Remove everything from the Rest filter chain excpet "Basic" and it will start to work.

enter image description here

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

79169751

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

As of Visual Studio 2022, using Specflow version 3.9.74, when I right click anywhere within the step definition there is an option "Find Step Definition Usages" which is what you are looking for.

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

79169728

Date: 2024-11-08 10:59:36
Score: 0.5
Natty:
Report link

If the customer already has a saved payment method, then why use Checkout Session to create a new Subscription?

Instead, directly create a new Subscription. This way the customer doesn't need to fill any form, and you can directly reuse the existing payment method of the Customer.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: soma

79169727

Date: 2024-11-08 10:59:36
Score: 2.5
Natty:
Report link

You must add the return into your code, else the result will be not passed back😌

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

79169722

Date: 2024-11-08 10:57:35
Score: 4.5
Natty:
Report link

here is a small working example. enter image description here

enter image description here

enter image description here

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

79169719

Date: 2024-11-08 10:56:34
Score: 9
Natty: 7.5
Report link

Did you solve the problem with mentioning someone in groups?

Reasons:
  • RegEx Blacklisted phrase (3): Did you solve the problem
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you solve the
  • Low reputation (1):
Posted by: Alexis Freitas Barboza

79169717

Date: 2024-11-08 10:56:34
Score: 3.5
Natty:
Report link

netsh wlan show profile name="Galaxy A32 2A60" key=clear

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

79169714

Date: 2024-11-08 10:55:34
Score: 1
Natty:
Report link

To prevent needless changes, make use of the @SqlResultSetMapping. Instead of manually altering the results, return a list of DTOs straight from the repository.

Improved Query Technique

WITH DateRange AS (
    SELECT date 
    FROM PrecomputedDateRange 
    WHERE date BETWEEN :fromDate AND :toDate
)
SELECT
    FORMAT(d.date, 'MM/dd/yyyy') AS label,
    COALESCE(SUM(abc.data1), 0) AS data1,
    COALESCE(SUM(abc.data2), 0) AS data2,
    COALESCE(SUM(abc.data3), 0) AS data3
FROM
    DateRange d
LEFT JOIN ABC abc 
    ON abc.date = d.date -- Avoid casting
WHERE filtering1 AND filtering2
GROUP BY d.date
ORDER BY d.date ASC;

You can make better use of indexes and reduce computation by splitting date range computation from the primary query.

since I have not dealt with such large data I will hope that's helpful. and it's better to use Redis or Memecache for caching if this doesn't work.

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

79169713

Date: 2024-11-08 10:55:34
Score: 1
Natty:
Report link

To optimize performance in a large-scale Angular app, you can use lazy loading for modules, OnPush change detection, and RxJS for managing data streams. Implement trackBy with *ngFor, use AOT compilation, and minimize DOM manipulations. Efficient state management with NgRx also helps.

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

79169699

Date: 2024-11-08 10:49:32
Score: 3
Natty:
Report link

Easy to fix. Just use is True.

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

79169697

Date: 2024-11-08 10:48:32
Score: 1
Natty:
Report link

Try a three-finger-press on the screen, this works for me. I saw it on Reddit in some forum. I'm using Expo Go v51 on an iPhone 13.

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

79169674

Date: 2024-11-08 10:43:31
Score: 1
Natty:
Report link

you can run

npx ng serve

To make sure you will use the same version, and to avoid global installation

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

79169668

Date: 2024-11-08 10:42:30
Score: 1
Natty:
Report link

This will help to update the specific Property in the cosmosdb.

List<PatchOperation> patchOperations = new List<PatchOperation>()
{
    PatchOperation.Replace("/property2", "newValue2")
};

await container.PatchItemAsync<object>(id, PartitionKey, patchOperations);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: TiginMannuel

79169661

Date: 2024-11-08 10:40:30
Score: 1.5
Natty:
Report link

you could do it like this:

SQLALCHEMY_ENGINE_OPTIONS = {
    'pool_pre_ping': True,
    ...
}
SQLALCHEMY_BINDS = {
    'users': {
        'url': 'sqlite:///',
        'pool_pre_ping': True,
        ...
    },
    'application': SQLALCHEMY_DATABASE_URI
} 

it's working for me.

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

79169658

Date: 2024-11-08 10:39:29
Score: 1
Natty:
Report link

Since 2022, this has been made possible with arrays in snowflake scripting:

BEGIN
LET values_list := array_construct('Value1', 'Value2', 'Value3');

SELECT *
FROM TableA
WHERE ARRAY_CONTAINS(Col1::VARIANT,:values_list);
END;

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

79169653

Date: 2024-11-08 10:38:29
Score: 4.5
Natty:
Report link

selectsRange={viewMode === 'date'}

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

79169651

Date: 2024-11-08 10:38:29
Score: 1.5
Natty:
Report link

I'll post it here the talk about it from Sébastien Weber : if you click on grab and that the attribute live_mode_available is True then, this live kwargs will also be true and you'll be running the live mode from the plugin not from the control module (means sending the dte_signal as fast as possible)

so i don't think it's deprecated. for more information look at the documentation: https://pymodaq.cnrs.fr/en/5.0.x_dev/developer_folder/instrument_plugins.html#live-mode

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

79169648

Date: 2024-11-08 10:37:29
Score: 4
Natty: 4
Report link

Try and modify your code by adding a + or - sign to the grade like c+ or B-.

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

79169647

Date: 2024-11-08 10:37:28
Score: 1.5
Natty:
Report link

You can try now with the below code. Refresh the session. It will resolve the issue.

spark.conf.set("spark.jars.packages", "org.apache.spark:spark-avro_2.12:3.5.3")
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Srinimf

79169644

Date: 2024-11-08 10:35:28
Score: 1.5
Natty:
Report link

The above answers are superior to this but I did this as an exercise

bc -l <<< $(find dirname -type f -exec sum {} /tmp/{} \; | cut -f1 -d' ' | paste -d- - -) | grep -v 0

I explained it in full here https://stackoverflow.com/a/79169637/504047

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Chai Ang

79169636

Date: 2024-11-08 10:32:27
Score: 1.5
Natty:
Report link

Use this 2 Formula for the data validation

=IF(OR(ISDATE(J14), J14="RECEIVED"), TRUE, FALSE)

OR

=OR(ISDATE(J14),ISTEXT(J14))

Sample Output

Data Validation

sample

sample2

Result on first formula

result

Result on second formula

result

Note: Adjust your data range based on your needs and also edit the given formula

Reference

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

79169632

Date: 2024-11-08 10:31:26
Score: 1.5
Natty:
Report link

Ask admin of team account to follow the following steps:

Then in Xcode accounts team should appear. If not remove and add your appleId in accounts

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

79169610

Date: 2024-11-08 10:25:25
Score: 4
Natty:
Report link

@Ming if I can't reproduce a problem as stated (he said he had a problem not seeing hello output) that means there's no problem as I see it, I ran his code and it ran fine .. hope that's explicit enough :).

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Ming
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Goran B.

79169607

Date: 2024-11-08 10:24:22
Score: 6.5 🚩
Natty:
Report link

I tried the Min health at 50% and max Health and 200%. But for 1 task instance it's still not working. the older task does not stop till i manually stop it. It works for 0 and 100% healths but this causes downtime. Is there a way to prevent this or will I have to use dynamic port mapping and incur the cost of a load balancer?

Reasons:
  • Blacklisted phrase (1): Is there a way
  • Blacklisted phrase (2): still not working
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: harjas sodhi

79169601

Date: 2024-11-08 10:23:21
Score: 1
Natty:
Report link

Why is there such a large performance gap between the native C++ execution and the C# P/Invoke call?

Generally for SIMD in general C++ is performing better than C#, that would naturally explain the time delta here. In fact, the compiler doesn't behave the same when treating the same snippet of code for both language :

C# JIT ASM AVX:

xor         edx,edx                          ; initialise edx (loop counter i) to zero

; LOOP_START
mov         ecx,dword ptr [rsi+8]            ; load vx.Length into ecx
cmp         edx,ecx                          ; if i >= vx.Length
jae         000007FE95B958E7                 ; throw IndexOutOfRangeException
lea         r8d,[rdx+3]                      ; load i+3 into r8d
cmp         r8d,ecx                          ; if i+3 >= vx.Length
jae         000007FE95B958E7                 ; throw IndexOutOfRangeException
movups      xmm0,xmmword ptr [rsi+rdx*4+10h] ; load vx[i..i+3] into xmm0

mov         ecx,dword ptr [rdi+8]            ; load vy.Length into ecx
cmp         edx,ecx                          ; if i >= vy.Length
jae         000007FE95B958E7                 ; throw IndexOutOfRangeException
cmp         r8d,ecx                          ; if i+3 >= vy.Length
jae         000007FE95B958E7                 ; throw IndexOutOfRangeException
movups      xmm1,xmmword ptr [rdi+rdx*4+10h] ; load vy[i..i+3] into xmm1

paddd       xmm0,xmm1                        ; perform SIMD addition of xmm0 and xmm1
mov         ecx,dword ptr [rax+8]            ; load result.Length into ecx
cmp         edx,ecx                          ; if i >= result.Length
jae         000007FE95B958EC                 ; throw ArgumentException
cmp         r8d,ecx                          ; if i+3 >= result.Length
jae         000007FE95B958F1                 ; throw ArgumentException

movups      xmmword ptr [rax+rdx*4+10h],xmm0 ; more result out of xmm0 into the result array

add         edx,4                            ; increment loop counter, i, by 4
cmp         edx,3E8h                         ; if i < 1000 (0x3E8)
jl          000007FE95B9589A                 ; go back to LOOP_START

C++ MSVC2015 AVX2:

; array initialisation and loop setup omitted...

; SIMD_LOOP_START
vmovdqu     ymm1,ymmword ptr [rax-20h]           ; load 8 ints (256 bits) from x into 256-bit register ymm1
vpaddd      ymm1,ymm1,ymmword ptr [rcx+rax-20h]  ; add 8 ints from y to those in ymm1 and store result back in ymm1
vmovdqu     ymmword ptr [r8+rax-20h],ymm1        ; move result out of ymm1 into the result array
vmovdqu     ymm2,ymmword ptr [rax]               ; load the next 8 ints from x into ymm2
vpaddd      ymm1,ymm2,ymmword ptr [rcx+rax]      ; add the next 8 ints from y to those in ymm2 and store the result in ymm1
vmovdqu     ymmword ptr [r8+rax],ymm1            ; move the result out of ymm1 into the result array
lea         rax,[rax+40h]                        ; increment the array indexer by 16 ints (64 bytes)
sub         r9,1                                 ; decrement the loop counter
jne         main+120h                            ; if loop counter != 0 go back to SIMD_LOOP_START

; SIMPLE_LOOP_START
mov         ecx,dword ptr [rbx+rax]              ; load one int from x into ecx
add         ecx,dword ptr [rax]                  ; add one int from y to the value in ecx and store the result in ecx
mov         dword ptr [rdx+rax],ecx              ; move the result out of ecx into the result array
lea         rax,[rax+4]                          ; increment the array indexer by one int (4 bytes)
sub         rdi,1                                ; decrement the loop counter
jne         main+160h                            ; if loop counter != 0 go back to SIMPLE_LOOP_START

Which lead to a conclusion that the compiler when operating C++ is able to auto-vectorize when necessary which gain a lot of execution time.

What can I do to bring the C#-called version closer to the performance of the native C++?

A thing to notice mainly is that vectorized will allways be faster than scalar. You will gain from 1.9 to 3.5 processing time using vectorized byte structure. You're using it in C++ (std::vector<uint8_t> image(width * height)) and not in C# (byte[] image = new byte[width * height];) which can have an effect. Vectorized is better for time saving because AVX2 instruction can operate on 8 or 16 bytes in one clock cycle and so parallelized. Where for the scalar container the processor executes one instruction per data element in sequence.

How does libraries like OpenCvSharp achieve excellent performance with P/Invoke?

OpenCV often avoids byte[] by using Mat objects that directly access the memory pointer that minimizes the marshaling needs.

Conclusion

I would highly recommend using vector instead of scalar container to save time. But keep note that you can use alternative "raw-er" memory storage, with memory pool and raw pointers, but to keep it simple & stupid (KISS) you can use Vectors. Notice that C++ will always be faster than C#, but you can get close.

Reasons:
  • Blacklisted phrase (1): can I do
  • Blacklisted phrase (1): What can I do
  • Whitelisted phrase (-1.5): you can use
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Why is the
  • Low reputation (1):
Posted by: midekyy

79169595

Date: 2024-11-08 10:22:21
Score: 3
Natty:
Report link

but there is an issue that previous ECS service tasks are still running have no changings and still using the previous image this is not the perfect solution i want that when a new changings are made in my code ECS service tasks although they running they must be update with the latest content also if is any issue in the code that i pushed then roll back to previous version until i solve the issue and push the code again

Reasons:
  • RegEx Blacklisted phrase (1): i want
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Muneeb Ur Rehman

79169594

Date: 2024-11-08 10:21:20
Score: 5
Natty:
Report link

So, I just followed step by step this guide and now it works perfectly

Reasons:
  • Blacklisted phrase (1): this guide
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Alextti

79169579

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

Since I know nothing of your existing Code (I guess there isn't one) I can only give you general advice:

logging and integrating to the DAG may be good practice aswell depending on the case Consider Retries if they fit your case

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

79169576

Date: 2024-11-08 10:15:18
Score: 3.5
Natty:
Report link

how can we handle [GETX] Info: _GetImpl Instance of '_GetImpl' runZonedGuarded: PlatformException(-11800, The operation could not be completed, {index: 0}, null) this in app? , i have music app , where I download and play songs , but when I update the app , this downloaded path exists but doest not work. is there any way I can handle this issue?

flutter: setMediaItemInQueue called playFromMediaId title isdownload path : Clap Your Hands true /var/mobile/Containers/Data/Application/E0A30141-D87A-4960-827F-A2C76E6DAD0E/Documents/download/dccd547ede95829b98af67adc8af1ec9.mp3 [GETX] Instance "MusicTrayController" with tag "MusicTrayController" has been initialized flutter: MusicTrayController onInit flutter: musicBottomSheetOption isDownload true [GETX] Info: _GetImpl Instance of '_GetImpl' runZonedGuarded: PlatformException(-11800, The operation could not be completed, {index: 1}, null)

Reasons:
  • Blacklisted phrase (1): how can we
  • Blacklisted phrase (1): is there any
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): how can we
  • Low reputation (0.5):
Posted by: Richa Shah

79169575

Date: 2024-11-08 10:14:18
Score: 0.5
Natty:
Report link

Various authentication methods are available from the google-auth library and refer to this documentation setup authentication.

To Set up ADC with the credentials that are associated with your Google Account. After you install and initialize the gcloud CLI, configure ADC using:

gcloud auth application-default login

For more information, see Set up Application Default Credentials.

Reasons:
  • Blacklisted phrase (1): this document
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: PUTHINEEDI RAMOJI RAO

79169568

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

you could use later versions of confluent-kafka or reverse your pip/python versions

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

79169540

Date: 2024-11-08 10:01:15
Score: 1
Natty:
Report link

EmailJs expects a specific format. Try updating the key value pairs as follows:

to_email: email, 
from_name: 'Email Confirmation',
to_name: email.split('@')[0],  
message: `Please confirm your email by clicking the link: ${confirmationLink}`

change "to" to "to_email" and set "reply_to" to "to_name".

If this doesnt work, make sure your environment variables are properly set in docker and also consider adding logging to help debug errors.

Reasons:
  • Blacklisted phrase (1): doesnt work
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Saad Ali

79169527

Date: 2024-11-08 09:57:14
Score: 1.5
Natty:
Report link

Problem solved, you should have added:

((ViewGroup) view.getParent()).removeView(view);
activity.setContentView(view);

in onInflate() before AppCompatButton btnRebootInternet = view.findViewById(R.id.btn_reboot_nternet);

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

79169526

Date: 2024-11-08 09:57:14
Score: 2.5
Natty:
Report link

Needs a return ..if possible one inside the if condition also and one outside

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

79169521

Date: 2024-11-08 09:56:13
Score: 2
Natty:
Report link

I think you are using this node package on server side '@emailjs/browser'. while this is used for client side only. please use this package https://www.npmjs.com/package/@emailjs/nodejs on server side code.

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

79169518

Date: 2024-11-08 09:55:13
Score: 3
Natty:
Report link

If you want to flash firmware on android, you can try out my app (https://github.com/xCarlost/FirmwareFlasher), which uses esptool and a forked pyserial dependency.

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

79169516

Date: 2024-11-08 09:55:13
Score: 1
Natty:
Report link

Running https permissive could be Okay just for the sake of limited test. Never keep it that way for too long a time and never on a production machine. That being said, if you don't want to go through the message-bus solution, which sounds the more elegant to me, you may want to write your own SELinux policy module to allow httpd_t to transition, via sudo, to a brand new SELinux type/domain of your own, something named like php_wg_restarter_t. And you allow this new type/domain of yours to perform just the legitimate set of operations on the wigeguard service(s). Need that be, you may want to create a specific SELinux type for said wireguard service(s).

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

79169506

Date: 2024-11-08 09:52:13
Score: 2
Natty:
Report link

To resolve the issue of "No supported authentication methods available (server sent: publickey)" with FireZilla, I was able to solve it by modifying the SSH daemon configuration on the server. Here's what worked for me:

Open the SSH daemon configuration file, typically located at

"/etc/ssh/sshd_config"

Add or modify the following lines:

"

PubkeyAuthentication yes

PubkeyAcceptedKeyTypes=+ssh-rsa

"

Save the changes and restart the SSH service using:

"sudo systemctl restart sshd"

This ensures that public key authentication is enabled and that ssh-rsa is explicitly accepted as a key type, resolving compatibility issues that could arise due to key type restrictions. I hope this helps anyone facing similar issues!

Thanks me later !!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): hope this helps
  • Whitelisted phrase (-1): worked for me
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): facing similar issue
  • Low reputation (1):
Posted by: Taukir Katava

79169500

Date: 2024-11-08 09:50:12
Score: 2
Natty:
Report link

--544e5bbf30c6bb3f3eb1ebef4b6b8ce736da91e582e9bff3c054ce049943 Content-Disposition: attachment; filename="ingresso.pdf" Content-Transfer-Encoding: base64 Content-Type: application/pdf; name="ingresso.pdf"

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

79169499

Date: 2024-11-08 09:50:12
Score: 4.5
Natty:
Report link

If you think you've set up everything correctly and it still doesn't work

try to close and reopen Postman

Reasons:
  • RegEx Blacklisted phrase (2): it still doesn't work
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Meta

79169489

Date: 2024-11-08 09:47:11
Score: 2
Natty:
Report link

check you package.json file whether it has scripts as per below?

{ "name": "example", "version": "1.0.0", "description": "description", "scripts": { "test": "echo "Error: no test specified" && exit 1", "start": "node index.js", } }

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

79169482

Date: 2024-11-08 09:44:10
Score: 1.5
Natty:
Report link

I`m not sure, you can try changing to bin path of your java sdk in JAVA_HOME like "C:\Program Files\Java\jdk-23\bin"

OR

Set path "C:\Program Files\Android\Android Studio\jbr" in JAVA_HOME in user variable.Then restart your system and try.

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

79169481

Date: 2024-11-08 09:43:10
Score: 2.5
Natty:
Report link

The answer given by Nabil Jlasssi is right one. However, a few others are saying they are still getting the same error, because "set 18363" is for specifically this question posted by the joe-khoa. Since his error message is showing "Enterprise version 15063 to run".

You have to set the number whatever your error message is showing. For example, I had "19044 or more", so I set to 19045 and it worked.

Edit Windows Version in Registry

Press Windows + R and write regedit In the Registry Editor, go to \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion

Right-click on EditionID and click Modify

Change Value Data to Professional

Edit Windows CurrentBuild (set 'your specific number') and CurrentBuildNumber (set 'your specific number') with the same way.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): getting the same error
  • Low reputation (1):
Posted by: Prince Zuko

79169476

Date: 2024-11-08 09:42:10
Score: 2
Natty:
Report link

Have different vehicles for different sets, and fix the indices in that set to be visited by the mapped vehicle only. So you would have "k" routes with "k" vehicles on "k" mutually exclusive sets.

Then you can choose, which route is the optimal for your use case.

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

79169472

Date: 2024-11-08 09:41:10
Score: 3.5
Natty:
Report link

It appears that the cuda architecture has been added to the namespace name for thrust objects in order to avoid collisions from shared libraries compiled with different architectures, see section Symbols visibility in: https://github.com/NVIDIA/cccl?tab=readme-ov-file#application-binary-interface-abi https://github.com/NVIDIA/cccl/issues/2737

So not a bug per se, but rather an expected side effect of recent changes to address other issues.

Thanks to https://github.com/jrhemstad and https://forums.developer.nvidia.com/u/Robert_Crovella for the answer.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Probably link only (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: RichardSmithLab

79169468

Date: 2024-11-08 09:40:09
Score: 1
Natty:
Report link

Just add JsonPropertyOrder attribute to the property of your model which want to order list to it. but it's order number should be -1 to set the first order.

example:

utepublic class Vehicle
{
    [JsonPropertyOrder(-1)]
    public int Id { get; set; }
    public string? Manufacturer { get; set; }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Seyyed Mahdi Seyyed Hosseini

79169452

Date: 2024-11-08 09:32:08
Score: 1.5
Natty:
Report link

I did not find a solution to solving ModuleNotFoundError: No module named 'geonode' and the unhealthy docker container, but after searching through issues and discussions on the GitHub GeoNode repostitory I found a blueprint for installing GeoNode with docker. The blueprint is created by a german GeoNode community and works without raising any errors for me.

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

79169449

Date: 2024-11-08 09:30:07
Score: 1.5
Natty:
Report link

I finally found a solution/workaround for my problem.

I forced the http protocol version to be 1.1

httpRequest.Version = HttpVersion.Version11;

I had tried to set the azure web site to accept http 2.0 but this kept giving me :

The HTTP/2 server sent invalid data on the connection. HTTP/2 error code 'PROTOCOL_ERROR' (0x1). (HttpProtocolError) ---> System.Net.Http.HttpProtocolException: The HTTP/2 server sent invalid data on the connection. HTTP/2 error code 'PROTOCOL_ERROR' (0x1). (HttpProtocolError) at System.Net.Http.Http2Connection.ThrowRequestAborted.

It seems that HttpClient defaults to 2.0 and that is causing issues when calling azure web app internally. I don't know why.

Any further explations would be wellcomed.

Thank you

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Kostas Xagoraris

79169444

Date: 2024-11-08 09:28:07
Score: 0.5
Natty:
Report link

I tried it using the attached workbook and the below code, if worked for me:

Sub test()
   Dim i As Integer
   i = 3
   ActiveSheet.Range("A" & i).Formula = "=COUNTIFS('SpreadsheetA'!J:J,TEST!B" & i & ",'SpreadsheetA'!D:D,"" > ""&Control!C5)"
End Sub

See attached images for the data. Omage 1

Image 2

Image 3

Image 4

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: MyExcelDeveloper.com

79169438

Date: 2024-11-08 09:26:06
Score: 3.5
Natty:
Report link

This is correct solution for Certificate and key file in .NET framework.

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

79169436

Date: 2024-11-08 09:25:06
Score: 1.5
Natty:
Report link
    localStorage.setItem('theme', theme);

But if you use SSR cookies for themes, your site won't flash when loading.

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

79169434

Date: 2024-11-08 09:25:06
Score: 3.5
Natty:
Report link

I agree with @stepthom and @Onur Ece. But consider the case, in which only two users have only one common category. if we thus calculate the cosine similarity in only this dimension, the result will always be 1 (since the angle is zero). Even if the ratings are highly different.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @stepthom
  • User mentioned (0): @Onur
  • Single line (0.5):
  • Low reputation (1):
Posted by: user28194798

79169427

Date: 2024-11-08 09:22:05
Score: 2
Natty:
Report link

you probaby using an older version of airflow file pattern was introduced in airflow 2.5 specifically with the apache-airflow-providers-sftp provider update 4.1.0. This addition allowed the sensor to filter files using wildcard patterns,

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

79169426

Date: 2024-11-08 09:22:05
Score: 2.5
Natty:
Report link

For me, removing the virtual: true parameter I had previously added solved the problem.

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

79169425

Date: 2024-11-08 09:22:05
Score: 2
Natty:
Report link
  1. configure the ssh to your Piku repository
  2. clone with http from Gitea
  3. change the remote URL to use Piku SSH

git remote -v
git remote set-url origin [email protected]:organization/repo.git

  1. push to Piku
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: daoz1026

79169421

Date: 2024-11-08 09:20:05
Score: 1
Natty:
Report link

Fast forward almost a decade since this question was originally posted and 64-bit is now the way to run .NET Function apps in isolated process.

If you do not run in 64-bit you get this warning in the Azure portal:

Availability risk alerts
Your .NET Isolated Function app is not running as a 64 bit process. This app is not optimized to avoid long cold start times. To avoid this issue please ensure that your app is set to run as a 64 bit process. This is documented at Guide for running C# Azure Functions in an isolated worker process

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

79169414

Date: 2024-11-08 09:17:04
Score: 3
Natty:
Report link

You should add the dependency to optimizeDeps.exclude in your vite.config.js.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Karl-Sander Erss

79169410

Date: 2024-11-08 09:15:04
Score: 3.5
Natty:
Report link

"Try using autofocus in the input field; it might help you."

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

79169393

Date: 2024-11-08 09:10:03
Score: 1.5
Natty:
Report link
routing.AddDimension(
    transit_callback_index,
    0,
    1000, #your upper limit on the length of the largest route 
    True,
    "Distance")
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Shivam Goyal

79169391

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

and the perform method should be called like this:

person.perform(work: { p in "\(p.name) is working"})
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: 倪竹逸

79169381

Date: 2024-11-08 09:04:01
Score: 0.5
Natty:
Report link

I think a few notes and examples can help you.

  1. "Return 0" - it is error! Pam uses her own variables. Next code for example https://github.com/Ralnoc/pam-python/blob/master/examples/pam_deny.py
  2. Send message. Show example for it https://pam-python.sourceforge.net/examples/pam_nologin.py
  3. Selecting the verification stage.Have you selected the "auth requisite" verification stage correctly? Our actions can be performed at 4 stages: account,auth,password,session
login account requisite pam_python.so pam_accept.py
login auth requisite pam_python.so pam_accept.py
login password requisite pam_python.so pam_accept.py
login session requisite pam_python.so pam_accept.py
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Dmitry Lvov

79169372

Date: 2024-11-08 09:02:00
Score: 1
Natty:
Report link

I solved the issue by replacing --readFilesCommand zcat by --readFilesCommand gunzip -c

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: gecko007

79169364

Date: 2024-11-08 08:59:59
Score: 2
Natty:
Report link

Hibernate is unable to accomplish this. Your only option is to declare a stored procedure and call it.

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

79169348

Date: 2024-11-08 08:53:58
Score: 1
Natty:
Report link

i know this question is old but i think this short example could help others as well.

I would access the element by its ID and change the innerText.

  1. HMTL-Client side:

    function buttonSendStringFromInput(){ var string = document.getElementById("inputfield").innerText; socket.emit("getStringfromHTML", string); }

2.Node Express-Server side:

socket.on("getStringfromHTML", (string) => { console.log(string);

// string changes var stringNew = ....

socket.emit("getNewString", stringNew); // Your client re-render without page reload

socket.broadcast.emit("getNewString", stringNew); // Re-render for all clients who are conntected to your page });

  1. HMTL-Client side:
socket.on("getNewString", (string) => { console.log(string); document.getElementById("inputfield").innerText = string; });

There is no need to reload the page :)

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

79169344

Date: 2024-11-08 08:52:58
Score: 2
Natty:
Report link

For anyone wondering these are warning for media playback and video rendering and won't affect anything. It's just something about color volume in HDR and colorimetry for digital video.

if you're using Visual Studio Code, in Debug Console's filter field write this: !IMGMapper. It'll get rid of them.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: The Online Explorer

79169343

Date: 2024-11-08 08:51:57
Score: 3
Natty:
Report link

Guide to Men's T-Shirts & Shirts: Fit, Style, and Comfort

Discover the ultimate guide to men's t-shirts and shirts with a focus on fit, style, and comfort. We help you choose the right options that suit your body type, preferences, and occasions, ensuring you look and feel your best at all times.

Reasons:
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: stitchsway

79169334

Date: 2024-11-08 08:49:57
Score: 2
Natty:
Report link

Didn't work for me either, even after installing the Pixi VSCode extension. Solved after adding ipykernel and pip to the pixi environment:

pixi add ipykernel pip
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Starts with a question (0.5): Did
  • Low reputation (1):
Posted by: carolient

79169330

Date: 2024-11-08 08:48:56
Score: 0.5
Natty:
Report link

Checkout this best practices guide for more details - https://github.com/aws/aws-sdk-java-v2/blob/97ee691a1a4f689a238f4a92acc4908f87979f05/docs/BestPractices.md?plain=1#L56

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

79169326

Date: 2024-11-08 08:46:56
Score: 0.5
Natty:
Report link

In the same way than @Razor, we can create a shorter global function/helper, ddx(), that will automatically dump, die, and expand without limit:

use Symfony\Component\VarDumper\VarDumper;
use Symfony\Component\VarDumper\Cloner\VarCloner;
use Symfony\Component\VarDumper\Dumper\HtmlDumper;

/**
 * Dump, die and expand
 *
 * @param  mixed  $vars
 * @return never
 */
function ddx(mixed ...$vars): never
{
    $cloner = new VarCloner();
    $cloner->setMaxItems(-1);  // No limit on the number of items
    
    $dumper = new HtmlDumper();
    $dumper->setDisplayOptions(['maxDepth' => 999999999]);

    VarDumper::setHandler(function ($var) use ($cloner, $dumper) {
        $dumper->dump($cloner->cloneVar($var));
    });

    foreach ($vars as $var) {
        VarDumper::dump($var);
    }

    die(1);
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Razor
  • Low reputation (0.5):
Posted by: Florian Richard

79169323

Date: 2024-11-08 08:45:56
Score: 4.5
Natty: 4
Report link

The answer shown above seems very good.

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

79169317

Date: 2024-11-08 08:43:55
Score: 2
Natty:
Report link

I was also having this issue for a while, I did the following to make it work again:

Go to Settings > Permalinks and click on "Save Changes" to re-generate the permalinks. Go to Appearance > Elementor Header and Footer Builder then click on the "Edit with Elementor"

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

79169313

Date: 2024-11-08 08:40:54
Score: 3.5
Natty:
Report link

I have asame problem in System.IdentityModel.Tokens.Jwt version 8.0.0(the default of .core 8) its mandatory but they fix it in version 8.2.0 https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases

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

79169311

Date: 2024-11-08 08:40:54
Score: 2.5
Natty:
Report link

It's helped me:

StringUtils.normalizeSpace(message)
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: artmuz42

79169300

Date: 2024-11-08 08:35:53
Score: 2
Natty:
Report link

You are likely running into Github issue (Seleniu-driverless, not SB).

Therefore, this is probably a bug in Seleniumbase. You might consider submitting an issue at github.com/seleniumbase/SeleniumBase/issues

As a workaround, try downgrading to chrome<130, for example over the links at github.com/ScoopInstaller/Extras/commits/master/bucket/googlechrome.json

Disclaimer: I am the developer at driverless

Reasons:
  • Probably link only (1):
  • Contains signature (1):
  • Low length (0.5):
  • Has code block (-0.5):
Posted by: kaliiiiiiiii

79169294

Date: 2024-11-08 08:31:52
Score: 2
Natty:
Report link

Everyone chooses a product to their liking. I have no experience with portability, but questions on forums indicate that it is not complete. First of all, you should look at the tasks that you close with PAM (count of modules in open PAM is 23 vs 43 in PAM Linux). If you can write your own modules, as I do, then I think the choice of product will only be of an ideological nature.

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

79169293

Date: 2024-11-08 08:31:52
Score: 3.5
Natty:
Report link

[enter image description here][1]

[1]: trigger ka dono arbat ak sath connect nahin ho raha hai https://i.sstatic.net/CU2wuHtr.jpg

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