79583349

Date: 2025-04-20 12:27:27
Score: 0.5
Natty:
Report link

I went round the houses for weeks with this one. The solutions above did not work for me.

The sequence of terminal commands that finally got "Quartz" to work for me on a M2 Mac Sequoia 15.3.2 was the following:

pip install --upgrade pip

pip install pyobjc-framework-Quartz

pip install pyobjc

python3 -m pip install pyautogui

The key reference is at: https://pyautogui.readthedocs.io/en/latest/install.html

My script contained:

#!/bin/zsh
from Quartz.CoreGraphics import CGEventCreateMouseEvent
from Quartz.CoreGraphics import CGEventCreate
from Quartz.CoreGraphics import CGEventPost
from Quartz.CoreGraphics import CGEventGetLocation
from Quartz.CoreGraphics import kCGEventMouseMoved
from Quartz.CoreGraphics import kCGEventLeftMouseDown
from Quartz.CoreGraphics import kCGEventLeftMouseUp
from Quartz.CoreGraphics import kCGMouseButtonLeft
from Quartz.CoreGraphics import kCGHIDEventTap
import Quartz
import sys
import time

def mouseEvent(type, posx, posy):
    theEvent = CGEventCreateMouseEvent(None, type, (posx,posy), kCGMouseButtonLeft)
    CGEventPost(kCGHIDEventTap, theEvent)

def mousemove(posx,posy):
    mouseEvent(kCGEventMouseMoved, posx,posy)

def mouseclickdn(posx,posy):
    mouseEvent(kCGEventLeftMouseDown, posx,posy)

def mouseclickup(posx,posy):
    mouseEvent(kCGEventLeftMouseUp, posx,posy)

def mousedrag(posx,posy):
    mouseEvent(kCGEventLeftMouseDragged, posx,posy)


and the error message before the solution was:
Traceback (most recent call last):
  File "wmap1.py", line 2, in <module>
    from Quartz.CoreGraphics import CGEventCreateMouseEvent
ModuleNotFoundError: No module named 'Quartz'
Reasons:
  • Blacklisted phrase (1): did not work
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user22695711

79583336

Date: 2025-04-20 12:07:23
Score: 3.5
Natty:
Report link

I have a question. I'm building an app in React Native using Expo. I want to add a custom splash image, but even though I've set the correct path, the image still doesn't appear — no image shows up at all.

Code:
"splash": {
      "image": "./assets/images/car.png",
      "resizeMode": "contain"}
Reasons:
  • Blacklisted phrase (1.5): I have a question
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Saksham Kapoor

79583329

Date: 2025-04-20 12:00:22
Score: 2
Natty:
Report link

if it could be any help in here, here's how this heck can be done in BW4/HANA based systems:

DATA(is_bw_cloud) = SWITCH #( cl_rs_utilities=>get_is_cloud_bw4_system( i_read_from_db = rs_c_true )
                       WHEN abap_true THEN 'CLOUD' ELSE 'ONPREM' ).
Reasons:
  • Blacklisted phrase (1): any help
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Martin Maruskin

79583327

Date: 2025-04-20 11:59:21
Score: 0.5
Natty:
Report link

Do you know of any additions to this list

Although this is one old question, when I wrote this answer, there is no one saying about title case (see wikipedia).

"The Quick Brown Fox Jumps over the Lazy Dog"

A mixed-case style with all words capitalised, except for certain subsets (particularly articles and short prepositions and conjunctions) defined by rules that are not universally standardised.

Notice for VSCode and Python, that means start case in wikipedia definition (JS lib lodash uses the latter naming). More details are show in this reddit comment thread.

"The Quick Brown Fox Jumps Over The Lazy Dog"

Start case, initial caps or proper case is a simplified variant of title case. In text processing, start case usually involves the capitalisation of all words irrespective of their part of speech.

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

79583326

Date: 2025-04-20 11:58:21
Score: 0.5
Natty:
Report link

I didn't see anyone else post this answer so I wrote this solution.

If you wanna stay in server components and don't wanna use any hooks. You can achieve this by passing relative pathnames to Next/Link Component.

<Link href={"../"} >Go Back</Link>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Reza Attar

79583323

Date: 2025-04-20 11:51:20
Score: 1
Natty:
Report link

The simple method is actually...

$w::Up

$a::Left

$s::Down

$d::Right

My other method allows toggling off the script for normal keyboard use and toggling back on when its needed. Either are valid depending on needs.

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

79583317

Date: 2025-04-20 11:47:19
Score: 2
Natty:
Report link

I was using vercel to connect to mongo cluster.

I installed vercel integration for mongo atlas and checked env variables in vercel.

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

79583315

Date: 2025-04-20 11:44:18
Score: 2
Natty:
Report link

In your Stripe dashboard, you will find settings ->payments->custom payment methods. There, you will find the create option, which will give you the option to add PayPal to Stripe. let me know if you need any more help

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

79583313

Date: 2025-04-20 11:43:18
Score: 0.5
Natty:
Report link

I finally found a solution for retrieving only the visible part of a PDField.

//Flatten the AcroForm first to remove the PDField but keep the text.
acroForm.flatten()
//Get the page of the document where the text is located.
PDPage page = document.getPage(0);
//Create a PDFTextStripperByArea.
PDFTextStripperByArea stripper = new PDFTextStripperByArea();
//Create a Rectangle2D. All the text which is located within the rectangle will be
//included in the stripper. So put the rectangle excactly above the visible part of
//the text. The params for the coordinates are (x, y, width, height). You likely need
//to experiment a bit to find the right values.
Rectangle2D rectangle2D = new Rectangle2D.Float(50, 525, 500, 140);
//Add the rectangle as a region for the stripper.
stripper.addRegion("region", rectangle2D);
//Extract the region.
stripper.extractRegions(page);
//Get the text.
String text = stripper.getTextForRegion("region");
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: KrabimannBardo

79583312

Date: 2025-04-20 11:43:17
Score: 1
Natty:
Report link

This feature is called sticky lines. To turn it off, open Settings, go to Editor | General | Sticky lines and unselect Show sticky lines while scrolling.

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

79583306

Date: 2025-04-20 11:38:16
Score: 2
Natty:
Report link

Actually I could solve my first question, but i don't get why sometimes the old cell output is stored and overwrites the newer output. Nevertheless to subset isin_dataframes by isin_dataframes[isin] worked.

The only problem Iam still having is, that merge_all[isin]['value'] is not represented in the final DataFrame merge_all[isin] properly, so that the entire column ['value'] is NaN.

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

79583305

Date: 2025-04-20 11:36:16
Score: 1.5
Natty:
Report link

The code you provided is an example of using a while loop in Python to iterate through a list. Here's how it works:

marks = [95, 98, 97]  # Create a list of marks
i = 0  # Initialize the index i to 0

while i < len(marks):  # Loop until i is less than the length of the marks list
    print(marks[i])  # Print the element at index i
    i = i + 1  # Increment i by 1 after each iteration

Detailed Explanation:

  1. marks = [95, 98, 97]: This creates a list called marks that contains three values: 95, 98, and 97.

  2. i = 0: The variable i is initialized to 0. This variable will be used to track the position of elements in the list.

  3. while i < len(marks):: The while loop condition checks if the value of i is less than the length of the marks list. If this condition is true, the loop continues. In this case, len(marks) returns 3, since the list has 3 elements.

  4. print(marks[i]): This command prints the element at index i in the marks list. On the first iteration, i is 0, so the first element (95) is printed. Then, i is incremented by 1, and the loop continues.

  5. i = i + 1: After each iteration, the value of i is incremented by 1, which allows the loop to move to the next element in the list. Result: When running this code, you will get the following output:

95 98 97

Each value corresponds to an element in the marks list.

I hope this answer helps you better understand how the while loop works in Python! If you have any further questions, feel free to ask. 😊

You can now copy this answer and post it on Stack Overflow. Once your answer gets upvoted or accepted, you'll start earning reputation points.

Let me know if you need any further assistance or if you'd like me to adjust the answer!

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

79583300

Date: 2025-04-20 11:30:14
Score: 1
Natty:
Report link

So the issue seemed to be the lack of quotation marks surrounding the interpolated variable within the url() e.g.

style={{backgroundImage: `url('${coverImagePath}')`}}

But the following is invalid

style={{backgroundImage: `url(${coverImagePath})`}}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: N.K.

79583296

Date: 2025-04-20 11:28:13
Score: 1
Natty:
Report link

You could also do: var checkedBoxes = document.querySelectorAll('input[type=checkbox]:checked');

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

79583291

Date: 2025-04-20 11:24:12
Score: 3
Natty:
Report link

This issue is fixed. I updated my confluent CLI to v4.25.0. Control-center is added into the local services command. It works fine now.

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

79583290

Date: 2025-04-20 11:24:12
Score: 3.5
Natty:
Report link

amazin i just rename pages to (pages) and now there is no such kind of build errors

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

79583289

Date: 2025-04-20 11:22:12
Score: 3
Natty:
Report link

Importing typing.BinaryIO and casting in to open writer object, as @Youth Dream proposed does not work - pyCharm reports issue with BinaryIO as well.

This seems to be known pyCharm issue thugh:

https://youtrack.jetbrains.com/issue/PY-76404/Spurious-Expected-type-SupportsWritebytes-got-BinaryIO-instead-with-pickle.dump

"Expected type 'SupportsWrite[bytes]', got 'BinaryIO' instead"
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Youth
  • Low reputation (1):
Posted by: Wojtek Funkiewicz

79583287

Date: 2025-04-20 11:20:11
Score: 0.5
Natty:
Report link

I encountered exactly the same error after updating to Xcode 16. This is a compatibility issue between Xcode 16's stricter C++ compiler and certain syntax in recent versions of gRPC-Core.

To solve this problem, simply specify more stable versions of gRPC in your Podfile:

  pod 'gRPC-Core', '~> 1.44.0'
  pod 'gRPC-C++', '~> 1.44.0'
# Something like this :
platform :ios, '15.0'

target 'collegeMarketPlace' do
  use_frameworks!

  # Your existing Firebase pods
  pod 'FirebaseAuth'
  pod 'FirebaseFirestore'
  pod 'FirebaseStorage'
  pod 'FirebaseAnalytics'
  pod 'FirebaseFunctions'
  pod 'FirebaseMessaging'
  pod 'FirebaseFirestoreSwift'
  
  # Specify stable gRPC versions
  pod 'gRPC-Core', '~> 1.44.0'
  pod 'gRPC-C++', '~> 1.44.0'
end

Then run:

pod deintegrate
pod install --repo-update
Reasons:
  • Blacklisted phrase (0.5): exactly the same error
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Renaud

79583271

Date: 2025-04-20 10:45:04
Score: 1.5
Natty:
Report link
public Task<Stream> GetStream(CancellationToken token)
{
    var aesHelper = new AesHelper();
    var fileStream = File.OpenRead(_filePath);
    var fs = aesHelper.GetDecryptedStream(fileStream);
    return Task.FromResult<Stream>(fs);
 }

this is GetStream method.

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

79583266

Date: 2025-04-20 10:37:02
Score: 2.5
Natty:
Report link

after struggling with this issue for a while, I finally found a solution that worked for me! Just set the Gradle JDK in File > Settings > Build, Execution, Deployment > Gradle to a compatible version like Amazon Corretto 17 to fix the issue.enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Muhammad Islam

79583265

Date: 2025-04-20 10:36:02
Score: 0.5
Natty:
Report link

Had the same issue in Firebase Functions using Python. What fixed it for me is making sure all my dependencies are listed in requirements.txt

Then reset venv

Delete it

rm -rf venv

create it again

python3 -m venv venv

Activate it

source venv/bin/activate

Then install

pip install -r requirements.txt

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

79583259

Date: 2025-04-20 10:28:00
Score: 1.5
Natty:
Report link

Create CSR file on you Mac
https://developer.apple.com/help/account/certificates/create-a-certificate-signing-request/

Create distribution certificate on
https://developer.apple.com/account/resources/certificates/add
based on CSR file

Download and install CER file on your Mac

Open Keychan Access. Find installed certificate

Right key mouse -> Export -> .p12 format

Be sure to set a password!! Not empty

send .p12 file to your window machine with VS 2022

In VS 2022 use key (on the topic picture ) Import Certificate and select .p12 file

Success!

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Максим

79583257

Date: 2025-04-20 10:24:59
Score: 3
Natty:
Report link

Also, you can downgrade your Django if you can't upgrade your Postgresql DB.

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

79583255

Date: 2025-04-20 10:23:59
Score: 3
Natty:
Report link

Try copying [-map 0:3 -c:s:0 copy] the subtitle stream instead of encoding it to dvdsub like you did for the video stream

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

79583250

Date: 2025-04-20 10:15:58
Score: 1
Natty:
Report link

There are 2 possible problems:

All verified in latest version 20.03 with MinGW installed.

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

79583248

Date: 2025-04-20 10:11:57
Score: 2
Natty:
Report link

One of the best places to eat in Las Vegas without spending too much is Denny’s. Their Las Vegas Strip location has a full menu that includes breakfast, lunch, dinner, and desserts—all available 24/7. I recently came across this updated Denny’s Las Vegas Menu 2025 with prices and calorie info. Super helpful if you're planning your meals ahead of a Vegas trip! https://dennysmenu.us/dennys-10-dollar-menu/

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

79583241

Date: 2025-04-20 09:56:54
Score: 0.5
Natty:
Report link

Detect Back and Home Button Presses in AccessibilityService

Override onAccessibilityEvent()

You can listen for TYPE_WINDOW_STATE_CHANGED or TYPE_WINDOW_CONTENT_CHANGED events and check which app or activity is currently in the foreground.

Back Button Detection

Back press usually results in a window change or app closure, so you can infer it by comparing the current and previous window package names or activity classes.

Home Button Detection

When Home is pressed, your current app/activity will be replaced by the launcher/home screen.

You can follow the below class for detecting Back and Home button actions using AccessibilityService.

I hope it will be helpful for you

class MyAccessibilityService : AccessibilityService() {

    private var previousPackageName: String? = null

    override fun onAccessibilityEvent(event: AccessibilityEvent) {
        if (event.eventType == AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED) {
            val currentPackage = event.packageName?.toString()

            // Detect HOME press
            if (isLauncherApp(currentPackage)) {
                Log.d("AccessService", "Home button pressed")
            }

            // Detect BACK press (indirectly)
            if (previousPackageName != null && currentPackage != previousPackageName) {
                Log.d("AccessService", "Possibly back button pressed (window changed)")
            }

            previousPackageName = currentPackage
        }
    }

    override fun onInterrupt() {}

    private fun isLauncherApp(packageName: String?): Boolean {
        val intent = Intent(Intent.ACTION_MAIN)
        intent.addCategory(Intent.CATEGORY_HOME)
        val resolveInfo = packageManager.resolveActivity(intent, PackageManager.MATCH_DEFAULT_ONLY)
        return packageName == resolveInfo?.activityInfo?.packageName
    }
}
Reasons:
  • RegEx Blacklisted phrase (1.5): resolveInfo?
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Er.Prem Singh daksha

79583237

Date: 2025-04-20 09:50:52
Score: 2
Natty:
Report link

Snapseed, a photo editing app by Google, offers stylish text overlays with clean, minimalist designs. To create text like Snapseed, use bold, simple fonts (like Bebas Neue or Montserrat), add semi-transparent background shapes, and adjust opacity for a soft, modern look. You can replicate this in apps like Canva, Photoshop, or mobile editors by focusing on minimalistic, high-contrast styles.

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

79583233

Date: 2025-04-20 09:47:50
Score: 6 🚩
Natty: 4.5
Report link

������ ����!

�� �������� ������ �� ���� (��������)

��� �901��977 ����� ��������� ���������� ���89251913410 ������� 4614 757947 ����� ��?6 ������������ ����� ������ �� ���������� ���. � ��������� ��������� ������� 22.01.2015

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • No latin characters (2):
  • Filler text (0.5): ��������
  • Filler text (0): ��������
  • Filler text (0): ���������
  • Filler text (0): ����������
  • Filler text (0): ������������
  • Filler text (0): ����������
  • Filler text (0): ���������
  • Filler text (0): ���������
  • Low entropy (1):
  • Low reputation (1):
Posted by: Светлана Калмыкова

79583230

Date: 2025-04-20 09:42:49
Score: 3
Natty:
Report link

Thank you - that worked! I ended up defining a helper function to wrap any string that contains double quotes with escaped quotes and applied it dynamically across all columns in the dataframe. This way, the transformation adapts to whatever structure the incoming data has, without needing to know the column names ahead of time. Appreciate the help!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Regina Remenyi

79583219

Date: 2025-04-20 09:26:45
Score: 2
Natty:
Report link

For me the, Remote-SSH: Uninstall VS Code Server from Host option worked, the Kill VS Code Server didn't work.

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

79583216

Date: 2025-04-20 09:20:44
Score: 4
Natty: 4.5
Report link

It is requested to please if I can be helped to reinstall VKApp in my device .An easy and early action she'll be highly appreciated.Thanks in anticipation.I am sorry that is difficult for me to do it.I am using Android phone and not an iPhone.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): appreciated
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Muhammad Nawaz Bajwa

79583214

Date: 2025-04-20 09:16:43
Score: 2.5
Natty:
Report link

As an addition, because I got here with a similar issue: Don't forget to make your guards request scoped, if your injecting request scoped services.

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

79583202

Date: 2025-04-20 09:03:40
Score: 0.5
Natty:
Report link

A bit late but for anyone who find this I would recommand one of 2 options:

localized_template function

  1. write untranslated page templates in language-specific subfolders (ex en/my-page.html, en-gb/my-page.html, es/my-page.html)

  2. write a localized_template utility function, for ex in an app named my_app

# my_app/views.py

from os import path

from django.http import HttpResponse
from django.shortcuts import render
from django.utils.translation import get_language

def localized_template(name: str) -> str:
    return path.join(get_language(), name)

# usable in render like
def my_page(request: HttpRequest) -> HttpResponse:
    return render(request, localized_template("my-page.html"))

Translatable Page model

  1. create a model for the "long text content", for ex in this case a Page model from an app named my_app
# my_app/models.py

from django.db.models import Model, TextField

class Page(Model):
    content: TextField[str, str] = TextField()
  1. add django model translation or an equivalent and configure it for your app

  2. setup the model translation

# my_app/translation.py

from modeltranslation.translator import register, TranslationOptions
from .models import Page

@register(Page)
class PageTranslationOptions(TranslationOptions):
    fields = ('content',)

After that, how you edit the model is up to you. If you need to persist default data, you could dump it as fixtures:

./manage.py dumpdata my_app.page > default_pages.json
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: dialka

79583197

Date: 2025-04-20 08:59:39
Score: 2
Natty:
Report link

🚀 Flutter Devs!
Ditch heavy emulators. Preview your app instantly with Flutter Web Emulator Extenstion in VS Code – hot reload, real-time updates, multiple device presets & zero CPU stress. 💻🔥

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hafiz Rizwan Umar

79583191

Date: 2025-04-20 08:46:37
Score: 1
Natty:
Report link

solved this problem by adding asyncio decorator with loop_scope="session" for each test case, like:

import pytest

@pytest.mark.asyncio(loop_scope="session")
async def test_some_func():
    pass
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Boris

79583179

Date: 2025-04-20 08:38:35
Score: 1.5
Natty:
Report link

Preamble

The distribution of print queues to users by group policies is called GPP and not GPO. The main difference between GPO and GPP is: if the applied GPO is no longer applied, the effect does not occur. This does not happen in GPP. If the applied GPP is no longer applied, the effect continues on the client that received it.

Someone might say: "but everyone calls it a GPO". This is a false statement. People who call GPP a GPO actually mean to call it a group policy, in a generic way. Many do not even know the difference between GPP and GPO. Since we believe that we are writing in a technical way, it is more appropriate to use the correct technical terms to designate certain situations and avoid possible ambiguities.

In the case mentioned by @dave-g, a created GPP was modified or deleted. It is necessary to remove the effects of the old GPP. A GPP for distributing print queues usually affects the user profile. So, to the best of my knowledge, the affected branch is HKCU.

So, how do you "act" on the HKCU branch in the context of the "System" account? In theory, the script to modify the HKCU branch needs to be executed in the context of the account, and will only affect the profile of this account. If the account has administrative privileges, the script can act in the context of the machine (HKLM).

Some will say that the System account can act on the HKU branch and affect users. This will only be true for account profiles in memory, such as S-1-5-18, S-1-5-19, S-1-5-20, S-1-5-21-[User SID] and the profile without an interactive account (.DEFAULT). Profiles that have not been loaded will not be affected. It is possible to act on the branches of all profiles, even if they are not loaded. It is quite complex, so I will not cover it here in this post.

Conclusion: in general, a script will act on the HKLM branch in the context of the account, if it has administrative privileges, or if it is executed by the System account; it will act on the HKCU branch in the context of the account itself and not other profiles; it will act on the HKU branch if the account has administrative privileges, and only profiles loaded in memory will be affected.

1st Draft

The created function has some errors. I will try to explain.

Here is the only syntactical error in the draft presented param([type]$Parameter1 [,[type]$Parameter2])

  [string]$KeyName = "',,server-01,printer-01',',,server-01,printer-01'"
  [string]$RegistryRoot = "HKLM:, HKCU:"

Parameters must be separated by commas.

Another problem, which is not a syntactic, semantic or logical error. Although quotation marks serve as string delimiters, it is recommended to use an apostrophe when the string is invariable, that is, it does not have a variable between the delimiters. This helps the language interpreter not to analyze the content of the string during execution.

As already mentioned by @mathias-r-jessen, the variable can be a string array.

Here I believe it was the famous "copy and paste". The same value appears twice in the variable "server-01,printer-01".

This is a rare issue, but it could cause problems during execution. Imagine the command del c:*.exe. If the current folder of the c: drive is "\Windows\System32", the command will be executed in the current folder. To ensure that the reference is from the root of a drive, you should use ":\" and not ":".

So, one way to rewrite such lines would be:

  [string[]]$KeyName = @( ',,server-01,printer-01', ',,server-01,printer-02' ),
  [string[]]$RegistryRoot = 'HKLM:\', 'HKCU:\'

As already discussed by @mathias-r-jessen, there is no need for the Split method if the variable is already an array.

  $registryPaths = $RegistryRoot.Split(",")
  foreach ($root in $registryPaths) {

So, one way to rewrite such lines would be:

  $registryPaths |
    ForEach-Object {
      $root = $PSItem

Since the variable was a string, the like comparison is inverted, based on the available information. And the property should be PSChildName and not Name, since it is a registry item.

  Where-Object { $_.Name -like "*$KeyName*" } |

It should be, according to the draft proposal:

  Where-Object { $KeyName -like "*'$( $_.PSChildName )'*" } |

But since the variable should be an array, one way to rewrite the line would be:

  Where-Object { $PSItem.PSChildName -in $KeyName } |

And finally, there is one more logical error.

  Remove-Item -Path $_.FullName -Recurse -Force

In the registry item, as far as I know, there is no FullName property, but rather PSPath. One way to rewrite the line would be:

  Remove-Item -Path $PSItem.PSPath -Recurse -Force

2nd Draft

Using the Recurse parameter at the root of a drive may cause some slowness. In this specific case, the paths are known and defined.

A more efficient code to avoid recursion when searching for items with known paths would be:

  function Remove-RegistryKey {
    param(
      [string[]]$KeyName = @( ',,server-01,printer-01', ',,server-01,printer-02' ),
      [string[]]$KeyRoot = @( 'Registry::HKCU\Printers\Connections\*',
        'Registry::HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Providers\Client Side Rendering Print Provider*\Printers\Connections\*'
      )
    )
    Get-ChildItem -Path $KeyRoot -ErrorAction SilentlyContinue |
      Where-Object { $PSItem.PSChildName -in $KeyName } |
        ForEach-Object {
            try {
                Remove-Item -Path $_.FullName -Recurse -Force
                Write-Host "Successfully deleted registry key: $($_.FullName)"
            } catch {
                Write-Warning "Error deleting registry key $($_.FullName): $($_.Exception.Message)"
            }
        }
  }

Example usage:

  $KeyNameToDelete = ',,server-01,printer-01'
  Remove-RegistryKey -KeyName $KeyNameToDelete

Changing the way printer queues are created

In 1996, when I started working with Windows 95 and Windows NT support, I used "\\server\printer". With AD, we did not create GPP. In 2008, I learned that a local printer queue could have a TCPIP port, without the need for SMB sharing.

The work became much simpler. Before, each user had to capture the printer queue on each computer. With the local queue, the user already had the queue available to him, without needing to capture and without needing to create a print server.

The problem became distributing the printer driver, including the local TCPIP port and creating the queue. Obviously, if the printer is USB, this technique will not work. But we decided to remove the USB printers and put all of them with IP addresses.

I suggest you think about this scenario.

Users with open session (off topic)

As I wrote in the comment to @halfix, I'm adding the code here because the formatting would look really bad. I apologize for continuing the comment this way.

Finding the user with an interactive session is very simple.

  $InteractiveSession = ( Get-CimInstance -ClassName 'CIM_UnitaryComputerSystem' ).UserName

Finding the user with an open session using only PowerShell commands is more laborious because Get-Process does not return process ownership information. So all that's left is to use the GetOwner method for each process. I have an inventory, created for my own use, made only in PowerShell. I present an adapted code in this question.

  $OpenSession = @{}
  $ProcessesToAudit =
    'cmd.exe', 'conhost.exe',
    'pwsh.exe', 'powershell.exe',
    'explorer.exe'
  $DoNotFilterProcesses = $true
  Get-CimInstance -ClassName 'CIM_Process' |
    Where-Object -FilterScript {
      $DoNotFilterProcesses -or
      $PSItem.Name -in $ProcessesToAudit
    } |
    ForEach-Object -Process {
      $CurrentProcessId = $PSItem.ProcessId
      $CurrentProcessName = $PSItem.Name
      $CurrentProcess =
        Get-Process |
          Where-Object -FilterScript {
            $PSItem.Id -eq $CurrentProcessId
          }
        If ( $CurrentProcess ) {
          Invoke-CimMethod -InputObject $PSItem -MethodName 'GetOwner' |
            ForEach-Object -Process {
              $CurrentUserAccount = $PSItem.Domain + '\' + $PSItem.User
                If ( $OpenSession[ $CurrentUserAccount ].Count -eq 0 ) {
                  $OpenSession[ $CurrentUserAccount ] = @()
                }
                If ( $CurrentProcessName -in $ProcessesToAudit ) {
                  If ( $CurrentProcessName -notin $OpenSession[ $CurrentUserAccount ] ) {
                    $OpenSession[ $CurrentUserAccount ] += $CurrentProcessName
                  }
                } Else {
                  If ( 'various processes' -notin $OpenSession[ $CurrentUserAccount ] ) {
                    $OpenSession[ $CurrentUserAccount ] += 'various processes'
                  }
                }
            }
        }
    }

I used an online translator. I apologize for not being fluent in the language.

Reasons:
  • Blacklisted phrase (1): how do you
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @dave-g
  • User mentioned (0): @mathias-r-jessen
  • User mentioned (0): @mathias-r-jessen
  • User mentioned (0): @halfix
  • Low reputation (0.5):
Posted by: João Mac

79583169

Date: 2025-04-20 08:27:32
Score: 1
Natty:
Report link

It turned out that you have to pass the "path"-element not the "svg"-element:

const svgXmlShape = this.cache.xml.get(xmlKey) as XMLDocument;
[...svgXmlShape.documentElement.querySelectorAll("svg path")]
      .map((svgPath) => {
        const vertices = this.Svg.pathToVertices(svgPath, 1)...
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: NeoGER89

79583167

Date: 2025-04-20 08:24:32
Score: 1
Natty:
Report link

On the "Overview" page of the Appylar Android documentation, it says:

Please note that videos are considered as interstitials. That means that in the SDK, you can't choose whether it will be a static or a video ad that is displayed when showing an interstitial.

In other words, if you set AdType.INTERSTITIAL in the init function, your app will display video ads as well.

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

79583159

Date: 2025-04-20 08:14:29
Score: 1.5
Natty:
Report link

crontab seems to support declaring variables upfront and substituting them

so this works for me:

SHELL=/bin/bash

log=/var/log/crontab/crontab.

dom=/bin/date +%a.%Y%m%d

ymd=/bin/date +%Y-%m-%d

and use that in

0 12 * * * wget https://example.com/example\_$($ymd)\_file.ext >> $log$($dom).log 2>&1

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

79583157

Date: 2025-04-20 08:11:28
Score: 3.5
Natty:
Report link

In the final image, I forgot to specify ENV PATH="/opt/venv/bin:$PATH", even though I mentioned in the question that I had added it. That’s why pip wasn’t available and the installation didn’t work as expected. Thanks everyone for your help and suggestions!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Дима Ощепков

79583152

Date: 2025-04-20 08:05:27
Score: 0.5
Natty:
Report link

For the dimensions, have you tried

max-height:512px;
max-width:512px;
Reasons:
  • Whitelisted phrase (-1): have you tried
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: AlainPre

79583150

Date: 2025-04-20 07:58:25
Score: 1
Natty:
Report link

Use a temporary VBS script to refocus your PowerShell window after launching the process

Start-Process -FilePath "MyProcessPath"

Start-Sleep -Seconds 1

$myWindowTitle = (Get-Process -Id $PID).MainWindowTitle

$tempPath = [System.IO.Path]::GetTempFileName().Replace(".tmp", ".vbs")

$code = @"

Set WshShell = WScript.CreateObject("WScript.Shell")

WScript.Sleep 500

WshShell.AppActivate "$myWindowTitle"

"@

$code | Out-File $tempPath -Encoding ASCII

Start-Process "wscript.exe" $tempPath -Wait

Remove-Item $tempPath

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

79583148

Date: 2025-04-20 07:58:25
Score: 2.5
Natty:
Report link

The correct method for establishing the numeric day of the week has been given by multiple contributors "$(date +%u)" but the OP's original logic was flawed. The modulus 7 of the day of the month is not the day of the week!

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

79583140

Date: 2025-04-20 07:45:22
Score: 1
Natty:
Report link

After add executable link the library using target_link_libraries(main mysql::concpp) . You don't need to find the library files or define the include directory for this. fund_package ensures that they are populated for your project.

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

79583139

Date: 2025-04-20 07:44:22
Score: 2
Natty:
Report link

I have been fixed the same issue by doing this -> ( pip uninstall google & pip uninstall google-generativeai ) ( if there are not installed yet, you are good and then; Install the new SDK: (pip install --upgrade google-genai )

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

79583135

Date: 2025-04-20 07:41:21
Score: 3
Natty:
Report link

I suggest that you remove the float:left on the .navBar button

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

79583132

Date: 2025-04-20 07:37:20
Score: 1
Natty:
Report link
 func body(content: Content) -> some View {
        if #available(iOS 18, *) {
            content
                .onScrollGeometryChange(for: CGFloat.self, of: \.contentSize.height) {
                    if $1 > 0 {
                        height = $1
                    }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Huynh Tinh Sao

79583104

Date: 2025-04-20 07:00:11
Score: 0.5
Natty:
Report link

I resolved this issue by creating a fresh Android project for my Flutter application.

Reasons:
  • Whitelisted phrase (-2): I resolved
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: RaSha

79583100

Date: 2025-04-20 06:53:10
Score: 3.5
Natty:
Report link

The Unity player activity was closing the process on quit, So I ran it on another process (via android:process=":Unity" in the AndroidManifest.xml) and it works

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

79583088

Date: 2025-04-20 06:36:06
Score: 1
Natty:
Report link

Try doing:


!pip install --upgrade torch torchvision

This should solve the basic problem.

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

79583082

Date: 2025-04-20 06:27:04
Score: 1.5
Natty:
Report link

Quick Summary

You’re seeing Error: SSE connection not established because MCP Inspector always negotiates an SSE layer even if your server uses STDIO, and without a real SSE endpoint it bails out on /message after setup. To fix this, you have four main paths: (1) make the Inspector spawn your server via STDIO with the exact Python binary and env, (2) switch your server to SSE transport so Inspector’s expectations match, (3) stick with STDIO but front it with an mcp-proxy stdio→sse bridge, or (4) grab a more flexible MCP client like OmniMind that lets you declare transports in a JSON config. Each approach has its own pros and cons—read on for the breakdown.


1️⃣ Fixing STDIO Transport in Inspector

What to do

Why it helps

Pros & Cons

Pros Cons
No extra dependencies Still ties you to Inspector quirks
Stays purely STDIO Requires careful path/env management

2️⃣ Switching Your Server to SSE Transport

What to do

Why it helps

Pros & Cons

Pros Cons
Direct SSE connection → no proxies Requires you to host an HTTP endpoint
Inspector just works May clash with firewalls or CORS if remote

3️⃣ Bridging STDIO → SSE with mcp‑proxy

What to do

  1. Install the proxy:

    npm install -g @modelcontextprotocol/mcp-proxy
    
  2. Launch it in stdio→sse mode:

    mcp-proxy stdio-to-sse http://localhost:6278 --command python --args "src/server.py"
    
  3. In Inspector, connect via SSE to http://127.0.0.1:6278/sse.

Why it helps

Pros & Cons

Pros Cons
Keeps server code untouched Adds an extra moving part
Works locally without HTTP setup Another dependency to maintain

4️⃣ Try OmniMind for Config‑Driven Control

If you’d rather avoid Inspector’s tight coupling, OmniMind lets you declare every server and transport in a simple JSON, then spin up an MCP client in Python with two lines:

pip install omnimind
from omnimind import OmniMind

agent = OmniMind(config_path="servers.json")
agent.run()

Your servers.json might look like:

{
  "mcpServers": {
    "server_name": {
      "command": "command_to_run",
      "args": ["arg1", "arg2"],
      "env": {
        "ENV_VAR": "value"
      }
    }
  }
}

With OmniMind you get full, code‑free control over which transport to use and how to structure the request—no more Inspector guesswork.

Pros & Cons

Pros Cons
Totally declarative New library to learn
Works headlessly (no GUI) May miss some Inspector‑only niceties
Lets you script multiple servers Less visual debugging than Inspector

Which Option Is Right for You?


By the way, OmniMind is that slick MCP client I found on GitHub—really lightweight, setup with just a couple lines of Python, and zero expensive API requirements. Perfect for anyone wanting a no‑fuss, budget‑friendly MCP setup. Check it out:

Pick the path that fits your workflow, and you’ll have a smooth MCP connection in no time—no more SSE connection not established headaches!

Reasons:
  • Blacklisted phrase (0.5): Check it out
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Techiral

79583077

Date: 2025-04-20 06:18:03
Score: 1
Natty:
Report link
</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rupkatha Maity

79583073

Date: 2025-04-20 06:04:00
Score: 2.5
Natty:
Report link

I had same issue on MediaTek SOC model.

I upgraded to flutter 3.29.3 and the problem was solved.

MediaTek's Vulkan might have some bug.

(flutter/164126 - On android use Open GL instead of Vulkan MediaTek Soc.)

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

79583059

Date: 2025-04-20 05:43:56
Score: 2.5
Natty:
Report link

.apply(np.linalg.norm, axis=1)

Is probably preferable since it is clearer, but when I'm just doing scratch work I often use:

df[list('xyz')].pow(2).sum(axis=1).pow(.5)

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

79583058

Date: 2025-04-20 05:42:55
Score: 0.5
Natty:
Report link

Generalized solution using modern array-based formulas

Here is an alternative solution that uses array-based formulas like MAP, BYROW, LAMBDA. Some users may not be able to use Apps Script (due to employer restrictions) or string-hacking methods (due to side effects on type conversion), so this solution would work for them. It also generalizes to multiple-column tables, i.e., it will combine multiple columns from the two tables.

Definitions. In your example, we'll assume Table1 is in a range on one sheet (TableA!A1:B3) and Table2 is in a range on another (TableB!A1:B5). The desired result will go into the range 'Result set'!A1:B6. (I edited your question to indicate the assumed ranges of each example table so I can reference them better; I chose range specifiers that are consistent with pre-existing answers.)

Formula. The formula below defines a lambda function with four parameters, and then invokes it using the following ranges fromm your exmaple tables as arguments.

parameter argument
data_left Table1!A2:A4
keys_left Table1!A2:A4
data_right Table2!A2:A5
keys_right Table2!B2:B5
= LAMBDA(
  data_left, keys_left, data_right, keys_right,
  LET(
    index_left, SEQUENCE( ROWS( keys_left ) ),
    matches, MAP( index_left, keys_left, LAMBDA( id_left, key_left,
      LET(
        row_left, XLOOKUP( id_left, index_left, data_left ),
        matches_right, IFERROR( FILTER( data_right, keys_right = key_left ), ),
        TOROW( BYROW( matches_right, LAMBDA( row_right,
          HSTACK( row_left, row_right )
        ) ) )
      )
    ) ),
    wrapped, WRAPROWS( FLATTEN(matches), COLUMNS(data_right) + COLUMNS(data_left) ),
    notblank, FILTER( wrapped, NOT(ISBLANK(CHOOSECOLS(wrapped, 1))) ),
    notblank
  )
)( `Table1!A2:A4`, `Table1!A2:A4`, `Table2!A2:A5`, `Table2!B2:B5` )

How it works?

Generalize. To apply this formula to other examples, just specify the desired ranges (or the results of ARRAYFORMULA or QUERY operations) as arguments; keys_left and keys_right must be single column but data_left and data_right can be multi-column and the resulting array will contain all columns of both. (If you expect to use this a lot, you could create a Named Function with the four parameters as "Argument placeholders", and with the body of the LAMBDA as the "Function definition".)

Named Function. If you just want to use this, you can import the Named Function LEFTJOIN from my spreadsheet functions. That version assumes the first row contains column headers. See documentation at this GitHub repo.. Screenshot below shows application of this named function in cell I1: ="LEFTJOIN( E:G, F:F, B:C, A:A)". Note that numeric-type data in the source tables remain same type in the result.

Screenshot of a single sheet in Google Sheets. Columns A:C contain entries for the dish recipes, with columns for dish, ingredient, and amount. Columns E:G contain entries for patron orders, with columns for diner, dish, number. Columns I:M show the results of a left join operation, with columns for diner, dish, number, ingredient, amount.

Reasons:
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: garcias

79583053

Date: 2025-04-20 05:36:54
Score: 1.5
Natty:
Report link

Your problem is similar to mine. I used 'dmctl replace'.

https://gist.github.com/doshiraki/3d3a89993d25b3a9122e1eca72841a53?permalink_comment_id=5547999#gistcomment-5547999

On a Pixel 7a with LineageOS, adb remount fails with "failed to remount partition dev:/dev/block/dm-0 mnt:/: Permission denied" or mount fails with "/dev/block/dm-0 is read-only" because Device Mapper (dmctl) locks partitions as read-only due to dm-verity and A/B partitioning.

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

79583048

Date: 2025-04-20 05:25:52
Score: 1
Natty:
Report link

The alternative to using the --privileged flag is:

--security-opt systempaths=unconfined --security-opt apparmor:unconfined

this will allow you to run the following commands in the container as mentioned in the blog provided by @deadcoder0904:

sysctl vm.overcommit_memory=1
# OR
echo 1 > /proc/sys/vm/overcommit_memory
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: chribro

79583041

Date: 2025-04-20 05:00:48
Score: 1.5
Natty:
Report link

Room requires DELETE queries to return either void (Unit) or int (number of rows deleted).

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

79583040

Date: 2025-04-20 04:58:46
Score: 6.5 🚩
Natty: 4
Report link

Have you figured this issue out? I am currently experiencing the same problem and need some assistance.

Reasons:
  • RegEx Blacklisted phrase (3): Have you figured
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Drew McCoy

79583039

Date: 2025-04-20 04:49:45
Score: 1
Natty:
Report link

What about this?

class EntryPoint {
  public object $privateCollaborator;

  public function __construct() {
    $this->privateCollaborator = self::getPrivateCollaborator();
  }

  private static function getPrivateCollaborator() {
    return new class {
    };
  }
}

$entryPoint = new EntryPoint();

I sometimes use it so as not to dirty the LSP-Intelephense autocomplete in Sublime Text. If I remove the object type to the property at the entrance point, LSP-Intelephense will recognize the reference of the object, being able to self-fulfill the members of that collaborator

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: Franyer Sánchez

79583037

Date: 2025-04-20 04:45:44
Score: 3.5
Natty:
Report link

@Ram's if the output section is required and you want to disable logs globally (not sure if it is) you could use the null output which will sink the data.

[OUTPUT]
    Name null
    Match *
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @Ram's
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Matthew Fala

79583032

Date: 2025-04-20 04:34:41
Score: 9 🚩
Natty: 5.5
Report link

Hello did you find any answers please?

Reasons:
  • RegEx Blacklisted phrase (3): did you find any answer
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Zak Dafdouf

79583023

Date: 2025-04-20 04:18:38
Score: 1.5
Natty:
Report link

In my case (this had worked)

$ git pull --rebase

$ git push

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

79583022

Date: 2025-04-20 04:17:38
Score: 2
Natty:
Report link

I also wasted my 1-2 hours to figure it out, and finally found this

$mail->getSMTPInstance()->Timelimit = 5; // in sec

Credit: https://know.mailsbestfriend.com/phpmailer_timeout_not_working--1756656511.shtml

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

79583011

Date: 2025-04-20 03:59:33
Score: 6.5 🚩
Natty:
Report link

@Jorj X. McKie : Please share your view on this, how can i get all such components extracted from pdf - specially table lines, table cell colour which is present in background of text and how can i recreated the new pdf using extracted features.

Reasons:
  • Blacklisted phrase (0.5): how can i
  • RegEx Blacklisted phrase (2.5): Please share your
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Ankit

79583010

Date: 2025-04-20 03:56:33
Score: 1.5
Natty:
Report link

I've debugged a similar problem once. For me, my memory issue was caused by hung threads which would continue to consume resources. You may want to log the start and end of your request handlers, and make sure that all of your requests are getting to the end (cloudwatch insights queries could help count this). You could also create a second sidecar that is not receiving any load, and check if the memory is still increasing (of course if so, then there's some independent issue -- like possibly not your python app).

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

79583009

Date: 2025-04-20 03:56:33
Score: 1.5
Natty:
Report link
SELECT patient_id,diagnosis FROM admissions 
GROUP BY patient_id,diagnosis 
HAVING COUNT(diagnosis = diagnosis) > 1;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Divyansh Divyam

79583004

Date: 2025-04-20 03:45:30
Score: 0.5
Natty:
Report link

To find out the database time zone use the following query:

SELECT DBTIMEZONE FROM DUAL;

To find out the current session time zone use the following query:

SELECT SESSIONTIMEZONE FROM DUAL;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Tigrov

79583000

Date: 2025-04-20 03:35:29
Score: 3.5
Natty:
Report link

I tried many Ways to eliminate this issue, I Give Up.

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

79582990

Date: 2025-04-20 03:07:22
Score: 4.5
Natty:
Report link

can i use this with my phone hehe

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): can i use this with
  • Low reputation (1):
Posted by: Asta Clover

79582986

Date: 2025-04-20 02:57:20
Score: 3
Natty:
Report link

The problem was in the Clipper Library. I filed a bug report in GitHub and a fix has now been released. I have tested the fix with this particular example and can confirm that the correct result was returned.

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

79582981

Date: 2025-04-20 02:48:19
Score: 3
Natty:
Report link

Finally I found it. You must add routeback option to wg0 interface in /etc/shorewall/interfaces file.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Alexander Húska

79582980

Date: 2025-04-20 02:47:18
Score: 7 🚩
Natty: 5
Report link

I am having the same issue in april 2025. It's been like that for a few days. Resetting my internet, updating expo-cli, making sure I'm logged in, nothing seems to work. Any new discoveries on what might be causing this issue?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Enrico

79582972

Date: 2025-04-20 02:24:13
Score: 2.5
Natty:
Report link

Just in case anybody else runs into this issue:

Format the information as TEXT, not DATE. Then LibreOffice will stop trying to be smart and just use the values provided

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

79582970

Date: 2025-04-20 02:19:12
Score: 1.5
Natty:
Report link

from pydub import AudioSegment

from pydub.generators import Sine

# Create a short placeholder audio (1 second sine wave) while we prepare the real audio

# This acts as a placeholder for the real narrated and sound-designed audio

tone = Sine(440).to_audio_segment(duration=1000) # 1 second of a 440 Hz tone

# Export as MP3

output_path = "/mnt/data/a_grande_aventura_na_balanca.mp3"

tone.export(output_path, format="mp3")

output_path

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

79582967

Date: 2025-04-20 02:12:11
Score: 0.5
Natty:
Report link

Win + R > ncpa.cpl > choose your network > properties > IPv4 > properties

  1. if checked on > Obtain DNS server address automatically

    Try this > Prefered DNS server (8.8.8.8) & Alternative DNS server (8.8.0.0)

  2. if checked on > Use the following DNS server address

    Try this > Check on > Obtain DNS server address automatically

Check of your proxies.

Check of VPN.

Check of browser extentions > Try to disable them.

Reasons:
  • Whitelisted phrase (-1): Try this
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ahmad Arabati

79582956

Date: 2025-04-20 01:54:07
Score: 2
Natty:
Report link

The problem is this ->

client.on('message', (message) => { ... }

there is no event name called "message". change to this ->

client.on('messageCreate', (message) => { ... }
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Adam The Noob

79582946

Date: 2025-04-20 01:33:03
Score: 0.5
Natty:
Report link

This isn't too hard. Assume we have at least two zeroes to begin with:

+[->+>[<-]<]>>

This leaves the pointer at the first nonzero.

Also worth noting, if you want to look for a specific value--say, a 4:

----[++++>----]++++
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Daniel Cristofani

79582929

Date: 2025-04-20 00:43:55
Score: 0.5
Natty:
Report link

Win + R > ncpa.cpl > choose your network > properties > IPv4 > properties

  1. if checked on > Obtain DNS server address automatically

    Try this > Prefered DNS server (8.8.8.8) & Alternative DNS server (8.8.0.0)

  2. if checked on > Use the following DNS server address

    Try this > Check on > Obtain DNS server address automatically

Check of your proxies.

Check of VPN.

Check of browser extentions > Try to disable them.

Reasons:
  • Whitelisted phrase (-1): Try this
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ahmad Arabati

79582928

Date: 2025-04-20 00:28:52
Score: 1.5
Natty:
Report link

The problem indicates that, you are trying to use a deleted function. Some of automatic methods generated by the compiler(for ex: copy constructors), are deleted by developer in order to prevent unwanted implicit operations. On your answer by using pass by reference, for the _dst argument, you prevented unnecessary generation of a new cv::Mat& type as the function argument. That would also trigger a copy constructor of cv::Mat&, instead, the function took the original _dst, therefore a deleted copy constructor call is evaded.

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

79582923

Date: 2025-04-20 00:05:48
Score: 3
Natty:
Report link

I am also facing similar kind of Issue , any resolution?

I could share more details if Required

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

79582922

Date: 2025-04-20 00:05:48
Score: 0.5
Natty:
Report link

This is what worked for me:


alignLabelWithHint: true,

put it in your inputdecorator such as:

 InputDecoration(
        labelText: label,
        alignLabelWithHint: true)
Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ahmadu Suleiman

79582921

Date: 2025-04-20 00:05:48
Score: 0.5
Natty:
Report link

Your query string has 2 problems: you're missing a leading single quote and a space. The query should look like this (notice the space after 'FROM'):

using (var searcher = new ManagementObjectSearcher("SELECT * FROM " + "Win32_PnpEntity WHERE Caption like '%(COM%'"))

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

79582920

Date: 2025-04-20 00:03:47
Score: 1.5
Natty:
Report link

This error typically occurs when the PHP SimpleXML extension is not properly enabled in PHP, even if it's installed on the server. Here's how to resolve this issue:

  1. First, verify SimpleXML installation:
    php -m | grep xml

  2. Check PHP configuration:
    php -i | grep simplexml

  3. Enable the extension by editing your php.ini file:

    • Locate your php.ini file:
      php --ini

    • Add or uncomment this line in your php.ini:
      extension=php_simplexml.dll ; For Windows

      extension=simplexml.so ; For Linux

  4. After making changes:

    • Restart your web server:

      # For Apache on Windows

      net stop apache2.4

      net start apache2.4

      # For IIS

      iisreset

If the extension is already enabled but still not working, try these troubleshooting steps:

  1. Check PHP version compatibility

  2. Verify file permissions on the SimpleXML module

  3. Clear PHP's configuration cache

You can also verify the extension is loaded properly in a PHP file:

<?php
if (extension_loaded('simplexml')) {
    echo "SimpleXML is loaded!";
} else {
    echo "SimpleXML is NOT loaded!";
}

If you're using WHM/cPanel, you can also enable SimpleXML through:

  1. WHM → PHP Extensions

  2. Find SimpleXML in the list

  3. Enable it

  4. Restart PHP

Reasons:
  • Blacklisted phrase (2): still not working
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Boja Sabara

79582900

Date: 2025-04-19 23:29:41
Score: 0.5
Natty:
Report link

Try to clear all jobs before you star a new one

sched.remove_all_jobs()
sched.add_job(Function, 'cron', hour=9, jitter=900)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: poisoned_monkey

79582888

Date: 2025-04-19 23:08:36
Score: 3
Natty:
Report link

just "pip uninstall scons" -> "pip install scons"

then "scons ..."

then it is done.

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

79582883

Date: 2025-04-19 22:58:34
Score: 1.5
Natty:
Report link

If everyone on the planet picks one address in a 256^12 namespace, there is a 1 in 9903520314283042199 chance that you pick the same address as someone else.

Choosing the same topmost bits as it hears in other stations in the area and always changing only the bottom 2^bits~=9903520314283042199 just to maintain the absurdity of it; less would work too, like one in a million if that's even more advantageous to performance for some reason.

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

79582874

Date: 2025-04-19 22:40:30
Score: 2.5
Natty:
Report link

My guess is that the elements in Notes are not signed with the right ID.

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

79582869

Date: 2025-04-19 22:26:28
Score: 1
Natty:
Report link

It is because of the PSReadLine module. When you remove PSReadLine, it solves the red prompt but you will not have access to autocompletion.

PS > Remove-Module PSReadLine
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Fabrice SANGA

79582859

Date: 2025-04-19 22:04:23
Score: 3
Natty:
Report link

I looked at the package and it calls a language translation interface,

https://github.com/terryyin/translate-python/blob/master/translate/providers/mymemory_translated.py#L23

https://mymemory.translated.net/doc/spec.php

The description of this interface does not indicate minimum length.

You can test it by requesting the interface directly:

https://api.mymemory.translated.net/get?q=%3Cuntranslated%20text%3ESubscribe%20to%20the%20channel.&langpair=en|es

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

79582850

Date: 2025-04-19 21:39:19
Score: 2.5
Natty:
Report link

Looks like I got it. The Mach-O header is 32 bytes; immediately after that is a series of "load commands"; the sixth word of the header is the length of the load commands. So we can just add 32 and get the offset of the code segment.

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

79582848

Date: 2025-04-19 21:39:19
Score: 2.5
Natty:
Report link

This was already answered here:

Is there a good reason to not use bit operators instead of parseInt?

Short version: it's different than ?? or || because it also truncates.

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

79582842

Date: 2025-04-19 21:30:17
Score: 1.5
Natty:
Report link

Check if you are using EFF's Privacy Badger (or any another privacy app that might do the same thing).

I just solved this issue when signing up a client - turns out that EFF's Privacy Badger was blocking something between Twilio and Stripe, causing "Error adding payment method: Stripe is not defined". After I selected "Disable for this site", worked just fine.

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

79582833

Date: 2025-04-19 21:11:13
Score: 2.5
Natty:
Report link

In intellij:

  1. Go to Settings (Crtl+Alt+S)

  2. Version Control -> Github

  3. Remove the current login

  4. Click + and choose the best method for your case to login again

  5. Then go to github copilot and try to login again

    enter image description here

    enter image description here

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

79582831

Date: 2025-04-19 21:09:12
Score: 10 🚩
Natty: 6
Report link

@Monkey your link is dead. Can you fix it?

Reasons:
  • RegEx Blacklisted phrase (1.5): fix it?
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • User mentioned (1): @your
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: user30318556

79582830

Date: 2025-04-19 21:04:11
Score: 5.5
Natty: 4.5
Report link

also, it is giving below error

ORA-39112: Dependent object type INDEX

ORA-39112: Dependent object type CONSTRAINT

what is the solution for the above ORA error ?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Saroj Mahanta

79582823

Date: 2025-04-19 20:58:09
Score: 1.5
Natty:
Report link

"-pix_fmt yuv420p10le" didn't work for me, I get "Incompatible pixel format 'yuv420p10le' for codec 'hevc_videotoolbox', auto-selecting format 'p010le'" which then fails with the same message, "[vost#0:0/hevc_videotoolbox @ 0xXXXXXXXXXXXX] [enc:hevc_videotoolbox @ 0xXXXXXXXXXXXX] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height."

I don't understand why a standard image size (1920x1080), and I'm assuming a standard pixel depth etc., don't work - I get this for everything I try to transcode with the HW encoder.

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

79582818

Date: 2025-04-19 20:48:07
Score: 0.5
Natty:
Report link

Adding upstream azure-feed://msazure/Official@Local does solve this issue.

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

79582816

Date: 2025-04-19 20:43:06
Score: 3
Natty:
Report link

Is there new answer for this question ؟ Because I have .net maui app and want to restart it after changing the flowDirection

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Starts with a question (0.5): Is there
  • Low reputation (1):
Posted by: amr yakout