79819388

Date: 2025-11-13 20:17:01
Score: 3.5
Natty:
Report link

Yes, how do I set the value of public List Tags { get; } = []; and public List Posts { get; } = []; while those two do not have the set; There is something I don't get in the .net example in the documentation

Reasons:
  • Blacklisted phrase (1): how do I
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Arnaud VDR

79819386

Date: 2025-11-13 20:17:01
Score: 0.5
Natty:
Report link

This is BASE64 encoding, as currently described in RFC-4648.

For whatever language you're using, just look up base64 in that language's standard library; you should find it.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: J Earls

79819384

Date: 2025-11-13 20:15:01
Score: 3.5
Natty:
Report link

I don't know what is it and I'm affraid it may be malware

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

79819382

Date: 2025-11-13 20:13:00
Score: 2
Natty:
Report link

That looks like it's standard base64 encoding, but after you run it through a base64 decoder, what are you going to do with it? Do you know what type of data it is?

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

79819378

Date: 2025-11-13 20:05:58
Score: 2.5
Natty:
Report link

What do you mean by "how do I set the value?" Which value? And by "set" do you mean a DbSet<Post> and DbSet<Tag>?

Reasons:
  • Blacklisted phrase (1): how do I
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): What do you mean
  • High reputation (-2):
Posted by: Greg Burghardt

79819371

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

I know this is an old question, but I bumped into this issue today while tinkering, and the problem ultimately was the guy in the chair, not the code on the screen.

After trying all the suggestions, I found that this:

https://google.com

did not work, while this:

https://www.google.com

did. It's a silly error on my part, but then again with how smart modern browsers can be, I can't remember the last time I had to actually type the www portion of a URL.

Reasons:
  • Blacklisted phrase (1): did not work
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Snowie

79819353

Date: 2025-11-13 19:29:51
Score: 1
Natty:
Report link
  1. Push the APK to /system/priv-app/ during ROM build

  2. Set proper permissions in the manifest - Add this attribute to your <application> tag:

    android:persistent="true"
    
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: S. Ber Rosenberg

79819334

Date: 2025-11-13 19:13:46
Score: 7.5
Natty:
Report link

polyhedra

I want it to be just a polyhedron with all the outer vertices, something like this image, I think a convex hull would do the job, any hints on where I can start learning?

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Diabo Veio

79819330

Date: 2025-11-13 19:03:42
Score: 12.5 đźš©
Natty: 5.5
Report link

En que parte esta la respuesta completa tengo el mismo problema ya encontraron la soluciĂłn

Reasons:
  • Blacklisted phrase (2): tengo
  • Blacklisted phrase (3): soluciĂłn
  • RegEx Blacklisted phrase (2.5): mismo
  • RegEx Blacklisted phrase (2): encontraron
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Geovanny Altamirano

79819327

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

Any random cloud of dots can be made into almost any kind of shape, so what are your expectations? Does it need to be a convex hull? Or minimal surface, or star like, bunny like? I think your question lacks clarity at the moment. Or do you mean the dots are corners of platonic solids?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Pepijn Kramer

79819318

Date: 2025-11-13 18:43:38
Score: 1
Natty:
Report link

You need to use a session, and it needs to be modified to disable the ordinary behavior:

class ForwardedSession(requests.Session):
    def rebuild_auth(request, response):
        return

with ForwardSession() as session:
    response = session.put("http://forwarded_url", auth=(user, password))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jon Obermark

79819315

Date: 2025-11-13 18:37:36
Score: 4.5
Natty:
Report link

https://colab.research.google.com/drive/1_i9mGaoR0e1D9XILsD2kQOcMTwdJkhCM?usp=sharing

this is the coding that i currently have

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

79819311

Date: 2025-11-13 18:36:35
Score: 4
Natty:
Report link

This was an amazing solution for my problem, thank you very much.🙏

I don't think I would have ever come up with that hahaha. You're great!

I don't want to bother you anymore.. but I just have one last question, I'm still trying to understand that type Id<T> at the beginning, why does it matter so much to wrap the Partial<> with it?

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (0.5): 🙏
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Alex

79819303

Date: 2025-11-13 18:28:33
Score: 0.5
Natty:
Report link

Short answer: You can’t—and shouldn’t—bypass Google’s CAPTCHA using Selenium.


🧱 Why it doesn’t work

Google’s reCAPTCHA is explicitly designed to detect automation tools like Selenium. It uses advanced fingerprinting (browser behavior, mouse movement, timing, IP reputation) to flag non-human interactions. Even if you manage to load the page, you’ll likely get stuck at the CAPTCHA challenge or be blocked entirely.


âś… What you can do instead (legitimately)

If you’re working on a real project and hitting CAPTCHA walls, here are some ethical and technically sound alternatives:


1. Use official APIs whenever possible

If your goal is to access Google services (like search, maps, or YouTube), use their APIs:

These are rate-limited but reliable and legal.


2. Reduce bot-like behavior

If you’re automating a third-party site (with permission), reduce the chances of triggering CAPTCHA:

from selenium import webdriver
import time, random

options = webdriver.ChromeOptions()
options.add_argument("--disable-blink-features=AutomationControlled")
driver = webdriver.Chrome(options=options)

driver.get("https://example.com")
time.sleep(random.uniform(3, 6))  # Randomized delay

Also consider

These won’t bypass CAPTCHA, but they may reduce how often it appears.


3. Use CAPTCHA-solving services (only if permitted)

If you’re authorized to access a site and CAPTCHA is a barrier:


đźš« What not to do


đź§­ Final thoughts

If you’re stuck on a specific automation problem — like form submission, browser fingerprinting, or ethical scraping — feel free to ask. Just steer clear of bypassing security mechanisms. Stack Overflow is about building things the right way, and contributing solutions that respect both technical boundaries and platform policies.

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

79819299

Date: 2025-11-13 18:26:33
Score: 4.5
Natty:
Report link

I have found the answer on 2nd question: string constant can be added by sentence:

#.{"string":!"str"}

But is it possible to set default value?

Reasons:
  • Blacklisted phrase (1): is it possible to
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: user2025098

79819298

Date: 2025-11-13 18:25:32
Score: 1.5
Natty:
Report link

Don't do this in SQL or PL/SQL, use your application.

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

79819290

Date: 2025-11-13 18:19:30
Score: 4
Natty: 4
Report link

Check this answer, pretty well explained
https://medium.com/@slavo3dev/understanding-different-ways-to-define-components-in-react-export-function-app-vs-export-6b374fd1c94c

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Lagi

79819288

Date: 2025-11-13 18:17:29
Score: 6.5 đźš©
Natty:
Report link

Execute this script to fix this:

#!/bin/bash

# Script para fazer downgrade do Docker Engine
# Uso: sudo ./docker-downgrade.sh [versĂŁo]
# Exemplo: sudo ./docker-downgrade.sh 5:27.5.1-1~ubuntu.22.04~jammy

set -e  # Parar em caso de erro

# Cores para output
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
NC='\033[0m' # No Color

# VersĂŁo padrĂŁo (vocĂŞ pode mudar aqui ou passar como argumento)
DEFAULT_VERSION="5:27.5.1-1~ubuntu.22.04~jammy"
VERSION="${1:-$DEFAULT_VERSION}"

echo -e "${YELLOW}=== Docker Engine Downgrade Script ===${NC}"
echo -e "VersĂŁo alvo: ${GREEN}$VERSION${NC}"
echo ""

# Verificar se está rodando como root
if [ "$EUID" -ne 0 ]; then
    echo -e "${RED}ERRO: Este script precisa ser executado como root (use sudo)${NC}"
    exit 1
fi

# Mostrar versĂŁo atual
echo -e "${YELLOW}=== VersĂŁo atual do Docker ===${NC}"
docker version 2>/dev/null || echo "Docker não está rodando ou não está instalado"
echo ""

# Confirmar com o usuário
echo -e "${YELLOW}=== AVISO ===${NC}"
echo "Este script irá:"
echo "  1. Fazer backup da configuração atual"
echo "  2. Parar o Docker"
echo "  3. Remover a versĂŁo atual"
echo "  4. Instalar a versĂŁo $VERSION"
echo "  5. Bloquear atualizações automáticas"
echo ""
read -p "Deseja continuar? (s/N) " -n 1 -r
echo ""
if [[ ! $REPLY =~ ^[Ss]$ ]]; then
    echo -e "${RED}Operação cancelada pelo usuário${NC}"
    exit 1
fi

# Verificar se há containers rodando
echo -e "${YELLOW}=== Verificando containers em execução ===${NC}"
RUNNING_CONTAINERS=$(docker ps -q 2>/dev/null | wc -l)
if [ "$RUNNING_CONTAINERS" -gt 0 ]; then
    echo -e "${YELLOW}AVISO: Há $RUNNING_CONTAINERS container(s) em execução${NC}"
    docker ps --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}"
    echo ""
    read -p "Deseja parar os containers antes de continuar? (s/N) " -n 1 -r
    echo ""
    if [[ $REPLY =~ ^[Ss]$ ]]; then
        echo "Parando containers..."
        docker compose down 2>/dev/null || docker stop $(docker ps -q) 2>/dev/null || true
    fi
fi
echo ""

# Backup da configuração
echo -e "${YELLOW}=== Fazendo backup da configuração atual ===${NC}"
BACKUP_DIR="/etc/docker.backup.$(date +%Y%m%d_%H%M%S)"
if [ -d "/etc/docker" ]; then
    cp -r /etc/docker "$BACKUP_DIR"
    echo -e "${GREEN}âś“ Backup criado em: $BACKUP_DIR${NC}"
else
    echo -e "${YELLOW}âš  DiretĂłrio /etc/docker nĂŁo existe, pulando backup${NC}"
fi
echo ""

# Parar o Docker
echo -e "${YELLOW}=== Parando Docker ===${NC}"
systemctl stop docker.socket 2>/dev/null || true
systemctl stop docker 2>/dev/null || true
echo -e "${GREEN}âś“ Docker parado${NC}"
echo ""

# Remover versĂŁo atual
echo -e "${YELLOW}=== Removendo versĂŁo atual ===${NC}"
apt-mark unhold docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin 2>/dev/null || true
apt-get remove -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin 2>/dev/null || true
echo -e "${GREEN}âś“ VersĂŁo atual removida${NC}"
echo ""

# Verificar se a versĂŁo existe no repositĂłrio
echo -e "${YELLOW}=== Verificando disponibilidade da versĂŁo ===${NC}"
if ! apt-cache madison docker-ce | grep -q "$VERSION"; then
    echo -e "${RED}ERRO: VersĂŁo $VERSION nĂŁo encontrada no repositĂłrio${NC}"
    echo ""
    echo "Versões disponíveis:"
    apt-cache madison docker-ce | head -10
    exit 1
fi
echo -e "${GREEN}âś“ VersĂŁo encontrada no repositĂłrio${NC}"
echo ""

# Instalar versĂŁo especĂ­fica
echo -e "${YELLOW}=== Instalando versĂŁo $VERSION ===${NC}"
apt-get update -qq
apt-get install -y \
  docker-ce=$VERSION \
  docker-ce-cli=$VERSION \
  containerd.io \
  docker-buildx-plugin \
  docker-compose-plugin

echo -e "${GREEN}âś“ Nova versĂŁo instalada${NC}"
echo ""

# Bloquear atualizações automáticas
echo -e "${YELLOW}=== Bloqueando atualizações automáticas ===${NC}"
apt-mark hold docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
echo -e "${GREEN}✓ Pacotes bloqueados para atualização${NC}"
echo ""

# Iniciar Docker
echo -e "${YELLOW}=== Iniciando Docker ===${NC}"
systemctl start docker
systemctl enable docker
echo -e "${GREEN}âś“ Docker iniciado${NC}"
echo ""

# Aguardar Docker inicializar
echo "Aguardando Docker inicializar..."
sleep 3

# Verificar instalação
echo -e "${YELLOW}=== Verificando instalação ===${NC}"
if docker version &>/dev/null; then
    echo -e "${GREEN}✓ Docker está funcionando corretamente${NC}"
    echo ""
    docker version
else
    echo -e "${RED}✗ ERRO: Docker não está funcionando corretamente${NC}"
    echo "Verifique os logs com: sudo journalctl -u docker -n 50"
    exit 1
fi

echo ""
echo -e "${GREEN}=== Downgrade concluĂ­do com sucesso! ===${NC}"
echo ""
echo "PrĂłximos passos:"
echo "  1. Se vocĂŞ parou os containers, inicie-os novamente com: docker compose up -d"
echo "  2. Para desbloquear atualizações futuras: sudo apt-mark unhold docker-ce docker-ce-cli"
echo "  3. Backup da configuração anterior em: $BACKUP_DIR"
echo ""
Reasons:
  • Blacklisted phrase (3): vocĂŞ
  • Blacklisted phrase (1): está
  • Blacklisted phrase (1): nĂŁo
  • RegEx Blacklisted phrase (2): encontrada
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Diogo Coutinho

79819280

Date: 2025-11-13 18:09:27
Score: 5
Natty:
Report link
ADAPTER = CloudAdapter(ConfigurationBotFrameworkAuthentication(CONFIG))

what should be inside Config

somebody Please help me on this

import asyncio
import json
from aiohttp import web
from botbuilder.core import TurnContext
from botbuilder.integration.aiohttp import CloudAdapter, ConfigurationBotFrameworkAuthentication
from botbuilder.schema import Activity
import jwt  # pip install pyjwt

# ----- Bot configuration -----
CONFIG = {
    "appId": "",
    "appSecret": ""
}

# Setup Bot Authentication
bot_auth = ConfigurationBotFrameworkAuthentication(CONFIG)

# Create Cloud Adapter
adapter = CloudAdapter(bot_auth)


# ----- Bot logic -----
async def bot_logic(turn_context: TurnContext):
    if turn_context.activity.type == "message":
        await turn_context.send_activity(f"You said: {turn_context.activity.text}")
    else:
        await turn_context.send_activity(f"[{turn_context.activity.type} event received]")


# ----- HTTP request handler -----
async def messages(req: web.Request) -> web.Response:
    # Print headers
    print("\n--- Headers ---")
    for k, v in req.headers.items():
        print(f"{k}: {v}")

    # Print incoming JSON
    body = await req.json()
    print("\n--- Incoming Activity ---")
    print(json.dumps(body, indent=4))

    # Print and decode Authorization header
    auth_header = req.headers.get("Authorization", "")
    print("\n--- Authorization Header ---")
    print(auth_header)

    if auth_header.startswith("Bearer "):
        token = auth_header[7:]
        try:
            decoded = jwt.decode(token, options={"verify_signature": False})
            print("\n--- Decoded JWT Token ---")
            print(json.dumps(decoded, indent=4))
        except Exception as e:
            print("Error decoding JWT token:", e)

    # Deserialize Activity
    activity = Activity().deserialize(body)

    # Process the activity
    try:
        await adapter.process_activity(auth_header, activity, bot_logic)
    except Exception as e:
        print("\n--- Adapter Error ---")
        print(e)

    return web.json_response({"status": "ok"})


# ----- Setup web server -----
app = web.Application()
app.router.add_post("/api/messages", messages)

if __name__ == "__main__":
    print("======= Running on http://localhost:3978 =======")
    web.run_app(app, host="0.0.0.0", port=3978)

I gave config something like this

I could find proper documentation for cloud adaptor
[Errno Unauthorized. Invalid AppId passed on token: ]

I'm getting unauthorized error. Due to app id is passed as None while creating cloudadaptor. Even though I gave proper app id it's not aligning properly

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Please help me
  • RegEx Blacklisted phrase (1): I'm getting unauthorized error
  • Long answer (-1):
  • Has code block (-0.5):
  • Starts with a question (0.5): what
  • Low reputation (1):
Posted by: Premji Amaran

79819279

Date: 2025-11-13 18:08:26
Score: 3
Natty:
Report link

I updated ggdist to version 3.3.3 and no longer had this issue.

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

79819278

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

I am working in R on Mac and have a related question.
I first had the same error as described above.
Run this code in the R console before deploying the app:

install.packages("plotly", repos = "https://cran.rstudio.com/")

Include this code at the beginning of |app.R"

library(ggplot2) # dependency
library(stats) # dependency
library(graphics) # dependency
library(plotly)

I am still trying to deploy an app that includes a plotly figure on shinyapps.io. When running the app locally, it works fine. However, when deploying the app on shinyapps.io, I get this error:

Error in plotlyOutput("name_of_sunburst_plot")
could not find function "plotlyOutput"

In ui, I use:

sunburst_finance_count
})
             tabPanel("Panel name", 
                      h4("TextText"), 
                      p("TextText."), 
                      plotly::plotlyOutput(outputID="instruments_sunburst"
                                   # , height = "800px"
                                   )),

In server, I use the following code (sunburstDF and custom_colors are defined in global.R)

output$instruments_sunburst <- renderPlotly({
sunburst_finance_count <-
plot_ly(
data = sunburstDF_inst,
ids = ~ids,
labels = ~labels,
parents = ~parents,
values = ~values,
type = 'sunburst',
branchvalues = 'total',
hoverinfo = 'text',
textinfo = 'label+percent parent', # Add the count to the textinfo by adding +value
hovertext = ~hoverinfo,
insidetextorientation = "radial", # Adjust text orientation
marker = list(
colors = custom_colors_instruments # Apply the custom color scale
)
)
})

I appreciate any advice on how to address this error.

Reasons:
  • RegEx Blacklisted phrase (1): I get this error
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: blue_elephant

79819277

Date: 2025-11-13 18:07:26
Score: 2
Natty:
Report link

Show us the complete HTTP requests for both situations. Is there a difference in what each method is doing?

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

79819263

Date: 2025-11-13 17:53:22
Score: 2.5
Natty:
Report link

yo creo que a la hora de usar componentes de Bootstrap es difĂ­cil de editarlos estilos de estos mismos, pero se puede por medio del mismo Bootstrap, USANDO EL CODIGO DE BOOTSTRAP PODEMOS CAMBIAR EL COLOR DEL BORDER USANDO LA CLASE BORDER BORDER-WHITE

<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
<main class="bg-black">
<div class="card border border-white" style="width: 800px; border-radius: 23px; background-color: rgb(35, 33, 33); color: white;">
  <h5 class="card-header" style="color: white">Time Managing</h5>
  <div class="card-body" style="color: white">
    <h5 class="card-title">PRIMER TITULO</h5>
    <p class="card-text">CONTENIDO</p>
    <a href="#" class="btn btn-primary">MAS</a>
  </div>
</div>
</main>

Reasons:
  • RegEx Blacklisted phrase (2.5): mismo
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Luis David Diaz Hoil

79819259

Date: 2025-11-13 17:50:21
Score: 1.5
Natty:
Report link

To this day I suspect it’s related to my home router or ISP (though I can’t prove it).

It works fine on other connections like my mobile hotspot or office network.
Switching to Cloudflare DNS didn’t help.

The only workaround I’ve found is disabling:
Docker Desktop → Settings → General → "Use containerd for pulling and storing images"

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

79819258

Date: 2025-11-13 17:49:21
Score: 2.5
Natty:
Report link

Kevin from the Colab team. We just released an open source VS Code extension for connecting notebooks in VS Code to Colab runtimes. Give it a try and let me know what you think - here, or on the GitHub repo's discussions or issues.

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

79819257

Date: 2025-11-13 17:49:21
Score: 3.5
Natty:
Report link

This is not relevant to the question though, anybody coming here knows this

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

79819254

Date: 2025-11-13 17:48:20
Score: 1
Natty:
Report link

I like to clarify usage:

SETUPTOOLS_SCM_PRETEND_VERSION_FOR_MY_PACKAGE=$VERSION

That means if I have in pyproject.toml:

[project]
name = "qc-iodata"

the right forms is:

SETUPTOOLS_SCM_PRETEND_VERSION_FOR_QC_IODATA

So I can do in bash:
export SETUPTOOLS_SCM_PRETEND_VERSION_FOR_QC_IODATA=1.0.0a8

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

79819253

Date: 2025-11-13 17:46:20
Score: 1
Natty:
Report link

https://www.baeldung.com/java-custom-truststore article with a very similar code approach. Suggests another simple option: merge the system keystore with yours. (presumably needs to be re-run after system updates)

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

79819244

Date: 2025-11-13 17:37:17
Score: 1.5
Natty:
Report link

"Statics" get turned into object instances when the number of parameters used to transport state becomes an issue. The alternative then is to create the object; "modify it"; then fire it off. You then might find it is re-useable after all. I like delegates for inserting custom logic in an inner loop (action delegate); or adding a "where" function delegate to a LINQ query that can be called by many different callers. But this also evolves over time as patterns become more evident.

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

79819238

Date: 2025-11-13 17:33:16
Score: 6.5
Natty:
Report link

thanks, and i can turn the date and time into a timestamp manually and set it as the index of the dataframe for then render that into a plotly line for example?

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Juan Siécola

79819213

Date: 2025-11-13 17:18:12
Score: 5
Natty:
Report link

En react los componentes select y option son nativos, no se les puede dar la personalizaciĂłn que se le quisiera dar, pero es posible atreves de muchas alternativas, por ejemplo a mi se me ocurriĂł: switch case para manejar el estado isClose, setIsClose, asĂ­ seteamos los datos y hacemos que aparzma nuestro menu cuando queramos

aqui es en html pero seria algo similar, lo e sacado de un proyecto de mi escuela, espero te sirva

<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <title>MenĂş JS Puro</title>
</head>
<body>
    <div id="root"></div>

    <script>
    document.addEventListener('DOMContentLoaded', function() {
    
    function crearMenuConJavaScriptPuro() {
        let seccionActiva = 'inicio';
        let isClose = true;

        const actualizarContenido = (contenidoElemento, botones) => {
            
            switch (seccionActiva) {
                case 'inicio':
                    contenidoElemento.innerHTML = '<h3>Página Principal</h3><p>Haz clic en el botón para desplegar las opciones.</p>';
                    break;
                case 'productos':
                    contenidoElemento.innerHTML = '<h3>Nuestros Productos</h3><ul><li>Laptop Pro - $1200</li><li>Monitor Ultra HD - $350</li></ul>';
                    break;
                case 'contacto':
                    contenidoElemento.innerHTML = '<h3>Contáctanos</h3><p>[email protected]</p>';
                    break;
            }

            botones.forEach(btn => {
                btn.style.backgroundColor = 'white';
                btn.style.color = '#007bff';
                btn.style.fontWeight = 'normal';

                if (btn.dataset.seccion === seccionActiva) {
                    btn.style.backgroundColor = '#007bff';
                    btn.style.color = 'white';
                    btn.style.fontWeight = 'bold';
                }
            });
        };

        const toggleMenu = (navLinksElemento, toggleBtnElemento) => {
            isClose = !isClose;

            navLinksElemento.style.display = isClose ? 'none' : 'flex';
            toggleBtnElemento.textContent = isClose ? 'Abrir' : 'Cerrar';
        };

        const estilos = {
            contenedor: {
                fontFamily: 'Arial, sans-serif',
                maxWidth: '600px',
                margin: '20px auto',
                border: '1px solid #ccc',
                padding: '15px',
                borderRadius: '8px',
            },
            navBar: {
                display: 'flex',
                alignItems: 'center',
                justifyContent: 'space-between',
                paddingBottom: '10px',
            },
            navLinks: {
                display: 'none',
                flexDirection: 'column',
                gap: '5px',
                marginTop: '10px',
                paddingTop: '10px',
                borderTop: '1px solid #eee',
            },
            toggleButton: {
                padding: '10px 15px',
                border: '1px solid #333',
                backgroundColor: '#f0f0f0',
                cursor: 'pointer',
                borderRadius: '4px',
                fontWeight: 'bold',
            },
            botonBase: {
                padding: '10px 15px',
                border: '1px solid #007bff',
                backgroundColor: '#fff',
                color: '#007bff',
                cursor: 'pointer',
                borderRadius: '4px',
                transition: 'background-color 0.3s, color 0.3s',
                textAlign: 'left',
            },
            botonActivo: {
                backgroundColor: '#007bff',
                color: 'white',
                fontWeight: 'bold',
            },
            contenido: {
                marginTop: '15px',
                padding: '10px',
                border: '1px solid #eee',
                borderRadius: '4px',
            },
        };

        const menuContainer = document.createElement('div');
        Object.assign(menuContainer.style, estilos.contenedor);

        const navBar = document.createElement('div');
        Object.assign(navBar.style, estilos.navBar);
        
        const title = document.createElement('span');
        title.textContent = 'MenĂş Principal';
        Object.assign(title.style, {fontWeight: 'bold', fontSize: '1.2em'});

        const toggleBtn = document.createElement('button');
        toggleBtn.id = 'toggleButton';
        toggleBtn.textContent = 'Abrir';
        Object.assign(toggleBtn.style, estilos.toggleButton);

        const navLinks = document.createElement('nav');
        navLinks.id = 'navLinks';
        Object.assign(navLinks.style, estilos.navLinks);
        
        const mainContent = document.createElement('main');
        mainContent.id = 'menuContenido';
        Object.assign(mainContent.style, estilos.contenido);
        
        navBar.appendChild(title);
        navBar.appendChild(toggleBtn);
        menuContainer.appendChild(navBar);

        const botonesSeccion = [];
        const secciones = ['inicio', 'productos', 'contacto'];
        secciones.forEach(seccion => {
            const btn = document.createElement('button');
            btn.textContent = seccion.charAt(0).toUpperCase() + seccion.slice(1);
            btn.className = 'menu-button';
            btn.dataset.seccion = seccion;
            Object.assign(btn.style, estilos.botonBase);
            
            btn.addEventListener('click', () => {
                seccionActiva = seccion;
                actualizarContenido(mainContent, botonesSeccion); 
            });
            navLinks.appendChild(btn);
            botonesSeccion.push(btn);
        });

        menuContainer.appendChild(navLinks);
        
        const hr = document.createElement('hr');
        Object.assign(hr.style, { border: 'none', height: '1px', backgroundColor: '#ccc', margin: '15px 0' });
        menuContainer.appendChild(hr);

        menuContainer.appendChild(mainContent);

        toggleBtn.addEventListener('click', () => toggleMenu(navLinks, toggleBtn));
        
        actualizarContenido(mainContent, botonesSeccion); 
        
        return menuContainer;
    }

    const rootElement = document.getElementById('root');
    if (rootElement) {
        rootElement.appendChild(crearMenuConJavaScriptPuro());
    }
    });
    </script>
</body>
</html>

Reasons:
  • Blacklisted phrase (2): espero
  • Blacklisted phrase (1.5): sirva
  • Blacklisted phrase (2): crear
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Luis David Diaz Hoil

79819209

Date: 2025-11-13 17:14:11
Score: 0.5
Natty:
Report link

Your two snippets are not equivalent as pointed out by @canton7.

That being said, this looks like a X-Y-Question and my advice would be to ask the actual question in Q&A Format.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @canton7
  • High reputation (-2):
Posted by: Fildor

79819189

Date: 2025-11-13 17:00:07
Score: 2
Natty:
Report link

I am almost certainly going to get told off as this isn't a CrossValidated post, but from a statistical perspective, don't.

See: https://en.wikipedia.org/wiki/Multiple_comparisons_problem

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

79819188

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

@canton7 That snippet is not equivalent, though. It would execute DoSomethingElse() if both are true, while the original does not.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @canton7
  • Single line (0.5):
  • Looks like a comment (1):
  • High reputation (-2):
Posted by: Fildor

79819186

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

In C you'd also have the option of a switch fall-through (admitting DoSomethingElse() doesn't require DoSomething() to be executed first) but C# doesn't allow for it. But, going from the name, are you writing a state machine? If so, you always have the choice of having the two blocks being methods called on your current state and which potentially returns the next state. Which could be better (or not) depending on if you have, say, other states calling only DoSomethingElse() and how many states you have in total.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: arjanen

79819184

Date: 2025-11-13 16:57:05
Score: 0.5
Natty:
Report link

One approch to fix this is to use one more dashed line with same background as of page background.

Please refer to following code (its same as of you just some changes):

import { useEffect, useLayoutEffect, useRef, useState } from "react";
import gsap from "gsap";

interface BoxItem {
  label: string;
  color: string;
}

interface Line {
  x1: number;
  y1: number;
  x2: number;
  y2: number;
}

const boxData: BoxItem[] = [
  { label: "Event", color: "#ff6b6b" },
  { label: "Date", color: "#4dabf7" },
  { label: "Fuel", color: "#f06595" },
  { label: "Message", color: "#51cf66" },
  { label: "Work", color: "#d0bfff" },
  { label: "Data", color: "#74c0fc" },
  { label: "Food", color: "#ffd43b" },
  { label: "Style", color: "#ced4da" },
];

export default function Home() {
  const containerRef = useRef<HTMLDivElement | null>(null);
  const centerBoxRef = useRef<HTMLDivElement | null>(null);
  const boxRefs = useRef<(HTMLDivElement | null)[]>([]);

  const [lines, setLines] = useState<Line[]>([]);
  const [dimensions, setDimensions] = useState({ width: 0, height: 0 });
  const [activeLines, setActiveLines] = useState<Record<number, boolean>>({});
  const timeoutRefs = useRef<any>({});
  const animatingLines = useRef<Set<number>>(new Set());

  // Track container size
  useEffect(() => {
    const updateDimensions = () => {
      if (containerRef.current) {
        setDimensions({
          width: containerRef.current.offsetWidth,
          height: containerRef.current.offsetHeight,
        });
      }
    };
    updateDimensions();
    window.addEventListener("resize", updateDimensions);
    return () => window.removeEventListener("resize", updateDimensions);
  }, []);

  // Calculate line positions
  useLayoutEffect(() => {
    const updateLines = () => {
      if (!centerBoxRef.current || !containerRef.current) return;

      const containerRect = containerRef.current.getBoundingClientRect();
      const centerRect = centerBoxRef.current.getBoundingClientRect();
      const centerX = centerRect.left - containerRect.left + centerRect.width / 2;
      const centerY = centerRect.top - containerRect.top + centerRect.height / 2;

      const newLines: Line[] = boxRefs.current.map((box) => {
        if (!box) return { x1: 0, y1: 0, x2: 0, y2: 0 };
        const boxRect = box.getBoundingClientRect();
        const x2 = boxRect.left - containerRect.left + boxRect.width / 2;
        const y2 = boxRect.top - containerRect.top + boxRect.height / 2;
        return { x1: centerX, y1: centerY, x2, y2 };
      });

      setLines(newLines);
    };

    updateLines();
    const observer = new ResizeObserver(updateLines);
    if (containerRef.current) observer.observe(containerRef.current);
    return () => observer.disconnect();
  }, [dimensions]);

  const calculateCurvePath = (line: Line) => {
    const cpX = (line.x1 + line.x2) / 2 + (line.y2 - line.y1) * -0.21;
    const cpY = (line.y1 + line.y2) / 2 - (line.x2 - line.x1) * -0.21;
    return {
      path: `M${line.x1},${line.y1} Q${cpX},${cpY} ${line.x2},${line.y2}`,
    };
  };

const animateLine = (index: number, color: string) => {
  const path = document.getElementById(`animated-line-${index}`) as SVGPathElement | null;
  if (!path || animatingLines.current.has(index)) return;

  animatingLines.current.add(index);

  const length = path.getTotalLength();

  // âś… Key fix: make one full-length dash to reveal progressively
  path.style.strokeDasharray = `${length}`;
  path.style.strokeDashoffset = `${length}`;
  path.style.stroke = color;
  path.style.opacity = "1";

  gsap.to(path, {
    strokeDashoffset: 0,
    duration: 0.8,
    ease: "power1.inOut",
    onComplete: () => {
      setActiveLines((prev) => ({ ...prev, [index]: true }));
      timeoutRefs.current[index] = setTimeout(() => reverseLine(index), 2000);
    },
  });
};

  const reverseLine = (index: number) => {
    const path = document.getElementById(`animated-line-${index}`) as SVGPathElement | null;
    if (!path) return;

    const length = path.getTotalLength();
    gsap.to(path, {
      strokeDashoffset: length,
      duration: 0.6,
      ease: "power2.inOut",
      onComplete: () => {
        path.style.opacity = "0";
        animatingLines.current.delete(index);
        setActiveLines((prev) => ({ ...prev, [index]: false }));
      },
    });
  };

  const handleBoxClick = (index: number, color: string) => {
    if (animatingLines.current.has(index)) return;

    if (timeoutRefs.current[index]) {
      clearTimeout(timeoutRefs.current[index]);
    }

    if (!activeLines[index]) {
      animateLine(index, color);
    }
  };

  const handleCenterClick = () => {
    boxData.forEach((box, i) => {
      if (!activeLines[i] && !animatingLines.current.has(i)) {
        animateLine(i, box.color);
      }
    });
  };

  return (
    <div
      ref={containerRef}
      className="relative w-full h-screen bg-gradient-to-br from-pink-100 to-blue-100 overflow-hidden"
    >
      <svg className="absolute top-0 left-0 w-full h-full pointer-events-none">
        <defs>
          <linearGradient id="line-gradient" x1="0%" y1="0%" x2="100%" y2="0%">
            <stop offset="0%" stopColor="#cccccc" />
            <stop offset="100%" stopColor="#cccccc" stopOpacity="0.8" />
          </linearGradient>

          {/* New: background-matching gradient */}
          <linearGradient id="bg-gradient" x1="0%" y1="0%" x2="100%" y2="100%">
            <stop offset="0%" stopColor="#ffe3ec" />  {/* matches from-pink-100 */}
            <stop offset="100%" stopColor="#d0ebff" /> {/* matches to-blue-100 */}
          </linearGradient>
        </defs>

        {lines.map((line, i) => {
          const { path } = calculateCurvePath(line);
          return (
            <g key={i}>
              {/* Static gray dashed line */}
              <path
                id={`dashed-line-${i}`}
                d={path}
                stroke="url(#line-gradient)"
                strokeWidth="2"
                strokeDasharray="8, 4" 
                fill="none"
              />
              {/* Animated colored dashed overlay */}
              <path
                id={`animated-line-${i}`}
                d={path}
                stroke="transparent"
                strokeWidth="2"
                strokeDasharray="8, 4"
                fill="none"
                style={{ opacity: 0 }}
              />
              {/* static white or background gap line */}
              <path
                id={`dashed-line-${i}`}
                d={path}
                stroke="url(#bg-gradient)"
                strokeWidth="2"
                strokeDasharray="8, 8"
                fill="none"
              />
              {/* Endpoint circle */}
              <circle cx={line.x2} cy={line.y2} r="6" fill={boxData[i].color} />
            </g>
          );
        })}
      </svg>

      {/* Center Circle */}
      <div
        ref={centerBoxRef}
        onClick={(e) => {
          e.stopPropagation();
          handleCenterClick();
        }}
        className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-16 h-16 md:w-24 md:h-24 bg-white rounded-full shadow-lg grid place-items-center font-bold text-lg md:text-xl cursor-pointer z-10"
      >
        Any
      </div>

      {/* Outer Boxes */}
      {boxData.map((box, i) => {
        const angle = (360 / boxData.length) * i;
        const radius = Math.min(dimensions.width, dimensions.height) * 0.35;
        const rad = (angle * Math.PI) / 180;
        const centerX = dimensions.width / 2;
        const centerY = dimensions.height / 2;
        const x = centerX + radius * Math.cos(rad);
        const y = centerY + radius * Math.sin(rad);

        return (
          <div
            key={i}
            ref={(el) => (boxRefs.current[i] = el)}
            onClick={(e) => {
              e.stopPropagation();
              handleBoxClick(i, box.color);
            }}
            className="absolute w-14 h-14 md:w-20 md:h-20 rounded-full shadow grid place-items-center text-xs md:text-sm font-bold cursor-pointer text-white"
            style={{
              backgroundColor: box.color,
              left: `${x}px`,
              top: `${y}px`,
              transform: "translate(-50%, -50%)",
            }}
          >
            {box.label}
          </div>
        );
      })}
    </div>
  );
}

enter image description here

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

79819183

Date: 2025-11-13 16:55:05
Score: 1.5
Natty:
Report link

I had a duplicated column in my feature list. Once I dropped the duplicated feature, it worked!

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Renata Ghisloti

79819180

Date: 2025-11-13 16:53:04
Score: 1.5
Natty:
Report link

I have created a plugin for this:

https://github.com/fenjen/vim-plugin-vry

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

79819174

Date: 2025-11-13 16:46:03
Score: 2
Natty:
Report link

You can replace BS variables in your own custom variables.

Adding `$card-color: yellow;` for example, will make any text under .card yellow.

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

79819172

Date: 2025-11-13 16:46:03
Score: 2
Natty:
Report link
if (StateA)
{
    DoSomething();
}
else if (StateB)
{
    DoSomething();
    DoSomethingElse();
}

Is the same as:


DoSomething();
if (StateB)
{
    DoSomethingElse();
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Starts with a question (0.5): Is the
  • Low reputation (1):
Posted by: Wery848

79819171

Date: 2025-11-13 16:45:03
Score: 0.5
Natty:
Report link

No, and transform isn't applied either, see: updating SVG animateMotion path using JavaScript

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Danny '365CSI' Engelman

79819160

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

can you give a more meaningful example for example post relevant code that pertains to your question

or can this be converted to a switch statement for example

do a simple google search on the following - c# case statement with either or condition

Reasons:
  • RegEx Blacklisted phrase (2.5): can you give
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): can you give a
  • High reputation (-2):
Posted by: MethodMan

79819158

Date: 2025-11-13 16:34:00
Score: 3
Natty:
Report link

what worked for me in 2025 is File > Print > Next > Print as PDF

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): what
  • Low reputation (1):
Posted by: Ridodo

79819157

Date: 2025-11-13 16:34:00
Score: 0.5
Natty:
Report link

This matches this issue, which has some Googly advice in its comments.

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

79819153

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

They can't, because the user might change the font size.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Chris B.

79819151

Date: 2025-11-13 16:27:58
Score: 1
Natty:
Report link
<div v-bind:class="`bg-[${item.color}]`" class="rounded-full px-2">
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Sadee

79819147

Date: 2025-11-13 16:24:57
Score: 2.5
Natty:
Report link

Can label or Text be fixed width? If not I can only think of CustomMultiChildLayout; But you might also want twoDimensionScrollView if it contains more than just single group.

Reasons:
  • RegEx Blacklisted phrase (1.5): fixed width?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can
  • High reputation (-2):
Posted by: Md. Yeasin Sheikh

79819137

Date: 2025-11-13 16:18:55
Score: 6
Natty:
Report link

Thank you all for your help on this. I'm new, so I really appreciate it.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • RegEx Blacklisted phrase (1.5): I'm new
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Student Driver

79819130

Date: 2025-11-13 16:13:53
Score: 1
Natty:
Report link

For me the simplest way (but requires a unix-like enviroment):

NULL_CHAR=$(head -c1 /dev/zero)

# check value with:
echo -n "$NULL_CHAR"|hexdump -C 
00000000  00                                                |.|
00000001
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gil Brandao

79819129

Date: 2025-11-13 16:13:53
Score: 4
Natty:
Report link

After Your's sugestion digest value for reference is ok. But now i'm trying to calculate SignatureValue. And the question is when You calculate it You use the same method to calculate c14N on SignedInfo?

I tried use your method and just use C14N on SignedInfo but i got error.
I use <ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />

Reasons:
  • RegEx Blacklisted phrase (2): but i got error
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: user31872933

79819125

Date: 2025-11-13 16:09:52
Score: 4.5
Natty:
Report link

I believe it could also be done by swift package resolve

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

79819124

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

Comments have been broken on SO for a while now so I will post a new answer here even though I just wanted to reply to Roemer and scheinwerfer in Is there a way to open a folder in a container from the VSCode command line using the remote-containers extension? because I have a solution to their problem.

You can call wslpath -w to translate the path inside WSL to the path you need to encode. (That is what the script I mentioned in my comment does to support WSL, feel free to steal from it.)

Reasons:
  • Blacklisted phrase (1): Is there a way
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: KnorpelSenf

79819117

Date: 2025-11-13 16:03:50
Score: 1.5
Natty:
Report link

recently i've been through this problem and to try to solve i searched in colab documents and foruns and i dont found no way to plot on Colab. But, i discovered the Jupyter Lab, that is similar to Colab can handle with markdown and it's easy to use, beside it runs on your own Computer, which can be bad in some ways.
Here is an example image of Jupyter Lab with Plotly:
Plotly in Jupyter

And i found a comparative of Colab and Jupyter:
https://www.geeksforgeeks.org/blogs/google-collab-vs-jupyter-notebook/

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

79819111

Date: 2025-11-13 15:59:48
Score: 0.5
Natty:
Report link

If you don't use prisma.config.ts and also don't want to use dotenv, you can simply remove prisma.config.ts and variables should become visible.

When using prisma.config.ts, environment variables from .env files are not automatically loaded.

link: Prisma documentation

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

79819102

Date: 2025-11-13 15:54:46
Score: 2
Natty:
Report link

The OP was for iOS 26.0. Meanwhile iOS 26.1 fixed the issue. .isEnabled property disables the tab bar item (goes gray) and prohibits user interaction (can't be selected).

@matt's answer works fine.

func tabBarController(\_ tabBarController: UITabBarController, shouldSelect viewController: UIViewController) -> Bool {  
    if #available(iOS 26.0, *) { // run only if iOS >= 26.0  
        if #available(iOS 26.1, *) { // run only if iOS >= 26.1 (bug was fixed)
            return true  
        }  
        if (condition_when_tab_bar_item_should_be_disabled) {  
            return false  
        }  
    }  
    return true  
}  

Changing my code back to the .isEnabled state from before iOS 26, I noticed that it doesn't work correctly when using .isEnabled inside DispatchQueue.main.async. It is simply ignored like it was for iOS 26. Flagging the property or layout for an update doesn't do anything either. However re-setting the tab bar item image makes the .isEnabled property change to be considered.

@objc func disableTab() {  
    DispatchQueue.main.async { // required otherwise crashes  
        self.tabBar.items?\[0\].isEnabled = false          
//        if #available(iOS 26.0, *) {  
//            self.tabBar.updatePropertiesIfNeeded() // doesn't do anything  
//        }  
//        self.tabBar.setNeedsLayout() // doesn't do anything  
//        self.tabBar.layoutIfNeeded() // doesn't do anything  
        if #available(iOS 26.0, *) { // this works!  
            let image = self.tabBar.items?\[2\].image  
            self.tabBar.items?\[2\].image = nil  
            self.tabBar.items?\[2\].image = image  
        }  
    }  
}

Hope this helps somebody having the same issue.

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): having the same issue
  • User mentioned (1): @matt's
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: geohei

79819096

Date: 2025-11-13 15:50:45
Score: 5
Natty:
Report link

@President James K. Polk thanks for the clarifying question, I worded it poorly. In this case it's the server authenticating to our client application, where we get a 'unable to get local issuer certificate' error if the certificate is not referenced in the call.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @President
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Chris Decker

79819076

Date: 2025-11-13 15:40:43
Score: 0.5
Natty:
Report link

Use rclone's delete command

rclone delete remote:path --rmdirs --progress

The purge command failed:

ERROR : S3 bucket remote: Failed to read versioning status, assuming unversioned: operation error S3: GetBucketVersioning, https response error StatusCode: 403, RequestID: , HostID: , api error AccessDenied: Access Denied

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

79819066

Date: 2025-11-13 15:34:41
Score: 1
Natty:
Report link

Turns out this issue was only on Samsung devices. Maybe there was some silent update? I have no idea.

Adding clipData = android.content.ClipData.newRawUri("", imageUri) to Intent fixed the issue.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
Posted by: George Shalvashvili

79819065

Date: 2025-11-13 15:34:41
Score: 1.5
Natty:
Report link

Use uv. It will automatically install dependencies and also python versions for you. See https://docs.astral.sh/uv/guides/scripts/#using-a-shebang-to-create-an-executable-file .

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

79819063

Date: 2025-11-13 15:31:40
Score: 1
Natty:
Report link

Manually Edit Project File (.csproj)

    <ItemGroup>
      <None Include="Subdirectory\Your3rdParty.dll">
        <CopyToOutputDirectory>Always</CopyToOutputDirectory>
      </None>
    </ItemGroup>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Harbin Avduramani

79819047

Date: 2025-11-13 15:14:36
Score: 11.5
Natty: 9
Report link

same issue, did you solve it ?

Reasons:
  • RegEx Blacklisted phrase (3): did you solve it
  • RegEx Blacklisted phrase (1.5): solve it ?
  • RegEx Blacklisted phrase (1): same issue
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: lucy

79819045

Date: 2025-11-13 15:14:36
Score: 2.5
Natty:
Report link

Google brought me here, leaving this here for others: helm 4.0-r0 makes the exact same mistake.

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

79819040

Date: 2025-11-13 15:09:35
Score: 2
Natty:
Report link

So apparently this api is not to get the same results as the UI. But instead , it returns the "log" or "action" of a user who used this search UI.

So for example, if you search for someone in the UI, the api will return that you did this search.

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

79819023

Date: 2025-11-13 14:56:32
Score: 3
Natty:
Report link

Thank you for being so patient, I tried as you said in the test playground to make it work for you, this is what I came up with to make it work on the test playground.. Unfortunately I couldn't make the Response and Request work on the playground.
I also tried to test check the type but this didn't work at all.. I've tried different methods but none seemed to do what I want to accomplish.
Now I get why Number is different than number, and I thank you very much for the explanation. :-D

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): thank you
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Alex

79819021

Date: 2025-11-13 14:54:32
Score: 1.5
Natty:
Report link

In Chrome Canary you can turn on Enable individual request throttling in DevTool flag and throttle a specific network request.

The flag is also present on "normal" Chrome, but it actually doesn't turn the feature.

Here is a cool post about it by Matt Zeunert: https://www.debugbear.com/blog/chrome-devtools-throttle-individual-request?ck_subscriber_id=1888924215

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Štefan Bartoš

79819010

Date: 2025-11-13 14:47:30
Score: 1
Natty:
Report link

Just put this :

export const config = {
  matcher: ['/((?!api|_next/static|_next/image|favicon.ico|.*\\..*$).*)']
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Serge AHOUANSINOU

79819003

Date: 2025-11-13 14:45:29
Score: 0.5
Natty:
Report link

if you have .env file and it's located in the correct place, than you can try one more option without installing dotenv
just remove prisma.config.ts:

When using prisma.config.ts, environment variables from .env files are not automatically loaded.

link: Prisma documentation

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

79818989

Date: 2025-11-13 14:32:26
Score: 2.5
Natty:
Report link

Please press Insert button, you are in overtype mode

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

79818988

Date: 2025-11-13 14:31:26
Score: 1.5
Natty:
Report link

Cloud Computing

Cloud computing is the on-demand delivery of IT resources and applications over the internet with pay-as-you-go pricing. Rather than owning and maintaining their own physical data centers and servers, individuals and businesses can access a variety of services, such as computing power, storage, and databases, from a cloud provider. This model offers significant benefits, including increased flexibility, scalability, and cost efficiency.
read more

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

79818985

Date: 2025-11-13 14:28:25
Score: 1
Natty:
Report link

The answer, based on comments by @colonel and @vladimir:

def pdf_to_word(pdf_path, docx_path):
    """Uses pdf2docx Converted to turn a pdf into word, because word is way easier to decode into an xml."""
    
    cv = Converter(pdf_path)
    cv.convert(docx_path, multi_processing=True, cpu_count=6)
    cv.close()


if __name__ == '__main__':
    pdf_to_word("example.pdf", "example.docx")

note: I have cpu_count=6 here, but you can check how many cpu's you have by doing

>wmic cpu get numberofcores

in the command line.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @colonel
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: user30589464

79818976

Date: 2025-11-13 14:15:22
Score: 1.5
Natty:
Report link

If I see you while you are eating cabbage, then yes, I do expect to see cabbage.

But I think I get it now: There might be multiple suppliers for the same parts, and so supplier 1 might supply screws for project 1, while supplier 2 supplies screws for project 2. In that case, the suppliers <-> projects relation is not the natural composition., while the "connection trap" would suggest that both suppliers supply both projects.

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

79818969

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

With pathlib you can also expand the user:

pathlib.Path("~/some_dir").expanduser()
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
Posted by: mateuszb

79818961

Date: 2025-11-13 14:06:19
Score: 2.5
Natty:
Report link

My opposing opinion is i dont wannt to have Code merged in the Main Branch that still needs to be tested in the Staging System, to ensure only thoroughly teste code localy and in the staging system gets pushed into main and with that is allowed to deploy in a Production environment.

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

79818958

Date: 2025-11-13 14:02:18
Score: 2
Natty:
Report link

Don't tell them to run the python scripts directly. Provide a bash/batch script alongside the python scripts that sets up (if not already present) the venv, activates it, and then runs the python script.

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

79818955

Date: 2025-11-13 13:59:17
Score: 1
Natty:
Report link

-- Source - Python-Mysql connectivity

-- Posted by user14074784, modified by community. See post 'Timeline' for change history

-- Retrieved 2025-11-13, License - CC BY-SA 4.0

import mysql.connector as a

conn = a.connect(host="localhost",user="root",password="darshan",database="PAYSLIP")

#CREATE a database or connect to one

conn = a.connect('Tablename.db')

// Source - Python-Mysql connectivity

// Posted by user14074784, modified by community. See post 'Timeline' for change history

// Retrieved 2025-11-13, License - CC BY-SA 4.0

Traceback(most recent call last):

File "C:\Users\any.py", line 3, in <module>

a=mysql.connector.connect('Payslip.db')

File "C:\Users\Python\Python38-32\lib\site-packages\mysql\connector\_init_.py", line 265, in connect

return MySQLConnection(\*args, \*\*kwargs)

File "C:\Users\AppData\Local\Programs\Python\Python38-32\lib\site-packages\mysql\connector\connection.py", line 64, in _init_

super(MySQLConnection, self).\__init_\_(\*args, \*\*kwargs)

TypeError: _init_() takes 1 positional argument but 2 were given

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): user14074784
  • User mentioned (0): user14074784
  • Low reputation (1):
Posted by: Julian Campos anaya

79818941

Date: 2025-11-13 13:48:14
Score: 2.5
Natty:
Report link

I can Help you with this , We have build the application with the same concept/idea but with the more features. We have successfully build the application for our in house , managing the data and capturing it for the analysis.

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

79818939

Date: 2025-11-13 13:45:13
Score: 1
Natty:
Report link

I managed to get it working by excluding `Microsoft.Bcl.Memory` from the project:

<ItemGroup>
    <PackageReference Include="System.Linq.AsyncEnumerable" Version="10.0.0" />
    <PackageReference Include="Microsoft.Bcl.Memory" Version="10.0.0">
        <ExcludeAssets>all</ExcludeAssets>
    </PackageReference>
</ItemGroup>

Don't know why I need to do this though.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Weifen Luo

79818937

Date: 2025-11-13 13:43:12
Score: 5
Natty:
Report link

I have the same issue now after upgrading from Windows 10 to Windows 11. During the development time in Windows 10 there was never an issue with the default exports, now that I have upgraded to Windows 11 am I experiencing this issue with the default exports. I have tried several of the suggestions listed in this thread but nothing seems o make a difference.

Next.js 15.5.6

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (1):
Posted by: Jordan Blue

79818936

Date: 2025-11-13 13:41:11
Score: 12 đźš©
Natty: 4
Report link

I am also trying to scrap this webite (https://vahan.parivahan.gov.in/vahan4dashboard/vahan/view/reportview.xhtml) and https://analytics.parivahan.gov.in/analytics/vahanpublicreport?lang=en. i am new to this so can u help me with this.

1. code with which you were able to scrap the first website.

2. how can i scrap 2nd website.

this will be a great help if you could help me with this.

Reasons:
  • Blacklisted phrase (0.5): how can i
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): can u help me
  • RegEx Blacklisted phrase (3): you could help me
  • RegEx Blacklisted phrase (1.5): i am new
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Dhruv

79818929

Date: 2025-11-13 13:33:09
Score: 1.5
Natty:
Report link

you can use FROM satijalab/seurat:latest when creating child images or in nextflow. but for now the latest image is build on seurat is v.5.0.0 while the newest is 5.3.1. i don't see in their docker repository an image for that.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: alexander

79818927

Date: 2025-11-13 13:30:08
Score: 2
Natty:
Report link

I'm sorry for being such a noob, it's my first question here hahah, I'm also brand new to Typescript.
Basically I need to make this custom Type for a parameter I get when requesting my API endpoint which points to this searchModel() function through a route router.post('/search', searchModel)

P.S.: why Number isn't the same as number?
Domainl was a typo, Domain is also a custom type I will edit the question so that it's included.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Alex

79818914

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

Also experiencing same issues on Angular v18 with latest Chrome - works fine on other browsers.

If triggered then the dialog backdrop / mask appears but no dialog itself - except that it does render to the screen. (It is added to the DOM but not shown).

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

79818910

Date: 2025-11-13 13:19:05
Score: 5
Natty:
Report link

Relational algebra for banking scenario Is there any rule of thumb to construct SQL query from a human-readable description?

Reasons:
  • Blacklisted phrase (1): Is there any
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • High reputation (-2):
Posted by: philipxy

79818906

Date: 2025-11-13 13:16:03
Score: 6 đźš©
Natty:
Report link

I moved them out of the folder structure and into named route files and it seems to work ok, maybe Shopify remix doesn't support folders?

enter image description here

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

79818901

Date: 2025-11-13 13:11:01
Score: 0.5
Natty:
Report link

09/11/21, 21/11/09 etc. Mrs Ethel Caterham was born in 1909.

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

79818891

Date: 2025-11-13 13:02:59
Score: 4
Natty: 4.5
Report link

https://github.com/comboshreddies/distributed_lock_on_s3

I've used this solution for locking/mutex via s3 bucket file.

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

79818888

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

I see you & you eat cabbage. So I eat cabbage?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • High reputation (-2):
Posted by: philipxy

79818884

Date: 2025-11-13 12:51:56
Score: 3
Natty:
Report link

This was a known bug: https://github.com/langchain-ai/langgraph/issues/6318

For this code to work I had to upgrade to langchain==1.0.5

!pip install langgraph langchain==1.0.5 langchain_openai==1.0.0

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

79818878

Date: 2025-11-13 12:48:55
Score: 3
Natty:
Report link

You file path is not correct which you are opening in read/ write mode with name. You should pass the absolute path of files.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Zain ul Abdin Arshad

79818865

Date: 2025-11-13 12:37:53
Score: 1
Natty:
Report link

This is my personal preference:

# Break line before closing parenthesis
if (this_is_one_thing and 
    that_is_another_thing
):
    do_something()

It somewhat resembles how I would do it in C.

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

79818864

Date: 2025-11-13 12:37:53
Score: 1
Natty:
Report link

Use tidyr::complete() to fill missing cluster–treatment pairs:

library(dplyr)
library(tidyr)

df %>%
  complete(cluster = 1:10,
           treatment = c("TreatmentA", "TreatmentB"),
           fill = list(count = 0))

This ensures every cluster 1–10 has both treatments, filling missing count values with 0.

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

79818851

Date: 2025-11-13 12:28:50
Score: 3
Natty:
Report link

For future people achieving this thread: your corresponding resources must be the same location. If they are not - you need to recreate them (relocation usually does not work).

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

79818850

Date: 2025-11-13 12:28:50
Score: 0.5
Natty:
Report link

Fix the class path in Kernel.php and everything will work.

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

79818845

Date: 2025-11-13 12:21:48
Score: 1.5
Natty:
Report link

the default HTML <select> element is notoriously difficult to style beyond basic tweaks. To create a fully custom-styled sorting dropdown in React, you should build it from scratch using normal HTML elements (like div, ul, li, button) and manage open/close + selection behavior with React state.

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

79818839

Date: 2025-11-13 12:16:47
Score: 0.5
Natty:
Report link

Is this really meant to be an open-ended discussion question (an experimental feature of Stack Overflow)? It reads like a regular question and maybe should have been posted as such.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Is this
  • High reputation (-2):
Posted by: jcalz

79818837

Date: 2025-11-13 12:14:46
Score: 3
Natty:
Report link

If you live in a country where the internet is restricted, try installing packages with a VPN enabled.

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

79818836

Date: 2025-11-13 12:14:46
Score: 0.5
Natty:
Report link

Is this really intended to be an open-ended discussion question (an experimental feature of Stack Overflow) ? It reads like a regular question and maybe should have been posted as such.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Is this
  • High reputation (-2):
Posted by: jcalz

79818819

Date: 2025-11-13 12:00:42
Score: 1
Natty:
Report link

what i think, you're using FCM for full message delivery, which batches and delays at scale and apps like telegram etc, use FCM only as a "wake-up call," not for message delivery.

You can try with few stpes:

  1. Build a persistent WebSocket connection from your app to your own servers

  2. Send minimal FCM payloads with just a "wake up" signal

  3. When FCM arrives, your app wakes up and instantly fetches the actual message through your fast WebSocket connection

This hybrid approach gives you FCM's universal reach for waking devices, but your own optimized channel for actual message delivery, eliminating the 5-10 minute delays.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Starts with a question (0.5): what i
  • Low reputation (0.5):
Posted by: Abhishek Mishra

79818811

Date: 2025-11-13 11:53:40
Score: 3
Natty:
Report link

I thing something similar might help https://dba.stackexchange.com/questions/321376/select-all-records-in-which-the-sum-of-values-are-equal-to-a-specific-value/321377#321377

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

79818806

Date: 2025-11-13 11:50:39
Score: 3.5
Natty:
Report link

My package is supposed to infer from a Python project a Dockerfile usable to run it

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