79418892

Date: 2025-02-06 17:53:47
Score: 2.5
Natty:
Report link

I ended up changing my user interface to use a tab controller and searching the separate algolia indexes in their own respective tabs. My repository and notifiers are essentially the same as the posted code other than adding an 'indexName' parameter and removing one of the HitsSearchers in the search function. I'm still not sure why the code in my question doesn't work as I thought it should, but for now this update has solved my issue.

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

79418890

Date: 2025-02-06 17:53:47
Score: 0.5
Natty:
Report link

Not the best answer but at least so you can test that you converter works you can force it:

var options = new JsonSerializerOptions();
options.Converters.Add(new FooConverter());

var foo = JsonSerializer.Deserialize<Foo>(json, options);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: CaseyHofland

79418875

Date: 2025-02-06 17:47:45
Score: 1
Natty:
Report link

I had the same issue and couldn't figure out what was going on. I tried all the settings mentioned here and on other posts. But it made no difference. In the end I disabled and re-enabled Pylance and that fixed it. Just in case that's of use to anyone else struggling with this.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Laurence Veitch

79418874

Date: 2025-02-06 17:47:45
Score: 2.5
Natty:
Report link

This is a big issue today, specially for big codebase projects. Flutter lint for example is automatic for all the project, even if files are closed

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

79418848

Date: 2025-02-06 17:37:42
Score: 6 🚩
Natty:
Report link

was the bug really solved? I added the /bin folder to the MANIFEST but it seems like only the cannot load class problem is solved. The NullPointer Bug still exists.

Reasons:
  • RegEx Blacklisted phrase (1.5): solved?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): was the
  • Low reputation (1):
Posted by: Ingrid

79418844

Date: 2025-02-06 17:36:42
Score: 1.5
Natty:
Report link

Make sure to include "storage" in the manifest file specifically in the permission section:

"permissions": ["storage"]

Hope that would help.

More detail in here.

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

79418836

Date: 2025-02-06 17:32:40
Score: 4
Natty: 4.5
Report link

I think this will help you, yes i know its a old post, but~ for others maybe.

https://github.com/Makunia/Googleform-to-Discord-Webhook-Post-Thread/blob/main/Googleform.js

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

79418834

Date: 2025-02-06 17:31:40
Score: 1.5
Natty:
Report link

It seems there is a parser and formatter compliance between .Net framework and .NET (or .Net Core). .NET uses the standard IEEE 754-2008 it seems.

I've tried your code in .Net framework and .NET (from 3.1 onwards) it behaves as you mentioned.

The reason is already answered in the below stackoverflow question: Rounding issues .Net Core 3.1 vs. .Net Core 2.0/.Net Framework

Hope this helps!

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Whitelisted phrase (-1): Hope this helps
  • No code block (0.5):
  • Low reputation (1):
Posted by: Francis

79418826

Date: 2025-02-06 17:30:39
Score: 3
Natty:
Report link

Thank you for sharing this! I've been working on this all afternoon. Creating a new FieldIdentifier was the missing part for me to get validation to re-fire!!

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

79418815

Date: 2025-02-06 17:26:39
Score: 2
Natty:
Report link

I just created a simple tool using Node.Js to run locally to test opengraph data.

Github Repo, Live Preview

It has a live preview

Reasons:
  • Contains signature (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: alianjum0

79418810

Date: 2025-02-06 17:25:38
Score: 0.5
Natty:
Report link

Please find below my code, I'm getting null exception in my controller

var apiHost = $"{Request.Scheme}://{(string)Request.Headers["X-Original-Host"] ?? Request.Host.Value}";

[Fact]
public async Task Get_ShouldReturnOk_WhenXOriginalHostIsMissing()
{
    // Arrange
    var mockHeaderNavigationModel = new Mock<IHeaderNavigationModel>();
    var mockNavigationService = new Mock<INavigationService>();

    // Mock HttpRequest
    var request = new Mock<HttpRequest>();
    request.Setup(x => x.Scheme).Returns("https");
    request.Setup(x => x.Host).Returns(HostString.FromUriComponent("localhost:5001"));
    request.Setup(x => x.PathBase).Returns(PathString.FromUriComponent("/api"));

    var httpContext = Mock.Of<HttpContext>(_ =>
        _.Request == request.Object
    );

    //Controller needs a controller context 
    var controllerContext = new ControllerContext()
    {
        HttpContext = httpContext,
    };

    //assign context to controller
    var controller = new NavigationController(mockHeaderNavigationModel.Object, mockNavigationService.Object)
    {
        ControllerContext = controllerContext,
    };

    // Mock navigation service (for example, returning some mock content)
    mockNavigationService.Setup(ns => ns.GetNavigationContentAsync(It.IsAny<string>(), It.IsAny<string>()))
                         .ReturnsAsync(UnitTestsTestData.MockNavigationContent);

    // Act
    var result = await controller.Get();

    // Assert
    var okResult = Assert.IsType<OkObjectResult>(result);  // Should return OkObjectResult
    Assert.NotNull(okResult.Value); // Check that the result has content
}
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Developer

79418809

Date: 2025-02-06 17:25:38
Score: 1.5
Natty:
Report link

On Azure AD B2C, we need to filter by mail instead. (Thanks zoke for most of this)

    var graphUser = (await graphClient.Users.GetAsync(
        config => config.QueryParameters.Filter = $"mail eq '{user.Email}'"))?
        .Value?
        .FirstOrDefault();
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Michael Ulloa

79418805

Date: 2025-02-06 17:23:38
Score: 1
Natty:
Report link

This works with WooCommerce 9.5.2.

$products_already_in_cart = WC()->cart->get_cart_item_quantities()[$product_id];

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

79418789

Date: 2025-02-06 17:20:36
Score: 9 🚩
Natty: 5.5
Report link

did you ever find out how to insert the event data?

Reasons:
  • RegEx Blacklisted phrase (3): did you ever find out
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (1):
Posted by: Ísis Yasmim

79418786

Date: 2025-02-06 17:18:35
Score: 1
Natty:
Report link

answer by u/tetrahedral on Reddit:

My hunch is that you are passing the text back as a MutableList somewhere and calling .clear() on it without realizing that it’s a reference to the storage. Modify getText and addText to copy into a new array and see if the problem goes away.

I was creating an alias to the mutableList when I was passing it as a parameter. when I called .clear() on it, the list was deleted in both files.

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

79418784

Date: 2025-02-06 17:18:35
Score: 0.5
Natty:
Report link

I guess avoiding ! simplifies logic for reading

public boolean isBetween(LocalTime start, LocalTime end, LocalTime target) {
    return start.isAfter(end) ?
            (target.isAfter(start) || target.isBefore(end)) :
            (target.isAfter(start) && target.isBefore(end));
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Geba

79418773

Date: 2025-02-06 17:14:34
Score: 3
Natty:
Report link

If you don't need or actually plan to utilize R Server, then don't select the options during the installation to install R Server. You can deselect R Server during the install process, and when deselected, it will allow the SQL installation to proceed.

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

79418770

Date: 2025-02-06 17:12:34
Score: 0.5
Natty:
Report link

If you're trying to use a C# DLL in a Node.js application, the challenge is that C# runs in the .NET runtime, while Node.js runs in a JavaScript environment. You can't directly load a C# DLL in Node.js without some interop mechanism.

How to Make It Work

Here are some ways you can get this working:

  1. Use Edge.js (Best for Simple Calls)

Edge.js is a library that allows you to call C# code from Node.js.

Steps:

1. Install Edge.js:

    npm install edge-js


2. Use it in your Node.js app:

    const edge = require('edge-js');
    
    const myDllMethod = edge.func({
        assemblyFile: 'path/to/your.dll',
        typeName: 'YourNamespace.YourClass',
        methodName: 'YourMethod' // Must be a public static method
    });
    
    myDllMethod(null, function (error, result) {
        if (error) throw error;
        console.log(result);
    });

Pros: Simple to set up Good for small projects

Cons: Only works with synchronous static methods Doesn't support advanced .NET features

  1. Create a .NET Web API and Call It from Node.js

If your DLL has dependencies or needs a runtime, it's better to expose it as an API.

Steps:

1. Create a Web API in .NET Core:



  [ApiController]
    [Route("api/[controller]")]
    public class MyController : ControllerBase
    {
        [HttpGet("call")]
        public IActionResult CallCSharpMethod()
        {
            var result = MyLibrary.MyClass.MyMethod();
            return Ok(result);
        }
    }
  1. Call the API from Node.js using Axios:

    const axios = require('axios');
    
     axios.get('http://localhost:5000/api/MyController/call')
         .then(response => console.log(response.data))
         .catch(error => console.error(error));
    

Pros: Works for complex logic No need to load DLLs in Node.js

Cons: Requires hosting the API

  1. Run a C# Console App from Node.js

If Edge.js doesn’t work and an API is overkill, you can run a C# console app and get its output.

Steps:

  1. Create a Console App in C#:

    class Program { static void Main() { Console.WriteLine(MyLibrary.MyClass.MyMethod()); } }

  2. Call the EXE from Node.js:

    const { exec } = require('child_process');

     exec('dotnet myConsoleApp.dll', (error, stdout, stderr) => {
         if (error) console.error(error);
         console.log(stdout);
     });
    

Pros: No need to modify the DLL Works with any C# logic

Cons: Slower due to process execution

Which One Should You Choose?

 For simple method calls → Use Edge.js
 For a scalable solution → Use a .NET Web API
 If Edge.js doesn’t work → Use the Console App approach
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
Posted by: BSG

79418749

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

it depends! It depends on what you need.

Check out what forms are for with this awesome guides: https://angular.dev/guide/forms/reactive-forms

And for everything else, you can also use inputs without forms!

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

79418740

Date: 2025-02-06 17:00:31
Score: 2.5
Natty:
Report link

look in https://github.com/SWNRG/ASSET for such implementations. There are 3 different versions of contiki, you compile them seperately, and you utilize the nodes from each one.

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

79418736

Date: 2025-02-06 16:59:31
Score: 2
Natty:
Report link

I found the answer on AWS doc:

The pending-reboot status doesn't result in an automatic reboot during the next maintenance window. To apply the latest parameter changes to your DB instance, reboot the DB instance manually.

Source: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_RebootInstance.html

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

79418725

Date: 2025-02-06 16:55:30
Score: 1
Natty:
Report link

This type of error usually occurs when there is a problem with the Flutter and Kotlin dependencies in your Android project. In this case, the FlutterFragmentActivity class cannot be resolved correctly.

-Review your dependencies: Make sure that the required dependencies are included in your app's build.gradle file in the dependencies section

implementation 'io.flutter:flutter_embedding_debug:<flutter_version>'

-Update Flutter and Gradle

import io.flutter.embedding.android.FlutterFragmentActivity

class MainActivity: FlutterFragmentActivity() { }

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Josu Alejandro Hernndez Castel

79418723

Date: 2025-02-06 16:55:30
Score: 2
Natty:
Report link

You can simplify AtLeastTwoElements from @jcalz answer to

type AtLeastTwoElements<K extends PropertyKey> =
  { [P in K]: Exclude<K, P> }[K]

AtLeastTwoElements<"a" | "b"> evaluates to {a: "b", b: "a"}["a" | "b"] which is "a" | "b".
But AtLeastTwoElements<"a"> is {a: never}["a"] which is never.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @jcalz
  • Low reputation (1):
Posted by: KuSh

79418714

Date: 2025-02-06 16:50:28
Score: 1
Natty:
Report link

for git bash, add/modify like that in c:/Users/YOUR_NAME/.bash_profile:

export PATH="$HOME/AppData/Roaming/pypoetry/venv/Scripts:$PATH"

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

79418713

Date: 2025-02-06 16:50:28
Score: 1
Natty:
Report link

I needed to create a copy of my current python 3.11 environment but with python 3.10.

trying

conda install python=3.10

resulted in conda telling me that it couldn't figure stuff out because python_abi and thing dependent on it were the problem.

So...

steps needed:

conda create --name py-3.10 --clone py-3.11
conda activate py-3.10
conda remove python_abi  <--- this was the blocker stopping me
conda install python=3.10
conda install python_abi keyboard levenshtein

When I removed python_abi it warned me that the packages keyboard and levenshtein would be removed, so the last step that adds the python_abi back had to add these back too.

It's better than having to reload ALL of your packages

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

79418701

Date: 2025-02-06 16:45:27
Score: 2.5
Natty:
Report link

If none of the answers here worked, try changing .gitignore encoding to UTF-8.

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

79418691

Date: 2025-02-06 16:41:26
Score: 0.5
Natty:
Report link

JSON Patch works exactly as your request if you change json from array to Map<ID, Object>

JSON Patch use index for array and key for map

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

79418686

Date: 2025-02-06 16:40:26
Score: 1
Natty:
Report link

If you get this in windows when trying to open applications in a web browser, which worked for me. windows to system settings > change date and time > turn set the time automatically setting off then on again. turn adjust for daylight savings time automatically setting off then on again. Refresh your browser and it should then log you in probably.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Kris

79418677

Date: 2025-02-06 16:36:24
Score: 4
Natty:
Report link

use the PowerShell instead of the cmd

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

79418672

Date: 2025-02-06 16:35:23
Score: 1.5
Natty:
Report link

You can also try the simpler syntax

repo.heads['feature-generate-events']
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: globglogabgalab

79418669

Date: 2025-02-06 16:34:23
Score: 1
Natty:
Report link

Both approaches you described are working solutions with own pros and cons. The right choice depends on your needs.

1. Pre-baked Template (manual, but reliable)

Pros:

Cons:

When to use:

2. Lightweight Template & Startup Script (automated, but dependent)

Pros:

Cons:

When to use:


However, I cannot fail to mention that the approaches above only make sense for stateful apps where local data persistence.

From your description, it’s unclear whether your «simple app running on Node.js» is stateful or not. If it’s stateless, consider using Cloud Run or App Engine, depending on your specific requirements (scalable by design, minimal maintenance, and most likely much cheaper than MIG).

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: mikalai

79418665

Date: 2025-02-06 16:33:23
Score: 1.5
Natty:
Report link

To achieve the desired JOLT transformation, you need to check if body.Contract.stayRestrictions[].restrictionType equals "ClosedToArrival", and if so, set body.Block.stayRestrictions[].isClosedToArrival to true; otherwise, it should be false. This ensures that the transformation accurately reflects the condition specified in the input JSON. Just like how a well-structured Texas Roadhouse menu helps diners easily navigate through different meal options, organizing JSON transformations efficiently makes data processing seamless. Whether it's structuring a menu with clear categorie

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jessica Gilbert

79418664

Date: 2025-02-06 16:33:22
Score: 5.5
Natty: 5
Report link

How could know wich flags are deprecated in jvm 17 for example with this command line java -XX:+PrintFlagsFinal -version?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): How
  • Low reputation (1):
Posted by: Joaquin Mele

79418663

Date: 2025-02-06 16:32:21
Score: 6.5 🚩
Natty: 5
Report link

here's my setting

capabilities: [{ // capabilities for local Appium web tests on iOS platformName: 'iOS', 'appium:deviceName': 'iPad mini (6th generation)', 'appium:platformVersion': '17.5', 'appium:automationName': 'XCUITest', 'appium:udid': '713D25D6-E4EF-4E9D-B4BE-0B43BBFBB4F6', 'appium:noReset': true, 'appium:fullReset': false, 'appium:app': join(process.cwd(), 'app/iOS-NativeDemoApp-0.1.0.app'), 'appium:bundleId': 'com.apple.xcode.dsym.org.reactjs.native.example.wdioDemoAppTests', 'appium:appWaitDuration': 90000, 'appium:appWaitActivity': 'SplashActivity, SplashActivity,OtherActivity, *, *.SplashActivity', 'appium:newCommandTimeout': 600 }],

and still face this issue

ERROR webdriver: Error: WebDriverError: The operation was aborted due to timeout when running "http://127.0.0.1:4723/session" with method "POST" and args "{"capabilities":{

anyone can help?

Reasons:
  • RegEx Blacklisted phrase (3): anyone can help
  • RegEx Blacklisted phrase (0.5): anyone can help
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Lals

79418662

Date: 2025-02-06 16:32:21
Score: 2
Natty:
Report link

The answer from @kEks above is the solution to your question.

However, I'd further suggest that you are missing the point of Snakemake rules having those four rules that all contain shell loops. Is there any reason why you are making a rule that triggers once and runs every command in a loop, rather than having a rule that applies to any individual output file and letting Snakemake do the work? Your code would be considerably simpler if you wrote it this way. You could also then use the touch() output type of Snakemake to save you explicitly running the touch ... command in the shell part.

Reasons:
  • Blacklisted phrase (1): Is there any
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @kEks
  • Low reputation (0.5):
Posted by: Tim Booth

79418658

Date: 2025-02-06 16:31:20
Score: 5
Natty: 5
Report link

I ran it and it bricked my browser.

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

79418650

Date: 2025-02-06 16:28:19
Score: 1.5
Natty:
Report link

I found this repository, which is part of the jetpack compose course from Google, which implements the same approach:

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

79418648

Date: 2025-02-06 16:28:19
Score: 1
Natty:
Report link

Using wget:

for i in {1..15}; do wget --show-progress -c --limit-rate=3M "https://huggingface.co/unsloth/DeepSeek-R1-GGUF/resolve/main/DeepSeek-R1-Q8_0/DeepSeek-R1.Q8_0-0000${i}-of-00015.gguf?download=true" -o "DeepSeek-R1.Q8_0-0000${i}-of-00015.gguf"; do
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: smake

79418646

Date: 2025-02-06 16:27:17
Score: 12 🚩
Natty: 6.5
Report link

did you find any solution yet? I want to implement an reward-based ad on my site too.

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): did you find any solution
  • RegEx Blacklisted phrase (1): I want
  • RegEx Blacklisted phrase (2): any solution yet?
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you find any solution
  • Low reputation (1):
Posted by: Prince Singh

79418640

Date: 2025-02-06 16:26:17
Score: 0.5
Natty:
Report link

The problem here was the name of the parameter passed to the confirmPayment function. It should have looked like the below:

const {error} = await stripe.confirmPayment({
                elements: expressElements,
                clientSecret,
                confirmParams: {
                    return_url: window.location.href,
                },
                redirect: 'if_required',
            });
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Josh Bolton

79418624

Date: 2025-02-06 16:20:14
Score: 9.5 🚩
Natty: 6
Report link

have you found any solurion? i have the same problem

Reasons:
  • Blacklisted phrase (1): i have the same problem
  • RegEx Blacklisted phrase (2.5): have you found any solurion
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i have the same problem
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Djihad

79418620

Date: 2025-02-06 16:19:14
Score: 1
Natty:
Report link

I found problem. I did not added expire time for token. Because of that when I tried to send it to api it did not understood what it was.

app.config['JWT_ACCESS_TOKEN_EXPIRES'] = timedelta(days=7)

Another option why it was no working because I did not added required extension get_jwt

from flask_jwt_extended import JWTManager, create_access_token, jwt_required, get_jwt_identity, get_jwt
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: santeri pohjaranta

79418617

Date: 2025-02-06 16:18:14
Score: 3
Natty:
Report link

I got this error when I copied javafx.graphics.jar to a new project but didn't also copy all of the dlls in the bin directory of the JavaFX SDK.

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

79418614

Date: 2025-02-06 16:17:13
Score: 0.5
Natty:
Report link

Ok, I fixed this myself with a really really ugly hack.

My DuplicateFilterSink class now looks like this:

public class DuplicateFilterSink : ILogEventSink
{
    private readonly ILogEventSink _innerSink;
    private LogEvent? _prevLogEvent;
    private int _duplicateCount = 0;

    public DuplicateFilterSink(ILogEventSink innerSink)
    {
        _innerSink = innerSink;
    }

    public void Emit(LogEvent logEvent)
    {
        // Check if the message is the same as the previous one
        if (_prevLogEvent != null && logEvent.MessageTemplate.Text == _prevLogEvent.MessageTemplate.Text)
        {
            _duplicateCount++;
        }
        else
        {
            // If the message has changed, log the previous duplicate count
            if (_duplicateCount > 0 && !logEvent.MessageTemplate.Text.StartsWith("  * The previous message occurred"))
            {
                string dupmsg = $"  * The previous message occurred {_duplicateCount} times";

                Log.Information(dupmsg, _duplicateCount);

                _duplicateCount = 0;
            }

            // Log the new message
            _innerSink.Emit(logEvent);
            _prevLogEvent = logEvent;
        }
    }
}

Since I have not figured out a way to create a valid MessageTemplate with a valid MessageTemplateToken, I tried using the Log.Information() line, but that created an infinite recursion loop because the Log method kept calling the Sink which called the Log method which called the... well, you get it.

I combated this problem by adding the "&& !logEvent.MessageTemplate.Text.StartsWith(..." condition to the if statement so that the second time through it would not Log method again.

This works, but is horribly Kludgy. I will be greatful if anyone can solve my original problem in a "best-practices" way.

Reasons:
  • Whitelisted phrase (-2): I fixed
  • RegEx Blacklisted phrase (2): I will be greatful
  • RegEx Blacklisted phrase (0.5): anyone can solve
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Dogulas

79418611

Date: 2025-02-06 16:16:13
Score: 0.5
Natty:
Report link
final_array = final_array.map { college in
    College(id: college.id, colData: college.colData.map { student in
        Student(name: student.name.uppercased(), age: student.age)
    })
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Frankie Baron

79418607

Date: 2025-02-06 16:16:13
Score: 2.5
Natty:
Report link

I've got 'username' field in yaml, and value had a backslash symbol '\', it must be escaped with another backslash '\\'

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

79418602

Date: 2025-02-06 16:14:12
Score: 1
Natty:
Report link

Had the same problem. What solved it was Rsge's comment:

use that (aka. py.exe) to open Python

So I changed the *.py file association to C:\Windows\py.exe

(using pythonw.exe or python.exe had no effect)

(Edit: formating)

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

79418594

Date: 2025-02-06 16:10:10
Score: 6 🚩
Natty:
Report link

I have similar issue, when executing simple select query text values get ", but when i use function array_agg it adds another ", so values lools like ""hello""; i this is something from new postgres version

Reasons:
  • Blacklisted phrase (1): I have similar
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have similar issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Panda

79418592

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

Creating an API that returns true/false based on a hardcoded query doesn't seem such a good solution, because it isn't flexible at all and doesn't fit into REST, because it doesn't represent an action on a resource.

Sure it does - the resource is some named collection of information (aka "a document", although you can implement that any way you like behind the api facade), and the action on the resource is GET (please send me a copy of the current representation of the document).

As REST is designed to be efficient for large-grained hypermedia, you're more likely to want a design that returns a bunch of information all bundled together, rather than a document that describes a single bit, but that's something you get to decide for yourself.

How do I create an api that checks if a certain condition is met, while making it as flexible as possible and adhering to REST principles?

In that case, you're probably going to end up defining a family of resources, each of which has their own current representation (but under the covers might be implemented using a single "request handler" that knows how to choose the correct implementation from the target resource of the request).

So REST is going to tell you that you can do that (it's your own resource space) and that you'll probably want to use some readily standardizable form for describing the space of identifiers (ie: choosing identifiers that can be described using URI Templates).

As a general rule, you'll want to avoid using identifiers that couple you to tightly to a particular implementation of handler unless you are confident that the particular implementation is "permanent".

In terms of the spelling conventions you use to encode the variations of resources into your identifiers -- REST doesn't care what spelling conventions you use.

Reasons:
  • Blacklisted phrase (1): How do I
  • RegEx Blacklisted phrase (2.5): please send me
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-2):
Posted by: VoiceOfUnreason

79418585

Date: 2025-02-06 16:08:09
Score: 1.5
Natty:
Report link

You guys can use this

export const isServer: boolean = typeof window == "undefined";
 if (!isServer) {
    return JSON.parse(localStorage.getItem("user") || "{}");
  }
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Himanshu Taviyad

79418580

Date: 2025-02-06 16:07:08
Score: 11 🚩
Natty: 6
Report link

Do you solve this question?

I think I have the same problem

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (1.5): solve this question?
  • RegEx Blacklisted phrase (2.5): Do you solve this
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Marcos Marques

79418578

Date: 2025-02-06 16:06:07
Score: 1
Natty:
Report link

Without knowing more about your architecture, this would come down to whether or not you want to expose logging database to your frontend. Your options are:

  1. As you said, make a subsequent request to the server, which may or may not succeed, but probably has a higher likelihood of succeeding. I would chose this if I didn't want to expose my log storage to the frontend
  2. Setup a clientside log storage. AWS Rum is what I've used in the past. In fact, I'm using AWS Rum with a Vue application for a client right now

By using Rum, you can choose to store only Frontend errors in the frontend log storage, and reserve the backend log storage for server side issues.

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

79418564

Date: 2025-02-06 16:02:06
Score: 2
Natty:
Report link

One option is to do it in one line:

Sheets("Sheet1").Range("A1:Z9").copy Sheets("Sheet2").Range("A1")

In general, working with the Active Sheet (using Range("a1") without specifying the sheet) or using the active Selection can lead to problems since the starting state is not known or controlled.

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

79418556

Date: 2025-02-06 16:00:06
Score: 3
Natty:
Report link

You need to remove the slash from the end of the path on the right side of the map. i.e -v C:\folder:D:

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

79418549

Date: 2025-02-06 15:57:05
Score: 3.5
Natty:
Report link

Here it is example how to expose Flask app as a single Cloud Function

https://firebase.google.com/docs/functions/http-events?gen=2nd

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

79418543

Date: 2025-02-06 15:55:05
Score: 2.5
Natty:
Report link
import { ECharts } from 'echarts/core';
echartsInstance: ECharts;

documentation : https://echarts.apache.org/en/api.html#echarts

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

79418542

Date: 2025-02-06 15:55:05
Score: 1.5
Natty:
Report link

I recommend discarding nextjs-progressbar since it is no longer maintained and seamlessly switching to next-nprogress-bar. The usage remains exactly the same - you only need to update your imports.

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

79418540

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

For newer versions of Jenkins, the required Maven configuration can be found under Dashboard > Manage Jenkins > Tools. In the Maven section, select the desired version and ensure that the name you assign to the Maven version matches exactly with the name in the tool section. The name must be an exact match.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Recep Karayiğit

79418539

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

Can you share your top level CMakeLists.txt where you call add_subdirectory() for the SDL libraries? I don't know for sure, but I suspect that targets from those SDL_* subdirectories are clashing with eachother.

This has a more complete sample to build just about what you're describing: https://github.com/Ravbug/sdl3-sample/blob/main/CMakeLists.txt#L65

SDL2-image build also outputs this somewhere in the process:

To this problem, that's happening here: https://github.com/libsdl-org/SDL_image/blob/release-2.8.x/cmake/FindSDL2main.cmake#L6

I think you can fix that by setting SDL2_DIR variable to point to your build directory.

Also I think its finding libSDL2main.a in /usr/local/lib because that's where cmake installs built libraries by default, so I suspect this SDL subdirectory is getting built then installed there.

This line prevents that from happening

set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}" CACHE INTERNAL "")

Also from that sample https://github.com/Ravbug/sdl3-sample/blob/main/CMakeLists.txt#L8-L9

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you share your
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can you share you
Posted by: GandhiGandhi

79418530

Date: 2025-02-06 15:52:04
Score: 2
Natty:
Report link

Turns out that there were a few possible solutions to my problem. The easiest was to let puppeteer start the server by adding the server command to the jest-puppeteer.config.js file. I also added a command flag (--puppeteer) as described in the stackoverflow question:

server: {
  command: "node server.js --puppeteer",
  port: 5000,
  launchTimeout: 10000,
  debug: true,
},

I then added a check in the server.js file for the flag so that the server is not started for any unit tests other than those using puppeteer:

if (process.env['NODE_ENV'] === 'test'
    && !process.argv.slice(2).includes('--puppeteer')) {
  module.exports = {
    'app': app,
  };
} else {
  http.listen(port);
}

I also put my react (puppeteer) tests in a separate file just for good measure.

jest.config.js:

module.exports = {
  preset: "jest-puppeteer",
  testMatch: [
    "**/__tests__/test.js",
    "**/__tests__/testReactClient.js"
  ],
  verbose: true
}

Feel free to comment if you have a better solution.

Reasons:
  • Blacklisted phrase (1): to comment
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Rob Gravelle

79418527

Date: 2025-02-06 15:52:04
Score: 1
Natty:
Report link

You’ll want to use TimelineView for this. .everyMinute updates on the minute so you can update your clock

TimelineView(.everyMinute) { timelineContext in
    let minute = Calendar.current.component(.minute, from: timelineContext.date)
    …
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Peter of the Norse

79418522

Date: 2025-02-06 15:51:04
Score: 3.5
Natty:
Report link

There is now an option to click "Stage block", which can be more convenient than selecting lines and using the "Stage Selected Ranges" command:

Screenshot showing stage block functionality

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

79418518

Date: 2025-02-06 15:49:03
Score: 2.5
Natty:
Report link

Yes, this behavior is intentional and is due to Canvas' privacy settings and permissions model.

Why Is the Email Missing for Regular Users?

  1. Privacy Settings in Canvas:
    Canvas hides user email addresses by default unless the requesting user has the correct permissions. Admin users have broader access, so they can see emails, but regular users do not necessarily have permission to view their own or others' email addresses via the API.

  2. Account-Level Settings:
    Your Canvas instance may have settings that restrict email visibility for non-admin users. For example, Canvas administrators can configure whether email addresses are visible through the API under:
    Admin > Settings > Security (or similar)

  3. Scope of OAuth Tokens:
    Even though you have disabled enforce scopes, Canvas still applies certain internal privacy rules. The email field might require additional permissions, such as Users - manage login details.

  4. User Visibility & Role Permissions:
    The visibility of user emails may also depend on the specific role settings under:
    Admin > Roles & Permissions

    Look for permissions related to "Users" or "Profile" and check if there are any restrictions on email visibility.

Possible Solutions

Final Thought

Even with global developer key access, Canvas enforces privacy policies for regular users. You may need to adjust role permissions or request emails via a different endpoint (/profile) or with additional API scopes.

Would you like help testing specific API calls or adjusting Canvas settings?

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Александр Шарапов

79418513

Date: 2025-02-06 15:47:03
Score: 3
Natty:
Report link

BeeGFS is an example where df -l returns 0.

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

79418508

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

I set the constraint to Not Enforced in project2 and I was able to execute the command successfully.

This answer works for us, but in our case, we have to change the constraint to 'Not Enforced' in project1.

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

79418505

Date: 2025-02-06 15:44:02
Score: 2.5
Natty:
Report link

you can change the name of one variable with assignin

assignin ('base', 'new_name_variable', old_name_variable)

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

79418487

Date: 2025-02-06 15:37:00
Score: 3.5
Natty:
Report link

I know this is super old but if anyone comes across this, once your files that you are reading get to big you will need to setup something else. I have 4 files I am trying to read into my test all over 30,000 lines so reading them into the 1000 vus that runs my test crashes the test on the init stage

Reasons:
  • Blacklisted phrase (1): I am trying to
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Alex centorbi

79418481

Date: 2025-02-06 15:33:59
Score: 2
Natty:
Report link

I've look at all your suggestions ... And it more simple than that ... Basically sqlite3 has a text field that NEED TO BE DEFINED BY IT LENGTH ... without this the field is so long , DBgris need to adapt and opt for a memo file the display ...

De fine the field length and the problem is solved... 👍👍👍👍👍

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

79418476

Date: 2025-02-06 15:30:59
Score: 0.5
Natty:
Report link

jinsoul

SCDF by default uses Java 8 when running apps. You can adjust this by setting BP_JVM_VERSION to -jdk17 (e.g...)

export BP_JVM_VERSION=-jdk17
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: onobc

79418455

Date: 2025-02-06 15:24:57
Score: 10
Natty: 8
Report link

Can you tell me what changes you did to get it working? I am stuck in exactly same scenario.

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you tell me what
  • RegEx Blacklisted phrase (1.5): I am stuck
  • RegEx Blacklisted phrase (2): working?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (1):
Posted by: Kunal Mitra

79418423

Date: 2025-02-06 15:13:54
Score: 2
Natty:
Report link

The solution, at least in this case, turned out to be having to place a new control on the Design screen rather than typing it in. I still have no idea what the difference is, or how the control on the UI and the control in the codebehind are connected, since there is no designer file; if I simply copy the modified .aspx and .aspx.cs files, and nothing else, to a different copy of the site, it works.

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

79418413

Date: 2025-02-06 15:10:54
Score: 2.5
Natty:
Report link

If you want to extract a date from a GUID you must use UUID V1 to do so. It's not possible with V4.

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

79418409

Date: 2025-02-06 15:08:53
Score: 3.5
Natty:
Report link

Thanks for your help on this. I'm having the same issue as the poster and although I try to understand how to change my formulae to add Blank()" not null I'm struggling. I'm not an advanced user. Here is my formulae: Sort(ForAll(Distinct(Table1,SVP), {Result: ThisRecord.Value}),Result). This is for the first drop down box that shows only UNIQUE names. This formulae keeps giving me this warning that is driving me insane: "Error when trying to retrieve data from the network: Expression "SVP eq null" is not supported. clientRequestId:"

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-0.5): Thanks for your help
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same issue
  • Low reputation (1):
Posted by: Alma

79418405

Date: 2025-02-06 15:06:53
Score: 3
Natty:
Report link

In the Yaml file, You can add a condition to the task that updates the build number to check if a variable is set to false. If the variable is false, the task will be skipped.

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

79418402

Date: 2025-02-06 15:05:52
Score: 2
Natty:
Report link
gridOptions={{
   rowHeight: 10
}}

In my case removing rowHeight solved the problem

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

79418400

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

In Switch case as the name suggests, you have to implement all the cases and separate each one with break statement, so to print "no 1" you have to have a case for it. This is the programming task that is implemented in optimization way, for example every line after "return". At the end the compiler has to compile everything, maybe we have "go to" statement :)

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

79418396

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

The current version of Elasticsearch (8.17) does not offer a solution for this complication. A workaround is to perform a msearch and handle it on the server side.

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

79418392

Date: 2025-02-06 15:02:51
Score: 4.5
Natty: 5
Report link

There Is TableView component here: https://github.com/w-ahmad/WinUI.TableView

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

79418384

Date: 2025-02-06 14:59:50
Score: 0.5
Natty:
Report link

I used these as steps in replicating your deployment:

  1. Set up the Cloud Storage FUSE CSI driver for GKE: starts with Workload Identity Federation for GKE so that you can set fine grained permissions on how your GKE Pods can access data stored in Cloud Storage.

  2. Mount Cloud Storage buckets as persistent volumes: I use this for my reference in proper PersistentVolume and PersistentVolumeClaim which gives correct access modes to your volume mounts.

  3. Use your deployment YAML configuration without the added MySQL flags for GCSFuse compatibility and use namespace from step1 as spec.serviceAccountName.

  4. Deploying these YAML configurations gives us running status for deployment:

image

For the answers to your questions:

  1. It's due to spec.accessModes of your PVC and PV it should have matched field as ReadWriteMany to have proper attributes.

  2. You can force GCSFuse to mount in GKE using the first step.

  3. Don't skip the first step to grant IAM roles to the Kubernetes ServiceAccount.

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

79418361

Date: 2025-02-06 14:52:49
Score: 1.5
Natty:
Report link

I tried all the above to set up Whisper.cpp with CUDA on Win10, including adding specific locations to the compiler, copying those four files, and downgrading Cmake.

What worked in the end was simply reinstalling the CUDA Toolkit. Seems like a very old annoying issue is still here. I wonder 1. what exactly the CUDA Toolkit/VSCode installer does wrong, 2. why Cmake does not throw a better error msg? Spent one day on this, super annoying thing! Grrr!

CUDA v12.8.61, Windows 10.0.19045, MSVC 19.42.34436.0, Cmake 3.31.5

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

79418351

Date: 2025-02-06 14:48:46
Score: 7.5 🚩
Natty:
Report link

did you get this to workllllll

Reasons:
  • RegEx Blacklisted phrase (3): did you get this to
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (1):
Posted by: Riley Peterson

79418346

Date: 2025-02-06 14:46:45
Score: 2.5
Natty:
Report link

We looked a little deeper after scaffolding another test database, which worked. It turns out that all of the foreign keys in the target database had disappeared. Our Dotnet6 application still worked without these as they were already in the dbContext model.

After re-defining all of the keys everything works as it should.

Thanks to Gert Arnold for suggesting to look at the database schema as we were unaware of the missing keys.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Mike

79418324

Date: 2025-02-06 14:38:43
Score: 2
Natty:
Report link

@Karan Shishoo thank you for the link,there are a lot of answers some incompatible with Avalonia, but looks like I figured most of it out:

<NumericUpDown KeyDown="HandleNonNumericInput">

And in the code behind

private void HandleNonNumericInput(object? sender, KeyEventArgs? e)
{
    string? letter = e.KeySymbol;
    bool rejectKey;
    if (string.IsNullOrEmpty(letter))
    {
        rejectKey = true;
    }
    else if (e.Key == Key.Enter || e.Key == Key.Return || e.Key == Key.Escape)
    {
        TextBox? tb = e.Source as TextBox;
        TopLevel? tl = TopLevel.GetTopLevel(this);
        tl!.Focus();
        rejectKey = true;
    }
    else
    {
        rejectKey = !char.IsNumber(letter[0]);
    }
    Debug.WriteLine($"Key: {e.Key}, Symbol: <{letter}>, rejected: {rejectKey}");
    e.Handled = rejectKey;char.IsNumber(e.KeySymbol[0]);
}

I may have forgotten to check for something, if I realize, I'll update. One big problem remains, but that's probably for another question: If at any time the input string is "" there is an exception below the TextBox that doesn't go away.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (1): another question
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Karan
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Frederik Steinmetz

79418322

Date: 2025-02-06 14:37:43
Score: 1.5
Natty:
Report link

One side effect of this issue is that while the .pfx file has been successfully imported into the Computer Certificate store with the "Mark key as exportable" checkbox ticked, whenever I try to export the certificate, the option to export the private key is grayed-out.

However, I was able to overcome the issue by doing what Yogurt The Wise suggested and do the bindings from the IIS Manager run as an Administrator

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

79418321

Date: 2025-02-06 14:37:43
Score: 1
Natty:
Report link

Your database should AUTO_INCREMENT the primary key. Uou should use stratery = GenerationType.IDENTITY so that Hibernate can rely upon primary key generated by DBMS.

@Id
@GeneratedValue(strategy = GenerationType.IDENTITY) 
private Long id;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Yasin Ahmed

79418313

Date: 2025-02-06 14:34:42
Score: 1.5
Natty:
Report link

this solved the issue:

my ~/.npmrc has

ignore-scripts=true

basically you can switch it to false and try remove the node_modules and then reinstall node-rdkafka again.

the other option go to node-rdkafka package: "cd ./node_module/node-rdkafka" and run the following command

node-gyp configure && npm run build

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

79418303

Date: 2025-02-06 14:31:42
Score: 3.5
Natty:
Report link

If this is still of interrest: Additionally the lookup needs to be added to Domain "LOOKUPNAME". Then the lookup can be choosen in the classification application. Hope this helps. Regards Robert

Reasons:
  • Blacklisted phrase (1): Regards
  • Whitelisted phrase (-1): Hope this helps
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Robert

79418298

Date: 2025-02-06 14:30:41
Score: 0.5
Natty:
Report link

I solved this only after installing a specific version of cryptography module, which is 41.0.7

Try to run pip install cryptography-41.0.7

link: https://forum.rasa.com/t/from-cryptography-hazmat-bindings-rust-import-importerror-dll-load-failed-while-importing-rust-the-specified-procedure-could-not-be-found/60963/6

Reasons:
  • Whitelisted phrase (-2): I solved
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Asad Tariq Abbasi

79418297

Date: 2025-02-06 14:29:41
Score: 0.5
Natty:
Report link

This github has some data https://github.com/SmartData-Polito/logprecis and the associated paper (e.g., look on arxiv.org for this project) lists some honeypot datasets.

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

79418272

Date: 2025-02-06 14:21:39
Score: 2.5
Natty:
Report link

There network firewall in between the client and server was the one blocking the traffic.

It turned out to be traffic is not only on port 135, other dynamic ports are being negotiated, even UDP ports are used in the RPC transaction.

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

79418271

Date: 2025-02-06 14:20:39
Score: 3.5
Natty:
Report link

{ "status": true, "data": { "FuckYOU": 1, "ts": "2069-02-08 11:41:06", "token": "0e73da23f8c48f5ae14d4ce320398181", "Online": "true", "Bullet": null, "Aimbot": null, "Memory": null, "SilentAim": null, "item": null, "Setting": null, "Esp": null, "ModName": null, "ftext": "KHAN SAFE ", "status": "Safe", "ON_OFF_BGMI": "on", "rng": 1738850051 } }

Reasons:
  • Blacklisted phrase (2): Fuck
  • No code block (0.5):
  • Low reputation (1):
Posted by: ijuk baelah

79418267

Date: 2025-02-06 14:20:39
Score: 0.5
Natty:
Report link

Ensure pip is at the correct version i.e. pip==9.0.3. Install specific versions of the libraries compatible with Python 2.7. Then install pillow as:

python -m pip install pillow packtools lxml --use-deprecated=legacy-resolver

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

79418266

Date: 2025-02-06 14:20:39
Score: 2.5
Natty:
Report link

closing the solution and reopening the solution, worked for me

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

79418255

Date: 2025-02-06 14:17:38
Score: 2
Natty:
Report link

There's no longer any difference, as mentioned in the comments section here: https://nblumhardt.com/2024/04/serilog-net8-0-minimal/#comment-6496448401

and in the source code here: https://github.com/serilog/serilog-extensions-hosting/blob/dev/src/Serilog.Extensions.Hosting/SerilogHostBuilderExtensions.cs

enter image description here

@Nicholas Blumhardt what is the difference builder.Services.AddSerilog(); and builder.Host.UseSerilog()?

Nicholas Blumhardt: There's no longer any difference between these; the Services option is the more recent one, and the Host one just forwards to it.

Reasons:
  • Probably link only (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Nicholas
  • High reputation (-1):
Posted by: Mike Haas

79418252

Date: 2025-02-06 14:15:37
Score: 2.5
Natty:
Report link

This option has now moved to UI Tools under Editor in Android Studio Ladybug Feature Drop | 2024.2.2.

Resource means xml layout files and Kotlin means Jetpack compose files with previews.

Android Studio Ladybug Feature Drop | 2024.2.2

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

79418247

Date: 2025-02-06 14:14:37
Score: 2.5
Natty:
Report link

Do this long long int n1 = abs(1LL*n); will solve it

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Shikhar Saxena

79418240

Date: 2025-02-06 14:11:36
Score: 3
Natty:
Report link

After trying all the suggested solutions here with the same Tags and even granting my current user full privileges, I decided to test using an administrator profile on the same PC.

✅ Surprisingly, Live Server worked perfectly without any changes to the configuration.

🔍 Conclusion: This indicates that the issue was related to my user profile settings rather than VS Code or Live Server itself. If you're facing a similar issue, try running VS Code with a different user profile or create a new Windows user account to see if the problem persists.

Hope this helps others facing the same issue! 🚀

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): facing a similar issue
  • Me too answer (0): facing the same issue
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Abdul-Rahman Kazamel

79418238

Date: 2025-02-06 14:10:36
Score: 0.5
Natty:
Report link

Even though I'm dealing with a newer version of springboot I had exactly the same issue with a specific version of SpringBoot

I was blaming the newer version of springboot, but there was probably something wrong with my maven cache. I delete all the org.spring* stuff and this fixed the issue. If this didn't work, I would also suggest cleaning all the IDE caches.

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

79418223

Date: 2025-02-06 14:04:35
Score: 1
Natty:
Report link

I see some issues related with double splash screen thing on Google's issue tracker.

False positive warning on Google Play Console "Double SplashScreen"

Duplicate Splash Screen Issue on Google Play Console Pre-Launch Report

They suggest that many users are experiencing this as well. Pre-Launch Reports show that Google Pixel 7 emulators generally experienced this warning.

It seems like the condition or test triggering this warning is unreliable. Unfortunately, there’s still no response from Google engineers. But I think it is some kind of false positive situation.

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

79418221

Date: 2025-02-06 14:04:35
Score: 2.5
Natty:
Report link

I know, why is supervisord doing that, I just don't know (yet), how to solve this issue. The problem is that supervisord expects a monitored process to remain in the foreground, i.e. do nod daemonize. However pm2 start <app.js> does just that - it goes into background upon successful execution. Then supervisord "thinks" that the process went out, and relaunches it. I guess it gives up after like 4 tries. You need to find a way to run pm2 (or maybe other Node.js manager) so that it stays in the foreground.

Reasons:
  • Blacklisted phrase (1): how to solve
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: AdrianL