79763455

Date: 2025-09-13 01:05:22
Score: 0.5
Natty:
Report link

Not for pythonicism, but out of curiosity, I quickly made up a benchmark and compared three variants:

  1. My version I currently use in a web stats backend

  2. Something I found in a C++ SO post (https://stackoverflow.com/questions/45225089)

  3. Is #2 on steroids: Roll out bit by bit. And it's the fastest one, at least on my machine (i7-12700, Python 3.13).

from datetime import datetime as dt

# This is my version currently in use (31 is to fit cnt2)
def cntz(i):
    if i == 0: return 31
    z = 0
    while i > 0 and i & 1 == 0:
        z += 1
        i >>= 1
    return z

# The C++ one from https://stackoverflow.com/questions/45225089,
def cntz2(i):
    z = 0
    if i & 0xFFFF == 0:
        z += 16
        i >>= 16
    if i & 0xFF == 0:
        z += 8
        i >>= 8
    if i & 0xF == 0:
        z += 4
        i >>= 4
    if i & 0x3 == 0:
        z += 2
        i >>= 2
    z += (i & 1) ^ 1
    return z

# My try: Unroll it bit-by-bit. Stops at 23 to fit the 10M test
def cntz3(i):
    if i & 0x00000001: return 0
    if i & 0x00000003: return 1
    if i & 0x00000007: return 2
    if i & 0x0000000f: return 3
    if i & 0x0000001f: return 4
    if i & 0x0000003f: return 5
    if i & 0x0000007f: return 6
    if i & 0x000000ff: return 7
    if i & 0x000001ff: return 8
    if i & 0x000003ff: return 9
    if i & 0x000007ff: return 10
    if i & 0x00000fff: return 11
    if i & 0x00001fff: return 12
    if i & 0x00003fff: return 13
    if i & 0x00007fff: return 14
    if i & 0x0000ffff: return 15
    if i & 0x0001ffff: return 16
    if i & 0x0003ffff: return 17
    if i & 0x0007ffff: return 18
    if i & 0x000fffff: return 19
    if i & 0x001fffff: return 20
    if i & 0x003fffff: return 21
    if i & 0x007fffff: return 22
    if i & 0x00ffffff: return 23
    return 31

input = range(10000000)

for f in [cntz, cntz2, cntz3]:
    t0 = dt.now()
    output = list( f(_) for _ in input )
    print(f'{(dt.now()-t0).total_seconds():.3f} {output[:33]}')

Output

1.797 [31, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 4, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 5]
1.917 [31, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 4, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 5]
0.873 [31, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 4, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 5]
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Claus Kutsche

79763452

Date: 2025-09-13 00:49:19
Score: 1
Natty:
Report link

I just ran into this issue and I didn't want to delete .idea or do a full invalidate and restart because I was in a hurry. What ended up working was File > Repair IDE

Maybe a newer option? don't know if this was available when the question was first asked.

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

79763447

Date: 2025-09-13 00:34:16
Score: 2
Natty:
Report link

The stack trace lead me to find out that the client sending a plain text message crashed the thread. Adding a try-catch statement fixes this problem. As the commenter said, I should never use catch (Exception ignored) {} in my script, unless absolutely needed.

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

79763443

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

The TSkLabel has a Word property where you must set the Cursor property on:

TSkLabel in Delphi Programming IDE

Or with code, you can set it like this:

SkLabel1.Words.Items[0].Cursor := crHandPoint;
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Shaun Roselt

79763441

Date: 2025-09-13 00:05:09
Score: 3
Natty:
Report link

This method has been invalid since Windows 11 24H2.

Windows 11, version 24H2 known issues and notifications

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
Posted by: 許恩嘉

79763433

Date: 2025-09-12 23:38:03
Score: 1
Natty:
Report link

Been barely technical, when you "reverse" something, it is always relative to a reference point. I your code example, the reference point (pivot) is the middle of the array, so you can think like your algorithm is doing a 180° flip over the central point of the array.

But this is not the only way to "reverse" a list/array/tuple, this is just a very efficient way to do it. But you can choose to use you first item as your reference point; in that scenario your algorithm will need to iterate the full array and depending on your implementation, maybe doing something more, but essentially, you will need every item to be repositioning to index * -1

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

79763429

Date: 2025-09-12 23:18:58
Score: 1
Natty:
Report link
struct ContentView: View {

    var body: some View {
        NavigationSplitView() {
            List{
                Text("Menu1")
            }
        } detail: {
            Text("Detail")
        }.tint(.red)
    }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Umesh Mr

79763419

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

It turns out that it wants you to open the Flow checker on that same overview page, not the flow editor page. You'll see it has a red badge on the overview page:

Power Automate - Flow Checker Button with Badge

Opening the Flow checker from there reveals the "problem":

Power Automate Flow checker - This flow is off

In this case, there is no problem, the flow was intentionally turned off.

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

79763414

Date: 2025-09-12 23:04:55
Score: 2.5
Natty:
Report link

I was looking for something similar a couple of days ago, tmate seems abadonware, other solutions like rustdesk weren't what i was looking for... so i wrote this:

https://git.nexlab.net/nexlab/wsssh

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

79763413

Date: 2025-09-12 23:04:54
Score: 6.5 🚩
Natty: 4.5
Report link

oh I did something similar. Launched template with json worked fine and aws cli returned image ID right. However, when I created auto scaling group, it returned an error saying that the image ID is not an integer. I think there is something wrong in the conversion and resulting in python error. Anybody knows how to fix it?

Reasons:
  • Blacklisted phrase (1): Anybody know
  • RegEx Blacklisted phrase (1.5): how to fix it?
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Queenie Wong

79763411

Date: 2025-09-12 22:54:29
Score: 4.5
Natty:
Report link

I am having the same problem as of today. Try in Firefox where it did work for me.

It didn't work in any chromium browser that I tried: Chrome, Chrome android, Brave, Brave Android and Vanadium (android). It did work in Firefox mobile.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having the same problem
  • Low reputation (1):
Posted by: Purely4802

79763398

Date: 2025-09-12 22:35:25
Score: 1
Natty:
Report link

You said: Ok. Thank you, but I didn't know that an assembly program could crash silently. Is there any way I could detect silent errors like this in the future?

Yep—on Windows a crashing console program can look “silent” because the window closes fast and you miss the error. It wasn’t silent, though: you hit an unhandled exception (0xC0000005 access violation) and the OS terminated the process.

Here are practical ways to catch this immediately next time:

  1. Check the exit code
    Run from an existing console (not by double-clicking):
yourprog.exe & echo Exit code: %ERRORLEVEL%

You’ll see 3221225477 (= 0xC0000005) for an access violation.

  1. Run under a debugger (break on first-chance)
  1. Force a break so you can attach
    At program start:
extrn  DebugBreak:proc
sub    rsp, 40
call   DebugBreak     ; debugger will break here if attached, or you can attach now
add    rsp, 40
  1. See the crash in Event Viewer
    Event Viewer → Windows Logs → Application → “Application Error” entry will show the exception code and fault address.

  2. Install a handler to log before exit
    In x64, classic SEH frames aren’t written by hand; instead use a Vectored Exception Handler:

  1. Keep windows open when double-clicking
    Wrap your exe in a .cmd you double-click:
@echo off
yourprog.exe
echo Exit code: %ERRORLEVEL%
pause
  1. Avoid the bug class
    Use real storage (in .data) instead of writing to address 0. If you want to test crashes, deliberately jmp into int 3 or ud2 (illegal instruction) so the debugger catches it clearly.

These habits—run from a console, watch %ERRORLEVEL%, and use a debugger with first-chance exceptions—will make “silent” faults obvious.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): Is there any
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Elton Bicalho do Carmo

79763390

Date: 2025-09-12 22:23:22
Score: 1.5
Natty:
Report link

I moved a .NET Framework MVC Project to my personal laptop. Had same problem. Then tried to create a new project and VS2022 threw exactly this error. Then i reinstalled VS2022 completely. Visual Studio Installer > Visual Studio 2022 > Repair. And i closed OneDrive sync completely, because IIS Express config folder in Documents folder. Maybe it was trying to reach OneDrive Documents folder. Now it is completely working.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Murat Acarsoy

79763383

Date: 2025-09-12 22:16:20
Score: 0.5
Natty:
Report link

In Domain-Driven Design (DDD), the choice between modeling something as an Entity or a Value Object hinges on whether it has an intrinsic identity that persists over time (Entity) or if it's purely defined by its attributes and can be treated as immutable and replaceable (Value Object). You're right that Entities have continuity through an ID (e.g., even if attributes change, it's the "same" thing), while Value Objects are equal if their values match, and they're often immutable.For your case—storing an employee's past salaries in an employeeSalaries table and displaying them as a list—let's break it down step by step to help you decide. I'll focus on practical implications, including domain modeling, persistence, and usage.

Step 1: Analyze the Domain Semantics

If the answer to "Does this thing need to be tracked uniquely over time, even if its attributes change?" is no, it's probably a Value Object.

Step 2: Practical Considerations for Your Scenario

Step 3: Pros and ConsHere's a comparison to help weigh it:

AspectValue Object ApproachEntity ApproachIdentityNo ID needed; equality by attributes (e.g., amount + dates).Requires an ID (e.g., UUID or auto-increment); equality by ID.MutabilityImmutable by design—create new ones for changes.Can be mutable, but you'd still version history.Domain FitGreat for descriptive, historical data like salaries.Better if salaries have their own lifecycle (e.g., approvals, revisions).Code Exampleclass Salary { BigDecimal amount; LocalDate start; ... } (in Employee's collection).class SalaryEntity { UUID id; BigDecimal amount; ... } (repository for CRUD).PersistenceStore in table with FK to Employee; optional composite key.Store with PK ID + FK; easier for relations if needed.ProsSimpler model; encourages immutability; easier equality/comparison; less boilerplate.Easier to reference/update individually; fits if auditing or linking required.ConsHarder to reference a specific instance if needs arise later; might need to refactor if domain evolves.Adds unnecessary identity if not needed; can bloat model with IDs everywhere.When to ChooseIf salaries are just "values over time" for display/history.If you need to track changes to the salary record itself (e.g., "this salary was adjusted due to error").

RecommendationBased on what you've described (historical list for display, no mention of complex operations like individual updates or references), model employeeSalaries as Value Objects. Embed them as a collection within the Employee aggregate. This keeps your domain model clean and focused on the business meaning—salaries are attributes of the employee's history, not independent "things" with lifecycles.

If this doesn't match your domain (e.g., if salaries involve more behavior or relationships), provide more details like the full attributes or use cases, and I can refine this!

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Elton Bicalho do Carmo

79763370

Date: 2025-09-12 22:02:15
Score: 9.5 🚩
Natty: 6.5
Report link

Have you found a solution mate?
would be very interested in the api call you are doing.
Apreciate your response, because I read overpass, nominatim, osm - no idea what and how to use...
Any Help really appreciated.
Thought it should be possible to just make an API call containing countrycode and postcode, to get a list of cities, but without google api it seems impossible.

Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): Any Help
  • RegEx Blacklisted phrase (3): Any Help really appreciated
  • RegEx Blacklisted phrase (2.5): Have you found a solution mate
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Estefano

79763364

Date: 2025-09-12 21:57:13
Score: 0.5
Natty:
Report link

it's a matter of package stacks, says the original stacks engineer...

cause is found a package qrcode of some type, we know it has one that doesn't recognize QRCode as an object. so first make sure you've the PIL version, not qrcode.django, etc.

so install/reinstall as likely out of date as when I went make an image I just had the same error, been about 5 years since writing code, so you'll have to update these (UNINSTALL/INSTALL) is the deepest. whatever OS or IDE you're using

PIL (pilllow)

jinja2

qrccodes

pypng

pillimage

oh and you may have to make those 'trusted' installs. More than likely have to use something like

pip3 install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org Pillow

and Poof, the house of cards begets a static card.

https://bead.llc/firebrands.watch.gentransq.

Though any interest and I'll put up a free interactive web script to make these for everyone for free on BEAD.LLC

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

79763359

Date: 2025-09-12 21:45:10
Score: 1
Natty:
Report link

Both clang and gcc incorrectly showed support of that instruction on client CPUs phoronix.com/news/Intel-Compilers-No-CLDEMOTE

"That compiler enablement work was originally submitted years ago by Intel engineers but turned out to be inaccurate. This slipped under my radar too but when checking tonight on my Arrow Lake systems, CLDEMOTE support is indeed not advertised by the processor"

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Валерий Заподовников

79763357

Date: 2025-09-12 21:41:09
Score: 2
Natty:
Report link

It's better to use a guard for actual access control (block private routes if not logged in).

Use layout components (AppLayout, PublicLayout) for structural differences (topbar vs no topbar).

Avoid keeping route state logic (isPublicRoute) in AppComponent — it’s better in a guard/service/layout.

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

79763348

Date: 2025-09-12 21:22:42
Score: 4.5
Natty: 5
Report link

Use ChatGpt, will answer you better!!!

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

79763344

Date: 2025-09-12 21:12:39
Score: 3.5
Natty:
Report link

It's really sad that the modern state of web development has no answer for this question that I've seen asked since at least 2015.

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

79763342

Date: 2025-09-12 21:10:39
Score: 1.5
Natty:
Report link

I found the setting I needed here:

Vim: Handle Keys

Delegate certain key combinations back to VS Code to be handled natively.

Settings > "Vim handle" > Edit in settings.json

Add "<C-k>": false to the list of vim.handleKeys

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: FernRockSolutions

79763323

Date: 2025-09-12 20:27:28
Score: 3.5
Natty:
Report link

Check out MoroJs- 46% faster than fastify and salves this issue. https://morojs.com/docs

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

79763302

Date: 2025-09-12 19:53:19
Score: 3
Natty:
Report link

we found the same problem on the test bench. Occurs only if the target table is empty. For the null case, we simply added the null processing above the method call.

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

79763300

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

Just add this document.security = [{ bearer: [] }] after creating the Swagger document.
There is no need to add @ApiBearerAuth to every controller.

const config = new DocumentBuilder()
    .setTitle('API Documentation')
    .setVersion('1.0')
    .addBearerAuth()
    .build();
  const document = SwaggerModule.createDocument(app, config);

  // ✅ Apply bearer globally
  document.security = [{ bearer: [] }];
Reasons:
  • Blacklisted phrase (1): this document
  • Has code block (-0.5):
  • User mentioned (1): @ApiBearerAuth
  • Low reputation (1):
Posted by: Atishay Jain

79763293

Date: 2025-09-12 19:50:19
Score: 1.5
Natty:
Report link

Use an Extension (Practical Approach)

Visual Studio enables extensions to offer personalized syntax classification. You can install or develop an extension that emphasizes only const in a different way.

The most common method involves creating a Classifier Extension (utilizing MEF) that aligns with the text const and implements a new classification style.

Example: Extensions like Roslyn Syntax Highlighting or custom highlighters can do this.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ajit Kumar Yadav

79763288

Date: 2025-09-12 19:39:54
Score: 5
Natty:
Report link

https://github.com/google/adk-python/issues/2798

This link has solutions to this question.

Reasons:
  • Blacklisted phrase (1): This link
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Fatemeh Sharifi

79763282

Date: 2025-09-12 19:32:52
Score: 2
Natty:
Report link

This feature was added in XlsxWriter v3.2.6.

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

79763265

Date: 2025-09-12 18:53:43
Score: 2.5
Natty:
Report link

As user2357112 said, the answer is you can't do this in python. After doing some research I couldn't find any way for it to work. using a string of a memory location and building a new object of the same type off of that.

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

79763263

Date: 2025-09-12 18:47:41
Score: 1.5
Natty:
Report link

You can actually try:

volatile const int num=5;
int *pNum=(int*)&num;
*pNum=40;
std::cout<<num<<endl;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: playgood

79763258

Date: 2025-09-12 18:32:38
Score: 3
Natty:
Report link

You can try the app Zone Share.

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

79763254

Date: 2025-09-12 18:28:37
Score: 1.5
Natty:
Report link

The issue was with your EntitySetName property, when calling the API in BC it does not use EntityName but instead it uses EntitySetName

e.g. {{baseurl}}/v2.0/{{tenantId}}/{{environment}}/api/<api publisher>/<api group>/v2.0/companies({{companyId}})/PunchoutReceiver

use this instead
{{baseurl}}/v2.0/{{tenantId}}/{{environment}}/api/<api publisher>/<api group>/v2.0/companies({{companyId}})/PunchoutReceivers

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

79763251

Date: 2025-09-12 18:25:37
Score: 0.5
Natty:
Report link

Most likely the assigned role which should invoke the ECS Task doesn't has the permission for `ecs:RunTask`. But to find the exact route cause, you have to go to "CloudTrail > Event history" and then look for the corresponding RunTask event. In the detail view you will find the "errorMessage".

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

79763241

Date: 2025-09-12 18:13:34
Score: 1
Natty:
Report link

I added exporterPdfAlign: 'right' to columnDefs's column definition, then issue was fixed.

ex:

$scope.gridOptions = {
    columnDefs: \[

        { field: 'name', displayName: 'Name', exporterPdfAlign: 'right' },  
................
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: JagathNalin

79763236

Date: 2025-09-12 18:13:34
Score: 1
Natty:
Report link

.

.

// Jvdroid-main: vishal

// Jvdroid-main:

//import speech_recognition as sr

//import pyttsx3

//import requests

//import json

//import re

//import webbrowser

//import os

//import subprocess

//import time

//import threading

//from gtts import gTTS

//import playsound

//import tempfile

//from tkinter import Tk, Label

//from PIL import Image, ImageTk, ImageSequence

//# === CONFIGURATION ===

//DEEPSEEK_API_KEY = "sk-or-v1-bd1fafaf02a2e79ee7b20sfdfac3a4bb9c10705b6d2d6be3aeb1268253b4c724"

// DEEPSEEK_API_URL = "https://openrouter.ai/api/v1/chat/completions"

// SERP_API_KEY = "f4e2c40724716d5c7dac9fb8717da4sdffsf7046fb9128683222909e87c44f"

//# Initialize TTS engine

// engine = pyttsx3.init('sapi5')

// engine.setProperty("rate", 180)

//# Initialize speech recognizer

// recognizer = sr.Recognizer()

// interrupt_event = threading.Event()

//# === Show GIF animation function ===

// def show_gif_animation(gif_path):

// def start_animation():

// def update_frame(counter):

// try:

// frame = frames[counter]

// gif_label.configure(image = frame)

// window.after(100, update_frame, (counter + 1) % len(frames))

// except Exception as e:

// print("❌ Frame update error:", e)

// global window, gif_label, frames

// window = Tk()

// window.title("Jarvis AI")

// window.configure(bg = "black")

// window.geometry("500x500+600+200")

//# window.geometry("1080x720+600+200")

// window.overrideredirect(True) # Hide window borders

// gif = Image.open(gif_path)

// frames = [ImageTk.PhotoImage(frame.copy().convert("RGBA")) for frame in ImageSequence.Iterator(gif)]

// gif_label = Label(window, bg = "black")

// gif_label.pack(expand = True)

// update_frame(0)

// window.mainloop()

// threading.Thread(target = start_animation, daemon = True).start()

//# Background listener thread for interruption

// def persistent_interruption_listener():

// with sr.Microphone() as source:

// recognizer.adjust_for_ambient_noise(source)

// while True:

// try:

// print("🎧 Listening for 'Jarvis stop' command...")

// audio = recognizer.listen(source, timeout = 2, phrase_time_limit = 3)

// said = recognizer.recognize_google(audio)

// print("🔈 Interruption Listener Heard:", said)

// if "jarvis stop" in said.lower():

// interrupt_event.set()

// engine.stop()

// print("🛑 Interruption triggered.")

// except sr.WaitTimeoutError:

// continue

// except sr.UnknownValueError:

// continue

// except Exception as e:

// print("🎧 Listener Error:", e)

// listener_thread = threading.Thread(target = persistent_interruption_listener)

// listener_thread.daemon = True

// listener_thread.start()

//# Speak Function with Hindi + Interruption support

// def speak(text, lang = "en", allow_interruption = True):

// interrupt_event.clear()

// print("🗣 Speaking:", text)

// if lang == "hi":

// try:

// with tempfile.NamedTemporaryFile(delete = False, suffix = ".mp3") as fp:

// temp_path = fp.name

// tts = gTTS(text = text, lang = 'hi')

// tts.save(temp_path)

// playsound.playsound(temp_path)

// os.remove(temp_path)

// except Exception as e:

// print("Error in Hindi TTS:", e)

// else: if not allow_interruption:

// engine.say(text)

// engine.runAndWait()

// return

// words = text.split()

// chunk = ""

// for word in words :

// if interrupt_event.is_set():

// print("🛑 Speech manually interrupted.")

// break

// chunk += word + " "

// if len(chunk) > 100000 or word == words[-1]:

// engine.say(chunk)

// engine.runAndWait()

// chunk = ""

// def listen():

// with sr.Microphone() as source:

// recognizer.adjust_for_ambient_noise(source)

// print("🎤 Listening...")

// audio = recognizer.listen(source)

// try:

// print("🔍 Recognizing...")

// query = recognizer.recognize_google(audio)

// print("You said:", query)

// return query

// except Exception:

// return None

// def clean_response(text):

// text = re.sub(r'\\n', ' ', text)

// text = re.sub(r'\n', ' ', text)

// text = re.sub(r'\r', '', text)

// text = re.sub(r'[*_`#>\[\]{}|]', '', text)

// text = re.sub(r'\\boxed', '', text)

// text = re.sub(r'\\frac', '', text)

// text = re.sub(r'\\sqrt', '', text)

// text = re.sub(r'\\textbf', '', text)

// text = re.sub(r'\\begin{[^}]+}', '', text)

// text = re.sub(r'\\end{[^}]+}', '', text)

// text = re.sub(r'\\[a-zA-Z]+\{[^}]*\}', '', text)

// text = re.sub(r'\s{2,}', ' ', text)

// return text.strip()

// def google_search(query):

// print(f"🔎 Performing Google search for: {query}")

// params = {

// "engine": "google",

// "q": query,

// "api_key": SERP_API_KEY,

// "num": 3

// }

//try:

// response = requests.get("https://serpapi.com/search", params = params, timeout = 5)

// data = response.json()

// snippets = []

// if "organic_results" in data:

// for result in data["organic_results"][:3] :

// if "snippet" in result:

// snippets.append(result["snippet"])

// print("🔎 Snippets Found:")

// for snippet in snippets :

// print("-", snippet)

// return snippets

// except Exception as e :

// print(f"❌ Google Search Error: {e}")

// return []

// def chat_with_deepseek(prompt) :

// headers = {

// "Authorization": f"Bearer {DEEPSEEK_API_KEY}",

// "Content-Type": "application/json",

// "HTTP-Referer": "https://your-site-or-project.com",

// "X-Title": "Jarvis Assistant"

// }

//data = {

// "model": "deepseek/deepseek-r1-zero:free",

// "messages": [

// {

// "role": "system",

// "content": "You are Jarvis, a helpful voice assistant. Respond clearly and briefly using the provided cont;ext."

// },

// {

// "role": "user",

// "content": f"Context: {prompt['context']}\n\nQuestion: {prompt['question']}"

// }

// ]

//}

//try:

// response = requests.post(DEEPSEEK_API_URL, headers = headers, data = json.dumps(data), timeout = 10)

// if response.status_code == 200:

// result = response.json()

// answer = result["choices"][0]["message"]["content"]

// print("🧠 AI Response:", answer)

// return clean_response(answer)

// else:

// print(f"❌ Deepseek Error: {response.status_code} {response.text}")

// return "Sorry, I couldn't get a response from the AI."

// except Exception as e:

// print(f"❌ Exception in Deepseek: {e}")

// return "There was a problem connecting to the AI."

// def rag_response(user_question):

// snippets = google_search(user_question)

// context = " ".join(snippets) if snippets else "No recent information found."

// prompt = {

// "context": context,

// "question": user_question

// }

//return chat_with_deepseek(prompt)

// def detect_language(text):

// for ch in text :

// if '\u0900' <= ch <= '\u097F':

// return "hi"

// return "en"

//# === MAIN ===

// def main():

// show_gif_animation("C:\\Users\\gaura\\Desktop\\Phucological article\\AI Animation.gif")

// speak("Hello, I am Jarvis. Say 'Jarvis' to activate me.")

// while True:

// print("🕒 Waiting for wake word 'Jarvis'...")

// wake_input = listen()

// if wake_input and "jarvis" in wake_input.lower():

// speak("Yes? What would you like me to do?")

// command = listen()

// if not command:

// speak("Sorry, I didn't catch that.")

// continue

// command_lower = command.lower()

// if any(word in command_lower for word in ["exit", "quit", "stop", "bye"]) :

// speak("Goodbye! Have a great day.")

// break

// elif "shutdown" in command_lower :

// speak("Shutting down the system.")

// os.system("shutdown /s /t 1")

// break

// elif "open chrome" in command_lower :

// speak("Opening Chrome.")

// chrome_path = "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe"

// subprocess.Popen([chrome_path])

// elif "search for" in command_lower or "google" in command_lower :

// search_query = command_lower.replace("search for", "").replace("google", "").strip()

// if not search_query:

// speak("What should I search for?")

// search_query = listen()

// if not search_query:

// speak("Sorry, no search query detected.")

// continue

// speak("Searching, please wait...")

// start = time.time()

// answer = rag_response(search_query)

// end = time.time()

// print(f"⏱ RAG time: {end - start:.2f}s")

// lang = detect_language(answer)

// speak(answer, lang = lang)

// elif "open folder" in command_lower:

// folder = command_lower.replace("open folder", "").strip()

// folder_path = os.path.join("C:\\Users\\YourUsername\\", folder)

// if os.path.exists(folder_path):

// speak(f"Opening folder {folder}")

// os.startfile(folder_path)

// else:

// speak("Sorry, I can't find that folder.")

// else:

// speak("Let me check, please wait...")

// start = time.time()

// answer = rag_response(command)

// end = time.time()

// print(f"⏱ RAG time: {end - start:.2f}s")

// lang = detect_language(answer)

// speak(answer, lang = lang)

// if _name_ == "__vishal __":

// if . www.comvishsl9738383.java.kombn main(wehayk.) j

**1**

.

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

79763234

Date: 2025-09-12 18:03:08
Score: 5
Natty: 5.5
Report link

Bhai iska password bata do email ka mujhe pata nahin aur meri 2 sal se band hai please khol do iskoBhai iska password bata do email ka mujhe pata nahin aur meri 2 sal se band hai please khol do isko

Reasons:
  • RegEx Blacklisted phrase (2): Bhai
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Abhishek parmar

79763231

Date: 2025-09-12 17:59:07
Score: 0.5
Natty:
Report link

i had a similar problem, here is my fix: IIS Rewrite Rule for Lower Case URL's

check your web.config file, make sure, if you do have a "enforce lower-case URLs" that you alter it, as I did. as this was what caused the WebResource.axd file to not load.

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

79763229

Date: 2025-09-12 17:58:07
Score: 3
Natty:
Report link

Quick evaluate with Alt + Click

You can evaluate an expression right in the editor. Hover over it with your mouse and press Alt + Click to see the result.

enter image description here

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

79763228

Date: 2025-09-12 17:58:07
Score: 2.5
Natty:
Report link

In case anyone has this issue with auto imports enabled in nuxt 4, just import the type manually. This resolved the issue on my end.

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

79763220

Date: 2025-09-12 17:45:04
Score: 2
Natty:
Report link

Everything You Need to Know About Walmart Gift Cards

enter image description here

Walmart gift cards are one of the most convenient and versatile ways to shop, save, or share with others. Whether you’re looking for the perfect present, a reward option, or simply a way to manage your own shopping, Walmart gift cards are a practical choice.

✅✅ Apply Now

What is a Walmart Gift Card?

A Walmart gift card is a prepaid card that can be used to purchase items at Walmart stores, Walmart.com, and even at Sam’s Club. Available in both physical and digital (eGift card) forms, it gives recipients the freedom to choose from thousands of products — groceries, electronics, clothing, household goods, and more.

Benefits of Walmart Gift Cards

How to Get a Walmart Gift Card

You can purchase them at Walmart stores, on Walmart’s website, or from authorized retailers. They’re available in custom amounts, allowing you to load the balance that fits your budget.

Checking Your Balance

It’s easy to keep track of your balance online at Walmart.com, through the Walmart app, or by calling their customer service.

Final Thoughts

Walmart gift cards offer both convenience and flexibility, making them one of the most practical gift solutions available today. Whether you’re treating yourself or surprising someone else, a Walmart gift card ensures the freedom to choose exactly what’s needed.

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Denise H. Winters

79763219

Date: 2025-09-12 17:42:03
Score: 2.5
Natty:
Report link

turns out it was a problem with the draw color idk why but it worked when i tried setting the draw color to black before SDL_RenderClear()

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Theo Morton

79763216

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

I am also getting that error, and I believe it may be related to the data you are scraping. If it is a dynamically generated array and you are specifying specific data to scrape (i.e. defining the size of the df you are creating), the tensor module reports it as an error which may prevent acquiring the correct data. Look into how to allow a dynamic df, even if you are consistently getting the data you want with your current code.

Reasons:
  • RegEx Blacklisted phrase (1): I am also getting that error
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jeff P

79763210

Date: 2025-09-12 17:29:00
Score: 1
Natty:
Report link

firstOrNull() is a Kotlin extension function that works on kotlin.collections.Iterable<T>

but productDetailsList is a Java List<ProductDetails> (from the Play Billing library).

Convert to Kotlin collection first

val firstProduct: ProductDetails? = productDetailsList
    ?.toList()
    ?.firstOrNull()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): is a
  • Low reputation (0.5):
Posted by: harsh bangari

79763207

Date: 2025-09-12 17:23:58
Score: 2.5
Natty:
Report link

Missing categories.

android.intent.category.HOME and android.intent.category.DEFAULT

For more information: https://developer.android.com/reference/android/content/Intent

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

79763197

Date: 2025-09-12 17:11:55
Score: 2
Natty:
Report link

🎁 Don’t miss your chance to join the Walmart Gift Card Giveaway! 🛒 With a free Walmart gift card, you can shop for groceries, electronics, clothing, and so much more—all without spending a dime. ✨ It’s simple, fun, and the perfect way to save while enjoying the products you love. 🔑 Enter today and unlock the opportunity to win big at Walmart! 🏆

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Denise H. Winters

79763170

Date: 2025-09-12 16:32:45
Score: 7 🚩
Natty: 5
Report link

Has there been any resolution to this? Have the same issues and it comes back as well.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): Have the same issue
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: John

79763156

Date: 2025-09-12 16:14:40
Score: 0.5
Natty:
Report link

Maybe you're packaging you dependencies wrong. for adding layer to the lambda function you should follow the below steps:

mkdir -p openapi/python && cd openapi/python

pip install openapi -t .

zip -r openapi.zip openapi/

then upload the zip. please confirm that this step is ok.

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

79763153

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

Got it working, I was using BO Id in place of client id, corrected it & it worked

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sujata

79763152

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

As mentioned above, ARR_WORDS is used internally in the definition of ByteString and Text. Since this question is specifically about profiling heap usage, I want to add the following. ARR_WORDS is specifically pinned data, which is data that the garbage collector cannot copy and move to new blocks in order to compactify the heap.

This can cause heap fragmentation (i.e., lots of memory allocated for the heap, but not many live objects on the heap). I found this Well-Typed blog post to be extremely helpful in understanding how ARR_WORDS can affect the heap: https://www.well-typed.com/blog/2020/08/memory-fragmentation

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

79763150

Date: 2025-09-12 16:10:39
Score: 0.5
Natty:
Report link

Here is my solution without using value_box function of library(bslib) library(bsicons).

output of code


title: "Count N" format: dashboard server: shiny


#| context: setup

library(shiny)
library(shinyWidgets)
library(tidyverse)

data <- tibble::tibble(a = c(1, 2, 3)) # The data should always be retrieved from a server when the dashboard starts later, that's why I need the server context

{.sidebar width="20%"}

 

 sliderInput(
      inputId = "myValue",
      label = "custom slider",
      min = 1,
      max = 50,
      value = 30
    )


 

Row {height="20%"}

#| title: "n1"
#| icon: "trash"
#| color: teal

 textOutput("n1")
#| content: valuebox
#| title: "n4"
#| icon: pencil
#| color: teal

 textOutput("n4")

Row {height="30%"}

Column {.tabset}

#| content: valuebox
#| title: "n2"
#| icon: music
#| color: teal

 textOutput("n2")
#| content: valuebox
#| title: "n2"
#| icon: music
#| color: teal

 textOutput("n2")

Fixed Value: n3

#| content: valuebox
#| title: "Fixed Value: n3"
#| icon: "trash"
#| color: "danger"



textOutput("myFixValue")

Column {height="70%"}

#| title: "Dynamic Value Depends on Slider"


textOutput("myValueText")

 
#| context: server

 

  n <- data |> nrow() |> as.character()
  
 

  output$n1 <- renderText(n)
  output$n4 <- renderText(paste0("my new value:", " ", n))
  
   output$n2 <- renderText(n)
  
  n3 <- 99 |> as.character()
  
  output$myFixValue <- renderText(n3)
  
  output$myValueText <- renderText({  input$myValue})
  
Reasons:
  • Blacklisted phrase (0.5): I need
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: OkkesDulgerci

79763144

Date: 2025-09-12 16:04:37
Score: 4.5
Natty:
Report link

In addition to check the Security groups for both Loadbalancer and the ec2 instances, also you should make sure the the target group you defined for the ec2 instances listen on correct port. otherwise please give more data

Reasons:
  • RegEx Blacklisted phrase (2.5): please give
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Saleh

79763138

Date: 2025-09-12 15:58:35
Score: 0.5
Natty:
Report link

Given that your payload structure implemented ("mutable-content": 1 in aps and the image URL in fcm_options) is directly aligned with the Firebase documentation, it's possible the issue lies on the client-side of your Flutter application.
This might shed some light: https://rnfirebase.io/messaging/ios-notification-images

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

79763130

Date: 2025-09-12 15:52:30
Score: 11.5 🚩
Natty:
Report link
Hi, I have the same problem as you, have you solved it?
Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Blacklisted phrase (2): have you solved it
  • RegEx Blacklisted phrase (1.5): solved it?
  • Low length (1.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: 龚羿豪

79763122

Date: 2025-09-12 15:46:28
Score: 1.5
Natty:
Report link

I was getting the same run_results pattern. It seems like the reason is that in dbt cloud the dbt docs command always runs last, so it overwrites the actual command you want the artifact from. To fix this, untick the "Generate docs on run" option.

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

79763107

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

An official method seems to be there now:

https://github.com/awsdocs/elastic-beanstalk-samples/blob/main/configuration-files/aws-provided/instance-configuration/cron-leaderonly-linux.config

###################################################################################################
#### This configuration file allows a cron job to run only on one Linux instance in the environment.
#### 
#### The script "/usr/local/bin/test_cron.sh" will sort and compare the current instances in the
#### Auto Scaling group and if it matches the first instance in the sorted list it will exit 0.
#### This will mean that this script will only exit 0 for one of the instances in your environment.
####
#### The second script is an example of how you might use the "/usr/local/bin/test_cron.sh" script
#### to execute commands and log a timestamp to "/tmp/cron_example.log".
####
#### A cron example is setup at "/etc/cron.d/cron_example" to execute the script 
#### "/usr/local/bin/cron_example.sh" every minute. A command is also run upon each deployment to 
#### clear any previous versions of "/etc/cron.d/cron_example" by removing 
#### "/etc/cron.d/cron_example.bak".
####
#### Note that for the first script to gather the required information, additional IAM permissions
#### will be needed to be added to a policy attached to the instance profile used by the instances
#### in the environment. The policy shown below will grant the access needed. Note that the default
#### instance profile for Elastic Beanstalk is "aws-elasticbeanstalk-ec2-role".
Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Eric Muijs

79763091

Date: 2025-09-12 15:10:19
Score: 2
Natty:
Report link

You have to disable the required action "Verify Profile" in the authentication settings. In the admin user interface, you can find the authentication settings in the left navigation bar. On the authentication page, you can access the required actions via the equally named header.

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

79763088

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

Found the solution:

${{ if eq(product, 'ProductA') }}:
Reasons:
  • Whitelisted phrase (-2): solution:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Peter-Paul

79763086

Date: 2025-09-12 15:06:18
Score: 1.5
Natty:
Report link

I found the next elegant way in modern react

const [iover, toggleIover] = useReducer((prev) => !prev, false)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Maxim Isaev

79763081

Date: 2025-09-12 15:02:17
Score: 1.5
Natty:
Report link

Well what's the linking error you are having?

You may refer to the example_glfw_opengl3/Makefile but you probably already did as your Cmakefile seems generally sensible.

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

79763078

Date: 2025-09-12 14:56:16
Score: 1.5
Natty:
Report link

First of all take a look at the scaler. Keep in mind to scale the data persistent. Based on you non-scaled price you are running into the issue woth your high RMSE.

I would suggest a consistent scaling. You don't have to scale always the same - it depends on the use case. But this non-scaled Y results in the high value.

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

79763068

Date: 2025-09-12 14:44:13
Score: 2.5
Natty:
Report link

I’m currently working on a mental health services website (https://clvpsych.com/) and I want to make sure the design is not only functional but also supportive for users who may be experiencing stress, anxiety, or other challenges.

From a development and UI/UX perspective, what are the best practices to:

I’d appreciate advice, resources, or examples from developers who have worked on healthcare or wellness-related websites.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Robert Smith

79763051

Date: 2025-09-12 14:23:09
Score: 0.5
Natty:
Report link

Now I’ve figured out what was going “wrong” — thanks for the valuable comments from user555045 and fuz!

Yes, this behavior is expected: on Haswell, IMUL is issued only on Port 1, which aligns with the observed results and also matches what uiCA shows.

The root cause of the “strange” interference in the loop containing the ADD instruction wasn’t the ADD itself — it was the JNZ. On Haswell, only one branch instruction can be taken per cycle, so two JNZ instructions cannot be executed "simultaneously" from two loops. The JNZ (macro-fused with DEC) is issued on Port 6, and when Port 6 is enabled in Intel PCM, we can observe where the “missing” µOps are actually landing on the CPU.

Here are two loops running simultaneously on Hyper-Threaded cores:

; Core 0
.loop:
    add r10, r10
    dec r8
    jnz .loop

; Core 1
.loop:
    imul r11, r11
    dec r8
    jnz .loop

And the result is including Port 6:

Time elapsed: 998 ms
Core | IPC | Instructions  |  Cycles  | RefCycles | PORT_0  | PORT_1  | PORT_5  | PORT_6
   0   1.98        7115 M     3590 M      3493 M    1148 M    1944 K    1222 M    2371 M
   1   1.00        3582 M     3589 M      3492 M     816 K    1193 M     593 K    1194 M

If I terminate the IMUL loop on Core 1 and leave only Core 0 running with ADD, then:

Core | IPC | Instructions  |  Cycles  | RefCycles | PORT_0  | PORT_1  | PORT_5  | PORT_6
   0   2.85          10 G     3643 M      3546 M    1132 M    1157 M    1175 M    3470 M
   1   0.81          55 M       68 M        67 M    9157 K    8462 K    9094 K    6586 K

This explains everything (at least for me).

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Andrey Dmitriev

79763047

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

I was encountering a similar issue while using Portainer. I had pulled the image using the Docker command line but once I attempted to deploy the updated image Portainer threw the "access forbidden" error on the "/manifest" endpoint.

The solution was to add the registry to Portainer itself, rather than logging in through the Docker CLI.

See the Portainer instructions for adding a registry: https://docs.portainer.io/admin/registries/add

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

79763044

Date: 2025-09-12 14:16:07
Score: 2
Natty:
Report link

We can do this by divide and conquer, firstly sort the n lines in increasing order of slopes, then recursively find the upper envelop of first n/2 and last n/2 lines.

The combine step will require us to merge these upper envelops. They will only intersect at a unique point say x (why?), now all we have to do is find x. We can do it using two pointers, initialise them to the start of both upper envelop, now find the point of intersection of these lines say z, let u,v be their point of discontinuity in the envelop, if z<u and z<v return z else if z<u and z>v increment right pointer, else if z<v z>u increment left pointer else increment both pointers.

since the combine step takes O(n)

Time compleixty will be O(nlogn)

Reasons:
  • Blacklisted phrase (0.5): why?
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: user30538902

79763042

Date: 2025-09-12 14:14:07
Score: 1.5
Natty:
Report link

I know this is an old post, but someone might come across it like I did when having the same behaviour on a cPanel hosting server. In my case, I had forgotten that my domain was going through Cloudflare and they were caching my content to speed up performance. When you are entering a url for a resource that you are sure you have deleted and it still comes up, there's caching going on somehwere. That can be at the user (browser) level, hosting server level, or even at the domain level as it is if you use Cloudflare or something similar.

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

79763019

Date: 2025-09-12 13:47:00
Score: 3
Natty:
Report link

you can use free api for this
chek link:https://rapidapi.com/moham3iof/api/email-validation-scoring-api

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: mohamed

79763014

Date: 2025-09-12 13:42:59
Score: 2
Natty:
Report link

Is this what you're looking for?

import re
s = "ha-haa-ha-haa"
m = re.match(r"(ha)-(haa)-\1-\2", s)
print(m.group())

This outputs

ha-haa-ha-haa

as expected

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Is this
  • High reputation (-1):
Posted by: JRiggles

79763001

Date: 2025-09-12 13:34:56
Score: 1
Natty:
Report link

There is now a NuGet package that manages the registry for you to allow easy file extension association: dotnet-file-associator

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

79763000

Date: 2025-09-12 13:33:56
Score: 1
Natty:
Report link

There is now a NuGet package that manages the registry for you to allow easy file extension association: dotnet-file-associator

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

79762998

Date: 2025-09-12 13:32:56
Score: 1
Natty:
Report link

There is now a NuGet package that manages the registry for you to allow easy file extension association: dotnet-file-associator

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

79762997

Date: 2025-09-12 13:31:55
Score: 2
Natty:
Report link

One possible solution I am considering is to use pthread_self() as a pthread_t value that is guaranteed not to be one of the spun-off threads.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Jon Green

79762995

Date: 2025-09-12 13:30:55
Score: 0.5
Natty:
Report link

This is a known issue with the Samsung Keyboard (not Flutter and not your code).

The workaround is: set keyboardType: TextInputType.text for all fields and use persistent FocusNodes.

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

79762990

Date: 2025-09-12 13:24:54
Score: 1.5
Natty:
Report link

If none of the solutions here worked for you, here's what finally solved it for me: I discovered that "Emulate a focused page" was enabled in Chrome DevTools few months ago and forgot about it. I was using DevTools to debug the visibilitychange event, but DevTools itself was preventing the event from firing by emulating constant focus. Two hours of my life gone.

Emulate a focused page setting

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

79762987

Date: 2025-09-12 13:21:52
Score: 11.5 🚩
Natty: 5.5
Report link

Did you get the solution?
Please share it, I am facing the same issue and not able to figure yout

Reasons:
  • RegEx Blacklisted phrase (2.5): Please share
  • RegEx Blacklisted phrase (3): Did you get the solution
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same issue
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Nitesh

79762985

Date: 2025-09-12 13:18:51
Score: 4.5
Natty:
Report link

When looking more into it, it seems like there was no requests on the web app for an extended time period, so the solution was to go :
web app -> config -> always on -> on

enter image description here

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: jack spiratos

79762977

Date: 2025-09-12 13:09:49
Score: 1.5
Natty:
Report link

In Angular SurveyJS Form Library, a question is rendered by the Question component (question.component.ts/question.component.html). This component contains various UI elements. For instance, the component which render question errors, the header component which may appear above or under the main content and the component which renders the main question content.

When you register a custom question type and implement a custom renderer, you actually override the question content component.

Based on your explanation, I understand that you wish to customize the appearance of SurveyJS questions. If you wish to modify the appearance of SurveyJS questions, we suggest that you create a custom theme using the embedded Theme Editor. A custom theme contains various appearance settings such as colors, element sizes, border radius, fonts, etc.
If you cannot create 100% identical forms by using a custom theme, the next step to try is to modify the form CSS using corresponding API: Apply Custom CSS Classes.

Unfortunately, the entire question component cannot be overridden at the moment. If you plan to override the entire question component, take note that all SurveyJS question UI features will be unavailable; in particular, you would require to handle responsiveness and render question errors, etc. Please let me know if you would like to proceed with overriding the entire question component.

I suggest that you use default SurveyJS question types and align a question title on the left and introduce the space between the title and an input field by placing a question within a panel and specifying questionTitleWidth. For example: View Demo.

Reasons:
  • RegEx Blacklisted phrase (2.5): Please let me know
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: JaneJane

79762971

Date: 2025-09-12 13:04:47
Score: 2
Natty:
Report link

Create a 1/18 scale commercialized figurine of the car in the picture, in a realistic style, in a real environment. The figurine is placed on a computer desk. The figurine has a transparent acrylic base, with no text on the base. The content on the computer screen is the Blender modeling process of this figurine. Next to the computer screen is a TAMIYA style toy packaging box printed with the original artwork.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Санжар Ғұбайдолла

79762967

Date: 2025-09-12 13:02:47
Score: 1.5
Natty:
Report link

You can add an additional hover delay in your settings.json file:

  "editor.hover.delay": 2000,
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Deniz

79762963

Date: 2025-09-12 12:56:45
Score: 2
Natty:
Report link

It's not missing, you deleted it.

The file was in your .gitignore and you deleted your local, untracked copy. That's why it's not in git history. This is standard practice.

Your app still runs because Spring is loading config from somewhere else.

Look for application.yml in src/main/resources.

Look for a profile-specific file, like application-dev.properties.

Check your run configuration's VM arguments for --spring.config.location or -Dspring.profiles.active.

Recreate the file and move on.

Reasons:
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Tvätt-Olof

79762962

Date: 2025-09-12 12:56:45
Score: 3.5
Natty:
Report link

Just had the same issue on dbt cloud. Seems like a bug to me.

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

79762960

Date: 2025-09-12 12:54:44
Score: 3
Natty:
Report link

I have recently made it working with using cookies where you send timestamp and mac in separate cookies and it works fine

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

79762954

Date: 2025-09-12 12:53:44
Score: 3
Natty:
Report link

Use MAX(CASE…) with GROUP BY.

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

79762948

Date: 2025-09-12 12:44:40
Score: 2.5
Natty:
Report link

OneHotEncoder(handle_unknown="ignore")

# as it is code

x_train, x_test, y_train, y_test = train_test_split(x,y, test_size=0.25, random_state=42)

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

79762947

Date: 2025-09-12 12:43:40
Score: 1.5
Natty:
Report link

When you used InMemoryUserDetailsManager, security stored not the user object itself, but UserDetails which was safe and serialization does not have necessary. However with JPA Auth Server objects that contain OAuth2Authorization use ser via jackson there is a problem that jackson does not trust that class custom user. Consequently leading to 2 approaches, i guess, jackson Mixin like

public abstract class UserMixin {
    @JsonCreator
    public UserMixin(@JsonProperty("username") String username,
                     @JsonProperty("password") String password) {}
}

then in your config class register that Mixin. Second (much easier) add constructor to requered fields with @JsonCreator to your costr. and for every parameter @JsonProperty

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @JsonCreator
  • User mentioned (0): @JsonProperty
  • Starts with a question (0.5): When you use
  • Low reputation (1):
Posted by: JZARGO

79762939

Date: 2025-09-12 12:36:38
Score: 5
Natty:
Report link

have you tried to use sql mock ?

Reasons:
  • Whitelisted phrase (-1): have you tried
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nanda nur septama

79762938

Date: 2025-09-12 12:36:38
Score: 1
Natty:
Report link

pgAdmin doesn't create PostgreSQL servers, it provides a GUI to access and manage them, which is why you don't see a "create server" button - such a button existed in earlier versions but was poorly named.

Server groups are folders to organise your registered connections.

To add an existing server, right click your server group of choice, then "Register > Server...", and enter the connection details.

Some installations of pgAdmin may come bundled with a PostgreSQL server too, in which case you will have likely configured this server and set the credentials during installation. Alternatively, you may want to run your server through Docker, a VPS, or a managed Postgres hosting service, then register it in pgAdmin.

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

79762929

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

I managed to come up with a solution, AWS ElastiCache seems like it doesn't support localhost so I ran the api with a docker container so we can setup valkey, and it works like a charm, it also didn't affect the deployed api which is great.

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

79762926

Date: 2025-09-12 12:27:35
Score: 0.5
Natty:
Report link

Here is an alternative method of showing that this generates a uniform distribution of permutations.

Given a certain sequence of randint calls for Fisher-Yates, suppose we got the reversed sequence of calls for our modified algorithm.

The net effect is that we perform the swaps in reverse order. Since swaps are self-inverse, it follows that our modified algorithm produces the inverse permutation of the Fisher-Yates algorithm. Since every permutation has an inverse, it follows that the modified algorithm produces every permutation with equal probability.

(Incidentally, since rand() % N is not actually equiprobable (though the error is very slight for small N), this shows that both the standard FIsher-Yates algorithm and the modified algorithm are equally "bad", in that the set of probabilities for permutations is identical to each other (though this still assumes the PRNG is history-independent, but that's also not quite true).)

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

79762924

Date: 2025-09-12 12:25:34
Score: 1
Natty:
Report link

I was in a similar situation when I was skeptical about sharing my code. So before sharing my code I wanted to create another copy or create a copy of my repo with code. So below are the steps I followed.

  1. Create a copy of the project in your local file system

  2. Then go inside the project folder and manually delete the .git and the associated git folders

  3. Now open the project in Visual Studio.

  4. The from the bottom right extensions add the project to Git Repository and create a new Repository

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

79762922

Date: 2025-09-12 12:23:34
Score: 0.5
Natty:
Report link

Writing up what worked for me in the end, in case it helps anyone. It's probably obvious to people familiar with Doxygen, but it wasn't to me. Many thanks to @Albert for pushing me towards bits of the Doxygen documentation that I didn't know were there!

I have a file Reference.dox and the INPUT tag in my doxyfile points to it. In it I have:

/*! \page REFDOCS Reference Documents

    Comments in the code refer to the following documents:
...
*/

There are various possibilities for the "..."

1. \anchor

    \par My copy of the Coding Guidelines
    \anchor MISRA

    \par
    Hard-copy version is on Frank's desk.

This works. The Reference Documents page has the title "MISRA guidelines" and the instructions. In the documentation for the code, I get "it's coded like this to comply with rule XYZ in MISRA" and the "MISRA" is clickable. Clicking it takes me to the Reference Documents page. There, "My copy of the Coding Guidelines" is a paragraph heading in bold, and the instructions are indented below.

2. \section

    \section MISRA My copy of the Coding Guidelines

    Hard-copy version is on Frank's desk.

This works too. In the documentation for the code, I get "it's coded like this to comply with rule XYZ in My copy of the Coding Guidelines", and again that is a clickable link that gets me to the Reference Documents page. There, the heading "My copy..." is followed by the instruction text.

With a couple of documents on the page, I think this is a bit easier to read because I don't have \par all over the place.

There are probably other possibilities that I don't know about but these (probably the latter) will do for me.

Incidentally: if you get to https://www.doxygen.nl/manual/commands.html you can expand the "Special Commands" in the left sidebar to give a clickable list of the commands so you can get to them quickly. There is an alphabetical list of commands at the top of the page, but it's a long page so you don't see it, and the sidebar list is right there. BUT THE SIDEBAR LIST IS NOT ALPHABETICAL! When I was told about e.g. \cite it took me ages to find it because somehow I believed the list was alphabetical, and it was way off the bottom of the screen instead of being near the top of the list. When I found it, \anchor was right there too.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Whitelisted phrase (-1): worked for me
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Albert
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Frank Peelo

79762916

Date: 2025-09-12 12:18:33
Score: 1.5
Natty:
Report link

I would suggest you do the following:-

  1. Login to your GITHub account

  2. Then go to the Repositories.

  3. Now go to the Settings

  4. Then go down to the Danger Zone section.

  5. There you will find the option to Delete

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

79762914

Date: 2025-09-12 12:18:33
Score: 1.5
Natty:
Report link

If you get some like from the api, the problem which i faced was i coped the curl from the documentation
and then used it. The problem is the curl is deformed and the data in body should be in params instead of body.

as  {
      "error": {
        "code": 1,
        "message": "An unknown error occurred"
      }
    }

Try copying the curl and use an AI ( like chatGpt ) and say the curl is malformed and i am unbale to hit it in the terminal please fix.

so,

curl -s -X GET \
  -F "metric=likes,replies" \
    -F "access_token=<THREADS_ACCESS_TOKEN>"
"https://graph.threads.net/v1.0/<THREADS_MEDIA_ID>/insights" 

will be converted into something like the following (which works!)

curl -s -X GET "https://graph.threads.net/v1.0/<threads_post_id/insights?metric=likes,replies&access_token=<token>"
Reasons:
  • RegEx Blacklisted phrase (1): i am unbale to hit it in the terminal please
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Sarfaraz

79762912

Date: 2025-09-12 12:14:32
Score: 2
Natty:
Report link

For me the only format that worked was "MM/DD/YYYY HH:MM" with no extra leading zeros and using a 24 hour clock, so "7/14/2022 15:00" worked but "07/14/2022 3:00 PM" did not.

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

79762909

Date: 2025-09-12 12:10:30
Score: 0.5
Natty:
Report link

In your package's pubspec.yaml:

flutter:
  fonts:
    - family: TwinkleStar
      fonts:
        - asset: assets/fonts/TwinkleStar-Regular.ttf

In your widget:

Text(
  'Hello World',
  style: TextStyle(
    fontFamily: "packages/sdk/TwinkleStar",
    fontSize: 24,
  ),
);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Talha

79762905

Date: 2025-09-12 12:04:29
Score: 1.5
Natty:
Report link

Hii: Lusia

So it’s just:
link click → run function se(...) with those values.

Reasons:
  • Contains signature (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: lusia

79762901

Date: 2025-09-12 12:01:28
Score: 2
Natty:
Report link

ggMarginal has groupColour = TRUE and groupFill = TRUE which allows to take the groups from the initial ggplot.

library(ggplot2)
library(ggExtra)

p <- ggplot(iris, aes(x = Sepal.Length, y = Sepal.Width, color = Species)) +
  geom_point()

ggMarginal(p, type = "density", groupColour = TRUE, groupFill = TRUE)

enter image description here

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

79762898

Date: 2025-09-12 11:57:27
Score: 0.5
Natty:
Report link

If your goal is to have two-dimensional, always visible scrollbars, currently Flet doesn’t support this feature out of the box. I ran into the same limitation, so I created an extension for Flet that adds true two-dimensional scrollbars and some additional functionality. It might help in your case: Flet-Extended-Interactive-Viewer.

With normal Flet, you can have two scrollbars, but one of them only appears at the end of the other, which isn’t ideal for some layouts.

Reasons:
  • Whitelisted phrase (-1): in your case
  • No code block (0.5):
  • Low reputation (1):
Posted by: Florian Hock

79762897

Date: 2025-09-12 11:56:27
Score: 1
Natty:
Report link

After hours fiddling with this, I post the question, then find a fix!

I had to SSH in to the box and edit extension.ini to add extension = php_openssl.so

After re-uploading that, it gave me the option in:

Web Station > Script Language Settings > [profile] > Edit > Extensions > openssl

I swear the option was there and was ticked before, but was now unticked. Reselected, saved, and it works....

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

79762895

Date: 2025-09-12 11:56:27
Score: 1.5
Natty:
Report link

I figured it out. I had to delete the neon directory and rerun the generation.

Reasons:
  • Whitelisted phrase (-2): I figured it out
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: sylvesterasa

79762875

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

Aapko existing tags use karne padenge jo already maujood hain. Aapke topic ke liye kuch relevant general tags ho sakte hain

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

79762860

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

Currently, Flet doesn’t support this feature out of the box. I ran into the same limitation, so I created an extension for Flet that adds two-dimensional scrollbars and some additional functionality. It might help in your case: Flet-Extended-Interactive-Viewer

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