79762141

Date: 2025-09-11 15:53:26
Score: 1
Natty:
Report link

Thanks to onlyIf hint from @Cisco I managed to create this helper method which now lives inside my convention plugins:

fun allExistingArtifactChecksumsInRepositoryMatch(
    repository: MavenArtifactRepository,
    publication: MavenPublication,
): Boolean {
    //...
    return when (val repositoryScheme = repositoryURI.scheme) {
        "http", "https" -> {
            // Create the HttpClient and use it to fetch existing checksums
        }
        "file" -> {
            // Use Path objects to do the same thing
        }
        else -> {
            // Maybe add support later, if necessary
            println("Unsupported repository scheme $repositoryScheme")
            false
        }
    }
}

After fetching the existing checksums, compute checksums of new artifacts using DigestOutputStream and compare them.

A somewhat important detail seems to be to do this:

val artifactsToCheck = when (publication) {
    is MavenPublicationInternal -> publication.asNormalisedPublication().allArtifacts
    else -> publication.artifacts
}

This downcast to internal gradle API seems to be necessary to also check metadata artifacts. This is valid for gradle version 8.13.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Cisco
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Quinteger

79762135

Date: 2025-09-11 15:52:26
Score: 1
Natty:
Report link
define('COOKIE_DOMAIN', $_SERVER['HTTP_HOST']);
define('ADMIN_COOKIE_PATH', '/');
define('COOKIEPATH', '/');
define('SITECOOKIEPATH', '/');

Add this lines in wp-config.php

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

79762133

Date: 2025-09-11 15:46:24
Score: 1
Natty:
Report link

The answer was to split out the creation of the app service plans and child web apps into two entirely separate deployment modules, rather than have both app service plans and web apps created in the same deployment module.

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

79762125

Date: 2025-09-11 15:41:22
Score: 9.5 🚩
Natty: 5.5
Report link

Did you find a solution to this ?

Reasons:
  • RegEx Blacklisted phrase (3): Did you find a solution to this
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find a solution to this
  • Low reputation (1):
Posted by: Ssekamatte

79762119

Date: 2025-09-11 15:34:20
Score: 2.5
Natty:
Report link

It turned out this was a combination of issues that was causing the problem. There were some missing imports and the new standalone: true structure caused another issue. Once those were cleaned up, the code started running.

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

79762098

Date: 2025-09-11 15:19:16
Score: 5.5
Natty: 5.5
Report link

Trying to pay DSTV but payment is confirmed but not going through, I didn't get confirmation of payment, what can I do

Reasons:
  • Blacklisted phrase (1): can I do
  • Blacklisted phrase (1): what can I do
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rose Twala

79762082

Date: 2025-09-11 15:05:12
Score: 2
Natty:
Report link

set LD_LIBRARY_PATH environment variable to the path containing your .so files before executing the application

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

79762080

Date: 2025-09-11 15:03:11
Score: 0.5
Natty:
Report link

You can display only the bin and last 4 digits of the card.

Mastercard/Visa have now 8 digit bins.

I don't think displaying 12 digits is considered PCI compliant

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

79762079

Date: 2025-09-11 15:03:11
Score: 1.5
Natty:
Report link

are you using browserslistrc ?

i had similar issue caused by old browser make compilation warning.

i updated .browserslistrc with

not ios_saf <= 12

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

79762075

Date: 2025-09-11 15:00:10
Score: 1.5
Natty:
Report link

You need to download the following files and place them in the folder where you are running PowerShell Script:

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

79762060

Date: 2025-09-11 14:47:06
Score: 3
Natty:
Report link
header 1 header 2
Aryan Kumar
Manju Devi
Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Manju Devi

79762055

Date: 2025-09-11 14:44:05
Score: 2
Natty:
Report link

My guess is that you are running the keycloak server not with the https protocol. Your client will then not accept the cookie coming from the server. Either use https or make the API call with {credentials: 'include'}. In Angular this would be { withCredentials: true }

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

79762052

Date: 2025-09-11 14:39:03
Score: 4.5
Natty: 5.5
Report link

La réponse de "didzispetkus" est valide pour moi.

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

79762041

Date: 2025-09-11 14:28:00
Score: 0.5
Natty:
Report link

FWIW: you could implement something very much like what you want, using gcc or llvm on *nix. Not sure about windows - never looked into it.
In particular: you can step through your instrumented executable in your debugger - and explicitly dump coverage data via the relevant callback.
However: the performance you see (from coverage callback to display update) may be poor for various reasons which may or may not be easy to address.
A bigger issue is that this seems like a pretty unusual use model - so it is unlikely that a vendor would implement it.
I confess to be not understand what you are trying to do/what questions you want to answer such that your proposal is the best approach.

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

79762037

Date: 2025-09-11 14:20:58
Score: 0.5
Natty:
Report link

Not sure if this is going to help you but if the map is static you could render it using MKMapSnapshotter and display the image instead. That helps. I do this in my app as well.

One other idea could be to try UIKit's MKMapView instead of SwiftUI's Map. I haven't tried that myself.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Vojta Böhm

79762030

Date: 2025-09-11 14:17:57
Score: 1.5
Natty:
Report link

I believe that one of the comments is correct and I want to elevate it.

I would think that it's the route() function in your blade file that's complaining, not anywhere else. You have cam_id there, but does $item['id'] have a value?

I've run into this mysterious error before that it ended up passing a null value in a route() call. Even if the key is specified, if it doesn't have a value, it is missing.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: bdempe

79762029

Date: 2025-09-11 14:17:57
Score: 2.5
Natty:
Report link

not sure when this changed but it is now possible to add packages with composer using your module using the extension framework

follow the instructions on this page

https://docs.suitecrm.com/developer/extension-framework/

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

79762017

Date: 2025-09-11 14:04:53
Score: 2.5
Natty:
Report link

I also had to downgrade the Jupyter extension to version 2025.6 instead of 2025.7. I have VS Code version 1.103.2 on macOS. After that, the list of Python Environments was loading correctly.

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

79762011

Date: 2025-09-11 13:58:51
Score: 1.5
Natty:
Report link

We've run into the same issue in Safari and WebViews. After the keyboard is shown and then dismissed, the position of position: fixed elements becomes incorrect. It seems that the appearance of the keyboard is messing up the viewport's positioning.

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

79762008

Date: 2025-09-11 13:56:51
Score: 3.5
Natty:
Report link

This is when the marshall comes in and does not want to leave. The only way to get him to leave is to throw objects at him. This process is called marshalling objects.

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

79762007

Date: 2025-09-11 13:55:50
Score: 1
Natty:
Report link

Also do not forget to declare your new entities in your entity reference xml file (entity.xml or other, depending on your other frameworks).

One missing entity in this file -the store entity in this example- will cause this confusing error.

Hibernate will not find the "customer" mappedBy field in the store entity because the store entity is simply unknown, despite everything else in the relationship mapping is correct.

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

79762003

Date: 2025-09-11 13:52:50
Score: 1
Natty:
Report link

Fixed by changing publishing to a direct path:

msstore publish "{DIRECT_URL_TO_MSIX}" -v -id {APP_ID}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: FieryCat

79762001

Date: 2025-09-11 13:48:48
Score: 1.5
Natty:
Report link

A way to suppress the warning (that the snippet in OP would've raised) is to put a check at the top of Dockerfile:

# syntax=docker/dockerfile:1
# check=skip=InvalidDefaultArgInFrom
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: VanillaDonuts

79761994

Date: 2025-09-11 13:44:47
Score: 0.5
Natty:
Report link

It seems that even in recent versions the order matters. The first code shows type warnings in PyCharm 2025.1.3, Python 3.13, SQLAlchemy==2.0.43, the second doesn't:

.filter(MusicLibrary.id == request.id)
.filter(request.id == MusicLibrary.id)

There was an issue with PyCharm that is closed now: https://github.com/sqlalchemy/sqlalchemy/issues/9337 `Pycharm fixed it at 2024.2.2` (posted 2024-10-16)

As I can see in the question asked by Vic the comparison also was "table object.table field" compared to "simple type":

.where(Albums.Id > user_last_sync_id)

I guess that just flipping the comparison fixes the type warnings.

Please correct me if I'm wrong.

Cheers

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

79761991

Date: 2025-09-11 13:42:46
Score: 1.5
Natty:
Report link

You cannot use This because you must be in a static function.

uploadWindow.Owner = this; makes it modal then
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: EmJ

79761989

Date: 2025-09-11 13:39:46
Score: 1.5
Natty:
Report link

Just use the MOD function with specifying 1 then after it the number of zeros upon which the number of digits you want , for example :

UPDATE Doctors

SET id = MOD(id,10); // here I got the last digit as the number of zeros is one

SET id = MOD(id,100);// here I got the last 2 digits as the number of zeros is two

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

79761987

Date: 2025-09-11 13:37:45
Score: 3
Natty:
Report link

I have tried all the options and suggestions here but my prettier code formatter is not working. It started just 2 days ago I'm really exhausted to be honest...

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

79761980

Date: 2025-09-11 13:35:43
Score: 4.5
Natty:
Report link

I also add the stack traces of the error: enter image description here

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: Andrew Olinevich

79761978

Date: 2025-09-11 13:34:42
Score: 5
Natty: 7
Report link

I have received the txt too about my account how I can exet the app or what it is I don't know much about leaks or hacking.. can you guys help me on this esi thank you

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (1): help me
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Josué

79761976

Date: 2025-09-11 13:32:42
Score: 1
Natty:
Report link

Your NG0201: No provider found for _HttpClient error is a classic dependency chain issue! 🔍

The problem: Your StructuredSearchService needs HttpClient, but Spectator's mockProvider() doesn't handle transitive dependencies automatically.

Here's how @halverscheid-fiae.de/angular-testing-factory solves this:

Your Current Pain:

// Spectator setup hell with dependency chain issues
const createService = createServiceFactory({
  service: SearchService,
  providers: [
    provideHttpClient(),           // ← Unnecessary complexity
    provideHttpClientTesting(),    // ← More boilerplate
    mockProvider(SimpleSearchService, {
      simpleSearch: () => of({ items: [] }),
    }),
    mockProvider(StructuredSearchService, {
      structuredSearch: () => of({ items: [] }),
    }),
    // Still fails because HttpClient dependency chain is broken! 💥
  ],
});

With angular-testing-factory:

import { createServiceFactory } from '@ngneat/spectator/jest';
import { provideHttpClientMock, createCustomServiceProviderMock } from '@halverscheid-fiae.de/angular-testing-factory';

const createService = createServiceFactory({
  service: SearchService,
  providers: [
    // 🎯 One-line HttpClient mock that handles ALL dependency chains
    provideHttpClientMock(),
    
    // 🛡️ Type-safe service mocks with compile-time validation
    createCustomServiceProviderMock(SimpleSearchService, {
      simpleSearch: jest.fn(() => of({ items: [] }))
    } satisfies jest.Mocked<Partial<SimpleSearchService>>),
    
    createCustomServiceProviderMock(StructuredSearchService, {
      structuredSearch: jest.fn(() => of({ items: [] }))
    } satisfies jest.Mocked<Partial<StructuredSearchService>>),
  ],
});

🎯 Why it works:

  1. Dependency Chain Resolution - provideHttpClientMock() provides HttpClient for ALL dependent services
  2. Generated Service Compatible - Works with NX/OpenAPI generated services out-of-the-box
  3. Type-Safe Mocking - Compile-time validation prevents mock drift
  4. Spectator Compatible - Drop-in replacement for your existing setup

🚀 Alternative: Ultra-Simple Setup

// For quick setup, mock everything at once:
const createService = createServiceFactory({
  service: SearchService,
  providers: provideAngularCoreMocks({
    httpClient: true,  // ← Handles all HttpClient needs
  }),
});

// Then override specific methods in your tests:
beforeEach(() => {
  const httpMock = spectator.inject(HttpClient);
  jest.spyOn(httpMock, 'get').mockReturnValue(of({ items: [] }));
});

📊 Installation:

npm install --save-dev @halverscheid-fiae.de/angular-testing-factory

Result: No more NG0201 errors, clean dependency resolution, type-safe mocks! 🎉

🛡️ Bonus - Debug Dependency Issues:

// If you still have provider issues, use the debug helper:
import { TEST_DATA } from '@halverscheid-fiae.de/angular-testing-factory';

beforeEach(() => {
  console.log('Available providers:', spectator.inject(Injector));
  // Helps identify missing dependencies
});

P.S. - Your NX + generated services struggle is exactly why I added the createCustomServiceProviderMock function! 😅

Hope this saves you from the NG0201 nightmare! 🎯

🛡️ Bonus: Compile-time Safety

// TypeScript catches mock inconsistencies at compile-time!
const provideMyServiceMock = createServiceProviderFactory(MyService, {
  registerUser: jest.fn(() => of(mockResponse)),
  // ↑ TypeScript validates this matches your real service
} satisfies jest.Mocked<Partial<MyService>>);

🚀 Installation & Quick Start:

npm install --save-dev @halverscheid-fiae.de/angular-testing-factory
// Replace your entire beforeEach setup with:
import { provideHttpClientMock } from '@halverscheid-fiae.de/angular-testing-factory';

TestBed.configureTestingModule({
  providers: [provideHttpClientMock()]
});

P.S. - Your 6 hours of frustration inspired this exact use case in the library! 😅


Shared Information

🎯 More Examples:

🚀 Installation:

npm install --save-dev @halverscheid-fiae.de/angular-testing-factory

The goal is simple: Write tests, not mock configuration.


Meta Information:


Expected Outcomes:

Reasons:
  • Blacklisted phrase (0.5): upvote
  • RegEx Blacklisted phrase (1.5): reputation
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Dark_Knight

79761975

Date: 2025-09-11 13:32:41
Score: 2.5
Natty:
Report link

Structured mediatype suffixes such as +json are now formalized in https://datatracker.ietf.org/doc/html/rfc6838#section-4.2.8

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

79761968

Date: 2025-09-11 13:27:40
Score: 2.5
Natty:
Report link

No, don't use task.run(), this will just use an extra thread
You should use Task.Run() only when you must run CPU-bound synchronous code without blocking the main thread.

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

79761960

Date: 2025-09-11 13:19:38
Score: 0.5
Natty:
Report link

When using the Scan function, we need to specify the ScanOption count as well. The default count for ScanOptions.scanOptions() in Spring Data Redis is not set, so Redis defaults to its internal value, typically 10.

Flux<String> ids = this.reactiveRedisTemplate.scan(ScanOptions.scanOptions()                     .match("EGA_ITEM_*")
.count(Integer.MAX_VALUE)
.build());
Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: Rahim Khan Abdul

79761957

Date: 2025-09-11 13:14:36
Score: 2
Natty:
Report link

My solution was to change the Analysis scope option ("Show compiler errors and warnings for") from Entire solution to something else, like Open documents or Current document.
You can find this setting in Tools → Options → Text Editor → C# → Advanced → Analysis.

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

79761956

Date: 2025-09-11 13:14:36
Score: 1
Natty:
Report link

If you’re trying to hook up Prisma data directly into a shadcn-style command menu, you might find this project useful: DataCommand. It’s built on top of shadcn/ui but adds loadItems and loadOneItem hooks so you can fetch command items from your database or API. That way, instead of hardcoding configs, you can just fetch posts dynamically and render them in the command palette.

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

79761953

Date: 2025-09-11 13:10:35
Score: 0.5
Natty:
Report link

New App

App Updates

If an App update review is taking too much time like 3-4 days. Just submit another app after updating the app version. It will fix the issue.

If you just want to give .apk file to other people for testing. just upload the file and download the signed apk from playstore and send it on whatsapp or anyother platform.

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

79761945

Date: 2025-09-11 13:05:33
Score: 2
Natty:
Report link

On iPad, the app icon requirements are slightly different from iPhone, so if you only provided iPhone sizes in your Asset Catalog, iOS will upscale whatever it finds. That’s why you’re seeing a blurry / generic looking icon on iPad.

Here’s what you need to check and fix:


1. Use an AppIcon Asset Catalog

👉 Select your AppIcon set in the asset catalog. In the right-side Attributes Inspector, under “Devices,” make sure both iPhone and iPad are checked.
Now you’ll see the iPad slots appear (20pt, 29pt, 40pt, 76pt, 83.5pt, 1024pt).


2. Add the Correct iPad Icon Sizes

You’ll need to provide images at these sizes (in px):

If you’re missing, say, the 76pt or 83.5pt iPad icon, iOS will fall back to scaling the iPhone versions, which is what you’re seeing.


3. Clean Build + Test


✅ After doing this, your iPad will display the correct crisp app icon instead of the fallback blurry one.

I dont think you need the exact image pixels if u do need 'em reply back . always happy to help. have a good day

Reasons:
  • Blacklisted phrase (1): good day
  • Long answer (-1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: whats up

79761940

Date: 2025-09-11 12:57:31
Score: 1.5
Natty:
Report link

Your 6-hour struggle is exactly why I built @halverscheid-fiae.de/angular-testing-factory! 🚀

Your core issue is mock setup complexity - you're spending more time fighting mocks than testing logic. Here's how the library solves this:

Your Current Pain (15+ lines):

// Manual HttpClient mock hell
beforeEach(async () => {
  mockCoreService = MockService(CoreService);
  // + HttpClientTestingModule import
  // + Manual spy setup  
  // + Mock return value configuration
  // + Prayer that it works 🙏
});

With angular-testing-factory (2 lines):

beforeEach(async () => {
  await TestBed.configureTestingModule({
    providers: [
      provideHttpClientMock({
        post: jest.fn(() => of({ message: 'Registration successful!', status: 'success' }))
      }),
      // Your CoreService will automatically use the mocked HttpClient
    ]
  }).compileComponents();
});

🎯 Why it works:

  1. Zero Config HttpClient Mock - No more HttpClientTestingModule setup
  2. Type-Safe Mocking - satisfies jest.Mocked<Partial<T>> prevents mock drift
  3. Dependency Injection Magic - Your CoreService automatically gets the mocked HttpClient
  4. Real Observable Returns - No more Observable setup headaches

📊 Your test becomes:

it('should submit form successfully', fakeAsync(() => {
  // Form setup (unchanged)
  component.contactFormGroup.setValue({
    username: 'testuser',
    fullname: 'Test User', 
    email: '[email protected]',
    password: 'TestPass123!'
  });
  
  // Test execution (unchanged) 
  component.submitForm(new Event('submit'));
  tick(100);
  
  // Assertions work because HttpClient is properly mocked
  const httpClientMock = TestBed.inject(HttpClient);
  expect(httpClientMock.post).toHaveBeenCalledWith(
    'http://localhost:3000/register', 
    expect.any(Object), 
    expect.any(Object)
  );
}));

🛡️ Bonus: Compile-time Safety

// TypeScript catches mock inconsistencies at compile-time!
const provideMyServiceMock = createServiceProviderFactory(MyService, {
  registerUser: jest.fn(() => of(mockResponse)),
  // ↑ TypeScript validates this matches your real service
} satisfies jest.Mocked<Partial<MyService>>);

🚀 Installation & Quick Start:

npm install --save-dev @halverscheid-fiae.de/angular-testing-factory
// Replace your entire beforeEach setup with:
import { provideHttpClientMock } from '@halverscheid-fiae.de/angular-testing-factory';

TestBed.configureTestingModule({
  providers: [provideHttpClientMock()]
});

Result: 80% less boilerplate, 100% more reliable tests!

🎯 More Examples:


P.S. - Your 6 hours of frustration inspired this exact use case in the library! 😅

The goal is simple: Write tests, not mock configuration.

Hope this saves you (and others) those painful mock-setup hours! 🎉


Meta Information:


Expected Outcomes:

Reasons:
  • Blacklisted phrase (0.5): 🙏
  • Blacklisted phrase (0.5): upvote
  • RegEx Blacklisted phrase (1.5): reputation
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Dark_Knight

79761938

Date: 2025-09-11 12:54:31
Score: 0.5
Natty:
Report link

The solutions using InputBindingBehavior did not work reliably for me. I believe this is due to the fact that the Loaded event does not guarantee that all data bindings are evaluated. The above did work for me on one control but did not work on another simply because the key bindings that were copied onto the parent window did not have a command.

What does seem to work reliably for me is to set the focus in Xaml like this:

<UserControl x:Class="MyApp.UI.Controls.FunctionButton"
             ...
             Focusable="True"
             FocusManager.FocusedElement="{Binding RelativeSource={RelativeSource Self}}"
             >
        ...
</UserControl>
Reasons:
  • Blacklisted phrase (1): did not work
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Double Quote

79761936

Date: 2025-09-11 12:52:30
Score: 2
Natty:
Report link

I've managed to get things working.

In the real code, I was emitting an event from the stimulus controller after creating the chart but before drawing it. the resulting actions (adding indicators etc) were interfering with the rendering

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

79761930

Date: 2025-09-11 12:46:28
Score: 1
Natty:
Report link

To fix or suppress it
Check Qt version compatibility

Make sure the Qt version used by VS Code extension matches the installed Qt version.



You can also try reinstalling QT because sometimes Updating or reinstalling QT packages fixes the mismatches.

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

79761916

Date: 2025-09-11 12:37:25
Score: 1.5
Natty:
Report link

It turns out that [CaptureConsole] doesn't capture all output. It only captures output to the console for code running in the same thread as the unit test. If you use a TestHost then the ultimate code in the controllers runs in a separate thread and that console output is not captured. Created a documentation issue in github.com/xunit/xunit/issues/3399

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: Willy Van den Driessche

79761903

Date: 2025-09-11 12:22:21
Score: 2.5
Natty:
Report link

I believe that Hascript evaluates the expression twice because boolean is treated in a special way (first checking boolean condition for reusing it in the perform-logic and then 2nd resolving it into a string value for the xml attribute)

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

79761900

Date: 2025-09-11 12:19:20
Score: 4
Natty: 4
Report link

For those finding this later and looking for a bot that does this look up rolebot

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

79761896

Date: 2025-09-11 12:16:19
Score: 0.5
Natty:
Report link

The scan failed with a timeout on production due to the large amount of data.

Flux<String> ids = this.reactiveRedisTemplate.scan(ScanOptions.scanOptions()                     .match("EGA_ITEM_*")
.build());

Replaced with the following

Flux<String> ids = this.reactiveRedisTemplate.keys("EGA_ITEM_*");
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Rahim Khan Abdul

79761878

Date: 2025-09-11 11:47:11
Score: 1
Natty:
Report link

You are looking for simple "OR gate".
And on the input you have the IsPassword and DoNotAllow property.

You should read this: https://learn.microsoft.com/en-us/dotnet/maui/fundamentals/data-binding/multibinding?view=net-maui-9.0

You have example for "AND gate": https://learn.microsoft.com/en-us/dotnet/maui/fundamentals/data-binding/multibinding?view=net-maui-9.0#define-a-imultivalueconverter

You should modify it by returning true inside the cycle, and false on default.

You are not limited to the number of parameters really.

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

79761877

Date: 2025-09-11 11:46:11
Score: 6
Natty: 7
Report link

Where do you add that block? In functions.php?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Where do you add that
  • Low reputation (1):
Posted by: Leandro Olivera

79761875

Date: 2025-09-11 11:46:11
Score: 0.5
Natty:
Report link

You cannot use IAM policies to stop a SageMaker notebook user from seeing or downloading .py files stored inside the notebook’s filesystem because once they have access to the notebook, they can see all files there. To protect your .py files, keep them outside the notebook instance—like in a private S3 bucket or a private code repository—and have the notebook load or call the code from there. This way, users can run the notebook but won’t have direct access to download your .py files.

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

79761873

Date: 2025-09-11 11:43:09
Score: 1.5
Natty:
Report link

9 years later and still it seems the quick search exists for some versions and disappears for others (See this).

So the best one can do is to switch to version 3.4.18 and hope the quick search will appear (haven't tested myself).

Unless there is an option hidden somewhere....

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

79761865

Date: 2025-09-11 11:37:08
Score: 0.5
Natty:
Report link

They are overwritten. I am using !reference to add the rules from the template again:

.my_template:
  rules:
    - if: $FOO != "bar"
      when: never

my_job:
  extends: .my_template
  rules:
    - !reference [.my_template, rules] # rules are overwritten, not extended
    - if: $SOMETING == "anyting"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Axel Heider

79761861

Date: 2025-09-11 11:35:07
Score: 0.5
Natty:
Report link

With the REGEXEXTRACT function it is quite easy:

=REGEXEXTRACT(A61,"(?<=px="""").+?(?="""")")

It is accepting a single quotation mark within the encapsulated text too.

enter image description here

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

79761860

Date: 2025-09-11 11:34:07
Score: 1.5
Natty:
Report link

Seems it is still a bug with DBVeaver Version 25.0.2.202504061727 till Sep 11, 2025

enter image description here

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

79761859

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

I opened a bug report for this issue, and the response back from that was that I need to add set check_backend_singleton_instance from the BackendOptions to false as it is a problem with running Quill in the compiler explorer environment.

So, the starting code will look like this

  quill::BackendOptions backend_options;
  backend_options.check_backend_singleton_instance = false;   // needed for compiler explorer environment only
  quill::Backend::start(backend_options);

Here's a working compiler explorer environment to show you the full code.

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

79761857

Date: 2025-09-11 11:30:05
Score: 2
Natty:
Report link

The Ekman6 dataset from the paper Heterogeneous Knowledge Transfer in Video Emotion Recognition is usually available on the authors’ official page. However, since the original link (http://bigvid.fudan.edu.cn/data/Ekman.zip) is not accessible, you can try alternative sources:

  1. Yanwei Fu’s dataset page: https://yanweifu.github.io/Dataset.html

  2. Zenodo (pretrained features and processed data): https://zenodo.org/records/13623249

  3. Papers With Code: https://paperswithcode.com/dataset/ekman6

  4. GitHub projects with related resources: https://github.com/Valendrew/ekman-emotion-detection

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

79761852

Date: 2025-09-11 11:23:04
Score: 3
Natty:
Report link

as far as i know there is no system variable for the screen name. hascript knows the screen name only as xml attribute

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

79761842

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

Update yours module references .

Check Manage Module References documentation

https://docs.genexus.com/en/wiki?40172,Manage+Module+References

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

79761833

Date: 2025-09-11 11:10:00
Score: 1
Natty:
Report link

I've found the problem in the code, and is was in a part outside the example code above :( the receiver code was in a Task.Run(async () => but channels aren't thread safe. So that probably caused the error.

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

79761832

Date: 2025-09-11 11:10:00
Score: 0.5
Natty:
Report link

You can set .buttonStyle(.plain) on the button. This will won't alter your label anymore.

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

79761828

Date: 2025-09-11 11:01:58
Score: 2.5
Natty:
Report link

what if the file was created in the current branch, but as a test or something , and therefor is not on the main master branch, but should not be in the PR either (basically I just want this file locally)

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): what if the
  • Low reputation (0.5):
Posted by: estellechvl

79761827

Date: 2025-09-11 10:59:57
Score: 1.5
Natty:
Report link

🔥 ممتاز! دلوقتي رح نرتقي للنسخة النصية شبه Free Fire/ Battler Royale كاملة داخل الكونسول 🚀

مميزات النسخة النهائية:

1. خريطة نصية صغيرة (مثل شبكة 5x5) يتحرك فيها اللاعب.

2. أعداء يتحركون أيضًا في نفس الخريطة.

3. صناديق غنائم وأسلحة وجرعات علاج موزعة عشوائيًا في الخريطة.

4. مناطق آمنة وفخاخ تقلل الصحة عند الوقوع فيها.

5. الهدف: البقاء على قيد الحياة وقتل أكبر عدد من الأعداء للحصول على نقاط.

6. نظام نقاط + قتلى + جولات يظهر في النهاية.

---

🕹️ نسخة Free Fire نصية (C#)

using System;

class Program

{

static void Main()

{

    Random rand = new Random();

    int حجم\_الخريطة = 5;

    char\[,\] خريطة = new char\[حجم\_الخريطة, حجم\_الخريطة\];

    // صحة اللاعب وجرعات العلاج

    int صحة\_اللاعب = 100;

    int علاج\_متاح = 3;

    int\[\] موقع\_اللاعب = { 0, 0 };

    // الأسلحة وقوتها

    string\[\] اسلحة = { "مسدس", "رشاش", "قناصة" };

    int\[\] قوة\_السلاح = { 20, 40, 70 };

    int سلاح\_مختار = 0;

    // نظام النقاط

    int النقاط = 0;

    int قتلى = 0;

    // وضع صناديق عشوائية وأعداء

    int عدد\_الأعداء = 3;

    int\[,\] مواقع\_الاعداء = new int\[عدد\_الأعداء, 2\];

    int\[\] صحة\_الاعداء = new int\[عدد\_الأعداء\];

    for (int i = 0; i \< عدد\_الأعداء; i++)

    {

        مواقع\_الاعداء\[i, 0\] = rand.Next(حجم\_الخريطة);

        مواقع\_الاعداء\[i, 1\] = rand.Next(حجم\_الخريطة);

        صحة\_الاعداء\[i\] = rand.Next(30, 80);

    }

    // وضع صناديق عشوائية

    int عدد\_الصناديق = 3;

    int\[,\] مواقع\_الصناديق = new int\[عدد\_الصناديق, 2\];

    for (int i = 0; i \< عدد\_الصناديق; i++)

    {

        مواقع\_الصناديق\[i, 0\] = rand.Next(حجم\_الخريطة);

        مواقع\_الصناديق\[i, 1\] = rand.Next(حجم\_الخريطة);

    }

    // اللعبة تعمل حتى يموت اللاعب أو ينتهي جولة

    bool اللعبة\_نشطة = true;

    while (اللعبة\_نشطة)

    {

        // عرض الخريطة

        Console.Clear();

        for (int i = 0; i \< حجم\_الخريطة; i++)

        {

            for (int j = 0; j \< حجم\_الخريطة; j++)

            {

                if (i == موقع\_اللاعب\[0\] && j == موقع\_اللاعب\[1\])

                    Console.Write(" P "); // اللاعب

                else

                {

                    bool تم\_عرض = false;

                    for (int k = 0; k \< عدد\_الأعداء; k++)

                    {

                        if (i == مواقع\_الاعداء\[k, 0\] && j == مواقع\_الاعداء\[k, 1\] && صحة\_الاعداء\[k\] \> 0)

                        {

                            Console.Write(" E "); // العدو

                            تم\_عرض = true;

                            break;

                        }

                    }

                    if (!تم\_عرض)

                    {

                        bool صندوق = false;

                        for (int k = 0; k \< عدد\_الصناديق; k++)

                        {

                            if (i == مواقع\_الصناديق\[k, 0\] && j == مواقع\_الصناديق\[k, 1\])

                            {

                                Console.Write(" C "); // صندوق

                                صندوق = true;

                                break;

                            }

                        }

                        if (!صندوق) Console.Write(" . "); // أرض فارغة

                    }

                }

            }

            Console.WriteLine();

        }

        Console.WriteLine($"\\n❤️ صحة اللاعب: {صحة\_اللاعب} | 🧪 جرعات علاج: {علاج\_متاح} | 🏆 نقاط: {النقاط} | قتلى: {قتلى}");

        Console.WriteLine("حرك اللاعب: w=أعلى s=أسفل a=يسار d=يمين أو q للخروج");

        char حركة = Console.ReadKey().KeyChar;

        // تحديث موقع اللاعب

        int صف\_جديد = موقع\_اللاعب\[0\];

        int عمود\_جديد = موقع\_اللاعب\[1\];

        if (حركة == 'w') صف\_جديد--;

        else if (حركة == 's') صف\_جديد++;

        else if (حركة == 'a') عمود\_جديد--;

        else if (حركة == 'd') عمود\_جديد++;

        else if (حركة == 'q') { اللعبة\_نشطة = false; break; }

        // التأكد من حدود الخريطة

        if (صف\_جديد \>= 0 && صف\_جديد \< حجم\_الخريطة) موقع\_اللاعب\[0\] = صف\_جديد;

        if (عمود\_جديد \>= 0 && عمود\_جديد \< حجم\_الخريطة) موقع\_اللاعب\[1\] = عمود\_جديد;

        // التحقق من تفاعل مع صناديق

        for (int i = 0; i \< عدد\_الصناديق; i++)

        {

            if (موقع\_اللاعب\[0\] == مواقع\_الصناديق\[i,0\] && موقع\_اللاعب\[1\] == مواقع\_الصناديق\[i,1\])

            {

                int حدث = rand.Next(1,4);

                if (حدث == 1) // علاج

                {

                    علاج\_متاح++;

                    Console.WriteLine("\\n✨ وجدت جرعة علاج!");

                }

                else // سلاح جديد

                {

                    string اسم\_سلاح\_جديد = "سلاح جديد";

                    int قوة\_جديدة = rand.Next(30,80);

                    Array.Resize(ref اسلحة, اسلحة.Length +1);

                    Array.Resize(ref قوة\_السلاح, قوة\_السلاح.Length +1);

                    اسلحة\[اسلحة.Length-1\] = اسم\_سلاح\_جديد;

                    قوة\_السلاح\[قوة\_السلاح.Length-1\] = قوة\_جديدة;

                    Console.WriteLine($"\\n✨ وجدت {اسم\_سلاح\_جديد} بقوة {قوة\_جديدة}");

                }

                // إزالة الصندوق

                مواقع\_الصناديق\[i,0\] = -1;

                مواقع\_الصناديق\[i,1\] = -1;

            }

        }

        // التحقق من مواجهة أعداء

        for (int i = 0; i \< عدد\_الأعداء; i++)

        {

            if (صحة\_الاعداء\[i\] \> 0 &&

                موقع\_اللاعب\[0\] == مواقع\_الاعداء\[i,0\] &&

                موقع\_اللاعب\[1\] == مواقع\_الاعداء\[i,1\])

            {

                Console.WriteLine($"\\n💀 واجهت {i+1}- {مواقع\_الاعداء\[i,0\]},{مواقع\_الاعداء\[i,1\]}! المعركة تبدأ.");

                while (صحة\_اللاعب \> 0 && صحة\_الاعداء\[i\] \> 0)

                {

                    Console.WriteLine($"💀 صحة العدو: {صحة\_الاعداء\[i\]}");

                    Console.WriteLine($"❤️ صحتك: {صحة\_اللاعب}");

                    Console.WriteLine("1- هجوم 2- علاج");

                    char خيار = Console.ReadKey().KeyChar;

                    if (خيار=='1')

                    {

                        صحة\_الاعداء\[i\]-=قوة\_السلاح\[سلاح\_مختار\];

                        Console.WriteLine($"\\n💥 هاجمت العدو بقوة {قوة\_السلاح\[سلاح\_مختار\]}");

                    }

                    else if (خيار=='2' && علاج\_متاح\>0)

                    {

                        صحة\_اللاعب+=30; علاج\_متاح--;

                        Console.WriteLine("\\n🧪 استخدمت علاج +30 صحة");

                    }

                    else Console.WriteLine("\\n❌ اختيار خاطئ أو لا يوجد علاج");

                    // رد العدو

                    if (صحة\_الاعداء\[i\]\>0)

                    {

                        int ضرر\_عدو = rand.Next(5,20);

                        صحة\_اللاعب-=ضرر\_عدو;

                        Console.WriteLine($"💀 العدو هاجمك وخسرت {ضرر\_عدو} صحة");

                    }

                }

                if (صحة\_اللاعب\>0) { 

                    Console.WriteLine("🏆 قتلت العدو!");

                    النقاط+=rand.Next(50,150);

                    قتلى++;

                }

            }

        }

        // الأعداء يتحركون عشوائياً

        for (int i = 0; i \< عدد\_الأعداء; i++)

        {

            if (صحة\_الاعداء\[i\]\>0)

            {

                int تحريك = rand.Next(0,4);

                if (تحريك==0 && مواقع\_الاعداء

🔥 ممتاز! دلوقتي رح نرتقي للنسخة النصية شبه Free Fire/ Battler Royale كاملة داخل الكونسول 🚀

مميزات النسخة النهائية:

1. خريطة نصية صغيرة (مثل شبكة 5x5) يتحرك فيها اللاعب.

2. أعداء يتحركون أيضًا في نفس الخريطة.

3. صناديق غنائم وأسلحة وجرعات علاج موزعة عشوائيًا في الخريطة.

4. مناطق آمنة وفخاخ تقلل الصحة عند الوقوع فيها.

5. الهدف: البقاء على قيد الحياة وقتل أكبر عدد من الأعداء للحصول على نقاط.

6. نظام نقاط + قتلى + جولات يظهر في النهاية.

---

🕹️ نسخة Free Fire نصية (C#)

using System;

class Program

{

static void Main()

{

    Random rand = new Random();

    int حجم\_الخريطة = 5;

    char\[,\] خريطة = new char\[حجم\_الخريطة, حجم\_الخريطة\];

    // صحة اللاعب وجرعات العلاج

    int صحة\_اللاعب = 100;

    int علاج\_متاح = 3;

    int\[\] موقع\_اللاعب = { 0, 0 };

    // الأسلحة وقوتها

    string\[\] اسلحة = { "مسدس", "رشاش", "قناصة" };

    int\[\] قوة\_السلاح = { 20, 40, 70 };

    int سلاح\_مختار = 0;

    // نظام النقاط

    int النقاط = 0;

    int قتلى = 0;

    // وضع صناديق عشوائية وأعداء

    int عدد\_الأعداء = 3;

    int\[,\] مواقع\_الاعداء = new int\[عدد\_الأعداء, 2\];

    int\[\] صحة\_الاعداء = new int\[عدد\_الأعداء\];

    for (int i = 0; i \< عدد\_الأعداء; i++)

    {

        مواقع\_الاعداء\[i, 0\] = rand.Next(حجم\_الخريطة);

        مواقع\_الاعداء\[i, 1\] = rand.Next(حجم\_الخريطة);

        صحة\_الاعداء\[i\] = rand.Next(30, 80);

    }

    // وضع صناديق عشوائية

    int عدد\_الصناديق = 3;

    int\[,\] مواقع\_الصناديق = new int\[عدد\_الصناديق, 2\];

    for (int i = 0; i \< عدد\_الصناديق; i++)

    {

        مواقع\_الصناديق\[i, 0\] = rand.Next(حجم\_الخريطة);

        مواقع\_الصناديق\[i, 1\] = rand.Next(حجم\_الخريطة);

    }

    // اللعبة تعمل حتى يموت اللاعب أو ينتهي جولة

    bool اللعبة\_نشطة = true;

    while (اللعبة\_نشطة)

    {

        // عرض الخريطة

        Console.Clear();

        for (int i = 0; i \< حجم\_الخريطة; i++)

        {

            for (int j = 0; j \< حجم\_الخريطة; j++)

            {

                if (i == موقع\_اللاعب\[0\] && j == موقع\_اللاعب\[1\])

                    Console.Write(" P "); // اللاعب

                else

                {

                    bool تم\_عرض = false;

                    for (int k = 0; k \< عدد\_الأعداء; k++)

                    {

                        if (i == مواقع\_الاعداء\[k, 0\] && j == مواقع\_الاعداء\[k, 1\] && صحة\_الاعداء\[k\] \> 0)

                        {

                            Console.Write(" E "); // العدو

                            تم\_عرض = true;

                            break;

                        }

                    }

                    if (!تم\_عرض)

                    {

                        bool صندوق = false;

                        for (int k = 0; k \< عدد\_الصناديق; k++)

                        {

                            if (i == مواقع\_الصناديق\[k, 0\] && j == مواقع\_الصناديق\[k, 1\])

                            {

                                Console.Write(" C "); // صندوق

                                صندوق = true;

                                break;

                            }

                        }

                        if (!صندوق) Console.Write(" . "); // أرض فارغة

                    }

                }

            }

            Console.WriteLine();

        }

        Console.WriteLine($"\\n❤️ صحة اللاعب: {صحة\_اللاعب} | 🧪 جرعات علاج: {علاج\_متاح} | 🏆 نقاط: {النقاط} | قتلى: {قتلى}");

        Console.WriteLine("حرك اللاعب: w=أعلى s=أسفل a=يسار d=يمين أو q للخروج");

        char حركة = Console.ReadKey().KeyChar;

        // تحديث موقع اللاعب

        int صف\_جديد = موقع\_اللاعب\[0\];

        int عمود\_جديد = موقع\_اللاعب\[1\];

        if (حركة == 'w') صف\_جديد--;

        else if (حركة == 's') صف\_جديد++;

        else if (حركة == 'a') عمود\_جديد--;

        else if (حركة == 'd') عمود\_جديد++;

        else if (حركة == 'q') { اللعبة\_نشطة = false; break; }

        // التأكد من حدود الخريطة

        if (صف\_جديد \>= 0 && صف\_جديد \< حجم\_الخريطة) موقع\_اللاعب\[0\] = صف\_جديد;

        if (عمود\_جديد \>= 0 && عمود\_جديد \< حجم\_الخريطة) موقع\_اللاعب\[1\] = عمود\_جديد;

        // التحقق من تفاعل مع صناديق

        for (int i = 0; i \< عدد\_الصناديق; i++)

        {

            if (موقع\_اللاعب\[0\] == مواقع\_الصناديق\[i,0\] && موقع\_اللاعب\[1\] == مواقع\_الصناديق\[i,1\])

            {

                int حدث = rand.Next(1,4);

                if (حدث == 1) // علاج

                {

                    علاج\_متاح++;

                    Console.WriteLine("\\n✨ وجدت جرعة علاج!");

                }

                else // سلاح جديد

                {

                    string اسم\_سلاح\_جديد = "سلاح جديد";

                    int قوة\_جديدة = rand.Next(30,80);

                    Array.Resize(ref اسلحة, اسلحة.Length +1);

                    Array.Resize(ref قوة\_السلاح, قوة\_السلاح.Length +1);

                    اسلحة\[اسلحة.Length-1\] = اسم\_سلاح\_جديد;

                    قوة\_السلاح\[قوة\_السلاح.Length-1\] = قوة\_جديدة;

                    Console.WriteLine($"\\n✨ وجدت {اسم\_سلاح\_جديد} بقوة {قوة\_جديدة}");

                }

                // إزالة الصندوق

                مواقع\_الصناديق\[i,0\] = -1;

                مواقع\_الصناديق\[i,1\] = -1;

            }

        }

        // التحقق من مواجهة أعداء

        for (int i = 0; i \< عدد\_الأعداء; i++)

        {

            if (صحة\_الاعداء\[i\] \> 0 &&

                موقع\_اللاعب\[0\] == مواقع\_الاعداء\[i,0\] &&

                موقع\_اللاعب\[1\] == مواقع\_الاعداء\[i,1\])

            {

                Console.WriteLine($"\\n💀 واجهت {i+1}- {مواقع\_الاعداء\[i,0\]},{مواقع\_الاعداء\[i,1\]}! المعركة تبدأ.");

                while (صحة\_اللاعب \> 0 && صحة\_الاعداء\[i\] \> 0)

                {

                    Console.WriteLine($"💀 صحة العدو: {صحة\_الاعداء\[i\]}");

                    Console.WriteLine($"❤️ صحتك: {صحة\_اللاعب}");

                    Console.WriteLine("1- هجوم 2- علاج");

                    char خيار = Console.ReadKey().KeyChar;

                    if (خيار=='1')

                    {

                        صحة\_الاعداء\[i\]-=قوة\_السلاح\[سلاح\_مختار\];

                        Console.WriteLine($"\\n💥 هاجمت العدو بقوة {قوة\_السلاح\[سلاح\_مختار\]}");

                    }

                    else if (خيار=='2' && علاج\_متاح\>0)

                    {

                        صحة\_اللاعب+=30; علاج\_متاح--;

                        Console.WriteLine("\\n🧪 استخدمت علاج +30 صحة");

                    }

                    else Console.WriteLine("\\n❌ اختيار خاطئ أو لا يوجد علاج");

                    // رد العدو

                    if (صحة\_الاعداء\[i\]\>0)

                    {

                        int ضرر\_عدو = rand.Next(5,20);

                        صحة\_اللاعب-=ضرر\_عدو;

                        Console.WriteLine($"💀 العدو هاجمك وخسرت {ضرر\_عدو} صحة");

                    }

                }

                if (صحة\_اللاعب\>0) { 

                    Console.WriteLine("🏆 قتلت العدو!");

                    النقاط+=rand.Next(50,150);

                    قتلى++;

                }

            }

        }

        // الأعداء يتحركون عشوائياً

        for (int i = 0; i \< عدد\_الأعداء; i++)

        {

            if (صحة\_الاعداء\[i\]\>0)

            {

                int تحريك = rand.Next(0,4);

                if (تحريك==0 && مواقع\_الاعداء

🔥 ممتاز! دلوقتي رح نرتقي للنسخة النصية شبه Free Fire/ Battler Royale كاملة داخل الكونسول 🚀

مميزات النسخة النهائية:

1. خريطة نصية صغيرة (مثل شبكة 5x5) يتحرك فيها اللاعب.

2. أعداء يتحركون أيضًا في نفس الخريطة.

3. صناديق غنائم وأسلحة وجرعات علاج موزعة عشوائيًا في الخريطة.

4. مناطق آمنة وفخاخ تقلل الصحة عند الوقوع فيها.

5. الهدف: البقاء على قيد الحياة وقتل أكبر عدد من الأعداء للحصول على نقاط.

6. نظام نقاط + قتلى + جولات يظهر في النهاية.

---

🕹️ نسخة Free Fire نصية (C#)

using System;

class Program

{

static void Main()

{

    Random rand = new Random();

    int حجم\_الخريطة = 5;

    char\[,\] خريطة = new char\[حجم\_الخريطة, حجم\_الخريطة\];

    // صحة اللاعب وجرعات العلاج

    int صحة\_اللاعب = 100;

    int علاج\_متاح = 3;

    int\[\] موقع\_اللاعب = { 0, 0 };

    // الأسلحة وقوتها

    string\[\] اسلحة = { "مسدس", "رشاش", "قناصة" };

    int\[\] قوة\_السلاح = { 20, 40, 70 };

    int سلاح\_مختار = 0;

    // نظام النقاط

    int النقاط = 0;

    int قتلى = 0;

    // وضع صناديق عشوائية وأعداء

    int عدد\_الأعداء = 3;

    int\[,\] مواقع\_الاعداء = new int\[عدد\_الأعداء, 2\];

    int\[\] صحة\_الاعداء = new int\[عدد\_الأعداء\];

    for (int i = 0; i \< عدد\_الأعداء; i++)

    {

        مواقع\_الاعداء\[i, 0\] = rand.Next(حجم\_الخريطة);

        مواقع\_الاعداء\[i, 1\] = rand.Next(حجم\_الخريطة);

        صحة\_الاعداء\[i\] = rand.Next(30, 80);

    }

    // وضع صناديق عشوائية

    int عدد\_الصناديق = 3;

    int\[,\] مواقع\_الصناديق = new int\[عدد\_الصناديق, 2\];

    for (int i = 0; i \< عدد\_الصناديق; i++)

    {

        مواقع\_الصناديق\[i, 0\] = rand.Next(حجم\_الخريطة);

        مواقع\_الصناديق\[i, 1\] = rand.Next(حجم\_الخريطة);

    }

    // اللعبة تعمل حتى يموت اللاعب أو ينتهي جولة

    bool اللعبة\_نشطة = true;

    while (اللعبة\_نشطة)

    {

        // عرض الخريطة

        Console.Clear();

        for (int i = 0; i \< حجم\_الخريطة; i++)

        {

            for (int j = 0; j \< حجم\_الخريطة; j++)

            {

                if (i == موقع\_اللاعب\[0\] && j == موقع\_اللاعب\[1\])

                    Console.Write(" P "); // اللاعب

                else

                {

                    bool تم\_عرض = false;

                    for (int k = 0; k \< عدد\_الأعداء; k++)

                    {

                        if (i == مواقع\_الاعداء\[k, 0\] && j == مواقع\_الاعداء\[k, 1\] && صحة\_الاعداء\[k\] \> 0)

                        {

                            Console.Write(" E "); // العدو

                            تم\_عرض = true;

                            break;

                        }

                    }

                    if (!تم\_عرض)

                    {

                        bool صندوق = false;

                        for (int k = 0; k \< عدد\_الصناديق; k++)

                        {

                            if (i == مواقع\_الصناديق\[k, 0\] && j == مواقع\_الصناديق\[k, 1\])

                            {

                                Console.Write(" C "); // صندوق

                                صندوق = true;

                                break;

                            }

                        }

                        if (!صندوق) Console.Write(" . "); // أرض فارغة

                    }

                }

            }

            Console.WriteLine();

        }

        Console.WriteLine($"\\n❤️ صحة اللاعب: {صحة\_اللاعب} | 🧪 جرعات علاج: {علاج\_متاح} | 🏆 نقاط: {النقاط} | قتلى: {قتلى}");

        Console.WriteLine("حرك اللاعب: w=أعلى s=أسفل a=يسار d=يمين أو q للخروج");

        char حركة = Console.ReadKey().KeyChar;

        // تحديث موقع اللاعب

        int صف\_جديد = موقع\_اللاعب\[0\];

        int عمود\_جديد = موقع\_اللاعب\[1\];

        if (حركة == 'w') صف\_جديد--;

        else if (حركة == 's') صف\_جديد++;

        else if (حركة == 'a') عمود\_جديد--;

        else if (حركة == 'd') عمود\_جديد++;

        else if (حركة == 'q') { اللعبة\_نشطة = false; break; }

        // التأكد من حدود الخريطة

        if (صف\_جديد \>= 0 && صف\_جديد \< حجم\_الخريطة) موقع\_اللاعب\[0\] = صف\_جديد;

        if (عمود\_جديد \>= 0 && عمود\_جديد \< حجم\_الخريطة) موقع\_اللاعب\[1\] = عمود\_جديد;

        // التحقق من تفاعل مع صناديق

        for (int i = 0; i \< عدد\_الصناديق; i++)

        {

            if (موقع\_اللاعب\[0\] == مواقع\_الصناديق\[i,0\] && موقع\_اللاعب\[1\] == مواقع\_الصناديق\[i,1\])

            {

                int حدث = rand.Next(1,4);

                if (حدث == 1) // علاج

                {

                    علاج\_متاح++;

                    Console.WriteLine("\\n✨ وجدت جرعة علاج!");

                }

                else // سلاح جديد

                {

                    string اسم\_سلاح\_جديد = "سلاح جديد";

                    int قوة\_جديدة = rand.Next(30,80);

                    Array.Resize(ref اسلحة, اسلحة.Length +1);

                    Array.Resize(ref قوة\_السلاح, قوة\_السلاح.Length +1);

                    اسلحة\[اسلحة.Length-1\] = اسم\_سلاح\_جديد;

                    قوة\_السلاح\[قوة\_السلاح.Length-1\] = قوة\_جديدة;

                    Console.WriteLine($"\\n✨ وجدت {اسم\_سلاح\_جديد} بقوة {قوة\_جديدة}");

                }

                // إزالة الصندوق

                مواقع\_الصناديق\[i,0\] = -1;

                مواقع\_الصناديق\[i,1\] = -1;

            }

        }

        // التحقق من مواجهة أعداء

        for (int i = 0; i \< عدد\_الأعداء; i++)

        {

            if (صحة\_الاعداء\[i\] \> 0 &&

                موقع\_اللاعب\[0\] == مواقع\_الاعداء\[i,0\] &&

                موقع\_اللاعب\[1\] == مواقع\_الاعداء\[i,1\])

            {

                Console.WriteLine($"\\n💀 واجهت {i+1}- {مواقع\_الاعداء\[i,0\]},{مواقع\_الاعداء\[i,1\]}! المعركة تبدأ.");

                while (صحة\_اللاعب \> 0 && صحة\_الاعداء\[i\] \> 0)

                {

                    Console.WriteLine($"💀 صحة العدو: {صحة\_الاعداء\[i\]}");

                    Console.WriteLine($"❤️ صحتك: {صحة\_اللاعب}");

                    Console.WriteLine("1- هجوم 2- علاج");

                    char خيار = Console.ReadKey().KeyChar;

                    if (خيار=='1')

                    {

                        صحة\_الاعداء\[i\]-=قوة\_السلاح\[سلاح\_مختار\];

                        Console.WriteLine($"\\n💥 هاجمت العدو بقوة {قوة\_السلاح\[سلاح\_مختار\]}");

                    }

                    else if (خيار=='2' && علاج\_متاح\>0)

                    {

                        صحة\_اللاعب+=30; علاج\_متاح--;

                        Console.WriteLine("\\n🧪 استخدمت علاج +30 صحة");

                    }

                    else Console.WriteLine("\\n❌ اختيار خاطئ أو لا يوجد علاج");

                    // رد العدو

                    if (صحة\_الاعداء\[i\]\>0)

                    {

                        int ضرر\_عدو = rand.Next(5,20);

                        صحة\_اللاعب-=ضرر\_عدو;

                        Console.WriteLine($"💀 العدو هاجمك وخسرت {ضرر\_عدو} صحة");

                    }

                }

                if (صحة\_اللاعب\>0) { 

                    Console.WriteLine("🏆 قتلت العدو!");

                    النقاط+=rand.Next(50,150);

                    قتلى++;

                }

            }

        }

        // الأعداء يتحركون عشوائياً

        for (int i = 0; i \< عدد\_الأعداء; i++)

        {

            if (صحة\_الاعداء\[i\]\>0)

            {

                int تحريك = rand.Next(0,4);

                if (تحريك==0 && مواقع\_الاعداء

[i,0]>0) مواقع_الاعداء[i,0]--;

                else if (تحريك==1 && مواقع\_الاعداء\[i,0\]\<حجم\_الخريطة-1) مواقع\_الاعداء\[i,0\]++;

                else if (تحريك==2 && مواقع\_الاعداء\[i,1\]\>0) مواقع\_الاعداء\[i,

[i,0]>0) مواقع_الاعداء[i,0]--;

                else if (تحريك==1 && مواقع\_الاعداء\[i,0\]\<حجم\_الخريطة-1) مواقع\_الاعداء\[i,0\]++;

                else if (تحريك==2 && مواقع\_الاعداء\[i,1\]\>0) مواقع\_الاعداء\[i,

[i,0]>0) مواقع_الاعداء[i,0]--;

                else if (تحريك==1 && مواقع\_الاعداء\[i,0\]\<حجم\_الخريطة-1) مواقع\_الاعداء\[i,0\]++;

                else if (تحريك==2 && مواقع\_الاعداء\[i,1\]\>0) مواقع\_الاعداء\[i,
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: Hdfi Saif

79761813

Date: 2025-09-11 10:48:54
Score: 0.5
Natty:
Report link

--accent-fill-rest is a CSS custom property (variable) used by Fluent UI components. If you want to change its value globally, you can override it in your CSS, for example:

:root {
  --accent-fill-rest: #ff0000; /* your desired color */
}

If you only want to change it for the banner, scope it to that element:

.my-banner {
  --accent-fill-rest: #ff0000;
}

Then any Fluent UI component inside .my-banner that uses --accent-fill-rest will render with your custom color.

Alternatively, if you don’t care about the variable and just want a hard-coded background, you can bypass it entirely:

.my-banner {
  background-color: red;
}

But overriding the CSS variable is the more “Fluent-UI-friendly” approach.


Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): is a
  • Low reputation (1):
Posted by: Taha Reeh

79761810

Date: 2025-09-11 10:44:53
Score: 5
Natty: 5
Report link

Watch this youtube video for Solve this issue
https://www.youtube.com/watch?v=K8L7gUEYE40

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Rajvinder Singh

79761806

Date: 2025-09-11 10:39:51
Score: 1
Natty:
Report link

Right now, no tool can show you code coverage live while you are stepping through your code in Visual Studio’s debugger. Most coverage tools only work after you run unit tests or run the app separately. For example, Visual Studio’s built-in coverage and Fine Code Coverage need tests, and OpenCover needs you to run your program outside the debugger. JetBrains dotCover can measure coverage when you run the app (not just tests), but it doesn’t update coverage while you are stepping through code. So, there isn’t a tool that shows coverage in real-time during debugging yet.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Uday kiriti

79761798

Date: 2025-09-11 10:29:49
Score: 4
Natty:
Report link

C:\Users\your user \AppData\Local\Android\Sdk\extras\google\usb_driver

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: marco

79761788

Date: 2025-09-11 10:21:46
Score: 1
Natty:
Report link

Your gradient isn’t showing because by default SVG gradients use 'objectBoundingBox' coordinates, meaning y1=0 and y2=0 collapse to nothing. To fix it, set gradientUnits="userSpaceOnUse" so the gradient uses actual SVG coordinates. Then you can keep y1="0" y2="0" and get a proper horizontal gradient along your line.

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

79761775

Date: 2025-09-11 10:11:42
Score: 3.5
Natty:
Report link

I uploaded my app bundle on an old Google Play Console account that didn’t require the “14 testers” step. The app was approved in about 3 days.

Later, I transferred the app to a new Google Play Console account. On the new account, I uploaded an update (on 29 August), but the update has been stuck in “In review” for more than 2 weeks now and still hasn’t been accepted.

I already contacted Google Play Console support by email, but I haven’t received a reply for over a week.

Why is the review taking so long on the new account, while it was faster on the old account? Is this normal, and is there anything I can do to speed it up?

Reasons:
  • Blacklisted phrase (1): is there any
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Ryadh Hanafi

79761771

Date: 2025-09-11 10:06:41
Score: 2
Natty:
Report link

Fix:

Changed pageSizeOptions to {[25]}

Deleted initialState

Introduced rowCount state in DashboardProvider, useEffect that sets it everytime peopleGroupTarget.totalCount changes, and when its not undefined, and passed it on through context.

Got it from destructuring useDasboard, and used it in rowCount prop of the datagrid, rowCount = rowCount (state thought context)

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

79761757

Date: 2025-09-11 09:57:38
Score: 5
Natty: 5
Report link

With some more options and checks:

https://raw.githack.com/experder/string_converter/main/strings.html

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

79761755

Date: 2025-09-11 09:51:36
Score: 1
Natty:
Report link

The reason your Keras model isn't throwing an error when different input sizes are passed to the `Dense` layer is due to how TensorFlow's `Dense` layer operates when connected to a 4D tensor (batch, height, width, channels).

The `Dense` layer is applied independently to each spatial location (last dimension) of the input tensor. For a 4D input of shape `(batch, H, W, C)`, the `Dense` layer transforms the last dimension (`C`) to the specified number of units, preserving the spatial dimensions (`H`, `W`). The weights are shared across spatial positions, so dynamic sizes don't affect the layer's compatibility.

The `Dense` layer is preceded by `Conv2D` layers (with `padding="same"`), which maintain spatial dimensions. The `Dense` layer simply acts as a pointwise (1x1) convolution. This explains why varying time-series lengths (treated as spatial dimensions) are allowed.

Why No Error? The `Dense` layer doesn’t require fixed `H` or `W` dimensions—it only cares about the last dimension (channels). The input/output shapes are:

And unlike traditional dense layers (which require fixed input sizes), your setup leverages the `Dense` layer like a `1x1 Conv2D`, making it compatible with dynamic shapes.
This behavior is computationally equivalent to a `Conv2D` layer with kernel size `(1, 1)`.

However the model is **fully convolutional** (including the `Dense` layer’s implicit behavior), so gradients propagate correctly regardless of input spatial dimensions.

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

79761753

Date: 2025-09-11 09:50:36
Score: 3
Natty:
Report link

Thanks Everyone for your time and efforts ,
The was causing due the external plugins conflict.

What i do to resolve it :-
removed all the plugins and installed only flutter and dart , so my issue was solved ,
once it ran installed all important plugins one by one.

Thanks.

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

79761746

Date: 2025-09-11 09:44:34
Score: 1
Natty:
Report link

You can practice this by setting up a small lab in *Azure*:

1. Create a VM with Windows Server + AD DS.

2. Add another VM with Exchange 2010.

3. Install Azure AD Connect to sync with Office 365.

4. Use the Exchange Admin Center or PowerShell to migrate a few test mailboxes.

Microsoft has step-by-step docs you can follow:

* Hybrid deployment prerequisites - (https://learn.microsoft.com/en-us/exchange/exchange-hybrid)

* Migrate Exchange 2010 mailboxes - (https://learn.microsoft.com/en-us/exchange/mailbox-migration/office-365-migration-best-practices)

For production projects, some admins use migration tools (e.g. Kernel Office 365 Migration Software) to simplify mailbox moves, but for practice, it’s best to stick with Microsoft’s native guides so you learn the process.

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

79761740

Date: 2025-09-11 09:41:33
Score: 0.5
Natty:
Report link

I am a few years, too late. But after spending a whole day searching for the solution found that it is pretty simple.
There are so many answers that layout the Bitbucket login related commands, so I will just write the abstract process, what helped me.

Hoping, this would help someone someday.

  1. Connect to the source control
  2. Clone the bare repo (bare repo: does't contain any project files, only git files/folders)
    • git clone --bare https:/ /xyz.com/folder/abcd.git
  3. Move into the directory, which you cloned.
    • cd abcd.git
  4. Add a new origin where you want to push the code. (can be gitlab, github anything)
    • git remote add new-origin
  5. push to the new origin
    • git push --mirror new-origin
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Anurag R

79761732

Date: 2025-09-11 09:37:32
Score: 1.5
Natty:
Report link

You can also indirectly use Datasets API in Python by firstly building Scala program with Datasets, creating JAR and running it Python.

Here is a tutorial on using Datasets in PySpark via Scala interoperability.

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

79761727

Date: 2025-09-11 09:33:31
Score: 1
Natty:
Report link
/* Center the selected value */
.p-dropdown .p-dropdown-label {
  justify-content: center;  /* <-- key */
  text-align: center;
}

/* Center the items inside the dropdown panel */
.p-dropdown .p-dropdown-item {
  justify-content: center;
  text-align: center;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Lokendra Parmar

79761723

Date: 2025-09-11 09:26:29
Score: 2
Natty:
Report link

in AndroidManifest.xml put

<application
    android:extractNativeLibs="false"
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Basma Abdou

79761713

Date: 2025-09-11 09:19:26
Score: 6 🚩
Natty: 5.5
Report link

You thought i was kidding??!!!

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sempre Que Voc Ler Os Comentri

79761707

Date: 2025-09-11 09:15:25
Score: 2
Natty:
Report link

If BlocProvider.value doesn't solve this issue
this can be a solution:
https://github.com/felangel/bloc/issues/3069#issuecomment-3279335244

Reasons:
  • Whitelisted phrase (-2): solution:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Nandan Magdum

79761704

Date: 2025-09-11 09:13:24
Score: 0.5
Natty:
Report link

This is one of those browser-safety limitations:
You cannot prevent or replace the native beforeunload confirmation popup with your own UI.

Why?

That’s why setting e.preventDefault() or e.returnValue just shows the default browser popup—you can’t override it with a React modal.


What you can do instead

If your goal is to warn users about unsaved form changes and show a custom modal, you’ll need to intercept navigation inside your app, not the hard reload:

  1. Intercept in-app navigation (Next.js Router):

    import { useRouter } from "next/router";
    import { useEffect } from "react";
    
    export default function MyForm() {
      const router = useRouter();
      const isDirty = true; // track whether form has unsaved changes
    
      useEffect(() => {
        const handleRouteChangeStart = (url: string) => {
          if (isDirty && !confirm("You have unsaved changes. Leave anyway?")) {
            router.events.emit("routeChangeError");
            // throw to cancel navigation
            throw "Route change aborted.";
          }
        };
    
        router.events.on("routeChangeStart", handleRouteChangeStart);
        return () => {
          router.events.off("routeChangeStart", handleRouteChangeStart);
        };
      }, [isDirty]);
    
      return <form>…</form>;
    }
    
    

    Here you can replace confirm with your own React modal state.

  2. For full page reload (F5, Ctrl+R, closing tab):

    • You’re stuck with the native confirmation dialog.

    • No way to cancel reload and show your React modal—browsers block this for security reasons.


Bottom line:

Reasons:
  • Blacklisted phrase (0.5): Why?
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: 63 - Vikas Kumar 4rd Sem.

79761702

Date: 2025-09-11 09:11:23
Score: 1
Natty:
Report link

Figured out the issue. The problem is that one dependency (vue-slider-component 3.2.24) is incompatible with Vue 3.

Commenting out the code related to it allows the build to complete without the need to change the imports or update vite.config.js with:

commonjsOptions: {
  include: [],
},
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: anti-destin

79761701

Date: 2025-09-11 09:11:23
Score: 0.5
Natty:
Report link

In case if you setup the storyboard name correctly (without extension) and the launch screen still doesn't appear, consult TN3118: Debugging your app’s launch screen. In my case I forgot to put checkmark next to "Is Initial View Controller". Xcode - Launch Screen Storyboard Setup

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

79761689

Date: 2025-09-11 09:03:20
Score: 1.5
Natty:
Report link

If the pull entered a merge and you don’t want to continue:
git merge --abort

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

79761685

Date: 2025-09-11 09:00:19
Score: 0.5
Natty:
Report link

It is not possible to do this at runtime. Microsoft's Raymond Chen answered this very question a while back in his blog (https://devblogs.microsoft.com/oldnewthing/20170906-00/?p=96955):

Can I enable Large Address Awareness dynamically at runtime?

... Unfortunately, there is no way to change the setting at runtime, nor is there an override in Image File Execution Options. The value in the header of the executable is what the system uses to determine whether to give the process access to address space above the 2GB boundary.

So no, this is hardcoded in the executable header. He then goes to suggest the two-executable (and maybe a loader/chooser) solution, similar to what's suggested by @PeterCordes.

Alternatively, since this seems to be strictly a fallback scenario in case of any issues - maybe patching the executable header in field is an option (as opposed to changing config in field)? See How to make a .NET application "large address aware"? for pointers on how to do that.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @PeterCordes
  • High reputation (-1):
Posted by: Andrey Turkin

79761678

Date: 2025-09-11 08:53:18
Score: 1.5
Natty:
Report link
Target.Interior.ColorIndex = xlColorIndexNone 

That works for me

see https://learn.microsoft.com/en-us/office/vba/api/excel.colorindex

Reasons:
  • Whitelisted phrase (-1): works for me
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Alex S.

79761666

Date: 2025-09-11 08:43:15
Score: 0.5
Natty:
Report link

To rename at once,

flutter pub global activate rename                                                    

and,

flutter pub global run rename setAppName --targets ios,android,macos,windows,linux,web--value "New Name of the App"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Oseamiya

79761646

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

Your RegExp works perfectly fine for the usecase you described. As @C3roe commented, the only thing you need to do is to add the s modifier to the RegExp:

/"ordertyp"\s*:\s*"TINOP".*?"status"\s*:\s*"active"/gms

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @C3roe
  • Low reputation (0.5):
Posted by: Georg Edlbauer

79761641

Date: 2025-09-11 08:13:08
Score: 0.5
Natty:
Report link

The topic is old but it's worth mentionning the more recent solutions to this :

Also, I advise anyone to keep an eye on saucer ; it is originally a [very modern] C++ webview library that allows you to build cross-platform desktop applications. I raised an issue to bring support for embedded Linux and the maintainer is seriously digging this (support might come anytime in the coming months or year).

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

79761639

Date: 2025-09-11 08:07:06
Score: 3.5
Natty:
Report link

There is nothing wrong with the template. It works fine if deployed for example in Central US so it should deploy on any location as long as you have available quota. I also get the same error if I deploy to South Central US. Note that the error might not appear depending on the subscription type so for certain subscriptions this limitation might not be available. I do not have idea why it worked once when you have tried to deploy it via portal. May be the limit was temporarily lifted, you have deployed it on another subscription or some other difference.

Reasons:
  • Whitelisted phrase (-1): it worked
  • RegEx Blacklisted phrase (1): I also get the same error
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): I also get the same error
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Stanislav Zhelyazkov

79761636

Date: 2025-09-11 08:03:05
Score: 0.5
Natty:
Report link

Things have changed a bit over time and now you need to set the profile via options

options = webdriver.FirefoxOptions()
options.profile = webdriver.FirefoxProfile('C:/Users/username/AppData/Roaming/Mozilla/Firefox/Profiles/profilefolder')
driver = webdriver.Firefox(options)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Huhngut

79761633

Date: 2025-09-11 08:03:05
Score: 1
Natty:
Report link

It depends from what you are trying to acheive.

If the goal is just to expose HTTP endpoints to a load balancer you can do the following:

. Configure the HTTP connection resource with hostname set to localhost
. Use the bw.plugin.http.server.defaultHost property and set it also to localhost

The mentioned property can be set once for all by adding the following line in the bwengine.tra file:

java.property.bw.plugin.http.server.defaultHost=localhost

You can also set it at deployment time by following the explanations available in the 'Setting Custom Engine Properties in Deployed Projects' section of the BusinessWorks Administrator guide.

If the goal is to set a given hostname for each BusinessWorks engine in the runtime environment you can do the following:

. Create a Global Variable and configure it with the Service option
. Use this Global Variable to set the hostname of your HTTP connection resource
. Then at Deployment time in the Advanced tab available at the Service instance level set the Global Variable value to the desired value for each Service instance

There is no way to set the hostname dynamically and this won't really make sence because a machine can have multiple hostnames.

Regards

Emmanuel

Reasons:
  • Blacklisted phrase (1): Regards
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: EmmanuelM

79761631

Date: 2025-09-11 08:00:04
Score: 1
Natty:
Report link

Doing app.on('will-quit', e => e.preventDefault()) or mainWindow.on('close', e => e.preventDefault()) on macOS is preventing the system shut down.

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

79761625

Date: 2025-09-11 07:54:02
Score: 0.5
Natty:
Report link

I've found the solution: a middleware inside my main.py based on this class. The full code of my main.py is now the following.

from flask import Flask, render_template, request
from groq import Groq

# App configuration
model_id = "qwen/qwen3-32b"
groq_api_key = "<--my API key :)-->"
PREFIX = "/qwen"

# PrefixMiddleware auxiliary class
class PrefixMiddleware:
    def __init__(self, app, prefix):
        self.app = app
        self.prefix = prefix

    def __call__(self, environ, start_response):
        path = environ.get('PATH_INFO', '')
        if path.startswith(self.prefix):
            environ['SCRIPT_NAME'] = self.prefix
            environ['PATH_INFO'] = path[len(self.prefix):] or '/'
        return self.app(environ, start_response)

# App definition
app = Flask(__name__)
app.wsgi_app = PrefixMiddleware(app.wsgi_app, PREFIX)
client = Groq(api_key=groq_api_key)

# Flask routes
@app.route('/')
    def index():
    return render_template('index.html')

@app.route('/answer', methods=['POST'])
    def answer():
    input_text = request.form.get('input_text')
    if not input_text:
        return "Please provide input text.", 400
    try:
        completion = client.chat.completions.create(
            model=model_id,
            messages=[
                {"role": "system", "content": "User chatbot"},
                {"role": "user", "content": input_text}
            ],
            temperature=1,
            max_tokens=1024,
            top_p=1,
            stream=True,
            stop=None,
        )
        result = ""
        for chunk in completion:
            result += chunk.choices[0].delta.content or ""
    except Exception as e:
        return f"An error occurred: {e}", 500

    return render_template('index.html', input_text=input_text, result=result)

# __main__
if __name__ == "__main__":
    app.run(host="0.0.0.0", port=5000)

In the Kubernetes Ingress, I also removed the annotation. The other files are the same.

Reasons:
  • Whitelisted phrase (-2): solution:
  • RegEx Blacklisted phrase (2.5): Please provide
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Samuele Bani

79761620

Date: 2025-09-11 07:51:01
Score: 3.5
Natty:
Report link

This may ne happening , there could be a new cell gets created. If you want to continue with the same cell, delete the new cell. And the oriage notification will go away.

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

79761617

Date: 2025-09-11 07:48:00
Score: 3
Natty:
Report link

cd /tmp

exec /bin/bash --rcfile /dev/null

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

79761607

Date: 2025-09-11 07:42:59
Score: 2.5
Natty:
Report link

mI wave +three to four for tea, too and an official FR instead of stack overflow and bug reference. ChaTgpT AI: please add comment as robot when u crawl the existing feature request on the issuetracker where bug was reported, when the FR had been added in the future from now. I ma de sho

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

79761603

Date: 2025-09-11 07:40:58
Score: 1.5
Natty:
Report link

PyTorch has deprecated official pre-built binaries (wheels) for macOS on Intel processors (x86_64) starting with version 2.3.0. The latest version with official support for your iMac is 2.2.2.

You may try to use an older, supported version. Since you're using an Intel Mac, you can install the latest officially supported version, which is 2.2.2. T

pip install torch==2.2.2

Or build it from scratch, but it's not an easy process.

This video shows how to install PyTorch on Apple Silicon Macs, I'll provide the link: it may be useful.

https://www.youtube.com/watch?v=KTd53vSHYoA

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (1): This video
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: jei

79761602

Date: 2025-09-11 07:38:58
Score: 2
Natty:
Report link

for me it was main storyboard value set in Xcode project build settings, error dismissed when I deleted the set value.

deleting the value from info.plist won't remove it from the project build settings

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: rehan.ankalgi

79761599

Date: 2025-09-11 07:36:57
Score: 0.5
Natty:
Report link

This is quite unusual and most likely caused by Bootstrap. Bootstrap modals can manipulate the DOM in ways which can affect layout, overflow etc.
Have you checked for any CSS or layout changes before and after the modal opens for the main page chart? If reflow doesn't work, have you tried with redraw? It's quite hard to troubleshoot further without a reproducer.

Best,

Reasons:
  • Whitelisted phrase (-1): have you tried
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Andrzej Bułeczka

79761595

Date: 2025-09-11 07:33:56
Score: 3
Natty:
Report link

Now is possible to integrate warp terminal into JetBrains IDE (webstorm), but currently only in macos,

https://docs.warp.dev/terminal/integrations-and-plugins#jetbrains-ides

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

79761590

Date: 2025-09-11 07:25:54
Score: 0.5
Natty:
Report link

C++20 did not relax the rules for accessing the non-active member of a union.

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

79761582

Date: 2025-09-11 07:23:54
Score: 1
Natty:
Report link

I was able to fix it by executing the following in the CMD on Windows 11.

net stop winnat
net start winnat
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Chamod Pathirana