79609094

Date: 2025-05-06 16:20:23
Score: 2.5
Natty:
Report link

Stripe Payment Element does not come with a button. You'll need to add your own button and wire it up with the Stripe.js confirmPayment function as shown in the docs - https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements#add-the-payment-element-component

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

79609091

Date: 2025-05-06 16:18:22
Score: 0.5
Natty:
Report link

That's a server limit. Not sure if that can be increased on the webserver side, as you did not mentioned the server you have to look that up onyour self.

However, using form you should use HTTP Method POST instead of GET, which should transfer that data as POST data and not as url query argument and the limit should not be hit.

You cannot shorten that information as thatis required.

Reasons:
  • No code block (0.5):
Posted by: Stefan Bürk

79609089

Date: 2025-05-06 16:17:22
Score: 2
Natty:
Report link

To use Dropout properly in Equinox, pass a key during training and generate a new one each step with jax.random.split. No key is needed during inference.

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

79609087

Date: 2025-05-06 16:16:21
Score: 1.5
Natty:
Report link

        If group = "Control" Then
                i = i + 1
                arC(i) = age
            End If
        If group = "Exposed" Then
                j = j + 1
                arE(j) = age
            End If

This is what worked best

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

79609079

Date: 2025-05-06 16:13:21
Score: 2
Natty:
Report link

Power Automate flows that worked fine up to today are now giving certificate errors, which would suggest a wider issue at Microsoft.

Action 'Get_response_details' failed: Error from token exchange: Bad Key authorization token. Token must be a valid JWT signed with HS256 Failed to validate token: IDX10249: X509SecurityKey validation failed. The associated certificate has expired. ValidTo (UTC): '5/3/2025 11:59:59 PM', Current time (UTC): '5/6/2025 3:33:17 PM'.

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

79609074

Date: 2025-05-06 16:08:19
Score: 0.5
Natty:
Report link

If you are looking for an answer to this in 2025 (or later), the easiest solution would be to install the Vercel AI SDK:

npm i ai @ai-sdk/openai @ai-sdk/react zod

and follow their Expo Guide.

Contrary to their example, I was using the useObject function instead of useChat and thought streaming wasn't possible because the server part could not use toDataStreamResponse. Turns out that is not true and you can achieve streaming with all the functions as long as you set up the headers to:

{
  "Content-Type": "application/octet-stream",
  "Content-Encoding": "none",
}

TL;DR: Just follow this guide

Reasons:
  • Blacklisted phrase (1): this guide
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Matěj Balga

79609055

Date: 2025-05-06 15:53:15
Score: 2.5
Natty:
Report link

Solved by using this version of SDK:

"@aws-sdk/client-cognito-identity-provider": "<=3.621.0",
"@aws-sdk/client-ses": "<=3.621.0",

Reference to the GitHub Post Issue: https://github.com/aws/aws-sdk-js-v3/issues/7051

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

79609054

Date: 2025-05-06 15:52:15
Score: 0.5
Natty:
Report link

Okey finally i got it,The external app already encode to img to bytes but in the backend i created the variable image like a byte[] instead of a String this made that the image chain were encoding again. The solution was refactor the variable image to a String and in the frontend get sanitize the img to get his mime type with this function:

  sanitizeBase64Image(imageData: string): string {
if (!imageData) {
  return 'assets/default-product.jpg'; 
}

const mimeType = imageData.startsWith('iVBOR') ? 'image/png' : 
                 imageData.startsWith('/9j/') ? 'image/jpeg' : 
                 //Add more conditions for other image types if needed
                 'image/octet-stream';  

return `data:${mimeType};base64,${imageData}`; 

}

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: CrismaiX

79609053

Date: 2025-05-06 15:51:14
Score: 1
Natty:
Report link

Thank you to everyone who responded.

I received some input here: https://www.googlecloudcommunity.com/gc/Workspace-Developer/Gmail-API-HTML-message-with-UTF-8-character-set-extended/m-p/903889#M2940 which indeed solved the problem by adding additional calls to set the UTF-8 in additional places in the code.

Here are the updates that worked:

            Properties props = new Properties();
            props.put("mail.mime.charset", StandardCharsets.UTF_8.displayName());
            Session session = Session.getInstance(props);
            MimeMessage email = new MimeMessage(session);
            
            email.setFrom(new InternetAddress(appConfig.getThreadedApp()));
            email.addRecipient(javax.mail.Message.RecipientType.TO, new InternetAddress(toEmailAddress));

         ...

            email.setSubject(subject, StandardCharsets.UTF_8.displayName());
            email.setContent(htmlBodyText, ContentType.TEXT_HTML.getMimeType()+ "; charset="+StandardCharsets.UTF_8.displayName());
            
            ByteArrayOutputStream buffer = new ByteArrayOutputStream();
            email.writeTo(buffer);
            byte[] rawMessageBytes = buffer.toByteArray();
            String encodedEmail = Base64.encodeBase64URLSafeString(rawMessageBytes);
            Message message = new Message();
            message.setRaw(encodedEmail);

         ...

            message = service.users().messages().send(myEmailAddress, message).execute();
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: jn4

79609042

Date: 2025-05-06 15:45:13
Score: 1
Natty:
Report link

To create a derived column in Azure Data Factory where the value depends on the content of another column follow the below steps:

According to the ask, I've created a new column target_attr to achieve the conditions:

Firstly, I've stored the CSV file in Azure Blob Storage.

Then set a linked service and create a dataset in ADF

enter image description here

Let it automatically detect the columns under Schema option.

Then create a Data Flow:

  1. Add a Source and choose the Dataset you created.

enter image description here

  1. Click + and add a derived column AddTargetAttr. Choose the Incoming stream accordingly. And add a new column target_attr with expression as :
case(
  source_attr == 'username', username,
  source_attr == 'email', email,
  ''
)

enter image description here

3.Adding a Sink to preview output.

enter image description here

Finally turn on Data Flow Debug. Once Active, go to Data Preview and refresh it.

enter image description here

As you can see that I'm successfully able to fetch the Derived Column.

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

79609036

Date: 2025-05-06 15:42:12
Score: 0.5
Natty:
Report link

OK, according to Metcalf, Reid, Cohen and Bader "Modern Fortran Explained incorporating Fortran 2023" the model for an integer number i of a given kind is (stupid stackoverflow not supporting MathJax...)

i = s * Sum_k w_k * r^{k-1}

where

I don't possess the standard but this is the same formula and interpretation is given in section 16.4 of "J3/24-007(Fortran 2023 Interpretation Document)"

Note how the above model is symmetric about zero. Thus if the maximum value supported for a given kind of integer is 2147483647, the most negative number that need be supported is -2147483647. Thus as I understand it gfortran is perfectly within its rights here to reject -2147483648 if the maximum is +2147483647.

I see nothing that stops a given implementation supporting integers for a given kind outside the range, only that as regards intrinsic numeric inquiry functions they behave as if the number were modelled by the above equation. Thus the intel compiler is also within its rights here, though personally I would like to to provide a diagnostic as a quality of implementation issue - but as I see it it is not required.

Reasons:
  • Blacklisted phrase (1): regards
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Ian Bush

79609033

Date: 2025-05-06 15:39:10
Score: 1
Natty:
Report link

The problem is that std::unique_ptr<T> cannot be cast to T*; and, in general, you should not be using C-style casts in C++. Your comment about the GetWidth and GetHeight lines is fair, but this is because of the operator overloading: indeed, this says nothing about the cast-ability of the type; it merely makes it behave like the underlying type pointer with regard to dereferencing. The raw pointer (the memory underlying the unique_ptr) can be obtained through myVec[0].get(), but then I'd ask why you are using smart pointers in the first place.

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

79609032

Date: 2025-05-06 15:39:09
Score: 9 🚩
Natty: 5.5
Report link

I have also encountered this problem. Have you solved it? How was it repaired?

Reasons:
  • Blacklisted phrase (2): Have you solved it
  • RegEx Blacklisted phrase (1.5): solved it?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Coder Bin

79609028

Date: 2025-05-06 15:38:09
Score: 1
Natty:
Report link

Currently to me it looks like

results[nrow(results):1, ]
     [,1] [,2] [,3]
[1,]    1    0    0
[2,]    0    2   NA
[3,]    2    0    2
[4,]    1    2   NA

Is this only accidentally?

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

79609013

Date: 2025-05-06 15:28:06
Score: 3
Natty:
Report link

It's now configurable in the global settings GUI:

VSCode Settings

You can choose between:

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

79609010

Date: 2025-05-06 15:27:06
Score: 2.5
Natty:
Report link

The legal experts at Illumine Legal are known for their outstanding ability to resolve complex legal matters with clarity and confidence. Their in-depth knowledge, strategic thinking, and client-first mindset make them a trusted resource for individuals and businesses alike. Whether it’s offering sound legal advice or handling disputes, the legal experts at Illumine Legal provide dependable, results-driven support tailored to each client’s needs, ensuring strong representation and peace of mind throughout every legal challenge.enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Baclinks8652

79609005

Date: 2025-05-06 15:24:05
Score: 2.5
Natty:
Report link

Appl developer account renewal date got preponed by 4 months when i applied for a waiver.

now I have only 3 days to renew but no renew button is displayed

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

79609003

Date: 2025-05-06 15:23:04
Score: 0.5
Natty:
Report link

To avoid the overflow from @Evan Teran 's answer, I'll just use a wider type, ie size_t suitable for common use cases.

convert.cpp

#include <iostream>
#include <sstream>
#include <exception>

size_t convertHex(const std::string& hexStr)
{
    std::cout << "This trick can print values up to: " << static_cast<size_t>(-1);
    std::cout << std::endl;

    std::stringstream ssBuff {};
    size_t x {0};

    ssBuff << std::hex << hexStr;
    ssBuff >> x;

    if(!ssBuff.eof() || ssBuff.fail())
    {
        throw std::runtime_error("Conversion in stringstream failed.");
    }

    return x;
}

int main(int argc, char* argv[])
{
    if(2 != argc)
    {
        std::cout << "Usage: " << argv[0] << "  [hex_string_to_convert].";
        std::cout <<  std::endl;
        return -1;
    }

    try
    {
        std::string hexStr{argv[1]};
        size_t value = convertHex(hexStr);
        std::cout << hexStr << " = " << value << std::endl;
    }
    catch(std::runtime_error &e)
    {
        std::cout << "\tError: " << e.what() << std::endl;
        return -1;
    }

    return 0;
}
g++ -o app convert.cpp && ./app fffefffe

Output:

This trick can print values up to: 18446744073709551615

fffefffe = 4294901758

./app fffefffefffffffffffffffffffffffffffffffff

Output:

This trick can print values up to: 18446744073709551615

Error: Conversion in stringstream failed.

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

79609001

Date: 2025-05-06 15:22:04
Score: 1.5
Natty:
Report link

Gcc flag repetition of -Wl what does the linker actually do

The linker just receives more arguments, as specified with -Wl

My question is: Is -Wl such a cumulative flag?

yes

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

79608995

Date: 2025-05-06 15:21:03
Score: 3.5
Natty:
Report link

Same problem metioned by @Desolator, the code doesn't run on modern Chrome setups.

After some investigation, I discovered that since July 2024, the encryption method has changed: encryption is now tied to the application that performs it (in this case, Chrome), making decryption by other means no longer possible.

Reasons:
  • RegEx Blacklisted phrase (1): Same problem
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Desolator
  • Low reputation (0.5):
Posted by: arturn

79608992

Date: 2025-05-06 15:19:03
Score: 0.5
Natty:
Report link

I also got same problem in linux. Instead of running with mcp dev server.py, run with

npx @modelcontextprotocol/inspector uv run server.py

I assumed that you have install uv. This command works perfectly for me.

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

79608987

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

I'd change that role to listbox and see what happens.

The aria-haspopup spec wants the value you choose for the attribute to match the role for the element you've added it to. Not sure if addressing the discrepancy would resolve the error, but I think it's worth a shot

More broadly, it might be helpful to consider using a instead, but one crisis at a time here :)

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

79608985

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

Solution that worked for me is:enter image description here

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: lukyer

79608983

Date: 2025-05-06 15:14:01
Score: 2
Natty:
Report link

@hainabaraka I encountered this same error because the frontend is running on localhost:8080 and the backend on http://127.0.0.1:8000. Although localhost and 127.0.0.1 both refer to the same machine, the browser treats them as different domains. So, when the backend (http://127.0.0.1:8000) sets a cookie, the frontend (http://localhost:8080) cannot access it because the browser considers them to be on different origins."

so change"fetch('http://localhost:8000/api/abc', { method: 'GET', credentials: 'include', }) change(http://127.0.0.1:8000 to http://localhost:8000/api) 101% can solve the issue.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @hainabaraka
  • Low reputation (1):
Posted by: Bhavana Vishali

79608979

Date: 2025-05-06 15:12:01
Score: 0.5
Natty:
Report link

To make each MUI TextField take the full width (one per line) in a React form, you can use the fullWidth prop provided by Material-UI's TextField component. This will ensure that each TextField stretches to occupy the available width of its container, and if you want each one on a new line, you can simply wrap each TextField in a Box or a div.

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

79608977

Date: 2025-05-06 15:10:00
Score: 1
Natty:
Report link

my current solution is to bruteforce it:

<option>foo</option>=yes|<emphasis>no</emphasis>
Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: cagney

79608966

Date: 2025-05-06 15:03:58
Score: 5
Natty: 4.5
Report link

Same problem metioned by @Desolator, the code doesn't run on modern Chrome setups.

Reasons:
  • RegEx Blacklisted phrase (1): Same problem
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @Desolator
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: arturn

79608960

Date: 2025-05-06 15:00:57
Score: 3
Natty:
Report link

Your script is working perfectly on my dahua nvr , to get other channels just modify http://$ip:$port/cgi-bin/snapshot.cgi?channel=1?1

channel 0 is camera 1

channel 1 is camera ...

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

79608959

Date: 2025-05-06 14:59:56
Score: 3.5
Natty:
Report link

I was able to help myself out, I had a filter that modified the request to keep only what it was interested in. That's why I didn't have my SAML

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

79608956

Date: 2025-05-06 14:57:55
Score: 4.5
Natty:
Report link

Daisyui Supports Tailwindcss 4.0 now, check here for the setup guide: Install daisyUI as a Tailwind plugin

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

79608955

Date: 2025-05-06 14:56:54
Score: 4
Natty: 5
Report link

update visual studio resolved...

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

79608950

Date: 2025-05-06 14:55:54
Score: 2
Natty:
Report link

We will definitely need more information - ideally file a new issue and attach/share a simple reproducer app that would demonstrate the problem.

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

79608949

Date: 2025-05-06 14:55:54
Score: 2
Natty:
Report link

Because in this case the compiler does not need to know the size of the structure test, and the address is still eventually cast to the int * type.

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

79608945

Date: 2025-05-06 14:53:53
Score: 1.5
Natty:
Report link

After some research and trial-and-error, apparently the best way is to use

List-Unsubscribe:

This is described in https://www.ietf.org/rfc/rfc2369.txt and endorsed by Google and Microsoft.

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

79608939

Date: 2025-05-06 14:51:52
Score: 2
Natty:
Report link

The 1st solution is the better one since it's shorter and quicker. It also supports future sheets / tables widths development.

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ronen Ben-Meir

79608938

Date: 2025-05-06 14:51:52
Score: 4.5
Natty: 4
Report link

You can now disable the feature which is awesome:
https://learn.microsoft.com/en-us/power-platform/alm/git-integration/connecting-to-git#disconnect-from-git

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

79608937

Date: 2025-05-06 14:50:52
Score: 1.5
Natty:
Report link

After end of the code try to add this below lines
its a dirty trick to remove all the mirages, shadows in streamlit

for i in range(0, 100):
    st.markdown(" ")
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Raghu Nath

79608926

Date: 2025-05-06 14:42:50
Score: 3
Natty:
Report link

Your question is already asked and answered, still discussion is ongoing, plz follow that from here

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

79608919

Date: 2025-05-06 14:37:48
Score: 0.5
Natty:
Report link

It didn't work for me, because the problem wasn't using the secret but rather making the Glue Data Connection endpoint that was supposed to use AWS Secrets.

To do this you need to pass "SECRET_ID":

resource "aws_glue_connection" "my_connection" {
    connection_properties = {
        JDBC_CONNECTION_URL = "jdbc:..."
        SECRET_ID = aws_secretsmanager_secret.glue_data_connection_credentials.name

Terraform v1.9.4
AWS Provider v5.85.0

Reasons:
  • Blacklisted phrase (1): It didn't work for me
  • Has code block (-0.5):
Posted by: rmsys

79608911

Date: 2025-05-06 14:29:19
Score: 1.5
Natty:
Report link

Happened to me when I ran out of space on my /:C drive. Was running this

pip install tensorflow[and-cuda]
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: oshkosh

79608900

Date: 2025-05-06 14:25:18
Score: 3
Natty:
Report link

AWS has a service called AWS S3 batch operation, which makes it easy to retrieve multiple objects from Glacier back to S3. For more information, here is the documentation page: https://docs.aws.amazon.com/AmazonS3/latest/userguide/restoring-objects.html

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

79608890

Date: 2025-05-06 14:15:15
Score: 1
Natty:
Report link

I've been through something similar today. With the help of ChatGPT (which was not around 2 years ago haha), I think I got some answers... but, yeah, it's weird and it does not make a lot of sense.

Using the google_sign_in Flutter package on Android, when you provide a clientId, it overrides the behavior and ignores the google-services.json file. So, if you go the road of downloading the google-services.json file from Firebase, then do not provide a clientId.

The thing is that I did not want to use Firebase in my use case. So, how do I provide the necessary context to the package if I cannot provide a client id? And, I don't understand why that does not work because that's precisely what I did on iOS. Here is a working version:

Here's how ChatGPT summarized it for me:

Even if the Android Client ID isn't directly used in the app, registering it in the Google Cloud Console (with the correct package name and SHA-1 certificate) ensures that Google's authentication services recognize the app.

Maybe it made that up, I don't know, but the important part is that it works!

Reasons:
  • Blacklisted phrase (1): how do I
  • Blacklisted phrase (0.5): I cannot
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Jordan

79608887

Date: 2025-05-06 14:12:14
Score: 2
Natty:
Report link

You can try using this command:


python -m pip install --upgrade pandas
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Najmul Islam Najim

79608885

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

Thanks for pointing this out, you are right, this is a bug, and a regression from v3.1 of Dashboards.
I've raised a bug report here: https://github.com/highcharts/highcharts/issues/22999
You can watch this issue in the link above and track any information and workarounds for this one.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Andrzej Bułeczka

79608875

Date: 2025-05-06 14:03:11
Score: 4
Natty:
Report link
<%@page import="com.vvt.samplprojectcode.utilities.Message"%>
<%@page import="com.vvt.samplprojectcode.utilities.LocationDetailsUtilities"%>
<%@page import="com.vvt.samplprojectcode.dto.LocationDetails"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<jsp:include page="/pages/template.jsp">
    <jsp:param value="<div id='ch'/>" name="content" />
</jsp:include>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Location Details</title>
<script type="text/javascript">
function editLocation(slno) {
    window.location.href = "locationdetails.jsp?slno=" + slno + "&type=displayData";
}
function deleteLocation(slno) {
    swal({
        title: "Are you sure?",
        text: "Do you want to delete the selected location?",
        icon: "warning",
        buttons: true,
        dangerMode: true,
    }).then((willDelete) => {
        if (willDelete) {
            window.location.href = "locationdetails.jsp?slno=" + slno + "&type=deleteData";
        }
    });
}
</script>
</head>
<body>
<%
if (session.getAttribute("username") == null) {
    response.sendRedirect("login.jsp?" + Message.session_logout);
} else {
    try {
        LocationDetailsUtilities locationDetails = new LocationDetailsUtilities();
        LocationDetails roleDetailsModal = new LocationDetails();
        int slno = 0;

        String type = request.getParameter("type");

        if (type != null && type.equalsIgnoreCase("saveData")) {
            locationDetails.setLocationname(request.getParameter("LocationName"));
            String message = LocationDetailsController.saveLocationDetails(locationDetails);
            response.sendRedirect("fileupload.jsp?" + message);
        }
        
        
        
%>
<div class="right_col" role="main">
    <div class="">
        <div class="clearfix"></div>
        <div class="row">
            <div class="col-md-12 col-sm-12 col-xs-12">

                
                <div class="x_panel">
                    <div class="x_title">
                        <h2>Location Details (Upload File)</h2>
                        <div style="float: right">
                            <a href="${pageContext.request.contextPath}/ExcelTemplate/locationdetails.xlsx">
                                Location details <i class="fa fa-download"></i>
                            </a>
                        </div>
                        <div class="clearfix"></div>
                    </div>
                    <form action="bulkUploadData.jsp?type=locationDetails"
                        class="form-horizontal form-label-left" method="post"
                        enctype="multipart/form-data">

                        <div class="form-group">
                            <label class="control-label col-md-2">
                                Select File:<span style="color: red">*</span>
                            </label>
                            <div class="col-md-4">
                                <input type="file" name="file" class="form-control">
                            </div>
                            <div>
                                <button type="reset" class="btn btn-primary">Reset</button>
                                <input type="submit" value="Submit" class="btn btn-success" />
                            </div>
                        </div>
                    </form>
                    
                    <form action="fileupload.jsp?type=saveData" method="post"
                        class="form-horizontal form-label-left">
                        <div class="form-group">
                            <label class="control-label col-md-2">
                                Location Name:<span style="color: red">*</span>
                            </label>
                            <div class="col-md-4">
                                <input type="text" name="locationName" class="form-control"
                                    placeholder="Enter Location Name" required>
                            </div>
                            <div>
                                <button type="reset" class="btn btn-primary">Reset</button>
                                <input type="submit" value="Submit" class="btn btn-success" />
                            </div>
                        </div>
                    </form>
                </div>

                
                
                    
               
                <div class="x_panel">
                    <table class="table" id="datatable">
                        <thead>
                            <tr>
                                <th>Slno</th>
                                <th>Location Name</th>
                                <th>Edit</th>
                                <th>Delete</th>
                            </tr>
                        </thead>
                        <tbody>
                            <%
                            int count = 0;
                            LocationDetailsUtilities locationDetailsUtilities = new LocationDetailsUtilities();
                            for (LocationDetails display : locationDetailsUtilities.getLocationDetails()) {
                                count++;
                            %>
                            <tr>
                                <td><%= count %></td>
                                <td><%= display.getLocationname() %></td>
                               <td><button onclick="editLocation('<%=display.getSlno()%>')" class="btn edit" title="Edit">
                                                <i class="fa fa-pencil"></i>
                                            </button></td>
                                        <td><button type="button" onclick="deleteLocation('<%=display.getSlno()%>')"  class="btn delete" title="Delete">
                                                <i class="fa fa-trash-o fa-lg"></i>
                                            </button></td>
                            </tr>
                            <% } %>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
<%
    } catch (Exception e) {
        e.printStackTrace();
        response.sendRedirect("login.jsp?" + Message.session_logout);
    }
}
%>
</body>
</html>     in this code i want to add a manual locationname and that will be store on ui table and mysql table please suggest the corrected code
Reasons:
  • RegEx Blacklisted phrase (2.5): please suggest
  • RegEx Blacklisted phrase (1): i want
  • RegEx Blacklisted phrase (1): i want to add a manual locationname and that will be store on ui table and mysql table please
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Salman

79608871

Date: 2025-05-06 14:02:11
Score: 1
Natty:
Report link

Use font-display property to hide text with custom fonts until they are loaded by browser.

font-display: block;

Be careful with heavy fonts (variable, a lot of weights) as it will increase time to First Contentful Paint for your website.

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

79608870

Date: 2025-05-06 14:01:11
Score: 2
Natty:
Report link

open your console, press ctrl + shift + P. It will open command palette run clear console history command. Done.

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

79608869

Date: 2025-05-06 14:01:11
Score: 3
Natty:
Report link

Set your JPanel's layout manager to FlowLayout() or BorderLayout() and set its margins using setBorder(BorderFactory.createEmptyBorder(top, left, bottom, right)).

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

79608866

Date: 2025-05-06 14:00:10
Score: 1.5
Natty:
Report link

Wow, I spend hours last night trying to think (and overthink) about this issue. I searched online, I asked chatGPT I tried a million ways and this simple answer might do it. Can’t wait to try. In summary, what I read was, instead of using the inputs directly in my renderPlot function I store the default state of the inputs in reactive values, then place the inputs inside an observe event which updates the reactive values when the user opens the tab. At first the update generates the same value so nothing really happens, but when the user changes the sliderInput the plot will update.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ricardo Leitão

79608864

Date: 2025-05-06 13:58:09
Score: 5.5
Natty:
Report link

The gem has been removed from GitHub. Is the question still relevant?

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

79608856

Date: 2025-05-06 13:52:08
Score: 1
Natty:
Report link

When you encounter a 403 Forbidden error, it may be due to a firewall configuration or the way your App Engine configuration file is set up.

(1) Try to check the firewall settings by navigating to your App Engine’s Firewall UI. Use Test IP Address to verify that the settings are correct and if the external IP would be allowed by the existing firewall rules.

image

(2) Check your app’s configuration files, specifically the app.yaml file, to see and check if the runtime.js file is correctly declared as static_files and not mistakenly marked as an application code file.

You can also check this StackOverflow post, which I think might be related to your concern but it offers a different workaround.

If above doesn’t not work and if you have a support package, I would recommend you getting help through reaching out to Google Cloud Support for a more in-depth analysis of your issue or you can just open an issue report on Google’s App Engine public issue tracker but please note that they won’t be able to provide a specific timeline for when the issue will be resolved.

Reasons:
  • Blacklisted phrase (1): StackOverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Low reputation (0.5):
Posted by: HerPat

79608852

Date: 2025-05-06 13:50:07
Score: 2
Natty:
Report link

One way to do is to use a for loop:

\>>> names = Student.objects.filter(first_name__in=['Varun', 'Gina'])

\>>> names

<QuerySet [<Student: Varun Sharma>, <Student: Gina Ram>]>

\>>> for name in names:

... print(name)

...

Varun Sharma

Gina Ram

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

79608849

Date: 2025-05-06 13:50:07
Score: 0.5
Natty:
Report link

I just had this problem (and solved it).

What caused the error : when I clicked a .cs to open it (JSON_to_UBL.cs) , VS created a .RESX-file. I don't know why.... but it did (see image below) !

This caused the error : two output file names resolved to the same output path: "obj\Debug\net8.0-windows\Peppol_Communicator.PeppolMain.resources"

I could not find the true reason as there is no link whatever to another file of the same name in the resx. After deletion of JSON_to_UBL.resx the program compiled like a charm as it did before!

enter image description here

I sure would like to know why VS added the .RESX for free after double-clicking a cs.

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

79608844

Date: 2025-05-06 13:48:06
Score: 1.5
Natty:
Report link

I can try to decompose your consumer operations into a set of elementary more once and connect them by topics (change topology) of processing. Think also bout involving Kafka Streams, which handle parallelism and durability problems. Backpressure is very often not a good idea, because it requires more logic and leads to intentional performance degradation.

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

79608840

Date: 2025-05-06 13:47:06
Score: 2
Natty:
Report link

I also have the audio not transmitting issue. The problem was that the audio wasn't attached sometimes, and the ice gathering started. So, start the local stream before anything, like ice candidate gathering.What I did I start locastream in the background when the user presses the call button. Good luck

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

79608836

Date: 2025-05-06 13:46:05
Score: 3.5
Natty:
Report link

Only XML files can be in your /res/values folder

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

79608831

Date: 2025-05-06 13:43:04
Score: 1
Natty:
Report link

by adding the following portion of code the return path works correctly :

$mail->AddCustomHeader('Return-Path: <[email protected]>');
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: FABBRj

79608821

Date: 2025-05-06 13:38:03
Score: 2.5
Natty:
Report link

I am getting this warning too. I am not doing any heavy computation or expensive widget build, just some basic animation only. I think flutter shows this kind of warning while running in debug mode.

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

79608815

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

I also have the audio not transmitting issue. The problem was that the audio wasn't attached sometimes, and the ice gathering started. So, start the local stream before anything, like ice candidate gathering. So, what I did I start locastream in the background when the user presses the call button. Good luck

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

79608803

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

solution is boring as always, when I comes to such problems
and as nearly always it is customer based problem and in my case I used wrong domain in proxy settings

HTTP_PROXY=http://domain<this part was wrong>a123456:[email protected]:3000

also, when it comes to situation when password ends with '@' and right after it we again have @ - it doesn't matter xd

Reasons:
  • Whitelisted phrase (-1): solution is
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: mac blanco

79608796

Date: 2025-05-06 13:30:00
Score: 1.5
Natty:
Report link

I had the same issue. For me, downgrading NUnit3TestAdapter from 5.0.0 to 4.6.0 solved the problem.

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

79608795

Date: 2025-05-06 13:29:00
Score: 1
Natty:
Report link

I ran into the same problem and ended up building a browser extension to solve it. The main issue for me was enforcing a properly formatted commit message in the Bitbucket UI during a merge or squash. Since we squash our commits, that final message really needs to follow the conventional commit format.

As far as I can tell, Bitbucket doesn’t support plugins for customizing the merge UI, so a browser extension was the only workaround I could come up with.

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

79608793

Date: 2025-05-06 13:25:59
Score: 1
Natty:
Report link

They finally fixed it inside the 5.6.0 with this PR
What you can do now is:

xAxis: {
  splitLine: {
    show: true,
    showMinLine: false,  // do not show the first splitLine
    lineStyle: { color: 'black', width:3 }
  }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: PestoP

79608788

Date: 2025-05-06 13:22:58
Score: 3.5
Natty:
Report link

how did you set the code coverage trend to hide "branch coverage" ? In my code coverage trend I see line coverage and branch coverage, I would like to hide the branch coverage trend.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): how did you
  • Low reputation (1):
Posted by: Dario Imparato

79608785

Date: 2025-05-06 13:20:57
Score: 3
Natty:
Report link

Has a device you have started from antroid studio the same android and SDK version as another one installed APK directly? It could be the problem, those old SDK hasn't some elements.

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

79608777

Date: 2025-05-06 13:13:55
Score: 0.5
Natty:
Report link

I found a solution. I gave the user python read and write permissions to the /home/python/venv/lib and the pip install commands worked in the pipeline job.

@furas Thanks for the suggestions.

This is what I added to the Python Dockerfile to solve the issue:

RUN chown -R python:python /home/python/venv/lib && chmod -R u+w /home/python/venv/lib
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • User mentioned (1): @furas
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: mdailey77

79608768

Date: 2025-05-06 13:08:54
Score: 1
Natty:
Report link

If you are using tidyverse, the best way is to use slice together with rep:

df <- data.frame(x = 1, y = 1)
slice(df, rep(1, 5))

It is very similar to @lukaA 's answer using rbind but spares you from having to call df twice (and from indexing with square brackets).

If you want to duplicate the whole data frame, you can take use of n(), too:

df <- data.frame(x = 1:3, y = 1:3)
slice(df, rep(1:n(), 2))
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @lukaA
  • Low reputation (0.5):
Posted by: Mario Reutter

79608762

Date: 2025-05-06 13:02:52
Score: 1
Natty:
Report link

this parameter is no longer required from pandas 2.0.0 (April 2023).

see extract from pandas release notes:

https://pandas.pydata.org/docs/whatsnew/v2.0.0.html

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

79608746

Date: 2025-05-06 12:54:50
Score: 3.5
Natty:
Report link

I found an excellent article- the author describes his thoughts and steps while implementing a similar tpm functionality:

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

79608732

Date: 2025-05-06 12:45:47
Score: 2
Natty:
Report link
s = 50

Example: 
shap.plots.beeswarm(shap_values, s = 50, alpha=0.5)
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: A. Kedharnath

79608725

Date: 2025-05-06 12:39:46
Score: 5
Natty:
Report link

I have this problem. I can't fix it

Reasons:
  • Blacklisted phrase (1): I have this problem
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nicat Süleymanov

79608705

Date: 2025-05-06 12:30:43
Score: 1
Natty:
Report link

sometimes Angular 19+ uses HTTP/2 by default, it's depending on the Node version and environment your using in your machine. So try forcing HTTP/1.1:

ng serve --disable-http2
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Omprakash S

79608700

Date: 2025-05-06 12:29:42
Score: 2
Natty:
Report link

Same for me, I have been confused while encountering this API inconsistency and was also very surprised not finding more discussions about it.

However, it seems that the issue has now been fixed in the last JPA specifications (3.2), as visible in the javadoc here.

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

79608680

Date: 2025-05-06 12:19:40
Score: 2
Natty:
Report link

in my case, the problem was Ubuntu update settings.In Software Updater, go to settings and make sure you are subscribed to all updates (not only security updates).

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

79608678

Date: 2025-05-06 12:16:39
Score: 3.5
Natty:
Report link

I use NiFi Registry to maintain different versions of NiFi flows.

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

79608673

Date: 2025-05-06 12:11:38
Score: 1.5
Natty:
Report link

for anyone coming across this and wanting to delete the database but recreate it the exact same way it was (but just without the data), you can do dotnet ef database drop and then just dotnet ef database update or update-database (in package manager console)

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

79608671

Date: 2025-05-06 12:11:38
Score: 1
Natty:
Report link

I was faced same issue while working. After adding below code, it was resolved.

class="modal fade show"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Vanitha V

79608665

Date: 2025-05-06 12:08:37
Score: 2.5
Natty:
Report link

The issue was due to missing compiler flag. To make validation annotations work correctly on generic types, just enable the -Xemit-jvm-type-annotations compiler flag.

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

79608660

Date: 2025-05-06 12:06:36
Score: 4
Natty: 3.5
Report link

Sweet I found the answer and it works

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

79608657

Date: 2025-05-06 12:03:34
Score: 2
Natty:
Report link

Answering my own question after a bit of clarity for anyone stumbling onto this issue.

Subscript operator definition

The main thing is how operator[] implemented by default. Subscript operators have few versions:

// subscript operators 
          return_type& parent_struct::operator[](std::size_t idx);
    const return_type& parent_struct::operator[](std::size_t idx) const;

Where major part to notice is the little '&' (ampersand) at return type (return_type) which means that it is returned as reference which in this case can be constant or not.


What is reference?

So if we consider some variable (lets call it int myvar) it has few ways it can be referenced:


int myvar = 3; // holds value of 3, at some stack given address 
int *pointer_to_myvar = &myvar; // holds address of myvar, at some stack given pointer
int &ref_to_myvar = myvar; // is reference to existing myvar
int copy_myvar=myvar; // is copy of myvar 

And if we change myvar to 5, both myvar and ref_to_myvar will change values, but pointer_to_myvar and copy_myvar will be the same.

In case of copy_myvar we have simply made a new variable and copied the value, once we have done copying it they become independent.
In case of pointer_to_myvar it doesn't hold any value, but address of myvar so, if myvar changes, so will value stored at that address but address will be the same.
In case of ref_to_myvar it is like having alias to existing variable (myvar) so if anything changes to either address or value of myvar it will change in reference as well.

So this is the case with subscript operators, and what they return. They return reference to existing member (in this case instructions and memory) however said member can by anything. But the main issue here is that it must exist (by type) at least somewhere in the code before being referenced by operator.


How it can be done?

When designing a class or struct we handle these "references" by different constructors and operators (which I haven't done in original question) to handle these types of handling. In this case foo and bar have no way to knowing what each other is because computer doesn't really care. Each type (even struct or class) is bunch of bytes of memory and we tell it how it will read it via struct declaration and definition. So simply because we might understand whats done, it doesn't mean computer does.

So for member must exist and we can do it in few ways:

  1. Having global variable we will change every time we need to reference any member ( in this case struct bar{//code here}; bar ref; and assign within subscript operator before returning reference to it. Issue with this approach is that we can't have multiple references to multiple parts of foo, benefit is that in some cases (as in question) we don't need to in order to implement specific instruction onto specific memory address.

  2. Having container struct or class (in this case foo) be made of bar objects so we can simply return specific bar object that already exists in foo. Issues with this approach is that we have to make sure we understand lifetime (or scope) of the object : or when is constructor and when is deconstructor called. Benefits is that we can manipulate different members of foo and have no worries about will it mess something up - answer of TJ Bandrowsky

  3. Having few local variable or instance of bar within foo that we will change when using subscript operator and keeping track of fixed references like ( in struct foo we can have members of bar first, bar second ...) so we can keep track of fixed amount of references if we need to. Issue and benefit here are same, that is limit to objects we can reference before accidentally overwriting some reference. For some niche cases it is a benefit for others its a fault.

In original Question I have made an reference by member (memory and instruction) but original struct bar couldn't be referenced. So the main issue wasn't in implementation but in & (ampersand) and what it meant. Struct bar held correct memory of member of foo and was in itself a reference, but it wasn't possible to reference it later. (The whole "we might know, but computer doesn't"). Based on Question doing approach 2 would be more suitable.


Extra credits.

With all that being said, C++ doesn't limit us to just one way of doing things and we have complete freedom to do anything we wish. We can return pointer from subscript operator, we can return new instance of reference (as I tried in Question) and honestly possibilities are endless. To further more bring this to the end, we can take a look at answer from Spencer.

   bar operator[]( int index){
      return bar( this, index%16 ); // this, not *this
   } 

Where he simply removed reference ('&') from operator and returned new instance that in itself was a reference. Just because cpp reference suggest we should use reference in subscript operator it doesn't mean we have to. In this case this is an pointer of the address to foo instance, and by changing operator return type and using pointer (as used in bar constructor) we can compile our code and it will work with added headache (issue to original design) of having to find a way to safely use bar even if members of foo change due to scope of the object.

For anyone having similar issues, Id suggest figuring out how to safely do rule of 5 before trying to use any fancy extra credit. Understanding the scope and life style of object is crucial for any kind returns or output parameters.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): having similar issue
  • Contains question mark (0.5):
  • Self-answer (0.5):
Posted by: Danilo

79608648

Date: 2025-05-06 11:59:33
Score: 3
Natty:
Report link

you have to set intent receiveis on in datawidge also have to set values category default and action in this option

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

79608643

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

This problem can occur when you have a workspace with several folders. If your cucumber project isn't the first folder in your workspace, it won't be able to find your stepDefinitions.

More info here : https://github.com/alexkrechik/VSCucumberAutoComplete/issues/323#issuecomment-601640715

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: Sébastien Temprado

79608642

Date: 2025-05-06 11:56:32
Score: 1.5
Natty:
Report link

I had same situation, none of solutions was relevant for me.
At the end, I added package.json to lib-a and that solve the problem.

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

79608641

Date: 2025-05-06 11:55:31
Score: 10 🚩
Natty: 5.5
Report link

The same problem. Do you have any suggestions?

Reasons:
  • RegEx Blacklisted phrase (2): any suggestions?
  • RegEx Blacklisted phrase (2.5): Do you have any
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: vivagelive

79608631

Date: 2025-05-06 11:47:29
Score: 1
Natty:
Report link

$0200 is an input buffer used by CBM Basic. You should avoid using this memory section unless you disable Basic ROM. Please see the links below for more details.

Check Extended Zeropage section for $0200 address:
http://unusedino.de/ec64/technical/aay/c64/zpmain.htm

For enabling/disabling Basic and other ROMs:
http://unusedino.de/ec64/technical/aay/c64/memcfg.htm

Reasons:
  • RegEx Blacklisted phrase (1): see the links
  • Low length (0.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Emir Akaydın

79608628

Date: 2025-05-06 11:44:28
Score: 5
Natty:
Report link

Apparently this issue did only occur on Samsung devices and the emulator: https://github.com/android/camera-samples/tree/main/CameraX-MLKit

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Michael Wolz

79608626

Date: 2025-05-06 11:42:27
Score: 3
Natty:
Report link

client.global.set("your var name", "your var value")

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

79608620

Date: 2025-05-06 11:39:26
Score: 5.5
Natty:
Report link

Can you show code of ProductDetailsScreen and App components? Also html of head when you navigate /product/1

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you show code
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (1):
Posted by: Vasyl Rishko

79608614

Date: 2025-05-06 11:38:25
Score: 1.5
Natty:
Report link

let url = `https://translation.googleapis.com/language/translate/v2?key=${API_KEY}`;
url += '&q=' + encodeURI(text);
url += `&source=${fromLang}`;
url += `&target=${toLang}`;

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

79608612

Date: 2025-05-06 11:37:25
Score: 0.5
Natty:
Report link

function sendApprovedEmails() { const sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Data"); // Change if your sheet name differs const data = sheet.getDataRange().getValues(); const now = new Date();

for (let i = 1; i < data.length; i++) { const [to, subject, body, cc, approval, sentFlag] = data[i];

// Skip if not approved or already sent
if (approval !== "Approved" || sentFlag === "Sent") continue;

// Send email
try {
  GmailApp.sendEmail(to, subject, body, {
    cc: cc || "",
  });
  sheet.getRange(i + 1, 6).setValue("Sent"); // Mark as Sent in Column F
} catch (error) {
  Logger.log("Error sending email for row " + (i + 1) + ": " + error);
}

// Schedule the next email in 5 minutes using a trigger
if (i + 1 < data.length) {
  ScriptApp.newTrigger("sendApprovedEmails")
    .timeBased()
    .after(5 * 60 * 1000) // 5 minutes
    .create();
  break; // Exit loop to prevent multiple emails in one run
}

} }

I need to change in the above scrept

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Santosh N N

79608609

Date: 2025-05-06 11:36:25
Score: 2.5
Natty:
Report link

As of 2025 and Android 15 (R1), one could utilise the LTP tests as a part of Platform testing under VTS.

Official Documentation highlighting the presence of LTP as a part of VTS: https://source.android.com/docs/core/tests/vts#linux-kernel-tests

Then official source code references: https://android.googlesource.com/platform/external/ltp/+/refs/tags/android-15.0.0_r1/android/README.md

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

79608596

Date: 2025-05-06 11:32:23
Score: 1.5
Natty:
Report link

Another option to restore sql-dump with Query Tool and SQL Editor from pgAdmin is to make dump with --column-inserts. But loading data with INSERT is slow.

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

79608583

Date: 2025-05-06 11:25:21
Score: 1.5
Natty:
Report link
@media only screen and (orientation:portrait) {
#vbtn01 {
    position: relative;
    top: 0;
    transition: top 0.5s ease 0.5s;
}

#vimg01:hover+#vbtn01 {
    top: -940px;
}

}

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

79608566

Date: 2025-05-06 11:14:19
Score: 1
Natty:
Report link

Per @musicamante's advice, i put an event filter on a subclass of `QMainWindow` and now the keypress event is being read anywhere.

class MainWindow(QMainWindow):
    def __init__(self, parent=None):
        super(MainWindow, self).__init__(parent)
        app.installEventFilter(self) #keyboard control

    def eventFilter(self, obj, ev):
        if (ev.type() == QtCore.QEvent.Type.KeyPress):
            <<Stuff>>
        return super(MainWindow, self).eventFilter(obj, ev)

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @musicamante's
  • Self-answer (0.5):
Posted by: Ghost

79608562

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

Seems like image based lighting to me. 👇

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Geri Borbás

79608560

Date: 2025-05-06 11:12:18
Score: 3
Natty:
Report link

Deleting snap file as mentioned in above answers also worked for me

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

79608551

Date: 2025-05-06 11:07:17
Score: 3
Natty:
Report link

great it worked!

thanks a lot for the quick help!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Whitelisted phrase (-1): it worked
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: eraser51

79608535

Date: 2025-05-06 10:58:14
Score: 6.5 🚩
Natty:
Report link

This is not a bug, I have the same problem and it is the new Chrome update that blocks importing the Chrome Default Profile, you can read about it in this Google link https://developer.chrome.com/blog/remote-debugging-port?hl=pt-br

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

79608534

Date: 2025-05-06 10:57:14
Score: 0.5
Natty:
Report link

I encountered with this error when the path parameter I used was an unencoded value.

Example API GW path:

/accounts/{accountId}/files/{fileId}

In case the fileId contains slash character (eg. file/123) the error occurs.

Fix:

URL-encode the path parameters when calling the API:

/accounts/123/files/file%2F123
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ToC

79608528

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

When your crew_comptrain_refresh procedure is run and picks up NULL values, it usually means:

How to resolve:

To find the problematic columns:

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Low reputation (1):
Posted by: Yakup Altay