79697464

Date: 2025-07-10 18:23:20
Score: 3
Natty:
Report link

this was marked as a duplicate of this issue, which has unfortunately been around since 2017

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

79697454

Date: 2025-07-10 18:15:17
Score: 0.5
Natty:
Report link

If you use the enhanced flow (GetCredentialsForIdentity) a scope down policy is applied to all guest identities which doesn't include Bedrock.

In order to allow guest identities to access Bedrock, you need to use the classic flow (GetOpenIdToken and STS AssumeRoleWithWebIdentity) that doesn't apply the scope down policy.

With that said, I would not recommend giving guest users access to Bedrock, bad actors can create any number of guests and run up your Bedrock bill.

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

79697452

Date: 2025-07-10 18:11:16
Score: 2
Natty:
Report link

Edge and Chrome may render font-weight differently due to their font engines. Use specific font weights (e.g., 400, 700) and test across browsers for consistency.

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

79697448

Date: 2025-07-10 18:08:16
Score: 2
Natty:
Report link

How To Use Black Apps Script — quick tip for global search.

It took me a second to figure out how to search across files after installing the extension. It’s not true global search in one view, but it gets the job done. Super handy once you know how to use it:

1. Press Ctrl + F while in the Apps Script IDE to open the legacy search bar (this is the normal/standard way)
2. Search for a term (e.g., "folder"). It will show results on the current file.
3. On the legacy search bar, click the magnifying glass just to the left of the search term box — this reveals a second row.
4. Use the left/right arrows on that second row to jump between files and continue the keyword search in each file.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): How To Use
  • Low reputation (1):
Posted by: Scott

79697438

Date: 2025-07-10 17:54:13
Score: 1
Natty:
Report link

{</>play hacker the blockman go / (% if request.path == '/contact/' %}

\<p\>You are in Contact\</p\>

{% elif request.path == '/shop/' %}

\<p\>You are in Shop\</p\>

{% endif %}go play .+

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: 俠客家明

79697437

Date: 2025-07-10 17:53:12
Score: 1.5
Natty:
Report link

Google Cloud Source Repository doesn't seem to link the HEAD to a non-master default branch from the mirrored GitHub repo. I was working with ArgoCD and it does a ls-remote to HEAD branch for the testing before establishing the connection successfully.

I have cut out a master branch from my default branch and pushed in the origin and that solved my issue.

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

79697421

Date: 2025-07-10 17:41:09
Score: 3
Natty:
Report link

Just add the folowing

And Change the SD to SDFS. then it will work

#include "sdfs.h"

server.on("/getdata", HTTP_GET, [](AsyncWebServerRequest *request){
request->send(SDFS, "/subj1_1.txt", "text/plain");
});

A example you can find at the folowing location https://github.com/EmileSpecialProducts/portable-Async-disk-drive

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

79697408

Date: 2025-07-10 17:27:05
Score: 2.5
Natty:
Report link

from PIL import Image

import numpy as np

# Let's check the folder to see what files are available

import os

files = os.listdir("/mnt/data")

files

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

79697384

Date: 2025-07-10 17:06:00
Score: 3
Natty:
Report link

The command on the ubuntu website is for linux, not for windows.

This article explains the command (sha256)https://www.shellhacks.com/windows-md5-sha256-checksum-built-in-utility/

If the result matches with the part after "echo", your file should be ok.

Reasons:
  • Blacklisted phrase (1): This article
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: megahertz

79697383

Date: 2025-07-10 17:05:00
Score: 3
Natty:
Report link

I have create an issue 17513 for this request in Bicep repo, so I am marking this as complete for now.

But as @developer said in the comments, it could be possible via DevOps pipeline or something similar, but not fully as Bicep.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @developer
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Guilherme Matheus

79697377

Date: 2025-07-10 16:55:59
Score: 2
Natty:
Report link
Here's a simple Python example of an interview bot for nursing scholarship preparation. It asks common questions and collects the user's answers:
 
def nursing_scholarship_interview():
    print("Welcome to the Nursing Scholarship Interview Practice Bot!")
    questions = [
        "Tell me about yourself and why you want to pursue nursing.",
        "What are your greatest strengths as a nursing student?",
        "Describe a challenging situation and how you handled it.",
        "Why do you deserve this scholarship?",
        "Where do you see yourself in five years as a nurse?"
    ]
    answers = {}

    for q in questions:
        print("\n" + q)
        answer = input("Your answer: ")
        answers[q] = answer

    print("\nThank you for practicing! Here's a summary of your answers:")
    for q, a in answers.items():
        print(f"\nQ: {q}\nA: {a}")

if __name__ == "__main__":
    nursing_scholarship_interview()
 
 
You can run this script in any Python environment. It simulates an interview by asking questions and letting the user type answers. Would you like me to help you expand it with features like timed answers or feedback?
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: rashidi rashid

79697373

Date: 2025-07-10 16:53:58
Score: 4.5
Natty:
Report link
# self_learning_ea_system.py

import spacy
import numpy as np
import networkx as nx
import pickle
import os
import json
from sklearn.model_selection import train_test_split
from sklearn.metrics import accuracy_score
from tensorflow import keras
from tensorflow.keras import layers
from sentence_transformers import SentenceTransformer

# --- 1. Knowledge Graph using triples + networkx

class KnowledgeGraph:
    def __init__(self):
        self.triples = []  # (s, r, o)
        self.graph = nx.DiGraph()

    def update(self, s, r, o):
        if (s, r, o) not in self.triples:
            self.triples.append((s, r, o))
            self.graph.add_edge(s, o, label=r)

    def query(self, s=None, r=None, o=None):
        return [
            (s0, r0, o0) for (s0, r0, o0) in self.triples
            if (s is None or s0 == s) and (r is None or r0 == r) and (o is None or o0 == o)
        ]

    def __str__(self):
        return "\n".join([f"{s} -[{r}]-> {o}" for s, r, o in self.triples])

# --- 2. NLP extractor with spaCy

nlp = spacy.load("en_core_web_sm")
embedder = SentenceTransformer('all-MiniLM-L6-v2')

def extract_triples(text):
    doc = nlp(text)
    triples = []
    for token in doc:
        if token.dep_ == "ROOT":
            subjects = [w for w in token.lefts if w.dep_ in ("nsubj", "nsubjpass")]
            objects = [w for w in token.rights if w.dep_ in ("dobj", "attr", "prep", "pobj")]
            for s in subjects:
                for o in objects:
                    triples.append((s.text, token.lemma_, o.text))
    if not triples:
        parts = text.split()
        for rel in ("is", "has", "part"):
            if rel in parts:
                i = parts.index(rel)
                if i >= 1 and i < len(parts) - 1:
                    triples.append((parts[i - 1], rel, parts[i + 1]))
    return triples

def triple_to_vec(s, r, o):
    return embedder.encode(f"{s} {r} {o}")

# --- 3. Relation prediction model

def build_model(input_dim):
    model = keras.Sequential([
        layers.Dense(64, activation="relu", input_shape=(input_dim,)),
        layers.Dense(32, activation="relu"),
        layers.Dense(1, activation="sigmoid"),
    ])
    model.compile(optimizer="adam", loss="binary_crossentropy")
    return model

# --- 4. Evolutionary algorithm

class EvolutionaryAlgorithm:
    def __init__(self, system, base_rate=0.02):
        self.system = system
        self.base_rate = base_rate
        self.mutation_rate = base_rate

    def update_mutation_rate(self, accuracy):
        self.mutation_rate = max(0.005, self.base_rate * (1 - accuracy))

    def evolve(self):
        model = self.system["model"]
        weights = model.get_weights()
        mutated = [w + self.mutation_rate * np.random.randn(*w.shape) for w in weights]
        model.set_weights(mutated)
        print(f"🔁 Mutated model weights with rate {self.mutation_rate:.4f}.")

# --- 5. Learning Module

class LearningModule:
    def __init__(self, kg, system):
        self.kg = kg
        self.system = system
        self.training_data = []

    def add_training_example(self, s, r, o, label):
        self.training_data.append((s, r, o, label))
        acc = self.train()
        self.system["ea"].update_mutation_rate(acc)

    def train(self, epochs=10, batch_size=16):
        if not self.training_data:
            print("No training data available.")
            return 0.0

        X, y = [], []
        for s, r, o, label in self.training_data:
            vec = triple_to_vec(s, r, o)
            X.append(vec)
            y.append(label)

        X = np.vstack(X)
        y = np.array(y)
        X_train, X_val, y_train, y_val = train_test_split(X, y, test_size=0.2, random_state=42)

        model = self.system["model"]
        model.fit(X_train, y_train, epochs=epochs, batch_size=batch_size, verbose=0)
        preds = (model.predict(X_val) > 0.5).astype(int).flatten()
        acc = accuracy_score(y_val, preds)
        print(f"🧪 Trained model — validation accuracy: {acc:.2f}")
        return acc

# --- 6. Reasoning Engine

class ReasoningEngine:
    def __init__(self, kg, system):
        self.kg = kg
        self.system = system

    def reason(self, query):
        doc = nlp(query)
        for ent in doc.ents:
            facts = self.kg.query(s=ent.text)
            if facts:
                return "Known: " + "; ".join(f"{s} {r} {o}" for s, r, o in facts)
        s, r, o = self.extract_subject_relation_object(query)
        if s and r and o:
            prob = self.predict_relation(s, r, o)
            if prob > 0.7:
                return f"Predicted with confidence {prob:.2f}: {s} {r} {o}"
        return "Unknown — please provide feedback to improve me!"

    def extract_subject_relation_object(self, text):
        parts = text.split()
        if len(parts) >= 3:
            return parts[0], parts[1], " ".join(parts[2:])
        return None, None, None

    def predict_relation(self, s, r, o):
        vec = triple_to_vec(s, r, o)
        prob = self.system["model"].predict(vec.reshape(1, -1))[0, 0]
        return prob

# --- 7. Save/Load System State

def save_system(path="system_state.pkl"):
    with open(path, "wb") as f:
        pickle.dump({
            "triples": SYSTEM["kg"].triples,
            "training_data": SYSTEM["learner"].training_data,
            "model_weights": SYSTEM["model"].get_weights(),
        }, f)

def load_system(path="system_state.pkl"):
    if os.path.exists(path):
        with open(path, "rb") as f:
            data = pickle.load(f)
            for s, r, o in data["triples"]:
                SYSTEM["kg"].update(s, r, o)
            SYSTEM["learner"].training_data = data["training_data"]
            SYSTEM["model"].set_weights(data["model_weights"])
            print("✅ System state loaded.")
    else:
        print("⚠️ No saved system state found.")

# --- 8. Main EA system assembly

input_dim = 384
SYSTEM = {
    "kg": KnowledgeGraph(),
    "input_dim": input_dim,
    "model": build_model(input_dim),
}
SYSTEM["ea"] = EvolutionaryAlgorithm(SYSTEM)
SYSTEM["learner"] = LearningModule(SYSTEM["kg"], SYSTEM)
SYSTEM["reasoner"] = ReasoningEngine(SYSTEM["kg"], SYSTEM)

# --- 9. User interaction

def interact(query):
    resp = SYSTEM["reasoner"].reason(query)
    print("🤖:", resp)
    if resp.startswith("Unknown"):
        feedback = input("✅ Please provide correct answer (S R O, pipe-separated): ")
        try:
            s, r, o = feedback.split("|")
            SYSTEM["kg"].update(s.strip(), r.strip(), o.strip())
            SYSTEM["learner"].add_training_example(s, r, o, label=1)
            SYSTEM["ea"].evolve()
        except ValueError:
            print("⚠️ Invalid format. Skipping update.")
    return resp

# --- 10. Command-line interface

def cli():
    print("🤖 Welcome to the Evolving AI System. Type 'quit' to exit.")
    while True:
        q = input("\nAsk a question or type a command ('save', 'load'): ")
        if q.lower() == "quit":
            save_system()
            print("🛑 Goodbye!")
            break
        elif q.lower() == "save":
            save_system()
            print("💾 System saved.")
        elif q.lower() == "load":
            load_system()
        else:
            interact(q)

# --- 11. Main

if __name__ == "__main__":
    load_system()
    cli()
Reasons:
  • RegEx Blacklisted phrase (2.5): please provide
  • RegEx Blacklisted phrase (2.5): Please provide
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user31005825

79697365

Date: 2025-07-10 16:50:57
Score: 1.5
Natty:
Report link

replace with actual path of the extension or just comment it out should fix it.

 extensions:
        - '/path/to/sqlite-digest/digest.so'
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Zack Pan

79697357

Date: 2025-07-10 16:40:55
Score: 2
Natty:
Report link

Everything used to be done at the command line. "Windows busted out the crib." Out the box there are rules and conventions to which the Normal people must abide. Windows is very customizable. I can remember the computer command line was an amazing place where if you knew what to type you could make it do most anything. You can still write your own .com file from the CMD or create any file just type 'copy con testfile.txt' then type what you want then CTRL-Z and poof you made a file. There are so many programs running now on a pc that seems to be doing nothing but they are all like alligators laying around for something to step into the pool. Click a link on a web page and you might download install and run a base36 string of characters if your antivirus or settings do not protect you. When you power up a PC your no longer alone but subject to the will of anyone in the world who managed to contribute.

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

79697352

Date: 2025-07-10 16:39:54
Score: 2
Natty:
Report link

Just to fine tune @kerrek sb's very nice answer above, the equality comparison for it->first should be using the collection's key_comp(). It should probably be something more like !m.key_comp()(key, it->first). (given the other answers' guidance around using upper_bound vs. lower_bound, which comparison needs to be done should be tuned accordingly.)

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @kerrek
  • Single line (0.5):
  • Low reputation (1):
Posted by: Michael Grier

79697349

Date: 2025-07-10 16:35:54
Score: 0.5
Natty:
Report link

You are asking 3 questions which makes answering difficult:

Question 1: Are these two VHDL processes synchronous?

Processes can't be synchronous, they are a construct of VHDL, only electrical signals can be synchronous.

Question 2: How should I create a slow clock derived from a (possibly much) faster clock without creating a gated clock, and while maintaining 50% duty cycle on slow_clk?

You should work with a clock enable signal: This means all flipflops should be connected to the same clock, in your case to the 12 MHz clock. The flipflops which must be clocked slower should be additional connected to a clock enable signal, which is active at each 12th clock edge of the 12 MHz clock (of course this solution has no signal with a 50% duty cycle).

Question 3: Do I create a new clock domain by using slow_clk_q in the sensitivity list of sm_proc, or are the two processes actually synchronous to clk?

A new clock domain is not created by a sensitivity list, a new clock domain is created by checking the data signal slow_clk_q for a rising edge. This will connect slow_clk_q to a clock input of a flipflop at synthesis and is a not recommended design practise especially for FPGAs but also for ASICs. Nevertheless this new clock domain will be synchronous to your 12 MHz domain, but exchanging data signals between this 2 clock domains is difficult, as the edge of your slow clock will not happen at the same time as an edge of our 12 MHz clock, but a short time later.

Your questions concentrates on the Item "synchronous". As long as you have only 1 clock source (in your case the 12 MHz clock) all derived signals (for example your slow_clk_q) are synchronous to this clock, because they only can change their value after a rising edge of your single clock source. Only if you have a second independent clock signal (not created by your 12 MHz clock but somewhere else), then you will get a second clock domain which is asynchronous, this means by observing one clock you cannot predict at what time the other clock will have a rising edge.

Reasons:
  • Blacklisted phrase (1): How should I
  • Whitelisted phrase (-1): in your case
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Matthias Schweikart

79697339

Date: 2025-07-10 16:27:51
Score: 1
Natty:
Report link
from datetime import datetime

def YYMMDD0FtoYYYYMMDD(date):
    return datetime.strptime(date[:6], "%y%m%d").strftime("%Y-%m-%d")

Example usage:

print(YYMMDD0FtoYYYYMMDD('1403110F'))  # Output: '2014-03-11'
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sunil Saini

79697338

Date: 2025-07-10 16:26:51
Score: 2
Natty:
Report link

I think all you need to do is just make sure the little dropdown at the bottom on the error list has either of the IntelliSense selections selected and you're good to go on live error listings..

https://i.sstatic.net/GsjSJaXQ.png

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

79697331

Date: 2025-07-10 16:20:50
Score: 3.5
Natty:
Report link

For now dividing the original (large image) coords by 3 seems to make it kind of like that, thanks

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

79697329

Date: 2025-07-10 16:18:49
Score: 1.5
Natty:
Report link

According to https://docs.spring.io/spring-boot/appendix/application-properties/index.html, the name of the property is enabled-protocols not protocols.

This is confirmed by How to enable multiple ssl protocol versions in Spring Boot?.

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: Stephen C

79697324

Date: 2025-07-10 16:16:48
Score: 0.5
Natty:
Report link

I have a similar issue - queries are suspended randomly, sometimes they are fast and sometimes suddenly suspended.

My case is:

- console app1 reading from database.

- console app2 which calls app1 to get and use data received from database.

Observations:

- query is fast when call directly in SSMS;

- query is fast when run app1 separately;

- query is suspended sometimes when app2 calls app1.

I asked GitHub Copilot if VPN can be the reason. Here is the response:

Yes, the VPN can absolutely be a factor—even if your database is local.

Why VPN Can Affect Local Database Performance

• Network Routing: When connected to a VPN, all your network traffic (sometimes including local traffic) may be routed through the VPN tunnel. This can introduce latency, packet loss, or even block certain local network connections, depending on VPN configuration.

• DNS Resolution: VPNs can change your DNS settings, which might affect how "localhost" or your machine's name resolves.

• Firewall/Policy Changes: Some VPNs enforce strict firewall rules or network isolation, which can interfere with local connections.

• Split Tunneling: If your VPN does not use split tunneling, even local traffic may be forced through the VPN, slowing down access to local resources.

Why It Might Seem Random

• VPN routing and policies can change dynamically.

• Some VPN clients intermittently enforce different rules or routes.

• If your database connection string uses a hostname instead of localhost or 127.0.0.1, DNS or routing issues may be more likely.

What To Check

• Connection String: Ensure you are using localhost or 127.0.0.1 for local databases.

• VPN Settings: Check if your VPN client has options for split tunneling or local network access.

• Network Interfaces: When VPN is connected, run ipconfig (Windows) or ifconfig (Linux/Mac) to see if your local network interface is still active and prioritized.

Summary

Even for a local database, a VPN can introduce delays or connection issues. If your queries are fast when not using VPN, it's very likely the VPN was causing the problem.

Recommendation:

If you must use VPN, configure it to allow local network access or use split tunneling. Otherwise, disconnect from VPN when working with local resources for best performance.

Finally enabling split tunneling resolved the issue.

Reasons:
  • Whitelisted phrase (-2): solution:
  • Long answer (-1):
  • No code block (0.5):
  • Me too answer (2.5): I have a similar issue
  • Low reputation (0.5):
Posted by: Oleksandr Pavlov

79697323

Date: 2025-07-10 16:12:48
Score: 3.5
Natty:
Report link

Set the '#step' value to "any".

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

79697322

Date: 2025-07-10 16:12:48
Score: 3
Natty:
Report link

July 2025: Actually, you can record audio off your iPhone. I did it with two new apps: dubnote, a recording app which I got for free for a limited time (but you may have to pay now): and I recorded the audio from Free Vibe, a vibrophone app that plays a simple vibe sound with a virtual vibraphone instrument. Start the dubnote recording, switch over to the instrument app, play it, then switch back to dubnote, stop recording and it's done. I imported the sample into my DAW (Ableton Live) and processed it. It was really easy. I have several iPhone instruments that I want to record, especially the Chinese Guzheng.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Shaun Bartone

79697314

Date: 2025-07-10 15:58:45
Score: 1.5
Natty:
Report link

Using BLE scanners apps (in my Android mobile phone) like LightBlue and nRF Connect acting as central device to scan and connect with my SoC Arduino UNO R4 WiFi acting as a peripheral device, it's device name are truncated down to 20 chars.

So, I'd use 20 chars at maximum size.

See also: https://community.particle.io/t/ble-setdevicename-only-realistically-works-for-14-or-fewer-characters/66329

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

79697302

Date: 2025-07-10 15:44:42
Score: 0.5
Natty:
Report link

This might be related to the expected way Auth handles errors when Email Enumeration Protection is enabled.

Additionally, it likely is (and likely should remain) enabled in your project: "If you created your project on or after September 15, 2023, email enumeration protection is enabled by default. "

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

79697296

Date: 2025-07-10 15:39:40
Score: 2
Natty:
Report link

Have a look to https://patrol.leancode.co/documentation/native/feature-parity. I fixed my problem regarding camera permission

Reasons:
  • Whitelisted phrase (-2): I fixed
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: giordy16

79697280

Date: 2025-07-10 15:26:36
Score: 4
Natty:
Report link

The problem was that I was using an old version of argosd? namely version 2.12.2
enter image description here

The function toYamlPretty requires version helm 3.17, and its support in argoсd was presented only in version v3.0.11.

In my case, the solution was to update the version of my argoсd

https://github.com/argoproj/argo-cd/blob/v3.0.11/hack/tool-versions.sh

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Ilnaz

79697270

Date: 2025-07-10 15:19:34
Score: 1
Natty:
Report link

In my case, the issue was caused by @property being wrapped inside an @layer. Moving the @property declaration to the top level of the stylesheet solved the crash.

Before:

@layer base {
    @property --my-color {
       syntax: "<color>";
       initial-value: #fff;
       inherits: true;
    }
    /* others */
}

After:

@property --my-color {
    syntax: "<color>";
    initial-value: #fff;
    inherits: true;
}
@layer base {
    /* others */
}
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @property
  • User mentioned (0): @layer
  • User mentioned (0): @property
  • Low reputation (0.5):
Posted by: Gynekolog

79697268

Date: 2025-07-10 15:15:34
Score: 1
Natty:
Report link

Also check that the block's index.js function registerBlockType has right category, not only block.json.

 category: 'my-block-category'
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Alexander Orlov

79697265

Date: 2025-07-10 15:12:33
Score: 2
Natty:
Report link

For Credit Unions, the accountStatus will always be "unknown".

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

79697262

Date: 2025-07-10 15:08:32
Score: 4.5
Natty:
Report link

Why not follow the official Secondary Display API Documentation?

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Why not
  • High reputation (-2):
Posted by: Martin Zeitler

79697261

Date: 2025-07-10 15:07:32
Score: 3
Natty:
Report link

I was having a similar issue and I ended up doing it this way: https://stackoverflow.com/a/79696868/6155941

Let me know if it works for you as well.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: vonvick

79697258

Date: 2025-07-10 15:05:31
Score: 0.5
Natty:
Report link

If it returns -2146233054, you need to convert to hexa 0x80131522 and then in the documentation you can find what it means. In this case it is https://learn.microsoft.com/en-us/dotnet/api/system.typeloadexception?view=net-9.0 (TypeLoadException).

You are probably passing wrong value of:

dotnet_type.c_str()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Petr Nohejl

79697241

Date: 2025-07-10 14:55:28
Score: 0.5
Natty:
Report link

You can call Windows binaries from within WSL, so the simplest solution that works out of the box is

import os
os.system('echo hello world | clip.exe')

More complicated data will need to use quoting, an f-string and possibly escaping quotes within the data.

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

79697229

Date: 2025-07-10 14:47:26
Score: 2.5
Natty:
Report link

if you press 'i' you will enter INSERT MODE then you should press ESC to get out from INSERT MODE,

then use ':q' + ENTER to quit.

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

79697226

Date: 2025-07-10 14:44:25
Score: 3.5
Natty:
Report link

A chatbot is a software application designed to simulate conversation with human users, typically over the internet. Chatbots can be simple (responding to specific commands or keywords) or advanced (using AI to understand and generate natural language Rsoft Technologies.

Reasons:
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rsoft Technologies

79697216

Date: 2025-07-10 14:32:23
Score: 1.5
Natty:
Report link

Probably better suited for server fault, but anyways:

Create a service. If you're using systemd, the suse documentation has a really good writeup on how to create it.

This will both make sure that there is only one instance running per service, as well as run it indefinitely if the service has no exit points.

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

79697210

Date: 2025-07-10 14:28:22
Score: 0.5
Natty:
Report link

With `react-native-branch` (including v6.7.1), you cannot reliably retry initialization after a failed first attempt within the same app session.

The only robust solution is to ensure the network is available before the first initialization, or to restart the app if initialization fails.

If you need to support retry logic, consider implementing a user prompt to restart the app after a failed Branch initialization, or delay initialization until you confirm the device is online.

Reasons:
  • Whitelisted phrase (-1): solution is
  • No code block (0.5):
  • Low reputation (1):
Posted by: kenzo akiyama

79697207

Date: 2025-07-10 14:27:22
Score: 2
Natty:
Report link

I had the same problem in a project which contained a "token" folder. I renamed that folder and it fixed the problem.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Suzie Brown

79697204

Date: 2025-07-10 14:25:21
Score: 0.5
Natty:
Report link

Hmm...

Are you using ProGuard in release but not in debug? That, combined with the fact that the input composable is wrapped in an if statement, might mean that compose "thinks" there's a view there (and reserves a bit of space).

Maybe instead of

if (isItemChecked) {
    CustomInputText()
}

try

AnimatedVisibility(visible = isItemChecked) {
    CustomInputText()
}

Hope this works!

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

79697201

Date: 2025-07-10 14:22:20
Score: 1
Natty:
Report link

Disclaimer: I'm a QuickNode employee.

This marketplace add-on returns block number(s) by timestamp or range of timestamps for Bitcoin. So, you can call qn_getBlockFromTimestamp with a timestamp, and get the corresponding block number. Then, you can fetch transactions with a regular method. marketplace.quicknode.com/add-on/block-timestamp-lookup

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

79697191

Date: 2025-07-10 14:13:18
Score: 1
Natty:
Report link

After some more research, it seems that the problem ist the Ktor development mode which I set in my main method with System.setProperty("io.ktor.development", "true") Sorry, was not visible in my initial question.

When I set this mode to false, the problem disappear.

Here is a similar problem description.

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

79697186

Date: 2025-07-10 14:06:16
Score: 1
Natty:
Report link
.flex-container {
  min-height: 0;
  overflow: visible;
}
Also, ensure the grid item doesn't have a fixed height that restricts content. Use align-items and justify-content properly inside the flex container.
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ponting Clarke

79697184

Date: 2025-07-10 14:04:15
Score: 4
Natty:
Report link

This has been reported in https://bugs.launchpad.net/ubuntu/+source/git/+bug/2116251 and reverted in 2.34.1-1ubuntu1.14

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

79697183

Date: 2025-07-10 14:04:15
Score: 1
Natty:
Report link

For anyone facing this, my issue is that i had a comma in the variable implementation... yeah I know.

Reasons:
  • Whitelisted phrase (-2): For anyone facing
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ahmad Hussian

79697180

Date: 2025-07-10 14:03:15
Score: 3
Natty:
Report link

Work flow everyone keep it going market is going amazing couldn't do it without you. Even though I did the calculations I new it would work. Now save save save

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

79697170

Date: 2025-07-10 13:58:13
Score: 1.5
Natty:
Report link

I got an error like this on Node v20, and was able to fix it by upgrading to Node v22.

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

79697166

Date: 2025-07-10 13:55:12
Score: 4
Natty: 5
Report link

Thanks! it's worked for me. Thanks a lot. @adam440

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @adam440
  • Single line (0.5):
  • Low reputation (1):
Posted by: prodipta mukherjee

79697165

Date: 2025-07-10 13:55:12
Score: 2.5
Natty:
Report link

The command is indeed now just named arrows

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Mstislav Keldysh

79697161

Date: 2025-07-10 13:53:11
Score: 2
Natty:
Report link

Unfortunately, Google does not see fit to allow this. It causes a ton of duplication between scripts, tons of "wrapper functions" and generally leads to a lot of needless spaghetti code.

They really need to fix calling functions from a library with the UI.

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

79697158

Date: 2025-07-10 13:50:10
Score: 1.5
Natty:
Report link

I recently had to implement something similar, so I put together a basic demo that handles most of these features:

it is built using SwiftUI along with a use of UIKit to handle backspace navigation and paste support.
Link - https://github.com/jeetrajput01/PinEntrySwiftUI

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

79697156

Date: 2025-07-10 13:49:10
Score: 1
Natty:
Report link

If you form a string from the set, you could use concat() to check whether the variable value is included.

<xsl:if test="contains('7 8 9', $k)">
    <!-- Do something -->
</xsl:if>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: KevCo

79697137

Date: 2025-07-10 13:35:06
Score: 1.5
Natty:
Report link

I also guess it could be caused by a server certificate which is signed by a CA.
Many OPC UA servers send only the leaf certificate, but the client must be able to resolve the full certificate chain.
All certificates of the chain must be either in the trusted (at least one) or in the issuer list.

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

79697130

Date: 2025-07-10 13:30:05
Score: 3
Natty:
Report link

Haha you installed my computer software everyone good job but it only listen to those in processing and can't block my command eye retina connect

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

79697128

Date: 2025-07-10 13:29:05
Score: 1
Natty:
Report link

for 0 value i need to use if val is None else structure, so added filter ifnone:

def ifnone(val, default):
    if val is None:
        return default
    return val

...
env.filters["ifnone"] = ifnone

Useage in template: {{val|ifnone('--')}}

Reasons:
  • Blacklisted phrase (0.5): i need
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Damir Nafikov

79697125

Date: 2025-07-10 13:25:04
Score: 1
Natty:
Report link

After a bit more searching, it turns out that while I can't have a wildcard, but I can have other defined values. As a result, this works:

| init xs == [head xs, head xs, head xs, head xs] = 0
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Alfy B

79697105

Date: 2025-07-10 13:07:59
Score: 3.5
Natty:
Report link

And I just needed to make the inspector window wider, but I spent 2 days looking for the problem in everything else

enter image description here

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Bonus Anima

79697091

Date: 2025-07-10 13:01:57
Score: 0.5
Natty:
Report link

Nevermind.

sourceforge.net/p/gnuplot/bugs/2634

This is a two-year-old known bug in gnuplot on Ubuntu. Why that specific? Who knows? But the solution is to invoke the gnuplot script in an environment where GDK_BACKEND=x11 That is the solution to allow the gnuplot process's wxt terminal to actually update with every new plot command.

This question is closed.

Reasons:
  • Whitelisted phrase (-1): solution is
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Cathy Garrett

79697083

Date: 2025-07-10 12:56:56
Score: 3
Natty:
Report link

Found the response by digging into each part of the documentation. The driver's default mechanisms are not capable of detecting I/O, locks or Thread.sleep blocking calls, hence, something extra needs to be done described here: https://docs.datastax.com/en/developer/java-driver/4.14/manual/core/non_blocking/index.html#using-the-driver-with-reactor-block-hound

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: user1234SI.

79697078

Date: 2025-07-10 12:52:55
Score: 2.5
Natty:
Report link

I encountered similar issues with Pandas TA and have now switched to a fork that's compatible with NumPy 2:

pandas-ta-openbb

Link: https://pypi.org/project/pandas-ta-openbb/

Maybe that's an idea for you as well.

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

79697075

Date: 2025-07-10 12:49:54
Score: 1.5
Natty:
Report link

In case someone comes here whose problem is not dashes:)

I had a silly one, directive (remote-cert-tls server) after the embedded data. I had some commented directive there, and thought they can occur anywhere in the config file. They can not, embedded keys must come last.

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

79697067

Date: 2025-07-10 12:42:53
Score: 0.5
Natty:
Report link

Solved by adding postup to the action in mobile_navigation.xml

    <fragment
        android:id="@+id/nav_home"
        android:name="com.navtest.ui.home.HomeFragment"
        android:label="fragment_home"
        tools:layout="@layout/fragment_home" >
        <action
            android:id="@+id/action_nav_home_to_nav_gallery"
            app:destination="@id/nav_gallery"
            app:launchSingleTop="true"
            app:popUpTo="@id/nav_home"
            app:popUpToInclusive="true" />
    </fragment>

I share it because I was not able to find the solution anywhere.

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

79697063

Date: 2025-07-10 12:40:52
Score: 2.5
Natty:
Report link

Give a image of database my personal library for returning

Use book ID, use yes no for returning ,author name and book name

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

79697056

Date: 2025-07-10 12:37:51
Score: 3.5
Natty:
Report link

Can you share the component where you use the BuildProvider? It's probably in your App.js or a similar root component.

Ideally, it should be structured like this:

<BuildProvider>
  <BrowserRouter>
    <App />
  </BrowserRouter>
</BuildProvider>

If your BuildProvider is placed inside the BrowserRouter or even inside individual route components, it might be getting unmounted and remounted during navigation. That would cause your context to reset and potentially overwrite the localStorage with empty or default values, which are then reloaded as the new state.

Also, considering you're managing a lot of independent state values inside the provider, it might be worth looking into a more scalable state management solution like Zustand.

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you share
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can you share the
  • Low reputation (1):
Posted by: Franco Moraes

79697047

Date: 2025-07-10 12:25:49
Score: 1.5
Natty:
Report link

The solution for me was reinstalling watchman: brew uninstall watchman && brew install watchman

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

79697046

Date: 2025-07-10 12:25:49
Score: 2
Natty:
Report link

Verify the app in test flight build. And it will be considered as Sandbox only.

It wil be exactly like testing on production environment.

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

79697042

Date: 2025-07-10 12:24:48
Score: 0.5
Natty:
Report link

Easy and Scalable Solution.

If you have limited variables then answer of @tyg (link) is enough.

My solution handles scalability, if you have 1000+ variables? and also type Text() composable inside column 1000+ times? No.

It is based on Observable Lists i.e MutableStateList (official codelab by google check) and lazy column instead of simple column.

Simple steps:

  1. get all data into list

  2. convert it into MutableStateList using list.toMutableStateList() extension

  3. show lazycolumn using this MutableStateList items

  4. update it based on it's indexes on buttonclick

**
100% working code:**


@Preview(showBackground = true)
@Composable
fun MinimalMutableStateComposable(modifier: Modifier = Modifier) {
    val dataList = getMyData() //first get complete data
    val mutableDataListState =
        remember { dataList.toMutableStateList() } //and then turn it into state_list, don't build MutableStateList item by item here to avoid weird recompositions

    LazyColumn(modifier = modifier.padding(16.dp)) {
        items(mutableDataListState) {
            Text(text = it.toString())
        }
        item {
            Button(
                onClick = {
                    mutableDataListState[0] = 100 //updating 0th value, you can update any value at index
                }
            ) {
                Text("Change some value")
            }

        }
    }
}

//method that returns you data which can be any length
fun getMyData(): List<Int> =
    listOf(1, 2, 3, 4, 5, 6) // which is a,b,c,d,e,f,g change this data

@Preview
@Composable
fun PreviewMinimalMutableStateComposable() {
    MinimalMutableStateComposable()
}

If you want to change every value and need buttons for every item then you will use some Row which groups Text and Button and use itemsIndexed instead items inside lazycolumn, somewhat like below:

        itemsIndexed(mutableDataListState) { index, value ->
            ItemRowTextWithButton(
                index = index,
                value = value,
                onUpdate = { i -> mutableDataListState[i] = value + 1 } //lambda to update
            )
        }
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @tyg
  • Low reputation (0.5):
Posted by: CodingDevil

79697000

Date: 2025-07-10 11:44:40
Score: 2
Natty:
Report link

Initially, chat moderation looks like a huge cost when considering purely human moderators. Manual moderation is hiring and training staff, time-consuming, and expensive-the bigger the volume over text, images, and voice chats-another dimension.

With the age of AI-powered moderation tools, the cost has become realizable and scalable. Visualize content monitoring 24/7 and with no labour costs; imagine massive amounts of data being filtered in real time. These are things that human moderators cannot achieve with efficiency.

Maybe the smartest and most budget-friendly way is the hybrid: allow AI systems to do bulk filtering, while actual humans assess the less-obvious cases. Keeping costs down ensures the right level of moderation: protecting the brand, staying compliant, and providing a safe user environment.

To conclude, there is an expense involved in chat moderation, but those expenses sit so much lower than the damage costs that come with unmoderated chats-taking legal risks, user drop-off, or loss of brand reputation for instance. It is not simply an expense, but an investment in digital safety and trust.

Reasons:
  • RegEx Blacklisted phrase (1.5): reputation
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Orage Technologies

79696996

Date: 2025-07-10 11:39:38
Score: 4
Natty:
Report link

There is the one I developed :

Scheduled PC Tasks

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

79696981

Date: 2025-07-10 11:28:34
Score: 1
Natty:
Report link

Take a look at vcstool (python module) and it's forks.

I am using it as a replacement for both the SVN externals and git modules.

Status of vcstool: https://github.com/dirk-thomas/vcstool/issues/242

Investigation for SVN replacement: Git modules experience : https://gist.github.com/andry81/b0000d2ddfa890f7ac68f1cabb6c1978

Reasons:
  • Probably link only (1):
  • Contains signature (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Andry

79696977

Date: 2025-07-10 11:25:33
Score: 1.5
Natty:
Report link

To use react-native-dotenv with different .env files in your web development or mobile project, you can set up environment-specific files like .env.dev, .env.prod, etc. Then, configure Babel with a plugin like module:react-native-dotenv and pass the correct file path using the envFile option. Finally, run your project with a script that points to the desired environment file.

✅ It helps keep secrets organized and your app environment-specific!

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

79696975

Date: 2025-07-10 11:23:33
Score: 0.5
Natty:
Report link

It turned out that, since I installed everything via VSCode the python version used is located in the PlatformIO folder under '~/.platformio/penv/' and the distutils are available in the setuptools pkg.

Therfore I installed it there with

source .platformio/penv/bin/activate
pip install setuptools

now it works

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

79696969

Date: 2025-07-10 11:21:32
Score: 2
Natty:
Report link

We had similar issue, but as our enums have named keys we could find out which are problematic. Found the solution by adding WrapperType to them at all dto-s where they were used

WrapperType described here https://docs.nestjs.com/recipes/swc#common-pitfalls

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

79696955

Date: 2025-07-10 11:12:29
Score: 1.5
Natty:
Report link

I'm in here seeking help myself, but on a slightly different topic. I was able to get the IRQ for IO working. I am using 2024.2, if you are as well, do not use IDs but rather base addresses. Base Address for all of your AXI IP Blocks are defined in xparameters.h. Hope this helps.

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: habcollector

79696952

Date: 2025-07-10 11:11:29
Score: 2.5
Natty:
Report link

Well, as usual the error was on my side. I did check the position of the SD-card and saw, that it was misplaced. After attaching it correctly, the device shows up and can be mounted as usual.

Sorry for bothering you!

KR, Christof

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

79696950

Date: 2025-07-10 11:09:28
Score: 1
Natty:
Report link

Take a look at vcstool (python module) and it's forks.

I am using it as a replacement for both the SVN externals and git modules.

Status of vcstool: https://github.com/dirk-thomas/vcstool/issues/242

Investigation for SVN replacement: Git modules experience : https://gist.github.com/andry81/b0000d2ddfa890f7ac68f1cabb6c1978

Reasons:
  • Probably link only (1):
  • Contains signature (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Andry

79696947

Date: 2025-07-10 11:08:28
Score: 2
Natty:
Report link

For this you need to store(in shared prefs) count of steps when user first opens the app after reboot (call it Int initialStepsAfterReboot). And the total steps count since reboot will also be fetched from sensorEvent.values[0] (call it Int totalStepsSinceReboot). Whenever you want to get total steps user has walked today(since he opened the app) you will subtract initial steps count from total steps count.

you will use following formula:

Int totalStepsCountToday = totalStepsSinceReboot - initialStepsAfterReboot //totalStepsSinceReboot was fetched using sensorEvent.values[0] as you said

then next day you will reset initialStepsAfterReboot based on a value you will store to know when was this initial steps recorded , was it today or yesterday? call it Date initialStepsAfterRebootRecordedDate . And you will update initialStepsAfterReboot to whatever value you get when user opened app using sensorEvent.values[0] and use same formula again and again after verifying that date of today is same as initialStepsAfterRebootRecordedDate i.e it should be valid for today not outdated.

variables to store description
initialStepsAfterRebootcount count of steps when user first time launch app after reboot.
initialStepsAfterRebootRecordedDatedate count of the day when you stored initialStepsAfterReboot to check if it's valid for today or outdated.

for example, if user opened your app and sensorEvent.values[0] returns 100 steps, which means today you have extra 100 steps, now when user walked 300 steps, sensorEvent.values[0] will show you 400 steps, so you subtract initialSteps=100 from totalSteps=400 so you will get 100, and this is correct. Next day you will check if the initialStepsRecordedDate is today or yesterday, if it's today, use it, otherwise update it to sensorEvent.values[0].

Make sure you don't update initialStepsAfterReboot again and again when user opens the app, rather you update it only if it's null/empty or outdated. this will make sure that you update it once a day only.

PS: pls share more snippets so I can help more.

Reasons:
  • RegEx Blacklisted phrase (2.5): pls share
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: CodingDevil

79696946

Date: 2025-07-10 11:07:28
Score: 0.5
Natty:
Report link

Another way to save all output to a file using ob_start() (before any output) with callback function:

ob_start(function ($buffer) {
    file_put_contents('file.txt', $buffer, FILE_APPEND);
    return $buffer; // remove this line if you dont want to show the output
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Andrey Chesnakov

79696945

Date: 2025-07-10 11:06:27
Score: 13.5
Natty:
Report link

facing the same issue. were you able to solve it?

Reasons:
  • Blacklisted phrase (1): you able to solve
  • RegEx Blacklisted phrase (1.5): solve it?
  • RegEx Blacklisted phrase (3): were you able
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): facing the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rishav Hada

79696944

Date: 2025-07-10 11:05:26
Score: 4.5
Natty: 5
Report link

It works perfectly, thanks Aswin

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: fadwa fahouli

79696938

Date: 2025-07-10 11:00:24
Score: 4
Natty: 4
Report link

The one I developed :

Scheduled PC Tasks

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

79696935

Date: 2025-07-10 10:59:23
Score: 8
Natty: 5
Report link

same problem for me!
have you solved? Mostafa ALZOUBI

Reasons:
  • RegEx Blacklisted phrase (1.5): solved?
  • RegEx Blacklisted phrase (1): same problem
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: m.ricca

79696932

Date: 2025-07-10 10:56:21
Score: 7
Natty: 5
Report link

你好,请问你解决了该问题吗?我是在iOS18.5出现的这个问题

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • No latin characters (2.5):
  • Low reputation (1):
Posted by: Bluy

79696929

Date: 2025-07-10 10:52:19
Score: 1
Natty:
Report link

You should use now RouterTestingHarness ( https://angular.dev/api/router/testing/RouterTestingHarness ) since Angular 15.2 as RouterTestingModule is deprecated ( https://angular.dev/api/router/testing/RouterTestingModule )

see the video made by Rainer Hahnekamp (12 minutes) : https://www.youtube.com/watch?v=DsOxW9TKroo ( from https://www.rainerhahnekamp.com/en/how-do-i-test-using-the-routertestingharness/ )

The production code (you need to test the ngOnInit() method) :

ngOnInit(): void {
    if (this.router.url.endsWith('admin/user-list')) {
      this.activeLinkIndex = 1;
    } else if (this.router.url.endsWith('admin/group-list')) {
      this.activeLinkIndex = 2;
    }
  }

The test code :

import { RouterTestingHarness } from '@angular/router/testing';

describe('MyComponent', () => {
  ...

  const routes: Routes = [
    { path: 'admin/user-list', component: UserListComponent },
    { path: 'admin/group-list', component: GroupListComponent },
  ];

  beforeEach(async () => {
    await TestBed.configureTestingModule({
      imports: [MyComponent, ... ],
      providers: [provideRouter(routes)],
    }).compileComponents();
    fixture = TestBed.createComponent(MyComponent);
    component = fixture.componentInstance;

    fixture.detectChanges();
   });

...
 

    it('should set activeLinkIndex to 2 when targetted URL is admin/group-list', async () => {
            
      await RouterTestingHarness.create('admin/group-list'); 

      component.ngOnInit();

      expect(component.activeLinkIndex).toBe(2);
    });

...

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Gilles Gaido

79696919

Date: 2025-07-10 10:48:17
Score: 3
Natty:
Report link

Good question...those particular consonant combinations that are not just combination of two letter shapes. I think there are 15 of them in Nepali. Those 15 shapes do not appear among the unicode shapes.

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

79696918

Date: 2025-07-10 10:47:16
Score: 3
Natty:
Report link

The issue was related to the permissions of rooms and the service account that is used in the MS Graph API. However, the error message is confusing because it refers to invalid parameters and "ErrorItemNotFound." It would be better to receive a message about permission issues.

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

79696908

Date: 2025-07-10 10:40:13
Score: 1
Natty:
Report link

you need to either assign the values while creating the array or specify the size of the array MyStruct array[10]

The compiler needs to know how many elements you will have

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

79696906

Date: 2025-07-10 10:39:13
Score: 0.5
Natty:
Report link

I have written a misc function that seems to work:


function getJdbcCurrency(result, col) {
  let amntStr = result.getString(col);
  if (result.wasNull())
  {
    return null;
  }
  if (amntStr.length == 0) {
    return null;
  }
  return Number.parseFloat(amntStr);
}

Usage

row.push(getJdbcCurrency(results, col+1));

Parsing from string protects me from rounding issues, even if the number is still parsed as float.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Kuba D

79696895

Date: 2025-07-10 10:30:10
Score: 1
Natty:
Report link

I have suffered from this issue as well after upgrading flutter.
What solved the issue for me was adding to main.dart:

import 'dart:io' as io;

if (kDebugMode) {
  io.HttpClient.enableTimelineLogging = true;
}

Before the runApp method.

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

79696894

Date: 2025-07-10 10:29:09
Score: 1.5
Natty:
Report link

İstanbul gibi büyük ve yoğun bir şehirde yaşıyorsanız, zamanın ne kadar değerli olduğunu çok iyi bilirsiniz. Özellikle iş çıkış saatlerinde, etkinlik alanlarında trafik yoğunluğu pek de iyi olmaz ancak, acil vale hizmeti bu sorunu ortadan kaldırıyor. Belirlediğiniz konuma trafiğe takılmada hızlı ve güvenli şekilde ulaştırmaktadır. İstanbul motor vale hizmetimiz, şehrin dört bir yanına ulaşabilen, motorlu ve profesyonel ekibimiz trafiğe takılmadan konuma ulaşır, aracınız yada aracımız ile sizler hiç yorulamadan ulaştırıyoruz. Acil vale sistemimiz, aynı zamanda araç teslimde yapmaktadır. İstediğiniz yerden arabanızı alıp, istediğiniz zamanda belirlenen konuma götürmektedir.

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

79696887

Date: 2025-07-10 10:24:08
Score: 3
Natty:
Report link

It does not work, please can someone help.

import random

num = []
attempts = 0

def makeNum():
    for i in range(4):
        x = random.randrange(0, 9)
        num.append(x)
    if len(num) > len(set(num)):
        num.clear()
        makeNum()

def playGame():
    global attempts
    attempts = attempts + 1
    
    cows = 0
    bulls = 0

    print(num)
    try:
        choice = int(input("Please enter a 4 digit number: "))
        guess = []

    except ValueError:
        print("invalid input try again, enter only digits.")
        playGame()
    
    for i in range (4):
        guess.append(int(choice[i]))
    for i in range (4):
        for j in range(4):
            if(guess[i] == num[j]):
                cows = cows + 1
                
    for x in range (4):
        if guess[x] == num[x]:
            bulls = bulls + 1
            
    print("Bulls: ", bulls)
    print("Cows: ", cows)
    
    if(bulls == 4):
        print("You won after " ,attempts, "attempts.")
    if(bulls != 4):
        playGame()

makeNum()
playGame()
print("You won the game.")
Reasons:
  • RegEx Blacklisted phrase (3): can someone help
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Brian

79696875

Date: 2025-07-10 10:11:04
Score: 5
Natty: 4
Report link

This worked well for me too. However, i would also like to include the legend with color codes but im struggling to do so, anyone know a workaround?

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

79696873

Date: 2025-07-10 10:11:04
Score: 1.5
Natty:
Report link

Documentation (see the highlighted Note block) states that auto-generated columns are rendered after explicit columns. I assume that if there was a built-in way to change this behavior it would be stated there.

I suggest trying to generate the columns in code-behind so you can have full control of the order they are rendered in.

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

79696870

Date: 2025-07-10 10:09:03
Score: 2
Natty:
Report link

I found a shortcut for changing icon information. Simply open your project's .dproj file in an editor and rename the icons in the <Icon_MainIcon> sections.

For example:

<Icon_MainIcon>old.ico</Icon_MainIcon>

<Icon_MainIcon>new.ico</Icon_MainIcon>

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

79696869

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

Inspired by @maxhb answer,

# package.json
{
  "scripts": {
    "cy:run:ci": "cypress run --headless --config-file cypress-ci.js --browser chromium | sed -n -e '/Run Finished/,$p'"
  }
}

So you only got the results as requested :
enter image description here

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @maxhb
  • Low reputation (0.5):
Posted by: Reynadan

79696867

Date: 2025-07-10 10:06:02
Score: 0.5
Natty:
Report link

After upgrading from Expo SDK 51 to SDK 52, you're correct — the expo-barcode-scanner module has been deprecated and is no longer maintained as a standalone package. Expo now recommends using expo-camera to implement barcode scanning functionality. However, proper integration requires a few key changes.

If you're encountering issues using expo-camera for barcode scanning, follow the steps below to troubleshoot and implement it correctly.


Steps to Implement Barcode Scanning with expo-camera in SDK 52:

1. Install expo-camera:

bash

npx expo install expo-camera

2. Request Camera Permissions:

js

import{ Camera } from 'expo-camera'; const [permission, requestPermission] = Camera.useCameraPermissions(); useEffect(() => { requestPermission(); }, []);

3. Implement Barcode Scanner Using onBarCodeScanned:

jsx

<Camera style={{ flex: 1 }} onBarCodeScanned={({ type, data }) => { console.log(`Scanned ${type}: ${data}`); }} barCodeScannerSettings={{ barCodeTypes: [ Camera.Constants.BarCodeType.qr, Camera.Constants.BarCodeType.code128, ], }} />


Common Issues and Fixes:

At Technource, a leading mobile app development company, we recently encountered this transition challenge during a client project. Switching entirely to expo-camera—with correct permission handling and barcode settings—resolved the issue effectively.

If problems persist, check the official Expo SDK 52 changelog or community threads on GitHub for additional fixes and updates.

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

79696859

Date: 2025-07-10 10:02:01
Score: 0.5
Natty:
Report link

Use Concat option :

@concat('SELECT * FROM table WHERE author =', item().author)

Assuming you dont need quotes within the values

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

79696857

Date: 2025-07-10 10:01:00
Score: 1.5
Natty:
Report link

you have to configure SQL Server to accept TCP/IP connections (it is disabled by default) and you need to set the port number.
1- Go to SQL Server Configuration Manager

2- Open SQL server Network Configuration/Protocols for SQLEXPRESS

3- Set TCP/IP to Enabled

4- Right click on TCP/IP Properties and set the port number

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

79696853

Date: 2025-07-10 09:57:59
Score: 1.5
Natty:
Report link

All the answers did not work for me with Mui 5.X.

What actually worked to change the background color of the sticky header is the following

<Table stickyHeader sx={{'& th': {backgroundColor: 'blue'}}}>

and as theme override

MuiTable: {
    styleOverrides: {
        stickyHeader: {
            '& th': {
                backgroundColor: 'transparent',
            },
        },
    },
},
Reasons:
  • Blacklisted phrase (1): did not work
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Patrick Schmidt

79696852

Date: 2025-07-10 09:57:59
Score: 1
Natty:
Report link
  1. Use HTTP-header X-Robots-Tag: noindex to instruct Google to non-HTML content, as well as JSON files
  2. Generate JSON dynamically.
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: buzz8year