79609188

Date: 2025-05-06 17:24:42
Score: 3
Natty:
Report link

Generally its easy to implement constant volumetrics, when amount of "water" in the air is aproximatelly the same evrywhere, for example exponential fog (you can google it out to find some formulas, they are quite easy). But if you want to do something more complex like clouds, where amount of "water" in the air isnt the same at any point, then you should do some sampling and aproximations.

This video might be really helpful with understanding these concepts: https://www.youtube.com/watch?v=y4KdxaMC69w&t

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (1): This video
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Mitro Juryev

79609183

Date: 2025-05-06 17:19:41
Score: 3
Natty:
Report link

This package does that, as well as converting to other common formats
https://github.com/JuliaPlots/NumericIO.jl

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

79609181

Date: 2025-05-06 17:16:40
Score: 1
Natty:
Report link

Try this:

"private": true, "scripts": { "dev": "next dev", "prebuild": "next telemetry disable", "build": "next build", "start": "next start", "lint": "next lint"

Reasons:
  • Whitelisted phrase (-2): Try this:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Gustavo Maldonado

79609180

Date: 2025-05-06 17:16:40
Score: 5.5
Natty: 6.5
Report link

I'm also having this problem and just saw this post. I tried the ["string", "null"] and got the same error as before. If I add the expression above to the Content, Power Automate is saying the Content is not valid. What am I doing wrong? Do I have to add a second action?

Reasons:
  • Blacklisted phrase (1): What am I doing wrong?
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: V Kulkarni

79609178

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

add a condition for if the id is empty string nor none, because id is expecting a uuid,
if not shipId:
log.error("empty shipId")
return False

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

79609172

Date: 2025-05-06 17:07:38
Score: 1
Natty:
Report link

in follow up, looks like issue was in not specifying the host parameter in FastMCP(...). without this param server must be taking some short-circuit to 127.0.0.1, for instance tcp was only reachable locally and even that through 127.0.0.1 only.

once I supplied host parameter I was able to make remote calls.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Giorgi Sh.

79609162

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

here is the answer!

I hope it can help you!

num = int(input("Enter a number: \n"))
if num % 2 == 0:
    print ("Even")
else:
    print ("Odd")
Reasons:
  • Whitelisted phrase (-1): hope it can help
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Akira Sunsets

79609159

Date: 2025-05-06 17:04:36
Score: 2
Natty:
Report link

option tag After struggling with distorted text in my JavaFX TableView when using the Pyidaungsu font for Burmese text, I found that setting the -Dfile.encoding=UTF-8 option in my pom.xml using the <option> tag in the appropriate Maven plugin configuration which fixed the issue for me.

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

79609156

Date: 2025-05-06 17:03:36
Score: 1.5
Natty:
Report link

The issue was that springdoc-openapi-maven-plugin is executed during integration-test phase while swagger-codegen-maven-plugin default phase is generate-sources which is executed before integration-test in the build lifecycle. Also on your 3rd plugin you entered the id format twice with no spaces so it could not generate your correct to run correctly. That should fix your code and make the process run correctly.

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

79609152

Date: 2025-05-06 16:59:35
Score: 3
Natty:
Report link

Seems you need to have a target env of .net 5 or higher for the setup project to generate an installer with the all users option. On a side note, Crystal Reports does not work with .net higher than 4.8

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

79609146

Date: 2025-05-06 16:56:34
Score: 1
Natty:
Report link

you can set keyboard shortcuts within the Visual Studio Code Shortcut Editor, as described here: https://code.visualstudio.com/docs/configure/keybindings

The link above also describes troubleshooting shortcuts: https://code.visualstudio.com/docs/configure/keybindings#_troubleshooting-keyboard-shortcuts

At the time of writing, to open the Keyboard Shortcuts editor, select the File > Preferences > Keyboard Shortcuts menu, or use the Preferences: Open Keyboard Shortcuts command (Ctrl+K Ctrl+S) in the Command Palette.

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

79609140

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

For me the problem was I an artifact environment variable left behind by an unistalled program.
First, I temporarily unset the CURL_CA_BUNDLE variable in my terminal. Then I try to run the program. Once that worked, I renamed CURL_CA_BUNDLE environment variable to CURL_CA_BUNDLE_depr just incase I need to go back to it.

And my installation went smoothly.

Reasons:
  • Blacklisted phrase (0.5): I need
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: SpatialNasir

79609132

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

Trying to add references was a distraction and didn't resolve the issue.

The breaking change made on April 28th was that the version of C# used by script actions was rolled back from 11 to 8. Our code uses Raw String Literals (among other things), which is not supported in C# 8.

https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/tokens/raw-string

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

79609130

Date: 2025-05-06 16:46:30
Score: 2
Natty:
Report link

I never really found an adequate solution to this issue. For the one answer provided, with all available capabilities and without runFullTrust, my app still could not access the SQLite database located at FileSystem.AppDataDirectory.

BUT, what did happen is that the Microsoft store stopped flagging my runFullTrust setting with a warning. I suspect that there literally is no way around this at this time. Hopefully future updates will address this.

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

79609127

Date: 2025-05-06 16:44:30
Score: 2
Natty:
Report link

The purpose of generic attribute is for presentation/layout styling in HTML4 but its been replaced with CSS nowadays because of the use of modern HTML5. But the core attribute remains constant and mainly used for element identification and styling (Supported in HTML5). finally international attributes are used to support multilingual website development.

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

79609123

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

I'm not sure if you might need this, or maybe someone else, so here is a workaround.

For reproducing the problem, print *, -2147483648yields the following on my machine:

Error: Integer too big for its kind at (1). This check can be disabled with the option ‘-fno-range-check’

Now, the default type of integer in Fortran is type 4, hence the early comment by @jhole.

We can however, make it compliant with print *, -2147483647 - 1, which will output the expected -2147483648.

OR

You can also specify a bigger int for the type of output:

program bigint
integer, parameter :: int64 = selected_int_kind(18)
print *, -2147483648_int64
end program bigint

output would be -2147483648

To answer your questions specifically:

Am trying to find a cite for you here: https://gcc.gnu.org/onlinedocs/gfortran/, I hope I will be successful

Here's a very similar post for you in the meantime. The logic still stands: Why Negating An Integer In Two's Complement and Signed Magnitude Can Result In An Overflow?

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • User mentioned (1): @jhole
  • Looks like a comment (1):
  • High reputation (-1):
Posted by: Tino D

79609101

Date: 2025-05-06 16:26:24
Score: 3
Natty:
Report link

deves cambiar el formato del archivo, de ser una imajen puedes utisar un editor de imajenes como ser paint o cualquier otro editor,,, cuando ayas terminado de editarlo. Elije "guardar como" y aparesen los formatos mas comunes como ser png, jpg, bpm.. etc

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

79609099

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

In INFER_SCHEMA try using IGNORE_CASE => TRUE

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

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