79740365

Date: 2025-08-19 20:16:20
Score: 1.5
Natty:
Report link

I tried lot of other steps, but below solved my problem

python -m pip install pip-system-certs --use-feature=truststore
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Raj Tech Enhance

79740364

Date: 2025-08-19 20:15:20
Score: 9.5
Natty: 8
Report link

did you figure out a solution to this issue?

Reasons:
  • RegEx Blacklisted phrase (3): did you figure out a solution to this
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (1):
Posted by: anonym

79740355

Date: 2025-08-19 20:05:16
Score: 3.5
Natty:
Report link

Instead of using sandbox domain name use api.wise.com. So the correct version of endpoint is https://api.transferwise.com/v1/transfers

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

79740354

Date: 2025-08-19 20:02:15
Score: 2
Natty:
Report link

For anyone that comes to this post:

Microsoft had changed the default behavior description in "For each" loops but it doesn't seem like its implementation had changed.

I had the same exact problem as @Hugo and noticed that my "for each" had the following settings:

enter image description here

I suspected that it wasn't running sequentially as in each iteration my object was always with no property set. So I forced a concurrency control with only one degree of parallelism.

enter image description here

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Probably link only (1):
  • No code block (0.5):
  • User mentioned (1): @Hugo
  • Low reputation (0.5):
Posted by: Gabriel Antonio

79740352

Date: 2025-08-19 20:01:15
Score: 0.5
Natty:
Report link

If what you shared is a working example, then, you could do:

# wait for the old message to be unloaded
expect(old_message_element).toBeHidden()

then continue with what you wrote:

answer_input = page.locator("#message textarea[name='answer']")
....
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ProgrammingEnthusiast

79740349

Date: 2025-08-19 19:55:13
Score: 2
Natty:
Report link

Have you had a chance to review the Stripe guide on resolving signature verification errors? Additionally, it would be helpful to log the payload and the headers of the requests you receive. If you haven't done so already, logging these values can help identify any discrepancies that might be causing the signature verification errors.

For your reference, here’s the relevant link to the guide:

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

79740348

Date: 2025-08-19 19:55:13
Score: 1
Natty:
Report link

Replace <cmath> with <math.h> in all files. <cmath> is only in C++.

Additionally, compile with /TC for C files & /TP for C++ files.

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

79740341

Date: 2025-08-19 19:48:11
Score: 3.5
Natty:
Report link

Use this library, it is a helper model of openpuxls that has all the styles very easily, be sure to visit it pip install excelstyler

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

79740339

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

Don't use cascading deletes ever.

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

79740334

Date: 2025-08-19 19:41:08
Score: 1
Natty:
Report link

I had to do a nested query and cast entry_date as an INT64 twice. If I didn't the message would read "No matching signature for function TIMESTAMP_SECONDS Argument types: FLOAT64 Signature: TIMESTAMP_SECONDS(INT64) Argument 1: Unable to coerce type FLOAT64 to expected type INT64."

The code is below.

select 
  individual, 
  date(TIMESTAMP_SECONDS(entry_sec)) as entry_date_converted

  from(
    select *,
    cast(cast(entry_date as int64)/1000000000 as int64) as entry_sec
    from table 

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

79740331

Date: 2025-08-19 19:31:05
Score: 2
Natty:
Report link
Sub SaveNewWorkbookAs()
    Dim wb As Workbook
    Dim filename As String

    filename = "C:\Temp\MyFile.xlsx"

    Set wb = Workbooks("Book1") ' or ActiveWorkbook
    wb.SaveAs filename:=filename, FileFormat:=xlOpenXMLWorkbook
End Sub

try this does it work?

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: ZephyR

79740327

Date: 2025-08-19 19:26:04
Score: 1.5
Natty:
Report link

Try this, does it work for you?

Sub SaveAsFile(filename As String)
    Dim wb As Workbook
    Set wb = ActiveWorkbook ' or Workbooks("Book1")
    wb.SaveAs filename:=filename
End Sub
Reasons:
  • Whitelisted phrase (-1): Try this
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: 0ro2

79740325

Date: 2025-08-19 19:22:03
Score: 1.5
Natty:
Report link

@Radosław Szczerba

I tried this and still does not work.

"departureDate": ("2024-12-24","2025-04-12")
Amadeus error 500: 
            {
                "errors": [
                        {
                            "code": 38189,
                            "title": "Internal error",
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Kratos88

79740315

Date: 2025-08-19 19:10:59
Score: 2.5
Natty:
Report link

To paste in column mode is not natively available in VSCode as of today [Version: 1.103.0 (Universal)]. In Mac, the shift + option doesn't work too. The Column Paste extension does this well.

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

79740304

Date: 2025-08-19 19:00:57
Score: 2.5
Natty:
Report link

This is not on a per request basis, but per connection ... within the configuration block of the connection - faraday.response :raise_error, include_request: true

enter image description here

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

79740289

Date: 2025-08-19 18:38:52
Score: 0.5
Natty:
Report link
// build dynamic list whose elements are determined at run time
val myList: List<Float> = buildList {
  add(1f)
  // add computed items
  //TODO:
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Farid Z

79740284

Date: 2025-08-19 18:34:50
Score: 1
Natty:
Report link

Immutability in Dart data classes is known as final

This class is immutable, why? After declaring the class you won't be able to change it's variables again.

class User {
  final String name;
  final int age;

  const User(this.name, this.age);
}

Bonus:

If you want the other methods that are normally included automatically in a language such as toMap, toJson, fromJson, fromMap , toString etc. You can also use code generation to get them with this extension:

https://marketplace.visualstudio.com/items?itemName=hzgood.dart-data-class-generator

Reasons:
  • Blacklisted phrase (0.5): why?
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: utkuaydos

79740281

Date: 2025-08-19 18:31:49
Score: 2.5
Natty:
Report link

I don't know what type of operation you are doing, but in all my web scraping operations I like to use Selenium Undetected, sometimes what may be happening is that the bot or algorithm detected your actions, do this test

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

79740271

Date: 2025-08-19 18:19:45
Score: 0.5
Natty:
Report link

AWS App Runner, when connected to a VPC via a VPC connector, still sends outbound traffic from its own managed ENI in App Runner’s underlying VPC, not through your NAT Gateway. Even though Nat Gateway setup works for Lambda, App Runner does not route traffic through it, so your EIP isn’t the source on the public side.

This is by design, App Runner does not honor the NAT Gateway for outbound.

Reference: https://aws.amazon.com/blogs/containers/deep-dive-on-aws-app-runner-vpc-networking/

Currently, App Runner does not support outbound static IP via NAT Gateway.
Or open a feature request with AWS for adding this functionality.

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

79740268

Date: 2025-08-19 18:14:43
Score: 5.5
Natty:
Report link

I have the same issue, and the answer is to stop the Services below in your system

  1. SQL Server (MSSQLSERVER)

  2. SQL Server Agent (MSSQLSERVER)

Now it will work.

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
  • Low reputation (0.5):
Posted by: Sanjay Dwivedi

79740255

Date: 2025-08-19 18:02:40
Score: 0.5
Natty:
Report link

System.Drawing.Bitmap is exceedingly not threadsafe. Even something simple like reading the "Width" property of a Bitmap will make API calls into GDI plus, and can cause GDI plus internal errors. If you need to use Bitmap in a multithreaded way, you need to wrap literally everything behind a global lock. Any method call (including static methods) or property access will require a lock, otherwise you could randomly encounter a GDI plus internal error or access violation.

Meanwhile, access to the properties of a BitmapData object (created by using LockBits) is threadsafe. If you read the properties Width, Height, Scan0, Stride, or PixelFormat, it does not make any function calls into GDI plus, instead it just reads a private field, so the properties are threadsafe. But using BitmapData still relies on the use of pointers, requiring unsafe code.

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

79740252

Date: 2025-08-19 18:01:39
Score: 0.5
Natty:
Report link

Update:

This is the right syntax for the return which will tell the value of the parameter:

e.commonEventObject.parameters

And correct syntax for the function:

function buildCategoryCardV2(categories) {
  const buttons = categories.map(category => ({
    text: category,
    onClick: {
      action: {
        "function": "handleCardClick",
        "parameters": [
        // Pass the variable's value as a parameter
        { "key": "categoryPressed", "value": category } 
      ]
      }
    }
  }));
  const card = {
    cardId: 'category_selector',
    card: {
      name: 'Category Selector',
      header: { title: 'Inventory Request', subtitle: 'Please select a category' },
      sections: [{ widgets: [{ buttonList: { buttons: buttons } }] }]
    }
  };
  return card;
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: kiev_ghetto

79740245

Date: 2025-08-19 17:56:38
Score: 0.5
Natty:
Report link

Can be done, add module-alias:

npm install --save-dev module-alias

Register your aliases in package.json, using property _moduleAliases:

{
  "name": "playwright-alias",
  "version": "1.0.0",
  "description": "Show how to use aliases with Playwright ",
  "main": "index.js",
  "author": "Borewit",
  "type": "commonjs",
  "devDependencies": {
    "@playwright/test": "^1.54.2",
    "@types/node": "^24.3.0",
    "module-alias": "^2.2.3"
  },
  "_moduleAliases": {
    "@cy": "./cypress",
    "@": "./aliased"
  }
}

This file (based on the scenario in the question) we will alias aliased/utils/date-utils.js:

export function formatDate() {
    return 'aliased';
}

Testing the alias @ (tests/alias.spec.js):

import {expect, test} from "@playwright/test";
import { formatDate } from '@/utils/date-utils.js'; // Aliased import

test('alias', async ({ page }) => {
    expect(formatDate()).toBe('aliased');
});

Full source code: https://github.com/Borewit/playwright-alias

Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): Can
Posted by: Borewit

79740244

Date: 2025-08-19 17:55:38
Score: 1
Natty:
Report link

You can get this to work more easily by nesting the if function in Google sheets.

For this example, you can put this formula into cell d2 =if(C2<>true, "",if(D2="",Today(),D2))
This formula checks if C2 has been checked. If it hasn't been checked, D2 remains empty. If C2 has been checked, then it looks if there's already a value in D2. If there is not a value in D2, it returns today's date. If there is a value in D2, it returns the value that's already there (the date the box was checked).

Note, you need to turn on iterative calculations in file->settings->calculations and set it to on with at least 1 calculation.

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

79740242

Date: 2025-08-19 17:53:37
Score: 0.5
Natty:
Report link
defaultConfig {
    applicationId = "com.example.test_application_2"
    minSdkVersion = flutter.minSdkVersion
    targetSdk = flutter.targetSdkVersion
    versionCode = flutter.versionCode
    versionName = flutter.versionName
}

In your code, there isn't a = after minSdk

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

79740226

Date: 2025-08-19 17:33:31
Score: 0.5
Natty:
Report link

Online Shopping System Use Case Diagram

This diagram illustrates the interactions between different actors (users) and the system itself.

enter image description here

Key Components:

Relationship Types:

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tagorepriyan Saravanavel

79740225

Date: 2025-08-19 17:28:29
Score: 2
Natty:
Report link
Hello, it was great, PHM la.
My problem was solved with your solution, thank you. I don't know, my friend 
sleblanc says that changing the range solved the problem, I tried a lot, but it didn't work.
Thanks again, PHM la.
Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Omid Javadi

79740217

Date: 2025-08-19 17:18:27
Score: 1
Natty:
Report link

The official core package collection has a compareNatural function that fits for this purpose.
It compares strings according to natural sort ordering.

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

79740203

Date: 2025-08-19 16:57:22
Score: 1
Natty:
Report link

Yes, you're tracking them by adding those properties. They won't appear in the GA4 UI anywhere unless you add them as secondary dimensions, but when you do they'll be available.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Kevinleary.net

79740201

Date: 2025-08-19 16:55:21
Score: 2.5
Natty:
Report link

I think the best way is to just re-download Python Interpreter.
It’s really the simplest way to return everything back.

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

79740196

Date: 2025-08-19 16:51:20
Score: 2
Natty:
Report link

Spring 7 prefers NullAway over the Checker Framework because it’s much faster, lighter, and integrates smoothly into builds, giving developers quick feedback with minimal annotation overhead. The Checker Framework is more powerful but slower and heavier, which hurts productivity on large projects like Spring.

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

79740181

Date: 2025-08-19 16:34:13
Score: 2
Natty:
Report link

I would also add, to the comment on the generality of the answer, that it might be a good idea to have a space for Clarity lang users to share best practices and design patterns. For example, I guess the OP might have wanted to know how to efficiently search or sort a list in Clarity. These are actually features that the language could include as magic functions (implemented in Rust).

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

79740176

Date: 2025-08-19 16:28:12
Score: 2.5
Natty:
Report link

# git ignore MacOS specific files

git config --global core.excludesfile ~/.gitignore_global

echo .DS_Store >> ~/.gitignore_global

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

79740173

Date: 2025-08-19 16:24:11
Score: 2.5
Natty:
Report link

In the newer version of react-player,they are using src as a prop instead of url. So, use src, it may help you to solve the issue.like, <ReactPlayer src='https://www.youtube.com/watch?v={video ID}' \> or check the official documentation.

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Subham Chakraborty

79740171

Date: 2025-08-19 16:21:10
Score: 1
Natty:
Report link

Spring chose NullAway because it’s lightweight and integrates easily into large builds. It only checks for nullness, so it runs much faster than the Checker Framework and doesn’t add much overhead during compilation. That’s a big deal for a project the size of Spring where build times matter.

The Checker Framework is more powerful and can enforce stricter guarantees, but it requires more annotations, has a steeper learning curve, and is noticeably slower. On top of that, the current JSpecify annotations fit naturally with NullAway, while support in Checker Framework is less complete (for example, locals).

So it’s mainly a trade-off: Spring doesn’t need the full power of Checker Framework, but it does need something consistent, fast, and aligned with JSpecify.

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

79740167

Date: 2025-08-19 16:15:08
Score: 3.5
Natty:
Report link

I'm thinking of using one of these solutions for my long nexus modlist Downloader, I was struggling with limiting to number of jobs at once but that seems answered here. I do have a question though, say I want 4 threads or jobs going at once, how can I have it so if one finishes another will start so its always 4 running until finished?

Right now I'm using chunks and it seems to finish all before starting any new ones. Here's my script for reference

https://gitlab.com/cavebros/openmw-android-docker/-/blob/NexusHandler/payload/app/src/main/java/org/openmw/modDownloader/ModDownloader.kt?ref_type=heads#L123

Reasons:
  • Blacklisted phrase (0.5): how can I
  • RegEx Blacklisted phrase (1): I want
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Jared Davenport

79740166

Date: 2025-08-19 16:14:08
Score: 2.5
Natty:
Report link

I don't' think the popular geometric shadowing terms behave correctly with negative numbers. It's typical to clamp the ndots before passing them to the geometry terms, but geometry doesn't just go away because it goes into shadow. It' better to make the geometry functions work correctly with negative numbers. What I did was just save the sign of the ndot inputs and then work on the abs of them. Then restore the sign at the output. Simple but effective.

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

79740158

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

The best practice would be to use a virtual environment (e.g. conda, pipenv etc.). This way you can delete the environment and create it from scratch in case of breaking modifications.

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

79740151

Date: 2025-08-19 16:01:04
Score: 12.5
Natty: 7.5
Report link

Hi did you solve it? if yes, Could you provide the solution?

Reasons:
  • RegEx Blacklisted phrase (2.5): Could you provide the solution
  • RegEx Blacklisted phrase (3): did you solve it
  • RegEx Blacklisted phrase (1.5): solve it?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: moon

79740149

Date: 2025-08-19 15:54:02
Score: 2.5
Natty:
Report link

The key issue was that siteRepo.getOne(SITE_ID) was returning null because the mock wasn't properly configured or the argument matching wasn't working correctly.

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

79740134

Date: 2025-08-19 15:44:59
Score: 2.5
Natty:
Report link

You can find MAX from x y z of light->pixel vector. Next for example, if MAX is X - divide vector on this scale (vec / x), next change other 2 values (y z) on offset components (j, k): y += j, z += k. This is values will be like UV coordinates.

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

79740133

Date: 2025-08-19 15:41:58
Score: 1
Natty:
Report link

There is a pure Java implementation of 2D alpha shapes on Github at the Tinfour software project in the class AlphaShape.java under package org.tinfour.utils.alphashape. An example application showing how to use the AlphaShape class is also available at Tinfour (see AlphaShapeDemoImage.java).

A set of web articles describing the methods used is available at Implementation details for a 2D alpha shape utility

And, finally, here's a sample image of an alpha shape created from a set of scattered points which were generated for test purposes from the lowercase letter g.

enter image description here

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

79740125

Date: 2025-08-19 15:32:56
Score: 0.5
Natty:
Report link

db.session.close() releases the connection back to the pool, where it may be reused. db.session.remove() calls the close() method and also removes the session so that it is not reused later. This is useful for preventing the reuse of a connection that has expired. For Flask and other request-based environments, it's best to use db.session.remove().

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

79740115

Date: 2025-08-19 15:24:53
Score: 3
Natty:
Report link

Dear Lucy Justice Augustine 19 2025.

20 years ago I invested in this company, all my savings. I received no compensation in the last 20 years. I am currently retired , and need to live off my savings. Please contact me by my Email to resolved my problem.

[email protected]

Thank you so much

Juan Nunez

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): contact me
  • Blacklisted phrase (1): Please contact me
  • Whitelisted phrase (-1.5): resolved my problem
  • Contains signature (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Juan Nunez

79740111

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

Try to connect with the Kafka UI Plugin:
https://plugins.jetbrains.com/plugin/28167-kafka-ui-connect-to-kafka-brokers-produce-and-view-messages

With it you can connect to your Kafka Cluster easily

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

79740106

Date: 2025-08-19 15:10:49
Score: 0.5
Natty:
Report link

Navigate to your project directory:
e.g., cd E:\Project\Laravel\laravel-new-app

Install Composer dependencies:

composer install

*If composer install doesn't work or the vendor folder is still missing/incomplete
1. Clear Composer cache:

composer clear-cache

2. Delete vendor folder and composer.lock file (optional, but can help with fresh installs):

rm -rf vendor
rm composer.lock

3. Install the composer

composer install

-----------------------------------------------------------------------------------------------------------------
After completing these steps, the vendor folder and its contents, including autoload.php, should be present, resolving the error.

Even complete the above steps if you encounter this error->

Failed to download livewire/volt from dist: The zip extension and unzip/7z commands are both missing, skipping. The php.ini used by your command-line PHP is: C:\xampp\php\php.ini Now trying to download from source  

To resolve this issue,

  1. Locate your php.ini file. The error message indicates it's at C:\xampp\php\php.ini if you are using XAMPP.

  2. Open php.ini with a text editor.

  3. Search for the line ;extension=zip.

  4. Remove the semicolon (;) at the beginning of the line to uncomment it, making it extension=zip.

  5. Save the php.ini file.

  6. Restart the server

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

After if you encounter this error->

Database file at path [E:\Project\Laravel\laravel-new-app\database\database.sqlite] does not exist. Ensure this is an absolute path to the database. (Connection: sqlite, SQL: select * from "sessions" where "id" = T9cQVcjhXc9StyBdsVuD9IkZpbdyD6BsCFYAPXz8 limit 1)

  1. Go to your Laravel project’s database folder.
    E:\Project\Laravel\laravel-new-app\database

  2. Create a new empty file called:
    database.sqlite

  3. Run migrations:

    php artisan migrate
    
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Filler text (0.5): -----------------------------------------------------------------------------------------------------------------
  • Filler text (0): -----------------------------------------------------------------------------------------------------------------
  • Low reputation (1):
Posted by: MMS Aazeem

79740102

Date: 2025-08-19 15:04:48
Score: 1
Natty:
Report link

Feed the formula 3 items: TEXT=text to remove all leading and / or trailing string; CHAR = character to remove (for instance, " " for space, "-", for dash, etc).; MODE = one of B,L,T or b,l,t for Both, Leading, Trailing. Error gives SYNTAX!.

=LET(TEXT,$CP13,CHAR," ",MODE,"B",MM,MATCH(UPPER(MODE),{"B","L","T"},0),LL,LEN(TEXT),NL,MATCH(FALSE,CHAR=MID(TEXT,SEQUENCE(LL,,1,1),1),0),NT,MATCH(FALSE,CHAR=MID(TEXT,SEQUENCE(LL,,LL,-1),1),0),MN,IF(OR(ISNA(MM),LEN(CHAR)<>1),1,IF(LL=0,2,IF(OR(LL=1,TEXT=REPT(CHAR,LL)),3,MM+3))),CHOOSE(MN,"SYNTAX!","",IF(TEXT=REPT(CHAR,LL),"",TEXT),MID(TEXT,MATCH(FALSE,CHAR=MID(TEXT,SEQUENCE(LL,,1,1),1),0),2+LL-NL-NT),RIGHT(TEXT,1+LL-NL),LEFT(TEXT,1+LL-NT)))

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

79740099

Date: 2025-08-19 15:03:47
Score: 0.5
Natty:
Report link

You didn't reveal a thing about the callback interface you're working with, so I'm just going to assume/hope/guess that the terms of that interface are, "you register a callback once, and then that callback will be occasionally invoked in the future, possibly from a different thread, until it's unregistered".

If that's the case, then try something like this on for size:

async def _callback_iterator(register, unregister):
    loop = asyncio.get_running_loop()
    q = asyncio.Queue()
    callback = lambda x: loop.call_soon_threadsafe(q.put, x)

    register(callback)
    try:
        for x in q:
            yield x
    finally:
        unregister(callback)


def my_api_iterator():
    return _callback_iterator(
        _MY_API.register_callback,
        _MY_API.unregister_callback
    )


async for message in my_api_iterator(
    _MY_API.register_callback,
    _MY_API.unregister_callback
):
    ...

It may seem excessive to use a queue, but that queue embodies the least "spiky" answer to the question: if your asyncio event loop hasn't got around to reading a message by the time your API has a new message, what should happen? Should the callback you passed to your API block? If not, (or if it should only block for a finite amount of time,) then should it just silently drop the new message, or should it raise an exception? What if the API consumer is some low-level, non-Python library code that doesn't support either failure exit-codes or Python exceptions?

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
Posted by: JamesTheAwesomeDude

79740095

Date: 2025-08-19 15:00:46
Score: 4
Natty:
Report link

You can simply copy your HTML form and use a django forms generator tool like this one:
https://django-tutorial.dev/tools/forms-generator/

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: nischal with no P

79740088

Date: 2025-08-19 14:56:44
Score: 2.5
Natty:
Report link

For what's its worth, it seems like Azure Functions Toolkit allows just one task of type "func" in the workspace so if you already have such task any other task with similar type (and different name) would be ignored (and show up as not found).

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

79740086

Date: 2025-08-19 14:55:43
Score: 1.5
Natty:
Report link

I'm on macOS Sequoia 15.6 (24G84), and I had also done:

cd node_modules/electron
rm -rf dist
npm run postinstall

Thereafter, Electron starts as expected.

You welcome. 🤙🏻

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

79740084

Date: 2025-08-19 14:53:42
Score: 2.5
Natty:
Report link

Laravel has a built-in password reset system; you can directly use theirs instead of your custom logic: https://laravel.com/docs/12.x/passwords

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

79740081

Date: 2025-08-19 14:51:42
Score: 1
Natty:
Report link
#include<stdio.h>
#include<conio.h>
void main()
{
    clrscr();
    printf("       *      \n");
    printf("      * *     \n");
    printf("     * * *    \n");
    printf("    * * * *   \n");
    getch();
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Prachi Modi

79740058

Date: 2025-08-19 14:35:38
Score: 0.5
Natty:
Report link

Long time passed since the question I have posted here. I solved it back then by adding the configuration in rules section below

rules:
    - if: $CI_COMMIT_REF_NAME =~ /^release\/\d+\.\d+\.\d+$/ && $CI_COMMIT_BEFORE_SHA == "0000000000000000000000000000000000000000"
      when: always
    - if: $CI_COMMIT_REF_NAME =~ /^release\/\d+\.\d+\.\d+$/
      when: always

Now the CI will be triggered when new branch is pushed.
This two ifs can be combined.

rules:
    - if: $CI_COMMIT_REF_NAME =~ /^release\/\d+\.\d+\.\d+$/ && $CI_COMMIT_BEFORE_SHA == "0000000000000000000000000000000000000000" || $CI_COMMIT_REF_NAME =~ /^release\/\d+\.\d+\.\d+$/
      when: always

This should resolve the problem.

BTW I could find a video in youtube describing my exact issue.
Here is the link --> https://www.youtube.com/watch?v=77Q0xykWzOI&ab_channel=vlogize

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (1): Here is the link
  • Whitelisted phrase (-2): I solved
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Henrik Amirbekyan

79740055

Date: 2025-08-19 14:33:37
Score: 4
Natty: 4
Report link

Try to connect with the Kafka UI Plugin:
https://plugins.jetbrains.com/plugin/28167-kafka-ui-connect-to-kafka-brokers-produce-and-view-messages/edit

With it you can connect to your Kafka Cluster easily

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

79740052

Date: 2025-08-19 14:32:36
Score: 2
Natty:
Report link

We struggled with similar latency issues. We tried these things to reduce our TTFT to 1.1 sec:
1. Self Hosting LiveKit in our region - LiveCloud keep changing your LK region
2. Using Azure's Open AI model - This slashed LLM latency by 50% straight up. Also it's much more consistent now vs Open AI APIs
3. Backchanneling - We backchannel words like "Ok", "Noted" etc.,. this gives a better perceived TTFT.

We actively benchmark our LiveKit agents against Vapi using an open source tool Whispey. We connect both LiveKit and Vapi agents to it and see the comparison to help us better compare the performance.

Reasons:
  • RegEx Blacklisted phrase (1): help us
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Dhruv Mehra

79740043

Date: 2025-08-19 14:26:35
Score: 1.5
Natty:
Report link

This way works:

echo(& echo(& echo(& echo(& echo()

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

79740031

Date: 2025-08-19 14:19:32
Score: 4.5
Natty: 4.5
Report link

Is the package free? It seems my Mac can't find it in the pip market.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Is the
  • Low reputation (1):
Posted by: JOSEPH MANIA

79740007

Date: 2025-08-19 13:59:27
Score: 1
Natty:
Report link

The code itself looks correct to me. If that’s returning None it could be due to your Python version. Azure's flex consumption plan does not fully support Python 3.13 yet.

Can you confirm what Python version your Function App is set to in Configuration → General settings? At the moment, Azure Functions officially supports Python 3.10, 3.11, and 3.12. If the app is configured to use 3.13, the runtime will not load any environment variables.

Reference: Azure Functions Flex Consumption plan hosting

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

79740000

Date: 2025-08-19 13:54:25
Score: 0.5
Natty:
Report link

The main thing is: cereal is not intended to deserialize random jsons, but rather jsons it generated itself. It has specific fields and flags it adds to help itself, such as versions and tags.

In your particular case, the json is saved as if an int is written to it, but you are deserializing through an std::optional<int>, which cereal expects to look different. As @3CEZVQ mentioned in a comment, this includes an extra field telling it if the optional is actually populated or not.

The fact that the value of the int is optional does not make the field in the json optional. If what you intend is an actual missing json field, that is not the right approach. What you want is an optional NVP, of type int. To achieve that, I have been using the lovely Optional-NVP extension, available at Cereal-Optional-NVP. I am not the author nor affiliated in any way, but I've been using it for a few years now and it does exactly what you are asking. Just add those files to your cereal installation to gain the new macros

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @3CEZVQ
  • Low reputation (0.5):
Posted by: Blabba

79739996

Date: 2025-08-19 13:49:24
Score: 1.5
Natty:
Report link

I had this error recently and you DON'T HAVE TO DISABLE SSL.

The right way to fix it is to add the certificate path to the ENV variable `NODE_EXTRA_CA_CERTS`.

This way, Node'll use it and boom, problem solved ;)

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

79739994

Date: 2025-08-19 13:48:23
Score: 1
Natty:
Report link

Tty this:

ts:

import { Component } from '@angular/core';
import { MatListOption, MatSelectionList } from '@angular/material/list';

@Component({
  selector: 'app-list-single-selection',
  standalone: true,
  imports: [MatSelectionList, MatListOption],
  templateUrl: './list-single-selection.component.html'
})

export class listSingleSelectionComponent {
  listOptions = [
    {value: 'boots', name: 'Boots'},
    {value: 'clogs', name: 'Clogs'},
    {value: 'loafers', name: 'Loafers'},
  ]
}

html:

<mat-selection-list [multiple]="false">
    @for (listItem of listOptions; track $index) {
    <mat-list-option [value]="listItem.value">
        {{listItem.name}}
    </mat-list-option>
    }
</mat-selection-list>

https://material.angular.dev/components/list/examples

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

79739984

Date: 2025-08-19 13:42:21
Score: 2
Natty:
Report link

<span style="color: red;">e</span>

<span style="color: orange;">r</span>

<span style="color: gold;">m</span>

<span style="color: green;">a</span>

<span style="color: blue;">0</span>

<span style="color: violet;">1</span>

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

79739983

Date: 2025-08-19 13:42:21
Score: 3
Natty:
Report link

Yes, there's some support for AMD & Xilinx :

meta-amd & meta-amd-bsp & meta-amd-distro

For athor Xilink layers are availble here

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

79739980

Date: 2025-08-19 13:38:20
Score: 3
Natty:
Report link

Start "psql tool" from the pg admin and run your query there

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

79739978

Date: 2025-08-19 13:37:20
Score: 1
Natty:
Report link

Your packages are already large, so I don't think there's much you can do.

Using venv not as an isolator but as a package wrapper is a good strategy.

Many AI libraries, especially PyTorch, offer different versions. If you're not going to use a GPU for inference in your container, never install the default version of PyTorch.

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

79739970

Date: 2025-08-19 13:32:18
Score: 2
Natty:
Report link

Someone gave me a tip (outside Stack Overflow), that pointed me into the right direction.

Key is this documentation: Diff Tool Order

I added an environment variable DiffEngine_ToolOrder with the value VisualStudio. That solved the problem.

Reasons:
  • Blacklisted phrase (1): this document
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: George

79739964

Date: 2025-08-19 13:29:18
Score: 3
Natty:
Report link

GROUP_CONCAT worked perfectly. Thanks @MatBailie. I'm still a little unclear on the differences between LISTAGG, STRING_AGG, and GROUP_CONCAT but I very much appreciate the help!

Updated code:

SELECT ToolGroup, GROUP_CONCAT(', ', ToolID) AS ActiveTools
FROM DB
GROUP BY ToolGroup
ORDER BY ToolGroup
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @MatBailie
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: wawiti

79739962

Date: 2025-08-19 13:28:17
Score: 3
Natty:
Report link

Rnutime Error Affempt to invoke virtual method void androidx recyclervie w widget recycler view s Adapter notifyDa tasetchanged on a null opject reference FunTap

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

79739951

Date: 2025-08-19 13:20:15
Score: 1
Natty:
Report link

This is how I have done in Jenkins :

node {
    stage('Build') {
        def productType = params.productType

        currentBuild.displayName = "#${env.BUILD_NUMBER} - ${productType}"
        currentBuild.description = "Type: ${productType}"
    }
}

Hopefully this will help someone.

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

79739942

Date: 2025-08-19 13:16:13
Score: 4.5
Natty:
Report link

@Charlie Harding "Instead of @RolesAllowed, I implemented a custom @PermissionsAllowed annotation. I created a PermissionChecker that uses a map to link specific actions (permissions) like menu.Doctors to a list of allowed roles. The system then checks if the logged-in user's roles match any of the allowed roles for that permission. This gives me a more granular, permission-based control rather than just role-based."

Reasons:
  • No code block (0.5):
  • User mentioned (1): @Charlie
  • User mentioned (0): @RolesAllowed
  • User mentioned (0): @PermissionsAllowed
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Dejan

79739921

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

I was struggling a bit with the Rectangle brushed line between the header and the rows (with Communitytoolkit DataGrid), and it seems like overriding this brush got rid of it:

<SolidColorBrush x:Key="GridLinesBrush" Color="Transparent"/>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: JohnMalkowich

79739918

Date: 2025-08-19 12:59:09
Score: 2.5
Natty:
Report link

It works fine after some time or Restart the Jenkins.

Downloading plugins in background

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Samir 007

79739913

Date: 2025-08-19 12:52:07
Score: 1.5
Natty:
Report link

I found the issue, It is happening because version mismatch, I am using zod^4.0.17 and @hookform/resolvers^3.9.1. When i update the @hookform/resolvers^5.2.1 (latest) Its working fine.

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

79739908

Date: 2025-08-19 12:48:07
Score: 1.5
Natty:
Report link
SELECT name, COUNT(*) AS tencount
FROM persons
where score = 10
GROUP BY name;
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Bending Rodriguez

79739907

Date: 2025-08-19 12:48:06
Score: 5.5
Natty: 5
Report link

https://marketplace.visualstudio.com/items?itemName=BuldiDev.hide-vscode-icon

I created an extension just for this reason, enjoy it

Reasons:
  • Probably link only (1):
  • Contains signature (1):
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: BuldiDev

79739904

Date: 2025-08-19 12:44:05
Score: 2.5
Natty:
Report link

In ASP.NET Core, the equivalent of HttpContext.IsCustomErrorEnabled is handled via IWebHostEnvironment and UseExceptionHandler or DeveloperExceptionPage, allowing environment-specific error handling and custom error pages.

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

79739902

Date: 2025-08-19 12:43:05
Score: 1
Natty:
Report link

This is neither supportet in SQL Server, nor Oracle. Also what is the advantage of doing this?

you can simply write:

select c_name, count(1) as number from table_one group by c_name

Much more readable, and if your select ever gets changed your Group By still works like a charm.

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

79739897

Date: 2025-08-19 12:38:03
Score: 11.5
Natty: 5.5
Report link

did anyone found a solution for this ?

Thx

Reasons:
  • Blacklisted phrase (1): Thx
  • Blacklisted phrase (2): anyone found
  • RegEx Blacklisted phrase (3): did anyone found a solution
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): did anyone
  • Low reputation (1):
Posted by: ruy

79739894

Date: 2025-08-19 12:34:02
Score: 3
Natty:
Report link

Hello sir ek gaud chla hai jis me mera 15000 lag lag logo ka pass chla gya hai please ap help kera

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

79739887

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

Title: You can’t use input() inside a Flask route (EOFError). Use HTTP request data instead.

The error EOFError('EOF when reading a line') happens because Flask routes run inside a WSGI worker without an interactive terminal (stdin). input() tries to read from stdin, but there’s no TTY in an HTTP request context, so it immediately hits EOF. Even in debug, blocking on input() would stall the worker and break concurrency.

Don’t read from the server console in a route. Get user input from the HTTP request.

Use one of these patterns:

HTML form (POST)

from flask import Flask, request, render_template_string

app = Flask(name)

form_html = """

<form method="post"> <input name="username" placeholder="Username"> <button type="submit">Send</button> </form> """

@app.route("/ask", methods=["GET", "POST"])

def ask():

if request.method == "POST":

username = request.form.get("username")

return f"Hello, {username}!"

return render_template_string(form_html)

JSON API (AJAX/fetch)

from flask import Flask, request, jsonify

app = Flask(name)

@app.route("/api/answer", methods=["POST"])

def api_answer():

data = request.get_json(silent=True) or {}

answer = data.get("answer")

if not answer:

return jsonify(error="missing 'answer'"), 400

return jsonify(ok=True, echoed=answer)

Client:

fetch("/api/answer", {

method: "POST",

headers: {"Content-Type": "application/json"},

body: JSON.stringify({answer: "hello"})

})

Query parameters (GET)

from flask import Flask, request

app = Flask(name)

@app.route("/greet")

def greet():

name = request.args.get("name", "world")

return f"Hello, {name}!"

Call: /greet?name=Alice

Path parameters

from flask import Flask

app = Flask(name)

@app.route("/user/<username>")

def user(username):

return f"Hello, {username}!"

If you truly need interactive, real-time input, use WebSockets (e.g., Flask-SocketIO) to exchange messages with the browser. If you want terminal prompts, build a separate CLI script and don’t call input() inside Flask routes.

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

79739884

Date: 2025-08-19 12:25:00
Score: 0.5
Natty:
Report link

In the Pydantic documentation, the example for customizing the schema completely with the __get_pydantic_core_schema function override uses core_schema.no_info_plain_validator_function.

    def __get_pydantic_core_schema__(
        self, source: type[Any], handler: GetCoreSchemaHandler
    ) -> core_schema.CoreSchema:
        ...
        return core_schema.no_info_plain_validator_function(validate)

In your code:

    @classmethod
    def __get_pydantic_core_schema__(cls, source_type: Any, handler):

        cls._schema = _CustomModel._make_schema()

        fn = core_schema.no_info_plain_validator_function(
            function=cls._validate,
            schema=cls._schema,
        )

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

79739882

Date: 2025-08-19 12:22:00
Score: 0.5
Natty:
Report link

For me the error was: Creating default icons Android ✕ Could not generate launcher icons PathNotFoundException: Cannot open file, path = 'assets/icon/icon.png' (OS Error: The system cannot find the path specified. , errno = 3) Failed to update packages.

I paste the image at the same path that shows in the error "path = 'assets/icon/icon.png'" and paste that path in pubsec.yml file. It works for me

Reasons:
  • Whitelisted phrase (-1): works for me
  • No code block (0.5):
  • Low reputation (1):
Posted by: shfqt

79739877

Date: 2025-08-19 12:13:58
Score: 4
Natty: 6.5
Report link

Can I also make each row's output a clickable hyperlink? Right now, it's displaying as plain text URLs that aren't clickable

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can I also
  • Low reputation (1):
Posted by: LsL

79739860

Date: 2025-08-19 11:54:54
Score: 1
Natty:
Report link

For anyone looking for the compose way to do this as of August 2025:

The code has been adapted from @Pisoj your awesome man

also from https://dev.to/boryanz/webviews-download-listener-on-android-how-it-works-5a01

val context = LocalContext.current

val webView = remember(context) {
    WebView(context).apply {
      settings.javaScriptEnabled = true
      this.webViewClient = object : WebViewClient() {
            // you do you
      }
      this.setDownloadListener { url, userAgent, contentDisposition, mimeType, contentLength ->
                val request = DownloadManager.Request(url.toUri())

                // Extract filename from contentDisposition or URL
                val filename = getFileName(contentDisposition, url)
                val cookies = CookieManager.getInstance().getCookie(url.toString());
                request.apply {
                    setTitle(filename)
                    setDescription("Downloading file...")
                    addRequestHeader("cookie", cookies)
                    setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED)
                    setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, filename)
                    setMimeType(mimeType)
                }

                val downloadManager = context.getSystemService(Context.DOWNLOAD_SERVICE ) as DownloadManager
                downloadManager.enqueue(request)

                Toast.makeText(context, "Download started", Toast.LENGTH_SHORT).show()
            }
    }
}


CompositionLocalProvider(LocalContext provides context) {
    Box(
        modifier = Modifier
            .fillMaxSize()
            .verticalScroll(rememberScrollState())
    {
        AndroidView(
            modifier = Modifier,
             factory = { webView }, update = {
                it.loadUrl("https://yourwebsite.com")
             }
       )
    }
}

Notes:

For you to download files via webview in compose you need the DownloadListener interface.

If your files require cookie authentication please ensure you add cookies in download manager otherwise your file will appear to download but on opening will issue corrupted files.

Cheers

Reasons:
  • Blacklisted phrase (1): Cheers
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Pisoj
  • Low reputation (0.5):
Posted by: mello

79739855

Date: 2025-08-19 11:49:52
Score: 4.5
Natty: 4.5
Report link

Is there any way to attemt a removal of big files one by one?
I added old binary files, not removed, that are still in the commit history, but are completely useless.
I would like to delete only those files, and leave old source fode files untouched.

Thank you.

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

79739852

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

Thanks to @robertklep (in comments):

The answer is: parts = str.split("\n\n");

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @robertklep
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: TJS101

79739851

Date: 2025-08-19 11:47:51
Score: 1
Natty:
Report link

In .NET 6 and later you don’t need to add Microsoft.AspNetCore.Razor manually, because Razor support is included by default through the Razor SDK. You can safely remove the old reference and everything will still work. If you are working with custom Tag Helpers, use Microsoft.AspNetCore.Razor.TagHelpers instead. For more details, check this related thread: Razor SDK in .NET 6.

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

79739845

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

Many MacBook M1 users running macOS Monterey have experienced USB audio dropouts due to Core Audio glitches. This usually happens with external audio interfaces, especially when running heavy sessions or multiple USB devices. Updating macOS, resetting the SMC/NVRAM, and trying a different USB hub or cable can often reduce the issue. If the problem continues, it may require professional diagnosis to check whether it’s a system conflict or hardware-related. For expert help with MacBook Repair in Dubai, you can visit Prabhath Mac Care

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sai Tech Digital Marketing

79739844

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

The new version of gitk included with Git 2.51.0 allows hiding these.

Go to Edit -> Preferences, and in the "Refs to hide" box enter prefetch/*.

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

79739833

Date: 2025-08-19 11:23:46
Score: 1
Natty:
Report link

Since (as per the question) "It is not mandatory for this->name to be NUL-terminated." GCC __attribute__ ((nonstring)) in this->name declaration appears to be an appropriate solution.

See also 6.32.1 Common Variable Attributes in the Using the GNU Compiler Collection (GCC).

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

79739831

Date: 2025-08-19 11:22:45
Score: 2.5
Natty:
Report link

Cluster are built for high availability, official docs here

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

79739823

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

FWIW SQLite added support for a RETURNING clause in SQLite 3.35.0 (March 2021): https://www.sqlite.org/lang_returning.html

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

79739818

Date: 2025-08-19 11:15:43
Score: 1
Natty:
Report link

If you are using Tailwind v4, this will work for you.

bg-stone-900/75 here 75 is the opacity that will add opacity to this color as 0.75
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Nawab Ali

79739817

Date: 2025-08-19 11:14:43
Score: 0.5
Natty:
Report link

At the moment, the high-level gemini_model.generate_content method in the Vertex AI Python SDK doesn’t provide a built-in way to set fps metadata when using Part.from_uri(). However, the underlying Vertex API does support videoMetadata.fps if you construct the request manually or via the REST API. Until then, you'll need to choose between switching to a lower-level approach or waiting for a future SDK update. You can also submit a feature request to Google Cloud.

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

79739815

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

Just found the problem. Posting it here since the behavior is kind of interesting and other people might have the same problem.

The problem was the following:
OrderService is an interface - the mocking here was correct. But the implementation OrderServiceImpl was also mocked:

@Mock private OrderService orderService;
@Mock private OrderServiceImpl orderServiceImpl;

The names of the variables in my case were not as obvious as above so I overlooked it. After removing the Mock of the implementation, it works exactly as it should.

Interesting to me that there is no warning by Mockito when you mock an interface and the implementation for it. Also interesting that it sometimes worked and sometimes didn't - that made it really difficult to analyze.

Thanks for the comments which helped me finding the solution.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): have the same problem
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Mathias Bader

79739814

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

you just have to go to php.ini file and find this comment

;extension=gd

and than uncomment this line and after you can upload webp images in wordpress.

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

79739810

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

Thank you everyone for your responses. After further investigation, I discovered that there was a proxy in front of the application that was altering the query parameters. Once I identified the presence of the proxy, I tested the service both way, with and without proxy.

  1. Without the proxy, everything worked as expected.

  2. But with the proxy, the request failed.

Upon failure above logs appeared in the application logs. We have since adjusted the proxy configuration to ensure it no longer modifies the requests.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Muhammad Haseeb

79739802

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

I contacted Samsung about this and they confirmed that IBI data is still collected when the screen is off, but the delivery method changes to save battery. Instead of streaming in real time, the data is gathered with 1 Hz frequency in the background and delivered in batches every few minutes.

If you need to access the data sooner than the system delivers it, the flush() method can force an earlier update, though it may impact battery life.

In my own testing, I found that the IBI data collected when the screen was not on, was inaccurate and for my use case, not usable. This might vary depending on the device but it’s something to consider if you’re relying on high-quality data.

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

79739792

Date: 2025-08-19 10:47:36
Score: 0.5
Natty:
Report link

Convert the AggregateResult to a List<String>:

public class PickListHandler {
    @AuraEnabled
    public static List<String> getLevel1(){
        List<AggregateResult> groupedLevel1 = [SELECT Level_1__c, COUNT(id) FROM Case_Type_Data__c GROUP BY Level_1__c];
        List<String> level1Values = new List<String>(); // New list to store strings
        for(AggregateResult ar : groupedLevel1){
            // Explicitly cast to String
            level1Values.add(String.valueOf(ar.get('Level_1__c'))); 
            System.debug('Level Value Is' + ar.get('Level_1__c')); 
        }
        return level1Values; // Return the list of strings
    }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Tarun Teja