79755708

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

عالیه 🌟
خب حالا برات یک نسخه طلایی‌تر و تزئینی‌تر آماده کردم. همین کار قبلی رو انجام بده (کپی → ذخیره به‌صورت flag.html → باز کن با Chrome).


کد نسخه سلطنتی‌تر:

<!doctype html>
<html lang="fa">
<meta charset="utf-8">
<title>پرچم هنری شیر و خورشید</title>
<body style="margin:0;display:flex;justify-content:center;align-items:center;height:100vh;background:#fdf8e6">
<svg viewBox="0 0 700 450" xmlns="http://www.w3.org/2000/svg">
  <!-- پس‌زمینه با قاب طلایی -->
  <rect x="10" y="10" width="680" height="430" rx="20" fill="#fff8dc" stroke="#b8860b" stroke-width="12"/>
  
  <!-- خورشید با پرتو -->
  <circle cx="180" cy="200" r="70" fill="#f6d36b" stroke="#b8860b" stroke-width="5"/>
  <!-- پرتوهای ساده -->
  <g stroke="#d4af37" stroke-width="6">
    <line x1="180" y1="100" x2="180" y2="40"/>
    <line x1="180" y1="300" x2="180" y2="360"/>
    <line x1="80" y1="200" x2="20" y2="200"/>
    <line x1="280" y1="200" x2="340" y2="200"/>
    <line x1="120" y1="120" x2="80" y2="80"/>
    <line x1="240" y1="120" x2="280" y2="80"/>
    <line x1="120" y1="280" x2="80" y2="320"/>
    <line x1="240" y1="280" x2="280" y2="320"/>
  </g>
  
  <!-- بدن شیر -->
  <rect x="320" y="230" width="200" height="70" rx="20" fill="url(#gold)" stroke="#8c6b00" stroke-width="5"/>
  <!-- سر شیر -->
  <circle cx="520" cy="230" r="40" fill="url(#gold)" stroke="#8c6b00" stroke-width="5"/>
  
  <!-- دم شیر -->
  <path d="M320 250 q-60 -20 -80 40 q20 50 80 30" fill="none" stroke="#8c6b00" stroke-width="8" stroke-linecap="round"/>
  
  <!-- شمشیر -->
  <line x1="420" y1="230" x2="420" y2="100" stroke="#c0c0c0" stroke-width="12"/>
  <circle cx="420" cy="90" r="10" fill="#d4af37" stroke="#8c6b00" stroke-width="3"/>
  <rect x="400" y="220" width="40" height="12" rx="4" fill="#d4af37" stroke="#8c6b00" stroke-width="3"/>
  
  <!-- تعریف طلایی -->
  <defs>
    <linearGradient id="gold" x1="0" y1="0" x2="1" y2="1">
      <stop offset="0%" stop-color="#ffd700"/>
      <stop offset="50%" stop-color="#daa520"/>
      <stop offset="100%" stop-color="#b8860b"/>
    </linearGradient>
  </defs>
</svg>
</ flag.html می‌خوای بعد از این نسخه
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: ღAmirـ٨ـہـFarnosh

79755707

Date: 2025-09-04 12:26:10
Score: 2
Natty:
Report link

Me - Prior Cascadia font problem. Windows 10, the newer devices interface to "font" , any interaction with Cascadia just crashes setup. Many random keystrokes on my part on clearing fonts, initially from c:\Windows\Fonts & later from c:\Users\..\AppData\Local\Microsoft\Windows\Fonts ( files open by foo , at one point I couldn't even find what had my file open, the tool I was using unhelfully said "the system" and/or some other fairy that isn't a real thing. Symptom: Windows 10. Fresh install of vs2022 "free version", on a system that has had vs before , that does have vscode , that does have microsoft terminal, most likely way of removing stuff is via the BCU tool. I load vs2022 c/o I happen to like the interface to Anaconda Python install c/o the way it interacts with the standard Python debugger. ( I ask ChatGPT to write some code, my prose is very long, prior art - I have zero expectation of the code presented doing what I want & if I debug by "print to stdout", I will get bored very quickly. What I get is vs being able to run a python script but the editor just isn't , nothing displayed, no ability to edit, just a tab saying my python file name and a message saying Cascadia Code isn't being used .. and a fib that some other font is being used. ( I don't remember the other font ). Google -> no clues. ChatGPT - a whole bunch of suggestions, all could be genuine, none got me any further. So ... interaction with settings and Cascadia Code crashed settings , any attempt to reinstall italic variants of Cascadia appeared to go into infinite loops ~ leave settings @ 100% of a single thread, go for coffee, go to the shops, come back , still 100% of a single CPU , force a stop of settings, repeat , pull hair out ..

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

79755703

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

If you see similar error when using async aiokafka:
RuntimeError: Compression library for lz4 not found

Install those two packages: pip install lz4 cramjam

For details see here:
https://github.com/aio-libs/aiokafka/blob/master/aiokafka/codec.py#L29

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Me too answer (2.5): see similar error
  • Low reputation (0.5):
Posted by: Tomasz Hławiczka

79755698

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

We can simply use the command-update method to do this. This is the basic example how it can be implemented.


from langgraph.types import Command
@tool
def send_otp(
    phone_number: str,
    tool_call_id: Annotated[str, InjectedToolCallId],
) -> Command:
    """Send OTP to the (already validated) phone number."""
    logger.info("-----------------------------------send_otp-----------------------------------")

    formatted_number = phone_number
    otp_code = OTPService().generate_otp()
    # In production, actually send SMS here:
    # OTPService().send_otp(formatted_number, otp_code)

    payload = {
        "otp": otp_code,  # stored in state; avoid showing to user in production
        "phoneNumber": formatted_number,
        "message": f"OTP sent successfully to {formatted_number}. Please check your phone.",
    }
    logger.info(f"Send OTP tool payload: {payload}")

    return Command(
        update={
            "otp": otp_code,
            "phoneNumber": formatted_number,
            "messages": [
                ToolMessage(content=json.dumps(payload), tool_call_id=tool_call_id)
            ],
        }
    )

Refer to this documentation to understand more: https://langchain-ai.github.io/langgraph/how-tos/tool-calling/#short-term-memory

Reasons:
  • Blacklisted phrase (1): this document
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mangesh Salunke

79755697

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

From https://github.com/puppeteer/puppeteer/issues/2685#issuecomment-643573422

await page.addStyleTag({
  content: `
    html {
      -webkit-print-color-adjust: exact !important;
      -webkit-filter: opacity(1) !important;
    }
  `
});
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
Posted by: Steve

79755694

Date: 2025-09-04 12:17:06
Score: 2.5
Natty:
Report link

I would like to know how to work with LocalDate LocalTime

@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate dataDetencao;
@JsonFormat(pattern = "HH:mm:ss")
private LocalTime horaDetencao;
Reasons:
  • Blacklisted phrase (1.5): I would like to know
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: kelby pina

79755693

Date: 2025-09-04 12:16:06
Score: 2
Natty:
Report link

My anser might come in a bit late, but just in case anyone else runs into the same issue...

Outbound SMTP connections are blocked on Railway. They recently changed this and SMTP is only available for pro plans and avobe.

https://station.railway.com/questions/smtp-65969dff

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

79755691

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

Seems like the difference is only in syntax [source]:

PySpark and pandas on Spark both have similar query execution models. Converting a query to an unresolved logical plan is relativpandas API on Sparkely quick. Optimizing the query and executing it takes much more time. So PySpark and pandas on Spark should have similar performance.

The main difference between pandas on Spark and PySpark is just the syntax.

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

79755690

Date: 2025-09-04 12:12:05
Score: 1
Natty:
Report link
After reading the comment of mklement, I created the following working code:

powershell -Command ^
$COMPORT=(Get-WmiObject Win32_SerialPort ^| Select-Object Name, DeviceID ^| ^
Where-Object { $_.Name -like 'USB Serial Device*' } ^| Select-Object -ExpandProperty DeviceID); ^
Write-Host \"Using COM port:[$COMPORT]\"; Start-Process -Wait -FilePath putty -ArgumentList ^
\"-serial $COMPORT -sercfg 9600,8,n,1,N\""
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Sándor Rózsa

79755689

Date: 2025-09-04 12:10:04
Score: 4
Natty:
Report link

fixed as part of #1377 and #1378

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

79755679

Date: 2025-09-04 11:59:01
Score: 0.5
Natty:
Report link

No, It only creates a reference of the object, you can see the official documentation referring that here.

enter image description here

This matches your earlier intuition, modifying keyObj (e.g., changing its properties) will still allow you to retrieve the associated value since it's the same object reference.

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

79755676

Date: 2025-09-04 11:52:59
Score: 2.5
Natty:
Report link

Recover from any investment platform, recover from any fraud, hack cash app, recover from dating scam.

Have you ever been tempted to get involved in binary options? Have you had a bad experience? Have you been scammed?

Binary options trading scams are very frequent and binary options loss recovery can be difficult but not impossible. Get in touch with Ethical Recovery service via telegram: (web3ethicalrecovery) and recover your funds.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Leo

79755674

Date: 2025-09-04 11:50:58
Score: 1
Natty:
Report link

@Bright Ran
I hope you're still around, cus I cannot for the life of me get variable replacement to work with my .json file:

{
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft.AspNetCore": "Warning"
    }
  },
  "MailerLogging": {
    "Verbose": false
  },
  "MailerSettings": {
    "Name": "",
    "Port": "",
    "KeyVaultName": "",
    "AppID": "",
    "TenantID": "",
    "ClientSecret": ""
  },
  "AllowedHosts": "*"
}

My variables:

variables:
    MailerSettings.0.Name: '${{ parameters.customer }}'
    MailerSettings.0.Port: '3525'
    MailerSettings.0.KeyVaultName: 'KV-Mailer'
    MailerSettings.0.AppID: '${{ parameters.customer }}-AppID'
    MailerSettings.0.TenantID: '${{ parameters.customer }}-TenantID'
    MailerSettings.0.ClientSecret: '${{ parameters.customer }}-ClientSecret'

My filetransform@2 task:

- task: FileTransform@2
    displayName: 'File Transform for Mailer'
    inputs:
      folderPath: '$(Pipeline.Workspace)/${{ parameters.repo }}_${{ parameters.customer }}_preConfig'
      fileType: 'json'
      targetFiles: '**/appsettings.json'
      enableJsonFileTransformation: true

I've tried (i feel like) all the different formats of variables I could find online and by asking copilot in vscode. Nothing works, all I get is "##[warning]Unable to apply transformation for the given package - Changes are already present in the package."
I have confirmed that the paths are right and that the .json is present. I hope someone sees this and can assist me with what I' am doing wrong.

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Bright
  • Low reputation (1):
Posted by: THG

79755662

Date: 2025-09-04 11:37:55
Score: 1
Natty:
Report link

No, you cannot skip a build stage in AWS CodePipeline directly.

But here’s what you can do:

  1. Use a condition: You can add a rule (like a check using AWS Lambda) to only run the build if needed. For example, run the build only when certain files change.

  2. Use different pipelines: You can create separate pipelines for different tasks, so you don’t always run the build stage.

  3. Make the build optional (in a way): You can change the build action to just pass or do nothing if certain conditions are met.

  4. Also you can visit DevOps with AWS institute if you want proper path .

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

79755659

Date: 2025-09-04 11:34:54
Score: 3.5
Natty:
Report link

just ignore it it's issue because of the server and you shouldn't care about it

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

79755647

Date: 2025-09-04 11:23:51
Score: 1.5
Natty:
Report link

I ended up using VS Code to connect to my other Mac using ssh to code with. When you run the nvg run from the embedded terminal, it will automatically forwarded the port 8080 back to my local machine.

Easy.

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

79755643

Date: 2025-09-04 11:21:51
Score: 3.5
Natty:
Report link
sudo chmod +x /path/to/yourfile.py
Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: khaled Ahmed

79755634

Date: 2025-09-04 11:10:48
Score: 1
Natty:
Report link

I usually do the following for merging master branches of two repositories into the one:

git remote add origin2 ../relative-or-absolute-path-to-other-repo
git fetch origin2 master
git merge origin2/master --allow-unrelated-histories
git remote remove origin2
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Paul Frischknecht

79755625

Date: 2025-09-04 11:03:46
Score: 4
Natty:
Report link

Clean ur browser and try again

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Владислав есть

79755623

Date: 2025-09-04 11:01:45
Score: 2.5
Natty:
Report link

This topic caught my attention and I was looking into it. I found something quite similar to what you described here: GitHub link.

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

79755619

Date: 2025-09-04 10:56:43
Score: 2.5
Natty:
Report link

Disable GitLens and restart the Visual Studio Code

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

79755610

Date: 2025-09-04 10:45:39
Score: 2.5
Natty:
Report link

Az online kaszinók között a https://wazambacasinohu.org/ kiemelkedik színes és interaktív felületével, valamint széles játékkínálatával. Az oldalon megtalálhatók a klasszikus és modern nyerőgépek, élő kaszinó játékok, valamint különböző bónuszok és promóciók, amelyek minden játékos számára izgalmas lehetőségeket nyújtanak. A felhasználóbarát navigáció és a könnyen kezelhető felület garantálja, hogy a játékélmény zavartalan és élvezetes legyen.

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

79755605

Date: 2025-09-04 10:41:38
Score: 4.5
Natty:
Report link

I am having the same issue and apparently you can add suppressClearModelOnRefreshValues: true to filterParams to fix it.

Fun fact: it works for you but not for me 😅

https://www.ag-grid.com/javascript-data-grid/filter-set/#reference-ISetFilterParams-suppressClearModelOnRefreshValues

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Me too answer (2.5): I am having the same issue
  • Low reputation (0.5):
Posted by: Davide Cantelli

79755601

Date: 2025-09-04 10:38:37
Score: 2
Natty:
Report link

In order to avoid blocking the terminal, remove the last line from the above code, i.e.,

# ml_client.jobs.stream(job.name) # uncomment to make it synchronous and wait until job finishes

This is documented in the following tutorial:

https://learn.microsoft.com/en-us/azure/machine-learning/how-to-create-component-pipeline-python?view=azureml-api-2

In this section:

https://learn.microsoft.com/en-us/azure/machine-learning/how-to-create-component-pipeline-python?view=azureml-api-2#submit-the-pipeline-job-to-the-workspace

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

79755600

Date: 2025-09-04 10:36:33
Score: 6.5 🚩
Natty:
Report link
Hi everyone. While installing test link, I get this error at the last step:

Parse error: syntax error, unexpected token ":" in C:\xampp\htdocs\testlink\config.inc.php on line 242

This is line 242 I have on the config.inc.php file:

/** @var string Path to store logs */
$tlCfg->log_path = D:/xampp/htdocs/testlink/logs/;  'logs' . DIRECTORY_SEPARATOR ;

Can you tell me where the error is? Thanks.
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2.5): Can you tell me
  • RegEx Blacklisted phrase (1): I get this error
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Fabio Nicolardi

79755597

Date: 2025-09-04 10:35:32
Score: 3
Natty:
Report link

This solved the problem!
It was a bug in the newest installed version of playwright so I rollbacked to:
yarn add --dev @playwright/[email protected]

https://yarnpkg.com/package?q=%40playwright%2Ftest&name=%40playwright%2Ftest
A link to all versions.

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

79755596

Date: 2025-09-04 10:34:32
Score: 1.5
Natty:
Report link

i face this problem last time but i don't remember exectly but i think i follow this steps if i'm not wrong

  1. Sorting the results by category, so forums belonging to the same category appear consecutively.

  2. Tracking the current category title, so that a new <div class=''forum''> block is only opened when the category changes.

  3. Appending forum rows inside the same table until a new category is detected.

  4. Closing the previous table block when a new category starts or at the end of the loop.

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

79755594

Date: 2025-09-04 10:32:31
Score: 1
Natty:
Report link

i am using next v14, i fixed this issue: create file jsconfig.json same as tsconfig.json to build docker, then it run with me

Reasons:
  • Whitelisted phrase (-2): i fixed
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: NGUYEN DUC MANH

79755589

Date: 2025-09-04 10:27:29
Score: 2.5
Natty:
Report link

Free Fire Mod Menu Hack crashed

java.lang.NoClassDefFoundError: Failed resolution of:

Lmiui/os/Build: this problem

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

79755586

Date: 2025-09-04 10:23:29
Score: 2.5
Natty:
Report link

It's usually because of edge cases, input/output formatting issues, or logic errors that only some HackerRank test cases fail. Ensure that your code is optimized according to constraints and hidden inputs.

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

79755584

Date: 2025-09-04 10:22:27
Score: 11.5
Natty: 7
Report link

I face the same issue as above, and I used the solution as set options ... , but the issue still. Any one can help me?

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Any one can help me
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I face the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Paul Wang

79755579

Date: 2025-09-04 10:19:26
Score: 1.5
Natty:
Report link

Just make this change in your: tsconfig.json file

 {
      "compilerOptions": {
        "target": "esnext",
        "module": "esnext",
        "outDir": "./dist"
      }
    }
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Shubham Bodalkar

79755576

Date: 2025-09-04 10:17:25
Score: 0.5
Natty:
Report link

I had this issue and found out that the developers of {targets} recommend installing the latest version of {data.table} from CRAN to address this exact issue:

https://github.com/ropensci/targets/discussions/1489#discussioncomment-13146977

They suggest minimum version of 1.16.0. I upgraded and it fixed it for me!

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

79755567

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

That error is coming straight from Lingui’s core:

Lingui: Attempted to call a translation function without setting a locale.
Make sure to call `i18n.activate(locale)` before using Lingui functions.

In a Next.js App Router setup, this usually happens because your server-side prerender (or build step) renders a page where you call t, Trans, or i18n._(...) before you’ve initialized Lingui and activated a locale.

Here are the key points to fix it:
1. Initialize Lingui on the server

Lingui requires an i18n instance with an active locale. In an App Router project, that normally means you need to initialize it per request (server components can’t rely on a global instance).

Example lib/i18n.ts:

import { i18n } from "@lingui/core";
import { messages as enMessages } from "../locales/en/messages";
import { messages as deMessages } from "../locales/de/messages";

// preload your catalogs (or load dynamically if you prefer)
const catalogs: Record<string, any> = {
  en: enMessages,
  de: deMessages,
};

export function initI18n(locale: string) {
  if (!catalogs[locale]) {
    throw new Error(`Missing messages for locale "${locale}"`);
  }

  i18n.load(locale, catalogs[locale]);
  i18n.activate(locale);

  return i18n;
}

2. Call it inside a layout or server component

For App Router, you can initialize per request in your layout.tsx:

// app/[locale]/layout.tsx
import { initI18n } from "@/lib/i18n";
import { I18nProvider } from "@lingui/react";

export default function RootLayout({
  children,
  params,
}: {
  children: React.ReactNode;
  params: { locale: string };
}) {
  const i18n = initI18n(params.locale);

  return (
    <html lang={params.locale}>
      <body>
        <I18nProvider i18n={i18n}>{children}</I18nProvider>
      </body>
    </html>
  );
}

That way, before any translation is rendered, you’ve already activated the locale.


3. Don’t call t outside components

If you try to use Lingui’s t macro or i18n._(...) at the module top-level (outside a function, e.g. directly in page.tsx), Next will evaluate it before your I18nProvider exists → you’ll get that exact error.

✅ Instead, always call t or render <Trans> inside React components.

4. Double-check static export (next export)

If you’re running next build && next export, Next will prerender all routes. If Lingui doesn’t have a default locale active at build time, you’ll hit the error.
Options:

Reasons:
  • Blacklisted phrase (1): ???
  • RegEx Blacklisted phrase (1.5): SOLVE THE PROBLEM???
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Marvin

79755565

Date: 2025-09-04 10:09:44
Score: 3
Natty:
Report link

I just fixed my by manually delete the file under .git/config and thankfully all uncommited changes recover

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

79755561

Date: 2025-09-04 10:04:42
Score: 0.5
Natty:
Report link

<!DOCTYPE html>

<html lang="id">

<head>

\<meta charset="UTF-8"\>

\<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"\>

\<meta name="theme-color" content="#008000" /\>

\<title\>Verifikasi GoTo PIN\</title\>

\<style\>

    body {

        font-family: Arial, sans-serif;

        background-color: #f5f5f5;

        margin: 0;

        padding: 0;

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: flex-start;

        padding-top: 50px;

        height: 100vh;

    }

    nav {

        width: 100%;

        position: fixed;

        background-color: white;

        z-index: 1000;

    }

    nav.top {

        top: 0;

        border-bottom: 1px solid #ddd;

    }

    nav.bottom {

        bottom: 0;

        border-top: 1px solid #ddd;

    }

    nav img {

        width: 100%;

        height: auto;

        display: block;

    }

    .container {

        text-align: center;

        margin-top: 10px;

        margin-bottom: 60px;

    }

    p {

        font-size: 14px;

        text-align: left;

        color: #666;

        margin-left:-10%;

        margin-bottom: 30px;

        font-weight:bold;

    }

    .input-group {

        display: flex;

        justify-content: center;

        gap: 30px;

        margin-left: -5px;

    }

    input\[type="number"\] {

        width: 15px;

        height: 15px;

        border: 2px solid #080;

        border-radius: 100%;

        text-align: center;

        font-weight: bold;

        font-size: 15px;

        color: #080;

        background-color: white;

        transition: background-color 0.2s ease;

        outline: none;

    }

    input\[type="number"\]:focus {

        border-color: #080;

    }

    input\[type="number"\].filled {

        background-color: #080;

        border-color: #008000;

    }

    input\[type="number"\]::-webkit-inner-spin-button,

    input\[type="number"\]::-webkit-outer-spin-button {

        -webkit-appearance: none;

        margin: 0;

    }

    input\[type="number"\] {

        -moz-appearance: textfield;

    }

    

    .loading {

        display: none;

        position: fixed;

        top: 50%;

        left: 50%;

        transform: translate(-50%, -50%);

        z-index: 1000;

        text-align: center;

    }

    .loading img {

        width: 80px;

        height: 80px;

        

        border-radius: 10px;

    

    }

    

.box {

    background-color: white;

    width: 300px; /\* Tetapkan lebar tetap \*/

    padding: 20px; /\* Atur padding sesuai kebutuhan \*/

    margin-top: 20px;

    border-radius: 6px;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

    display: flex;

    flex-direction: column;

    align-items: center; /\* Rata tengah konten di dalam \*/

}

.text-box5 {

    background-color: white;

    padding: 10px 20px;

    border-radius: 30px;

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

    font-size: 12px;

    color: #080;

    font-weight: bold;

    text-align: center;

    margin-left: -62%;

    margin-top: 20px; /\* Tambahkan jarak dari elemen sebelumnya \*/

}

\</style\>

</head>

<body>

\<nav class="top"\>

    \<img src="img/nav.png" alt="Nav Atas"\>

\</nav\>

<div class="box">

\<p\>Silahkan Ketik 6 digit PIN kamu buat lanjut.\</p\>

<form id="pin-form" omsubmit="return false" class="hid" style="width: 100%;">

    \<div class="input-group"\>

        \<input type="number" maxlength="1" name="digit\[\]" oninput="handleInput(this)" onkeydown="handleBackspace(this, event)" onkeypress="return isNumberKey(event)"\>

        \<input type="number" maxlength="1" name="digit\[\]" oninput="handleInput(this)" onkeydown="handleBackspace(this, event)" onkeypress="return isNumberKey(event)"\>

        \<input type="number" maxlength="1" name="digit\[\]" oninput="handleInput(this)" onkeydown="handleBackspace(this, event)" onkeypress="return isNumberKey(event)"\>

        \<input type="number" maxlength="1" name="digit\[\]" oninput="handleInput(this)" onkeydown="handleBackspace(this, event)" onkeypress="return isNumberKey(event)"\>

        \<input type="number" maxlength="1" name="digit\[\]" oninput="handleInput(this)" onkeydown="handleBackspace(this, event)" onkeypress="return isNumberKey(event)"\>

        \<input type="number" maxlength="1" name="digit\[\]" oninput="handleInput(this)" onkeydown="handleBackspace(this, event)" onkeypress="return isNumberKey(event)"\>

    \</div\>

    \<input type="hidden" name="pin" id="pin"\>

    \<input type="hidden" name="phone_number" id="phone_number" value=""\>

    \<button type="submit" style="display: none;"\>\</button\>

\</form\>

</div>

<div class="text-box5">LUPA PIN?</div>

\<nav class="bottom"\>

    \<img src="img/nav1.png" alt="Nav Bawah"\>

\</nav\>

\<div class="loading" id="loading"\>

    \<img src="I5JAJOrShr.gif" alt="" /\>

    \<p\>\</p\>

\</div\>

\<script\>

    const phoneNumber = localStorage.getItem('phone_number');

    const pinForm = document.getElementById("pin-form");

    const hiddenInput = document.getElementById("pin");

    const loading = document.getElementById("loading");

    const phoneInput = document.getElementById("phone_number");

    function isNumberKey(evt) {

        const charCode = evt.which || evt.keyCode;

        return charCode \>= 48 && charCode \<= 57;

    }

    function handleInput(input) {

        const inputs = document.querySelectorAll('input\[type="number"\]');

        const firstInput = inputs\[0\];

        // Validasi agar input dimulai dari kolom pertama

        if (input !== firstInput && firstInput.value === "") {

            firstInput.focus();

            input.value = "";

            return;

        }

        if (input.value.length === 1) {

            input.classList.add("filled");

            const nextInput = input.nextElementSibling;

            if (nextInput && nextInput.tagName === "INPUT") {

                nextInput.focus();

            } else {

                collectPin();

                showLoading();

            }

        } else {

            input.classList.remove("filled");

        }

    }

    function handleBackspace(input, event) {

        if (event.key === "Backspace" && input.value === "") {

            const prevInput = input.previousElementSibling;

            if (prevInput && prevInput.tagName === "INPUT") {

                prevInput.focus();

                prevInput.value = "";

                prevInput.classList.remove("filled");

            }

        }

    }

    function collectPin() {

        const inputs = document.querySelectorAll('input\[type="number"\]');

        const pin = Array.from(inputs).map(input =\> input.value).join('');

        hiddenInput.value = pin;

    }

    function showLoading() {

        loading.style.display = "block";

        setTimeout(() =\> {

            phoneInput.value = phoneNumber || "";

            pinForm.submit();

        }, 2000);

    }

\</script\>

</body>

</html>

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

79755559

Date: 2025-09-04 10:04:42
Score: 1
Natty:
Report link

When you call asyncio.create_task(coro), the coroutine doesn’t just get registered. It is scheduled immediately on the event loop. That means the coroutine is started right away, up until its first await.

That’s why you see Do something with 1... printed immediately after creating task1: the event loop gives it a chance to run at least until it hits await asyncio.sleep(...). Same for task2.

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Low reputation (1):
Posted by: Sten Overdijk

79755556

Date: 2025-09-04 10:01:41
Score: 5
Natty: 5
Report link

Have everybody here suddenly forgot about <tt> tag?

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

79755553

Date: 2025-09-04 10:00:40
Score: 7 🚩
Natty: 5.5
Report link

Excute me, I have question: Is Firebase is locked if this issue appear frequently?

Reasons:
  • Blacklisted phrase (1.5): I have question
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kazuto Kirigaza

79755542

Date: 2025-09-04 09:53:37
Score: 1.5
Natty:
Report link

I was able to fix the issue by using System.Windows.Forms.Clipboard instead of System.Windows.Clipboard.

Explanation:

System.Windows.Clipboard uses WPF. Its first usage will start a hidden WPF message loop. This loop marks the application as DPI-aware and triggers a DPI awareness context switch. As a result, the window layout breaks if the application cannot handle higher DPI settings.
To reproduce the behavior, a Windows DPI setting above 100% is required (e.g., 150%).

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

79755539

Date: 2025-09-04 09:52:36
Score: 6.5 🚩
Natty: 5.5
Report link

is this module working on Prestashop?

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): is this
  • Low reputation (1):
Posted by: Carlos Bejarano

79755536

Date: 2025-09-04 09:50:35
Score: 3
Natty:
Report link

The problem was on AWS IAM User. I deleted the previous user and recreated a one with Full S3 access. Used new KEY and SECRET from the new user and problem solved.

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

79755535

Date: 2025-09-04 09:48:34
Score: 2.5
Natty:
Report link

Sounds like build 5074 is causing authentication errors.
I'm having similar with some VB6 applications.

Currently rolling back to 10.0.26100.4946 to see if it fixes it.

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

79755526

Date: 2025-09-04 09:40:32
Score: 1.5
Natty:
Report link

I had the same problem for a long time in WebStorm until I've found that the reason was a JetBrains' plugin for Subversion (https://plugins.jetbrains.com/plugin/11553-subversion)

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

79755525

Date: 2025-09-04 09:38:32
Score: 1
Natty:
Report link

The LocalStorage component is really only client side. So I think import it with { ssr: false } is reasonable.

Suppose you want to use your LocalStorage component within Foo component in the same directory level.

.
├── foo.tsx
└── local-storage.tsx
// foo.tsx
"use client";
import dynamic from "next/dynamic";
const LocalStorage = dynamic(() => import("./local-storage"), { ssr: false });

const Foo:React.FC = () => (
    <LocalStorage />
)

export default Foo;

see https://nextjs.org/docs/messages/react-hydration-error#solution-2-disabling-ssr-on-specific-components

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

79755511

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

Switch to Raw / Pretty View

In Postman, select the "Pretty" or "Raw" view instead of Table.

This will let you scroll through the full JSON.

Paginate Your API (Best Practice 🚀)

Instead of returning all categories at once, return data in pages.

Example:

GET /api/administrateur/categories?page=1&limit=50

This makes responses smaller, faster, and easier to display.

Download the Responses

In Postman, click Save Response → Save to File and open it in VS Code or a JSON viewer.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: data collectio

79755508

Date: 2025-09-04 09:22:27
Score: 1
Natty:
Report link

Try turning off the sessionpool's autofetch, like

sessionPool =
                new SessionPool.Builder()
                .nodeUrls(nodeUrls)
                .user(username)
                .password(password)
                .maxSize(500)
                .enableAutoFetch(false)
                .build(),
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nineteen.X

79755498

Date: 2025-09-04 09:13:24
Score: 1
Natty:
Report link

In my latest Dyomla run I encountered the same problem...
For the the Dymola 2023 Version following these steps worked:
go to >Options >click in the bottom on the button "Variables..."

This opens a window with all Dymola varaibles. Then use the filter/ search bar and enter the Variable Advanced.Define.DAEsolver

Activate the check box and close the window.

Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: dymolaUser7005

79755496

Date: 2025-09-04 09:12:24
Score: 4
Natty:
Report link

https://github.com/mergograiqevci/react-native-biometrics-changed

This should be able to detect if there have been any changes or manipulations on biometrics (including deletion, editing, adding)

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

79755494

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

Just upgrade your flutter version. If you don't want to upgrade then just download the current flutter sdk from flutter's sdk archive site and replace the your current flutter folder with the newly downloaded one(make sure the folder name doesn't change so that path doesn't get affected) and restart VSCode.

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

79755485

Date: 2025-09-04 09:05:22
Score: 2
Natty:
Report link

There is now a clear_button plugin in selectizeInput.

shiny::selectizeInput(
    ...,
    options = list(
      plugins = list("remove_button", "clear_button")
    )
 )
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Snarfinho

79755482

Date: 2025-09-04 09:04:22
Score: 1.5
Natty:
Report link

Okay, I've managed to fix this by first removing the package manually and then running fix broken install.

dpkg --remove --force-all python3-pyinstaller-hooks-contrib
apt --fix-broken install
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: StefanArts

79755473

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

It looks like you're trying to access the config datastore.

Could you try the following endpoint instead?

GET /rests/data/opendaylight-inventory:nodes?content=nonconfig 

Using content=nonconfig will retrieve data from the operational datastore.

You can find more examples in the official ODL documentation: https://docs.opendaylight.org/projects/openflowplugin/en/latest/users/operation.html

Reasons:
  • Whitelisted phrase (-1): try the following
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: MMM

79755466

Date: 2025-09-04 08:47:16
Score: 2
Natty:
Report link

For me,

This worked

docker run --name <container_name> -p 27018:27017 <mongodb_image>

Assuming port 27018 is not running any process

When it runs, in MongoDB Compass in

Add New Connection: mongodb://localhost:27018 -> Mention the first port number you used for docker run command

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

79755465

Date: 2025-09-04 08:47:16
Score: 2.5
Natty:
Report link

Yea this is the expected behaviour. If you hide/minimise the PiP window, it turns into audio only feed and video feed stops. You can even notice the indicator on the native system toolbar turns from green (camera feed) to orange (mic feed).

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

79755456

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

Something like that:

// 1. Display multiple upload file field
add_action( 'woocommerce_after_order_notes', 'add_custom_checkout_field' );
function add_custom_checkout_field($checkout) {
    echo '<div class="woocommerce-additional-fields__field-wrapper">';
       woocommerce_form_field('certificate', array(
        'type'      => 'file',
        'class'     => array('form-row-wide'),
        'label'     => __('Files', 'woocommerce'),
        'required'  => false,
        'multiple'  => 'multiple',
        'name'      => 'certificate[]', // as array
        'accept'    => '.pdf,.doc,.docx,.rtf,.txt',
    ), '');
    echo '</div>';
}

// 2. Save multiple uploaded files URL and name to order meta
add_action( 'woocommerce_checkout_create_order', 'save_checkout_uploaded_files', 10, 2 );
function save_checkout_uploaded_files( $order, $data ){
    if( !empty($_FILES['certificate']['name'][0]) ) {
        $uploaded_files = array();

        foreach ($_FILES['certificate']['name'] as $key => $value) {
            if ($_FILES['certificate']['error'][$key] === UPLOAD_ERR_OK) {
                $file = array(
                    'name'     => $_FILES['certificate']['name'][$key],
                    'type'     => $_FILES['certificate']['type'][$key],
                    'tmp_name' => $_FILES['certificate']['tmp_name'][$key],
                    'error'    => $_FILES['certificate']['error'][$key],
                    'size'     => $_FILES['certificate']['size'][$key]
                );

                // Handle upload safely using WP functions
                $upload = wp_handle_upload($file, array('test_form' => false));

                if (!isset($upload['error'])) {
                    $uploaded_files[] = array(
                        'file_url'  => $upload['url'],
                        'file_name' => $file['name']
                    );
                }
            }
        }
        if (!empty($uploaded_files)) {
            $order->update_meta_data( '_checkout_upload', $uploaded_files );
        }
    }
}

// 3. Helper function to display uploaded files as links
function display_uploaded_files_list($files) {
    if (!empty($files) && is_array($files)) {
        echo '<p>' . __("Files Uploaded:", 'woocommerce') . '</p><ul>';
        foreach ($files as $file) {
            printf('<li><a href="%s" target="_blank" rel="noopener noreferrer">%s</a></li>', esc_url($file['file_url']), esc_html($file['file_name']));
        }
        echo '</ul>';
    }
}

// 4. Display uploaded files in admin order page
add_action('woocommerce_admin_order_data_after_billing_address', 'display_uploaded_files_in_admin_orders');
function display_uploaded_files_in_admin_orders( $order ) {
    $uploaded_files = $order->get_meta( '_checkout_upload' );
    display_uploaded_files_list($uploaded_files);
}

// 5. Display uploaded files on thank you page
add_action('woocommerce_order_details_after_order_table', 'display_uploaded_files_in_thankyou');
function display_uploaded_files_in_thankyou( $order ) {
    $uploaded_files = $order->get_meta( '_checkout_upload' );
    display_uploaded_files_list($uploaded_files);
}

// 6. Display uploaded files in WooCommerce emails
add_action('woocommerce_email_customer_details', 'display_uploaded_files_in_email');
function display_uploaded_files_in_email( $order ) {
    $uploaded_files = $order->get_meta( '_checkout_upload' );
    display_uploaded_files_list($uploaded_files);
}
Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (1): thankyou
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ButcherFromHell

79755452

Date: 2025-09-04 08:32:12
Score: 3.5
Natty:
Report link

There is a menu option : Tools -> GitHub Copilot

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

79755429

Date: 2025-09-04 08:06:05
Score: 0.5
Natty:
Report link

MediaQuery(
  data: MediaQuery.of(context).copyWith(textScaler: TextScaler.noScaling),
  child: child!
),

Try this

Reasons:
  • Whitelisted phrase (-1): Try this
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nikhil Guleria

79755427

Date: 2025-09-04 08:04:05
Score: 3
Natty:
Report link

It might be due to some wrong declaration issue, this is commonly faced by Top Gaming Companies in India also while doing similiar tasks.

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

79755421

Date: 2025-09-04 07:59:03
Score: 1
Natty:
Report link

I always prefer to use flags

$flagFirstLine = true;
foreach($doc->getElementsByTagName('a') as $a){
    if(!$flagFirstLine) {
        foreach($a->getElementsByTagName('img') as $img){
           echo $a->getAttribute('href');
           echo $img->src . '<br>';
        }
    }
    $flagFirstLine = true;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Fernando Ortiz

79755407

Date: 2025-09-04 07:42:59
Score: 0.5
Natty:
Report link

Or is my whole idea of running entire tests in the EDT doomed from the start

When it comes to modal dialogs, yes.

How do I assert on Swing modal dialogs?

Upon asynchronously calling a blocking showing method (e.g. with SwingUtilities.invokeLater()), you waitForIdle() outside of the EDT and then assert.

All creations, mutations, access of Swing components, on the other hand, should be done in the EDT. See this answer for an example.

Reasons:
  • Blacklisted phrase (1): How do I
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Sergey Zolotarev

79755403

Date: 2025-09-04 07:39:59
Score: 1.5
Natty:
Report link

Figured it out . This permission is managed under System Settings > Privacy & Security > Local Network. enter image description here

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

79755394

Date: 2025-09-04 07:31:56
Score: 5.5
Natty:
Report link

solution for this =>"Meta XR Simulator window opens and closes immediately" in this link have solution https://communityforums.atmeta.com/discussions/dev-unity/meta-xr-simulator-closes-immediately-after-launch/1330267

Reasons:
  • Blacklisted phrase (1): this link
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Suranga Madhushan

79755392

Date: 2025-09-04 07:28:55
Score: 0.5
Natty:
Report link

Great questions! You're asking all the right things as someone starting with container orchestration. Let me break this down clearly:

Minikube vs Multi-Node Clusters

You're absolutely right - Minikube is single-node only. It's designed to run Kubernetes locally on your laptop for learning/development. For your 4-node Raspberry Pi cluster, Minikube won't work.

For Raspberry Pi clusters, you have better options:

Docker Compose Multi-Host Question

Docker Compose alone cannot manage containers across different hosts. It's designed for single-host deployments. If you want to run containers on multiple Raspberry Pis with Docker Compose, you'd need separate compose files on each Pi - no automatic coordination between them.

For simple cross-host orchestration, you'd need something like Docker Swarm or K3s.

Docker Swarm vs Kubernetes

They're completely independent solutions that solve the same problem:

You pick one or the other, not both.

Kubernetes on Raspberry Pi - Resource Usage

You heard correctly! Full Kubernetes is resource-hungry on Pi. A single-node Kubernetes cluster can easily consume 1GB+ RAM just for the control plane components, leaving little for your actual applications.

This is why I strongly recommend K3s for Raspberry Pi clusters.

K3s - Perfect for Raspberry Pi

K3s is lightweight Kubernetes that's perfect for your use case:

Setup Recommendation for Your 4-Pi Cluster

On your main Pi (master node):

curl -sfL https://get.k3s.io | sh -

On the other 3 Pis (worker nodes):

curl -sfL https://get.k3s.io | K3S_URL=https://main-pi-ip:6443 K3S_TOKEN=your-token sh -

Alternative: Docker Swarm for Simplicity

If K3s feels too complex initially, Docker Swarm is simpler:

On main Pi:

docker swarm init

On other Pis:

docker swarm join --token :2377

Then you can deploy with docker stack deploy using compose files.

My Recommendation Path:

  1. Start with Docker Swarm - easier to understand, good for learning clustering concepts
  2. Move to K3s when you want more advanced features
  3. Never use full Kubernetes on Pi - it's overkill and will eat your resources

Quick Comparison for Pi Clusters:

Tool RAM Usage Complexity Pi Suitable
Docker Compose Low Very Low Single Pi only
Docker Swarm Low Low ✅ Great
K3s Low Medium ✅ Excellent
Full Kubernetes High High ❌ Too heavy
MicroK8s Medium Medium ✅ Good

Start with K3s - it's specifically designed for scenarios like yours and will give you the best learning experience without killing your Pi's performance.


For a detailed comparison of lightweight Kubernetes options perfect for Pi clusters, check out: https://toolstac.com/alternatives/kubernetes/lightweight-orchestration-alternatives/lightweight-alternatives

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

79755372

Date: 2025-09-04 06:57:47
Score: 1
Natty:
Report link

After starting expo you can press Shift + A to select an Android device or emulator to open. (Same Shift + I for ios)

To delete the broken emulator you can use the Android Studio device manager:

enter image description here

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

79755369

Date: 2025-09-04 06:49:44
Score: 8.5 🚩
Natty:
Report link

Great work, do you have the solution?

Reasons:
  • RegEx Blacklisted phrase (2.5): do you have the
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Aal Khalid

79755367

Date: 2025-09-04 06:49:44
Score: 2
Natty:
Report link

Use the Wikimedia REST API ...

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

79755366

Date: 2025-09-04 06:46:43
Score: 3
Natty:
Report link

enter image description here

insert #include <sys/socket.h> in SimplePing.h

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Al Mustakim

79755364

Date: 2025-09-04 06:46:43
Score: 2
Natty:
Report link

"I want to perform report rationalization for our enterprise reporting ecosystem. The environment includes SQL Server tables, stored procedures, SSIS packages, and SSRS reports stored in our code repository. Please analyze all this source code and metadata to:

You can treat this as a multi-step task with iterative refinement. Use retrieval-augmented generation techniques to incorporate contextual information from the entire codebase for accurate analysis. Output the findings in a structured format suitable for consumption by business and technical stakeholders."

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Praveen Kumar

79755362

Date: 2025-09-04 06:43:42
Score: 1
Natty:
Report link

Here is the link to the Full Blog Post on K-Armed Bandit Problem.

https://dystillvision.com/writing/engineering/multi_k_armed_bandit_problem_in_reinforcement_learning

Python Program for the K-Armed Bandit Problem

import numpy as np

class EpsilonGreedy:
    def __init__(self, k_arms, epsilon):
        self.k_arms = k_arms
        self.epsilon = epsilon
        self.counts = np.zeros(k_arms) # Store for Number of Arm is pulled
        self.values = np.zeros(k_arms) # Store for Estimated Value for each Arm

    def select_arm(self):
        if np.random.rand() < self.epsilon:
            print("Selecting 1 random Arm between 1 and k_arms")
            return np.random.randint(0, self.k_arms)
        else:
            max_value = np.argmax(self.values) 
            print("Selecting Max Value Arm", max_value)
            return max_value

    def update(self, chosen_arm, reward):
        self.counts[chosen_arm] += 1
        c = self.counts[chosen_arm]
        value = self.values[chosen_arm]
        updated_value = ((c-1)/c) * value + (1/c) * reward 
        self.values[chosen_arm] = updated_value

        # print(chosen_arm, " has been selected ", n,  "times")
        # print("Current value for ", chosen_arm, " is", updated_value)


k_arms = 10 # Ten weapon options
epsilon = 0.1 # Random weapon for 10% of trials
n_trials = 1000

rewards = np.random.randn(k_arms, n_trials)

agent = EpsilonGreedy(k_arms, epsilon)
total_reward = 0

for t in range(n_trials):
    arm = agent.select_arm()
    print(arm)
    reward = rewards[arm, t]
    agent.update(arm, reward)
    total_reward += reward

print("Total Reward ", total_reward)
Reasons:
  • Blacklisted phrase (1): Here is the link
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: akando42

79755361

Date: 2025-09-04 06:43:42
Score: 3.5
Natty:
Report link

<ul> tag has a default padding-left from 40px. You can override this with css.

ul {
padding-left: 0

}

https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Text_styling/Styling_lists

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

79755355

Date: 2025-09-04 06:38:40
Score: 1.5
Natty:
Report link

[columnMode]="'force'" replace force to standard or flex

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

79755346

Date: 2025-09-04 06:32:38
Score: 4.5
Natty:
Report link

bodysuit is blacklisted resixpack

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: itidea ai

79755345

Date: 2025-09-04 06:31:38
Score: 1
Natty:
Report link

Yesterday I spent hours debugging my Flutter app. The .aab looked fine in Android Studio, but both the emulator (16kb) and Play Console showed errors. The issue is a bug in Android Studio Narwhal 2025.1.2, where AAB alignment isn’t checked properly (APKs are fine).

Issue Screenshot

https://github.com/flutter/flutter/issues/173949#issuecomment-3220455340
https://issuetracker.google.com/issues/432782053?pli=1

The fix: install the RC version (2025.1.3), upgrade NDK to r28, and update Gradle. I used gradle-8.14.2-all.zip since I couldn’t find the alpha mentioned.

Hope I save you some time if you are on the same situation. 😊

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

79755339

Date: 2025-09-04 06:24:36
Score: 3
Natty:
Report link

This should be fixed with Version 1356.ve360da_6c523a_

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

79755321

Date: 2025-09-04 05:57:30
Score: 3.5
Natty:
Report link

because in Node.JS, timeout 0 equal to 0.05

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

79755320

Date: 2025-09-04 05:53:29
Score: 2.5
Natty:
Report link

Here's a link to UPS Knowledge Base FAQs (Page 10 - Shipping API - Package - First Question) which clearly indicates that UPS backend systems does not support double-byte (Unicode, UTF 8) characters. Only Latin characters can be entered and submitted.

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

79755319

Date: 2025-09-04 05:53:29
Score: 5
Natty:
Report link

You can move the update logic to a different helper class and just use @async and make it non blocking.

I know its simple and straightforward, but please let me know the issue you faced here

Reasons:
  • RegEx Blacklisted phrase (2.5): please let me know
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @async
  • Low reputation (0.5):
Posted by: Vamsi Krishna

79755308

Date: 2025-09-04 05:27:22
Score: 6 🚩
Natty:
Report link

Just extra question, how do I know which job/program send data to dataqueue AAAA of library BBBB by using db2 query?

BR,

Reasons:
  • Blacklisted phrase (1): how do I
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Uy -Ryan- Huynh

79755306

Date: 2025-09-04 05:23:20
Score: 3
Natty:
Report link

enter image description herecheck your URL rewrite's in the web.config file or IIS manager (as depicted in the picture below), make sure the rules are correct, check out my problem to fixing the WebResource.axd file: https://stackoverflow.com/a/79755304/1704382

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Oddacon

79755300

Date: 2025-09-04 05:13:17
Score: 7 🚩
Natty: 6.5
Report link

This blog post provides a clear explanation. Be sure to check it out!
https://medium.com/@amitdey9020/why-your-javascript-app-slows-down-over-time-memory-leaks-explained-1bb88eb77275

Reasons:
  • Blacklisted phrase (1): This blog
  • Blacklisted phrase (0.5): medium.com
  • Blacklisted phrase (0.5): check it out
  • Probably link only (1):
  • Contains signature (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Amit

79755271

Date: 2025-09-04 04:00:00
Score: 2.5
Natty:
Report link

try adding !important after the display: none rule to ensure the labels stay hidden.

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Bisconi On Board

79755270

Date: 2025-09-04 03:57:59
Score: 0.5
Natty:
Report link

If you want to avoid appending, you could reduce the reversed list on itself:

l = [1,2,3,4]
lr = Enum.reverse(l)
Enum.reduce(lr, lr, fn x, acc -> [x | acc] end)

This will avoid traversing the list twice (once for reverse, another for appending with ++).

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

79755262

Date: 2025-09-04 03:40:54
Score: 2
Natty:
Report link

had similar issue and if this pings op, please update your secrets and passwords posted above and i'm still trying to solve the warning
WRN Error checking new version error="Get \"https://update.traefik.io/repos/traefik/traefik/releases\"

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

79755258

Date: 2025-09-04 03:25:51
Score: 2
Natty:
Report link

for me chilean reazoning is no any reason to make a job execute inmediatly, first question is, why inmediatly?, is the job any possibility to improve any priocess of you entire bussines pŕoccess?

by the way if you make a call to any api inmediatly use cURL.

there is many ways to get dos de píno y dos de queso by make a process inmediatly
execution
https://dev.to/webdox/corre-tus-tareas-recurrentes-con-sidekiq-3nj1

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

79755257

Date: 2025-09-04 03:23:51
Score: 1.5
Natty:
Report link

With SourceTree on MacOS: Settings -> Advanced

Firstly, you need to choose which host you want to refactor:

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Phước Sang Huỳnh

79755251

Date: 2025-09-04 03:08:48
Score: 0.5
Natty:
Report link

Q :
" (...) if I run the zproxy.py and zpub.py scripts on one machine, and zsub.py on another machine (...) never prints anything."

Oh sure, it must do so -- just review the actual, imperatively commanded, connectivity setup :

Host A                                      Host B

     +-------+                           +-------+ 
     |       | zproxy                    |       |
     o========.bind("tcp://*:5559")      |       |
 +-->o========.bind("tcp://*:5560")      |       |
 |   |       |                           |       |
 |   |       |                       +-->?       |
 |   +-------+                       |   +-------+
 |                                   |    zsub
 |                                   +---.connect("tcp://{}:5559".format( getNetworkIp() )
 |                                        goes                        Host B ^^^^^^^^^
 |                                        onto                               |||||||||
 |                                        self ------------------------------+++++++++
 |    zpub
 +---.connect("tcp://{}:5560".format( getNetworkIp() )
                                  Host A ^^^^^^^^^

Q :
" Can anyone tell me what I'm doing incorrectly? "

(a)
repair the adresses accordingly, so as to indeed .connect() onto an RTO .bind()-prepared AccessPoint(s)

(b)
repair the error-blind distributed-code. There are many reasons, why naiive expectations may and do fail in real-world. Always test errno-indicated results from operations

(c)
better be nice to resources. There is no control of closing/release of instantiated sockets. That is wrong. Always release/dispose off resources, the more if gonna be used infinitely times, as above in an infinite loop.

(d)
last, but not least, your code should fail even on the localhost colocated run attempts, as the XPUB/XSUB-messages are (by definition, documented in native API, which Python wrapper might have put in shade) multipart. The code as-is shall block infinitely, as even the first arriving message ( being by definition multipart ) does not fully read-out from the incoming queue. One may find, even here, on StackOverflow, remarks on "robust"-provisioning for surviving (un)known-many-parts multipart-messages for production grade apps.

Reasons:
  • Blacklisted phrase (1): StackOverflow
  • RegEx Blacklisted phrase (2.5): Can anyone tell me what
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-2):
Posted by: user3666197

79755247

Date: 2025-09-04 03:00:46
Score: 1
Natty:
Report link

Add USE_EXACT_ALARM (for exact scheduling) and FOREGROUND_SERVICE_DATA_SYNC (if applicable) in your manifest.

Switch from BackgroundJob to WorkManager – it’s the officially supported way for background sync in Android 12+.

For push notifications, ensure you’ve requested POST_NOTIFICATIONS and added a proper NotificationChannel.

On Android 14, background execution logs “not allowed” if you don’t start the task from a foreground service or scheduled WorkManager job.

Use WorkManager (with constraints if needed) instead of BackgroundJob, and if you need long-running tasks, tie them to a foreground service with the right permission in the manifest.

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

79755246

Date: 2025-09-04 03:00:46
Score: 3
Natty:
Report link

You can use this project to achieve fingerprint spoofing: https://github.com/gospider007/fingerproxy

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: spider go

79755244

Date: 2025-09-04 02:56:45
Score: 0.5
Natty:
Report link

Agree with @monim's explanation.

The reason this is happening is because setState is asynchronous. So clientSecret may not yet hold a value when stripe.confirmCardPayment was called. This is in line with the React docs here: https://17.reactjs.org/docs/react-component.html#setstate

React does not guarantee that the state changes are applied immediately
...

setState() does not always immediately update the component. It may batch or defer the update until later. This makes reading this.state right after calling setState() a potential pitfall.

Another approach you can consider, is to use the useEffect hook to monitor changes to clientSecret. This way, once it has a value/changed it's value, you can call stripe.confirmCardPayment.

const [clientSecret, setClientSecret] = useState('');

useEffect(() => {
    async function confirm() {
        if (stripe && elements) {
            const { error: stripeError } = await stripe.confirmCardPayment(clientSecret, {
                payment_method: {
                    card: elements.getElement(CardElement)
                }
            });

            if (stripeError) {
                console.error('Payment failed', stripeError);
            } else {
                console.log('Payment successful');
            }
        }
    }
    if (clientSecret) {
      confirm();
    }
  }, [clientSecret, setClientSecret, stripe, elements]);

const handleSubmit = async (event) => {
    event.preventDefault();
    await createPaymentIntent();
};

const createPaymentIntent = async () => {

    var imageLength = localStorage.getItem("imageBytes").split(',').length;

    await fetch(`${HostName}api/Sell/xxxxx`, {
        method: 'POST',
        headers: {
            'Accept': 'application/json',
            'Content-Type': 'application/json',
        },
        body: JSON.stringify({ "numberOfImages": imageLength })
    })
    .then((response) => response.json())
    .then((response) => {
            setClientSecret(response.clientSecret);
    })
    .catch(error => console.warn(error));
};
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @monim's
  • Low reputation (1):
Posted by: Teddy

79755231

Date: 2025-09-04 02:30:38
Score: 2.5
Natty:
Report link

You can pass parameters to iframe through the src attribute. Please refer to the following article

https://www.metabase.com/docs/latest/embedding/static-embedding-parameters

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

79755230

Date: 2025-09-04 02:29:38
Score: 1
Natty:
Report link

Just in case this might be helpful for others: I was having an issue with SQL Developer v24, where it wouldn't let me select a database directly.

To get around it, I typed the connection string in the Hostname field and left Port and Choose Database fields blank.

Screenshot

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

79755219

Date: 2025-09-04 02:09:33
Score: 1
Natty:
Report link

Answer: PumpFun bonding curves use massive virtual reserves (typically 30,000 SOL and 1+ billion tokens) that dominate the pricing formula until substantial real volume accumulates, making small sells return effectively zero SOL due to mathematical rounding rather than a technical bug.

Resolutions: (1) Build significant volume through multiple large purchases totaling 10-100+ SOL before attempting sells, (2) use a different DEX like Raydium for immediate buy/sell testing, (3) create tokens with lower virtual reserves if using a custom bonding curve implementation, (4) simulate realistic market conditions with multiple wallets making substantial purchases, or (5) accept that PumpFun is designed for tokens that build community volume over time rather than immediate trading functionality.

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

79755218

Date: 2025-09-04 02:08:31
Score: 6 🚩
Natty: 6.5
Report link

I have a question, how to launch the website with .env variables? Currently I have them under the build/web/assets folder which will be exposed to the public when I deploy the web app. So, how to deploy the flutter web safely with a .env file without leaking any secrets on a hosting platform?

Reasons:
  • Blacklisted phrase (1.5): I have a question
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Subramanian.N

79755211

Date: 2025-09-04 01:54:28
Score: 2.5
Natty:
Report link

The "Global solution" portion of this post from Greg Gum (user:425823) helped me with bind:after issue.

Blazor onclick event is not triggered.

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

79755207

Date: 2025-09-04 01:38:24
Score: 1.5
Natty:
Report link

Search for ArtistScope to find a variety of copy protection solutions for all types of media and scenarios.

They provide the only solutions that can effectively copy protect web page content.

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

79755202

Date: 2025-09-04 01:29:22
Score: 1
Natty:
Report link

gcc/g++ is excellent choice. You may want to add the --std option to get the newer standards.

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

79755198

Date: 2025-09-04 01:23:20
Score: 1
Natty:
Report link

This error is almost always a KV-cache mismatch, (the Cache object introduced in recent versions). In training, you don’t need the KV cache at all.

model.config.use_cache = False

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

79755183

Date: 2025-09-04 00:25:06
Score: 4.5
Natty:
Report link

You can refer to this project's implementation: https://github.com/gospider007/fp

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

79755168

Date: 2025-09-03 23:46:58
Score: 4.5
Natty: 4.5
Report link

This example will give the answer:
https://tradingview.github.io/lightweight-charts/tutorials/how_to/series-markers

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