79298672

Date: 2024-12-21 00:28:32
Score: 2.5
Natty:
Report link

On step 7 , which activity is used for the expression:

@greater(formatDateTime(activity('Get Metadata2').output.lastModified,'yyyyMMddHHmmss'), formatDateTime(variables('LatestModifiedDate'),'yyyyMMddHHmmss'))

thank you

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: MexiqueInc

79298669

Date: 2024-12-21 00:21:31
Score: 1.5
Natty:
Report link

You could try and register an 'extendInpuTtype'. This will help achieve your goal. However, there is some limitations with using the shiny widgets extension input for instance when displaying the choices in the ui. see code example below. You can play around with the various shiny inputs to see what will be aesthetically pleasing and consistent with your ui desires.

library(shiny)
library(shinysurveys)

df_1 <- data.frame(question = "what is your favorite food",
                   option = NA,
                   input_type = "slider",
                   input_id = rep("ID1", 7),
                   dependence = NA,
                   dependence_value = NA,
                   required = TRUE
)


df_2 <- data.frame(question = "Why is this your favorite food?",
                   option = NA,
                   input_type = "textSlider",
                   input_id = rep("ID2", 7),
                   dependence = rep("ID1", 7),
                   dependence_value = rep("1", 7),
                   required = TRUE
)

  extendInputType(input_type = "slider", {
  shiny::sliderInput(
    inputId = surveyID(),
    label = surveyLabel(),
    min = 0,
    max = 5,
    value = 0
  ) 
})


  extendInputType("textSlider", {
    shinyWidgets::sliderTextInput(
      inputId = surveyID(),
      label = surveyLabel(),
      force_edges = TRUE,
      choices = c("I Love it",  "It's all I can afford")
    )
  })

df_merged <- rbind(df_1, df_2)

#create user interface
ui <- fluidPage(
  surveyOutput(df = df_merged,
               survey_title = "Dependant Qustionaire",
               survey_description = "This is a two part survey that only shows the next question when the correct answer is provided to the first"))



#specify server function
server <- function(input, output, session) {
  renderSurvey()
  
  observeEvent(input$submit, {
    showModal(modalDialog(
      title = "Survey End!"
    ))
  })
}


shinyApp(ui, server) 

Reasons:
  • Blacklisted phrase (1): what is your
  • RegEx Blacklisted phrase (0.5): Why is this
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user28876813

79298655

Date: 2024-12-21 00:16:30
Score: 1
Natty:
Report link

An alternative I found is to just restart the session:

function rl { # Reload powershell
    Write-Output "Restarting powershell..."
    & powershell -NoExit -Command "Set-Location -Path $(Get-Location)"
    exit
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Charlie Hebert

79298647

Date: 2024-12-21 00:10:29
Score: 1
Natty:
Report link

This technique is useful when you need to collect the items (e.g., steps of a stepper component) before rendering them in the UI.

For example, if you want to have a divider component rendered after each step, except the last one, you would need to init and collect all the steps first, and then you can conditionally render the dividers.

This is the great technique to fully initialize a composition component and delay its rendering logic.

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

79298645

Date: 2024-12-21 00:09:28
Score: 2.5
Natty:
Report link

There is no automated way to map your custom events or dimensions manually.

You need to manually map your customEvent:firebase_event_origin to a custom dimension when you configure the importer.

Unsupported GA Dimensions

A event would probably be in the action scope, and dimension in a visit scope. Just be aware of the scope limitation:

Custom dimensions with scope=item is ignored during import as Matomo currently supports visit and action level dimensions only.

Limitations when importing google-analytics data

Depending on if you're using Matomo Cloud or On-prem, Matomo has 5 to 15 CustomDimensions per default, if you're expecting more than that, you would probably have to increase that number as well.

How do I add more than the default 5 custom dimensions?

Reasons:
  • Blacklisted phrase (1): How do I
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Jorgeuos

79298632

Date: 2024-12-20 23:49:25
Score: 2.5
Natty:
Report link

I have try with the Docker Desktop 4.37.1 (178610).

And with your command i have this result :

docker pull mcr.microsoft.com/azure-storage/azurite
Using default tag: latest
latest: Pulling from azure-storage/azurite
1207c741d8c9: Pull complete
854bbbc098b2: Pull complete
d30ccb81ed57: Pull complete
74a11634af6c: Pull complete
54206864b362: Pull complete
50a691c5108d: Pull complete
c1a537154c77: Pull complete
0eba5b1d04af: Pull complete
8138bbd44987: Pull complete
453690f47a16: Pull complete
Digest: sha256:2628ee10a72833cc344b9d194cd8b245543892b307d16cf26a2cf55a15b816af
Status: Downloaded newer image for mcr.microsoft.com/azure-storage/azurite:latest
mcr.microsoft.com/azure-storage/azurite:latest

What's next:
    View a summary of image vulnerabilities and recommendations → docker scout quickview mcr.microsoft.com/azure-storage/azurite

What is your version of docker ? And, your image container have many vulnerabilities, i don't recommand you to use it. Perhaps, an issue with your DNS ?

Reasons:
  • Blacklisted phrase (1): What is your
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Hadrien Valet

79298626

Date: 2024-12-20 23:44:24
Score: 1.5
Natty:
Report link

You can try the following iPhone app that also runs on iPads and iMac:

https://apps.apple.com/us/app/my-risc/id6621199819

The same developer has others apps like gccLab or jork-Linux including Fortran compilers

Reasons:
  • Whitelisted phrase (-1): try the following
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Luis Acevedo-Arreguin

79298622

Date: 2024-12-20 23:41:24
Score: 2.5
Natty:
Report link

I would like to add that

awk '{FS="|";OFS="\t"} {print $1,$2,$3,$4,$5}'

and

awk '{print $1,$2,$3,$4,$5} {FS="|";OFS="\t"}'

have the almost the outputs in my version of awk

with FSOFS first adding 1 extra \t at the end of first line.

@Thor has the best answer https://stackoverflow.com/a/16203497/22188182

#simplest
awk '{print $1,$2}' FS=',' OFS='|'
#most powerful for more complex FS
awk 'BEGIN {FS="|"; OFS="\t"} {print $1, $2}' file
#clean
awk -v FS='|' -v OFS='\t' '{print $1, $2}' file
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Has code block (-0.5):
  • User mentioned (1): @Thor
  • Low reputation (1):
Posted by: Shiyi Yin

79298618

Date: 2024-12-20 23:39:23
Score: 1
Natty:
Report link

In the main process, you can get the version from package.json with app.getVersion():

const { app } = require('electron');
const version = app.getVersion();

This may give you an unexpected result (the version of the Electron binary) when running your app in local development mode. (See GitHub issue #7085.)

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

79298610

Date: 2024-12-20 23:34:22
Score: 0.5
Natty:
Report link

Just leaving this here in case this helps someone. In my case of using Visual Studio 2022, while trying to connect to Azure SQL database, I received the error login failed for user "Token-identified principal". This was happening because my ID only have had access to a certain database and looks like if I don't provide any database name in the field "Select the database", it was trying to login to default database using my ID. So all I did was to provide the database name and it worked perfectly. I am using "Azure Directory - Universal with MFA Support" for authentication.

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

79298599

Date: 2024-12-20 23:26:19
Score: 4
Natty:
Report link

set -- ${INSTANCEID[*]}

echo $@

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

79298591

Date: 2024-12-20 23:22:18
Score: 0.5
Natty:
Report link

If I understand the request well, the second workflow needs to be run on main branch and not A. One way to achieve is using git checkout in Second workflow like below:

steps:
      - name: Checkout branch
        run: |
          git checkout main
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: biggboss2019

79298585

Date: 2024-12-20 23:18:17
Score: 4.5
Natty:
Report link

I have read this documentation : https://jfrog.com/help/r/how-to-grant-an-anonymous-user-access-to-specific-repositories/artifactory-how-to-grant-an-anonymous-user-access-to-specific-repositories

And with the screenshot you can see that you can give permission to anonymous users only at the repositories you have selected before.

Reasons:
  • Blacklisted phrase (1): this document
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hadrien Valet

79298584

Date: 2024-12-20 23:18:17
Score: 2
Natty:
Report link

There seems to be a mismatch between gem versions. You should post your Gemfile and Gemfile.lock and try updating what you can without breakage. "Before v1.12.0, Nokogiri::HTML4 did not exist," https://nokogiri.org/rdoc/Nokogiri/HTML4.html, so see what Nokogiri version you have and try to update it.

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

79298581

Date: 2024-12-20 23:16:16
Score: 5
Natty:
Report link

I'm sorry for taking so long to reply. But I only found a solution recently. I'll leave it here in case other users have the same problem. I developed a SwifPM to handle StoreKit 2 in cases where there is no internet (offline) or airplane mode. The repository is: Offline StoreKit 2

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): have the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Fabio Borelli

79298573

Date: 2024-12-20 23:14:14
Score: 7 🚩
Natty: 5.5
Report link

How would you procedurally start searching from the end of the list if it kept extending over time, rather than a hard coded A17?

Reasons:
  • Blacklisted phrase (1): How would you
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How would you
  • Low reputation (1):
Posted by: Eric Hickman

79298569

Date: 2024-12-20 23:11:13
Score: 2.5
Natty:
Report link

Try to rename methods GetAll and GetById - both are available in query classes. GraphQL requires unique methods names.

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

79298566

Date: 2024-12-20 23:10:13
Score: 1.5
Natty:
Report link

Did you follow the documentation for Colorist? It seems like you're mixing the concepts.

For example, if you want to print a full line of coloured text, it's easiest to this this:

from colorist import red

red("hello world")

Or you can also add colour to specific parts of the text string for more customisation:

from colorist import Color

print(f"hello {Color.RED}world{Color.OFF}")

In full transparency, I'm the author of Colorist.

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
Posted by: Jakob Bagterp

79298559

Date: 2024-12-20 23:05:12
Score: 0.5
Natty:
Report link

Closing Android Studio worked for me without restarting computer.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Nik

79298558

Date: 2024-12-20 23:04:12
Score: 1
Natty:
Report link

I have used a regex to replace / to change it to a https:// path.

const fileConents = `import { test } from "/some-path.js"`
  .replaceAll(/(^import [^"]+")\//gm, `$1${window.origin}/`);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Bart Louwers

79298547

Date: 2024-12-20 22:54:10
Score: 2
Natty:
Report link

In order to investigate what caused the "ModelError", you need to check the logs from the model container. Logs from endpoints are emit to "/aws/sagemaker/Endpoints/[EndpointName]". Please check if you see more specific error message there.

For more information where SageMaker emits logs, see this document page: https://docs.aws.amazon.com/sagemaker/latest/dg/logging-cloudwatch.html

Reasons:
  • Blacklisted phrase (1): this document
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Tomonori Shimomura

79298540

Date: 2024-12-20 22:47:09
Score: 3.5
Natty:
Report link

Getimagesize is very expensive function to get the image details, it will slow the process. I will not recommend it to use on loop.

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

79298529

Date: 2024-12-20 22:40:07
Score: 1.5
Natty:
Report link
keys = ['a','b','c','d']
A = [1,2,3,4]
B = [9,2,1,2]
C = [4,1,2,3]

hu = dict(zip(keys,zip(A,B,C)))
hu

result:
{'a': (1, 9, 4), 'b': (2, 2, 1), 'c': (3, 1, 2), 'd': (4, 2, 3)}

hu['a'][0] --> 1
hu['a'][1] --> 9
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Huhu

79298519

Date: 2024-12-20 22:28:05
Score: 1
Natty:
Report link

You can change nullability for data property, not for itemSetting property (what do I mean: https://github.com/RenatV/FilterIssueTest) or use new extra fied as itemSetting is null mark and check them (itemSetting property also must be notNullable public ItemSetting ItemSetting { get; set; } = new();).

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

79298514

Date: 2024-12-20 22:26:05
Score: 2.5
Natty:
Report link

You could try downgrading the sass-rails gem to an older version than 6.0. 5.1 would probably not need the sassc gem.

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

79298511

Date: 2024-12-20 22:22:03
Score: 4
Natty:
Report link

In this documentation, you can read that by default, IAM users and roles don’t have permission to create or modify Amazon EKS resources : https://docs.aws.amazon.com/eks/latest/userguide/security-iam-id-based-policy-examples.html#:~:text=By%20default%2C%20IAM%20users%20and%20roles%20don%E2%80%99t%20have,AWS%20Management%20Console%2C%20AWS%20CLI%2C%20or%20AWS%20API.

So, you have to create one or many specific permission for the user or group that want to list resource "nodes" in API group "" at the cluster scope.

Reasons:
  • Blacklisted phrase (1): this document
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hadrien Valet

79298500

Date: 2024-12-20 22:15:01
Score: 0.5
Natty:
Report link

As a first step to investigate this error, please check if this error reproduces in your local environment by installing xgboost locally.

If this error reproduces also locally, you can eliminate amazon-web-services / amazon-sagemaker tags from this post.

It is also recommended to add some information how you are calling the xgboost APIs to load the model, and how your model files are structured under the extracted model directory, as the error may be happening because of how the model is structured, and how to load it.

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

79298487

Date: 2024-12-20 22:02:59
Score: 3.5
Natty:
Report link

See the following link for an explanation:
https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/data-type-summary

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

79298481

Date: 2024-12-20 21:59:58
Score: 1.5
Natty:
Report link

From https://docs.jboss.org/hibernate/orm/6.0/userguide/html_single/Hibernate_User_Guide.html#basic-type-annotation UserTypeLegacyBridge provides a way to use legacy named types:

@Type(value = UserTypeLegacyBridge.class, parameters = @Parameter(name = UserTypeLegacyBridge.TYPE_NAME_PARAM_KEY, value = "text"))
private String someText;
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Aleksey Krichevskiy

79298480

Date: 2024-12-20 21:58:58
Score: 2
Natty:
Report link

My advice for those who keep getting this error: Try uploading your code manually

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Leonardo Gabriel Pivatto

79298470

Date: 2024-12-20 21:50:56
Score: 0.5
Natty:
Report link

You can use:

type PubSubEvents = {
  CHANGE_EVENT: string;
}

or add an explicit index signature:

interface PubSubEvents {
  CHANGE_EVENT: string;

  [event: string]: unknown;
}

References:

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

79298464

Date: 2024-12-20 21:48:56
Score: 1
Natty:
Report link

graph


import java.util.Arrays;

/**
 * Benchmark for the performance of iterative and recursive binary search algorithms.
 * It measures execution time and approximates memory usage for various dataset sizes.
 */
public class BinarySearchBenchmark {

    /**
     * The main method that runs the benchmarks for iterative and recursive binary search algorithms
     * for different dataset sizes.
     *
     * @param args Command line arguments (not used)
     */
    public static void main(String[] args) {
        long[] dataset = new long[200_000];
        for (long i = 0; i < dataset.length; i++) {
            dataset[(int) i] = i;
        }

        long[] testSizes = {1_000_000, 2_000_000, 3_000_000, 4_000_000, 5_000_000, 6_000_000, 7_000_000, 8_000_000,
                9_000_000, 10_000_000, 20_000_000, 30_000_000, 40_000_000, 50_000_000, 60_000_000,
                70_000_000, 80_000_000, 90_000_000, 100_000_000, 200_000_000, 300_000_000,
                400_000_000, 500_000_000, 600_000_000, 700_000_000, 800_000_000, 900_000_000,
                1_000_000_000};

        System.out.printf("%-15s %-20s %-20s %-20s %-20s%n",
                "Input Size (n)", "Iterative Time (ns)", "Recursive Time (ns)",
                "Iterative Memory (bytes)", "Recursive Memory (bytes)");

        for (long size : testSizes) {
            long[] subDataset = Arrays.copyOf(dataset, (int) size);
            long target = subDataset[(int) (size / 2)];

            long iterativeTime = benchmark(() -> iterativeBinarySearch(subDataset, target));
            long iterativeMemoryUsed = measureIterativeMemoryUsage(subDataset);

            long recursiveTime = benchmark(() -> recursiveBinarySearch(subDataset, 0, subDataset.length - 1, target));
            long recursiveMemoryUsed = measureRecursiveMemoryUsage(subDataset);

            System.out.printf("%-15d %-20d %-20d %-20d %-20d%n",
                    size,
                    iterativeTime,
                    recursiveTime,
                    iterativeMemoryUsed,
                    recursiveMemoryUsed);
        }
    }

    /**
     * Performs the iterative binary search on the given array.
     *
     * @param array  The array on which the search is performed
     * @param target The target number to search for
     */
    private static void iterativeBinarySearch(long[] array, long target) {
        long low = 0, high = array.length - 1;
        while (low <= high) {
            long mid = low + (high - low) / 2;
            if (array[(int) mid] == target) return;

            if (array[(int) mid] < target) low = mid + 1;
            else high = mid - 1;
        }
    }

    /**
     * Performs the recursive binary search on the given array.
     *
     * @param array  The array on which the search is performed
     * @param low    The lowest index of the search range
     * @param high   The highest index of the search range
     * @param target The target number to search for
     * @return The index of the target number, or -1 if not found
     */
    private static int recursiveBinarySearch(long[] array, long low, long high, long target) {
        if (low > high) return -1;
        long mid = low + (high - low) / 2;
        if (array[(int) mid] == target) return (int) mid;

        if (array[(int) mid] < target) return recursiveBinarySearch(array, mid + 1, high, target);
        return recursiveBinarySearch(array, low, mid - 1, target);
    }

    /**
     * Measures the time it takes to run the given search function.
     *
     * @param search The search function to measure
     * @return The time in nanoseconds
     */
    private static long benchmark(Runnable search) {
        long startTime = System.nanoTime();
        for (int i = 0; i < 100; i++) {
            search.run();
        }
        return System.nanoTime() - startTime;
    }

    /**
     * Measures the memory usage during the execution of the given search function for the iterative binary search.
     *
     * @param array The array on which the search is performed
     * @return The memory usage in bytes
     */
    private static long measureIterativeMemoryUsage(long[] array) {
        System.gc();
        long beforeMemory = getUsedMemory();
        iterativeBinarySearch(array, array[0]);
        long afterMemory = getUsedMemory();

        long arrayMemory = (long) array.length * Long.BYTES;
        long overheadMemory = 3 * Long.BYTES;

        return (afterMemory - beforeMemory) + arrayMemory + overheadMemory;
    }

    /**
     * Measures the memory usage during the execution of the given search function for the recursive binary search.
     *
     * @param array The array on which the search is performed
     * @return The memory usage in bytes
     */
    private static long measureRecursiveMemoryUsage(long[] array) {
        System.gc();
        int depth = (int) (Math.log(array.length) / Math.log(2));
        long stackMemoryPerFrame = 128;

        return depth * stackMemoryPerFrame;
    }

    /**
     * Gets the used memory in the JVM in bytes.
     *
     * @return The used memory in bytes
     */
    private static long getUsedMemory() {
        return Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory();
    }
}
Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Lucky

79298463

Date: 2024-12-20 21:48:56
Score: 2
Natty:
Report link

This is how AWS is doing it. They're dynamically writing the SSM Parameter Names into a .json file and then calling GetParameter in the function.

https://github.com/aws-samples/cognito-at-edge-federated-ui-sample/blob/a49f0cc15a4c5bad973fe109abcf9d4d701cf160/infrastructure/lib/constructs/app-cdn.ts#L120

https://github.com/aws-samples/cognito-at-edge-federated-ui-sample/blob/a49f0cc15a4c5bad973fe109abcf9d4d701cf160/infrastructure/lib/constructs/app-cdn.auth-handler.ts#L5

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

79298460

Date: 2024-12-20 21:47:56
Score: 0.5
Natty:
Report link

You can slice the dataframe by using the informatioa from GroupBy:

g = df.groupby("SN")["Amount"].max()
df = df.loc[df["SN"].isin(g.index) & df["Amount"].isin(g.values)].reset_index(drop=True)
display(df)

    SN  Category    Amount
0   1   Cat2        3000
1   2   Cat22       5000
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: rehaqds

79298452

Date: 2024-12-20 21:44:55
Score: 0.5
Natty:
Report link

In your code where constructing ProcessingStep, you are specifying two ProcessingInputs and they have same destination path ("/opt/ml/processing/input"). Seeing the ml-ops sample notebooks in the amazon-sagemaker-examples repo, they use different destination paths when using multiple ProcessingInputs. Please try specifying different paths and check if the issue resolves.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Tomonori Shimomura

79298445

Date: 2024-12-20 21:41:54
Score: 3.5
Natty:
Report link

If you are on windows 11 use

http://host.docker.internal:11434 as the Base URL on your connection credentials to for Ollama Account.

Self n8n via Docker conneted to Ollama on local Machine

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

79298442

Date: 2024-12-20 21:39:52
Score: 6 🚩
Natty:
Report link

@Abdul : I ran into same issue but the solution you mentioned didn't work for me. Is there anything else that you did, but forgot to capture in your solution here? As per my understanding, the overlay network creates a routing mesh, so doesn't matter which IP you use to access the service on the swarm/cluster, the service will still be hit. I am using a cluster of VMs managed by multipass and orchestrated by Docker Swarm. I have same two containers as your - drupal:9 and postgres:14. When I took the IP (10.199.127.84) and tried to access Drupal using it, i got 'site cant be reached' error. Any idea what I'm missing here?

enter image description here

P.S. Sorry to put it as a response, but I don't have enough 'reputations' to comment on your response/marked-answer.

Reasons:
  • Blacklisted phrase (1): to comment
  • Blacklisted phrase (1): Is there any
  • RegEx Blacklisted phrase (1.5): reputation
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Abdul
  • Low reputation (1):
Posted by: Devdatta

79298439

Date: 2024-12-20 21:39:52
Score: 2.5
Natty:
Report link

This is an old post, but you will have to provide the full key name for the object you would like to retrieve tags from.

ex "folder1/folder2/file.txt"

AWS does not currently support batch requests for tags.

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

79298437

Date: 2024-12-20 21:37:51
Score: 1.5
Natty:
Report link

You missed the time of duration of the Image Inserted. Like 20 secconds. for example:

"InsertableImages": [ { "Width": 100, "Height": 31, "ImageX": 0, "ImageY": 0, "Layer": 20, "ImageInserterInput": "s3://project-profile-account_id-us-east-1/watermark.png", "StartTime": "00:00:00:00", "Opacity": 50, "Duration": 20000 /This value/ }

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Juan Antonio Castañeda Muñoz

79298433

Date: 2024-12-20 21:35:51
Score: 1.5
Natty:
Report link

Ack, figured it out. Firefox was caching the permanent redirect. Once I told firefox to forget about the site it started working!


To clear a permanent redirect cache in Firefox, you can open your browser history, search for the site you want to remove the redirect for, select it, and then right-click to choose "Forget this site" - this will effectively clear the cached redirect information for that website; ensure all tabs related to the site are closed before doing this.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Ryan Pierce Williams

79298423

Date: 2024-12-20 21:26:49
Score: 1
Natty:
Report link

year late but I found a solution.

qic() from qicharts2 are ggplot objects. quick reading of the github code says it was using p + scale_x_datetime(date_labels = x.format), so you just need p + scale_x_datetime(date_break = '1 day') to overwrite the default one.

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

79298421

Date: 2024-12-20 21:25:48
Score: 3.5
Natty:
Report link

At the terminal user: $ npm run deploy-config

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

79298419

Date: 2024-12-20 21:24:48
Score: 0.5
Natty:
Report link

=LET(x,TEXTSPLIT(A1,," "),y,LAMBDA(z,SUM(INDEX(--x,TOCOL(SEQUENCE(ROWS(x),,0)/ISNUMBER(XMATCH(x,z)),2)))),"Result: "&y("PLT")&" @ "&y("FT")&" FT")

Maybe this performs better?

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

79298413

Date: 2024-12-20 21:22:48
Score: 1.5
Natty:
Report link

Looks like Parcel on Nix is simply broken, just found someone in the exact same situation as me on the nixpkgs github: https://github.com/NixOS/nixpkgs/issues/350139

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

79298390

Date: 2024-12-20 21:07:44
Score: 4.5
Natty:
Report link

Solved.

For others having the same problem, use this insted:

e.Use(middleware.Static())

and add the relative path to the static content folder.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Me too answer (2.5): having the same problem
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Vlad Popescu

79298389

Date: 2024-12-20 21:07:44
Score: 3.5
Natty:
Report link

Well i don't know the answer but i just changed arrows pictures with css arrows it should work.

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

79298383

Date: 2024-12-20 21:05:43
Score: 1
Natty:
Report link

the Arduino Nano BLE 33 has a other chip typ then the normal nano. The SoftwareSerial is a function for the normal one. A way to do it with the nano BLE is:

#include "wiring_private.h"
Uart mySoftwareSerial(&sercom0, 4, 5, SERCOM_RX_PAD_1, UART_TX_PAD_0);

[...]

void setup(){
pinPeripheral(4, PIO_SERCOM_ALT);
pinPeripheral(5, PIO_SERCOM_ALT);
mySoftwareSerial.begin(9600);
[...]
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user28875717

79298370

Date: 2024-12-20 20:55:40
Score: 1
Natty:
Report link

just adding this to info.plist was enough to me

<key>FlutterDeepLinkingEnabled</key>
<true/>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Paloma Bispo

79298366

Date: 2024-12-20 20:54:40
Score: 1.5
Natty:
Report link

try to add this to info.plist

<key>FlutterDeepLinkingEnabled</key>
<true/>
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Paloma Bispo

79298365

Date: 2024-12-20 20:54:40
Score: 0.5
Natty:
Report link

The required syntax is translatable="yes", not translatable="true".

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

79298363

Date: 2024-12-20 20:51:39
Score: 5.5
Natty:
Report link

You can create a custom lifecycle rule !

You can help you with this documentation : https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-rule.html

For example : AWSTemplateFormatVersion: 2010-09-09 Resources: S3Bucket: Type: 'AWS::S3::Bucket' Properties: AccessControl: Private LifecycleConfiguration: Rules: - Id: GlacierRule Prefix: glacier Status: Enabled ExpirationInDays: 450 Transitions: - TransitionInDays: 1 StorageClass: GLACIER Outputs: BucketName: Value: !Ref S3Bucket Description: Name of the sample Amazon S3 bucket with a lifecycle configuration.

Reasons:
  • Blacklisted phrase (1): this document
  • RegEx Blacklisted phrase (3): You can help
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hadrien Valet

79298360

Date: 2024-12-20 20:47:39
Score: 3
Natty:
Report link

In version 3.0 there was a breaking change renaming asyncIterator to asyncIterableIterator https://github.com/apollographql/graphql-subscriptions/releases/tag/v3.0.0

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

79298346

Date: 2024-12-20 20:37:36
Score: 4.5
Natty:
Report link

I don’t have time to write the code, but could you try getting the indexes of the different types, appending to a list and then adding and dividing by the number of items in the list?

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

79298341

Date: 2024-12-20 20:34:35
Score: 3.5
Natty:
Report link

fill the form in this format "CAC/IT/IT000000"

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

79298331

Date: 2024-12-20 20:28:34
Score: 1
Natty:
Report link

I solved this problem by assigning DISABLE COLLECTSTATIC to 0 after disabling it temporarily trying to solve a problem occuring in the build phase.

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

79298323

Date: 2024-12-20 20:23:33
Score: 1.5
Natty:
Report link

I was able to connect to a container from the host machine using the following string:

mongodb://127.0.0.1:27017/?authSource=admin&readPreference=primaryPreferred&retryWrites=false&directConnection=true

the directConnection=true is what helped me. Hope this helps you.

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: donB

79298320

Date: 2024-12-20 20:21:33
Score: 1
Natty:
Report link

it can use split

DECLARE @intList VARCHAR(200) = '1,3,5,7,3,24,30'
SELECT convert(INT, VALUE) FROM string_split(@intList, ',')
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Steven Gomez

79298319

Date: 2024-12-20 20:21:32
Score: 4.5
Natty:
Report link

I've figured the problem. Instead of:

export const middleware = async (req: NextRequest) => {
const origin = req.nextUrl.origin;

if (!publicEnv.CORS_WHITELIST?.includes(origin)) {
 return NextResponse.json({ error: `Access denied. Environment: ${process.env.NODE_ENV}. Your Origin: ${origin} | Whitelist: ${publicEnv.CORS_WHITELIST}` }, { status: 405 })
}
...

I've done:

export const middleware = async (req: NextRequest) => {
const host = req.headers.get("host");
    const protocol = process.env.NODE_ENV === "production" ? "https" : "http";
    const origin = `${protocol}://${host}`;

    if (!origin || !publicEnv.CORS_WHITELIST?.includes(origin)) {
        return NextResponse.json({ error: `Access denied. Environment: ${process.env.NODE_ENV}. Your Origin: ${origin} | Whitelist: ${publicEnv.CORS_WHITELIST}` }, { status: 405 })
    }
...

Also who down voted the post at first publish without a reason? lol.

Reasons:
  • RegEx Blacklisted phrase (2): down vote
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Viserion Wick

79298316

Date: 2024-12-20 20:18:31
Score: 3
Natty:
Report link

I have the same problem using the newest version from today, 12.1.1. 12.1.0 works without problems.

It seems to be related to detecting the language of the page:

highcharts.js:8 Uncaught TypeError: Cannot read properties of null (reading 'closest')
    at highcharts.js:8:898
    at highcharts.js:8:1778
    at highcharts.js:9:272787
    at highcharts.js:8:324
    at highcharts.js:8:329

This is this line in the highcharts code:

   t.pageLang = t.doc?.body.closest("[lang]")?.lang,

Updating production code on a friday is risky.. and now just before the Christmas holidays.

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

79298315

Date: 2024-12-20 20:17:31
Score: 1.5
Natty:
Report link

Right click on the "...", and select "Open File" from the list of options:

right click options

It should add the icon back:

open file icon now back

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Timothy G.

79298306

Date: 2024-12-20 20:13:29
Score: 5
Natty:
Report link

When I run the code below, the images are displayed vertically (The first time I ran the code below, I did not see any output on Jupyter NB). I was expecting to see them horizontally. If anyone knows how I can display them horizontally, please feel free to comment. Thanks!

for i in range(10):
    plt.figure(figsize=(20,3))
    plt.imshow(predictions[i].astype("float32"), cmap="gray_r")
    plt.show()
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): to comment
  • Blacklisted phrase (1): anyone knows
  • RegEx Blacklisted phrase (1): I can display them horizontally, please
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): When I
  • Low reputation (1):
Posted by: Steven Dascoli

79298300

Date: 2024-12-20 20:09:28
Score: 2.5
Natty:
Report link

I don't have enough reps to comment. But clearing the cache did not work for me. Using the main CDN also generates Highcharts undefined. Using this: <script src="https://code.highcharts.com/highstock.js"></script> instead of <script src="https://code.highcharts.com/stock/12.1.1/highstock.js"></script> breaks the above fiddle. This chart runs on the website but not in the fiddle. There is also a similar situation with Highmaps.

Reasons:
  • Blacklisted phrase (1): did not work
  • Blacklisted phrase (1): to comment
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: bcnc047

79298298

Date: 2024-12-20 20:08:28
Score: 0.5
Natty:
Report link

You cannot directly use a field's value (isPrivate) to conditionally apply authorization rules within the schema alone. The @auth directive operates at the type and field level but does not support dynamic rules based on field values.

To achieve this

  1. Use Custom Lambda Resolver.

This allows you to read the isPrivate field in the request, check the user's ownership or group membership, and allow or deny access accordingly.

  1. Or Implement Field-Level Authorization in the schema. (If only some of the fields should protected)

Split SomeEntity into fields with separate rules, e.g., privateField for owners and publicField for everyone.

Example :

type SomeEntity
  @model
  @auth(
    rules: [
      { allow: groups, groups: ["user"], operations: [create] }
      { allow: owner, operations: [read] }
    ]
  ) {
  ....
  .....
  privateField: String @auth(rules: [{ allow: owner }])
  publicField: String
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @auth
  • Low reputation (0.5):
Posted by: Shahi Papon

79298294

Date: 2024-12-20 20:07:28
Score: 3
Natty:
Report link
  1. What is the primary purpose of the Valid Tracking Rate (VTR) in Amazon Seller Central?o A. To reduce shipping costso B. To ensure accurate tracking of packageso C. To promote faster shipping timeo D. To calculate order defect rates
  2. What could happen if tracking information is not updated accurately or on time for FBM ordero A. Improved seller ratino B. Lower shipping costso C. Increase in order cancellationo D. Higher customer satisfacti
  3. Which report would you use to monitor on-time delivery performane in Seller Central?o A. Sales Dashboardo B. Order Defect Rate Reporto C. Performance Dashboardo D. Order Reports
  4. What action should you take if a customer claims no-receipt of an order that shows as "Delivered"?o A. Ignore the claimo B. Immediately refund the ordero C. Contact the carrier and provide proof of deliveryo D. Cancel the order
  5. How can sellers prevent fake tracking numbers from being associated with their orders?o A. Use verified and reliable carriero B. Disable tracking updateso C. Offer free shipping ithout trackingo D. Only ship on weekends
  6. What are the potential consequences of not meeting Amazon's -time delivery metricso A. Increased saleso B. Account suspension o C. Additional fee o D. Higher product rankings
  7. Which section in Seller Centralallows you to upload tracking information for FBM orderso A. Manage Orderso B. Advertising Dashboaro C. Performance Dashboard o D. Promotion
  8. What does the “Reserved” inventory status indicate in Seller Central?o A. Items ready to be shippedo B. Items being processed for inbound shipmento C. Items reserved for customer orders or FC transferso D. Damaged items
  9. Inventory Management
  10. What is the Inventory Performance Index (IPI) score used for in Amazon Seller Central?o A. To calculate sales velocityo B. To determine storage feeso C. To measure inventory health and efficieno D. To manage customer reviews
  11. What does stranded inventory mean in Amazon Seller Central?o A. Inventory in transit between fulfillment centero B. Inventory that is ready for shipmento C. Inventory that is unsellable or has lost its listino D. Inventory that has been returned by customers
  12. Which tool helps sellers identify inventory that is aging or slo-moving?o A. Restock Inventory Toolo B. FBA Inventory Age Reporto C. AdvertisingDashboardo D. Promotions Manage
  13. What should you do if there are discrepancies between what is in stock and what Amazon shows as available?o A. Ignore the discrepancieso B. Reconcile inventory with Amazono C. Increase priceso D. Decrease prices
  14. Which of the following is a consequence of having excess inventory?o A. Reduced storage feeso B. Increased fulfillment costo C. Improved seller performanceo D. Faster order processing
  15. What is the purpose of creating an automated removal order in Seller Centralo A. To remove negative customer reviewo B. To increase sales velocityo C. To handle unsellable or aged inventoryo D. To reduce advertising cost
  16. How can sellers reduce the risk of stockouts during peak seasons?o A. Decrease advertisino B. Increase restock limitso C. Optimie inventory forecasting and stock levelo D. Offer discount
  17. Which report in Seller Central helps manage excess inventory?o A. Inventory Performance Dashboardo B. Manage Orders Reporto C. Sales Summary Reporto D. Manage Excess Inventory Tool
  18. What does the “Inbound” inventory status represent?o A. Products in Amazon warehouseso B. Products returned by customers o C. Products being shipped to Amazon fulfillment centero D. Products listed for sale
  19. Which feature allows you to handle slow-moving inventory by automatcally discounting ito A. Advertising Dashboaro B. Promotions Manageo C. Manage Excess Inventory Toolo D. Lightning Deals
  20. Stock Management
  21. Which inventory management approach helps prevent both stockouts and overstocking?o A. Just-in-Time (JIT) inventoryo B. Bulk inventory storageo C. Manual inventory managemento D. Minimum Advertised Price (MAP) managemen
  22. How does the ‘Inventory Dashboard’ help sellers in Amazon Seller Central?o A. Improves product photographyo B. Tracks shipment costso C. Monitors inventory health and key metricso D. Promotes products in advertising campaign
  23. What is the key benefit of setting safety stock leveo A. Minimizes advertising speno B. Prevents stockouts during demand fluctuatioo C. Increases storage feeso D. Enhances product reviews
  24. What strategy is useful for managing excess stock?o A. Increasing product priceso B. Decreasing inventory visibilityo C. Running promotions and discounto D. Disabling all listing
  25. When would you create an inventory removal order? o A. For high-performing productso B. For overstocked or aged inventoryo C. For products with positive reviewo D. For recently launched products
  26. Which inventory status indicates items that are available for immediate shipping?o A. Reserved o B. Inbound o C. Fulfillabl o D. Unfulfillabl
  27. What is the impact of not managing stock levels properly in Seller Central?o A. Increased saleso B. Improved product rankingo C. Account health issues and potential suspensiono D. Higher fees
  28. How can you optimize inventory management for products with long ead timeso A. Increase product priceso B. Perform accurate demand forecasting and maintain higher safety stoco C. Ignore inventory levelso D. Only sell locally
  29. What would be a priority when handling delayed inbound shipments to Amazon?o A. Increase prices to slow saleso B. Inform customers and offer alternativo C. Ignore the delayo D. Cancel all pending orders
  30. Which section helps sellers manage stock transfers between fulfillment centero A. Inventory Performance Dashboardo B. Manage Orderso C. Shipping Queueo D. Inventory Planning
  31. Account Health and Performance Management
  32. What is the Order Defect Rate (ODR) used for in Amazon Seller Central?o A. To measure advertising performanco B. To assess the percentage of orders with negative customer experienceo C. To determine sales velocityo D. To calculate shipping costs
  33. What is the consequence of a high Pre-Fulfillment Cancel Rate (PFCR)o A. Higher sales ranko B. Reduced account health ratino C. Increased advertising costo D. Faster shipping time
  34. Which metric indicates late shipments that can affect seller performanceo A. Order Defect Rate (ODR)o B. Late Shipment Rate (LSR)o C. Return Dissatisfaction Rate (RDo D. Sales Conversion Rate
  35. How can sellers proactively manage -to-Z Guarantee claims?o A. Offer lowpriceso B. Provide accurate product descriptions and quality customer servico C. Ignore customer messageso D. Avoid using tracking numbers
  36. What should a seller do if they receive a policy violation warning from Amazono A. Ignore the warningo B. Submit an appeal with a Plan of Action (POAo C. Change the product priceo D. Increase advertising spen
  37. What tool is used to monitor and manage account health in Seller Central?o A. Advertising Consolo B. Account Health Dashboard o C. Inventory Management Dashboardo D. Promotions Manage
  38. Which policy violation is likely if a product is listed under the wrong categoryo A. Intellectual Property Violatioo B. Restricted Product Policy Violatioo C. Listing Policy Violatio D. Authenticity Violati
  39. What is the impact of negative ustomer feedback on account health?o A. Higher saleso B. Improved product visibilityo C. Increased Order Defect Rate (ODR)o D. Reduced storage fees
  40. Policy Management
  41. What is Amazon's Intellectual Property (IP) Policy designed to protect?o A. Amazon’s sales datao B. Seller’s personal informatioo C. Rights of intellectual property ownerso D. Amazon's return policy
  42. What should a seller do if they are notified of an IP infringement complaino A. Ignore ito B. Contact the rights owner to resolve the issueo C. Delete all listingo D. Increase prices
  43. What is the main purpose of the Restricted Products Policy?o A. To prevent product listing duplicatio B. To control shipping rateso C. To ensure the safety and compliance of listed productso D. To increase the number of product variation
  44. What action can lead to an account suspension under Amazon’s policy guidelines o A. Offering free shippino B. Repeated policy violationo C. Maintaining high inventory levelso D. Running promotion
  45. How does Amazon define 'Fair Pricing Poliy'?o A. All products must be sold at MSRPo B. Prices should not be significantly higher or lower than the marketplace noro C. Prices must always be lower than competitoro D. Sellers should offer the same price on all platfor
  46. Which document should be submited when appealing an account suspension?o A. Customer reviews summaryo B. Return request formo C. Plan of Action (POAo D. Advertising performance repor
  47. How does Amazon ensure compliance with regional regulations for certain productso A. By offeringadditional discounto B. Through the Restricted Products and Compliance policieso C. By increasing storage feeso D. By promoting thir-party sellers
  48. What does the “Good Faith” policy mean for sellers?o A. They must offer all products for freo B. They must comply with all Amazon policies and guidelineso C. They must use only FBA for fulfillmeno D. They must use Amazon's advertising service
  49. What could be a reason for an account getting deactivated under the 'Code of Conduct' polio A. Poor listing qualito B. Engaging in deceptive or fraudulent activio C. Increasing product priceso D. Running promotions frequentl
  50. What is the key focus of Amazon's Customer Product Reviews Policy?o A. Encourage all positive reviewo B. Prohibit manipulation or incentivizing revieo C. Allow unlimited reviews per customero D. Promote negative reviews onl
  51. What is required from a seller if they wish to list a product in a gated category?o A. Higher advertising budgeo B. Approval from Amazon and additional documentatio C. Low priceso D. Minimum stock level
  52. How should a seller respond to a customer who left a negative product revieo A. Ignore the reviewo B. Provide a professional response and offer a solutio C. Report the customero D. Offer a bribe for remova
  53. What is the purpose of the ‘Voice of the Customer’ dashboard in Seller Central?o A. To manage customer returnso B. To gain insights into customer satisfaction and product qualio C. To set up advertising campaigno D. To increase shipping fees
  54. What can lead to a listing being removed uner Amazon’s ‘Product Authenticity’ policyo A. High product priceo B. Selling counterfeit or inauthentic producto C. Low inventory levelo D. Poor listing image 1 : B 11 :B 21 :B 31 :B 41 :B 2 :C 12 :B 22 :C 32 :B 42 :C 3 :C 13 :B 23 :B 33 :B 43 :B 4 :C 14 :C 24 :C 34 :B 44 :B 5 :A 15 :C 25 :C 35 :C 45 :B 6 :B 16 :A 26 :B 36 :C 46 :B 7 :A 17 :C 27 :B 37 :C 47 :B 8 :C 18 :C 28 :D 38 :B 48 :B 9 :C 19 :A 29 :B 39 :C 49 :B 10:C 20 :C 30 :B 40 :B 50 :B
Reasons:
  • Blacklisted phrase (1): What could be
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): What is the
  • Low reputation (1):
Posted by: FLIPCOST

79298291

Date: 2024-12-20 20:05:27
Score: 0.5
Natty:
Report link

IntelliJ is a development environment, you shouldn’t upload applications to production from it. Instead, it’s better if you have a script that does that. IntelliJ can run shell scripts or maven goals,if you use maven for building and add a goal to upload files to FTP server or via GlassFish asadmin command.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Ondro Mihályi

79298287

Date: 2024-12-20 20:02:27
Score: 0.5
Natty:
Report link

I tried to do something like this, and what I ended up doing in the interim is to bake CURRENT_USER into the query, so something like this:

SELECT * FROM USERS
WHERE USER_NAME = CURRENT_USER()

The idea came from this thread: Getting grants of current user

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Bryan Crystal-Thurston

79298273

Date: 2024-12-20 19:59:26
Score: 1.5
Natty:
Report link

const playRecording = () => { const superBUffer = new Blob(recordblobs); // Create a Blob from the recorded data const recordedVideoEl = document.querySelector("#other-video"); // Get the video element recordedVideoEl.src = window.URL.createObjectURL(superBUffer); // Create a URL for the Blob and set it to the src recordedVideoEl.controls = true; // Enable video controls (play, pause, volume, etc.) recordedVideoEl.play(); // Play the video };

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

79298268

Date: 2024-12-20 19:58:25
Score: 1.5
Natty:
Report link

The previous options didn't work for me but instead I was able to copy from one jupyter notebook (.ipynb) to another using the VSCode (Visual Studio Code) platform and on to do so I:

  1. Highlighted the cells of interest (with Shift + Select the First Cell, then while scrolling to the last cell of interest and pressing Shift + Selecting the Last Cell)
  2. Copied the Highlighted cells (Ctrl + C)
  3. Went to the destination Jupyter notebook and pasted the copied cells (Ctrl + V)
Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: kkusim

79298247

Date: 2024-12-20 19:51:23
Score: 3
Natty:
Report link

That functionality is not in Django 2.0, see here.

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

79298245

Date: 2024-12-20 19:50:22
Score: 4
Natty:
Report link

Finally, I found a way to get it work. Thanks to all the advices from @Jmb and some trial and error.

Now after spawning the curl request for the current item, I run an inner loop on matching bg_cmd.try_wait(). If it finish the run successful, the result get assigned to the shared var holding the output. But if the process is still running and another list item is selected, an AtomicBool is set which restarts the main loop of the bg process thread and, thus, the result of the former run is dismissed.

Here is the code. There might be ways to make this more efficient and I would be happy to hear about them. But at least it works now and I nevertheless already learned a lot about multi-threading and bg processes in Rust.

use std::{
    io::{BufRead, BufReader},
    process::{Command, Stdio},
    sync::{
        atomic::{AtomicBool, Ordering},
        Arc, Condvar, Mutex,
    },
    thread,
    time::Duration,
};

use color_eyre::Result;
use crossterm::event::{self, Event, KeyCode, KeyEvent, KeyEventKind, KeyModifiers};
use ratatui::{
    layout::{Constraint, Layout},
    style::{Modifier, Style},
    widgets::{Block, List, ListState, Paragraph},
    DefaultTerminal, Frame,
};

#[derive(Debug, Clone)]
pub struct Mailbox {
    finished: Arc<AtomicBool>,
    data: Arc<Mutex<Option<String>>>,
    cond: Arc<Condvar>,
    output: Arc<Mutex<String>>,
    kill_proc: Arc<AtomicBool>,
}

impl Mailbox {
    fn new() -> Self {
        Self {
            finished: Arc::new(AtomicBool::new(false)),
            data: Arc::new(Mutex::new(None)),
            cond: Arc::new(Condvar::new()),
            output: Arc::new(Mutex::new(String::new())),
            kill_proc: Arc::new(AtomicBool::new(false)),
        }
    }
}

pub fn run_bg_cmd(
    fetch_item: Arc<Mutex<Option<String>>>,
    cond: Arc<Condvar>,
    output_val: Arc<Mutex<String>>,
    finished: Arc<AtomicBool>,
    kill_bool: Arc<AtomicBool>,
) {
    // Start the main loop which is running in the background as long as
    // the TUI itself runs
    'main: loop {
        let mut request = fetch_item.lock().unwrap();
        // Wait as long as their is no request sent. If one is send, the
        // Condvar lets the loop run further
        while request.is_none() {
            request = cond.wait(request).unwrap();
        }
        let cur_request = request.take().unwrap();

        // Drop MutexGuard to free up the main thread
        drop(request);

        // Spawn `curl` (or any other bg command) using the sent request as arg.
        // To not flood the TUI I pipe stderr to /dev/null
        let mut bg_cmd = Command::new("curl")
            .arg("-LH")
            .arg("Accept: application/x-bibtex")
            .arg(&cur_request)
            .stdout(Stdio::piped())
            .stderr(Stdio::null())
            .spawn()
            .expect("Not running");

        // Start inner loop to wait for process to end or dismiss the result if
        // next item in the TUI is selected
        'waiting: loop {
            match bg_cmd.try_wait() {
                // If bg process ends with exit code 0, break the inner loop
                // to assign the result to the shared variable.
                // If bg process ends with exit code not 0, restart main loop and
                // drop the result from stdout.
                Ok(Some(status)) => {
                    if status.success() {
                        break 'waiting;
                    } else {
                        continue 'main;
                    }
                }
                // If process is still running and the kill bool was set to true
                // since another item was selected, immiditatley restart the main loop
                // waiting for a new request and, therefore, drop the result
                Ok(None) => {
                    if kill_bool.load(Ordering::Relaxed) {
                        continue 'main;
                    }
                }
                // If an error occurs, restart the main loop and drop all output
                Err(e) => {
                    println!("Error {e} occured while trying to fetch infors");
                    continue 'main;
                }
            }
        }

        // If waiting loop was broken due to successful bg process, take the output
        // parse it into a string (or whatever) and assign it to the shared var
        // holding the result
        let out = bg_cmd.stdout.take().unwrap();
        let out_reader = BufReader::new(out);

        let mut out_str = String::new();

        for l in out_reader.lines() {
            if let Ok(l) = l {
                out_str.push_str(&l);
            }
        }

        finished.store(true, Ordering::Relaxed);

        let mut output_str = output_val.lock().unwrap();
        *output_str = out_str;
    }
}

#[derive(Debug)]
pub struct App {
    mb: Mailbox,
    running: bool,
    fetch_info: bool,
    info_text: String,
    list: Vec<String>,
    state: ListState,
}

impl App {
    pub fn new(mb: Mailbox) -> Self {
        Self {
            mb,
            running: false,
            fetch_info: false,
            info_text: String::new(),
            list: vec![
                "http://dx.doi.org/10.1163/9789004524774".into(),
                "http://dx.doi.org/10.1016/j.algal.2015.04.001".into(),
                "https://doi.org/10.1093/acprof:oso/9780199595006.003.0021".into(),
                "https://doi.org/10.1007/978-94-007-4587-2_7".into(),
                "https://doi.org/10.1093/acprof:oso/9780199595006.003.0022".into(),
            ],
            state: ListState::default().with_selected(Some(0)),
        }
    }

    pub fn run(mut self, mut terminal: DefaultTerminal) -> Result<()> {
        self.running = true;
        while self.running {
            terminal.draw(|frame| self.draw(frame))?;
            self.handle_crossterm_events()?;
        }
        Ok(())
    }

    fn draw(&mut self, frame: &mut Frame) {
        let [left, right] =
            Layout::vertical([Constraint::Fill(1), Constraint::Fill(1)]).areas(frame.area());

        let list = List::new(self.list.clone())
            .block(Block::bordered().title_top("List"))
            .highlight_style(Style::new().add_modifier(Modifier::REVERSED));

        let info = Paragraph::new(self.info_text.as_str())
            .block(Block::bordered().title_top("Bibtex-Style"));

        frame.render_stateful_widget(list, left, &mut self.state);
        frame.render_widget(info, right);
    }

    fn handle_crossterm_events(&mut self) -> Result<()> {
        if event::poll(Duration::from_millis(500))? {
            match event::read()? {
                Event::Key(key) if key.kind == KeyEventKind::Press => self.on_key_event(key),
                Event::Mouse(_) => {}
                Event::Resize(_, _) => {}
                _ => {}
            }
        } else {
            if self.fetch_info {
                self.update_info();
            }
            if self.mb.finished.load(Ordering::Relaxed) == true {
                self.info_text = self.mb.output.lock().unwrap().to_string();
                self.mb.finished.store(false, Ordering::Relaxed);
            }
        }
        Ok(())
    }

    fn update_info(&mut self) {
        // Select current item as request
        let sel_doi = self.list[self.state.selected().unwrap_or(0)].clone();
        let mut guard = self.mb.data.lock().unwrap();
        // Send request to bg loop thread
        *guard = Some(sel_doi);
        // Notify the Condvar to break the hold of bg loop
        self.mb.cond.notify_one();
        drop(guard);
        // Set bool to false, so no further process is started
        self.fetch_info = false;
        // Set kill bool to false to allow bg process to complete
        self.mb.kill_proc.store(false, Ordering::Relaxed);
    }

    fn on_key_event(&mut self, key: KeyEvent) {
        match (key.modifiers, key.code) {
            (_, KeyCode::Esc | KeyCode::Char('q'))
            | (KeyModifiers::CONTROL, KeyCode::Char('c') | KeyCode::Char('C')) => self.quit(),
            (_, KeyCode::Down | KeyCode::Char('j')) => {
                if self.state.selected().unwrap() <= 3 {
                    // Set kill bool to true to kill unfinished process from prev item
                    self.mb.kill_proc.store(true, Ordering::Relaxed);
                    // Set text of info box to "Loading" until bg loop sends result
                    self.info_text = "... Loading".to_string();
                    self.state.scroll_down_by(1);
                    // Set fetch bool to true to start fetching of info after set delay
                    self.fetch_info = true;
                }
            }
            (_, KeyCode::Up | KeyCode::Char('k')) => {
                // Set kill bool to true to kill unfinished process from prev item
                self.mb.kill_proc.store(true, Ordering::Relaxed);
                // Set text of info box to "Loading" until bg loop sends result
                self.info_text = "... Loading".to_string();
                self.state.scroll_up_by(1);
                // Set fetch bool to true to start fetching of info after set delay
                self.fetch_info = true;
            }
            _ => {}
        }
    }

    fn quit(&mut self) {
        self.running = false;
    }
}

fn main() -> color_eyre::Result<()> {
    color_eyre::install()?;

    let mb = Mailbox::new();

    let curl_data = Arc::clone(&mb.data);
    let curl_cond = Arc::clone(&mb.cond);
    let curl_output = Arc::clone(&mb.output);
    let curl_bool = Arc::clone(&mb.finished);
    let curl_kill_proc = Arc::clone(&mb.kill_proc);

    thread::spawn(move || {
        run_bg_cmd(curl_data, curl_cond, curl_output, curl_bool, curl_kill_proc);
    });

    let terminal = ratatui::init();
    let result = App::new(mb).run(terminal);
    ratatui::restore();
    result
}
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (3): Thanks to all the advices
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Jmb
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: lukeflo

79298244

Date: 2024-12-20 19:47:21
Score: 2.5
Natty:
Report link

The game does seem to be heavy on CPU’s, while you have 1850mb of VRAM, it isn’t much and still will run poorly. So yes your CPU might be bottlenecking but probably a mixture of both

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

79298237

Date: 2024-12-20 19:42:20
Score: 1.5
Natty:
Report link

Unavailable Feature

What you're trying to achieve is not currently implemented yet in DocumentApp. It was also asked by a community member from another forum last March 2023. And someone filed this as a featured request, but the requester is not active, which is the reason why the featured request was closed.

I would encourage you to send this as a new feature request by going to this link. The feedback submitted there will go directly to the development team, and the more people who request a feature like this, the more likely it will be implemented.

Reasons:
  • Blacklisted phrase (1): this link
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Jats PPG

79298228

Date: 2024-12-20 19:31:18
Score: 4.5
Natty: 5
Report link

Ok, dead == Array?, Collider[] dead is need;

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

79298226

Date: 2024-12-20 19:30:17
Score: 1
Natty:
Report link

If you write const const after a function name it is syntactically invalid because C++ language does not permit such duplication. The second const is simply redundant and results in a compiler error.

code should be like this !!

customType foo::bar(void) const {
    // baz
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sourabh Singh Bais

79298223

Date: 2024-12-20 19:28:16
Score: 5.5
Natty:
Report link

!pip install tensorflow-gpu Collecting tensorflow-gpu Downloading tensorflow-gpu-2.12.0.tar.gz (2.6 kB) error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. Preparing metadata (setup.py) ... error error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details. How to solve this issue?

Reasons:
  • Blacklisted phrase (1): How to solve
  • RegEx Blacklisted phrase (1.5): How to solve this issue?
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: muhammad ghous

79298215

Date: 2024-12-20 19:24:15
Score: 2
Natty:
Report link

Problem solved. I removed the viewmodel and replaced it with the following code

  override fun doWork(): Result {
    val sharedPreferences = applicationContext.getSharedPreferences("AppPrefs", Context.MODE_PRIVATE)
    val lastIndex = sharedPreferences.getInt("lastIndex", -1)

    val phrases = listOf(
        "Hello!", "Good morning!", "How are you?", "Nice to meet you!", "Good luck!",
        "See you soon!", "Take care!", "Have a great day!", "Welcome!", "Congratulations!",
        "Happy Birthday!", "Safe travels!", "Enjoy your meal!", "Sweet dreams!", "Get well soon!",
        "Well done!", "Thank you!", "I love you!", "Good night!", "Goodbye!"
    )

    val nextIndex = (lastIndex + 1) % phrases.size
    val nextPhrase = phrases[nextIndex]

    val editor = sharedPreferences.edit()
    editor.putInt("lastIndex", nextIndex)
    editor.apply()

    sendNotification(nextPhrase)

    return Result.success()
}
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): Good morning
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: developer_petit

79298188

Date: 2024-12-20 19:12:12
Score: 1
Natty:
Report link

Starting with a new Windows 11 version, released in 2023, you have a local account on your system and and a permisive one. The later is your name as a user of Microsoft, while the former consists in the first five letters of your name. Jupyter Notebook and an IDE for a programming language can open only files saved in a folder created by the "permissive" account, outside the folders Documents, Desktop, that are under the control of the local account. Hence I created a new folder, Working, and automatically it has been considered as created by the account with my entire name, and I have access to any ipynb file and can save new ones there.

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

79298180

Date: 2024-12-20 19:08:11
Score: 1
Natty:
Report link

also in base R

levels(interaction(vars, vis, lex.order = TRUE))
[1] "PL.1" "PL.2" "PL.3" "SR.1" "SR.2" "SR.3"

lex.order is only necessary to sort the results; it can be omitted if order of elements is not important

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

79298179

Date: 2024-12-20 19:08:11
Score: 1
Natty:
Report link

While its not likely to be the answer you want: Interfaces in Java cannot specify that a static method shall be present.

While its debatable if they SHOULD, at the moment they cant.

So this is not possible at compile time.

So you would have to do it at runtime using introspection to see if the static method is present and if not throw an exception or some error etc.

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

79298178

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

A small addition to @Sephyre 's solution. You may have to deal with style specificity, as .react-loading-skeleton has its own border-radius and it may override yours. The !important flag works, but you may find better options.

upd: no need to create a wrapper, you can just pass your style with <Skeleton className={cls.customStyle}>

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Sephyre
  • Low reputation (1):
Posted by: Mustafa

79298177

Date: 2024-12-20 19:07:11
Score: 0.5
Natty:
Report link

The solution that worked for me was

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

79298165

Date: 2024-12-20 19:05:10
Score: 1
Natty:
Report link

You don't have define the correct endpoint in your bucket S3 in your code.

Can you modify by this :

S3Client s3 = S3Client.builder()
    .region(Region.of("eu-west-1))  // Use the region obtained from the command
    .build();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hadrien Valet

79298151

Date: 2024-12-20 18:57:07
Score: 1
Natty:
Report link

I don't why, but I needed to change @Craig SendAsync method from InterceptingHttpMessageHandler to:

protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
{
    var _request = new HttpRequestMessage(HttpMethod.Post, request.RequestUri)
    {
        Content = request.Content!
    };

    foreach (var header in request.Headers)
    {
        _request.Headers.TryAddWithoutValidation(header.Key, header.Value);
    }

    return await _client.SendAsync(_request, cancellationToken);
}

I was getting the following error:

The message with Action '' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher...

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Craigmethod
  • Low reputation (0.5):
Posted by: hmiguel

79298150

Date: 2024-12-20 18:57:07
Score: 3.5
Natty:
Report link

Ok, it was a session sharing problem. Since Nginx Plus (and its sticky session) is a 'little' too expensive for my application I went for configuring Symfony to store sessions in Redis. Works like a charm.

Again thanks to @NicoHaase for pointing that out.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @NicoHaase
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: BazylPL

79298145

Date: 2024-12-20 18:54:07
Score: 2.5
Natty:
Report link

because when you open it by double clicking(i.e. opening command for os) the file the os doesn't know what to do with it. so try running it in a editor or a ipynb (py notebook) it should work

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

79298141

Date: 2024-12-20 18:49:05
Score: 1
Natty:
Report link

In case you only need column names from a specific table:

  1. Select the columns you want to get from your table.

    Select * from MY_TABLE limit 10;

  2. Show the columns from the previous table

    show columns; SELECT "column_name" || ',' Columns FROM (select * from table(result_scan(last_query_id()))) WHERE "table_name" = 'MY_TABLE';

replace MY_TABLE with your table NAME

Modifying the Rajib Deb's answer.

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

79298129

Date: 2024-12-20 18:40:04
Score: 2.5
Natty:
Report link

It's just a typo. There are no use cases that I know of for double const, so the usage of it twice is likely a programming error.

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

79298126

Date: 2024-12-20 18:39:03
Score: 1
Natty:
Report link

Try adding

openid
Use your name and photo
profile
Use your name and photo
w_member_social
Create, modify, and delete posts, comments, and reactions on your behalf
email
Use the primary email address associated with your LinkedIn account

enter image description here

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

79298120

Date: 2024-12-20 18:37:03
Score: 1
Natty:
Report link

Few things I would suggest:

  1. Test with test ad units id provided by Google https://developers.google.com/admob/android/test-ads and see if you see any ads.
  2. Try enabling test device https://developers.google.com/admob/android/test-ads#enable_test_devices
  3. Check the logcat and see if there's any error
  4. Add the callback to see if there's any error returned https://developers.google.com/admob/android/banner#ad_events I am assuming you should see something in the fail callback which could help understand the issue futher.
override fun onAdFailedToLoad(adError : LoadAdError) {
     // Code to be executed when an ad request fails.
   }
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: MXC

79298116

Date: 2024-12-20 18:36:02
Score: 1.5
Natty:
Report link

Task :app:checkReleaseDuplicateClasses FAILED Task :app:dexBuilderRelease Task :react-native-reanimated:buildCMakeRelWithDebInfo[x86_64] FAILURE: Build failed with an exception.

A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable Duplicate class android.support.v4.app.INotificationSideChannel found in modules core-1.13.1.aar -> core-1.13.1-runtime (androidx.core:core:1.13.1) and support-compat-26.1.0.aar -> support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0) Duplicate class android.support.v4.app.INotificationSideChannel$Stub found in modules core-1.13.1.aar -> core-1.13.1-runtime (androidx.core:core:1.13.1) and support-compat-26.1.0.aar -> support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0) Duplicate class android.support.v4.app.INotificationSideChannel$Stub$Proxy found in modules core-1.13.1.aar -> core-1.13.1-runtime (androidx.core:core:1.13.1) and support-compat-26.1.0.aar -> support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0) Duplicate class android.support.v4.media.MediaBrowserCompat found in modules media-1.7.0.aar -> media-1.7.0-runtime (androidx.media:media:1.7.0) and support-media-compat-26.1.0.aar -> support-media-compat-26.1.0-runtime (com.android.support:support-media-compat:26.1.0)```

Has anyone faced the above issue when we run eas build --platform android --profile production . We are using expo sdk 52 and react-native "0.76.5"?

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: UMADEVI_R

79298106

Date: 2024-12-20 18:33:01
Score: 1
Natty:
Report link

I mean, you can do whatever you like, basically? Here’s an example that just displays the title of the current Hosting Environment by injecting IWebHostEnvironment right into the Razor page:

@page
@model MyApp.IndexModel
@inject Microsoft.AspNetCore.Hosting.IWebHostEnvironment Env

<h1>@Env.EnvironmentName</h1>

That’s pretty much how it’s done in this sample from the docs: https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/fundamentals/environments/samples/6.x/EnvironmentsSample/Pages/About.cshtml

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
Posted by: BenderBoy

79298103

Date: 2024-12-20 18:31:01
Score: 2
Natty:
Report link

The error might came because for a few reasons such as: 1.API endpoint is incorrect. 2.Maybe CORS issues. 3.server gets error like 404 or 401

I think by solving these error can work !!

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sourabh Singh Bais

79298101

Date: 2024-12-20 18:29:00
Score: 4
Natty:
Report link

Solved: I just had to remove the 1.18.36 tag for javax.persistence dependancy

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

79298097

Date: 2024-12-20 18:27:59
Score: 2
Natty:
Report link

I am not using pendingintent but still got the same error,

I update the messaging library and its works

implementation 'com.google.firebase:firebase-messaging:24.1.0'

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

79298078

Date: 2024-12-20 18:13:56
Score: 4.5
Natty:
Report link

Came across the same error and your answer helped me to solve the issue @kaveh

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @kaveh
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mpetha Sthebiso Motaung

79298073

Date: 2024-12-20 18:12:55
Score: 1.5
Natty:
Report link

Running in the same problem here. The mdl_sessions table doesn't seem to get any cleaning at all.

I'm just a Moodle admin, not a dev, not a sys admin. I installed Moodle on my machine to try to figure out what was happening. The scheduled tasks runs normally, the sessions folder gets cleaned, but nothing changes in the mdl_sessions table.

So on a busy production site, we can reach millions of entries in mdl_sessions, mostly from userid=0. And I think it causes the task to eventually fail.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: François Lizotte

79298061

Date: 2024-12-20 18:07:54
Score: 1.5
Natty:
Report link

There's the "Default Task" feature in Bitbucket, where you can create a Task that shows up on all created PRs. Except release branches, for some weird reason. I have no idea why that exemption exists.

https://www.atlassian.com/blog/bitbucket/default-pull-request-tasks

For the use case where you want to have tasks on PRs for release branches, you could write a script that creates a task on a PR through Bitbucket's API and call that script through in your pipeline.

https://community.atlassian.com/t5/Bitbucket-questions/How-to-create-Pull-Request-task-using-REST-api/qaq-p/720958

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

79298056

Date: 2024-12-20 18:07:54
Score: 2.5
Natty:
Report link

Found The issue!! I am using ListView.builder(), inside SingleChildScrollView() due to which the error occured. i replaced my ListView.builder() with map and everything worked fine.

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

79298048

Date: 2024-12-20 18:05:53
Score: 3
Natty:
Report link

most times the best option is just not give the image a height-unit in pixel try using stuff like percentage or leave it auto

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

79298041

Date: 2024-12-20 18:01:52
Score: 1
Natty:
Report link

Expanding on @Chad Baldwin's answer. On Mac you'll soon reach the shell argument limit. Use xargs to resolve this:

$ rg -l "my first match" | xargs rg "my second match"

If you want to find N matches:

$ rg -l "my first match" | xargs rg -l "my second match" | ... | xargs rg "my final match"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Chad
Posted by: Jack