79508216

Date: 2025-03-14 05:30:58
Score: 1
Natty:
Report link

To run a Spring Boot 3 fat JAR with external libraries in a lib directory and configuration files in a config directory, follow these steps:

  1. Directory Structure: Ensure your structure looks like this:

    enter image description here

  2. Run the Application: Use the following command to start your application, ensuring to include the external libraries and configuration folder:

    java -cp "MyApp.jar:lib/*" org.springframework.boot.loader.WarLauncher --spring.config.additional-location=file:./config/

    Explanation:

    • -cp "MyApp.jar:lib/*": Sets the classpath to include your JAR and all JARs in the lib folder.

    • --spring.config.additional-location=file:./config/: Tells Spring to load configuration files from the config directory.

    Make sure to adjust the path separator if you're on Windows (; instead of :).

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sarwar Miral

79508207

Date: 2025-03-14 05:23:56
Score: 1.5
Natty:
Report link

If you still run into the problem after adding the import '@angular/localize/init' line, it might be that you need to move the line above all other imports, because order of imports is important. If some other import above uses $localize function, the error will persist

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Андрей Пискунов

79508204

Date: 2025-03-14 05:21:55
Score: 4.5
Natty: 4.5
Report link

Me too experiencing this, any updates?

i've set all scheme app.config.ts,

and it is callable with adb or npx to my appscheme

I don't get what's wrong maybe is this just a warn? as word it is?

Reasons:
  • RegEx Blacklisted phrase (0.5): any updates
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: 정희범

79508202

Date: 2025-03-14 05:19:53
Score: 6 🚩
Natty: 5
Report link

Even after adding jackson-databind, similar error persists "jackson-databind library cannot be found:

com.fasterxml.jackson.databind.ObjectMapper".

Anythoughts on this?

Reasons:
  • RegEx Blacklisted phrase (1): similar error
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user29974118

79508192

Date: 2025-03-14 05:08:51
Score: 2
Natty:
Report link

It is March, 2025 and I just solved this using Unity 6. (The menu must be a little different than previous Unity versions? I'm using a Mac but I wouldn't think it's a different menu than Windows) So here's the solution....

In the menu bar at top click on Unity, then Settings (2nd option from top). It will open the Preferences window. You can also get there with keyboard shortcut Command + comma (,) or Windows key and comma.

In the middle of the left side options in the Preferences window is External Tools. Click on that and then at the top where it says External Script Editor, click in there and select your Visual Studio Code. It didn't show up for me right away so I searched my applications for VS Code and found it that way. If you have VS Code open you'll want to restart it so it connects with Unity.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Brandon

79508187

Date: 2025-03-14 05:04:50
Score: 4.5
Natty: 4.5
Report link

while scaling is necessary, what i don't understand is why we use 1./255 instead of 1/255. Both seem to work the same way. or even specify rescale = 0.003922. Any gotchas here?

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

79508177

Date: 2025-03-14 04:56:48
Score: 2.5
Natty:
Report link

need to add muted attribute to video tag

<video ref={videoRef} autoPlay={!isIOSDevice && autoplay} playsInline controls crossOrigin="anonymous" preload="auto" muted=true >

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

79508176

Date: 2025-03-14 04:56:48
Score: 2
Natty:
Report link

in docker file should be 'CMD node server.js' not 'CMD ["node", "server.js"]'
try this

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Rasuli Naurizbaev

79508175

Date: 2025-03-14 04:56:48
Score: 0.5
Natty:
Report link

You can achieve this by passing both buttonColor and the buttonHoverColor as props to the ButtonSlider and then pass the values to the ButtonSlider component when it's rendered.

const ButtonSlider = styled(Button, {
  shouldForwardProp: (prop) => prop !== "buttonColor" && prop !== "buttonHoverColor",
})(
  ({ theme, buttonColor, buttonHoverColor }) => ({
    backgroundColor: buttonColor,
    "&:hover": {
      backgroundColor: buttonHoverColor,
    },
  })
);

<ButtonSlider
    color="secondary"
    variant="contained"
    buttonColor={data.buttonColor}
    buttonHoverColor={data.buttonHoverColor}
    >
      {data.buttonText}
</ButtonSlider>

The reason I have shouldForwardProp method defined in the styled function is to prevent you from getting errors like this in your console:

React does not recognize the buttonColor prop on a DOM element.

I hope this fixes your challenge.

Reasons:
  • Blacklisted phrase (1.5): m getting error
  • Long answer (-0.5):
  • Has code block (-0.5):
Posted by: Hamed Jimoh

79508173

Date: 2025-03-14 04:54:47
Score: 15
Natty: 7.5
Report link

we are getting the same issue with oracle DB , Do we have a fix for this problem? Any help would be appreciated.

Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): Any help
  • RegEx Blacklisted phrase (1.5): fix for this problem?
  • RegEx Blacklisted phrase (3): Any help would be appreciated
  • RegEx Blacklisted phrase (2.5): Do we have a
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): getting the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: bobby

79508172

Date: 2025-03-14 04:53:47
Score: 2.5
Natty:
Report link

When using percentages, try to convert it back into percentages. Meaning, if you have 117%, you would take 117/100 = 0.8547 So your 100% should now be 84.5% blue, and 15.5% red (100-85.5)

That should provide you with the correct logic.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Armand Groenewald

79508167

Date: 2025-03-14 04:48:46
Score: 2.5
Natty:
Report link

Get wifi, then use *#9900# or *#88#. From there you should be able to enable wireless debugging. If you still cant get there then it might be worth getting a dr fone license. They're sketchy but effective.

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

79508151

Date: 2025-03-14 04:31:43
Score: 0.5
Natty:
Report link

from PIL import Image, ImageDraw, ImageFont

# Load the image of Ronaldo

image_path = "ronaldo.jpg"

image = Image.open(image_path)

# Create a drawing context

draw = ImageDraw.Draw(image)

# Define the card dimensions (you can adjust these)

card_width, card_height = 400, 600

# Resize the image to fit the card

image = image.resize((card_width, card_height))

# Define the text to be displayed

name = "Cristiano Ronaldo"

jersey_number = "7"

goals = "850" # Example goal count

# Define fonts (you can change the font path to a TTF file on your system)

font_path = "arial.ttf" # Replace with the path to a TTF font file on your system

name_font = ImageFont.truetype(font_path, 30)

number_font = ImageFont.truetype(font_path, 50)

goals_font = ImageFont.truetype(font_path, 25)

# Define text positions

name_position = (50, 20)

number_position = (card_width - 100, 20)

goals_position = (50, card_height - 50)

# Define text colors

text_color = (255, 255, 255) # White

# Add text to the image

draw.text(name_position, name, font=name_font, fill=text_color)

draw.text(number_position, jersey_number, font=number_font, fill=text_color)

draw.text(goals_position, f"Goals: {goals}", font=goals_font, fill=text_color)

# Save the final image

output_path = "ronaldo_card.png"

image.save(output_path)

print(f"Card saved as {output_path}")

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

79508150

Date: 2025-03-14 04:31:43
Score: 3
Natty:
Report link

Nobody is sending anything sensitive over the internet without TLS. AND proxies subject to poisoning are extremely rare. The masking requirement is simply poor engineering.

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

79508141

Date: 2025-03-14 04:24:42
Score: 0.5
Natty:
Report link

here are some common solutions you could consider based on typical issues associated with Logback and Spring Boot:

  1. Check Logback Configuration File: Ensure your logback-spring.xml or logback.xml file is well-formed. XML files are sensitive to syntax errors, and any mistakes can cause compilation issues.

  2. Use Correct Spring Boot Version: Make sure your Spring Boot dependencies are compatible with the version of Logback you are using. Sometimes, version mismatches can lead to such problems.

  3. Dependencies in pom.xml or build.gradle: If you are using Maven or Gradle, check your dependency management section to ensure Logback is correctly included:

    • For Maven, ensure you have the following:

    • enter image description here

    • For Gradle:

    • implementation 'ch.qos.logback:logback-classic'

    • Other things you may check:

      1. Configuration File Location: Ensure that your logback-spring.xml is located in the src/main/resources directory. Spring Boot should automatically pick it up from there.

      2. Spring Boot DevTools: If you are using Spring Boot DevTools during development, try disabling it or restarting your IDE, sometimes classpath issues can arise during hot reloads.

      3. Code Issues: If your configuration file has any ${} place-holders, ensure the referenced properties are defined in your application properties/yml file.

      4. Check Libraries: Look out for any conflicting logging libraries on your classpath that might interfere with Logback, such as log4j or java.util.logging.

      5. Upgrade or Downgrade: Sometimes simply upgrading or downgrading the Logback or Spring Boot version can fix configuration issues if they are introduced by a particular release.

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sarwar Miral

79508138

Date: 2025-03-14 04:18:40
Score: 4.5
Natty: 5
Report link

https://www3.lunapic.com/editor/working/174192539274625972?79832912288

At that set up point, make sure those two at the bottom of the setup are not selected.

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

79508134

Date: 2025-03-14 04:15:40
Score: 0.5
Natty:
Report link

I was able to reproduce your issue and after setting THIS property, the issue went away.

            app.UseSwagger(c =>
            {
                c.SerializeAsV2 = true;
            });
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Marc Roussel

79508119

Date: 2025-03-14 03:55:36
Score: 4
Natty: 4
Report link

Test testing message Dont look at it and image that there is no this message

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

79508117

Date: 2025-03-14 03:53:35
Score: 1
Natty:
Report link

With pandas version 2.2,

pd.set_option("display.width", None)

worked for me.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Seanmamasde

79508114

Date: 2025-03-14 03:51:35
Score: 2
Natty:
Report link

So funny!

They thought they could just dress up the second one because she would have copies of the bodies of the Mothers children, and then they would have an additional five children to with the daughter. But it turns out that the Mother did not care about any of their 10 and they were then all deleted, then they did not spend any time with that Mother they believed they could just "rape" copies of her body. Good article.

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

79508105

Date: 2025-03-14 03:43:33
Score: 3
Natty:
Report link

Warning still exists as of node v22.9.0

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

79508091

Date: 2025-03-14 03:32:30
Score: 2.5
Natty:
Report link

Template.render always returns a string and this is by design. https://jinja.palletsprojects.com/en/stable/api/#jinja2.Template.render

If you need to convert you would have to

x = jinja2.Template('{{x|int}}',).render(x=1)
x_int = int(x)
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Seth.TW

79508089

Date: 2025-03-14 03:30:30
Score: 2
Natty:
Report link

The solution is to point to the library in Linker->Input->Additional Dependencies in the properties of the project is using that static library.

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Mattia

79508088

Date: 2025-03-14 03:30:28
Score: 8 🚩
Natty:
Report link

I used this command to get the expected output:

`Thyroid$cancer <- relevel(Thyroid$cancer, ref = "No")``

The default in R ia No but it did not work here and I have no idea why. I had to specify the reference using the above coce. Any answer as to why R did not use "No" as the default will be appreciated.

R for an unknown reason to me used "Yes" as the reference. I am not sure if I was supposed to declare the outcome as factor to fix this issue??

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): did not work
  • RegEx Blacklisted phrase (1.5): fix this issue??
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Biostat

79508082

Date: 2025-03-14 03:26:27
Score: 1
Natty:
Report link

With Stateless, the NFS protocol carries all the information needed to locate the appropriate file and perform the requested operation. Similarly, it does not track which clients have the exported volumes mounted, again assuming that if a request comes in, it must be legitimate.

These issues are addressed in the industry standard NFS Version 4, in which NFS is made stateful to improve its security, performance, and functionality.

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

79508079

Date: 2025-03-14 03:24:25
Score: 8.5 🚩
Natty: 6.5
Report link

I need a script with the information that is in the forum and also who has read and write access, who is the owner of the folders and the last date of modification.

Can you help me?

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (3): Can you help me
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: André Luiz Pinto

79508077

Date: 2025-03-14 03:24:24
Score: 2
Natty:
Report link

Did you check if the connections are properly open between the two servers? Usually, a timeout error indicates a network flow issue.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • High reputation (-1):
Posted by: sixrandanes

79508069

Date: 2025-03-14 03:20:23
Score: 1
Natty:
Report link

The page function has two parameters: header and footer. You can customize them by these two parameters.

A simple example is:

#set page(
  margin: (top: 40pt, bottom: 40pt),
  header: [
    #rect(
      fill: yellow,
      width: 100%,
      height: 100%
    )[
      Header in yellow block
    ]
  ],
  footer: [
    #rect(
      fill: red,
      width: 100%,
      height: 100%
    )[
      Footer in red block
    ]
  ]
)

#lorem(1000)

Rendered result of example

Here is the example in web app: https://typst.app/docs/reference/layout/page/#parameters-footer

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

79508060

Date: 2025-03-14 03:16:22
Score: 4.5
Natty: 4.5
Report link

no more info there try see this https://developer.android.com/guide/topics/manifest/data-element?hl=ko#:~:text=android%3ApathSuffix%0Aandroid%3A-,pathPattern,-android%3ApathAdvancedPattern

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: 정희범

79508057

Date: 2025-03-14 03:11:21
Score: 2.5
Natty:
Report link

This error no longer occurs with the new version of the Dark SDK. Possibly related discussions:https://github.com/dart-lang/sdk/issues/60161

Problematic dart sdk version 3.6.0.

3.7.2 is ok

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

79508051

Date: 2025-03-14 03:01:19
Score: 2.5
Natty:
Report link

The issue was caused by “Visual Code”.

When I first opened the project, VS Code prompted about trusting the author.

I clicked “Yes, I trust the authors” but did not check “Trust the authors of all files in the parent folder ‘projects’”.

This caused the errors.

enter image description here

Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Jean J. Michel

79508046

Date: 2025-03-14 02:53:18
Score: 3
Natty:
Report link

You may need to ask your hosting provider if you are using a shared hosting to increase your allowed memory or you may need to edit your php.ini file to increase it.

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

79508041

Date: 2025-03-14 02:46:17
Score: 1
Natty:
Report link

My favorite pattern for this is:

let val = map.get(key)
if (!val) map.set(key, val = defaultVal)

I like this because it lines up.

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

79508036

Date: 2025-03-14 02:42:16
Score: 0.5
Natty:
Report link

If you add your table to a data model in Power Pivot you can create a new measure =CALCULATE(DISTINCTCOUNT(Range[Subrow]),ALL(Range[Subrow])). Add this measure to your pivot table in the values section and filter one it.

enter image description here

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

79508030

Date: 2025-03-14 02:38:15
Score: 0.5
Natty:
Report link

serious_python:
looks like it can be used to run python apps in flutter so intelligently on all flutter target platforms.

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

79508026

Date: 2025-03-14 02:28:14
Score: 4.5
Natty:
Report link

Text your dynasty group chat for help

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

79508024

Date: 2025-03-14 02:27:14
Score: 1
Natty:
Report link
import { Injectable } from '@angular/core';
import { ipcRenderer } from 'electron';

@Injectable({
  providedIn: 'root'
})
export class IpcService {
  private _ipc: typeof ipcRenderer | undefined;

  constructor() {
    this._ipc = window.require('electron').ipcRenderer;
  }

  send(message:string){
    this._ipc?.send(message);
  }
}
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: jayme

79508022

Date: 2025-03-14 02:21:13
Score: 1.5
Natty:
Report link

From angular V17 onwards it has been depricated.

enter image description here

To resolve this issue simply update browserTarget -> buildTarget in angular.json file

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

79508019

Date: 2025-03-14 02:17:12
Score: 1.5
Natty:
Report link

To ensure that libtorch recognized CUDA, I added /INCLUDE:"?warp_size@cuda@at@@YAHXZ" to the linker command line in Visual Studio 2022, following https://github.com/pytorch/pytorch/issues/31611 .

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

79508012

Date: 2025-03-14 02:12:11
Score: 1.5
Natty:
Report link

Add the status code to the header.

header( 'HTTP/1.1 200 OK' );
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mizuho Ogino

79508010

Date: 2025-03-14 02:07:11
Score: 1
Natty:
Report link
git revert commit_B_hash

Maybe you need to resolve the conflicts manually.The commit history remains unchanged, still being A -- B -- C -- D, but the changes made in commit B are reverted, retaining only the changes from commits C and D.

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

79508004

Date: 2025-03-14 01:59:09
Score: 1.5
Natty:
Report link

I didn't see the trees for the forest on this one. There already is a combined metric, no multiplication necessary.

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

79507986

Date: 2025-03-14 01:36:05
Score: 1.5
Natty:
Report link

You'll need to grant Prompt Template Manager permission to your user. Once done, you will see Prompt Builder in setup

sf org assign permset -n EinsteinGPTPromptTemplateManager

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

79507977

Date: 2025-03-14 01:27:03
Score: 0.5
Natty:
Report link

I had a similar problem. I had a SAVE button inside a FORM. Clicking the SAVE button called a JavaScript routine which produced a modal that appeared and immediately disappeared before clicking any buttons. Moving the SAVE button outside the <form> </form> fixed the issue. Apparently the form was interfering with the modal processing.

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

79507975

Date: 2025-03-14 01:24:03
Score: 1
Natty:
Report link

I think protocol would be appropriate here. You can define your protocol with the methods you need from Iterator

class MultiIterable(Protocol):
    def __next__(self) -> None:
        ...

    def __iter__(self) -> None:
        ...


def loop_twice(param: MultiIterable):
    for thing in param:
        print(thing)

    for thing in param:
        print(f"{thing} again")

https://typing.python.org/en/latest/spec/protocol.html#protocols

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Geneviève Le Houx

79507966

Date: 2025-03-14 01:15:00
Score: 2.5
Natty:
Report link

Websites exist for people beyond those who are technically empowered and informed. There are entire communities of people who struggle with literacy and also don't have the technical wherewithal to even learn that a tool like a screen reader exists, nor figure out how to install it. It would be a real win for these communities to make information more accessible by creating something that actually does this.

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

79507965

Date: 2025-03-14 01:15:00
Score: 0.5
Natty:
Report link

There is a small typo here :

<Text> style={{color: '#FFFFFF'}}>Hippo counter</Text>

You are closing the Text tag too soon.

Corrected :

<Text style={{color: '#FFFFFF'}}>Hippo counter</Text>

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

79507964

Date: 2025-03-14 01:14:00
Score: 3.5
Natty:
Report link

If it doesn't matter the order why not just print twice one loop? Depends on what type of data you are storing and the purpose of the Obj. If its just ints a list would be fine.

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

79507962

Date: 2025-03-14 01:10:59
Score: 0.5
Natty:
Report link

ChatGpt and Gemini both are loaded with the old information and hence I was not able to get the answer initially, but after having a good discussion with Gemini (after all it is Google LLM ha ha ha and I am trying to use Google OAuth), Gemini took me in the right direction. Here is the way I have implemented it and it is working all right for me now.

I am using .Net 9, MAUI for Android
Nuget package : Duende.IdentityModel.OidcClient (6.0.1)

public sealed class GoogleLoginService
{
    const string clientId = "Your-client-id";
    const string redirectUri = "com.company.app:/oauth2redirect"; // You can set the first part as your android package name
    const string authority = "https://accounts.google.com/o/oauth2/v2/auth";
    const string scope = "openid profile email";
    const string userInfoEndpoint = "https://openidconnect.googleapis.com/v1/userinfo";

    public async Task<string> PerformOAuthLogin()
    {
        try
        {
            var browser = new WebAuthenticatorBrowser();
            var options = new OidcClientOptions
            {
                Authority = authority,
                ClientId = clientId,                    
                Scope = scope,
                RedirectUri = redirectUri,
                Browser = browser,
                ProviderInformation = new ProviderInformation
                {
                    IssuerName = "accounts.google.com",
                    AuthorizeEndpoint = authority,
                    TokenEndpoint = "https://www.googleapis.com/oauth2/v4/token",
                    UserInfoEndpoint = userInfoEndpoint,
                    KeySet = new JsonWebKeySet()
                },
            };

            var oidcClient = new OidcClient(options);
            var loginResult = await oidcClient.LoginAsync();

            if (loginResult.IsError)
            {
                throw new Exception($"Failed to authenticate with Google: {loginResult.Error}");
            }

            return loginResult.AccessToken;
        }
        catch (Exception)
        {
            throw;
        }
    }

    

    class WebAuthenticatorBrowser : Duende.IdentityModel.OidcClient.Browser.IBrowser
    {
        public async Task<BrowserResult> InvokeAsync(BrowserOptions options,
                                       CancellationToken cancellationToken = default)
        {
            try
            {
                WebAuthenticatorResult result = 
                    await  WebAuthenticator.AuthenticateAsync(
                                          new Uri(options.StartUrl),
                                          new Uri(options.EndUrl));
                
                var url = new RequestUrl(redirectUri)
                        .Create([.. result.Properties]);

                return new BrowserResult
                {
                    Response = url,
                    ResultType = BrowserResultType.Success,
                };

            }
            catch (TaskCanceledException ex)
            {
                return new BrowserResult()
                {
                    ResultType = BrowserResultType.UserCancel,
                    Error = ex.Message
                };
            }
        }            
    }
}


There could be better ways to do it but for the time being I am going ahead with this approach.

Reasons:
  • Blacklisted phrase (1): I am trying to
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: ViBi

79507955

Date: 2025-03-14 01:02:58
Score: 0.5
Natty:
Report link

Build on x86 Native Tools Command Prompt for VS 20xx or x64 Native Tools Command Prompt for VS 20xx can help reduce of standard libs missing.

  1. Open Start Menu

  2. Search for Native Tools Command Prompt for VS

  3. Open x64.. for x86_64

  4. Ready to run cl command

  5. All standard libs are included

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

79507932

Date: 2025-03-14 00:35:53
Score: 1.5
Natty:
Report link

Considering that you have done all the steps I would follow, I would suggest:

  1. Check your dependencies
    It may be an error with your dependencies. Some versions may still 'force' your system to run <13.0.
    You may look in your flutter terminal. Run 'flutter pub get' and check the outdated dependencies. Or you may visit the dependency on flutter website and check the latest version.

  2. Clean Xcode cache

    flutter clean

    flutter pub get

    cd ios

    xcodebuild clean

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

79507927

Date: 2025-03-14 00:30:52
Score: 1
Natty:
Report link

Please execute the following command from the console:

uv add boto3

It worked for me.

Reasons:
  • Whitelisted phrase (-1): It worked
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Rudrajit Das

79507913

Date: 2025-03-14 00:20:50
Score: 2
Natty:
Report link

I'm still getting a memory limit when it is updated to 64 bit. Im running a simple yet resource intensive program

characters = ["~","!","@","#","$","%","^","&","*","(",")","_","+","`","1","2","3","4","5","6","7","8","9","0","-","=","Q","W","E","R","T","Y","U","I","O","P","{","}","|","q","w","e","r","t","y","u","i","o","p","[","]",'1"backslash"2"key"3"eight"4"characters"5"long"',"A","S","D","F","G","H","J","K","L",":",'"',"a","s","d","f","g","h","j","k",";","'","Z","X","C","V","B","N","M","<",">","?","z","x","c","v","b","n","m",",",".","/"," "]

This is the list I'm using

it uses itertools to create 94^8 characters yet I would like to give python more memory to work with. This memory being a lot more memory. Do any of you know how to use the resource command or any other commands that can help me with this?

This is the last line of the code: print(combinations)

the combinations is the 94^8 (I'm not really sure if it is 94 or 93 since the list is very long. Don't mind the backslash bit in the list. It just represents the backslash character).

Reasons:
  • Blacklisted phrase (1): help me
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Python Learner

79507910

Date: 2025-03-14 00:18:50
Score: 2
Natty:
Report link

Check this issue on the github page if it helps

https://github.com/graphql-python/graphene-django/pull/1128

And if you made your custom middleware already... then you are fine, it is a onetime code (no maintenance is needed after you write it for the first time)

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

79507907

Date: 2025-03-14 00:16:49
Score: 0.5
Natty:
Report link

I see an issue because Spring Security takes full control of CORS once you enable http.cors(withDefaults()), which means @CrossOrigin on your controller gets ignored.

Option 1: Remove the global CORS config from Spring Security.

Option 2: Instead of using @CrossOrigin, configure CORS rules per endpoint.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Shanmuga Sundaram Natarajan

79507884

Date: 2025-03-13 23:47:43
Score: 1
Natty:
Report link

My guess is that a lot of problems will be resolved once you move away from the static DataAccess class. It seems that your legacy app spun its own Factory-like scheme that can be handled cleanly using native .NET & EntityFrameworkCore.

DbContext instances (or DbContextFactory instances) can be set up to be available from the IServiceProvider, or injected directly into controllers or other service classes. DbContexts or DbContextFactories will get their connection strings within the static Main method, where you build your IConfiguration to go into the IServiceProvider and can pull connections strings at the same time.

Is each DataAccess the same DbContext or are there different tables, etc., involved? If they are the same, create a projects for your DAL from which each of your other projects can depend.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Jeff Zola

79507875

Date: 2025-03-13 23:40:42
Score: 3
Natty:
Report link

You don't need Docker Desktop nor cloning the Docker image. Instead, you should follow the official guides: https://meta.discourse.org/t/install-discourse-on-windows-for-development/75149/1

https://meta.discourse.org/t/install-discourse-for-development-using-docker/102009/1

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

79507868

Date: 2025-03-13 23:34:41
Score: 1
Natty:
Report link

Interesting topic. I am implementing IF operator in my little DSL, and I want a provision for an option for expression that resolves to value, rather than just value. So that one can compare

if (expression, like (2+2) etc) >= (another expression) THEN 
IF ((booleanTypeVariable) OR ( myVariable > 0)) AND ((3-1)>0) THEN...

Still in the works, also want to be able to resolve function to either numeric value, or straight boolean, not sure how it will play out. Right now EBNF look like so:

ifOperator = 'IF' boolean 'THEN' statementList ('END'| ('ELSE' statementList 'END'))

boolean = 'true' | 'false' | booleanTypeVariable | condition { ('AND'|'OR') condition}

condition = expression comparator expression

comparator = '>' | '<' | '='.. etc

expression = variable | function call | mathExpression 

turned out not a straightforward task.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Andrew

79507865

Date: 2025-03-13 23:30:40
Score: 0.5
Natty:
Report link

Soft wrap (no new lines):

enter image description here

Hard wrap (has new lines):

enter image description here

Examples in PyCharm 2024.2.3 Professional Edition and Windows 11 24H2 Pro.

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • High reputation (-2):
Posted by: Franck Dernoncourt

79507857

Date: 2025-03-13 23:26:36
Score: 6 🚩
Natty: 5.5
Report link

Some one done this Task succesfully?

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

79507856

Date: 2025-03-13 23:26:36
Score: 1.5
Natty:
Report link

The currently-accepted answer (using "editor.formatOnSave": false) does not work for me, unfortunately.

I had to explicitly add yaml files to .prettierignore:

*.yaml
*.yml
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sam Hinshaw

79507853

Date: 2025-03-13 23:23:36
Score: 1
Natty:
Report link

(improved version of https://stackoverflow.com/a/45319485/4557005 )

Override the EditText's onTextContextMenuItem, in older devices without pasteAsPlainText just do as AppCompatReceiveContentHelper.maybeHandleMenuActionViaPerformReceiveContent but forcing FLAG_CONVERT_TO_PLAIN_TEXT

  @Override
  public boolean onTextContextMenuItem(int id) {
    if (id == android.R.id.paste) {
      if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
        id = android.R.id.pasteAsPlainText;
      } else if (ViewCompat.getOnReceiveContentMimeTypes(this) != null) {
        // older device, manually paste as plain text
        ClipboardManager cm = (ClipboardManager) getContext().getSystemService(
          Context.CLIPBOARD_SERVICE);
        ClipData clip = (cm == null) ? null : cm.getPrimaryClip();
        if (clip != null && clip.getItemCount() > 0) {
          ContentInfoCompat payload = new ContentInfoCompat.Builder(clip, ContentInfoCompat.SOURCE_CLIPBOARD)
            .setFlags(ContentInfoCompat.FLAG_CONVERT_TO_PLAIN_TEXT)
            .build();
          ViewCompat.performReceiveContent(this, payload);
        }
        return true;
      }
    }
    return super.onTextContextMenuItem(id);
  }
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Asiel Diaz Benitez

79507841

Date: 2025-03-13 23:14:34
Score: 2
Natty:
Report link

for future brothers comes this topic about executing selenium as a service at linux vps with docker;

guys, dont forget, docker is NEW COMPUTER. if you have chromedriver on your computer , selenium uses at LOCAL.

but

if you are trying to dockerize application at vps , you HAVE TO create a DOCKERFILE and tell docker "HEY DOWNLOAD CHROME DRIVER FOR ME"

https://www.youtube.com/watch?v=gtGiS9FbOhE&lc=Ugw6znf0abkeBtyXs9d4AaABAg

im a turkish guy and i explained in 6 minutes.

if you download chrome-driver to your vps machine and dockerize app, still no working.

i hope someone can use this comment and fix his problem.

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: emirhankarakoc

79507838

Date: 2025-03-13 23:11:34
Score: 1
Natty:
Report link

You could try using a lambda function when binding your button:

new_card.clicked.connect(lambda _, x=card: self.click_card(x))

def click_card(self, card):
    print(f"I am {card}")

You need to be carefull with lambda function inside a for loop, that's why I've put x=card. The argument _ is just a placeholder for the regular argument to the "clicked" signal

https://doc.qt.io/qtforpython-5/PySide2/QtWidgets/QAbstractButton.html#PySide2.QtWidgets.PySide2.QtWidgets.QAbstractButton.clicked

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Geneviève Le Houx

79507813

Date: 2025-03-13 23:00:30
Score: 11.5 🚩
Natty: 5.5
Report link

Were you able to solve this issue?

Reasons:
  • Blacklisted phrase (1): you able to solve
  • RegEx Blacklisted phrase (1.5): solve this issue?
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user29973406

79507810

Date: 2025-03-13 22:58:29
Score: 0.5
Natty:
Report link

In your code, you have this line:

package_data={"test_package": ["**/*.pxd", "**/*.pxy"]},

Which is the cause of this problem. Changing it to

package_data={"test_package": ["**/*.pxd", "**/*.pyx"]},

Will use the pyx function and fix this issue.

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

79507795

Date: 2025-03-13 22:47:27
Score: 2
Natty:
Report link

if process.env doesn't works by changing in config. Use const VITE_YOUR_API_KEY = import.meta.env.VITE_YOUR_API_KEY Use the VITE_ for successfull configuration with Vite support. Add VITE_YOUR_API_KEY in .env and use it fearlessly with the import.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Zameer a Lucknowi

79507768

Date: 2025-03-13 22:31:24
Score: 2.5
Natty:
Report link

I found this code looking very helpful for me but I'm facing issue as this code in written in version 5, if you can convert it to version 6 with efficient and error free code compatible with version 6 this will be very helpful for me.

Thank You

Reasons:
  • Blacklisted phrase (0.5): Thank You
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Muneeb Tahir

79507765

Date: 2025-03-13 22:29:24
Score: 0.5
Natty:
Report link

The only reliable way I found to get away with this error is,

  1. Click the "User Switcher" icon on the top right corner in the Status bar

  2. Click "Login Window...", this will take you to the Lock screen

  3. Now login back using your credentials.

The only reason why it might be working is, when you follow above steps you are essentially killing all of your user processes and launching them back once you login back. So the process which is responsible for the timestamp might have been killed and restarted.

Let me know if this is working for you as well, or any better technical explanation.

enter image description here

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

79507750

Date: 2025-03-13 22:16:21
Score: 4
Natty: 4.5
Report link

As of .NET 8.0, System.Data.SqlClient is obsolete. Instead, use Microsoft.Data.SqlClient.

https://techcommunity.microsoft.com/blog/sqlserver/announcement-system-data-sqlclient-package-is-now-deprecated/4227205

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

79507746

Date: 2025-03-13 22:15:21
Score: 3.5
Natty:
Report link

Im also experiencing this. I have been trying to re-format my YAML file in multiple ways, also tried to generate just a simple one with firebase-tools npm package's cli command firebase init + added some test secrets with cli tools too, but no luck. Any apphosting.yaml content is not applied to build process.

Reasons:
  • Blacklisted phrase (1): no luck
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mika

79507738

Date: 2025-03-13 22:12:20
Score: 1
Natty:
Report link

This is exactly what you need: https://github.com/jab/bidict

It's mature and easy to use.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Andriy Makukha

79507734

Date: 2025-03-13 22:10:20
Score: 5
Natty: 5
Report link

I don't have an answer but how did you go about setting the "offset" to one for the second notebook?

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

79507731

Date: 2025-03-13 22:08:19
Score: 1
Natty:
Report link

2025 still running into this cryptic error message:

Can't connect to MySQL server on 'localhost' ([Errno 2] No such file or directory)")

I had 2 cloud run functions connecting to the same SQL instance, one working and the other getting that error message. The code was literally copy-paste from the working to the not-working.

The above link from @Josh Bloom gave me the idea to contrast "gcloud run services describe x" output and, sure enough, the working service had a "SQL connection" defined and the other didn't. I added the missing connection in the console and the bad guy started working.

What gives? I generated both these cloud run functions from the same laptop, with the same "gcloud functions deploy" and the same exact code copy-pasted.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Josh
  • Low reputation (0.5):
Posted by: Yanay Lehavi

79507723

Date: 2025-03-13 22:05:18
Score: 1
Natty:
Report link

All the answers helped me with the problem. I did run gem update, and concurrent-ruby was updated to 1.3.5

I did run

gem install concurrent-ruby -v 1.3.4

then

gem uninstall concurrent-ruby -v 1.3.5

Cocoapods come back to the life

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: Ronaldo Albertini

79507702

Date: 2025-03-13 21:53:14
Score: 1.5
Natty:
Report link

enter code hereWhen we inherit by extension we call the Shape() in the Rectabgle constructor. to decouple their prototypal chains we say Rectangle.prototype = Object.create(Shape.prototype)

lastly Rectangle.prototype.constructor = Rectangle;


function Rectangle ( x, y ) {
Shape.cali(this)  
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When we in
  • Low reputation (1):
Posted by: user3440335

79507678

Date: 2025-03-13 21:38:11
Score: 0.5
Natty:
Report link

Drawing on this conversation, I was able to resolve the issue on the author's GitHub page as follows:

    ---
    output: 
        pdf_document:
    header-includes:
      - \usepackage{tabularray}
    ---
    
    ```{=latex}
    \DefTblrTemplate{firsthead,middlehead,lasthead}{default}{}
    \DefTblrTemplate{firstfoot,middlefoot}{default}{}
    \DefTblrTemplate{lastfoot}{default}% 
    {
      \UseTblrTemplate{caption}{default}
    }
    ```
    
    ```{r, echo=FALSE}
    library(modelsummary)
    library(tinytable)
    mod <- list()
    mod[['One variable']] <- lm(mpg ~ hp, mtcars)
    mod[['Two variables']] <- lm(mpg ~ hp + drat, mtcars)
    
    modelsummary(mod,
                  title = "Regression Models")|>
      style_tt(tabularray_outer = "label={tblr:test}")
    ```
    
    Table \ref{tblr:test}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Florian Reiche

79507673

Date: 2025-03-13 21:36:11
Score: 2
Natty:
Report link

I found the problem. I started changing things around according to mykaf's suggestion and realized that I had a tag at the top of the included file. I don't know why but this caused the problem. I remove it and the original code worked fine. Thanks so much for the help.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: user460114

79507664

Date: 2025-03-13 21:28:09
Score: 0.5
Natty:
Report link

Not only can you move rows down, you can also move rows up. So instead of deleting a certain number of rows, you can use move_range with translate=True to move everything coming after the to be deleted rows up by the same amount and have the the relative references in formulae adapted.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sandy Hope

79507657

Date: 2025-03-13 21:25:08
Score: 2.5
Natty:
Report link

(treat this as a comment ı don't have 50+ reputation) ı was using gizmos for debugging raycasts it is good to visually see the rays, make it change color based on some conditions etc.

Gizmos.DrawLine(transform.position, target.position);
Reasons:
  • RegEx Blacklisted phrase (1.5): reputation
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: stan oref

79507656

Date: 2025-03-13 21:24:08
Score: 1.5
Natty:
Report link

thanks to @Rishard i tried to custom the endpoint by add this code in WP snippet

add_filter('woocommerce_rest_prepare_product_object', function ($response, $product, $request) {
    if (!empty($response->data['attributes'])) {
        foreach ($response->data['attributes'] as &$attribute) {
            if (!empty($attribute['options'])) {
                $options_with_ids = [];
                foreach ($attribute['options'] as $option) {
                    $term = get_term_by('name', $option, $attribute['slug']);
                    if ($term) {
                        $options_with_ids[] = [
                            'id' => $term->term_id,
                            'name' => $term->name
                        ];
                    } else {
                        $options_with_ids[] = [
                            'id' => null,
                            'name' => $option
                        ];
                    }
                }
                $attribute['options'] = $options_with_ids;
            }
        }
    }
    return $response;
}, 10, 3);

now to response is

{
                "id": 7,
                "name": "Size",
                "slug": "pa_size",
                "position": 4,
                "visible": true,
                "variation": true,
                "options": [
                    {
                        "id": 123,
                        "name": "L"
                    },
                    {
                        "id": 138,
                        "name": "XL"
                    }
                ]
            }
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Rishard
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Mohamed Sabry

79507647

Date: 2025-03-13 21:20:08
Score: 1.5
Natty:
Report link

@Szymon Stepniak mentions about the map key names being the stage names is incorrect. They're called branch names. They seem relatively unimportant, except for the backend to identify them.

If you run that code it's all nested under the parent stage, "Run"

If you run the below code, you will see they now have individual stages.

def somefunc() {
    stage("Echo1 Stage") {
        echo 'echo1'
    }
}

def somefunc2() {
    stage("Echo2 Stage") {
        echo 'echo2'
    }
}
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @mentions
  • Low reputation (1):
Posted by: Timothy Eggers

79507643

Date: 2025-03-13 21:18:07
Score: 2
Natty:
Report link

i fixed the issue by adding the needed events into a pareload.

Reasons:
  • Whitelisted phrase (-2): i fixed
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: MrWhoSBOSS

79507642

Date: 2025-03-13 21:17:07
Score: 0.5
Natty:
Report link

I would go with the basic way:
EDIT: fixed code formatting to return None outside of loop

for key, sets_list in d.items():
        for sets in sets_list:
            if target_number in sets:
                return key
return None
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Eric Formo

79507635

Date: 2025-03-13 21:14:06
Score: 2
Natty:
Report link

Read the documentation. There are almost all the answers there.
https://codeigniter4.github.io/userguide/libraries/validation.html#redirect-and-validation-errors

Add helper(['form']); in Home::index and use in template validation_show_error('username')

There are no property of $this->validation, there is a $this->validator but it is created after the validate() call.

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

79507633

Date: 2025-03-13 21:13:05
Score: 3.5
Natty:
Report link
Hello, I'm using a translator for English:

Hello, I have the same problem and have been working on it for a few days now. Here's my suggested solution:

Arduino IDE
Use Board Manager:
ESP32 from Espressif version 3.1.0 or lower!

Then it might work. But please don't ask me why.

Greetings from Berlin
Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Blacklisted phrase (1): days now
  • Whitelisted phrase (-2): solution:
  • Low length (0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same problem
  • Low reputation (1):
Posted by: LDN001

79507623

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

Also, you can try installing/updating your project packages: npm install.

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

79507617

Date: 2025-03-13 21:02:03
Score: 1.5
Natty:
Report link

So I've researched this on several occasions (more than I should, admittedly) and the most accurate/common definitions I've found are:

Fault - actual line of code that causes the error
Error - incorrect internal state (manifestation of the fault)
Failure - what the program does wrong as a result of the fault/error

Here's an image with an example

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

79507609

Date: 2025-03-13 20:58:02
Score: 3
Natty:
Report link

I'm having the same problem 'Undefined variable $payment' even using Livewire\Volt\Component'

<?php

use Livewire\Volt\Component;

new class extends Component
{
    public string $payment = 'cc'; 

    public function subscription()
    {
        //TODO
    }
    
}

?>
<x-layouts.app :title="__('Subscription')">
    <form wire:submit="subscription" class="flex flex-col gap-6">
        
        <flux:select size="sm" wire:model.live="payment" :label="__('Select your payment method')">
            <flux:select.option value="cc">{{ __('Credit Card') }}</flux:select.option>
            <flux:select.option value="pix">Pix</flux:select.option>
        </flux:select>

        @if ($payment === 'cc')
            <div wire:key="credit-card-fields">
                <label for="card-number">Número do Cartão</label>
                <input type="text" id="card-number" name="card_number" placeholder="Número do Cartão">

                <label for="card-holder">Nome do Titular</label>
                <input type="text" id="card-holder" name="card_holder" placeholder="Nome do Titular">

                <label for="card-expiry">Data de Expiração</label>
                <input type="text" id="card-expiry" name="card_expiry" placeholder="MM/AA">
            </div>
        @endif
       
        @if ($payment === 'pix')
            <div wire:key="pix-details" class="pix-details">
                <p>Escolha a opção Pix para realizar o pagamento.</p>
            </div>
        @endif

        <button type="submit">Assinar</button>
    </form>
</x-layouts.app>
Reasons:
  • Blacklisted phrase (1): I'm having the same problem
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): I'm having the same problem
  • Low reputation (1):
Posted by: joaovictormramos

79507605

Date: 2025-03-13 20:57:01
Score: 3
Natty:
Report link

Maybe I am 2 years behind and late but what theme are you using in VSCODE yours seems very nice!

Thank you!

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

79507571

Date: 2025-03-13 20:41:58
Score: 2.5
Natty:
Report link

The same article now says.

Tip

There is no limit to how many repositories you can index.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Muhammad Khuzaima Umair

79507559

Date: 2025-03-13 20:35:57
Score: 3
Natty:
Report link
header 1 header 2
cell 1 cell 2
cell 3 cell 4
Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ms Nupur

79507556

Date: 2025-03-13 20:31:56
Score: 4
Natty:
Report link

I tried this solution but when I did it and I reload the page, my app is trying to save the page in my downloads, I'm not sure exactly why is happening, so I changed a little bit the config to only get the .mjs files, but then I'm getting new errorsenter image description here

And the errors are: enter image description here

Reasons:
  • RegEx Blacklisted phrase (1): I'm getting new error
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Javier Torres

79507546

Date: 2025-03-13 20:26:54
Score: 1.5
Natty:
Report link

Here is the answer that worked, thank you very much for your help

SELECT ROW_NUMBER() OVER(PARTITION BY SomeVal ORDER by case when SomeVal IS NULL THEN 1 ELSE 0 END)
Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: James

79507542

Date: 2025-03-13 20:25:54
Score: 2
Natty:
Report link

DOH...This turns out to be an SELinux configuraiton issue.

I found that by 'sudo setenforce 0' allows the file to load properly.

Now I just have to get my system administrator to adjust the SELinux config.

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

79507536

Date: 2025-03-13 20:21:53
Score: 3
Natty:
Report link

I am not sure if this helps but I tried to install tabulizer from ropensci but it did not work. tabulizerjars installed and so did tabulapdf. However, it seems more work than it is worth. I have instead gone with the pdftools and tesseract (ocr) packages and those seem to work well enough. I am using a M1 Mac with RStudio Version 2024.12.1+563 (2024.12.1+563) and mac OS Sequoia 15.3.1.

Reasons:
  • Blacklisted phrase (1): did not work
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Haraldur Karlsson

79507529

Date: 2025-03-13 20:18:52
Score: 0.5
Natty:
Report link

According to documentation you should not invoke flush after every change to an entity or every single invocation of persist/remove/... This is an anti-pattern and unnecessarily reduces the performance of your application. Instead, form units of work that operate on your objects and call flush when you are done. While serving a single HTTP request there should be usually no need for invoking flush more than 0-2 times.

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

79507525

Date: 2025-03-13 20:16:52
Score: 2.5
Natty:
Report link

in tailwind 4 the breakpoints handle this way:

Breakpoint prefix Minimum width CSS sm 40rem (640px)

@media (**width >= 40rem**) { ... }

md 48rem (768px)

@media (**width >= 48rem**) { ... }

lg 64rem (1024px)

@media (**width >= 64rem**) { ... }

xl 80rem (1280px)

@media (**width >= 80rem**) { ... }

2xl 96rem (1536px)

@media (**width >= 96rem**) { ... }

but these media query works just on iphone safari 16.4 to up !

it must be such this (such as past tailwind version (3)):

@media (**min-width: 640px**) { ... }

how to handle these?!

but i do not know how to fix this entirely in tailwind!

Reasons:
  • RegEx Blacklisted phrase (2): i do not know how to fix
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: abol

79507524

Date: 2025-03-13 20:16:52
Score: 4
Natty:
Report link

Seeing the "Office script service is unreachable" message myself. Script will not run.

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

79507518

Date: 2025-03-13 20:13:48
Score: 6 🚩
Natty:
Report link

I am having the same issue, but there is only 2 parameters not 3, and I can't use the importrange because I don't want all of the data, and I want it to sort alphabet order when it pulls in

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Deb Brown