79457287

Date: 2025-02-21 11:52:21
Score: 7 🚩
Natty: 5
Report link

Did you find any useful way to solve this issue, which tool or algorithm did you use for smoothing freehand drawn strokes? I am working on the same problem, Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (3): Did you find any
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you find any use
  • Low reputation (1):
Posted by: hassan javed hassan javed

79457265

Date: 2025-02-21 11:43:18
Score: 2.5
Natty:
Report link

As the saying goes: "i used regex to solve my problem, now i have two problems"

but have you considered using regex to extract the specific fields you want?

^(\S+)\s+(WLAN\s+\d+)\s+(\S+)\s+(Infinity|(?:\d+ Days\s+\d+ hrs\s+\d+ mins\s+\d+ secs))\s+(.+)$

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

79457260

Date: 2025-02-21 11:40:17
Score: 3.5
Natty:
Report link

In my case: just turn off the web proxy.

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

79457259

Date: 2025-02-21 11:40:17
Score: 1.5
Natty:
Report link

Try manually specifying the store URL:

npm create @shopify/hydrogen@latest -- --store=my-store.myshopify.com
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Joe

79457258

Date: 2025-02-21 11:40:17
Score: 0.5
Natty:
Report link
  const Upload = () => {
  const [fileName, setFileName] = useState('no file selected');
  const [resultText, setResultText] = useState('');
  const fileInputRef = useRef(null);

  const localIP = "myipv4address";
  const uploadUrl = `http://${localIP}:3000/upload`;

  const [userId, setUserId] = useState(null);


  useEffect(() => {
    const fetchUserData = async () => {
      const storedData = localStorage.getItem("auth");
      if (!storedData) return;

      const { email, password } = JSON.parse(storedData);
      try {
        const userResponse = await axios.get(
          `http://localhost:8080/users/byEmail/${email}`,
          {
            headers: { "Content-Type": "application/json" },
            auth: { username: email, password },
          }
        );

        setUserId(parseInt(userResponse.data.id));
        console.log(userResponse.data.id); // it prints 12, which is my user id, it works fine
      } catch (error) {
        console.error("error getting the user:", error);
      }
    };

    fetchUserData();
  }, []);

  const handleFileChange = async (event) => {
    const file = event.target.files[0];
    if (!file) return;

    const allowedTypes = ["image/jpeg", "image/jpg", "image/png"];
    if (!allowedTypes.includes(file.type)) {
      setFileName("invalid file!");
      event.target.value = "";
      return;
    }

    if (userId === null) {
      console.error("User ID invalid");
      return;
    }

    try {
      const formData = new FormData();
      formData.append("image", file);
      formData.append("userId", String(userId));

      const response = await fetch(uploadUrl, {
        method: "POST",
        body: formData,
      });

      if (!response.ok) throw new Error("Error");

      const data = await response.json();
      setFileName(file.name);
      setResultText(`Image uploaded: ${data.imageUrl}`);
    } catch (error) {
      console.error("Error:", error);
      setFileName("Error");
      event.target.value = "";
    }
  };
return (
 <div className="qr-section">
      <p>or scan the qr code to upload from your phone:</p>
      <QRCodeComponent value={uploadUrl} />
    </div>

    <input
      id="file"
      type="file"
      accept="image/jpeg, image/jpg, image/png"
      onChange={handleFileChange}
      ref={fileInputRef}
    />
  </div>);};

Export default Upload;

Sorry if it has some errors, it is not the exact code, I edited a bit before posting it here So what I'm I doing wrong when trying to pass the userId to the server? As I said, in the server, if I try to console log it, it prints undefined

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Gabi Moldovan

79457244

Date: 2025-02-21 11:34:16
Score: 2.5
Natty:
Report link

Glad to help! If anyone is still facing issues with launching Roblox via C#, feel free to ask. Also, if you're looking for a reliable script executor, check out Delta Executor APK for Roblox for a smooth gaming experience!

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

79457234

Date: 2025-02-21 11:32:16
Score: 1.5
Natty:
Report link

I've found solution in their migration guide https://angular-material.dev/articles/updating-to-angular-material-19#13-changes-for-typography. Don't know why it's not described in documentation

@include mat.typography-hierarchy(
      mat.define-theme(
        (
          typography: (
            use-system-variables: true,
            system-variables-prefix: mat-sys,
          ),
        )
      )
    );

This will also generate css classes https://angular-material.dev/articles/angular-material-18-typography#generated-css-classes

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

79457230

Date: 2025-02-21 11:30:15
Score: 1.5
Natty:
Report link

You can do it using the following command in Intelejji.

Edit | Sort Lines
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kolya Terletskyi

79457221

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

I have a similar problem: Error (0 , util_1.isObject) is not a function. This has been happening every time I try to start the server, followed by a freeze. I haven't changed anything with my environment or the Dockerfile. I also tried reinstalling everything and it didn't help. The project works for everyone else...

Reasons:
  • Blacklisted phrase (1): I have a similar problem
  • Has code block (-0.5):
  • Me too answer (2.5): I have a similar problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: 1Dr490n

79457217

Date: 2025-02-21 11:27:14
Score: 2
Natty:
Report link

Conditionally rendering Stack screen won't help you achieve transitions when navigating between screens.

Instead use the router instance to push/replace between screens, this will leverage the OS navigation transitions.

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

79457216

Date: 2025-02-21 11:27:14
Score: 3.5
Natty:
Report link

Need to reopen CLI after update environment variable. then your php -v command return updated version. Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Syed Musaib Jeelani

79457202

Date: 2025-02-21 11:23:13
Score: 2.5
Natty:
Report link

I'm not sure if you can find a full tutorial for your exact problem but as far as I can tell what you need is the following:

  1. AudioFileStream extracts MP3 frames from NSData: https://stackoverflow.com/a/17332543/29516370

  2. AudioConverter converts the MP3 frames to PCM : Unable to convert mp3 into PCM using AudioConverterFillComplexBuffer in AudioFileStreamOpen's AudioFileStream_PacketsProc callback

  3. The PCM data can be played using AudioUnit: as you say you've already done it

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kiryl Famin

79457196

Date: 2025-02-21 11:20:12
Score: 1
Natty:
Report link

A Bit late here but for those who are using newer version of Android Studio, as of today here I am writing this answer who uses multiple Android studios on one machine, one is installed in default directory, other is just a zipped downloaded to same directory but different parent folder.

Due to this stunt of mine, I also faced this issue precisely to be

** Plugin [id: 'com.android.application', version: '8.7', apply: false] was not found in any of the following sources: **

So the solution for those who use Gradle whether older or newer version, is check the AGP version matches the supported version of gradle that you are using. It must be the minimum supported gradle version. here is link. navigate to it and match the gradle versions, if it is not listed here, then use a AGP version lower than your gradle.

e.g. this is Gradle wrapper file

https://developer.android.com/build/releases/gradle-plugin#kts

distribution URL is https://services.gradle.org/distributions/gradle-8.10-all.zip

AGP is "8.7.0"

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

79457191

Date: 2025-02-21 11:19:12
Score: 1.5
Natty:
Report link

In our project we have faced the same issue. We noticed that on our pod the home path variable was not set and that docx4j was trying to write in /root directory where docx4j had no access to create the .docx4j folder.

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

79457185

Date: 2025-02-21 11:18:12
Score: 2
Natty:
Report link

Replace selenium with playwright. Their native video recording works on Mac like a charm. (no need of xvfb, XQuartz)

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

79457177

Date: 2025-02-21 11:16:11
Score: 1.5
Natty:
Report link

What is your flutter version and android target SDK ?

I think you use a version of flutter above 3.27 and target android sdk 15 (directly or indirectly by the flutter version), the issue come from the overlay you add.

I think removing your customOverlayStyle() will have no effect and will remove the store recommendation.

Reasons:
  • Blacklisted phrase (1): What is your
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What is you
  • Low reputation (0.5):
Posted by: Maoux

79457176

Date: 2025-02-21 11:16:11
Score: 1
Natty:
Report link

I faced a similar issue while trying to assume an IAM Role from inside a EKS pod which uses the new pod identity.

I was getting the below error.

An error occurred (AccessDenied) when calling the AssumeRole operation: User: arn:aws:sts::*****:assumed-role/***** is not authorized to perform: sts:TagSession on resource: arn:aws:iam::*****:role/*****

The problem was with the external-id condition in the trust relationships of the role to be assumed. Once I removed that condition it worked fine.

Reasons:
  • Blacklisted phrase (1.5): getting the below error
  • Whitelisted phrase (-1): it worked
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Alan Jose

79457175

Date: 2025-02-21 11:15:11
Score: 1
Natty:
Report link

I encountered this issue only in Android Studio, while running Flutter commands in Windows Command Prompt (CMD) worked fine.

To fix this, I simply ran Android Studio as an administrator, and after that, flutter doctor worked inside Android Studio without any issues.

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

79457174

Date: 2025-02-21 11:15:11
Score: 2.5
Natty:
Report link

You can remove the apostrophe after the event with "Find and Replace"

In the "Find" box use "^'" and leave the "Replace with" box empty.

Check the "Search using regular expressions" and "Also search within formulae" boxes.

enter image description here

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

79457173

Date: 2025-02-21 11:15:11
Score: 0.5
Natty:
Report link

The smallrye-open-api-ui is already a transitive dependency of helidon-integrations-openapi-ui, and you are explicitly specifying a version for it. Your version is lower than the one used by Helidon, so maybe there is some API missing. If you remove the dependency from your pom file, thinks should work.

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

79457171

Date: 2025-02-21 11:15:11
Score: 3
Natty:
Report link

Thank you for this post, a bit out of topic, but I had an issue connecting to Application Insights (Invocations panel in Azure functions) and simply disabling my ad blocker helped. I was getting BLOCKED BY CLIENT error in the web console.

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

79457168

Date: 2025-02-21 11:14:11
Score: 0.5
Natty:
Report link

Did you add the Springdoc configurations in your application.properties file?
If not, try adding these configurations:

springdoc.api-docs.path=/api-docs
springdoc.api-docs.enabled=true
springdoc.show-actuator=true

Then you can use authenticated if you want.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you add the
  • Low reputation (1):
Posted by: Aimene Nouri

79457167

Date: 2025-02-21 11:14:11
Score: 0.5
Natty:
Report link

If you are using JpaRepository interface, than the following is also possible:

@Query(value = "SELECT * FROM get_actor_by_id(?1)", nativeQuery = true)
Actor getActorByCallingFunction(final Integer id);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Munish Dhiman

79457164

Date: 2025-02-21 11:12:10
Score: 3.5
Natty:
Report link

Check this migration guide to see if it helps to remove the message you get.

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

79457150

Date: 2025-02-21 11:06:09
Score: 0.5
Natty:
Report link

With .NET 8.0 and above, if you have both "WorkerService.dll" and "WorkerService.exe" files, use the .exe file to create the Windows service instead of the .dll. This resolved my 1053 error.

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

79457141

Date: 2025-02-21 11:04:09
Score: 1.5
Natty:
Report link

To change the class of service (COS) for an extension in a Panasonic PBX using TAPI, follow these steps:

  1. Ensure the Panasonic TAPI driver is installed and configured.
  2. Connect to the PBX system using a compatible TAPI application.
  3. Access the extension settings through the TAPI interface.
  4. Modify the COS parameter based on required permissions and restrictions.
  5. Apply the changes and restart the extension if necessary.

For expert IT solutions in Dubai, including PBX setup and maintenance, visit ammitservices.com.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: AMM Information Technology

79457122

Date: 2025-02-21 10:55:07
Score: 1
Natty:
Report link

It depends on what you are using to convert your Markdown to PDF.

I had a similar issue last week and struggled to convert my engineering report with mathematical equations (latex) from Markdown to PDF and share with our team. I tried with multiple tools but most were not providing an output with style similar to VsCode or even GitHub.

Dillinger, Typora etc. None of them presented an output I was looking for.

But this Markdown to PDF converter gave a preview that's close to what I was looking for. My colleagues liked the format of the report.

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

79457117

Date: 2025-02-21 10:53:06
Score: 1.5
Natty:
Report link

You are not copying .env into the docker build step. Also please check that any .env entry is not present in your .dockerignore file if any

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

79457116

Date: 2025-02-21 10:53:06
Score: 1.5
Natty:
Report link

Used:

SampleResponse sampleResponse = mock(SampleResponse.class);
when(response.asJson(SampleResponse.class)).thenReturn(sampleResponse);

to make it work.

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

79457098

Date: 2025-02-21 10:46:05
Score: 0.5
Natty:
Report link

I faced the same issue and spend a few hours attempting to understand the root cause. I have tried to change the memory limits as suggested above. Simply put, I have tried everything, but it didn't help me.

Then I got an idea that I should try to run another test and bingo! It worked as usual. Then I decided to rewrite the "problematic" test from scratch. During rewriting I caught myself thinking that I forgot to mock/define some dependencies of the class under testing.

Recently, I added Clock to my class

private final Clock clock;

After defining this dependency in the test class the issue has gone

var clock = Clock.fixed(Instant.now(), ZoneOffset.UTC);

I see that the question was asked a couple of years ago, but I believe it could be useful for someone.

Reasons:
  • Blacklisted phrase (1): ve tried everything
  • Blacklisted phrase (1): help me
  • Whitelisted phrase (-1): It worked
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Anton Kozytskyi

79457093

Date: 2025-02-21 10:44:04
Score: 0.5
Natty:
Report link

This is solution for Microsoft 365:

enter image description here

[Sheet1!D2 and fill down]=TOROW(FILTER(Sheet2!$H$4:$H$9;Sheet2!$B$4:$B$9=C2))

Assuming the first picture is Sheet1, the second - Sheet2.

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

79457088

Date: 2025-02-21 10:43:04
Score: 0.5
Natty:
Report link

enter image description herefrom my experience I can say best to avoid using in your code new Date() rather use new Date(Date.now()) and here is why, Date.now() is easier to mock, add script into watcher as in the picture, notice system date vs logged date

  if(!document.querySelector('script#mock-date')){
        const script = document.createElement('script');
        script.id='mock-date';
        script.innerHTML = `Date.now = ()=> new Date('2020-01-01T00:00:00+10:00').getTime();`;
        document.head.appendChild(script);
        }

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

79457087

Date: 2025-02-21 10:43:04
Score: 2
Natty:
Report link

In my case I had both files:
-jsconfig.json
-tsconfig.json

Next used tsconfig.json, but I edited jsconfig.json file. Basically, move your logic from one to another file and delete unused config.

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

79457085

Date: 2025-02-21 10:42:04
Score: 1.5
Natty:
Report link

I've been using MinIO, but in the latest versions of the Community Edition, they are removing a lot of functionality from the UI and shifting it to the paid AIStore version.

Because of this, I’m currently evaluating OpenStack Swift as an alternative. It supports an S3-compatible API, making migration from MinIO smoother while avoiding vendor lock-in.

Would love to hear if anyone else has experience with Swift in a similar use case!

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

79457082

Date: 2025-02-21 10:41:03
Score: 3.5
Natty:
Report link

i fix this by re-configuring the firebase.

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

79457078

Date: 2025-02-21 10:40:03
Score: 2.5
Natty:
Report link

TLDR: You need to manually uninstall the app on your debugging device to unblock the Gradle process if you have an app with the same package name but a different signature.

I had the same problem, which kept coming back day after day, without me knowing exactly where it was coming from. I finally identified the problem on my machine, so I'm sharing it here in case of it can help. I'm on Windows with Visual Studio Code for Flutter, and I also often work with Android Studio for native Java development. For me, the problem was VSC's inability to deploy a debug app if another app with the same package name but a different signature is installed on my debug device.

I'm used to how Android Studio works, which in the same situation, displays a clear message saying that the app will be replaced, and asks the user for confirmation. With VSC and Flutter, there is no message or confirmation request, and the Gradle process seems to run indefinitely, without ever displaying an error or telling the user (me) that the app deployment is blocked.

Specific case (or steps to reproduce): I'm currently rewriting an application from Java to Flutter. But I continue to maintain the Java app. At the beginning of the rewrite, I opted to maintain the same package name for both applications. The intention is to try deploying the Flutter app as an update to the existing Java app (I have not yet reached this point, and I am still uncertain of its feasibility).

Anyway, the problem appears when I switch from java to flutter on my debug device. If I need to do some tests on the Java app, while before I was working on Flutter, I have no problem with Android Studio: it detects that my previous build does not match and asks me to confirm uninstallation of the Flutter app to replace it with the Java app. Then, when I need to do the opposite (replace the java app by the flutter app), VSC does not warn me that it has a deployment problem, and I see the Gradle process running indefinitely. The solution here is to manually uninstall the java app, to be able to deploy the flutter app. I suppose, but I haven't tested it, that we could have the same problem if we test an app on the store (with a production signature) and try to go back to the app under development (with a debug signature) without manually uninstalling the production app on the testing device.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-1): I had the same
  • Long answer (-1):
  • No code block (0.5):
  • Me too answer (2.5): have the same problem
  • Low reputation (1):
Posted by: Christophe NOIRTIN

79457068

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

A good web online tool: https://evercoder.github.io/clipboard-inspector/

It is enough to paste inside a box and the clipboard will be expanded and explained.

You asked for a tool which doesn't require the paste operation, so this answer is not perfectly centered. But the reason behind this request is that you don't want that automatic formatting takes action. And with this tool, formatting doesn't interfere.

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

79457045

Date: 2025-02-21 10:28:01
Score: 3.5
Natty:
Report link

I think you should debug firstly, can you catch the file and then can you use it. If all statements are working, can you provide more codes to explain it ?

func startGame() {
    // Check if the file "start.txt" exists in the main bundle
    if let startWordsURL = Bundle.main.url(forResource: "start", withExtension: "txt") {
        print("File found: \(startWordsURL)") // Debugging statement
        
        do {
            // Try to read the content of the file
            let startWords = try String(contentsOf: startWordsURL, encoding: .utf8)
            let allWords = startWords.components(separatedBy: "\n")
            
            // Debugging statement to print all words loaded from the file
            print("Words loaded: \(allWords)") 

            // If you want to set a random word as the rootWord
            // rootWord = allWords.randomElement() ?? "november"
            
        } catch {
            // If there's an error reading the file, print the error
            print("Error reading file: \(error)")
        }
    } else {
        // If the file wasn't found, print a message
        print("File 'start.txt' not found in the bundle.")
    }
}
Reasons:
  • RegEx Blacklisted phrase (2.5): can you provide
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: blackhatsrak

79457034

Date: 2025-02-21 10:25:00
Score: 0.5
Natty:
Report link

I am very new to this colour space conversion stuff,
and I dont even know if I have the right approach.

Your approach is fine and correct. You're doing a simple mistake of scaling down (the r/g/b values) but then later you don't scale them up for usage in the imgOut part.

Using (r/255) scales it down (or will "normalize" it) from being a value in 0 to 255 range, into now being a value in a 0 to 1 range.

Re-scale it up, into being within 0-255 range like this:

imgOut.pixels[index + 0] = ( 255 * computedC );
imgOut.pixels[index + 1] = ( 255 * computedM );
imgOut.pixels[index + 2] = ( 255 * computedY );
imgOut.pixels[index + 3] = 125;

If the new imgOut colours are not exact:
Then try something like: Math.round( 255 * computedC );

Round down using: imgOut.pixels[index + 0] = Math.floor( 255 * computedC );
Round up using :imgOut.pixels[index + 0] = Math.ceil( 255 * computedC );

Now do you see multiple colours instead of just black?

Reasons:
  • RegEx Blacklisted phrase (1.5): I am very new
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: VC.One

79457031

Date: 2025-02-21 10:21:59
Score: 13
Natty: 7.5
Report link

I have same issue, did you solve it?

Reasons:
  • RegEx Blacklisted phrase (3): did you solve it
  • RegEx Blacklisted phrase (1.5): solve it?
  • Low length (2):
  • No code block (0.5):
  • Me too answer (2.5): I have same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user29740406

79457030

Date: 2025-02-21 10:21:59
Score: 3
Natty:
Report link

I'm getting the same error when reflectivity = 0

Changing reflectivity to 0.1 will fix this issue.

let floor = SCNFloor()
floor.reflectivity = 0.1
Reasons:
  • RegEx Blacklisted phrase (1): I'm getting the same error
  • Low length (1):
  • Has code block (-0.5):
  • Me too answer (2.5): I'm getting the same error
  • High reputation (-1):
Posted by: Stive

79457025

Date: 2025-02-21 10:18:58
Score: 4.5
Natty: 4.5
Report link

Steinbock: "In my case switching the Permalink (/wp-admin/options-permalink.php) from Post to Plain and back solved the issue!"

Thank you so much, Steinbock! I had been struggling with this issue for days and tried countless solutions, but this was the only fix that actually worked. Switching the permalink structure from 'Post' to 'Plain' and back again solved it instantly.

I even created an account just to upvote and thank you, but I didn’t knew I needed reputation first—so here’s my appreciation in a comment instead!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (0.5): upvote
  • RegEx Blacklisted phrase (1.5): reputation
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Fl0ax

79457020

Date: 2025-02-21 10:17:58
Score: 2.5
Natty:
Report link

Disable Windows 10 security option:
Windows Security > App & browser control > Exploit protection > Force randomization for images (Mandatory ASLR)

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

79457015

Date: 2025-02-21 10:15:57
Score: 1.5
Natty:
Report link

I met this issue the same. By following Errors when install QEMU from source code, I update my meson to 1.7.0 by

pip install meson==1.7.0

and recompile QEMU after

make clean
./configure

it success.

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

79457014

Date: 2025-02-21 10:15:57
Score: 2.5
Natty:
Report link

We had the issue as well, that is was very unstable. After root cause analysis compared to our other environments it was memory related. After adding memory to the server, all issues were solved.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Johan van de Pol

79457010

Date: 2025-02-21 10:15:57
Score: 2.5
Natty:
Report link

If you want to use your custom component with formControlName, you need to implement ControlValueAccessor to your form. You can read the docs from here

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

79457006

Date: 2025-02-21 10:14:57
Score: 1.5
Natty:
Report link

As suggested in https://stackoverflow.com/a/79454581/16007912, one can join a temporary table containing the terms for comparison and compare column1 and term per row:

SELECT t.*
FROM abc t,  TABLE(VALUES ('a1'), ('b1'), ('c1') AS search_terms(term)
WHERE t.column1 LIKE search_terms.term || '%'

If your search terms are already in a table then use that table instead of the temporary table.

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

79456998

Date: 2025-02-21 10:13:56
Score: 1
Natty:
Report link

.print-footer {
    font-size: 14px;
    visibility: visible;
    display: block;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
}

@media print {
    .print-footer {
        position: absolute;  /* Change from fixed to absolute for print */
        bottom: 0;
    }
}

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

79456995

Date: 2025-02-21 10:12:56
Score: 1.5
Natty:
Report link

Valentine lakeng A cup of hot coffee on the table with thin white smoke rising to from the word “RAJAN” dark background. photo realistic 3D with Dslr

Top 500+ Name Art Ai Images Prompts 2024create a realistic 3d logo for a digital brand, precisely a Audio editing brand with name RK studio using gold and black colour, make it detail 8k

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Md Babul Hossain

79456988

Date: 2025-02-21 10:09:56
Score: 3
Natty:
Report link

So just scrap their website and by LLM prompt grab this information this is only easy and best solution I can say about this problem.

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

79456987

Date: 2025-02-21 10:09:56
Score: 2.5
Natty:
Report link

I am facing the same problem, and unfortunately there isn't a direct way to solve this.

But you can create some sort of enum that contains three values: TRUE, FALSE and NULL, and then assign to the Boolean one of the three values with a switch-case. Like so:

public enum BooleanValue {
    
    TRUE, FALSE, NULL;

}


@POST
public String setMethod(
    @QueryParam("value1") @DefaultValue(BooleanValue.NULL) BooleanValue value1)


Boolean boolValue1;    
switch(value1) {

    case BooleanValue.TRUE:
        boolValue1 = Boolean.TRUE;
        break;

    case BooleanValue.FALSE:
        boolValue1 = Boolean.FALSE;
        break;

    default:
        break;
}

Since there isn't a case for BooleanValue.NULL, it should remain null.

Reasons:
  • Blacklisted phrase (1): m facing the same problem
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I am facing the same problem
Posted by: Marco Frag Delle Monache

79456978

Date: 2025-02-21 10:05:55
Score: 0.5
Natty:
Report link

Do not use hibernate 6.0.0.Alpha1 version. 6.0.0.Alpha1 is an alpha (pre-release) version of Hibernate 6. Alpha versions are experimental and not recommended for production or serious development.

Try using 6.2.2.Final version.

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

79456965

Date: 2025-02-21 10:01:54
Score: 4
Natty: 4
Report link

Please downgrade === python 3.11

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

79456961

Date: 2025-02-21 10:00:53
Score: 1
Natty:
Report link

I was having the same problem today. But figured out after 4 hours of experimenting.

Python should be 3.13 version and prettytable==0.7.2

other libraries are mysql-connector-python, ipython-sql, notebook

%load_ext sql
%sql mysql+mysqlconnector://root:root@localhost:3306/test
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jyothi Prasanth

79456938

Date: 2025-02-21 09:51:52
Score: 2
Natty:
Report link

I think the syntax is wrong

IF function on excel takes 3 parameters

=IF(E2>E8, (return this if true) E1+E6, (return this if false) "E2 is smaller :(")

https://support.microsoft.com/en-us/office/if-function-69aed7c9-4e8a-4755-a9bc-aa8bbff73be2#:~:text=Use%20the%20IF%20function%2C%20one,another%20value%20if%20it's%20false.&text=For%20example%3A,B4%2DA4%2C%22%22)

been a while since i used excel but i think this should work like this!

Reasons:
  • Blacklisted phrase (1): :(
  • Whitelisted phrase (-2): this should work
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Bob

79456934

Date: 2025-02-21 09:50:51
Score: 1.5
Natty:
Report link

I think it's really more of a "you" issue not an Excel one. Perhaps you should try another approach?

=IF(E2 > E8, E1 + E6, 0)

=IF(E2 > E8, E1 + E6, "")
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Michal

79456927

Date: 2025-02-21 09:48:51
Score: 1.5
Natty:
Report link

Paste with mask=img2 would handle the transparent problem:

img1.paste(img2, position, mask=img2)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: lufy

79456925

Date: 2025-02-21 09:48:51
Score: 1
Natty:
Report link

With the deprecation of faces managed beans in favour of CDI beans in Jakarta EE 10, the <managed-bean> solution doesn't (appear to) work.

In later versions, the below code defines a CDI bean which can inject a LocalDate for use as "#{currentDate}". The @Named annotation is optional, and it can be trivially modified to inject a java.util.Date for use with <f:convertDateTime> instead. See also the CDI spec's section on Producer methods (https://jakarta.ee/specifications/cdi/3.0/jakarta-cdi-spec-3.0.pdf, section 3.2).

import java.time.LocalDate;

import jakarta.enterprise.context.ApplicationScoped;
import jakarta.enterprise.inject.Produces;
import jakarta.inject.Named;

@ApplicationScoped
public class CurrentDateBean {
    
    @Produces
    @Named("currentDate")
    public static LocalDate getCurrentDate() {
        return LocalDate.now();
    }
    
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Named
  • Low reputation (1):
Posted by: ninvti

79456921

Date: 2025-02-21 09:46:50
Score: 3.5
Natty:
Report link

I spent all week looking for the answer to pre-filling hidden fields in Google Forms, and found the answer here :- https://stackoverflow.com/a/79299369/29738588

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Stewart Collins

79456920

Date: 2025-02-21 09:45:50
Score: 2
Natty:
Report link

Possible!

Just use include key word in gitlab-ci.yml

It let's you to 'import' another .yml, so it is possible to reuse same .yml code in many places.

Moreover, you can import for example one job and override some of its attributes, like variables.

It is really flexible.

Please see: https://docs.gitlab.com/ci/yaml/includes/

Have fun 😎

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

79456918

Date: 2025-02-21 09:45:50
Score: 1.5
Natty:
Report link

tldr: use jest.advanceTimersByTime(milliseconds);

The other solutions make sense, but did not work for me. In such case consider:

function toBeTested(){
    setTimeout(() => { /* do stuff later */}, 500);
}

it('does stuff later', () =>{
   toBeTested();
   jest.advanceTimersByTime(600);
   expect(/* things to be done */)
});

Docs: https://jestjs.io/docs/timer-mocks#advance-timers-by-time

Reasons:
  • Blacklisted phrase (1): did not work
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: DBencz

79456917

Date: 2025-02-21 09:45:50
Score: 2
Natty:
Report link

An update thing is should use .sizeOf instead of .of(context).size to optimize performance

enter image description here

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

79456911

Date: 2025-02-21 09:42:49
Score: 3
Natty:
Report link

Laravel is such an amazing PHP framework.

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

79456904

Date: 2025-02-21 09:40:49
Score: 3
Natty:
Report link

You can look into the Waze Transport SDK, which provides deeper integration capabilities with Waze, including navigation-related events. However, access to this SDK is restricted and requires you to become a Waze partner. You can apply for partnership through the Waze Partners Program.

enter image description here

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

79456900

Date: 2025-02-21 09:39:48
Score: 2
Natty:
Report link

You don't need the keyed subtree, you can just add a UniqueKey to the Column you return in your builder. A key will identify each element in your listview so when you're rearranging them, they're correctly identified, so you have to add the key at the topmost widget in the subtree, in this case for each view card, the topmost element would be the Column, so just give it a UniqueKey(), that should sort it.

If you wanna understand it more, you can check this video

Reasons:
  • Blacklisted phrase (1): check this video
  • Blacklisted phrase (1): this video
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: public static void Main

79456896

Date: 2025-02-21 09:36:48
Score: 2.5
Natty:
Report link

Your program is ill-formed. You probably shouldn't be trying to redefine what ISO/ANSI standards committees have spent umpteen man/woman hours defining, and instead roll with the flow. That's just my opinion. I could be wrong, but I doubt it.

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

79456892

Date: 2025-02-21 09:34:47
Score: 2
Natty:
Report link

Editing tsvn:projectlanguage is no option for me. But Melebius suggestion worked perfect for me (Windows 10 Pro with latest patches). I used the en_US.dict as the template file instead of the en_GB.dict. The Regex change can be easily done using the vsCode editor.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Andreas Köster

79456890

Date: 2025-02-21 09:34:47
Score: 1.5
Natty:
Report link

When to Create groups ?

Creates a group structure in your project that matches the structure of the selected files and folders on disk. Xcode creates a group in the Project navigator for each folder you add, and it adds the contents of the folder to that group. Choose this option when you want the group structure in Xcode to differ from the directory structure on disk, or you want to reference files outside your project.

When to Create folders ?

Displays the folders in the Project navigator, and either copies, moves, or references files depending on the selection you make in the Action picker. In the Project navigator, each added folder points to a folder in the file system. Choose this option when you want your Project navigator folders to match the file and directory structure on disk, and to minimize changes to your project file when you add or remove files.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): When to
  • Low reputation (0.5):
Posted by: rohit sankpal

79456889

Date: 2025-02-21 09:34:47
Score: 0.5
Natty:
Report link
import pandas as pd
import matplotlib.pyplot as plt
import matplotlib.dates as mdates


df = pd.read_excel('sample_data.xlsx')
df['Date_TrailClean'] = pd.to_datetime(df['Date_TrailClean'])

# Sort x-axis 
df = df.sort_values('Date_TrailClean')
x = df['Date_TrailClean']
y = df['AdjTotItems']


fig, ax = plt.subplots(figsize=(10, 6))
ax.plot(x, y, color='blue', marker='o', label='Adjusted Total Items')
ax.xaxis.set_major_locator(mdates.MonthLocator(bymonth=(1, 7)))
ax.xaxis.set_minor_locator(mdates.MonthLocator())

ax.xaxis.set_major_formatter(mdates.DateFormatter('%b %Y'))  # e.g., Jan 2025, Jul 2025

plt.xticks(rotation=45)

ax.set_xlabel('Date')
ax.set_ylabel(r'Adjusted Total Items')
ax.set_title('Adjusted Total Items Over Time')
ax.grid(True)
plt.tight_layout()  
plt.show()

plot

As others pointed out, sorting the x-axis data gives you above plot.

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

79456886

Date: 2025-02-21 09:33:47
Score: 2
Natty:
Report link

As per https://learn.microsoft.com/en-us/graph/extensibility-overview?tabs=python#comparison-of-extension-types, note 1:

Due to an existing service limitation, delegates cannot create open extension-appended events in shared mailbox calendars. Attempts to do so will result in an ErrorAccessDenied response.

So I guess, you can create exception in any mailbox (not only currently logged user) except shared.

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

79456885

Date: 2025-02-21 09:33:47
Score: 2
Natty:
Report link

For info, I asked the question yesterday because my own distribution DBIx-DataModel-3.12 was displayed in grey, a few minutes after it was posted on CPAN. So I knew for sure that it was the latest version. But today that distribution is displayed in normal color. So my guess is that there must be some delay before MetaCPAN knows which is the latest version of a distribution.

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

79456882

Date: 2025-02-21 09:30:46
Score: 0.5
Natty:
Report link

This is finally supported in mlr3 and mlr3learners for xgboost (currently using the latest github versions).

See example here. Setting offset in the task means also that it is applied automatically during internal tuning/validation of xgboost as well.

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

79456874

Date: 2025-02-21 09:27:45
Score: 5
Natty: 5.5
Report link

free(..., type = 'label') according to https://github.com/thomasp85/patchwork/issues/285

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

79456871

Date: 2025-02-21 09:27:45
Score: 1.5
Natty:
Report link

To specify a different version of a registered CloudFormation module, you need to use the TypeVersionArn property. Here’s the correct approach:

enter code here

sftpTransferLambda: Type: ORG::Lambda::SFTPTransfer::MODULE TypeVersionArn: "arn:aws:cloudformation:us-east-1:123456789012:type/module/ORG-Lambda-SFTPTransfer/000001" Properties: SourceBucketName: !Sub l.lz-${Environment}-${Client}-${DataSource} DestinationBucketName: !Sub l.bronze-${Environment}-${Client}-${DataSource}

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

79456868

Date: 2025-02-21 09:26:45
Score: 2.5
Natty:
Report link

"The same question bothered me for a night...
I just followed the first answer: close the opened launch.json, and then everything worked.

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

79456856

Date: 2025-02-21 09:21:43
Score: 2
Natty:
Report link

Updating macOS to the latest publicly available OS often resolves the issue. After updating to the most up-to-date version, down to the last decimal point, it was immediately resolved.

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

79456841

Date: 2025-02-21 09:16:42
Score: 0.5
Natty:
Report link

Figured it out:

= (Location,SectionNr) =>
let 
    Sections = Text.Split(Location,","),
    SectionValue =  Sections{SectionNr-1}
in 
    SectionValue

The problem was that I was [] brackets instead of {} brackets. Also because the list index start from 0, and I prefer to send the SectionNr as 1-n, I just subtract 1 from the SectionNr.

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

79456838

Date: 2025-02-21 09:14:42
Score: 1
Natty:
Report link

I was struggling with the same error and I couldn't find issue in my .NET Web API with Open Telemetry. This problem was really strange for me, since I've not implemented anything custom regarding logging. I was only using Nuget packages for OpenTelemetry and the problem was occuring.

The root cause of this problem is explained by this answer: https://github.com/open-telemetry/opentelemetry-dotnet/issues/6138#issuecomment-2665815098

According to this, downgrade of OpenTelemetry Nuget Packages form 1.11 to 1.10 resolves the problem at this moment.

Of course it will be fixed in the future - see related GitHub issues.

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

79456836

Date: 2025-02-21 09:14:42
Score: 0.5
Natty:
Report link

This might help

  1. Make sure your frontend requests include credentials: 'include' eg

    fetch('your refresh token endpoint', { method: 'GET', credentials: 'include' })

  2. Make sure you have CORS parameter set in your settings.py

    CORS_ALLOW_CREDENTIALS = True
    CORS_ALLOWED_ORIGINS = [

    #Add any url u use for your frontend code ] CSRF_COOKIE_HTTPONLY = True CSRF_COOKIE_SECURE = False # make this to True in when u are on prod CSRF_COOKIE_SAMESITE = 'Lax' SESSION_COOKIE_SAMESITE = 'Lax'

3.make sure the frontend contains the CSRF token in the headers if you have any tho.

Also remember if refresh_token cookie is set to httponly=True, Javascript can't read it which is normal. But the browser will send it automatically with requests.

so, Make sure you're calling the refresh endpoint from the browser, not Postman (Postman won’t send cookies) and Use secure=True only if you're on HTTPS; otherwise, it might not work in local.

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

79456832

Date: 2025-02-21 09:13:42
Score: 1
Natty:
Report link

Storing access and /or Id tokens in cookies is best avoided, yes it is possible to store them securely, however if not done correctly its easy for them to be insecure. Also its easy to break the 4k cookie limit, I know I've just been caught out. You could use the ChunkingCookieManager but then if you are on .Net MVC app you will fall foul of the cookie monster bug https://dzone.com/articles/catching-systemwebowin-cookie https://www.nuget.org/packages/Kentor.OwinCookieSaver What's worse is will fail silently, so I've now moved to having only an encrypted reference token in a cookie and the refresh token. The reference token is then used to fetch the real token from a memory cache

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

79456831

Date: 2025-02-21 09:13:42
Score: 3
Natty:
Report link

my reputation < 50 so place as Answer instate of comment back here

I'm pretty sure that video preview is provide by google photos MediaContentProvider and show on system Android sheet app (com.android.intentresolver, you can check it with adb or some reverse tools).

I guess there some hidden API maybe that we cannot use it, but I not found it yet (´;ω;`)

Reasons:
  • RegEx Blacklisted phrase (1.5): reputation
  • No code block (0.5):
  • Low reputation (1):
Posted by: how8570

79456830

Date: 2025-02-21 09:12:41
Score: 1.5
Natty:
Report link

Using @supersize's answer, to keep it alongside my other keybinding overrides I added this to VSCode's user settings (JSON):

"vim.normalModeKeyBindingsNonRecursive": [
    {
        "before": ["<C-o>"],
        "commands": ["workbench.action.navigateBack"]
    },
    {
        "before": ["<C-i>"],
        "commands": ["workbench.action.navigateForward"]
    },
    // other overrides here
]

note: normalModeKeyBindingsNonRecursive is mentioned in VSCodeVim's README.md

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @supersize's
  • Low reputation (1):
Posted by: dandan

79456823

Date: 2025-02-21 09:11:41
Score: 3
Natty:
Report link

you can run debug mode on real device? use flutter run --release it may catch smoe error。

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

79456806

Date: 2025-02-21 09:03:38
Score: 6 🚩
Natty: 5
Report link

To the OP, just curious if you ever got this working. I am trying to figure this out too. Would be grateful for any insight.

Reasons:
  • Blacklisted phrase (1): I am trying to
  • RegEx Blacklisted phrase (2): Would be grateful
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Michael Bingham-Hawk

79456801

Date: 2025-02-21 09:02:38
Score: 1
Natty:
Report link

I know this is an old question, and that it doesn't follow proper etiquette, but since I just spent half an hour figuring out part 2 myself, I thought I could jot the answer down for anyone else ever stumbling across it:

(1) You have to include 'total = TRUE' in your controls (which should, at least by now, be the default though). If you want to have the total column before the others, then also add 'total.pos = "before"'.

(2) You need to also specify the test you want to use for the variable, so for example 'kwt', 'anova' or 'notest'. Then, you would specify it as follows: 'anova(URV.days, "median")'.

HTH

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

79456794

Date: 2025-02-21 08:58:37
Score: 1
Natty:
Report link

Because you don't understand the difference between a function and a function template. In your code print_all() is a function template that takes type T. It's only instantiated if the compiler detects a call to print_all(T), and your print_all() code assumes that T has defined operator[]. f is a function (not a function template) that takes type std::vector, which is ill-formed, as all vectors require a type they hold, i.e. std::vector<int>, std::vector<char*>, std::vector<something_i_found_under_thecouch>, there is no such thing as just std::vector. If you want your print_all() function to work with any vector, you'll need to redeclare it as a function template:

template <class T>
void f(const std::vector<T>& v);

and/or

template <class T>
void f(std::vector<T>&& v);

Cheers!

Reasons:
  • Blacklisted phrase (1): Cheers
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Drowning_Ophelia

79456773

Date: 2025-02-21 08:50:35
Score: 1.5
Natty:
Report link

Finally! I got it!!! The issue was caused by Laravel’s event dispatcher, which was accumulating event listeners during batch inserts, leading to memory exhaustion. The fix was simply to disable the event dispatcher:

DB::connection()->unsetEventDispatcher();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Puka

79456763

Date: 2025-02-21 08:48:35
Score: 3.5
Natty:
Report link

for me issue got resolved, by adding MapJsonbAsClob=true; in the source endpoint.

what it does consider the jsonb as NCLOB.

refer to below doc:-

https://docs.aws.amazon.com/dms/latest/APIReference/API_PostgreSQLSettings.html

https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.PostgreSQL.html#CHAP_Source.PostgreSQL.Prerequisites

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

79456759

Date: 2025-02-21 08:48:35
Score: 3.5
Natty:
Report link

On Android, the memory limit is set to Jave VM. Therefore, once you use C++ code to run the LLMs, much more memory can be utilized.

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

79456758

Date: 2025-02-21 08:47:35
Score: 3.5
Natty:
Report link

Is there any recommendation which method should be used? For instance, when we are querying by PK and are sure that there's only one result?

If your querying with PK, prefer FindAsync(), because of this method firstly checks cache and after that procude SQL command and sends db. We may say the FindAsync() method is faster version of FirstOrDefaultAsync() when query parameter is PK.

Reasons:
  • Blacklisted phrase (1): Is there any
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is there any
  • Low reputation (1):
Posted by: gorkemkayas

79456754

Date: 2025-02-21 08:45:34
Score: 1
Natty:
Report link

For dichtomous variables, the tbl_summary() function provides the option to display only one category by using the type argument. The following code provides the solution. It correctly considers the total N.

library(gtsummary)
d<-tibble::tribble(
      ~Gender, ~Treatment,      
      "Male", "A",
      "Male", "B", 
      "Female", "A",
      "Male", "C",
      "Female", "B",
      "Female", "C")

d %>% tbl_summary(
  by    = Treatment, 
  # declare Gender as dichotomous variable
  type  = list(Gender ~ 'dichotomous'), 
  # set the value to show
  value = list(Gender ~ 'Female'), 
  # by default as characteristic still "Gender" is shown, change to "Female"
  label = list(Gender ~ 'Female'))

The output:

tbl_summary() output

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

79456753

Date: 2025-02-21 08:44:34
Score: 1
Natty:
Report link

You can take a look at aesfile : https://github.com/bibi21000/AesFile

To encrypt :

import aesfile

with open(source, 'rb') as fin, aesfile.open(destination, mode='wb', aes_key=key) as fout:
    while True:
        data = fin.read(7777)
        if not data:
            break
        fout.write(data)

And decrypt :

import aesfile

with aesfile.open(source, mode='rb', aes_key=key) as fin, open(destination, 'wb') as fout :
    while True:
        data = fin.read(8888)
        if not data:
            break
        fout.write(data)

Or you can compress (with zstd) and encrypt in one pass, simply replace

import aesfile

with

import aesfile.zstd

Look at https://github.com/bibi21000/CofferFile/blob/main/BENCHMARK.md for performance impact.

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

79456752

Date: 2025-02-21 08:44:34
Score: 0.5
Natty:
Report link

For me this works:

vercel.json

{
  "version": 2,
  "functions": {
    "api/index.ts": {}
  }
}

package.json

{
  "scripts": {
    "dev": "nodemon api/index.ts",
    "build": "tsc",
  },
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Cygra

79456741

Date: 2025-02-21 08:39:33
Score: 1
Natty:
Report link

This is a follow up to the answer by a deleted user (user12635841).

I run a website in German and have analyzed my spam for a few days. Here is a figure of the analysis I did in R:

R plot of the data analysis

As you can see, within my sample

To identify language of the message, I use a list of the 500 or so most common word forms in German that I have cleaned of strings that appear in the most common Latin alphabet spam languages also (English, Dutch, French, Spanish etc.). I calculate a percentage of German-appearing words in the message (because some languages have strings that look like German words, e.g. English die and German die). Most spam has 0% German-appearing words, while German messages consist of about 30% or more of German-appearing "words".

I use a combination of all this information to filter out the majority of spam. I have set the filter to allow some spam (e.g. I don't filter on URL in message body) so I don't filter out any legitimate messages.

What I recommend is:

Analyze your spam and your legitimate messages for enough time to understand what differentiates the two. Then install a filter that fits your use case. Do not blindly employ one or all of the procedures given in the other answers without understanding your spam situation or you may miss important messages. Customers will buy elsewhere if you don't reply to them in a timely manner so avoid of false positives!

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • User mentioned (1): user12635841
  • Low reputation (0.5):
Posted by: Ben

79456734

Date: 2025-02-21 08:36:32
Score: 2
Natty:
Report link

thanks for asking this question, this helps us to refine the Dapr and Spring Boot integration. Is there any way you can share your code in GitHub for me to take a look at it? I think we can definitely add a test upstream to demonstrate how to configure this scenario, but we need to look at the code a little bit closer (errors, and how you are calling the service).

Please create an issue in the https://github.com/dapr/java-sdk/ repository so we can keep track of this.

If you have time, you can also check this PR, which we are working with the folks from https://microcks.io to cover more complex testing scenarios: https://github.com/salaboy/pizza/pull/13/files

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): Is there any
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: salaboy

79456732

Date: 2025-02-21 08:36:32
Score: 0.5
Natty:
Report link

Although hitting shift twice opens a search dialogue that includes files, and you can scope down to only files by hitting tab twice straight afterwards (four keystrokes!), you can also jump straight to a file-path-only search with command + shift + o.

Other keystrokes to search specific scopes are listed in the docs.

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

79456731

Date: 2025-02-21 08:35:32
Score: 1.5
Natty:
Report link

the simplest workaround would be

logging.getLogger('uvicorn.error').name = 'newnamehere'
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ultrafunkamsterdam

79456730

Date: 2025-02-21 08:34:30
Score: 6 🚩
Natty:
Report link

Having the same issue. Mine only happens when steam is running. Im in the steam stable not beta either. Couldn't find a fix.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): Having the same issue
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Fricking memory leaks

79456725

Date: 2025-02-21 08:29:29
Score: 0.5
Natty:
Report link

This was a problem for me as well couldn't figure it out. Finally found a way via a different Stackoverflow post.

appcompat-v7 v23.0.0 statusbar color black when in ActionMode

Here is what worked for me

<color name="abc_decor_view_status_guard" tools:override="true">@color/colorAccent</color>
<color name="abc_decor_view_status_guard_light" tools:override="true">@color/colorAccent</color>
Reasons:
  • Blacklisted phrase (1): Stackoverflow
  • Whitelisted phrase (-1): worked for me
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: James Weber

79456724

Date: 2025-02-21 08:29:29
Score: 4.5
Natty:
Report link

In the meantime I found a workaround: You need to install the vscode extensions locally - see https://code.visualstudio.com/docs/remote/ssh#_advanced-forcing-an-extension-to-run-locally-remotely

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