79816560

Date: 2025-11-11 11:16:06
Score: 0.5
Natty:
Report link

I had the same issue and solved it by cloning the repository in a new empty folder, and then copying the .git folder created to the directory of my project. It worked perfectly.

Reasons:
  • Whitelisted phrase (-1): It worked
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Mario Vázquez

79816559

Date: 2025-11-11 11:08:05
Score: 3.5
Natty:
Report link

I've encountered this problem on Python 3.12

It just helped to switch back to 3.10

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Oleg Cherenkov

79816554

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

I am aware of that, but this is also not under my control and I have to process what is being served 🤷‍♂️

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

79816549

Date: 2025-11-11 11:00:03
Score: 2.5
Natty:
Report link

I would strongly suggest to use

df.to_csv("mydata.csv", index=False)

this would display your data in a excel sheet

where df here would be the name of the data frame

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

79816540

Date: 2025-11-11 10:54:01
Score: 1
Natty:
Report link

When integrating with third-party manufacturing APIs or services, rate limits restrict the number of requests you can make in a given period. To handle these effectively:

Understand the Limitations

Review the third-party API documentation to know the exact rate limits (e.g., requests per minute/hour).

Implement Caching

Store frequently requested data locally or in a cache (like Redis or Memcached) to reduce repetitive API calls.

Use Rate Limiting / Throttling Logic

Implement a queue or delay mechanism to space out requests and avoid hitting the limit (e.g., exponential backoff or token bucket algorithm).

Monitor API Usage

Track request counts and responses to identify when you’re approaching the limit.

Handle Errors Gracefully

If a rate limit error (e.g., HTTP 429) occurs, retry after the suggested “Retry-After” time rather than immediately resending the request.

Batch Requests When Possible

Combine multiple smaller requests into a single batch API call if supported.

Request Higher Limits

For production or high-demand use cases, contact the API provider for increased quotas or enterprise plans.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Starts with a question (0.5): When in
  • Low reputation (1):
Posted by: Orange Biotech

79816528

Date: 2025-11-11 10:42:58
Score: 0.5
Natty:
Report link

Still not entirely sure why it happened here, but this solved it:

externalApi
    .WithHttpsEndpoint()
    .WithExternalHttpEndpoints()
    .AddEnvironmentVariable("ASPNETCORE_URLS", "http://0.0.0.0:8080")
    .AddEnvironmentVariable("DOTNET_URLS", "http://0.0.0.0:8080")
    .AddEnvironmentVariable("ASPNETCORE_FORWARDEDHEADERS_ENABLED", "true");
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Alexander Vestergaard Eriksen

79816527

Date: 2025-11-11 10:42:58
Score: 3
Natty:
Report link

Flutter now has an optionsViewOpenDirection option: https://github.com/flutter/flutter/pull/129802

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

79816526

Date: 2025-11-11 10:41:58
Score: 1.5
Natty:
Report link

Yes, Vuforia has some limitations compared to ARCore and ARKit. While it supports a broader range of devices and platforms, it relies more on image-based tracking and offers less advanced environmental understanding. ARCore and ARKit provide superior plane detection, light estimation, motion tracking, and depth sensing due to their tight hardware integration with Android and iOS. Vuforia’s performance can vary across devices, and its 3D object recognition is generally less accurate and slower. Additionally, some advanced features in Vuforia require paid licences, whereas ARCore and ARKit offer powerful capabilities for free within their ecosystems.

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

79816519

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

For MacOS, open the AppInfo.xcconfig file by following the path macos/Runner/Configs/AppInfo.xcconfig and edit the product name section.

PRODUCT_NAME = your_app_name
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Emre Acar

79816515

Date: 2025-11-11 10:36:56
Score: 4
Natty:
Report link

sorry miss click, but i dont know how can i change it

Reasons:
  • Blacklisted phrase (0.5): how can i
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: fladon

79816512

Date: 2025-11-11 10:33:55
Score: 2.5
Natty:
Report link

maybe it is with your tier. for instance I am on Usage tier 1, where I think I can make request 500/m. Check your tier

then, if you want, you can add logics.

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

79816511

Date: 2025-11-11 10:33:55
Score: 1
Natty:
Report link

I am having trouble to understand how a tooling quesitons like this one fits in a "open-ended question" format. If you post this as proper question, it will be more thouroughly reviewed and critizised, but eventually you would receive an answer rather than a endless thread of comments that might lead nowhere.

Reasons:
  • RegEx Blacklisted phrase (2): I am having trouble
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: 463035818_is_not_an_ai

79816498

Date: 2025-11-11 10:19:52
Score: 2.5
Natty:
Report link

I am in the process of developing a python DataGridView that handles big datasets with easiness
Take a look if you want
pyDataGridView

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

79816495

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

Thanks @Jillian Hoenig for confirming this was resolved.

We have added an issue to our sprint to rewrite the Faust tutorial to use wp-env instead of wp-now - https://github.com/wpengine/faustjs/issues/2211

We feel this might be more reliable going forward for all systems. Additionally this is something we have used recently in our hwptoolkit examples.

I can let you know once this is implemented.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • User mentioned (1): @Jillian
  • Low reputation (0.5):
Posted by: Colin Murphy

79816486

Date: 2025-11-11 10:05:49
Score: 2.5
Natty:
Report link

The value isn’t rendered because the Float32Array isn’t reactive in Svelte when mutated. You must assign a new instance (or use $derived) so Svelte detects the change and updates the display.

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

79816485

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

I thought since Yocto Project is a tool for building, it should be posted here.

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

79816477

Date: 2025-11-11 09:47:46
Score: 3
Natty:
Report link

The build has been published in the production track of the Play Store, and real purchases seem to work as expected, so it seems that's a requirement for real purchases to work.

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

79816471

Date: 2025-11-11 09:42:44
Score: 3
Natty:
Report link

I need a personal information code that works in Python. My personal information is: My name is Hadi Amin, my major is Business Intelligence, I am 21 years old, and my university ID number is 202316697.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hadi Amen

79816468

Date: 2025-11-11 09:38:43
Score: 1.5
Natty:
Report link
<html>

<head>
    <title>400 Bad Request</title>
</head>

<body>
    <center>
        <h1>400 Bad Request</h1>
    </center>
</body>

</html>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Butani Nirva

79816458

Date: 2025-11-11 09:29:41
Score: 1
Natty:
Report link

Recently, I happened to discover a safe way to do this in any language, though I’ve only tested it on Windows 11 25H2.

1 | ChkDsk.exe [Drive] /F /R

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

79816457

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

Personally, my OSTS files are stored in a SharePoint document library. I synchronized the related folder with my local OneDrive. I created a JS file with my content, and then I have a Power Automate Flow that detects changes on the file with extension .js and that will automatically convert it into a .osts format.

enter image description here

The Convert step

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

79816455

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

gotcha, yeah i was already using memtester for memory test, might need to look into xsensors

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

79816452

Date: 2025-11-11 09:26:40
Score: 1.5
Natty:
Report link
today = datetime.datetime.now()
    future = today + datetime.timedelta(days=30)

you can add days with this model; first import the datetime Python package.

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

79816449

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

Start your career with 360DigiTMG’s Data Analyst Internship for Freshers. Learn SQL, Python, Excel, data visualization, and analytics while working on live projects and receiving expert mentorship. Placement support ensures practical skills for entry-level analytics roles.

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

79816441

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

I have the same issue, I have a dependency on an observable and I wanted to call toSignal in a way that it's not in a reactive context, so basically I wanted to have a withMethods with a private method returning the signalified observable to consume in the computed. There are some workaround but I think the methods defined in the withMethods should be available in the withComputed, there is plenty of other ways to do stupid things, this restriction is completely unnecessary.

So workaround 1:

withComputed(store => {
      const yourMethod = () => { };
      return {
        yourComputed: computed(() => store.yourState() * yourMethod()),
      };
    }),

This works fine, but the method is only reusable if you define it as a function outside of the signalStore.

Workaround 2:

withComputed((store, yourService = inject(YourService)) => ({
      yourComputed: computed(() => store.yourState() * yourService.yourMethod()),
    })),

By extracting your dependencies to a separate injectable you can reuse the methods and it looks a bit nicer also. In this case the YourService needs to be provided (I mean a mocked version) if you are using the createSignalStoreMock from ngx-signals-plus (this is also true for the first workaround if that contains injection).

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (1):
Posted by: dszendrei

79816439

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

If I am not mistaken, you can put @Startup on your manager to have it perform eager initialization at startup. Else your container will decide when to initialize it

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @Startup
  • Single line (0.5):
Posted by: pebble unit

79816433

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

Overall, I want to implement a graceful shutdown for proper process handling, at least to send what's already been processed and set statuses so it doesn't have to be reprocessed on subsequent restarts. Ideally, this shouldn't take more than 5 seconds. I'm also just wondering what the best way to do this is. Many people simply use asyncio.all_tasks and cancel them, but that's fine if you don't have other libraries and only work with the tasks you're currently running.

I work within K8s, so I don't think there will be any SIGKILLs (they usually give 30 seconds for a graceful shutdown) or power outages.

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

79816425

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

You need to be a developer of "Microsoft 365 and Copilot" apps. When adding yourself as developer or editing an existing developer (https://partner.microsoft.com/en-us/dashboard/account/v3/organization/identity?publisher=true&panelOpen=AddPublisher-SelectProgram) choose the program "Microsoft 365 and Copilot".

It may take some time until the Office tab (now it is "Microsoft 365 und Copilot") appears at the offers page (https://partner.microsoft.com/de-de/dashboard/marketplace-offers/overview).

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

79816422

Date: 2025-11-11 08:58:32
Score: 3
Natty:
Report link

I hope this can help you fix your issue, sir - https://mui.com/material-ui/integrations/tailwindcss/tailwindcss-v4/#next-js-app-router :)

Reasons:
  • Whitelisted phrase (-1): hope this can help
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: XxXtraCookie

79816408

Date: 2025-11-11 08:49:29
Score: 3.5
Natty:
Report link

BTW, don't choose the "Tooling" tab, if you want "normal" Stackoverflow Q and A where you can earn reputation. Stick with the default "Debugging"

Reasons:
  • Blacklisted phrase (1): Stackoverflow
  • RegEx Blacklisted phrase (1.5): reputation
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Mo_

79816406

Date: 2025-11-11 08:48:29
Score: 4.5
Natty:
Report link

That's perfect. Thank you very much for your support. The tests show that it works.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Karl-Heinz

79816394

Date: 2025-11-11 08:36:26
Score: 0.5
Natty:
Report link

Assuming this is Web app on Windows plan you should set netFrameworkVersion to value v8.0 and metadata to [{ "name": "CURRENT_STACK", "value": "dotnet"}]. I do not think windowsFxVersion is used in that case and it should be empty string. Note that you mention web app but your code says function app so it is unclear which is it. If it is for function app the same value is for netFrameworkVersion but metadata property is not needed for functions.

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

79816391

Date: 2025-11-11 08:33:25
Score: 6.5 🚩
Natty: 5.5
Report link

i need help with c programming....Is anyone here

Reasons:
  • Blacklisted phrase (0.5): i need
  • Blacklisted phrase (2.5): i need help
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: aditi jyoti

79816390

Date: 2025-11-11 08:33:24
Score: 4.5
Natty:
Report link

ok, this suggestion removed the StackOverFlowError exception.

Reasons:
  • Blacklisted phrase (1): StackOverFlow
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: numberfourteen

79816386

Date: 2025-11-11 08:30:24
Score: 1.5
Natty:
Report link

First of all inspect stack's _Change sets_. There might be one waiting to be executed.

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

79816384

Date: 2025-11-11 08:28:23
Score: 1.5
Natty:
Report link

You can try with LaunchedEffect in your LazyColumn.

And use snapTo , resetState animates again.

LaunchedEffect(item.id) {
    dismissState.snapTo(SwipeToDismissBoxValue.Settled)
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tigran Parsadanyan

79816380

Date: 2025-11-11 08:26:22
Score: 4
Natty: 4.5
Report link

Thank you Barmar! This one is precious.

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

79816379

Date: 2025-11-11 08:25:21
Score: 5
Natty:
Report link

And there is no need to 'create/instantiate' the SomeManager in the constructor of the bean class?

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

79816375

Date: 2025-11-11 08:22:21
Score: 1.5
Natty:
Report link

It doesnt look like a DI issue but more of a code design issue. StartupBean produces your two MyImplementations, but it also needs to inject a SomeManager during construction, but this manager needs the two MyImplementations... I m guessing the init is not complete and there is some sort of circular dependency? I would just delete the StartupBean constructor since nothing happens there

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
Posted by: pebble unit

79816373

Date: 2025-11-11 08:20:20
Score: 4
Natty:
Report link

Yes, absolutely, but the package deming with the function deming() does not use least squares it uses maximum likelihood estimation to find the best fit of coefficients. Therefore, I am trying to find a package which uses least squares and with the option of getting the regression through the origin.

Reasons:
  • Blacklisted phrase (1): I am trying to
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user25269951

79816366

Date: 2025-11-11 08:10:18
Score: 0.5
Natty:
Report link

Why at all do you use demjson3 ? Python and javascript have builtin JSON support.

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Why
  • High reputation (-2):
Posted by: Maurice Meyer

79816358

Date: 2025-11-11 07:59:16
Score: 1
Natty:
Report link

You can resolve this issue by converting the tbl_hierarchical object to a standard gtsummary table using as_gt() or as_tibble() before merging. The “Zero rows” output causes incompatibility during stacking, so ensure each table has consistent structure (e.g., same columns) or use tbl_merge() after standardizing formats.

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

79816354

Date: 2025-11-11 07:50:14
Score: 3
Natty:
Report link

{"isLoggedIn":true,"uuidToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1dWlkIjoiY2Q3ODU4NWYzYmU3NDU1MDk0NzhmZjNmZWExMmQ3ZGEiLCJleHAiOjE3NjU0Mzg1NTJ9.oQ7DQZZVfHQ0bt-LNeiw7onBPFkGZqWW43p_e26UslU"}

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

79816338

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

Add 'preferCurrentTab: true' to the method. You can ignore the type error, since it seems to be a typing problem. This param is indeed correct!

navigator.mediaDevices
    .getDisplayMedia({
      video: true,
      preferCurrentTab: true,
    })
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Patryk Stemporowski

79816334

Date: 2025-11-11 07:24:08
Score: 3
Natty:
Report link

Pick a suitable way to style your polygon:

https://github.com/lclpedro/leaflet.pm?tab=readme-ov-file#customize-style

Then read the state from your color atom and use it.

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

79816324

Date: 2025-11-11 07:11:06
Score: 2
Natty:
Report link

The 400 error happens because the Agent Builder sends an incomplete message payload when the thread exceeds limits.
Keep conversations shorter or restart sessions to avoid truncating reasoning items.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Prateek Mani Tripathi

79816318

Date: 2025-11-11 07:05:04
Score: 8
Natty:
Report link

Thank you very much. I understand now, and it makes sense. Could you post that as an answer?

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • RegEx Blacklisted phrase (2.5): Could you post
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: pietro

79816316

Date: 2025-11-11 07:01:03
Score: 3
Natty:
Report link
  1. You cannot make the type checker infer the return type from a runtime argument like rtype: type[T]. The type checker sees that both str and int are possible return types and cant guarantee which will be returned at call sites.

    1. Why? TypeVar substitution only works when the type is known at type-check time, usually from the argument type, not its value.

    2. How can it be done? Overloads

from typing import overload

VALUES: dict[str, str] = {"SIZE": "100", "ADDR": "0x100", "NAME": "potato"}

@overload
def get_parameter(parameter: str, rtype: type[int]) -> int: ...
@overload
def get_parameter(parameter: str, rtype: type[str]) -> str: ...

def get_parameter(parameter: str, rtype: type[str] | type[int] = str) -> str | int:
    value = VALUES[parameter]
    if rtype is int:
        return int(value, 0)
    return value

2. Yes, the overload works in Python 3.10 as long as youre using from typing import overload

3. Yes, the example above shows defaulting rtype to str, but you can default to int if you prefer:

def get_parameter(parameter: str, rtype: type[str] | type[int] = int) -> str | int:
    # implementation...

However, the type checker will assume calls without rtype return int. You should add corresponding overload for that:

@overload
def get_parameter(parameter: str) -> int: ...

IDK if this helps you but I hope so - If it does not help you just downvote my answer or I can delete it if you want me to.

Have a great day.

PS: i dont know either why the downvotes xD

Reasons:
  • Blacklisted phrase (0.5): How can i
  • Blacklisted phrase (0.5): Why?
  • RegEx Blacklisted phrase (2): downvote
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: ChichiKugel

79816309

Date: 2025-11-11 06:51:01
Score: 1
Natty:
Report link

I use something like this in a @Configuration annotated class

    @ConfigurationProperties(prefix = "some.prefix")
    @ConditionalOnProperty(prefix = "enabled")
    MyConfigProperties myConfigProperties() {
        return new MyConfigProperties();
    }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Martijn Stalenhoef

79816307

Date: 2025-11-11 06:51:01
Score: 0.5
Natty:
Report link
  1. Check your active plugins, especially:

    • Jetpack (or Site Stats)

    • Any optimization plugin (e.g., Autoptimize, WP Rocket, LiteSpeed Cache, etc.)

    • Any custom performance or HTML minifier plugin

  2. Temporarily disable optimization/minification and clear your cache.
    Then reload your site and check the browser console/network tab:

    • If the malformed URLs disappear → the issue is from a minifier plugin.

    • If they remain → the issue is likely from Jetpack or theme code.

  3. Check your theme footer (often in footer.php or similar):

    • Search for stats.wp.com or <script src="https://stats.wp.com

    • If you find a script tag with ' defer='defer in it, remove the extra ' after .js

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Katronix

79816303

Date: 2025-11-11 06:39:59
Score: 2
Natty:
Report link

web apps can download files, but they cannot automatically save them inside system folders like %AppData%

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

79816298

Date: 2025-11-11 06:34:58
Score: 1
Natty:
Report link

Prepare the PKG for Proper Installation (Key Step from Official Docs):

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

79816296

Date: 2025-11-11 06:33:57
Score: 2.5
Natty:
Report link

In my case, there was a existing rebase was in process which I didn't completed. I aborted that after that this issue resolved.

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

79816276

Date: 2025-11-11 06:00:50
Score: 0.5
Natty:
Report link

You can try to wrap your safeAreaView in a View give full backgroundColor to the view so it extends.
OR
You could try using -
const insets = useSafeAreaInsets()
and then apply the insets inside your LinearGradient like this -
paddingTop: insets.top
paddingBottom: insets.bottom

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

79816275

Date: 2025-11-11 05:59:50
Score: 0.5
Natty:
Report link
"assumeChangesOnlyAffectDirectDependencies": true,

added in tsconfig.node.json and it worked

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Yousif AL Badri

79816274

Date: 2025-11-11 05:59:50
Score: 1
Natty:
Report link
add this <meta-data> tag inside the <application> tag in your AndroidManifest.xml 
 <meta-data
        android:name="io.flutter.embedding.android.EnableImpeller"
        android:value="false" />
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Bibin Baby Avira

79816268

Date: 2025-11-11 05:52:48
Score: 0.5
Natty:
Report link

You may want to plug in your questions into your favorite browser and see what comes up.

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

79816260

Date: 2025-11-11 05:42:45
Score: 0.5
Natty:
Report link

I don't think it is possible to use dataclasses.

Lists do work

list_temp = [1, 2, 4, 8, 16, 32]
list_press = [1, 3, 9, 27, 81, 243]


sns.lineplot(data={'Temperature': list_temp, 'Pressure': list_press})

You can also nest the lists ...

hourly_reading = [list_temp, list_press]
sns.lineplot(data=hourly_reading)

... however you lose the series names. In the legend they will appear as generic index numbers (0, 1, 2 ...)

Dictionaries work quite well

met_dict = {"Temperatures": list_temp, "Pressures": list_press}
sns.lineplot(met_dict)
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: timelessbeing

79816258

Date: 2025-11-11 05:36:44
Score: 1.5
Natty:
Report link

You can set workbook.default_format_properties in 2 ways:

  1. When you create workbook, set the 'options' parameter:

    wb = Workbook(options={'default_format_properties': {'font_name': ...., 'font_size': ....}})

  2. After workbook created, before add_format(), set the 'default_format_properties' property:

    wb.default_format_properties = {'font_name': ...., 'font_size': ....}

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

79816251

Date: 2025-11-11 05:15:39
Score: 1
Natty:
Report link

enter image description here

I created the design without external packages by extracting and customizing the necessary shape from the convex_bottom_bar package for my bottom navbar.

Full Code:

import 'dart:math' as math;

import 'package:flutter/material.dart';

class ConvexNotchedRectangle extends NotchedShape {
  /// The corner radius of the top-left and top-right edges of the bar.
  final double radius;

  /// Create a convex notched rectangle with optional rounded top corners.
  const ConvexNotchedRectangle({this.radius = 0});

  @override
  Path getOuterPath(Rect host, Rect? guest) {
    if (guest == null || !host.overlaps(guest)) {
      // If there’s no overlap or no guest (FAB), just draw a normal rectangle.
      return Path()..addRect(host);
    }

    // The guest (FAB) is circular, bounded by the guest rectangle.
    final notchRadius = guest.width / 2.0;

    // These control the smoothness of the convex curve.
    const s1 = 18.0;
    const s2 = 2.0;

    final r = notchRadius;
    final a = -1.0 * r - s2;
    final b = host.top - guest.center.dy;

    // Compute control points using Bezier curve math
    final n2 = math.sqrt(b * b * r * r * (a * a + b * b - r * r));
    final p2xA = ((a * r * r) - n2) / (a * a + b * b);
    final p2xB = ((a * r * r) + n2) / (a * a + b * b);
    final p2yA = -math.sqrt(r * r - p2xA * p2xA);
    final p2yB = -math.sqrt(r * r - p2xB * p2xB);

    final p = List<Offset>.filled(6, Offset.zero, growable: false);

    // p0, p1, and p2 are control points for the left side curve
    p[0] = Offset(a - s1, b);
    p[1] = Offset(a, b);
    final cmp = b < 0 ? -1.0 : 1.0;
    p[2] = cmp * p2yA > cmp * p2yB ? Offset(p2xA, p2yA) : Offset(p2xB, p2yB);

    // p3, p4, and p5 are mirrored on the x-axis for the right curve
    p[3] = Offset(-1.0 * p[2].dx, p[2].dy);
    p[4] = Offset(-1.0 * p[1].dx, p[1].dy);
    p[5] = Offset(-1.0 * p[0].dx, p[0].dy);

    // Translate all control points to the FAB’s center position
    for (var i = 0; i < p.length; i++) {
      p[i] = p[i] + guest.center;
    }

    // Build the final path with optional corner radius
    return radius > 0
        ? (Path()
            ..moveTo(host.left, host.top + radius)
            ..arcToPoint(
              Offset(host.left + radius, host.top),
              radius: Radius.circular(radius),
            )
            ..lineTo(p[0].dx, p[0].dy)
            ..quadraticBezierTo(p[1].dx, p[1].dy, p[2].dx, p[2].dy)
            ..arcToPoint(
              p[3],
              radius: Radius.circular(notchRadius),
              clockwise: true,
            )
            ..quadraticBezierTo(p[4].dx, p[4].dy, p[5].dx, p[5].dy)
            ..lineTo(host.right - radius, host.top)
            ..arcToPoint(
              Offset(host.right, host.top + radius),
              radius: Radius.circular(radius),
            )
            ..lineTo(host.right, host.bottom)
            ..lineTo(host.left, host.bottom)
            ..close())
        : (Path()
            ..moveTo(host.left, host.top)
            ..lineTo(p[0].dx, p[0].dy)
            ..quadraticBezierTo(p[1].dx, p[1].dy, p[2].dx, p[2].dy)
            ..arcToPoint(
              p[3],
              radius: Radius.circular(notchRadius),
              clockwise: true,
            )
            ..quadraticBezierTo(p[4].dx, p[4].dy, p[5].dx, p[5].dy)
            ..lineTo(host.right, host.top)
            ..lineTo(host.right, host.bottom)
            ..lineTo(host.left, host.bottom)
            ..close());
  }
}

 BottomAppBar(
          padding: EdgeInsets.zero,
          color: Colors.white,
          shape: const ConvexNotchedRectangle(),
          notchMargin: 8,
          elevation: 0,
          clipBehavior: Clip.antiAlias,
          child: SizedBox(
            height: 88,
            child: Row(
              mainAxisAlignment: MainAxisAlignment.spaceAround,
              children: [
                _buildNavItem(0),
                _buildNavItem(1),
                _buildNavItem(2),
                _buildNavItem(3),
                _buildNavItem(4),
              ],
            ),
          ),
        ),
Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Raju Islam

79816231

Date: 2025-11-11 04:28:29
Score: 2.5
Natty:
Report link

I was finally able to get it to work by encoding the String to : Base64.NO_WRAP

This was accepted in the Retrofit Header

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

79816205

Date: 2025-11-11 03:02:10
Score: 7 🚩
Natty: 4
Report link

really related? why do you have .gitignore file in strapi directory? because i have the same issue and do not have .gitignore file in the server.

Reasons:
  • Blacklisted phrase (1): i have the same issue
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): i have the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: TGC

79816203

Date: 2025-11-11 03:00:09
Score: 2.5
Natty:
Report link

You can add your specific feature file path in the cucumber.json file that you created after installation then run the command

It will works

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

79816197

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

Off topic here. Try superuser. This site is for programming questions.

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

79816189

Date: 2025-11-11 02:31:02
Score: 0.5
Natty:
Report link

I have a similar task and solve it as pointed in Ahmet Emrebas's post. The div, I want to have all time content scrolled down, needs to be included in other dummy/container div. I call divbot.scrollIntoView({ behavior: "smooth", block: "end" }) after adding a new content in the divbot. CSS may look like:

.container-div {
    opacity:0.9;
    background-color:#ddd;
    position:fixed;
    width:100%;
    height:100%;
    top:0px;
    left:0px;
    overflow:auto;
    z-index:998;
}

.container-div > div {
    padding: 1em;
    color: #0e131f;
    font-family: monospace; 
}

CSS needs to be edited to reflect actual div size and other attributes as desired.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Don Cesar D'Bazar

79816181

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

when adding

    $U/_sleep\
    $U/_pingpong\
    $U/_primes\
    $U/_find\
    $U/_xargs\

make sure the number of spaces before $the same as lines above, and do not use tab, which will make mistake in makefile.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): when addin
  • Low reputation (1):
Posted by: Amemiya

79816178

Date: 2025-11-11 02:12:58
Score: 2.5
Natty:
Report link

# Source - https://stackoverflow.com/q

# Posted by troy_achilies

# Retrieved 2025-11-10, License - CC BY-SA 3.0

from docx import Document

from docx.shared import RGBColor

document = Document()

run = document.add_paragraph('some text').add_run()

font = run.font

font.color.rgb = RGBColor(0x42, 0x24, 0xE9)

p=document.add_paragraph('aaa')

document.save('demo1.docx')

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • No code block (0.5):
  • Low reputation (1):
Posted by: Claudia Garzón

79816175

Date: 2025-11-11 02:11:58
Score: 0.5
Natty:
Report link

If you're ok with showing the link itself showing as the link text, this is simplest:

df.style.format(hyperlinks="html")

Documentation:

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

79816170

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

Here is my latest discovering. Through debugging, I found that the code is reentered, and all entries are via the main thread. This might be related to the content of my code. I obtained the ServletContext through ApplicationContext, then retrieved all filters in the servlet container, and subsequently obtained all HandlerInterceptors via reflection.

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

79816151

Date: 2025-11-11 00:58:42
Score: 0.5
Natty:
Report link

I know it may be late. I tried all of them, and none worked. I had my app available only in my country, but I changed that and selected all countries. Then I tried the price schedule solution, and it worked for me

Reasons:
  • Whitelisted phrase (-1): it worked
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: troudi abderrahim

79816145

Date: 2025-11-11 00:49:40
Score: 1
Natty:
Report link

That looks like a live activity

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

79816132

Date: 2025-11-10 23:49:28
Score: 1
Natty:
Report link

After more hours than I care to admit:

Even though it's completely irrelevant to my setup, apparently registration.url on the target needs to be identical to sync.url on source for push registration to work. Since source is firewalled it doesn't even have a URL, so I just made something up that ends in /sync/<source engine name>.

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

79816118

Date: 2025-11-10 23:15:20
Score: 2
Natty:
Report link

I hope I am not to late to comment on this. Gprbuild is far superior to gnatmake. I've built windows programs with Ada libaries built with gnatmake. The process with gprbuild hides so much of the complexity. And it can build C++ code too while gnatmake is Ada only.

To my taste, your solution relies too heavily on libraries. The Ada source already contains most of the depedency information. Have shared.gpr list the shared source directories. Let exes_comp-x.gpr with "shared"; and add its own source directories and list all the executables in the Main list.

And without the DLLs programs should load faster and have fewer security holes!

Reasons:
  • Blacklisted phrase (1): to comment
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Chris M Moore

79816115

Date: 2025-11-10 23:06:18
Score: 5
Natty: 5.5
Report link

Lightsail bucket now support CORS configuration, please refer to: https://docs.aws.amazon.com/en_us/lightsail/latest/userguide/configure-cors.html

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

79816112

Date: 2025-11-10 22:52:15
Score: 2
Natty:
Report link

You're more likely to get help if your question included representative sample data, see How to make a great R reproducible example , [mcve], and https://stackoverflow.com/tags/r/info.

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

79816109

Date: 2025-11-10 22:45:13
Score: 0.5
Natty:
Report link

Dragging up an old question, but in my case the exception page I got when trying to load one of our ASP.NET Web Forms sites wasn't telling me WHAT it couldn't load, just that there was an exception.

The Event Viewer didn't provide any better details than "csc.exe" and "System.IO.FileLoadException".

After enabling Fusion logging (assembly binding), I was able to track down that csc.exe was failing to load bin\roslyn\System.Runtime.CompilerServices.Unsafe.dll because of a version mismatch. Turns out csc.exe.Config was missing so a bindingRedirect (0.0.0.0-5.0.0.0 -> 5.0.0.0) wasn't happening.

Since this was the top result for "iis .net runtime csc.exe System.IO.FileLoadException" on Google, maybe this will save somebody else a few hours of head scratching.

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

79816108

Date: 2025-11-10 22:45:13
Score: 3
Natty:
Report link

You're not showing how or where you're doing the sorting. Are you sorting in the view or are you using a SortDescriptor in the Query, or else?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Andrei G.

79816103

Date: 2025-11-10 22:35:11
Score: 3.5
Natty:
Report link

Also, to motivate the discussion, imagine the following syntaxic sugar application: getitem transforms a[key1:val1, key2:val2,... ] into an ordered dict

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

79816101

Date: 2025-11-10 22:32:10
Score: 2.5
Natty:
Report link

Aparrently OpenJDK 8 Temurin using Alpine (8-jdk-alpine) currently has an issue with missing ECDHE Ciphers (see https://github.com/adoptium/temurin-build/issues/3002). This probably leads to the issue with the failed handshake.

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

79816100

Date: 2025-11-10 22:31:10
Score: 2.5
Natty:
Report link

Thanks, I rephrased "returns" to "received". I meant the argument received.

In your class B above, you are implicitly assuming that individual indices cannot be tuple:

I am comparing to function, foo(**args) vs. foo[**args], because they are mathematically equivalent (indexing is a function from index space), and share a similar "argument (un)packing" functional feature (and because in the end both are written as methods)

I understand that 1-length tuples have been identified with their scalar value (its single entry), but I find it weird and can't understand why

So I see what you lose and don't guess what you gain.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I cannot
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: nath

79816099

Date: 2025-11-10 22:27:09
Score: 3
Natty:
Report link

const fs = require('fs'); const path = require('path'); const { v4: uuidv4 } = require('uuid'); const mime = require('mime-types'); const yargs = require('yargs/yargs'); const { hideBin } = require('yargs/helpers'); // --- Configuration & Defaults --- // Default values used if not provided via command line arguments or parsed from the HTML. const DEFAULT_HTML_FILE = 'artillery_report.html'; const DEFAULT_APP_NAME = 'Default Application'; const DEFAULT_RUN_ID = `RunID_${Date.now()}`; const outputDir = './allure-results'; // Standard directory for Allure-compatible JSON files. // --- Parse Command-Line Arguments --- // Uses yargs to define and parse CLI arguments for file path, app name, and run ID. const argv = yargs(hideBin(process.argv)) .option('html', { alias: 'f', type: 'string', description: 'Path to the input HTML report file', default: DEFAULT_HTML_FILE }) .option('appName', { alias: 'a', type: 'string', description: 'Override Application Name (Parent Suite)' }) .option('runId', { alias: 'r', type: 'string', description: 'Override Run ID (Suite Name)' }) .help() .argv; // --- Core Logic: Allure Metadata --- /** * Writes the executor.json file to provide a meaningful report title in the Allure header. * This fixes the "unknown" display on the Allure Overview page by providing build info. * @param {string} outputDir - The directory to save the JSON file. * @param {string} appName - The name of the application. * @param {string} runId - The unique ID for the test run. */ function writeExecutorInfo(outputDir, appName, runId) { const executorPath = path.join(outputDir, 'executor.json'); const executorData = { "name": "Artillery to Allure Converter", "type": "performance-tool", "url": "https://artillery.io/", "buildName": `${appName} (${runId})`, // Name displayed in the Allure header "reportName": `Performance Test Report: ${appName}`, "reportUrl": "" }; // Writes the executor JSON file to the allure-results directory. fs.writeFileSync(executorPath, JSON.stringify(executorData, null, 2), 'utf8'); } // --- Core Logic: HTML Parsing & Utilities --- /** * Converts human-readable duration string (e.g., "1h 1m 30s") to milliseconds. * This is used to calculate the start and stop times for the overall summary test case. * @param {string} durationStr - The duration string from the HTML report. * @returns {number} Total duration in milliseconds. */ function parseDurationToMs(durationStr) { if (!durationStr) return 0; let totalMs = 0; // Regex matches hours (e.g., 1h), minutes (e.g., 1m), seconds (e.g., 30s) const parts = durationStr.match(/(\d+)([hms])/g); if (parts) { parts.forEach(part => { const num = parseInt(part.slice(0, -1), 10); const unit = part.slice(-1); if (unit === 'h') { totalMs += num * 3600 * 1000; } else if (unit === 'm') { totalMs += num * 60 * 1000; } else if (unit === 's') { totalMs += num * 1000; } }); } return totalMs; } /** * Parses the HTML for AppName, RunID, and initial header metrics using specific HTML structure regex. * It prioritizes CLI arguments over values found in the HTML. * @param {string} htmlContent - The full content of the HTML report. * @param {object} args - The command line arguments. * @returns {object} Contains the final appName, runId, and all collected header metrics. */ function parseHeaderInfo(htmlContent, args) { let appName = args.appName || DEFAULT_APP_NAME; let runId = args.runId || DEFAULT_RUN_ID; // Regex to find all key-value pairs in the initial header card (e.g., <strong>Key:</strong><div>Value</div>) const headerMetricRegex = /<strong>([^<]+):<\/strong><div>([^<]+)<\/div>/g; const headerData = {}; let match; while ((match = headerMetricRegex.exec(htmlContent)) !== null) { const key = match[1].trim(); const value = match[2].trim(); headerData[key] = value; } // Assign parsed values, prioritizing CLI args appName = args.appName || headerData['App Name'] || DEFAULT_APP_NAME; // Use the Start time to generate a unique run ID if not provided, ensuring it's safe for file names. const startTime = headerData['Start'] || 'Unknown_Start_Time'; runId = args.runId || `TestRun_${startTime.replace(/[^a-zA-Z0-9]/g, '_')}`; // Return all collected header data along with appName and runId return { appName, runId, headerData }; } /** * Programmatically extracts and formats Overall Test Metrics into a concise, multi-column HTML table. * This HTML table will be used as the description for the "Overall Performance Summary" Allure test case. * @param {string} htmlContent - The full content of the HTML report. * @param {string} runId - The run ID. * @param {string} appName - The application name. * @param {object} headerData - The metrics parsed from the header. * @returns {string} The HTML string for the professional metrics table. */ function formatOverallMetrics(htmlContent, runId, appName, headerData) { // 1. Initialize data with header information const data = { 'Application Name': appName, 'Test Run ID': runId, }; // Merge essential header data Object.assign(data, headerData); // 2. Extract key-value pairs from the Single-Digit Metrics card // This regex attempts to isolate the section containing the main single-digit metrics. const metricCardRegex = /<h5 class='mb-3'>📊 Overall Single-Digit Metrics[\s\S]*?(<h5 class='mb-3'>📋 Transaction Summary Table)/s; const metricCardMatch = htmlContent.match(metricCardRegex); const metricCardHtml = metricCardMatch ? metricCardMatch[0].replace(metricCardMatch[1], '').trim() : ''; // Extract individual metrics using class names const singleMetricRegex = /<div class='key-metric-label'>([^<]+)<\/div>\s*<div class='key-metric-value'>([^<]+)<\/div>/g; let match; while ((match = singleMetricRegex.exec(htmlContent)) !== null) { const key = match[1].trim(); let value = match[2].trim(); // Clean up key names for better display and consistency const cleanedKey = key .replace(/Overall Avg RT \(Weighted Mean\)/, 'Overall Avg RT (P50)') .replace(/Avg RPS \(Throughput\)/, 'Avg RPS') .replace(/ \(Worst Case\)/g, ''); // Handle "Total Requests" vs "Total Transactions" for consistency if (cleanedKey === 'Total Requests') { value = data['Total Transactions'] || value; } data[cleanedKey] = value; } // 3. Define the concise grouping and display order for the final HTML table const groups = [ { title: 'General Information & Scope', keys: ['Application Name', 'Test Run ID', 'Start', 'End', 'Duration', 'Total Requests'], }, { title: 'Overall Response Time (ms)', keys: ['Overall Avg RT (P50)', 'Overall P90 RT', 'Overall P95 RT', 'Max RT (Test Max)'], }, { title: 'Throughput & Success Response Time (ms)', keys: ['Avg RPS', 'Max RPS (Peak Rate)', '2xx Avg RT (P50)', '2xx P95 RT'], } ]; // 4. Generate Professional Multi-Column HTML Table (2 metrics side-by-side per row) // The styles are inline to ensure they render correctly within the Allure report description. const keyStyle = `font-weight: 500; color: #555; width: 25%; padding: 6px 10px; border-right: 1px solid #eee;`; const valueStyle = `font-weight: 700; width: 25%; padding: 6px 10px;`; const headerStyle = `background-color: #eef2f5; font-weight: 700; padding: 8px 10px; border-bottom: 2px solid #ddd;`; let html = ` <h3 style="margin-top: 20px;">Overall Performance Metrics</h3> <table style="width:100%; border-collapse: collapse; font-size: 14px; text-align: left; border: 1px solid #ddd; border-radius: 8px; overflow: hidden;"> <tbody> `; groups.forEach(group => { // Group Title Row html += ` <tr style="border-top: 1px solid #ddd;"> <td colspan="4" style="${headerStyle}">${group.title}</td> </tr> `; const validKeys = group.keys.filter(key => data[key] !== undefined); const totalItems = validKeys.length; // Loop through keys, putting two key/value pairs in each row for (let i = 0; i < totalItems; i += 2) { const key1 = validKeys[i]; const key2 = validKeys[i + 1]; html += `<tr>`; // Metric 1 (Key | Value) html += `<td style="${keyStyle}">${key1}</td>`; html += `<td style="${valueStyle}">${data[key1]}</td>`; // Metric 2 (Key | Value) - only if it exists if (key2) { html += `<td style="${keyStyle}">${key2}</td>`; html += `<td style="${valueStyle}">${data[key2]}</td>`; } else { // Fill remaining space if the last row has only one item html += `<td colspan="2" style="border: none;"></td>`; } html += `</tr>`; } }); html += `</tbody></table>`; return html; } /** * Parses the Transaction Summary Table from the HTML content. * It extracts key metrics and determines the Allure status (passed, failed, broken) * for each transaction based on P95 SLA check, TPH check, and error count. * @param {string} htmlContent - The full content of the HTML report. * @returns {Array<object>} An array of transaction metric objects. */ function parseTransactionSummary(htmlContent) { const metrics = []; // 1. Locate and Extract Transaction Summary Table Body using regex const tableRegex = /<table[^>]*>[\s\S]*?<thead>[\s\S]*?<\/thead>[\s\S]*?<tbody>([\s\S]*?)<\/tbody>[\s\S]*?<\/table>/; const tableMatch = htmlContent.match(tableRegex); if (!tableMatch || !tableMatch[1]) { return metrics; } const tableBodyHtml = tableMatch[1]; // Split into rows and then parse cells in each row const rows = tableBodyHtml.trim().split('</tr>').filter(row => row.includes('<td')).map(row => row.trim()); const cellRegex = /<td[^>]*>(.*?)<\/td>/g; rows.forEach(row => { const cells = []; let match; // Extract all cell contents while ((match = cellRegex.exec(row)) !== null) { cells.push(match[1].trim()); } // Ensure we have 13 columns for the transaction metrics (indices 0 to 12) if (cells.length >= 13) { const trxName = cells[0]; const slaStatus = cells[12]; const slaP95 = parseFloat(cells[1]); const p95Actual = parseFloat(cells[6]); const expectedTph = parseInt(cells[8]); // Expected_TPH is at index 8 const totalCount = parseInt(cells[9]); // Total Count is at index 9 const failCount = parseInt(cells[11]); let status = 'passed'; let statusDetails = ''; let failedChecks = []; // Array to store all reasons for failure/broken status // --- SLA Check 1: P95 Response Time --- if (slaStatus.toLowerCase().includes('not met')) { // P95 SLA Breach = FAILED status = 'failed'; failedChecks.push(`P95 RT (${p95Actual.toFixed(1)}ms) EXCEEDED SLA (${slaP95.toFixed(1)}ms)`); } // --- SLA Check 2: Throughput (Expected TPH vs. Actual Count) --- // If Expected_TPH is set (> 0) and the Actual Count is lower than expected, it's a failure. if (expectedTph > 0 && totalCount < expectedTph) { // Throughput SLA Breach = FAILED status = 'failed'; // Elevate status to failed failedChecks.push(`Throughput NOT MET! Actual Count (${totalCount}) < Expected TPH (${expectedTph})`); } // --- Error Check: Transactions that failed for other reasons --- if (failCount > 0 && status !== 'failed') { // Errors present, but SLAs met = BROKEN (Warning status) // 'Broken' is used for an issue that isn't a direct test failure (like an exception/error) // This is only set if the status isn't already 'failed' from an SLA breach. status = 'broken'; failedChecks.push(`WARNING! ${failCount} errors reported.`); } if (failedChecks.length > 0) { // Combine all failure/warning reasons into the final status message statusDetails = `${trxName}: FAILED/BROKEN due to: ${failedChecks.join('; ')}`; } else { statusDetails = `${trxName}: Passed All Checks.`; } metrics.push({ trxName: trxName, slaP95: slaP95.toFixed(1), p50: parseFloat(cells[2]).toFixed(1), min: parseFloat(cells[3]).toFixed(1), max: parseFloat(cells[4]).toFixed(1), p90: parseFloat(cells[5]).toFixed(1), p95: p95Actual.toFixed(1), expectedTph: expectedTph, // New TPH metric totalCount: totalCount, // Total transactions processed passCount: parseInt(cells[10]), failCount: failCount, slaStatusText: slaStatus, status: status, // Final status based on all checks statusDetails: statusDetails }); } }); return metrics; } /** * Generates the Allure Transaction Summary Table HTML with SLA Status at the end. * This table will be part of the "Overall Performance Summary" description in Allure. * @param {Array<object>} finalMetrics - The array of parsed transaction metric objects. * @returns {string} The HTML string for the transaction summary table. */ function generateSummaryTableHtml(finalMetrics) { let html = ` <h3 style="margin-top: 20px;">Transaction Summary Table</h3> <table style="width:100%; border-collapse: collapse; font-size: 14px; text-align: center;"> <thead style="background-color:#f2f2f2;"> <tr> <th style="border: 1px solid #ddd; padding: 8px; text-align: left;">TrxName</th> <th style="border: 1px solid #ddd; padding: 8px;">P50 RT (ms)</th> <th style="border: 1px solid #ddd; padding: 8px;">Min RT (ms)</th> <th style="border: 1px solid #ddd; padding: 8px;">Max RT (ms)</th> <th style="border: 1px solid #ddd; padding: 8px;">P90 RT (ms)</th> <th style="border: 1px solid #ddd; padding: 8px;">P95 (ms)</th> <th style="border: 1px solid #ddd; padding: 8px;">SLA (P95 ms)</th> <th style="border: 1px solid #ddd; padding: 8px;">Expected TPH</th> <th style="border: 1px solid #ddd; padding: 8px;">Total Trx</th> <th style="border: 1px solid #ddd; padding: 8px;">Pass Trx</th> <th style="border: 1px solid #ddd; padding: 8px;">Fail Trx</th> <th style="border: 1px solid #ddd; padding: 8px;">Status</th> </tr> </thead> <tbody> `; finalMetrics.forEach(m => { // Define color styles based on overall status (combines both SLA checks) const statusColor = m.status === 'passed' ? 'background-color: #d4edda; color: #155724;' : m.status === 'failed' ? 'background-color: #f8d7da; color: #721c24;' : 'background-color: #fff3cd; color: #856404;'; // broken status is yellow // Check if TPH was breached for highlighting const isTphBreached = m.expectedTph > 0 && m.totalCount < m.expectedTph; html += ` <tr> <td style="border: 1px solid #ddd; padding: 8px; text-align: left;">${m.trxName}</td> <td style="border: 1px solid #ddd; padding: 8px;">${m.p50}</td> <td style="border: 1px solid #ddd; padding: 8px;">${m.min}</td> <td style="border: 1px solid #ddd; padding: 8px;">${m.max}</td> <td style="border: 1px solid #ddd; padding: 8px;">${m.p90}</td> <td style="border: 1px solid #ddd; padding: 8px; ${m.slaStatusText === 'Not Met' ? 'font-weight: bold; color: red;' : ''}">${m.p95}</td> <td style="border: 1px solid #ddd; padding: 8px;">${m.slaP95}</td> <td style="border: 1px solid #ddd; padding: 8px; ${isTphBreached ? 'font-weight: bold; color: red;' : ''}">${m.expectedTph}</td> <td style="border: 1px solid #ddd; padding: 8px;">${m.totalCount}</td> <td style="border: 1px solid #ddd; padding: 8px;">${m.passCount}</td> <td style="border: 1px solid #ddd; padding: 8px; ${m.failCount > 0 ? 'font-weight: bold; color: red;' : ''}">${m.failCount}</td> <td style="border: 1px solid #ddd; padding: 8px; ${statusColor}">${m.status.toUpperCase()}</td> </tr> `; }); html += `</tbody></table>`; return html; } // --- Main execution logic --- try { // 1. Ensure directories exist: outputDir for results, and attachmentsDir for the original HTML. const attachmentsDir = path.join(outputDir, 'attachments'); [outputDir, attachmentsDir].forEach(dir => { if (!fs.existsSync(dir)) { fs.mkdirSync(dir, { recursive: true }); } }); // 2. Load and Parse HTML Report const INPUT_HTML_FILE = argv.html; if (!fs.existsSync(INPUT_HTML_FILE)) { throw new Error(`Input HTML report not found: ${INPUT_HTML_FILE}. Check the path or ensure the Artillery test ran successfully.`); } const rawHtml = fs.readFileSync(INPUT_HTML_FILE, 'utf8'); // Parse App Name, Run ID, and initial header metrics from the HTML content const { appName, runId, headerData } = parseHeaderInfo(rawHtml, argv); // Parse transaction metrics, including the new TPH SLA checks const metrics = parseTransactionSummary(rawHtml); // --- Duration Logic for Overall Summary Test --- // The summary test should reflect the actual duration of the whole test run. const durationStr = headerData['Duration'] || '0s'; const runDurationMs = parseDurationToMs(durationStr); // Calculate start time by subtracting the run duration from the current time (stop time). const overallStopTimeMs = Date.now(); const overallStartTimeMs = overallStopTimeMs - runDurationMs; // ----------------------------------------------- if (metrics.length === 0) { // Handle case where no transaction data could be parsed (e.g., test failed early or report format changed). const failureHtml = `<p style="color:red; font-weight:bold;">ERROR: No transaction summary table was found in the HTML report. The test may have failed to complete successfully.</p>`; const professionalOverallMetricsHtml = formatOverallMetrics(rawHtml, runId, appName, headerData); const summaryTest = { uuid: uuidv4(), name: `Overall Performance Summary`, fullName: `${appName}.${runId}-Summary`, status: 'broken', // Set to 'broken' as parsing failed stage: "finished", start: overallStartTimeMs, stop: overallStopTimeMs, descriptionHtml: professionalOverallMetricsHtml + failureHtml, labels: [ { name: "parentSuite", value: appName }, { name: "suite", value: runId }, { name: "subSuite", value: "Summary" }, { name: "feature", value: appName }, { name: "story", value: runId }, ], steps: [{name: "Failed to parse transaction data.", status: "broken", stage: "finished"}], attachments: [] }; const testFileName = `${summaryTest.uuid}-result.json`; fs.writeFileSync(path.join(outputDir, testFileName), JSON.stringify(summaryTest, null, 2), 'utf8'); console.log(`\n⚠️ Generated BROKEN Allure result. Could not parse Transaction Summary Table from HTML.`); return; } // Format the Overall Test Metrics using the new professional function const professionalOverallMetricsHtml = formatOverallMetrics(rawHtml, runId, appName, headerData); // 3. Prepare Attachment // Copy the original HTML report into the 'attachments' folder for direct linking in Allure. const htmlAttachmentName = path.basename(INPUT_HTML_FILE); const attachmentSourcePath = path.join(attachmentsDir, htmlAttachmentName); fs.copyFileSync(INPUT_HTML_FILE, attachmentSourcePath); // 4. Construct the Final Description HTML (Overall Metrics + Transaction Table) const finalDescriptionHtml = ` ${professionalOverallMetricsHtml} ${generateSummaryTableHtml(metrics)} <hr> <p>For the full dashboard with all charts and detailed data, see the "Full Performance Dashboard (HTML)" attachment below.</p> `; // 5. Create Overall Summary Test Case // The overall status is 'failed' if *any* transaction metric is 'failed' (RT or TPH SLA breached). const overallStatus = metrics.some(m => m.status === 'failed') ? 'failed' : metrics.some(m => m.status === 'broken') ? 'broken' : 'passed'; const summaryTest = { uuid: uuidv4(), name: `Overall Performance Summary`, fullName: `${appName}.${runId}-Summary`, status: overallStatus, stage: "finished", start: overallStartTimeMs, // Uses actual run start stop: overallStopTimeMs, // Uses actual run stop descriptionHtml: finalDescriptionHtml, // Contains the formatted metrics and table labels: [ // Allure hierarchy labels { name: "parentSuite", value: appName }, { name: "suite", value: runId }, { name: "subSuite", value: "Overall" }, // Labels for Allure filter grouping { name: "feature", value: appName }, { name: "story", value: runId }, { name: "epic", value: "Performance Dashboard" }, ], // Converts each transaction into a 'step' within the overall summary test case. steps: metrics.map(m => { return { name: `${m.trxName} | P95: ${m.p95}ms (SLA: ${m.slaP95}ms) | TPH: ${m.totalCount} (Exp: ${m.expectedTph})`, status: m.status, // Uses transaction status stage: "finished", statusDetails: { message: m.statusDetails } }; }), attachments: [ // Link to the original HTML report { name: "Full Performance Dashboard (HTML)", type: mime.lookup('html'), source: `attachments/${htmlAttachmentName}` }, ] }; // 6. Create Individual Transaction Test Cases // Each transaction is represented as a separate Allure test result. const transactionTests = metrics.map(m => { // --- Synthetic Duration Logic --- // P90 response time is used as a synthetic duration to represent the typical latency. const p90RtMs = parseFloat(m.p90); // Set the 'start' time to the current timestamp and calculate 'stop' time using P90 RT. const synthStartTime = Date.now(); const synthStopTime = Math.round(synthStartTime + p90RtMs); // --- Metric Value for Display --- const labelValue = `P90: ${m.p90}ms | TPH: ${m.totalCount} / ${m.expectedTph}`; // --- Synthetic Class Name to satisfy Allure's strict format --- const syntheticClassName = `com.perftest.ArtilleryTransaction`; return { uuid: uuidv4(), name: `${m.trxName} (RT SLA:${m.slaP95}ms, TPH SLA:${m.expectedTph})`, fullName: `${appName}.${runId}-${m.trxName}`, status: m.status, // Uses individual transaction status (passed/failed/broken) stage: "finished", start: synthStartTime, stop: synthStopTime, // Simple description using markdown (Updated to include TPH) description: `**P95 Response Time SLA**: ${m.p95}ms (SLA: ${m.slaP95}ms)\n**Throughput SLA**: Actual ${m.totalCount} (Expected TPH: ${m.expectedTph})\n**Total Count**: ${m.totalCount}`, statusDetails: { message: m.statusDetails, trace: `P95 Status: ${m.slaStatusText}. TPH Check: ${m.totalCount >= m.expectedTph ? 'Met' : 'Not Met'}. Fail Count: ${m.failCount}.` }, labels: [ // Allure hierarchy labels for filtering { name: "parentSuite", value: appName }, { name: "suite", value: runId }, { name: "subSuite", value: "Transactions" }, { name: "feature", value: appName }, { name: "story", value: runId }, { name: "package", value: appName }, { name: "thread", value: labelValue }, { name: "testClass", value: syntheticClassName }, ], // Detailed steps to show all SLA and error checks steps: [ { name: `Check P95 RT SLA: ${m.p95}ms <= ${m.slaP95}ms`, status: m.slaStatusText === 'Met' ? 'passed' : 'failed', stage: "finished" }, { name: `Check Throughput SLA: Actual ${m.totalCount} >= Expected TPH ${m.expectedTph}`, // Status is failed if TPH is set (>0) and actual count is less than expected status: (m.expectedTph > 0 && m.totalCount < m.expectedTph) ? 'failed' : 'passed', stage: "finished" }, { name: `Check Error Count: ${m.failCount} failed transactions`, status: m.failCount === 0 ? 'passed' : 'broken', stage: "finished" } ], }; }); // 7. Write Allure Result Files const allTests = [summaryTest, ...transactionTests]; allTests.forEach(test => { const testFileName = `${test.uuid}-result.json`; // Write the result file for each test case fs.writeFileSync(path.join(outputDir, testFileName), JSON.stringify(test, null, 2), 'utf8'); }); // 8. Write Test Case Container and Executor Info // A container links test results to form a single suite/run in Allure. const container = { uuid: uuidv4(), name: runId, children: allTests.map(t => t.uuid) // List of all test result UUIDs }; fs.writeFileSync(path.join(outputDir, `${container.uuid}-container.json`), JSON.stringify(container, null, 2), 'utf8'); // Fixes the "unknown" display on the Allure Overview page writeExecutorInfo(outputDir, appName, runId); console.log(`\n✅ Successfully generated ${allTests.length} Allure result files for ${appName} (RunID: ${runId})`); console.log(`Test Duration: ${durationStr} (${runDurationMs}ms)`); console.log(`To view the report, run: allure serve ${outputDir}`); } catch (e) { console.error(`\n❌ An error occurred during Allure report generation: ${e.message}`); process.exit(1); }

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @param
  • User mentioned (0): @param
  • User mentioned (0): @param
  • User mentioned (0): @param
  • User mentioned (0): @returns
  • User mentioned (0): @param
  • User mentioned (0): @param
  • User mentioned (0): @returns
  • User mentioned (0): @param
  • User mentioned (0): @param
  • User mentioned (0): @param
  • User mentioned (0): @param
  • User mentioned (0): @returns
  • User mentioned (0): @param
  • User mentioned (0): @returns
  • User mentioned (0): @param
  • User mentioned (0): @returns
  • Single line (0.5):
  • Filler text (0.5): -----------------------------------------------
  • Low reputation (1):
Posted by: Abhisek S

79816096

Date: 2025-11-10 22:21:08
Score: 2
Natty:
Report link

I have used >> like os.system("the_command >> the_file_you_want_the_data_in") or in your case os.system("pwd >> logfile.txt")

Reasons:
  • Whitelisted phrase (-1): in your case
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Vincent Kuijpers

79816095

Date: 2025-11-10 22:19:07
Score: 2
Natty:
Report link

I was missing the tag below in my razor page.

@rendermode InteractiveServer
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: mfvjunior

79816080

Date: 2025-11-10 21:57:02
Score: 2
Natty:
Report link

Despite the fact @insideClaw answer is the best practice, I want show how you can achieve that by modify the "/etc/passwd" file; which contain the shell of all users.

    - name: Change the default shell to ZSH 
      ansible.builtin.shell: | 
        OLD_LINE_PASSWD=$(grep "$USER" /etc/passwd)
        NEW_LINE_PASSWD=$(echo $OLD_LINE_PASSWD | sed "s|$SHELL|/usr/bin/zsh|")
        sudo sed -i "s|$OLD_LINE_PASSWD|$NEW_LINE_PASSWD|" /etc/passwd
      become_user: "{{ ansible_user }}"
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • User mentioned (1): @insideClaw
  • Low reputation (0.5):
Posted by: Ninja-Flex6969

79816079

Date: 2025-11-10 21:55:01
Score: 1.5
Natty:
Report link

the gcc compiler optimizes the struct initialization to 3 instructions, while clang takes 16.

And this causes a performance bottleneck in your application?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: Christian Stieber

79816078

Date: 2025-11-10 21:54:01
Score: 3
Natty:
Report link

Recently discovered that you can actually use nested Mapping during experiments. As I am not familiar with CloudFormation, you may need to check the example by yourself.

Check out "VersionMap" in https://github.com/ppatram/gcp/blob/c03f1a94503971e91531f8bf3bfd09374ecb3256/dhal/AWS/CloudFormation/al2-mutable-public.yaml

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

79816073

Date: 2025-11-10 21:46:59
Score: 0.5
Natty:
Report link

Side note: fewer instructions does not inherently mean "faster".

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

79816068

Date: 2025-11-10 21:35:57
Score: 0.5
Natty:
Report link

This is a duplicate of How do I constrain a Kotlin extension function parameter to be the same as the extended type?. The workaround presented there would look like this for your case:

val <T> T.shouldBe: (T) -> Boolean get() = { this == it }
Reasons:
  • Blacklisted phrase (1): How do I
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • High reputation (-2):
Posted by: tyg

79816063

Date: 2025-11-10 21:27:55
Score: 5
Natty: 4.5
Report link

صفحتي على الفيسبوك اتهكىرت وتماه تخير الابريد القتروني وعليها صوري على الفيسبوك والعوز اسبات ابعدل بياناتي الشخصية ورقم الاقومي بتاعي الصفحه بسم فاعل خير وتاريخ الميلاد 18 5 1984 ولوعاوز اسماء الاصدقاء الاعله الصفحه أكتب اسميهم

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • No latin characters (2.5):
  • Low reputation (1):
Posted by: Aasdfs

79816061

Date: 2025-11-10 21:25:54
Score: 1.5
Natty:
Report link

For airflow 3.x

In your airflow.cfg, the variable is named refresh_interval

It sets How often (in seconds) to refresh, or look for new files, in a DAG bundle

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

79816056

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

I am new to Django but I am rendering a Modelform and failed to make it, only the submit buttons comes but the textfields remain hidden. Any guidance here?

Here is my orderform.html file:

{% extends 'appa/main.html' %}

{% load static %}

{% block content %}


  <form action =""  method ='post'>

        {% csrf_token %}
        {{ form }}
    
        <input type = "submit" name = "Submit">
    </form>
{% endblock %}
Reasons:
  • RegEx Blacklisted phrase (1.5): I am new
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: discuss120

79816055

Date: 2025-11-10 21:06:50
Score: 2
Natty:
Report link

Have you tried increasing the esp buffer size? (you might need to also increase the baud)

You might also want to try mode='full'

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Epsicro N

79816053

Date: 2025-11-10 20:58:48
Score: 1.5
Natty:
Report link

This solution worked for me:

rm -r .nx
Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (2):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Oussama Mehiri

79816049

Date: 2025-11-10 20:54:47
Score: 0.5
Natty:
Report link

The code is using macros. I believe MS Basic for the 6502 was written with Macro-10 assembler. You can find the manual here: https://bitsavers.org/pdf/dec/pdp10/TOPS10/1973_Assembly_Language_Handbook/02_1973AsmRef_macro.pdf . Review page 261+ (Chapter 3.3) for the syntax of macro definitions.

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

79816047

Date: 2025-11-10 20:42:44
Score: 2
Natty:
Report link

UPDATE: I was able to fix the error. I had to add

SET(CMAKE_AUTORCC ON)

in my CMakeLists.txt.

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

79816041

Date: 2025-11-10 20:32:42
Score: 0.5
Natty:
Report link

If you want to avoid @MainActor annotation you could use @unchecked Sendable annotation at class level to tell compiler you will be managing. Usually Net handlers are only one per app process so it will be safe.

In the line:

try await self.onNetworkStateChanged(networkConnectionState: state)

Try using an eternal reference for your net manager and avoid weak self

    private func setupNetworkMonitoring() async {

        let netManager = self
        await networkMonitor.startMonitoring { state in
            guard let self = self else { return }
            Task {
                // ⬇ ⬇ ⬇ Capture of 'self' with non-sendable type 'NetworkService' in a `@Sendable` closure
                try await netManager.onNetworkStateChanged(networkConnectionState: state)
            }
        }
    }
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @MainActor
  • User mentioned (0): @unchecked
  • Low reputation (0.5):
Posted by: blacktiago

79816039

Date: 2025-11-10 20:30:41
Score: 2.5
Natty:
Report link

So, I was playing with this from a simple angle, just thinking about the characters in my formatting, where the first price always has a space after it.

I got this to work in my limited scenario

[$]\d+?\s

If you had other punctuations following, you could easily set up an "or" function to include punctuation or other variables. Overly simplistic, I know, but perhaps it will be helpful to some of you.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Shawna

79816033

Date: 2025-11-10 20:26:40
Score: 0.5
Natty:
Report link

try get-process -includeusername

Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: js2010

79816032

Date: 2025-11-10 20:25:40
Score: 2.5
Natty:
Report link

It's not clear what you mean with columns 10, 11, 12, and 13. While I'm guessing 10-11 default to 0 and increment, columns 12-13 are unknowns. Please provide a starting set, see How to make a great R reproducible example , [mcve], and https://stackoverflow.com/tags/r/info for how to share sample data. BTW, we do not need a lot of data, perhaps a few rows for 2-3 different IDs. Once we know the structure, we can scale it up arbitrarily to address the performance issues you think you are facing.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • RegEx Blacklisted phrase (2.5): Please provide
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: r2evans

79816020

Date: 2025-11-10 19:55:33
Score: 1
Natty:
Report link

I don't really understand what you're trying to do and how it relates to Vim's Python options.

I'd encourage you to come up with a minimal reproducible example that shows what you're trying to accomplish and how it fails. At this point, you'll most likely have a question that's fit to be posted as a "traditional" Q&A and I'd also encourage you to do so. Delete this question once you'll have posted it.

If you manage to post a little bit of code with expected and actual behaviors, this community should be able to come up with an answer that will be useful for you as well as future readers.

Having said that, inheriting a virtual environment from the calling shell (and thus relying that somebody activated it outside of Vim) does not seem like a good idea to me. I'd take measures to make sure it works no matter from what environment Vim was called.

BTW, I'm glad you found my answer to the other question useful. Did you notice there's another answer by phd that seems to be close to what you want to accomplish?

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