79759155

Date: 2025-09-08 16:45:38
Score: 1.5
Natty:
Report link

clean the migration dependencies.

a solution that has just worked in my case was resetting existing migrations, creating and running migrations afresh, then reinstalling djoser. it's likely that a mixup of migration dependencies so anything from; 1) deleting the database, 2) deleting pycache to 3)running replacement and recovery is a great approach to this problem.

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

79759154

Date: 2025-09-08 16:43:36
Score: 10 🚩
Natty: 6.5
Report link

didnt worked for me , can any one help me here ?have the same issue in RN 0.77.1

Reasons:
  • Blacklisted phrase (1): help me
  • Whitelisted phrase (-1): worked for me
  • RegEx Blacklisted phrase (3): can any one help me
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): have the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did
  • Low reputation (1):
Posted by: Eren yeager

79759131

Date: 2025-09-08 16:21:30
Score: 1
Natty:
Report link

In MacOS you can install just the client library from MySQL, in case you don't need the server.

brew install mysql-client

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Gabriel López Valencia

79759127

Date: 2025-09-08 16:17:28
Score: 4
Natty:
Report link

iOS 26+ New API

labelReservedIconWidth(_:)

https://developer.apple.com/documentation/swiftui/view/labelreservediconwidth(\_:)

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

79759110

Date: 2025-09-08 15:54:22
Score: 3.5
Natty:
Report link

You can rename it as different name then press the big blue "Save" when you opened it up.

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

79759109

Date: 2025-09-08 15:52:22
Score: 0.5
Natty:
Report link

I was fighting this a bit with while using Tiled and figured I'd throw up what I landed on here. In Tiled it's just a width/height with the ellipse flag toggled so this works for that.

static std::vector<std::pair<float, float>> ellipsePoints(const float &centerX, const float &centerY,
                                                          const float &horizontalRadius, const float &verticalRadius) {
    // Box2d only lets us have a max of 8.
    static constexpr size_t MAX_SEGMENTS = 8;
    std::vector<std::pair<float, float>> points;
    for (size_t i = 0; i < MAX_SEGMENTS; i++) {
        float theta = 2.0f * M_PI * i / MAX_SEGMENTS;
        float x = centerX + horizontalRadius * cosf(theta);
        float y = centerY + verticalRadius * sinf(theta);
        points.emplace_back(x, y);
    }

    return points;
};

enter image description here

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

79759106

Date: 2025-09-08 15:51:21
Score: 4
Natty: 4.5
Report link

JazzCash MWallet Integration in C# or asp dot net
https://github.com/owais924/JazzCash-Integration-ASP.NET-CSharp

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

79759101

Date: 2025-09-08 15:46:20
Score: 1
Natty:
Report link

A mixin in Ruby is a way to include reusable modules into classes without using traditional inheritance. Instead of extending a single parent class, you can mix in shared behavior across multiple classes using Ruby modules. This makes your code more modular, flexible, and easier to maintain.

Mixins are especially useful when you want to share functionality across unrelated classes, avoid code duplication, and keep your application clean and scalable. For example, you might create a module for logging, authentication, or payment handling and then mix it into different classes as needed.

👉 To dive deeper into how Ruby modules and mixins work, check out this detailed guide: Ruby Module

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

79759091

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

If you are using edge or chrome, do a hard reload in the browser. That fixed it for me.

Here's how to do that from How to Geek
Chrome, Firefox, or Edge for Windows: Press Ctrl+F5 (if that doesn't work, try Shift+F5 or Ctrl+Shift+R.)

Chrome or Firefox for Mac: Press Shift+Command+R.

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

79759085

Date: 2025-09-08 15:28:15
Score: 4
Natty:
Report link

Can you check related questions first

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (0.5):
Posted by: Shineed Basheer

79759082

Date: 2025-09-08 15:24:14
Score: 2.5
Natty:
Report link

Have you found a solution?

Setting extendedLayoutIncludesOpaqueBars = true in my viewController doesn't work.

Is your viewController containing a UIScrollView? I discovered there's a subview of type _TtCE5UIKitCSo15_UIScrollPocket12BackdropView in UIScrollView, and by setting its backgroundColor to nil, the extra backgroundColor disappears, allowing content to extend behind the TabBar. But again, this approach feels too hack.

I tried to find where the backgroundColor was being set to an actual color value, but found nothing.

Strangely, my tabBarController has four viewControllers - three tabs exhibit your issue, but one tab's viewController has no occlusion and extends properly... yet I can't find any different property setting that would cause this behavior...

Reasons:
  • RegEx Blacklisted phrase (2.5): Have you found a solution
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Jpache

79759071

Date: 2025-09-08 15:12:11
Score: 5.5
Natty: 5.5
Report link

I don't have an answer, but which library are you using for force Atlas 2?

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

79759047

Date: 2025-09-08 14:56:07
Score: 3.5
Natty:
Report link

So i find out. I was executing the python from another path and as i used a ./ path to get the images it couldn't find it.

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

79759043

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

Chayim Friedman was correct in her comment.

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

79759037

Date: 2025-09-08 14:48:02
Score: 3.5
Natty:
Report link

Some years ago, I made a glossary plugin for Jekyll. It is not automatic as you describe, but still easy to use.

Check it out here: https://github.com/erikw/jekyll-glossary_tooltip/

Reasons:
  • Blacklisted phrase (0.5): Check it out
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Erikw

79759023

Date: 2025-09-08 14:31:57
Score: 3.5
Natty:
Report link

you could've just const { id } = pb.collections("posts").create()

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

79759020

Date: 2025-09-08 14:27:56
Score: 3.5
Natty:
Report link

Common causes for this error include:

Reasons:
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): check this link
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nisal Umayanga

79759014

Date: 2025-09-08 14:24:55
Score: 1.5
Natty:
Report link

@snhou answer helped me figuring out a bug in FTPHost, it always defaults to port 21:


    class ImplicitFTP_TLS(FTP_TLS):
        port = 990
        _sock = None
        def __init__(self, *args, **kwargs):
            super().__init__(*args, **kwargs)
            self.prot_p()
        ...

Then you can do:

    fhost = FTPHost(host, user, pw, session_factory=ImplicitFTP_TLS)
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @snhou
  • Low reputation (1):
Posted by: jonragnarsson

79759006

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

I ran into the same issue with **Laravel’s `temporaryUrl()` and MinIO** that you’re discussing here.

To solve it, I built a small package: [hosni/laravel-temporary-urls-minio](https://packagist.org/packages/hosni/laravel-temporary-urls-minio)

It works like this:

* Laravel still works with your internal `AWS_ENDPOINT` (e.g. `http://minio:9000`).

* But it uses (`MINIO_PUBLIC_URL`) which you have defined in your `filesystems.php` config file as `temporary_url` to sign URLs.

* The result is a valid, signed, **publicly accessible** temporary URL that works with `Storage::disk('minio')->temporaryUrl()` or even packages like [spatie/laravel-medialibrary](https://github.com/spatie/laravel-medialibrary).

Installation is one line:

```bash

composer require hosni/laravel-temporary-urls-minio

```

Then just add:

```php

'temporary_url' => env('MINIO_PUBLIC_URL'),

```

to your disk config. After that, everything **just works**, no need to duplicate the S3 driver or rely on `/etc/hosts` hacks.

Full README: [https://github.com/hosni/laravel-temporary-urls-minio](https://github.com/hosni/laravel-temporary-urls-minio)

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

79759004

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

https://github.com/web3infra-foundation/mega is a monorepo & monolithic codebase management system that supports Git, it is designed to manage large-scale codebases, streamline development, and foster collaboration. Mono is an unofficial open source implementation of Google Piper.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): is a
  • Low reputation (0.5):
Posted by: Quanyi Ma

79758994

Date: 2025-09-08 14:09:51
Score: 1
Natty:
Report link

Adding another source that could cause this issue:

In the module settings of the project -> module affected -> check if the folder of the classes that you want to import, are set as "source folder" multiple times.

If the folder is present multiple times IntelliJ will have internal conflict and will start to add the classes in the folder only by their fully qualified names.

Remove the voices of such folder until only one remains and then do a maven reload.

Now the classes should be imported correctly on top of the file.

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

79758992

Date: 2025-09-08 14:09:51
Score: 0.5
Natty:
Report link

There's no need to rely on Google Translator's Kit to batch translate HTML or PHP-coded files. A good approach is to extract your translatable strings into PO files, translate them with a proper translation memory tool, then rebuild your localized HTML or templates. This prevents your PHP tags or attributes from being altered.

**Option 1: Translate Toolkit (html2po / po2html)**

1. Extract strings to a POT template:

```

html2po -P src/ locale/templates.pot

```

2. Create a per-language PO file and translate:

```

msginit -i locale/templates.pot -l fr -o locale/fr.po

# translate locale/fr.po with your editor (Poedit, Virtaal, etc.)

```

3. Build the localized HTML:

```

po2html -t src/ locale/fr.po build/fr/

```

Repeat for each language. Your original HTML remains untouched; only new or changed strings need translating when you update your source.

**Option 2: po4a (PO for anything)**

This is useful when you have many files. Configure a `po4a.cfg`:

```

[po4a_langs] fr de es

[po4a_paths] locale/$lang.po

[type: xhtml] src/*.html $lang:build/$lang/%.html

```

Run `po4a-updatepo` to extract or update strings, then `po4a-translate` to produce localized HTML once translations are done.

**Best practices**

- Use UTF-8 encoding.

- Do not translate IDs, anchors or data- attributes. Do translate `alt` and `title` attributes if you need them localized.

- Keep your sentences well-formed so they extract cleanly.

- Test the output with a link checker.

If you prefer a hosted workflow instead of running tools locally, there are many translation management services that accept HTML or PO and preserve your tags. For example, Pairaphrase can import PO or HTML files, apply translation memory and glossaries, and then export localized HTML without stripping your PHP tags. Other platforms like Smartling, memoQ and Weblate offer similar features. The key is to use a tool designed for software translation rather than a general web translator.

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

79758988

Date: 2025-09-08 14:05:50
Score: 1
Natty:
Report link

from datetime import datetime

import pytz

from flatlib.chart import Chart

from flatlib.datetime import Datetime

from flatlib.geopos import GeoPos

# بياناتك

your_birth_date = '1996-06-06'

your_birth_time = '16:30'  # 4:30 PM

your_birth_place = GeoPos('31.2653', '32.3019')  # بورسعيد، مصر

# بيانات الشريك (نفترض 12:00 ظهرًا)

partner_birth_date = '1983-08-15'

partner_birth_time = '12:00'

partner_birth_place = GeoPos('39.9208', '32.8541')  # أنقرة، تركيا

# إعداد التواريخ

your_dt = Datetime(your_birth_date, your_birth_time, '+02:00')

partner_dt = Datetime(partner_birth_date, partner_birth_time, '+03:00')  # توقيت تركيا

# إنشاء الخرائط الفلكية

your_chart = Chart(your_dt, your_birth_place)

partner_chart = Chart(partner_dt, partner_birth_place)

# الكواكب المراد تحليلها

planets = ['SUN', 'MOON', 'VENUS', 'MARS', 'MERCURY']

# استخراج مواقع الكواكب

your_positions = {planet: your_chart.get(planet).sign for planet in planets}

partner_positions = {planet: partner_chart.get(planet).sign for planet in planets}

print("مواقع كواكبك:")

print(your_positions)

print("\nمواقع كواكب الشريك:")

print(partner_positions)

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

79758973

Date: 2025-09-08 13:53:46
Score: 2.5
Natty:
Report link

@Zegarek:

I'm using only one db, only one session, only one connection, so by PgAdmin and ODBC.

The function has the variable "doppie_ricette" declared locally, and this name is never used elsewhere.

The very problems are:

  1. In the test cases, the query used in the cursor "doppie_ricette" never returns any row.

  2. If I execute - like all the processing data before this procedure - in the PgAdmin environment, everything goes well, without errors; but if I do this in a PowerBuilder (12.6) program, doing exactly the same steps, when I call this procedure I obtain the error. The sequence of operations (INSERTs, CALLs) is obviously the same, and it's on a unique connection on the same PG 17 DB.

I have done only one direct setting of the ODBC connection: "SET CLIENT_ENCODING TO 'UTF8'", for the rest the configuration of the ODBC is the original one.

A

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @Zegarek
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Andrea Ricci

79758971

Date: 2025-09-08 13:51:46
Score: 2
Natty:
Report link

reportXmlFile value is " D:\Repos\<redacted>\<redacted>\<redacted>.ViewModel.Test\TestResults\dc51ad10-1170-46f2-8717-e0be4990e439\coverage.cobertura.xml". I did not notice the preceding spaces and this seems to have caused the weird behaviour, though I'm not sure why. Trimming the input string to remove the two leading spaces has the FullName property returning a complete path now.

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

79758967

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

If there are multiple handlers attached to the logger, following returns the file name from logger.

[os.path.basename(handler.baseFilename) for handler in logger.handlers if isinstance(handler, logging.FileHandler)]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Abhishek Sourabh

79758958

Date: 2025-09-08 13:43:43
Score: 2
Natty:
Report link

There were some limitations with the official AWS Geo Library (one being it is now deprecated!), so I ended up going back to basics and doing this manually with geohashes. I've written up my approach with an example repo here: https://dev.to/ianbrumby/effective-handling-of-geospatial-data-in-dynamodb-1hmn

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

79758957

Date: 2025-09-08 13:42:43
Score: 3
Natty:
Report link

One of the possible reasons for PEP 517 error - library python3.x-dev not installed for the relevant python version.

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

79758924

Date: 2025-09-08 13:15:35
Score: 1.5
Natty:
Report link

According to the documentation TailwindsCss Margin, by default it has a limited values based on the most used spaces. But you can define your own theme.
And sometimes based on my experience with some PDF libs not all classes works. Try to use Style instead of class.

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

79758922

Date: 2025-09-08 13:13:34
Score: 3
Natty:
Report link

add the transform "...transform="rotate(180 1731 -1211)"" in your exsisting text dy next to font size. That should solve the issue.


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

79758916

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

Put an empty file in src folder to pydoc detecets your folders too.

main.py
src/
├── __init__.py   # Empy file
├─ cli.py
└─ ui.py

you can run this command in linux:

touch src/__init__.py

or create this file by gui.

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

79758915

Date: 2025-09-08 13:09:32
Score: 4
Natty: 5
Report link

Submitted:

# softly kill Finder

killall -SIGINT Finder

-> received error msg “No matching processes belonging to you were found,” but continued anyway with:

“sleep 0.3

# open Finder

open /Developer/Applications/Finder.app”

-> received error msg “The file /Developer/Applications/Finder.app does not exist.”

Thanks for any help you can provide to relaunch Finder.app without reboot! 🙏🏽

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): any help
  • Blacklisted phrase (0.5): 🙏
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Sleo007

79758908

Date: 2025-09-08 13:03:30
Score: 1
Natty:
Report link

The answer which i came up with for my situation in the end was way simpler than i thought it was going to be, i just needed a password text input field so:

using BasicSecureTextField instead of TextInput which as parameter has textObfuscationMode = TextObfuscationMode.RevealLastTyped, this is definitately the preferred way of making a password input field for accessibility as well as all the inert functionality you would want in a password input field

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

79758906

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

I had the same problem, setting :autodetect="false" fix it

props: {
      language: 'javascript',
      autodetect: false,
      code: codeSnippet
    }
Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Yoav Karpeles

79758905

Date: 2025-09-08 13:03:30
Score: 1.5
Natty:
Report link

For me The issue was that I had only uploaded the production APNs Auth Key.

For development builds, you also need to upload the Development APNs Auth Key (.p8) from Apple Developer (sandbox key) into Firebase. Once I uploaded that as well, push notifications started working. That was the missing piece.

Get your keys from :
https://developer.apple.com/account/resources/authkeys/add

And upload it to Firebase:
enter image description here

Reasons:
  • Probably link only (1):
  • No code block (0.5):
Posted by: Adel Mourad

79758888

Date: 2025-09-08 12:47:26
Score: 2.5
Natty:
Report link

You can solve this using the flutter_device_apps plugin. It works on Android and lets you list installed apps, get details, launch them, open App Settings, uninstall, and listen for app changes.

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

79758886

Date: 2025-09-08 12:45:25
Score: 2.5
Natty:
Report link

You can solve this using the flutter_device_apps plugin. It works on Android and lets you list installed apps, get details, launch them, open App Settings, uninstall, and listen for app changes.

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

79758884

Date: 2025-09-08 12:44:23
Score: 7.5 🚩
Natty: 6.5
Report link

Can you pls help me to know how to pass header in EDIFACT request in Jmeter

HEADER_COOKIE...1...............EDIFACT.........................sender001recv....4382............000056449485...MDRES...........4334

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Can you pls help me to
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): Can you
  • Filler text (0.5): ...............
  • Filler text (0): .........................
  • Filler text (0): ............
  • Filler text (0): ...........
  • Low reputation (1):
Posted by: anil kumar

79758879

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

Try this VideoSurface custom view:

import android.content.Context
import android.graphics.SurfaceTexture
import android.media.MediaPlayer
import android.net.Uri
import android.util.AttributeSet
import android.view.Surface
import android.view.TextureView
import android.view.TextureView.SurfaceTextureListener

/**
 * A [TextureView]-based custom video surface that wraps [MediaPlayer] for
 * lightweight video playback. This class allows playing looping videos inside
 * a Compose `AndroidView` or traditional Views without requiring ExoPlayer.
 *
 * Usage:
 * ```
 * val videoSurface = VideoSurface(context).apply {
 *     setSource(videoUri)
 *     setOnPreparedListener { mp ->
 *         // do something when ready, e.g. hide loader
 *     }
 *     setOnCompletionListener {
 *         // handle completion if looping is disabled
 *     }
 *     setOnErrorListener { mp, what, extra ->
 *         // handle error
 *         true
 *     }
 * }
 * ```
 *
 * Notes:
 * - Releases its [MediaPlayer] automatically on [onDetachedFromWindow].
 * - You must call [setSource] before the surface is available.
 * - Starts playback automatically once prepared.
 */
class VideoSurface @JvmOverloads constructor(
    context: Context,
    attrs: AttributeSet? = null,
    defStyle: Int = 0
) : TextureView(context, attrs, defStyle), SurfaceTextureListener {

    private val mediaPlayer = MediaPlayer()
    private var source: Uri? = null
    private var completionListener: MediaPlayer.OnCompletionListener? = null
    private var preparedListener: MediaPlayer.OnPreparedListener? = null
    private var errorListener: MediaPlayer.OnErrorListener? = null

    init {
        surfaceTextureListener = this
    }

    /**
     * Sets the video source [Uri].
     *
     * Must be called before the surface is available for playback to start.
     */
    fun setSource(source: Uri?) {
        this.source = source
    }

    /**
     * Registers a listener to be notified when playback completes.
     */
    fun setOnCompletionListener(listener: MediaPlayer.OnCompletionListener?) {
        completionListener = listener
    }

    /**
     * Registers a listener to be notified when the video is prepared.
     */
    fun setOnPreparedListener(listener: MediaPlayer.OnPreparedListener?) {
        preparedListener = listener
    }

    /**
     * Registers a listener to be notified when an error occurs during playback.
     */
    fun setOnErrorListener(listener: MediaPlayer.OnErrorListener?) {
        errorListener = listener
    }

    /**
     * Releases the [MediaPlayer] when the view is detached.
     */
    override fun onDetachedFromWindow() {
        mediaPlayer.reset()
        super.onDetachedFromWindow()
    }

    override fun onSurfaceTextureAvailable(
        surfaceTexture: SurfaceTexture,
        width: Int,
        height: Int
    ) {
        val surface = Surface(surfaceTexture)
        try {
            mediaPlayer.apply {
                setOnCompletionListener(completionListener)
                setOnErrorListener(errorListener)
                setSurface(surface)

                isLooping = true
                source?.let { setDataSource(context, it) }

                setOnPreparedListener { mp ->
                    start()
                    preparedListener?.onPrepared(mp)
                }

                prepareAsync()
            }
        } catch (e: Exception) {
            e.printStackTrace()
            mediaPlayer.reset()
        }
    }

    override fun onSurfaceTextureSizeChanged(surface: SurfaceTexture, width: Int, height: Int) = Unit

    override fun onSurfaceTextureDestroyed(surface: SurfaceTexture): Boolean {
        surface.release()
        return true
    }

    override fun onSurfaceTextureUpdated(surface: SurfaceTexture) = Unit
}
Reasons:
  • Blacklisted phrase (2): Try this Video
  • Blacklisted phrase (1): this Video
  • Long answer (-1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Homayoon Ahmadi

79758877

Date: 2025-09-08 12:35:20
Score: 2
Natty:
Report link

You can solve this using the flutter_device_apps plugin. It works on Android and lets you list installed apps, get details, launch them, open App Settings, uninstall, and listen for app changes. About permissions, I don’t have information.

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

79758873

Date: 2025-09-08 12:31:19
Score: 0.5
Natty:
Report link

This will likely be possible through the clusterOptions directive. However, this depends on how the SLURM servers were set up, and if you can specify CPU types through the normal cluster submit commands.

If you can choose specific CPUs through a normal job submission, you can just add the relevant parameters to the process block. See the examples in the documentation link above.

Reasons:
  • No code block (0.5):
Posted by: dthorbur

79758864

Date: 2025-09-08 12:26:17
Score: 1
Natty:
Report link

I have found a lot of garbage in my application produced by proxy that is created around of lazy injected dependency. In my case it was a cause of 5% of total allocation rate.

I strongly do not recommend to fix cyclic dependencies via Lazy annotation in case of huge request rate on that dependency(in my case it was ~60000 per second).

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

79758857

Date: 2025-09-08 12:18:15
Score: 2
Natty:
Report link

This seems to be an issue when you run it on an OS that doesn't let Netty resolve the domain, specifically running Quarkus on Windows. When I use WSL (Fedora, in my case), the issue is resolved.

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

79758851

Date: 2025-09-08 12:11:13
Score: 2
Natty:
Report link
export const createMyApi = (baseUrl, getTokenFunction) => {
  const newBaseQuery = fetchBaseQuery({
    baseUrl,
    prepareHeaders: (headers) => {
      headers.set('Authorization', `Bearer ${getTokenFunction()}`);
      return headers;
    },
  });
  return ???
};
Reasons:
  • Blacklisted phrase (1): ???
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ramazon Yaxyoyev

79758849

Date: 2025-09-08 12:09:12
Score: 0.5
Natty:
Report link

Download an updated version of Edge WebDriver to match the browser version you are using, or let Selenium Manager manage the correct version for you.

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

79758848

Date: 2025-09-08 12:09:12
Score: 1.5
Natty:
Report link

Yes you can achieve a non executable image in docker by using a distroless node image I'll post you a sample source code bellow to have an idea on how to use distroless images.

FROM node:20 AS builder

WORKDIR /usr/src/app

COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build

FROM gcr.io/distroless/nodejs:18

COPY --from=builder /usr/src/app /usr/src/app
WORKDIR /usr/src/app
CMD ["dist/main"]

You can find source of this image here:
https://console.cloud.google.com/artifacts/docker/distroless/us/gcr.io/nodejs/sha256:b534f9b5528e69baa7e8caf7bcc1d93ecf59faa15d289221decf5889a2ed3877

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Taha Ali

79758841

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

It works now thank you for all of your help;

class homeView(View):
    def get(self, request):
        data = recipemeal.objects.all().order_by("-id")
        
        context ={
            "recipes":data,
            "form":RecipeForm()
        }
        return render(request, "index.html", context)
    
    def post(self, request):
        form = RecipeForm(request.POST)
        
        if form.is_valid():
            form.save()
            return redirect("home")

        data = recipemeal.objects.all().order_by("-id")
        
        context = {
                "recipes": data,
                "form": form
            }
        
        return render(request, "index.html", context)
Reasons:
  • Blacklisted phrase (0.5): thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: DAVE LOVE

79758839

Date: 2025-09-08 12:01:10
Score: 2.5
Natty:
Report link

Find and copy your .p2 folder(usually in C:\Users\user\.p2) from old windows location to new windows location.

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

79758833

Date: 2025-09-08 11:51:08
Score: 2.5
Natty:
Report link

The issue was SVG assets which were having 6-7 page long code for them .

Solution :- Only use SVG assets whose codes are max 7-8 line long , else use Png, but not compromising the quality use 4x png and wrap it in fixed height and size .

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

79758822

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

Posting for documenting the most likely cause of this issue for future reference:

I recently ran into this issue myself and couldn't figure it out from searching stack-overflow threads.
After spending considerable time in my debugger following a file request end-to-end, it turns out that
the culprit for me was the SENDFILE_BACKEND variable in the settings.
This was still set to our production environment settings for nginx:
SENDFILE_BACKEND = "django_sendfile.backends.nginx"

for local development django_sendfile.backends.simple works:
SENDFILE_BACKEND = "django_sendfile.backends.simple"

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

79758814

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

This is my new approach.

But it does not work as expected;

When I close the page and restart the development server, it works perfectly fine for the first time. But after that it does not work. I surely don't have any idea about what's going one.

class homeView(View):
    def get(self, request):
        data = recipemeal.objects.all().order_by("-id")
        
        context ={
            "recipes":data,
            "form":RecipeForm()
        }
        return render(request, "index.html", context)
    
    def post(self, request):
        form = RecipeForm(request.POST)
        
        if form.is_valid():
            form.save()
            
        data = recipemeal.objects.all().order_by("-id")
        context = {
                "recipes": data,
                "form": RecipeForm()
            }
        
        return render(request, "index.html", context)
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: DAVE LOVE

79758808

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

The error happens because now UUID (onwards 12+) is ESM-only and no longer supports require().

My recommendation (since you’re on Node.js 20 and starting fresh):
Switch your project to ESM ("type": "module" in package.json) and use:

import { v4 as uuidv4 } from 'uuid';

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

79758793

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

Jackson is able to filter during parsing. Only the json node you asked for is created.

reader = new ObjectMapper().reader().at("/../phoneNumbers");
JSonNode phoneNumbersNode = reader.readTree(...)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kees Kuip

79758792

Date: 2025-09-08 10:59:54
Score: 2
Natty:
Report link

from string import Template

ImportError: cannot import name 'Template' from 'string' (consider renaming 'c:\\Users\\abila\\OneDrive\\Desktop\\python\\string.py' since it has the same name as the standard library module named 'string' and prevents importing that standard library module)

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

79758776

Date: 2025-09-08 10:43:50
Score: 1
Natty:
Report link

Add this import at the top of your App.jsx file:

import '@mui/material/styles/styled';

This should fix the error.

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

79758771

Date: 2025-09-08 10:40:49
Score: 1.5
Natty:
Report link

Sorry, but I need to answer this question with another, as IMHO the problem is not well defined:

KEYCODES identify keys at a keyboard, so they have identities for keys like ENTER or PAGE UP, F1, HOME or the like. Not all keys map easily to unicode symbols, e.g. there's a 5 key in the numeric pad in the side of the keyborar, but there's also a 5 key in the main keyboard, both have different KEY_IDs, so you have to think how these actually map into unicode? Both these keys (5 in main keyboard and 5 in side keypad) have different meanings if pressed with modifier keys pressed (Ctrl, Alt, Shift, Meta, ...), so, which one are you talking about and how can Unicode help you to assign some codepoint to it?

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Looks like a comment (1):
  • High reputation (-2):
Posted by: Luis Colorado

79758763

Date: 2025-09-08 10:34:48
Score: 1
Natty:
Report link

Metadata plays significant role in performance of object storage. It acts as key reference for the actual data. So to get actual data needs less scan.

Metadata can be overhead if it has lots of metrics involved basically it would degrades performance by taking longer time to scan metadata itself.

Also keeping Metadata on All-flash storage container helps improvement of speed.

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

79758762

Date: 2025-09-08 10:32:47
Score: 1
Natty:
Report link

Updating for future readers
From the poetry documentation

This is the recommended way to activate the current env:

eval $(poetry env activate)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: nirlevywm

79758761

Date: 2025-09-08 10:32:47
Score: 1
Natty:
Report link

Maybe you have recently changed your GitHub username, the old profile link will break and return 404. Verify the exact URL, GitHub URLs are case-insensitive, but sometimes copy-pasting causes errors.

Sometimes GitHub flags accounts for unusual activity (spam detection, violation, or security concerns). In that case, your account looks normal when you’re logged in, but it’s hidden publicly (404 for others). Check your email for any notices from GitHub. If you see “suspension” or “flagged” messages, you’ll need to contact GitHub Support.

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

79758760

Date: 2025-09-08 10:31:47
Score: 2.5
Natty:
Report link

You can use @Size as bean validation annotation so validate the size of a collection, map, array or charSequence.

see the documentation at https://jakarta.ee/specifications/bean-validation/3.0/apidocs/jakarta/validation/constraints/size

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @Size
  • Low reputation (0.5):
Posted by: matthias

79758753

Date: 2025-09-08 10:24:45
Score: 2
Natty:
Report link

Please check if your URL is spelled correctly, and make sure you haven’t recently changed your GitHub profile username. If the URL matches your username, you can refer to this discussion: https://github.com/orgs/community/discussions/55609. In that case, you might need to contact GitHub Support.

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

79758749

Date: 2025-09-08 10:17:43
Score: 0.5
Natty:
Report link

Update 2025: I had the same issue on SSMS 13.0, and tried all the above solutions without success: Changing default language, deactivation of eventual extensions, change color settings, delete whole folder of user data.

I saw somewhere there might be a known issue with these old version of SSMS. So I installed the last SSMS version (21) and the problem is now solved.

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

79758746

Date: 2025-09-08 10:15:42
Score: 1.5
Natty:
Report link

The package https://github.com/trygvrad/colorstamps will allow you to do what you want:

import matplotlib.pyplot as plt
import colorstamps

img = colorstamps.helpers.get_random_data() # numpy array of shape (100,200,2) with 2d data to plot    
rgb, stamp = colorstamps.apply_stamp(img[:,:,0], img[:,:,1], 'peak',
                                   vmin_0 = -1.2, vmax_0 = 1.2,
                                   vmin_1 = -1, vmax_1 = 1,
                                 )

fig, axes = plt.subplots(1,2,figsize=(10,3), dpi = 100)    
axes[0].imshow(rgb)

# show colormap as overlay
overlaid_ax = stamp.overlay_ax(axes[0], lower_left_corner = [0.7,0.85], width = 0.2)
overlaid_ax.set_ylabel(r'$\phi$')
overlaid_ax.set_xlabel(r'$\omega$')

# also show colormap as in separate ax to illustrate functionality
stamp.show_in_ax(axes[1])
axes[1].set_ylabel(r'$\phi$')
axes[1].set_xlabel(r'$\omega$')

enter image description here

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

79758739

Date: 2025-09-08 10:08:40
Score: 2.5
Natty:
Report link

Thanks SBKubic,

Optimized schemes (such as functions) no longer inherit the actual dict of local variables but instead receive a copy when calling locals(). Mutating that dict does not affect the actual local namespace; therefore, setting locals()[name] = value does not create the variable in the function, and subsequent calls to locals()[name] will still cause it to be missing, raising a KeyError when accessing it. This is part of the new semantics for locals() introduced in Python 3.13 (PEP 667).

In my example, since, as I mentioned, the three lines are in a loop, the Tkinter text widget only keeps visible the images that still have a live reference in Python. In my loop, I'm assigning each new PhotoImage to the same global variable locals_variable, so previous references are lost and removed by Python's garbage collector. That's why only the last inserted image remains.

To keep all PhotoImage instances alive, for example, store them in a global list or as a widget attribute:

imagenes = []

def add_image():

    img = PhotoImage(file='../Figuras_Ayuda/Fig10.png')
    imagenes.append(img)
    my_text.image_create(END,image=img)
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (2): Ayuda
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user28238345

79758738

Date: 2025-09-08 10:07:39
Score: 2.5
Natty:
Report link

I'm not sure it covers all your requirements, but qView can be used to easily browse from image to image, and it can be installed via HomeBrew.

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

79758731

Date: 2025-09-08 09:57:37
Score: 1
Natty:
Report link

Try to add stdin_open: true and tty: true into your docker-compose.yml. It will enable interactive shell.

services:
  arrow-working:
    image: php:8.1.11-fpm-alpine
  arrow-not-working:
    image: postgres:15.2
    stdin_open: true
    tty: true
    environment:
      POSTGRES_PASSWORD: foo
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: arpzigger

79758728

Date: 2025-09-08 09:56:36
Score: 3.5
Natty:
Report link

I have seen the same error, ubuntu22.04+gcc11.4+python3.12.0+cuda 12.4.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: 曾小福气xiaofu

79758726

Date: 2025-09-08 09:51:35
Score: 1
Natty:
Report link

Use the map property, which sets the maps it should be rendered on:

// remove marker from the map
markerToRemove.map = null;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mycolaos

79758725

Date: 2025-09-08 09:51:35
Score: 1.5
Natty:
Report link

Hey In the above Question in place of comparison you are assigning value `

col[19]="ALERT"

` replace with `

col[19]=="ALERT"

`

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

79758714

Date: 2025-09-08 09:42:33
Score: 1.5
Natty:
Report link

Do you also want to keep the curent state or do you want to rebuild state from scratch?

If you want to create new state, the first option described could work. You just need to start fresh and ignore the current state.

If previous state is important to you, I'd create a new Kafka source with different naming/uid to drink the data. Therefore Flink will understand that as a new piece.

The issue is that Flink does not rely on kafka consumer groups. It relies on its own mechanism of offsets.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Pedro Mázala

79758709

Date: 2025-09-08 09:30:30
Score: 3.5
Natty:
Report link

\>NETWORK SERVICE
Youhouuuuhhh ! It works ! (it was not obvious !)

Thanks a lot.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: JL B

79758706

Date: 2025-09-08 09:27:30
Score: 3
Natty:
Report link
header 1 header 2
cell 1 cell 2
cell 3 cell 4wifi moke
Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Guddu pal Guddu pal

79758698

Date: 2025-09-08 09:18:27
Score: 0.5
Natty:
Report link

The permission errors you're seeing every week are due to a security policy for unverified Google Apps Script projects. When a script with broad permissions (like editing all your spreadsheets) is triggered automatically, Google forces a re-authorization after about a week to ensure a user is still in control of the app.

How to Fix It

You have two main options:

  1. Get Your Script Verified: This is the best long-term solution. You need to publish your script as a Google Workspace Marketplace app through the Google Cloud Platform (GCP) console. Go to your script's settings, find the associated GCP project, and submit the OAuth consent screen for verification. Once approved, the permissions will no longer expire.

  2. Use a Document-Bound Script: If the script is for personal use, link it directly to a specific Google Sheet instead of making it a standalone script. Document-bound scripts are generally more stable with triggers and might not require re-authorization as frequently, though this isn't a guaranteed fix.

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

79758692

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

I feel like the other answers are dancing around your issue.

You want your upgraded changes to reflect inside pubspec.yaml then use --tighten.

From dart pub upgrade --help:

--tighten Updates lower bounds in pubspec.yaml to match the resolved version.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Joachim Bülow

79758686

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

You can also try Bitquery API to get crypto prices on different DEXs across multiple chains-

Here, try this API on the IDE - https://ide.bitquery.io/wbtc-price-on-uniswap-and-sushiswap

Full Disclosure - I work at Bitquery

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Akshat Meena

79758676

Date: 2025-09-08 08:54:21
Score: 4
Natty:
Report link

I faced the same issue. then I downgraded Apache cxf to 4.0.4. It didn't show up again.

But still wondering if there is any solution for this

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Chun Yueh

79758675

Date: 2025-09-08 08:54:21
Score: 2
Natty:
Report link

I used the package: Azure.Data.Tables, Version=12.9.1.0

enter image description here
And I used the method: GetEntityIfExistsAsync by giving a specific Partition Key and Row Key to check the entity before deleting it.

Hope it helps your case

Reasons:
  • Whitelisted phrase (-1): Hope it helps
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: GiangMH

79758661

Date: 2025-09-08 08:34:15
Score: 4.5
Natty:
Report link

working cpp implementation here:
https://github.com/milsanore/trader.cpp/blob/master/src/MyApplication.cpp#L55

Reasons:
  • Probably link only (1):
  • Contains signature (1):
  • Low length (2):
  • No code block (0.5):
Posted by: mils

79758659

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

Commodore BASIC 2.0 does -NOT- have the following statements:
- CLS
- SLEEP

You can do an "empty loop" with FOR K=1 TO 1000:NEXT to wait approximately 1 sec.
To clear the screen, the command is PRINT CHR$(147)

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

79758656

Date: 2025-09-08 08:24:12
Score: 0.5
Natty:
Report link

Excerpted from the boost::beast official example
(https://github.com/boostorg/beast/blob/164db4bc57707b02550a53902cb1c138da99789f/example/advanced/server-flex-awaitable/advanced_server_flex_awaitable.cpp#L214)

class task_group
{
    std::mutex mtx_;
    net::steady_timer cv_;
    std::list<net::cancellation_signal> css_;

public:
    task_group(net::any_io_executor exec)
        : cv_{ std::move(exec), net::steady_timer::time_point::max() }
    {
    }

    task_group(task_group const&) = delete;
    task_group(task_group&&)      = delete;

    /** Adds a cancellation slot and a wrapper object that will remove the child
        task from the list when it completes.

        @param completion_token The completion token that will be adapted.

        @par Thread Safety
        @e Distinct @e objects: Safe.@n
        @e Shared @e objects: Safe.
    */
    template<typename CompletionToken>
    auto
    adapt(CompletionToken&& completion_token)
    {
        auto lg = std::lock_guard{ mtx_ };
        auto cs = css_.emplace(css_.end());

        class remover
        {
            task_group* tg_;
            decltype(css_)::iterator cs_;

        public:
            remover(
                task_group* tg,
                decltype(css_)::iterator cs)
                : tg_{ tg }
                , cs_{ cs }
            {
            }

            remover(remover&& other) noexcept
                : tg_{ std::exchange(other.tg_, nullptr) }
                , cs_{ other.cs_ }
            {
            }

            ~remover()
            {
                if(tg_)
                {
                    auto lg = std::lock_guard{ tg_->mtx_ };
                    if(tg_->css_.erase(cs_) == tg_->css_.end())
                        tg_->cv_.cancel();
                }
            }
        };

        return net::bind_cancellation_slot(
            cs->slot(),
            net::consign(
                std::forward<CompletionToken>(completion_token),
                remover{ this, cs }));
    }

    /** Emits the signal to all child tasks and invokes the slot's
        handler, if any.

        @param type The completion type that will be emitted to child tasks.

        @par Thread Safety
        @e Distinct @e objects: Safe.@n
        @e Shared @e objects: Safe.
    */
    void
    emit(net::cancellation_type type)
    {
        auto lg = std::lock_guard{ mtx_ };
        for(auto& cs : css_)
            cs.emit(type);
    }

    /** Starts an asynchronous wait on the task_group.

        The completion handler will be called when:

        @li All the child tasks completed.
        @li The operation was cancelled.

        @param completion_token The completion token that will be used to
        produce a completion handler. The function signature of the completion
        handler must be:
        @code
        void handler(
            boost::system::error_code const& error  // result of operation
        );
        @endcode

        @par Thread Safety
        @e Distinct @e objects: Safe.@n
        @e Shared @e objects: Safe.
    */
    template<
        typename CompletionToken =
            net::default_completion_token_t<net::any_io_executor>>
    auto
    async_wait(
        CompletionToken&& completion_token =
            net::default_completion_token_t<net::any_io_executor>{})
    {
        return net::
            async_compose<CompletionToken, void(boost::system::error_code)>(
                [this, scheduled = false](
                    auto&& self, boost::system::error_code ec = {}) mutable
                {
                    if(!scheduled)
                        self.reset_cancellation_state(
                            net::enable_total_cancellation());

                    if(!self.cancelled() && ec == net::error::operation_aborted)
                        ec = {};

                    {
                        auto lg = std::lock_guard{ mtx_ };

                        if(!css_.empty() && !ec)
                        {
                            scheduled = true;
                            return cv_.async_wait(std::move(self));
                        }
                    }

                    if(!std::exchange(scheduled, true))
                        return net::post(net::append(std::move(self), ec));

                    self.complete(ec);
                },
                completion_token,
                cv_);
    }
};
Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: rfoe

79758655

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

The way is to go to package-lock and replace the integrity property of the conflicted library with the expected sha512 signature.

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

79758647

Date: 2025-09-08 08:15:10
Score: 1
Natty:
Report link

event.preventDefault() prevents the browser from executing the default action associated with the event. For a submit button, the default action is sending the form data and reloading the page. By calling preventDefault() inside a submit handler, you stop the form from submitting normally, allowing you to handle the submission with JavaScript instead, such as validating the input, sending the data via AJAX, or updating the page dynamically without a full reload.

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

79758646

Date: 2025-09-08 08:15:10
Score: 3
Natty:
Report link

I am seeing the same behaviour: a date string is added to my release when using dynamic version base don git tag, any clue why this is happening ?

as in : 4.1.0+d20250908

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Pier

79758643

Date: 2025-09-08 08:13:09
Score: 2
Natty:
Report link

Proper solution would be to modify gcloudsdk package by chocolatey guys to not contain dangerous links

Workaround: Downgrade chocolatey to 150.0 - which of course means security might be compromised by CVE-2025-55188

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Ľubomír Mlích

79758638

Date: 2025-09-08 08:08:08
Score: 4.5
Natty: 4.5
Report link

not sure but these might help:
https://github.com/micrometer-metrics/micrometer/wiki/1.13-Migration-Guide
https://github.com/micrometer-metrics/micrometer/issues/5093

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

79758631

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

Short answer: You need to use CHAR or VARCHARwith a database that was installed with the Unicode character set.

Why?

Postgres stores all character in the character set chosen at installation.

See an extract of the character documentation

The characters that can be stored in any of these data types are determined by the database character set, which is selected when the database is created. 

And you can see it also in the previous link as there is no NCHAR or NVARCHAR, only CHAR or VARCHAR.

Reasons:
  • Blacklisted phrase (0.5): Why?
  • Has code block (-0.5):
  • Contains question mark (0.5):
Posted by: gerardnico

79758628

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

Funny thing, 1e6L dosn't compile, but 1000000L does.

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

79758627

Date: 2025-09-08 07:59:06
Score: 1.5
Natty:
Report link

Probably it depends on the encoding CCGMS is using. It allows ASCII or PETSCII.

I suppose you want to use standard PETSCII, which has different code, e.g. lowercase/uppercase are reversed, and ENTER key is coded with #13 instead of #10.

Some years ago I started a Java project which is essentially a framework to build such services (BBS-like) for Commodore 64, you can find it here: https://github.com/sblendorio/petscii-bbs

Hope you'll find it useful.

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

79758625

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

see: https://docs.github.com/en/get-started/learning-about-github/faq-about-changes-to-githubs-plans

dont look at that: ;f;;d;r;;;f;g;gitdd;lks;sudjsjlal;d;;;;ll;d;d;d;dodls;ldldlsls

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

79758624

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

Yellow, usually with Capacitor the "policy" is that the plugin itself is responsible for requesting permissions. So, if you’re using any plugin, it should handle the permission request.

If it doesn’t, or if you’re developing a feature locally and need to handle permissions yourself, you can use this plugin: https://github.com/Y-Smirnov/capacitor-native-permissions

Reasons:
  • Blacklisted phrase (1): this plugin
  • Whitelisted phrase (-1.5): you can use
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Timon939

79758610

Date: 2025-09-08 07:27:58
Score: 3
Natty:
Report link

One of the common issue reason behind this is package is outdated, most of the Top Gaming Companies in India also using latest packages for this.

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

79758605

Date: 2025-09-08 07:11:54
Score: 4
Natty:
Report link

I did not tried the package, but maybe V Video Compressor will works for you :
https://pub.dev/packages/v_video_compressor

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

79758591

Date: 2025-09-08 06:55:51
Score: 1.5
Natty:
Report link
git checkout <your branch> 
git reset --hard origin/<your branch>
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jojo Joseph Kunathucherry

79758584

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

-Simply Do This in Linux worked for me
rm -rf ~/.config/Code/User/workspaceStorage

and restart vs code

Thank me later

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Yagnesh Prajapati

79758576

Date: 2025-09-08 06:38:47
Score: 1
Natty:
Report link

It sounds like you’re after something like the classic 'shearing rotation' algorithm. Shearing is also called skewing. For a rotation of n degrees:

  1. Skew the image to the right by n degrees and use nearest neighbour sampling.
  2. Now skew it down by n degrees, using nearest neighbour sampling again.
  3. Repeat step 1.

This method will produce artefacts that look like frosted glass; and repeatedly rotating an already-rotated image will only worsen the artefacts, so you should always start with the un-rotated source image. You can read more at the links below: https://silmon.github.io/arbitrary-image-rotation-using-shearing.html https://quuxplusone.github.io/blog/2021/11/26/shear-rotation/

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

79758571

Date: 2025-09-08 06:33:46
Score: 1
Natty:
Report link

If you generalize over the o \in u in the if condition, the erefl has type o \in u = o \in u where it needs to have type o \in u = x (with x the thing o \in u gets generalized to), so you need to generalize over erefl first.

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

79758570

Date: 2025-09-08 06:33:46
Score: 1
Natty:
Report link

re-install work for me

# Name                    Version                   Build  Channel
opencv-python             4.5.1.48                 pypi_0    pypi
opencv-python-headless    4.10.0.84                pypi_0    pypi
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Michael Tian

79758566

Date: 2025-09-08 06:30:45
Score: 2.5
Natty:
Report link

I actually got the same issue in a react.js file and got to know that the issue is because in the other file where i am calling this component, i forgot using the prop which has to be used is missing like <animatedline text= {}/> so the text thing was missing

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

79758564

Date: 2025-09-08 06:26:45
Score: 1.5
Natty:
Report link

Several issues often cause the MSVC compiler to fail when compiling a C++20 module. Using an incorrect file extension (like .ixx for module interfaces) or omitting necessary compiler flags such as /std:c++20 can trigger this failure. Wednesday Season 2 Outfit Collection The current compiler version may also not fully support all import and export statements. We recommend using the latest Visual Studio update, as Microsoft is actively improving module support. Always check the compiler's specific error messages to identify whether syntax errors, missing dependencies, or current compiler limitations are causing the problem.

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

79758553

Date: 2025-09-08 06:12:41
Score: 0.5
Natty:
Report link

Most weighbridge indicators send ASCII strings with a standard format. A typical output looks like:
ST,GS,001234kg

using System;
using System.IO.Ports;

class Program
{
    static void Main()
    {
        SerialPort port = new SerialPort("COM1", 9600, Parity.None, 8, StopBits.One);
        port.NewLine = "\r\n";  // many indicators use CRLF as line end
        port.Open();

        while (true)
        {
            try
            {
                string rawData = port.ReadLine().Trim();
                Console.WriteLine("Raw: " + rawData);

                // Example: ST,GS,001234kg → extract weight only
                string[] parts = rawData.Split(',');
                string weight = parts[parts.Length - 1]; // last part
                Console.WriteLine("Weight: " + weight);
            }
            catch (Exception ex)
            {
                Console.WriteLine("Error: " + ex.Message);
            }
        }
    }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Endel Digital Solution