79728110

Date: 2025-08-07 05:43:29
Score: 2.5
Natty:
Report link

NVDA sometimes fails to change to focus mode consistently, possibly due to nested elements. But you can always disable 'Enable focus mode on run' from Settings - Browse mode.

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

79728109

Date: 2025-08-07 05:41:28
Score: 1
Natty:
Report link

There are a quite a few issues here:

  1. Your code can exit before it hits any of the #expect tests.

    You set up the sink and then emit the fakeMessages and then immediately exit. You have no assurances that it will even reach your #expect tests within the sink at all. You need to do something to make sure the test doesn’t finish before it has consumed the published values.

    Fortunately, async-await offers a simple solution. E.g., you might take the sut.$messages publisher, and then await its values. So either:

    • Use a for await-in loop:

      for await value in values in sut.$messages.values {
          …
      }
      
    • Or use an iterator:

      var iterator = sut.$messages.values.makeAsyncIterator()
      
      let value1 = await iterator.next()
      …
      let value2 = await iterator.next()
      …
      
      // etc
      

    Either way, this is how you can await a value emitted from the values asynchronous sequence associated with the sut.$messages publisher, thereby assuring that the test will not finish before you process the values.

  2. Having modified this to make sure your test does not finish prematurely, the next question is how do you have it timeout if your stubbed service fails to emit the values. You can do this a number of ways, but I tend to use a task group, with one task for the tests and another for a timeout operation. E.g.:

    try await withThrowingTaskGroup(of: Void.self) { group in
        group.addTask {
            let value1 = await iterator.next()
            #expect(value1 == [])
            …
        }
        group.addTask {
            try await Task.sleep(for: .seconds(1))
            throw ChatScreenViewModelTestsError.timedOut
        }
        try await group.next()
        group.cancelAll()
    }
    

    Or a more complete example:

    @Test
        func onAppearShouldReturnInitialMessagesAndStartPolling() async throws {
            let mockMessageProvider = MockMessageProvider()
    
            let sut = createSUT(messageProvider: mockMessageProvider)
            sut.onAppear()
    
            var iterator = sut.$messages
                .buffer(size: 10, prefetch: .keepFull, whenFull: .dropOldest)
                .values
                .makeAsyncIterator()
    
            Task {
                await mockMessageProvider.emit(.success(fakeMessages))     // Emit initial messages
                await mockMessageProvider.emit(.success(moreFakeMessages)) // Emit more messages
            }
    
            try await withThrowingTaskGroup(of: Void.self) { group in
                group.addTask {
                    let value1 = await iterator.next()
                    #expect(value1 == [])
                    let value2 = await iterator.next()
                    #expect(value2 == fakeMessages)
                    let value3 = await iterator.next()
                    #expect(value3 == moreFakeMessages)
                }
                group.addTask {
                    try await Task.sleep(for: .seconds(1))
                    throw ChatScreenViewModelTestsError.timedOut
                }
                try await group.next()
                group.cancelAll()
            }
        }
    }
    
  3. Your code assumes that you will see two published values:

    #expect(sut.messages[0].count == 0)
    #expect(sut.messages[1].count > 0)
    

    This is not a valid assumption. A Published.Publisher does not handle back pressure. If the async sequence published values faster than they could be consumed, your property will drop values (unless you buffer your publisher, like I have in my example in point 2). This might not be a problem in an app that polls infrequently, but especially in tests where you mock the publishing of values without delay, you can easily end up dropping values.

  4. Your sut.onAppear starts an asynchronous Task {…}. But you don’t wait for this and immediately emit on the mocked service, MockMessageProvider. This is a race. You have no assurances that poll has been called before you emit values. If not, because emit uses nil-chaining of continuation?.yield(value), that means that emit might end up doing nothing, as there might not be any continuation to which values can be yielded yet.

    Personally, I would I would decouple the asynchronous sequence from the polling logic. E.g., I would retire AsyncStream and reach for an AsyncChannel from the Swift Async Algorithms, which can be instantiated when the message provider is instantiated. And then poll would not be an asynchronous sequence itself, but rather a routine that starts polling your remote service:

    protocol MessageProviderUseCase: Sendable {
        var channel: AsyncChannel<MessagePollResult> { get }
        func startPolling(interval: TimeInterval)
    }
    
    private final class MockMessageProvider: MessageProviderUseCase {
        let channel = AsyncChannel<MessagePollResult>()
    
        func startPolling(interval: TimeInterval) {
            // This is intentionally blank … 
            //
            // In the actual message provider, the `startPolling` would periodically
            // fetch data and then `emit` its results.
        }
    
        func emit(_ value: MessagePollResult) async {
            await channel.send(value)
        }
    }
    

    Because the channel is created when the message provider is created, it doesn't matter the order that startPolling and emit are called in our mock implementation.


Some other observations:

Reasons:
  • Blacklisted phrase (1): how do you
  • RegEx Blacklisted phrase (2.5): do you have it
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • High reputation (-2):
Posted by: Rob

79728097

Date: 2025-08-07 05:32:26
Score: 2
Natty:
Report link

You will need to download Git Credentials Manager

https://github.com/microsoft/Git-Credential-Manager-for-Windows/releases

It fixed my issue

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

79728089

Date: 2025-08-07 05:22:24
Score: 2
Natty:
Report link

Need to save CSV data set file as a "CSV UTF-8" rather than regular CSV. along with that Set "File encoding" field of "CSV Data Set Config" as UTF-8.

That's what worked perfectly for me.

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

79728082

Date: 2025-08-07 04:57:19
Score: 0.5
Natty:
Report link

in your Navigation Bar Item onClick

navController.navigate(destination.route) { 
    popUpTo(0) { 
        saveState = true 
    } 
    launchSingleTop = true 
    restoreState = true 
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Madhav Bhavsar

79728081

Date: 2025-08-07 04:56:19
Score: 1.5
Natty:
Report link
df = pd.read_csv("csv file path") //this reads the CSV file

dataFrame = pd.DataFrame(df) //pandas DataFrame method

column_labels = dataFrame.columns //returns only the column headers

for i in range(4,10):

    print(column_labels[i])
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user31228013

79728067

Date: 2025-08-07 04:33:14
Score: 1.5
Natty:
Report link
array_values(array_column($array,'email','email'));

This is return unique value from php array

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

79728066

Date: 2025-08-07 04:31:13
Score: 1
Natty:
Report link

The following code works for me.

from google.colab import runtime
runtime.unassign()
Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mzxr

79728065

Date: 2025-08-07 04:28:12
Score: 1.5
Natty:
Report link

display: flex; flex-direction: column in #r1 and #r2 , stacks the text and image vertically

margin-top: auto in .downalign , pushes that image to the bottom of the container

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

79728058

Date: 2025-08-07 04:21:10
Score: 0.5
Natty:
Report link

It seems as if there is not currently support for what I am trying to do using either azure cli or Azure Powershell, but the necessary functionality is exposed via REST api. This will approve a private endpoint on a SQL MI. Props to Cory for the solution.

# Set variables
$subscriptionId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
$resourceGroupName = "myresourcegroupname"
$managedInstanceName = "mysqlmi"
$privateEndpointConnectionName = "mysqlmy.endpointId"
# Build URL properly for PowerShell
$resourcePath = "/subscriptions/$subscriptionId/resourceGroups/$resourceGroupName/providers/Microsoft.Sql/managedInstances/$managedInstanceName/privateEndpointConnections/$privateEndpointConnectionName"
# Execute the approval with proper JSON escaping for PowerShell
az rest --method PUT --url $resourcePath --url-parameters 'api-version=2024-05-01-preview' --body '{\"properties\":{\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"Approved by pipeline\"}}}'
Reasons:
  • Blacklisted phrase (1): I am trying to
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Greg the Incredulous

79728054

Date: 2025-08-07 04:14:09
Score: 4
Natty:
Report link

Stack Overflow has been an indispensable resource for developers since its launch in 2008 by Jeff Atwood and Joel Spolsky. As the flagship Q&A site of the Stack Exchange Network, it has grown to host over 29 million registered users, with more than 24 million questions and 36 million answers as of 2025 . Its system of reputation points and badges, along with community moderation, has set a high standard for collaborative knowledge sharing

Reasons:
  • RegEx Blacklisted phrase (1.5): reputation points
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: xtime

79728053

Date: 2025-08-07 04:14:09
Score: 2
Natty:
Report link

In short, the AI is incorrect. Let's pretend that ChatGPT doesn't exist for a second and do some old-fashioned research, starting with the page for...in on MDN. It reads:

The traversal order, as of modern ECMAScript specification, is well-defined and consistent across implementations. Within each component of the prototype chain, all non-negative integer keys (those that can be array indices) will be traversed first in ascending order by value, then other string keys in ascending chronological order of property creation.

So, the concern that the order of the keys is inconsistent between JS environments seems to be invalid, at least in the current day. Other reliable resources such as this page seems to suggest that keys have been well-ordered as part of the specification since ES2015; and caniuse reports that 96.57% of browsers implement that version of the spec.

I've always done it this way, and it has always worked. All the test cases I tried passed.

That's not surprising. You are almost certainly using an ES2015 compliant environment and so the traversal order is the same as the insertion order. In this case, the keys are inserted in the order that they appear in the string.

Was the AI possibly mistaken?

Yes.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Xavier Pedraza

79728038

Date: 2025-08-07 03:37:01
Score: 5.5
Natty:
Report link

Any news on this and how to prevent it in Blazor ?

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

79728017

Date: 2025-08-07 03:09:54
Score: 4.5
Natty:
Report link

It looks like https://jj-vcs.github.io/jj/latest/FAQ/#i-accidentally-changed-files-in-the-wrong-commit-how-do-i-move-the-recent-changes-into-another-commit has the answer for this situation.

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

79728016

Date: 2025-08-07 03:08:54
Score: 2.5
Natty:
Report link

You’ll need to use the SIM card reader’s SDK or API (usually provided by the vendor). There’s no standard .NET API for SIM access—functionality like reading IMSI, serial, or carrier is typically vendor-specific and accessed via AT commands or through a COM port using serial communication in C#.

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

79728013

Date: 2025-08-07 02:59:51
Score: 3
Natty:
Report link

I could fixed this issue by using Tools > Android > Restart Adb Server

After that, VS start recognizing my device

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Issac Peña

79728005

Date: 2025-08-07 02:34:47
Score: 2
Natty:
Report link

add --profile:

aws iam get-user --profile default

aws iam list-users --profile default

file: ‪C:\Users\DESKTOP\.aws\credentials

------------------------------------------------------------------------------------

[default]

aws_access_key_id = AKIA5GMKOIQYHJUI5WR

aws_secret_access_key = J8GhnB2kRbg9UVPKyjndvj4Ib3JO57ZW5Adohmu4

------------------------------------------------------

file: C:\Users\DESKTOP\.aws\config

--------------------------------------------------

[default]

region = us-east-1

output = json

-----------------------------

aws iam get-user --profile default

aws iam list-users --profile default

enter image description here

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • No latin characters (0.5):
  • Filler text (0.5): ------------------------------------------------------------------------------------
  • Filler text (0): ------------------------------------------------------
  • Filler text (0): --------------------------------------------------
  • Filler text (0): -----------------------------
  • Low reputation (1):
Posted by: Jairo Ceron

79728000

Date: 2025-08-07 02:16:43
Score: 3.5
Natty:
Report link

Are you able to share the qca-networking-2022-spf-12-1_qca_oem source? I would very much appreciate it thanks!

I'm trying to get a IPQ807x booted.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: xian changliu

79727994

Date: 2025-08-07 01:59:40
Score: 2
Natty:
Report link

I am trying to do the same using server actions not route handler and getting this issue again and again

 ⨯ Error: Cookies can only be modified in a Server Action or Route Handler. Read more: https://nextjs.org/docs/app/api-reference/functions/cookies#options
    at async secureApiCall (src\lib\actions.ts:34:6)
    at async getAllUsers (src\app\admin\users\actions.ts:24:9)
    at async UsersPage (src\app\admin\users\page.tsx:12:16)
  32 |       console.log("Updated session token: ", session);
  33 |
> 34 |       await session.save();
     |      ^
  35 |
  36 |       // Retry original request
  37 |       return await cb(session.token); {
  digest: '533765442'
}
Reasons:
  • Blacklisted phrase (1): I am trying to
  • Blacklisted phrase (1): trying to do the same
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Momin Hyat

79727974

Date: 2025-08-07 01:08:30
Score: 2
Natty:
Report link

With what level of confidence? sub-100%? If you're OK with probabilistic primes, I think you can likely increase your efficiency considerably:

Fastest prime test (can be probabilistic)

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

79727972

Date: 2025-08-07 00:59:29
Score: 1.5
Natty:
Report link

This is the most stupid thing, I had a file named local-ca.crt and it was greyed out, renaming the file to ca.crt made it available and not greyed out anymore!

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

79727968

Date: 2025-08-07 00:32:23
Score: 2.5
Natty:
Report link

After some experimentation, my heuristic answer is: import it through a script tag in the body of the base HTML.

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

79727964

Date: 2025-08-07 00:16:20
Score: 0.5
Natty:
Report link

As @Pratik Pathak mentioned, one way is to use the actual Azure storage URL, which has worked for me in the past, but you could also use blobServiceClient instead of bobClient .

Refer to this doc : https://learn.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-dotnet?tabs=visual-studio%2Cmanaged-identity%2Croles-azure-portal%2Csign-in-azure-cli%2Cidentity-visual-studio

string connectionString = _configuration.GetConnectionString("AzureStorage");
string containerName = "container-name"; 
var blobServiceClient = new BlobServiceClient(connectionString);
var containerClient = blobServiceClient.GetBlobContainerClient(containerName);
var blobClient = containerClient.GetBlobClient(filePath);

var blobDownloadInfo = await blobClient.DownloadAsync();

var contentType = blobDownloadInfo.Value.Details.ContentType ?? "application/octet-stream";

return File(blobDownloadInfo.Value.Content, contentType, Path.GetFileName(filePath));
Reasons:
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Pratik
  • Low reputation (0.5):
Posted by: Rajeev KR

79727959

Date: 2025-08-07 00:07:18
Score: 2
Natty:
Report link

This looks like a good use case for Apache Spark. This would typically be done with Python or Scala, but there is no reason you couldn't also do this in Java (Apache Spark has java libraries). Not sure this answers your question but I think this approach is worth looking into.

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

79727956

Date: 2025-08-06 23:57:15
Score: 1.5
Natty:
Report link

You may try to put the ldap servers in two lines instead of one:

auth_ldap_servers ldap1;
auth_ldap_servers ldap2;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: paule_p

79727953

Date: 2025-08-06 23:53:14
Score: 1
Natty:
Report link

None of the current answers seem to talk about how to change the colour used in highlighting.

In my config, I have tabs and trailing whitespace highlighted using whitespace-mode:

(require 'whitespace)
(whitespace-mode 1)  ;; or (global-whitespace-mode 1)
(setq whitespace-style '(face tabs trailing))
(modify-face whitespace-tab nil "#ff0000")
(modify-face whitespace-trailing nil "#ff0000")

Code for highlighting tabs obtained from a comment under this StackOverflow answer.

Reasons:
  • Blacklisted phrase (1): StackOverflow
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jake Ireland

79727947

Date: 2025-08-06 23:26:05
Score: 11
Natty:
Report link

Hey can you tell me my four digit code for my time limit I try to figure out what was my code for time limit I knew it but I forgot it so can please help me

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (2.5): can you tell me
  • RegEx Blacklisted phrase (3): please help me
  • RegEx Blacklisted phrase (1): I try to figure out what was my code for time limit I knew it but I forgot it so can please
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jaylan Dale

79727943

Date: 2025-08-06 23:19:03
Score: 2
Natty:
Report link

Are there two senses for "can" here:

1 - In the sense that it's possible: Yes, you can freely take this approach;

2 - In the sense that it's a good practice: No, if you are creating an abstract class, you should require subclasses to create the behavior and state specific to it;

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

79727940

Date: 2025-08-06 23:18:02
Score: 4.5
Natty: 5.5
Report link

new update of laravel support typescript : https://laravel-news.com/laravel-breeze-typescript

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

79727935

Date: 2025-08-06 23:14:01
Score: 3
Natty:
Report link

As usual terrible documentation, is OrientationEvent and not OrientationData what it should be in the readme.

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

79727930

Date: 2025-08-06 22:53:57
Score: 0.5
Natty:
Report link

ANSWER:

Bpftrace fishes the register contents out of the struct pt_regs which gets from the ptrace interface. It gets the offsets into the struct using this snippet of code: (bpftrace github)


static const std::unordered_map<std::string, size_t> register_offsets = {

{ "r15", 0 },  { "r14", 8 },  { "r13", 16 },    { "r12", 24 },

{ "bp", 32 },  { "bx", 40 },  { "r11", 48 },    { "r10", 56 },

{ "r9", 64 },  { "r8", 72 },  { "ax", 80 },     { "cx", 88 },

{ "dx", 96 },  { "si", 104 }, { "di", 112 },    { "orig_rax", 120 },

{ "ip", 128 }, { "cs", 136 }, { "flags", 144 }, { "sp", 152 },

{ "ss", 160 },

};

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

79727923

Date: 2025-08-06 22:46:55
Score: 2
Natty:
Report link

You can also use [maxLines]=2 on your Label in Angular.

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

79727905

Date: 2025-08-06 22:10:47
Score: 3.5
Natty:
Report link

How do I make step 3 dependent on step 2

Wait.on is another option that can be used to wait on the processing of another step.

How can I skip (2) when there is no data returned in (1)?

Please refer comment from XQ Hu . By passing readyOrInProgressTriggers as a side input, depending on the count of that side input, thelogic in step 2 can be skipped

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Blacklisted phrase (1): How do I
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): How do I
  • Low reputation (1):
Posted by: Learner

79727903

Date: 2025-08-06 22:07:47
Score: 1.5
Natty:
Report link

As of August 2025, safe has wide browser support and can now be used.

This works now

align-items: safe center;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: MFredX

79727892

Date: 2025-08-06 21:53:43
Score: 1.5
Natty:
Report link

I use ExamplePaymentQueueDelegate to restore purchases on iOS, and it works fine in my case, in promo codes as well.

  Future<void> init() async {
    await _fetchSubscriptions();
    final purchaseUpdated = _inAppPurchase.purchaseStream;
    _subscription = purchaseUpdated.listen(
      _listenToPurchaseUpdated,
      onDone: () {
        _subscription.cancel();
      },
      onError: (Object error) {
        log(error.toString());
      },
    );

    if (Platform.isIOS) {
      final iosPlatformAddition = _inAppPurchase
          .getPlatformAddition<InAppPurchaseStoreKitPlatformAddition>();
      await iosPlatformAddition.setDelegate(ExamplePaymentQueueDelegate());
    } else {
      await InAppPurchase.instance.restorePurchases();
    }
  }
class ExamplePaymentQueueDelegate implements SKPaymentQueueDelegateWrapper {
  @override
  bool shouldContinueTransaction(
    SKPaymentTransactionWrapper transaction,
    SKStorefrontWrapper storefront,
  ) {
    return true;
  }

  @override
  bool shouldShowPriceConsent() {
    return false;
  }
}

Also, please show price consent on hitting subscribe button to avoid future bugs

    if (Platform.isIOS) {
       await confirmPriceChange();
    }  

Future<void> confirmPriceChange() async {
    // Price changes for Android are not handled by the application, but are
    // instead handled by the Play Store. See
    // https://developer.android.com/google/play/billing/price-changes for more
    // information on price changes on Android.
    if (Platform.isIOS) {
      final iapStoreKitPlatformAddition = _inAppPurchase
          .getPlatformAddition<InAppPurchaseStoreKitPlatformAddition>();
      await iapStoreKitPlatformAddition.showPriceConsentIfNeeded();
    }
  }
Reasons:
  • RegEx Blacklisted phrase (2.5): please show
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Muhammad Farhan Shakil

79727891

Date: 2025-08-06 21:53:43
Score: 3
Natty:
Report link

In my case, the keyboard function key was locked. Pressing fn+F12 worked as expected. To remove the function lock, press the Fn + Esc keys together.

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

79727890

Date: 2025-08-06 21:50:42
Score: 1.5
Natty:
Report link

In Vite just remove ~:

@import "react-image-gallery/styles/css/image-gallery.css";
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: wra

79727889

Date: 2025-08-06 21:50:42
Score: 2
Natty:
Report link

The problem was resolved by enabling the WINHTTP_OPTION_IPV6_FAST_FALLBACK option in WinHTTP, which allowed the client to quickly fall back to IPv4 when IPv6 was slow or unresponsive.

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

79727887

Date: 2025-08-06 21:45:41
Score: 2.5
Natty:
Report link

First:

import org.springframework.web.bind.annotation.RestController;

Second:

You need to change @Controller to @RestController.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @Controller
  • User mentioned (0): @RestController
  • Low reputation (1):
Posted by: Squall

79727884

Date: 2025-08-06 21:43:40
Score: 0.5
Natty:
Report link

You need to change following files for a different vendor directory location:

  1. artisan

  2. public/index.php

  3. composer.json

For example, wherever you find following (in case of artisan file):

require __DIR__.'/vendor/autoload.php';

replace with:

require __DIR__.'/php_modules/vendor/autoload.php';

Wherever you find following (in case of public/index.php):

require __DIR__.'/../vendor/autoload.php';

replace with:

require __DIR__.'/../php_modules/vendor/autoload.php';

In composer.json file, look for following fields:

  1. autoload -> exclude-from-classmap

  2. scripts -> test

  3. config -> vendor-dir

Check these above 3 fields in composer.json file and correct the values appropriately.

Thanks (and waiting for more replies/suggestions)

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Umar Ali Khan

79727883

Date: 2025-08-06 21:42:40
Score: 3.5
Natty:
Report link

uninstall "vim" extension from your vscode. must fix the problem.

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

79727879

Date: 2025-08-06 21:35:39
Score: 1
Natty:
Report link

I ran your original script and it is still running, patience is not my virtue, so is this what you are looking for?

import pandas as pd
import numpy as np

#generate sample DataFrame
dflength = 7_303_787

#create a "PLU" column of random integers (100000–199999)
PLUs = pd.DataFrame(
    np.random.randint(100_000, 200_000, size=(dflength, 1)),
    columns=['PLU']
)

#create an "ArticleName" column of random integers (1–99)
ArticleNames = pd.DataFrame(
    np.random.randint(1, 100, size=(dflength, 1)),
    columns=['ArticleName']
)

#concatenate into one DataFrame of shape (dflength, 2)
df = pd.concat([PLUs, ArticleNames], axis=1)


#loop per‐PLU in one pass via groupby
for plu_value, group in df.groupby('PLU')['ArticleName']:
    # group is a Series of ArticleName values for this PLU
    print(f"PLU={plu_value}: group shape = {group.shape}")
    print(f"  last ArticleName = {group.iloc[-1]}")


#optional tho: If you only need the last ArticleName per PLU,
last_per_plu = df.groupby('PLU')['ArticleName'].last()
# last_per_plu is a Series indexed by PLU, with the last ArticleName as value
print("\nVectorized result (last ArticleName per PLU):")
print(last_per_plu.head())   # show first few entries
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: maxis112

79727876

Date: 2025-08-06 21:30:37
Score: 1.5
Natty:
Report link

Local ipv6 route is always in the global prefix, assuming that it's standard /64 prefix. So:

ip -6 route show | grep -v fe80 | awk '{print $1}'

2001:8a0:e4b3:e800::/64

Removed local (ULA) addresses using grep -v fe80. I changed my prefix to some random.

If your prefix is not /64 and you are using SLAAC, you'll still get /64 local route.

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

79727863

Date: 2025-08-06 21:22:35
Score: 2
Natty:
Report link

I just want to drop here, that angular supports using javascript string-interpolation since 19.2.0 (untagged template literals).

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

79727858

Date: 2025-08-06 21:19:35
Score: 3
Natty:
Report link

define car and array. you should be able get a callable and return at the end. as long you don't want to return an undefined array. KiSs <3

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

79727854

Date: 2025-08-06 21:16:34
Score: 1
Natty:
Report link

Yet another workaround is to set WA_TransparentForMouseEvents attribute to child widget of QVideoWidget:

 QWidget *c = findChild<QWidget*>();
 if (c)
     c->setAttribute(Qt::WA_TransparentForMouseEvents);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Andrei Andreev

79727853

Date: 2025-08-06 21:15:33
Score: 0.5
Natty:
Report link

We had this exact same behavior when we put in an intro file with different bitrate and stereo/mono settings than the stream. The file would play and then the stream would not play. Interesting though, it played on our mobile app, but not in the browser.

We fixed the bitrate and stereo problem and now it plays fine.

Reasons:
  • No code block (0.5):
Posted by: Dan Mantyla

79727834

Date: 2025-08-06 20:46:26
Score: 2.5
Natty:
Report link

Just install django-oscar version 3.2.4 as follows:

pip install django-oscar[sorl-thumbnail]==3.2.4

and problem was solved.

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

79727827

Date: 2025-08-06 20:41:24
Score: 2
Natty:
Report link

Great solution for automating workflows in Google Sheets! If you're looking to learn how to build custom scripts to loop through stock spreadsheets efficiently, I highly recommend checking out this detailed article: Google Sheets Script – Loop Through Stocks Spreadsheet. It offers a clear step-by-step guide, perfect for both beginners and those with some experience in Google Apps Script.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mário Tandala

79727821

Date: 2025-08-06 20:37:23
Score: 0.5
Natty:
Report link

I made a unit for you to do this:

unit DeviceLister;

interface

uses
  System.Classes
  ,System.SysUtils
  {$IFDEF MSWINDOWS}
  ,Winapi.Windows
  {$ENDIF};

function GetPluggedInDevices: TStringList;

implementation

{$IFDEF MSWINDOWS}
const
  DIGCF_PRESENT = $00000002;
  DIGCF_ALLCLASSES = $00000004;
  SPDRP_DEVICEDESC = $00000000;

type
  HDEVINFO = Pointer;
  ULONG_PTR = NativeUInt;

  TSPDevInfoData = packed record
    cbSize: DWORD;
    ClassGuid: TGUID;
    DevInst: DWORD;
    Reserved: ULONG_PTR;
  end;

function SetupDiGetClassDevsW(ClassGuid: PGUID; Enumerator: PWideChar; hwndParent: HWND;
  Flags: DWORD): HDEVINFO; stdcall; external 'setupapi.dll' name 'SetupDiGetClassDevsW';

function SetupDiEnumDeviceInfo(DeviceInfoSet: HDEVINFO; MemberIndex: DWORD;
  var DeviceInfoData: TSPDevInfoData): BOOL; stdcall; external 'setupapi.dll';

function SetupDiGetDeviceRegistryPropertyW(DeviceInfoSet: HDEVINFO;
  const DeviceInfoData: TSPDevInfoData; Property_: DWORD; var PropertyRegDataType: DWORD;
  PropertyBuffer: PBYTE; PropertyBufferSize: DWORD; RequiredSize: PDWORD): BOOL; stdcall; external 'setupapi.dll' name 'SetupDiGetDeviceRegistryPropertyW';

function SetupDiDestroyDeviceInfoList(DeviceInfoSet: HDEVINFO): BOOL; stdcall; external 'setupapi.dll';
{$ENDIF}

function GetPluggedInDevices: TStringList;
{$IFDEF MSWINDOWS}
var
  DeviceInfoSet: HDEVINFO;
  DeviceInfoData: TSPDevInfoData;
  i: Integer;
  DeviceName: array[0..1023] of Byte;
  RegType: DWORD;
{$ENDIF}
begin
  Result := TStringList.Create;

  {$IFDEF MSWINDOWS}
  DeviceInfoSet := SetupDiGetClassDevsW(nil, nil, 0, DIGCF_ALLCLASSES or DIGCF_PRESENT);
  if NativeUInt(DeviceInfoSet) = NativeUInt(INVALID_HANDLE_VALUE) then
  begin
    Result.Add('Failed to get device list.');
    Exit;
  end;

  i := 0;
  DeviceInfoData.cbSize := SizeOf(TSPDevInfoData);

  while SetupDiEnumDeviceInfo(DeviceInfoSet, i, DeviceInfoData) do
  begin
    if SetupDiGetDeviceRegistryPropertyW(DeviceInfoSet, DeviceInfoData, SPDRP_DEVICEDESC,
      RegType, @DeviceName, SizeOf(DeviceName), nil) then
    begin
      Result.Add(Format('%d: %s', [i + 1, PWideChar(@DeviceName)]));
    end;
    Inc(i);
  end;

  SetupDiDestroyDeviceInfoList(DeviceInfoSet);
  {$ELSE}
  Result.Add('Device listing is only supported on Windows.');
  {$ENDIF}
end;

end.

And then in your app, you can simply add DeviceLister to your uses list, and then call the GetPluggedInDevices function. Here's an example where I'm calling and using it on a button to display the devices onto a memo:

procedure TForm1.Button1Click(Sender: TObject);
begin
  var Devices := GetPluggedInDevices;
  Memo1.Lines.Assign(Devices);
  Devices.Free;
end;

And the result:

Getting Plugged in Devices using Delphi Programming Language


Is this kind of what you wanted?

Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Shaun Roselt

79727808

Date: 2025-08-06 20:23:19
Score: 3
Natty:
Report link

Turns out it is a bug in PyCharm: https://youtrack.jetbrains.com/issue/PY-60819/FLASKDEBUG1-breaks-debugger-when-Python-PyCharm-installation-path-has-spaces#focus=Comments-27-8071749.0-0

Looks like it was fixed in the 2025.2.0 release.

I upgraded to 2025.2 and can confirm that the issue has been resolved.

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

79727793

Date: 2025-08-06 20:06:14
Score: 1
Natty:
Report link

Using a Google Business Profile for your business on Google Maps can be beneficial, but for businesses functioning within multiple cities, relying solely on Google's geocomplete-based listings is counterproductive.

Google Maps tends to restrict visibility to a particular local area radius, meaning your business would not show up in searches outside of your immediate vicinity.

This is where business directories focused on a particular state, like EZ Local, shine.

EZ Local, unlike Google geocomplete, empowers businesses to list in multiple cities, even across state lines, thus broadening their reach. Contractors, service providers, or companies with a statewide footprint needing untethered, local exposure can greatly benefit from EZ Local.

If your business would like to reach beyond neighborhood customers, such targeting with EZ Local becomes scalable and more SEO-friendly.

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

79727791

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

From Igor Tandetnik:

cppreference has this to say: (1) a consteval specifier implies inline; and (2) The definition of an inline function must be reachable in the translation unit where it is accessed. I'm 99% sure you won't be able to hide the definition of consteval function in the library; you'd have to put it into the header.

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

79727786

Date: 2025-08-06 19:57:11
Score: 2
Natty:
Report link

To ensure if that setup is valid or possible, it would be best to consult a Google Cloud sales specialist. They can offer personalized advice and technical recommendations tailored to your application’s needs. From identifying suitable use cases to helping you manage future workload costs effectively, their insights can be invaluable.

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

79727780

Date: 2025-08-06 19:48:09
Score: 1.5
Natty:
Report link

you most likely have a framework or css folder overriding the table row element's end. it's changing color but not the entire row because another .css file rule is governing this one already or 2 are conflicting. conflict resolution on this one.

try to remove the element into a new file/folder and see if it runs sepereate. if it does you know you have a conflict in css rules.

Happy hunting!

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: C. Kearce

79727766

Date: 2025-08-06 19:24:03
Score: 2.5
Natty:
Report link

In my case, my password was reset. When connecting, I changed the Authentication to another option then back to "SQL Server Authentication". After it, when I hit "Connect" it asked me to update the password.

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

79727762

Date: 2025-08-06 19:19:01
Score: 1
Natty:
Report link

had the same problem time ago, i solved by updating the library. If not work after updating try pymysql instead of mysql.

Reasons:
  • Whitelisted phrase (-2): i solved
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: wolowizard

79727759

Date: 2025-08-06 19:18:01
Score: 3
Natty:
Report link

I tried to use the merchant ID under "Business Information" and it was wrong, mine was in the url bar and was 13 characters, the wrong one for me was ALL numbers and only 12 numbers.

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

79727753

Date: 2025-08-06 19:17:00
Score: 1.5
Natty:
Report link

1 moveTo(x, y) {

2 this.nodes[0].updateRelative (true, true);

3 let dist ((x this.end.x) **2 +

4 (y this.end.y) **2) ** 0.5;

5 let len = Math.max(0, dist this.speed);

6 for (let i= this.nodes.length 1; i >= 0; i--) {

7 let node = this.nodes[i];

8 let ang Math.atan2(node.yy, node.x x);

9 node.x = x + len * Math.cos(ang);

10 node.y = y + len Math.sin(ang);

11 x = node.x; y = node.y; len = node.size;

12}

13 update() {this.moveTo(Input.mouse.x, Input.mouse.y)}

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

79727750

Date: 2025-08-06 19:16:00
Score: 3
Natty:
Report link
document.getElementById("Button").disabled = true;
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: C. Kearce

79727749

Date: 2025-08-06 19:16:00
Score: 1
Natty:
Report link

I used prebuilt aar,
If it is not available you can follow this

https://medium.com/@213maheta/ffmpeg-create-aar-file-add-it-into-android-project-7e069b0fe23f

i) Run below command on terminal

git clone https://github.com/arthenica/ffmpeg-kit.git
or Download source code from below link

https://github.com/arthenica/ffmpeg-kit

ii) Open termial & give path for Android SDK & NDK

export ANDROID_SDK_ROOT=/..your_path../Android/Sdk
export ANDROID_NDK_ROOT=/..your_path../Android/Sdk/ndk/25.1.8937393
iii) Run below command

./android.sh
iv) Go to dir

…./ffmpeg-kit/prebuilt/bundle-android-aar/
v) Copy ffmpeg-kit.aar & put it in to below path

project_name/app/libs/
vi) Add below line in your app gradle

dependencies {
    implementation(files("libs/ffmpeg-kit.aar"))
}
Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Arshad

79727742

Date: 2025-08-06 19:07:57
Score: 2
Natty:
Report link

I was able to make a patch at GenerateNode in PropertyCodeGenerator:

result.Type = type;

//Add this code
if (element.GenericReturnTypeIsNullable())
{
    var simpleType = type as RtSimpleTypeName;
    var genericArguments = simpleType.GenericArguments.Cast<RtSimpleTypeName>().ToArray();
    for (int i = 0; i < genericArguments.Length; i++)
    {
        var genericArgument = genericArguments[i];
        genericArguments[i] = new RtSimpleTypeName(genericArgument.TypeName + " | undefined");                    
    }
    result.Type = new RtSimpleTypeName(simpleType.TypeName, genericArguments);
}

This proves what I want to achieve is possible but unfortunately means I will have to make my own version of the library to accommodate this change.

Keep in mind the solution above is not 100% complete as it doesn't check the index of each generic argument, it only assumes if one is nullable then all are :) I leave this as an exercise for the readers...

If there is a better way please let me know so I am not reinventing the wheel.

Thank you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • RegEx Blacklisted phrase (2.5): please let me know
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Jay

79727741

Date: 2025-08-06 19:06:57
Score: 4
Natty:
Report link

Same error, found this issue https://github.com/vercel/next.js/issues/81751 and decided to update next to newest 15.4.5 and it seems to work now

Reasons:
  • RegEx Blacklisted phrase (1): Same error
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: yuriystasiv

79727734

Date: 2025-08-06 19:01:55
Score: 0.5
Natty:
Report link

Depending on the reason, you will likely need to access local business directories, map APIs, or utilize data scraping tools to acquire business listings with geocodes (latitude and longitude) for a given area.

1. Use Google Maps API or Bing Places API

With business Google Map and Bing Places APIs, you can search for and retrieve classified businesses within a particular area, and they will return the results indicating business titles, locations, addresses, and geocodes. Of course, a developer key is a prerequisite.

2. Third-party Data Providers

Other websites, for instance, Data Axle or Yelp, Foursquare API, do provide their business datasets with geocodes but usually for a price.

3. Scraping Local Directories with Permission

Some public directories, for example, EZ Local, show businesses with their city and state but do not provide geocodes. However, if the business or geocoding address is offered, you can apply geocoding APIs for translating the address to latitude and longitude, such as Google’s.

Note:

Always check the conditions of service of sites such as EZ Local concerning their data policies before scraping or programmatically extracting data.

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

79727731

Date: 2025-08-06 18:57:50
Score: 7.5
Natty:
Report link

نیوشا علیپور است شماره ش را بده

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: Hamid Shakeri

79727729

Date: 2025-08-06 18:56:49
Score: 2.5
Natty:
Report link

It looks that the source originates from an example I wrote for a STM32World Tutorial video. IF you have not watched the video, I'd recommend that as it goes through the setup in STM32CubeMX. I don't see anything obviously wrong in your code, so most likely it is in the CubeMX setup.

https://www.youtube.com/watch?v=0N4ECamZw2k

The working example for STM32F405 is here: https://github.com/STM32World/stm32fun/tree/master/stm32world_dac1

Reasons:
  • Blacklisted phrase (1): youtube.com
  • No code block (0.5):
  • Low reputation (1):
Posted by: Lars Bøgild Thomsen

79727712

Date: 2025-08-06 18:39:46
Score: 1
Natty:
Report link

Instead of commenting out lines or manually editing expressions, you can filter elements directly in a vector:

x = [1,2,3,4,5];
total = sum(x(~ismember(x, [2 4])));  % Exclude 2 and 4 from the sum
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Matin Kourepaz

79727699

Date: 2025-08-06 18:24:42
Score: 0.5
Natty:
Report link

I have finally find a solution for the given issue. I will recommend you to use powershell with Az module to process the commands. Make sure you have installed the Az module in your powershell in order to perform the bash commands.

  1. First identify the app id for your registered application in the azure.

  2. Once you have the app id for me i faced an error where i was not able to read or access the certificate from Azure key vault because of error - "Caller is not authorized to perform action on resource.\r\nIf role assignments, deny assignments or role definitions were changed recently, please observe propagation time.

  3. To properly access the Key vault i would recommend to provide role based access on the app id for Key Vault Administrator and Key Vault Certificates Officer.

  4. Over here as your application is trying to access the key vault from your custom program you will have to provide role based access on the Service Principal. For more information please refer to -

https://learn.microsoft.com/en-us/azure/databricks/admin/users-groups/service-principals

  1. So consider your app needs an active Service principal and provide the access of required role to the given service principal.

  2. Commands to see and apply the role for your service principal is as follows-

    1. Verify if a service principal exists for the application:
      bash
    • az ad sp show --id [app-id]**

      If it fails with Service Principal not found then create it with

      az ad sp create --id [app-id]

    1. Once you have an active sp in your tenant then next step is to assign the role

      az role assignment create --assignee app-id/client-id --role "Key Vault Certificates Officer" --scope /subscriptions/[subscription-id]/resourcegroups/[resourcegroupname]/providers/Microsoft.KeyVault/vaults/[vault-name]

    2. az role assignment create --assignee app-id/client-id --role "Key Vault Administrator" --scope /subscriptions/[subscription-id]/resourcegroups/[resourcegroupname]/providers/Microsoft.KeyVault/vaults/[vault-name]

    3. If you have system managed identity enabled by default for Virtual Machine on azure then also add that app-id similarly with the command.

  3. Once you do this please wait 15-20 minutes approximately for the assignment of roles properly and test like sending emails after this, I did this for setting up certification based authentication for our Oauth2 setup.

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

79727697

Date: 2025-08-06 18:24:42
Score: 8.5
Natty: 7.5
Report link

Have you found a solution for this?

Reasons:
  • RegEx Blacklisted phrase (2.5): Have you found a solution for this
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rodrigo Costanzo

79727689

Date: 2025-08-06 18:11:38
Score: 3
Natty:
Report link

Click the View Menu button and then select Show->Errors/Warnings on Project.

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

79727687

Date: 2025-08-06 18:09:38
Score: 2
Natty:
Report link

running with:

docker compose up -d

instead of:

docker-compose up -d
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: yawsin

79727682

Date: 2025-08-06 18:03:36
Score: 1
Natty:
Report link

If you were able to give each combination an item ID (outside of PBI desktop), and then use the sort column based on that specific ID, this would work.

For example,

ID Item - Classification Sizing - Classification Desired Order
BDK Bed King 1
BDQ Bed Queen 2
BSK Box Spring King 3
BSQ Box Spring Queen 4

You would then create the order column based on ID and "Sort by Column" with this the order.

If you only sorted on the "sizing" classification, all Kings will be grouped together, all Queens will be grouped together, etc. (which I'm sure you've already seen).

Another way to accomplish this (depending how you want to do it) would be a custom column using DAX that would look something like this:
(For just itemorder)
OrderColumn = IF(table[Item] = "Bed", 1
IF(table[Item] = "Box Spring", 2
...................)

OR

(For item AND size order)
OrderColumn = IF(AND(table[Item] = "Bed", table[Sizing] = "King"), 1
IF(AND(table[Item] = "Bed", table[Sizing] = "Queen"), 2
...................)

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Filler text (0.5): ...................
  • Filler text (0): ...................
  • Low reputation (1):
Posted by: GetSmithed

79727679

Date: 2025-08-06 18:00:36
Score: 1
Natty:
Report link

Generate a realistic, high-resolution image that visually represents the following scene or concept in a natural, photorealistic style. The image should look like it belongs in a premium blog post—minimal, clear, and emotionally resonant—without any text, labels, or graphics. Scene to Visualize:[paste your text here] Visual Style & Composition:Use natural or ambient lighting that fits the tone of the scene (e.g., warm for cozy/home scenes, cool for modern/tech topics, bright for energetic content).Prioritize realism and believability—include depth, shadows, reflections, textures, and natural imperfections where appropriate.Background should either enhance the scene (if contextual) or be minimal/blurred to keep focus on the main elements.Use camera-like perspectives (eye-level, overhead, or close-up) depending on what best suits the scene.Avoid clutter. The image should feel clean and visually balanced, with a clear subject or focal point. Color & Tone:Stick to modern color palettes trending in blogs and digital publications: soft neutrals, warm tones, elegant muted hues, natural greens/blues, or high-contrast blacks and whites.Optional: add a subtle filter or lighting grade that gives the image a cinematic or editorial blog-style finish. Do NOT Include:No text or overlays of any kindNo branding, logos, watermarksNo cartoonish or unrealistic renderingsThe final result should feel like a high-end editorial photo or a lifestyle stock image used by top-tier blogs (like Medium, Substack, Notion templates, or branded blogs by Apple, Airbnb, etc.).

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

79727672

Date: 2025-08-06 17:53:34
Score: 1
Natty:
Report link
Python 3.13.2 (main, Feb  4 2025, 00:00:00) [GCC 14.2.1 20250110 (Red Hat 14.2.1-7)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> import tempfile
>>> tempfile.gettempdir()
'/tmp'
>>> os.environ["TMP"] = "/tmp/xis"
>>> tempfile.gettempdir()
'/tmp'
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: muktdir stalwartsoft

79727650

Date: 2025-08-06 17:35:28
Score: 1
Natty:
Report link

There are perspectives to consider here.

Among the classes that implement the interface, there is greater coupling, but not as strong. This coupling is even stronger in versions prior to Java 8, in which classes that implement these features MUST be recompiled if any new functionality is added to the interface. Although classes must implement the functionality themselves, there is no dependency on the implementation of the functionality, just a set of functionalities to be implemented.

For those who use it, reusing the interface's functionalities through polymorphism is very good coupling and requires no modification.

And from the interface's perspective, there is a larger set of possible classes that can use the interface.

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

79727649

Date: 2025-08-06 17:35:28
Score: 3.5
Natty:
Report link

Did you end up having to combine your certs into one .pfx file and then using that in your .csdef file? e.g.

    <Certificates>
      <Certificate name="cert-fullchain" thumbprint="B50C067CEE2B0C3DF855AB2D92F4FE39D4E70F1E" thumbprintAlgorithm="sha1" />
    </Certificates>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: jerry

79727647

Date: 2025-08-06 17:35:28
Score: 1
Natty:
Report link

set :

logging: console.log()

This way you will have all the queries logged on to the console, irrespective of what kind of query it is.

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

79727643

Date: 2025-08-06 17:31:27
Score: 1
Natty:
Report link

Place your properties in a location that loads before auto-configuration:

@SpringBootApplication
@PropertySource("classpath:/WEB-INF/my-web.properties")
public class MyApplication {
    public static void main(String[] args) {
        SpringApplication.run(MyApplication.class, args);
    }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Cesar Saucedo

79727642

Date: 2025-08-06 17:31:27
Score: 1.5
Natty:
Report link
ol {
  overflow-x: auto;
  padding: 0;
  margin: 0;
  white-space: nowrap;
}

li {
  display: block;
  white-space: pre;
  min-width: 100%;
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sagar S

79727638

Date: 2025-08-06 17:28:26
Score: 0.5
Natty:
Report link

Jimi's post helped a lot. I used the post to create a class that derives from Form like below and now scrolling works fine. Thank you Jimi!

[DesignerCategory("code")]
public class Myform:Form,IMessageFilter
{
   
   
        public Myform()
        {
          //  SetStyle(ControlStyles.UserMouse | ControlStyles.Selectable, true);
          this.AutoScroll = true;
          
        }

        protected override void OnHandleCreated(EventArgs e)
        {
            base.OnHandleCreated(e);
            Application.AddMessageFilter(this);

            VerticalScroll.LargeChange = 60;
            VerticalScroll.SmallChange = 20;
            HorizontalScroll.LargeChange = 60;
            HorizontalScroll.SmallChange = 20;
        }

        protected override void OnHandleDestroyed(EventArgs e)
        {
            Application.RemoveMessageFilter(this);
            base.OnHandleDestroyed(e);
        }

        protected override void WndProc(ref Message m)
        {
            base.WndProc(ref m);
            switch (m.Msg)
            {
                case WM_PAINT:
                case WM_ERASEBKGND:
                case WM_NCCALCSIZE:
                    if (DesignMode || !AutoScroll) break;
                    ShowScrollBar(this.Handle, SB_SHOW_BOTH, true); //was false
                    break;
                case WM_MOUSEWHEEL:
                    // Handle Mouse Wheel for other specific cases
                    int delta = (int)(m.WParam.ToInt64() >> 16);
                    int direction = Math.Sign(delta);
                    ShowScrollBar(this.Handle, SB_SHOW_BOTH, true); //was false
                break;
            }
        }

        public bool PreFilterMessage(ref Message m)
        {
            switch (m.Msg)
            {
                case WM_MOUSEWHEEL:
                case WM_MOUSEHWHEEL:
                    if (DesignMode || !AutoScroll) return false;
                    if (VerticalScroll.Maximum <= ClientSize.Height) return false;
                    // Should also check whether the ForegroundWindow matches the parent Form.
                    if (RectangleToScreen(ClientRectangle).Contains(MousePosition))
                    {
                        SendMessage(this.Handle, WM_MOUSEWHEEL, m.WParam, m.LParam);
                        return true;
                    }
                    break;
                case WM_LBUTTONDOWN:
                    // Pre-handle Left Mouse clicks for all child Controls
                    if (RectangleToScreen(ClientRectangle).Contains(MousePosition))
                    {
                        var mousePos = MousePosition;
                        // Inside our bounds but it's not our window
                        if (GetForegroundWindow() != TopLevelControl.Handle) return false;
                        // The hosted Control that contains the mouse pointer 
                        var ctrl = FromHandle(ChildWindowFromPoint(this.Handle, PointToClient(mousePos)));
                        // A child Control of the hosted Control that will be clicked 
                        // If no child Controls at that position the Parent's handle
                        var child = FromHandle(WindowFromPoint(mousePos));
                    }
                    return true;
                    // Eventually, if you don't want the message to reach the child  Control
                    // return true; 
            }
            return false;
        }

        private const int WM_PAINT = 0x000F;
        private const int WM_ERASEBKGND = 0x0014;
        private const int WM_NCCALCSIZE = 0x0083;
        private const int WM_LBUTTONDOWN = 0x0201;
        private const int WM_MOUSEWHEEL = 0x020A;
        private const int WM_MOUSEHWHEEL = 0x020E;
        private const int SB_SHOW_VERT = 0x1;
        private const int SB_SHOW_BOTH = 0x3;

        [DllImport("user32.dll", SetLastError = true)]
        private static extern bool ShowScrollBar(IntPtr hWnd, int wBar, bool bShow);

        [DllImport("user32.dll", CharSet = CharSet.Unicode, SetLastError = true)]
        private static extern int SendMessage(IntPtr hWnd, uint uMsg, IntPtr wParam, IntPtr lParam);

        [DllImport("user32.dll")]
        internal static extern IntPtr GetForegroundWindow();

        [DllImport("user32.dll")]
        internal static extern IntPtr WindowFromPoint(Point point);

        [DllImport("user32.dll")]
        internal static extern IntPtr ChildWindowFromPoint(IntPtr hWndParent, Point point);
    }
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Kostas L

79727637

Date: 2025-08-06 17:28:26
Score: 0.5
Natty:
Report link

as long as DtoService.GetDtos() it is being used,using var context = new dtoContext(...) itcontext gets properly disposed of even though you're creating DtoService without DI. It's short-lived and doesn't hold resources, so there's no memory leak risk and no need to manually dispose of anything. MyService since you're not holding the EF context there, your provider pattern with DataService is a good way to avoid cluttering DI with multiple DB context services make sure you don’t accidentally hold onto instances of DtoService or the context longer than needed

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dr Chamyoung

79727634

Date: 2025-08-06 17:27:26
Score: 2.5
Natty:
Report link

C is like Python, if you have 9 slots for an array, you will have 0 to 8 as indices. C is very serious about memory as it is a low-level language. You would have to allocate print vettore [8] if you are trying to access the last element.

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

79727619

Date: 2025-08-06 17:06:21
Score: 2
Natty:
Report link

For me it turned out to be necessary to manually copy the precompiled libraries from CefGlue/packages/cef.redist.linux64/120.1.8/CEF/ (from sources) to bin folder.

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

79727614

Date: 2025-08-06 17:03:20
Score: 3
Natty:
Report link

os.system("helpfile.pdf") goes to next line when file is open. It doesn't wait until user close it. So helpfile_btn is deactive only for a moment because the next line makes it working again. I don't think that it's possible to do with reader that select in system. In windows you can't get access to reader. And almost you don't know to witch. Acrobate? Chrome? Firefox... Maby don't do it or make reader a part of your программе?

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Эрик

79727610

Date: 2025-08-06 17:02:20
Score: 1.5
Natty:
Report link

I would suggest using QLoRA for fine tuning and try using a well defined format for the fine tuning data like :
{messages: [{"role" :"system", "content" : "......"}, {"role": "user", "content" : "...."}, {"role" : "response", "content" : "......"}]

Also try using a suitable optimizer during fine tuning like adamw

I could provide more detailed solution if you can share your fine tuning approach.

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

79727601

Date: 2025-08-06 16:57:18
Score: 2
Natty:
Report link

Successfully opened terminal window and executed commands using this code

# Open an xterminal in colab

!pip install colab-xterm

%load_ext colabxterm

%xterm

#Then ran following commands in window

curl -fsSL https://ollama.com/install.sh | sh

ollama serve & ollama pull llama3 & oll

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

79727595

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

You can check any conditions you want in the Exit block - like

if (TargetVessel==2) {
    PrepareLoading.take(agent);
}

However what happens to the agents that cannot be taken? You'd need some sort of control logic - most likely, you should only take from storage the agents that CAN be sent to the exit block. Thus, you are ensuring all agents that are finished storing.

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Enrico

79727586

Date: 2025-08-06 16:37:13
Score: 0.5
Natty:
Report link

Based on both answers above, this is the minimum code I could get it to work on .NET 8.

//1. Add SwaggerUI
app.UseSwaggerUI(c =>
{
  c.RoutePrefix = "api/something/else/swagger";
});

//2. Set BasePath
app.UsePathBase("/api/something/else");

//3. Add Swagger
app.UseSwagger();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: user27465760

79727545

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

start your spring boot project from here:

https://start.spring.io/

enter image description here

get project.zip

unzip the project.zip

you can find: pom.xml

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>3.5.4</version>
        <relativePath/>
    </parent>
    <groupId>com.emea</groupId>
    <artifactId>project</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    <name>project</name>
    <description>Demo project for Spring Boot</description>
    <properties>
        <java.version>21</java.version>
    </properties>
    <dependencies>
        <dependency>            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>

        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
            <optional>true</optional>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <annotationProcessorPaths>
                        <path>
                            <groupId>org.projectlombok</groupId>
                            <artifactId>lombok</artifactId>
                        </path>
                    </annotationProcessorPaths>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <configuration>
                    <excludes>
                        <exclude>
                            <groupId>org.projectlombok</groupId>
                            <artifactId>lombok</artifactId>
                        </exclude>
                    </excludes>
                </configuration>
            </plugin>
        </plugins>
    </build>

</project>

(1) Use the spring-boot-maven-plugin to build the Spring Boot application JAR. Do not use the maven-jar-plugin.

(2) In the section of your pom.xml, do not manually specify the versions of dependencies that are already managed by Spring Boot (e.g., 3.5.3, 1.18.38, 6.2.9).

(3) You can use the mvn dependency:tree command to identify the libraries and versions that are already included by Spring Boot.

package and run:

package

mvn clean package

run

java -jar target/project-0.0.1-SNAPSHOT.jar

then everything is ok!

2025-08-06T23:52:06.643+08:00  INFO 17710 --- [project] [           main] com.emea.project.ProjectApplication      : Started ProjectApplication in 1.387 seconds (process running for 1.986)

To reproduce your issue, simply modify the pom.xml as follows:

add

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-jar-plugin</artifactId>
    <version>3.3.0</version>
    <configuration>
        <archive>
            <manifest>
                <mainClass>${exec.mainClass}</mainClass>
            </manifest>
        </archive>
    </configuration>
</plugin>

remove

<plugin>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-maven-plugin</artifactId>
    <configuration>
        <excludes>
            <exclude>
                <groupId>org.projectlombok</groupId>
                <artifactId>lombok</artifactId>
            </exclude>
        </excludes>
    </configuration>
</plugin>

add

<exec.mainClass>com.emea.project.ProjectApplication</exec.mainClass>

into <properties>

modify ProjectApplication.java like yours.

package and run:

package

mvn clean package

run

java -jar target/project-0.0.1-SNAPSHOT.jar

then get the same error:

$ java -jar target/project-0.0.1-SNAPSHOT.jar
Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
    at com.emea.project.ProjectApplication.<clinit>(ProjectApplication.java:11)
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
    at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
    ... 1 more

how to fix ?

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • RegEx Blacklisted phrase (1.5): how to fix ?
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): get the same error
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: life888888

79727539

Date: 2025-08-06 15:58:02
Score: 2
Natty:
Report link

On my end, I don't find the conversion to datetime mentioned by @piRSquared to be necessary. You can just do:

df[<column_name>] = df[<column_name>].astype(str)
df.to_dict('records')
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @piRSquared
  • Low reputation (1):
Posted by: jo-L

79727537

Date: 2025-08-06 15:56:02
Score: 1.5
Natty:
Report link

Solution is to Check your Python version

MediaPipe only supports:

Python 3.7 to 3.11

i was trying with the 3.11.9 version of python then it installed successufuly

Reasons:
  • Whitelisted phrase (-1): Solution is
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mohamed EL-FAILALI-LBALGHITI

79727529

Date: 2025-08-06 15:47:00
Score: 2.5
Natty:
Report link

Unsafe.AreSame is the less-unsafe equivalent of pointer equality.

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): is the
  • Low reputation (0.5):
Posted by: James Groom

79727526

Date: 2025-08-06 15:45:00
Score: 2.5
Natty:
Report link

I have no IT background , but what i understood so far , a daemon is a background process that is continuously running to do certain tasks for client, but APIs are communication programs between programs or application.

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

79727520

Date: 2025-08-06 15:42:59
Score: 0.5
Natty:
Report link

If you're using Unity Catalog, you can now query columns easily with:

SELECT table_schema, table_name, ordinal_position, column_name, data_type, full_data_type
FROM main.information_schema.columns
ORDER BY 1,2,3;

Where main is the name of your catalog. You can read more about it here.

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

79727516

Date: 2025-08-06 15:40:58
Score: 3.5
Natty:
Report link

The reason is this class that changes the behaviour of Android classes manipulating the bytecode

https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:build-system/builder/src/main/java/com/android/builder/testing/MockableJarGenerator.java;l=60?q=MockableJarGenerator&ss=android-studio/platform/tools/base

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

79727508

Date: 2025-08-06 15:30:56
Score: 3
Natty:
Report link

For me, adding "read_private_products" capability in WooCommerce v10.0.4 allowed a customer user to be able to read the products endpoint in v3 (/wp-json/wc/v3/products)

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

79727504

Date: 2025-08-06 15:28:55
Score: 3.5
Natty:
Report link

just pass --js=true flag in your command

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

79727495

Date: 2025-08-06 15:19:52
Score: 1.5
Natty:
Report link

Adding the following line to my config fixes it!

"editor.suggest.showReferences": false
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Théophile Wallez

79727492

Date: 2025-08-06 15:17:52
Score: 1
Natty:
Report link
with function row_count(tab_name in varchar2) return number as
    rc number;
begin
    execute immediate 'select count(*) from ' || tab_name into rc;
    return rc;
end;
select table_name, row_count(table_name) as row_count from all_tables
    where owner = 'owner';
/
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Uwe Fest

79727491

Date: 2025-08-06 15:16:51
Score: 0.5
Natty:
Report link

I see annotations on all panels in Grafana v11.3.1 (64b556c137) with Grafana as datasource for Annotation Queries with these steps

  1. create a manual annotation (point or range)
    1.1 click on a point in dashboard - not on time but there has to be a tooltip open
    1.2 select a range -> press CMD/Option (mac) before releasing -> create a range annotation

  2. Go to settings -> Annotations -> create a new annotation in Grafana -> leave Grafana as a source -> don't change anything

  3. Return to your Dashboard -> you see your initial manual annotation copied to all panels

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