79658404

Date: 2025-06-09 06:05:26
Score: 4.5
Natty:
Report link

Try https://github.com/square/certstrap, which is another tool to bootstrap certificate.

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

79658395

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

Try turning off your antivirus. For me kaspersky was problem. When I paused kaspersky's protection for 5 minutes, then suddenly suspense started working. Maybe it was injecting some kind of scripts which prevented working of suspense. I literally spent 2-3 days looking for solution this specific problem of suspense not working and it turned out to be antivirus problem

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

79658389

Date: 2025-06-09 05:48:21
Score: 2
Natty:
Report link

It's 2025, and this is still a BUG. I'm not using replication, but I am using an INSERT trigger on the table that generates other new records. My form has an ADODB recordset from SQL Server. A new record is added in the form, and a random record is then displayed that does not even fit the query that the ADODB recordset is based on. Go figure! Work around time.

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

79658385

Date: 2025-06-09 05:43:19
Score: 1.5
Natty:
Report link

If you have a defined output in your prisma schema, make sure you import from that output rather than from @prisma any time you are importing PrismaClient

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

79658377

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

for future reference

location ~ ^/whatever/(.*)$ {
    try_files $uri $uri/ /index.html;
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: criss

79658375

Date: 2025-06-09 05:11:11
Score: 1
Natty:
Report link

You need to use a static transform with a fixed frame (map) to your lidar frame, which is 'laser' in your case.

For example, you can run:

ros2 run tf2_ros static_transform_publisher 0 0 0 0 0 0 map laser

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

79658368

Date: 2025-06-09 05:02:08
Score: 2.5
Natty:
Report link

Input overwritingUsed .innerHTML properly with template stringMultiplication not updatingCorrectly selected and parsed .n-input and .potenza-inputDynamic input events not triggeringUsed .on('input') inside addRow()All rows had same nameStill OK for backend, but now each input is updated individually

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

79658360

Date: 2025-06-09 04:49:05
Score: 8 đŸš©
Natty: 5.5
Report link

I'm having this problem right now too, do you have a solution yet?

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

79658358

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

what can cause FLET to totally ignore the set height and width, no matter if you use min/max values, or just the normal width=xx height=xx
I keep experiencing that problem with code looking like this, and no element is bigger than the actual app's size, everything is smaller and should fit, but it stretches the app to about 1000 or si in width, element only fill half the app.

def main(page: ft.Page):
    page.title = "The App Name"
    page.theme_mode = ft.ThemeMode.LIGHT
    
    #page.window_width = 300  #ignores this value
    #page.window_height = 600 #often ignores this a bit
    
    page.window_min_width, page.window_max_width = 400, 400
    page.window_min_height, page.window_max_height = 600, 600
    
    page.window_resizable = True # So that we can resize it in the lower corner!
    page.update() # Enforcing these values somehow does not work?!?!
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): what can
  • Low reputation (1):
Posted by: AlexData

79658351

Date: 2025-06-09 04:29:00
Score: 0.5
Natty:
Report link

Actually, grpcio-tools should be enough. There is nothing wrong with this package, so I guess something was wrong with your conda system. Maybe default python command points to your default system Python in /usr/bin/python or something like that and not Conda? Do which python to validate that.

To validate your command, I created a completely new Docker environment like this and it was able to generate a protobuf binding code:

docker run --rm -it -v "$PWD":/app -w /app python:latest bash
...
pip install grpcio-tools
python -m grpc_tools.protoc --python_out=. --grpc_python_out=. -I .  ./mysuperproto.proto
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Artyom

79658342

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

In windows 11,
From the start menu, open the Anaconda Powershell Prompt

Then execute the activate cmd and it works fine.

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

79658340

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

My problem is I add this config to .npmrc file

link-workspace-packages=true
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: vuhoanghiep1993

79658333

Date: 2025-06-09 03:55:51
Score: 2.5
Natty:
Report link

Update: I've managed to figure it out - it seems to depend on the underlying DWH engine, as dbt would use native functions to grab the current timestamps (e.g. now()), which would behave differently in different environments. I guess this is why there's no mention of it in the documentation...

In my case, using Redshift as our DWH engine, this would be UTC.

This link was helpful in tracking it down.

Reasons:
  • Blacklisted phrase (1): This link
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Aamit

79658328

Date: 2025-06-09 03:38:46
Score: 1
Natty:
Report link

When a process (including a daemon) exits, the OS reclaims all its allocated memory, including

  1. Heap memory allocated with malloc
  2. Stack memory
  3. File descriptors
  4. Memory mappings
  5. Other resources (with exceptions like shared memory)

Answer

Yes, the OS will automatically reclaim all memory when the daemon process exits.

However,

This applies only on process termination.If your daemon is long-running and keeps allocating memory without freeing it, this can lead to memory leaks and exhaustion over time.

If your process is short-lived (utility that runs and exits), skipping free() is generally acceptable.

Tools like Valgrind will report such allocations as "still reachable" or "not freed", even though the OS reclaims them, because they were never explicitly freed.

For some resources (temporary files, shared memory, or mutexes), relying on process exit alone may not be sufficient.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When a
  • Low reputation (0.5):
Posted by: Vinuka Osura

79658327

Date: 2025-06-09 03:38:46
Score: 4.5
Natty: 4.5
Report link

Nice share brother... You have helped so many like me...

Thanks and regards..

Murali

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): regards
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Murali Krishna

79658316

Date: 2025-06-09 03:15:41
Score: 5
Natty: 5.5
Report link

If main() exits, the memory allocated from the heap of the daemon shall be freed automatically?

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

79658314

Date: 2025-06-09 03:11:40
Score: 0.5
Natty:
Report link

I found a much better way to achieve the outcome using the PnPjs libraries. This abstracts away the complexity of getting the Bearer token using a JWT via the MSAL libraries.

Full working code below

import { spfi } from "@pnp/sp";
import { SPDefault } from "@pnp/nodejs";
import {
  folderFromAbsolutePath,
  folderFromServerRelativePath,
} from "@pnp/sp/folders/index.js";
import "@pnp/sp/files/index.js";
import "@pnp/sp/webs/index.js";
import { readFileSync, createReadStream } from "fs";
import "@azure/msal-node";

const sharepointTenant = `https://tenant.sharepoint.com`; // replace with your tenant
const sharepointSites = `${sharepointTenant}/sites/Foo`; // replace with your site
const folderUrl = "Shared Documents/Bar"; // replace with your folder
const sharePointFolder = `${sharepointSites}/${folderUrl}`;

/**
 *
 * @returns
 */
async function getSp() {
  const tenantId = "XXXX"; // replace from Azure Entra ID
  const clientId = "YYYY"; // replace from Azure Entra ID
  const thumbprint = "ZZZZ"; // replace from Azure Entra ID

  const buffer = readFileSync(
    "private.key" // the private key for JWT signing
  );

  const config = {
    auth: {
      authority: `https://login.microsoftonline.com/${tenantId}/`,
      clientId: clientId,
      clientCertificate: {
        thumbprint: thumbprint,
        privateKey: buffer.toString(),
      },
    },
  };

  console.log(`Config: ${JSON.stringify(config)}\n\n`);

  const sp = spfi().using(
    SPDefault({
      baseUrl: sharepointSites,
      msal: {
        config: config,
        scopes: [`${sharepointTenant}/.default`],
      },
    })
  );

  const w = await sp.web.select("Title", "Description")();
  console.log(`${JSON.stringify(w, null, 4)}\n\n`);
  return sp;
}

try {
  console.log(
    `TENANT:\t${sharepointTenant}\nSITES:\t${sharepointSites}\nFOLDER:\t${sharePointFolder}\n`
  );

  const sp = await getSp();
  const folderAbsolute = await folderFromAbsolutePath(sp.web, sharePointFolder);
  const folderRelative = folderFromServerRelativePath(sp.web, folderUrl);

  const folderInfo = await folderAbsolute();
  //const relativeFolderInfo = await folderRelative();

  console.log(`${JSON.stringify(folderInfo, null, 4)}\n\n`);
  //console.log(`${JSON.stringify(folderInfo,null,4)}\n\n`);

  const fileNamePath = "file.txt";
  const file = readFileSync(`./${fileNamePath}`, "utf8");
  const stream = createReadStream(fileNamePath);
  let result = await sp.web
    .getFolderByServerRelativePath(folderUrl)
    .files.addUsingPath(encodeURI(fileNamePath), file, { Overwrite: true });
} catch (error) {
  console.error(error);
}

Cheers,
Andrew

Reasons:
  • Blacklisted phrase (1): Cheers
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Andrew Tyson

79658309

Date: 2025-06-09 03:01:37
Score: 1
Natty:
Report link

Automating Repetitive Tasks in Notepad++

Table of Contents

Introduction

It's very common to use an application for manual and repetitive tasks, especially those with well-defined steps. I myself have faced this challenge with Notepad++ and know how difficult the search for an efficient solution — one that integrates with the utility — can be. Furthermore, when performing repetitive processes manually, errors can go unnoticed, affecting the quality and reliability of the result.

To solve this problem, I found a powerful approach: automating these tasks with PowerShell and regular expressions. This combination is especially effective because PowerShell, by using regular expressions to identify patterns, handles complex operations and processing logic. It optimized my workflows, eliminating human errors and increasing efficiency in both professional and study environments.

Understanding the Automation Context

The task involves manipulating the text<sup>[number]</sup> pattern, frequently used in footnotes. With over a hundred occurrences to handle, it's evident that manual editing would be impractical due to the volume and repetitiveness.

Problem Analysis

Envisioning a complete solution, the following approach is suggested as an evaluation criterion:

Analysis of Proposed Solutions

The approaches for footnote renumbering, proposed by community members — mklement0, toto and dr-rao —, present distinct characteristics, with advantages and some limitations:

The Central Challenge

The central challenge lies in balancing:

To meet this challenge, the adopted solution consists of a hybrid approach that combines the robustness of external scripts (with regular expressions), integration via custom commands with shortcuts, and a continuous workflow that doesn't require context switching.

Integrated Solution Workflow

To renumber footnotes precisely and practically in Notepad++, the workflow is divided into two clear phases: initial environment setup and simplified routine execution. This approach leverages Notepad++'s ability to integrate external commands via keyboard shortcuts.

Initial Environment Setup (One Time Only)

Note: The script below uses:

Output: [full path of original file without extension] - processed.txt file in the same folder.

Based on mklement0's solution for sequentially numbering footnotes.

  1. Prepare and Save the PowerShell Script: Save the PowerShell script (.ps1) that will be used for renumbering in an easily accessible location that you intend to keep fixed, as this path will be referenced.

    <#
    .SYNOPSIS
        Footnote Renumbering Script.
    .DESCRIPTION
        This script automates the sequential renumbering of footnotes
        in the `text<sup>[number]</sup>` format in a text file.
        It processes the file, generates a new file with the renumbered notes,
        and opens this new file in Notepad++.
    .PARAMETER FilePath
        Full path to the text file containing the footnotes to be processed.
        Mandatory and validates if the path points to an existing file.
    .PARAMETER AppPath
        Full path to the Notepad++ executable (e.g., 'C:\Program Files\Notepad++\notepad++.exe').
        Mandatory and validates if the path points to an existing executable file.
    .OUTPUTS
        A new text file with the suffix ' - processed' in its name, containing the renumbered notes.
        This file is created in the same folder as the original file.
    .NOTES
        Based on mklement0's solution for sequentially numbering footnotes.
        [https://stackoverflow.com/questions/79654537/how-do-i-renumber-the-numbers-of-this-superscript](https://stackoverflow.com/questions/79654537/how-do-i-renumber-the-numbers-of-this-superscript)
        Works on both PowerShell (pwsh.exe) and Windows PowerShell (powershell.exe).
    #>
    param(
        # Defines the FilePath parameter, which is the path to the input file.
        [Parameter(Mandatory=$true)] # Makes the parameter mandatory.
        [ValidateScript({ Test-Path -Path $PSItem -PathType 'Leaf' })] # Validates if the path is to an existing file.
        [string]$FilePath, # The parameter type is String.
    
        # Defines the AppPath parameter, which is the path to the Notepad++ executable.
        [Parameter(Mandatory=$true)] # Makes the parameter mandatory.
        [ValidateScript({ Test-Path -Path $PSItem -PathType 'Leaf' })] # Validates if the path is to an existing file.
        [string]$AppPath # The parameter type is String.
    )
    
    # Gets a FileInfo object for the input file, allowing access to its properties (name, folder, etc.).
    $FileInfo = Get-Item -LiteralPath $FilePath -Force
    
    # Constructs the full path for the new output file.
    # It will be saved in the same folder as the original file, with "- processed" added to the base name.
    $OutputFilePath =
        $FileInfo.DirectoryName + '\' + # Adds the original file's directory.
        $FileInfo.BaseName + ' - processed' + # Adds the file's base name plus the suffix.
        $FileInfo.Extension # Keeps the original file extension.
    
    # Reads the entire content of the input file as a single string.
    # The '-Raw' parameter is crucial for regex operations to work on the entire text at once.
    $Content = Get-Content -Raw $FilePath
    
    # Defines the regular expression to find numbers within <sup>[number]</sup> tags.
    # - `(?<=<sup>\[)`: Positive lookbehind, ensures the number is preceded by '<sup>[' but doesn't include it in the match.
    # - `\d+`: Matches one or more digits (the note number).
    # - `(?=\]</sup>)`: Positive lookahead, ensures the number is followed by ']</sup>' but doesn't include it in the match.
    $RegexPattern = '(?<=<sup>\[)\d+(?=\]</sup>)'
    
    # Checks if the script is being executed in PowerShell (modern, cross-platform version).
    If ( $PSEdition -eq 'Core' ) {
        # Initializes a counter for renumbering.
        $Counter = 0
        # Uses the -replace operator to substitute all regex matches.
        # The script block { (++$Counter) } is executed for each match,
        # incrementing the counter and using its value as the replacement.
        $ProcessedContent = $Content -replace $RegexPattern, { (++$Counter) }
    } Else {
        # If not PowerShell, it's assumed to be Windows PowerShell.
        # In Windows PowerShell, the counter needs to be encapsulated in a mutable object (hashtable)
        # for its state to persist across replacements.
        $Counter = @{ Value = 0 }
        # Uses the .NET class [Regex]::Replace to perform the replacement.
        # The script block is similar, but accesses the .Value property of the hashtable.
        $ProcessedContent = [Regex]::Replace( $Content, $RegexPattern, { (++$Counter.Value) } )
    }
    
    # Saves the resulting content (with renumbered notes) to the new output file.
    $ProcessedContent > $OutputFilePath
    
    # Pauses execution for 1 second. This can allow time for the file to be fully written
    # before Notepad++ attempts to open it, though often not strictly necessary.
    Start-Sleep -Seconds 1
    
    # Executes Notepad++ and passes the output file path as an argument.
    # This will cause Notepad++ to open the renumbered file.
    & $AppPath $OutputFilePath
    
  2. Create the Custom Command in Notepad++:

    1. In Notepad++, go to Run > Run
 (or press F5)

    2. In the "Command" field, enter: powershell.exe -ExecutionPolicy Bypass -File "C:\Path\To\Your\Script.ps1" "$(FULL_CURRENT_PATH)" "$(NPP_FULL_FILE_PATH)"

      • Replace C:\Path\To\Your\Script.ps1 with the actual path to your PowerShell script.
    3. Click Save


    4. Give the command an intuitive name (e.g., "Renumber Footnotes")

    5. Choose a convenient keyboard shortcut (e.g., Ctrl+F5)

    6. Click OK

Simplified Routine Execution (Whenever renumbering is needed)

  1. Open the File: Open the text file in Notepad++ that contains the footnotes to be renumbered.

  2. Activate the Shortcut: With the file in focus, simply use the keyboard shortcut you configured (e.g., Ctrl+F5).

  3. Check the Result: The script will execute and generate a new renumbered file in the format [original file name] - processed.txt. This new file will automatically open in Notepad++ for review.

Pro Tip (Script Execution and Debugging): For greater flexibility in executing and debugging scripts directly from Notepad++, you can configure the Run menu to include options like "Windows PowerShell (powershell.exe)", "PowerShell [cross-platform] (pwsh.exe)" and "Command Prompt (cmd.exe)" in a "Run in terminal" submenu. For complete details on this configuration, consult a detailed answer I elaborated on this Microsoft forum.

Considerations on Execution Policies

In corporate environments, Group Policy Objects (GPOs) may block -ExecutionPolicy Bypass. In this case:

Conclusion

Automating repetitive tasks in Notepad++ with PowerShell proved to be a robust and efficient solution for text manipulation challenges. Throughout this guide, it was demonstrated how identifying manual problems, analyzing existing approaches, and the direct integration between Notepad++ and external scripts is fundamental to optimizing the workflow.

The ability to configure a custom command, associating a PowerShell script with a simple keyboard shortcut, transforms time-consuming processes into a fast and precise action. This not only frees up time and energy for more complex tasks but also ensures the consistency and quality of results, eliminating human errors inherent in manual execution. Furthermore, this integration opens doors for direct script debugging, further enhancing development efficiency.

In summary, the approach detailed in this guide not only solves a specific text manipulation problem but also illustrates the vast potential of automation to elevate productivity and reliability in any work or study environment that uses Notepad++.

More than a simple solution, this methodology represents an invitation to explore new ways of interacting with Notepad++, transforming how you handle repetitive tasks and opening possibilities for future automations.


Reasons:
  • Blacklisted phrase (1): this guide
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: JoĂŁo Mac

79658298

Date: 2025-06-09 02:32:31
Score: 1.5
Natty:
Report link

tl;dr: you got a package that may have bundled its own react, or is using another version of react

I believe this happens when a module/package uses a different version of react than what next.js is using... i don't know if react-three (or react-three/drei) itself bundles react but it should be fixed if all react-dependent package uses the same version of react

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

79658280

Date: 2025-06-09 01:59:21
Score: 2.5
Natty:
Report link

Have you tried the unofficial release described here: https://en.cppreference.com/w/Cppreference%253AArchives.html?

This link works:

https://github.com/PeterFeicht/cppreference-doc/releases/download/v20250209/html-book-20250209.zip

And the repo:

https://github.com/PeterFeicht/cppreference-doc

Reasons:
  • Blacklisted phrase (1): This link
  • Whitelisted phrase (-1): Have you tried
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: Ari

79658277

Date: 2025-06-09 01:55:20
Score: 2.5
Natty:
Report link

Since Spring Boot 3.0,

server.max-http-header-size: 32KB

is replaced by

server.max-http-request-header-size: 32KB

https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0.0-RC1-Release-Notes

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

79658265

Date: 2025-06-09 01:30:14
Score: 1.5
Natty:
Report link

Alright, I've found the solution.

What I did was to re-add every event listener whenever I needed a new one, by replacing

text = getInput(pieceidx);
getInput(pieceidx).addEventListener('focus', function() {text = getInput(pieceidx); });
addListeners(text);

with

for (i = 0; i <= pieceidx; i++) {
    text = getInput(i);
    getInput(pieceidx).addEventListener('focus', function() {text = getInput(pieceidx); });
    addListeners(i);
}
Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: DiamondNether90

79658263

Date: 2025-06-09 01:24:12
Score: 4.5
Natty:
Report link

I think I figured it out...I need to use dummy arrays and then create a final array...Please let me know if i am on the right path or if there might be a more efficient way - I will be crunching a LOT of data...

Thanks in advance for any advice.

    Dim zeroRow() As Long
    Dim tempArr As Variant
    Dim tempIn() As Variant

    tempArr = wsData.Range("Z" & lastRowData - 6 & ":AN" & lastRowData).Value
    ReDim zeroRow(1 To 15)
    For i = 1 To 15
        zeroRow(i) = 0
    Next i
    ReDim tempIn(1 To 8, 1 To 15)
    For i = 1 To 15
        tempIn(1, i) = zeroRow(i)
    Next i
    For i = 1 To 8
        For j = 1 To 15
            tempIn(i + 1, j) = tempArr(i, j)
        Next j
    Next i
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-2): I figured it out
  • RegEx Blacklisted phrase (2.5): Please let me know
  • RegEx Blacklisted phrase (3): Thanks in advance
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Jerry G

79658250

Date: 2025-06-09 00:46:03
Score: 2
Natty:
Report link

There are three ways to do this. You can create a Gmail account with the alias you have in mind as your primary email and send invites from there. If you want to send Google Calendar invites from an alias without having to change email accounts you can set up smtp to route calendar invites accordingly or use Salepager which lets you send Google Calendar invites from an company email alias such as support @ or team@ rather than a primarily email address.

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

79658248

Date: 2025-06-09 00:40:02
Score: 0.5
Natty:
Report link

Yeah, sounds a bit interesting, but it feels like a problem that can be easily solved by couple solutions.

First - try to create inner struct enqueue that has all this methods that you need and create a field of this inner class in the structure and just return it as a result for some method named as execute().foo() or execute.bar() and bluh bluh bluh.

Exexute in this context means that you want to execute some actions on your queue and it will helpfull for API readability and usage. In future you would need to only add new methods.

Second - create for each operation custom structure and create a method with similar name execute and just pass as a parameter pointer to the method or whatever you want to apply for your queue in this case.

Surely, you will need to overload operator () for each of this strucutres to make it possible to use as a lambda in your execute interface or you will face with other issues in a future that it will be huge dependency on the stuctured methods.

Also, this might simplified to some macros written template that will generate you a class with already predefined operator() whatever and you can just write the implementation.

This one is a good solution, but on other side - it will require for each usage of execute method to pass exactly what you want to execute.

So, its up to you between this two solutions choose one that fits more in your API design

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

79658243

Date: 2025-06-09 00:26:58
Score: 3
Natty:
Report link

Its because objects can be incredibly complex, and if variables store the object itself, it would take excessive time and memory.

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

79658239

Date: 2025-06-09 00:14:56
Score: 2.5
Natty:
Report link

One of our ingenious engineers at Martspec solved this problem by creating this, incredibly simple, tool that automates language switching with just two clicks on your Mac. No more digging through config files. Just:

1. Select Sim
2. Apply Language

enter image description here

👉 https://github.com/martspec-llc/martspecKit

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

79658233

Date: 2025-06-09 00:03:52
Score: 6.5 đŸš©
Natty: 5.5
Report link

I have encountered the same issue. I wonder if you have any references to support keeping the model (as my results do not show any other issues) albeit the warning? thank you in advance!

Reasons:
  • Blacklisted phrase (0.5): thank you
  • RegEx Blacklisted phrase (3): thank you in advance
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Paz

79658221

Date: 2025-06-08 23:24:45
Score: 1.5
Natty:
Report link

Given short length of your question, the most generic answer would be use spring profiles. Move database realted beans into non-default profile.

Check Spring proiles docs for details.

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

79658220

Date: 2025-06-08 23:20:43
Score: 1
Natty:
Report link

The get_main_window was removed, probably in favor of using methods like GimpUi.window_set_transient(window) to attach/associate new windows to GIMP, but that is not required for your dialog box to match GIMP's theme.

What you are looking for is the method GimpUi.init("your_plugin_name"). Use it once to initialize GIMP's theming, then create your UI dialog. That method will make any new UI element match GIMP's theme.

Documentation Links:

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

79658217

Date: 2025-06-08 23:18:43
Score: 1
Natty:
Report link

import numpy as np

import matplotlib.pyplot as plt

# Constantes

rho = 1000 # kg/m^3, densité de l'eau

U = 2 # m/s, vitesse du courant

S = 42 # mÂČ, surface de l'aile (2b x c)

# Angles d’attaque en degrĂ©s

alpha_deg = np.linspace(-15, 15, 300)

alpha_rad = np.radians(alpha_deg) # Conversion en radians

# Coefficient de portance

Cl = 2 * np.pi * np.sin(alpha_rad)

# Force de portance (en Newtons)

L = 0.5 * rho * S * Cl * U**2

# Tracé

plt.figure(figsize=(8,5))

plt.plot(alpha_deg, L, label='Force de portance L(α)', color='blue')

plt.xlabel("Angle d’attaque α (°)")

plt.ylabel("Force de portance L (N)")

plt.title("Portance d'une aile NACA0015 en fonction de l’angle d’attaque")

plt.grid(True)

plt.axhline(0, color='black', lw=0.5)

plt.legend()

plt.tight_layout()

plt.show()

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

79658206

Date: 2025-06-08 22:49:36
Score: 2
Natty:
Report link

Please see this answer https://stackoverflow.com/a/74596206/2879473

In 2025, we can use the solution .editorconfig for it.
For example, I want to place open braces at the end of lines.

[*.cs]
csharp_new_line_before_open_brace = never
csharp_new_line_before_else = false
csharp_new_line_before_catch = false
csharp_new_line_before_finally = false
csharp_new_line_before_members_in_object_initializers = false
csharp_new_line_before_members_in_anonymous_types = false
csharp_new_line_between_query_expression_clauses = false
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: kuri65536

79658204

Date: 2025-06-08 22:44:35
Score: 4
Natty:
Report link

As per @bitfiddler; "There is no state maintained between HTML pages. You need to submit data to a server and then place it in the new page using server-side code or use AJAX to talk to a server."

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @bitfiddler
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Tehtko

79658201

Date: 2025-06-08 22:41:34
Score: 3
Natty:
Report link

The issue was that I had two compilers installed, and I guess visual studio code didn't know which one to use, which bugged the code out. But once I deleted the first one, it seems to now work perfectly.

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

79658190

Date: 2025-06-08 22:09:28
Score: 1
Natty:
Report link
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <sys/ipc.h>
#include <sys/shm.h>

#define SIZE 1
#define KEY 1234

int main() {
    int id = shmget(KEY, SIZE, 0666 | IPC_CREAT);
    if (id == -1) 

    char* ptr = (char*) shmat(id, NULL, 0);
    if (ptr == (char*)(-1));

    while (1) {
        strcpy(ptr, "1234");
        
        strcpy(ptr, "4321");
        
    }
    
    shmctl(id, IPC_RMID, NULL);
}
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30752381

79658182

Date: 2025-06-08 21:45:23
Score: 3
Natty:
Report link

I found a workaround by setting bookmark on the content control and then link the custom property to the bookmark.

It's a bit painful compare to the XML Mapping but it works.

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

79658177

Date: 2025-06-08 21:37:20
Score: 4
Natty:
Report link

you can use these 3 endpoints in conjunction

    url = f"{DATABRICKS_INSTANCE}/api/2.0/jobs/runs/list"
    url = f"{DATABRICKS_INSTANCE}/api/2.2/jobs/runs/get"
    url = f"{DATABRICKS_INSTANCE}/api/2.2/jobs/runs/get-output"
  1. getting list of jobs

  2. providing task run id

  3. processing task run id and error message

i am filtering based of result_state != success as well

were you able to get a better solution?

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • RegEx Blacklisted phrase (3): were you able
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: NotSid

79658175

Date: 2025-06-08 21:26:18
Score: 1
Natty:
Report link

Because someone posted a link to this thread somewhere else years later, I feel obligated to correct something (and created my StackOverflow account just for the occasion).

As trolley813 correctly pointed out (though in a very complicated way), every LIFO structure is FILO.

But not every FILO structure is LIFO.

Consider:

Structure holds [first] element and a FIFO [buffer].
There is a helper function for total count.

push [a]:
If total count is 0, write [a] to [first].
Push [a] to [buffer] otherwise.

pop:
If total count is 1, return [first].
Pop from [buffer] otherwise.
(If total count is 0, throw exception or whatever.)

Is the structure FILO?
Yes, The first element is only returned after the buffer has been emptied.

Is the structure LIFO?
Let's see an example.
Pushes: A, B, C
Pops: B, C, A

No, it's not LIFO. It's only LIFO if the buffer is LIFO, too.

FILO is a concept designed by name only. And the name only specifies what happens to the first element and not to any other element as long as that first element is present. The name doesn't imply that it's defined recursively. If [buffer] had to be of the same structure, then yes, it would be LIFO - but that isn't the case. Whereas every LIFO structure is by name alone always a stack.

We should use the established LIFO concept when talking about stacks.
When someone says "FILO", they're probably misspeaking. Or considering esoteric use cases.

Reasons:
  • Blacklisted phrase (1): StackOverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Rackergen

79658162

Date: 2025-06-08 20:59:11
Score: 2.5
Natty:
Report link

Axiom support was reinstated in Spring WS 4.1.0. See https://github.com/spring-projects/spring-ws/issues/1454.

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

79658160

Date: 2025-06-08 20:57:10
Score: 1
Natty:
Report link

I finally found out.

Native modules aren't the same in and out the venv. In that case, cryptography is native to Python out the venv but not in. Since we are in the venv, try a pip install cryptography works, and if we retry the Nuitka command, the imports work correctly, and the excusion of the .bin created too, even in an environment without Python or cryptography.

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

79658147

Date: 2025-06-08 20:23:03
Score: 2.5
Natty:
Report link

The reply does not answer the question. If you have code or are using a library that can't move away from using Calendar, you still need to set/reset it...

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

79658133

Date: 2025-06-08 19:47:54
Score: 1
Natty:
Report link

Your understanding is correct. The recoverer operates in its own transaction when using REQUIRES_NEW, which is why you see the behavior you described. If you want to maintain a clear separation between the listener's transaction and the error handling logic, using REQUIRES_NEW is a good approach.

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

79658128

Date: 2025-06-08 19:40:52
Score: 2.5
Natty:
Report link

Using HVAC login on GCP Cloud Function allows secure authentication for HVAC system integrations. For reliable support, trust a local HVAC company you can count on to ensure seamless cloud-based HVAC management. This setup enables remote monitoring and control via Google Cloud's scalable infrastructure.

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

79658127

Date: 2025-06-08 19:40:51
Score: 4
Natty:
Report link

enter image description here

If data is given as initialData then its state does not change.

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Chiáșżc LĂĄ Nho Nhỏ

79658126

Date: 2025-06-08 19:37:50
Score: 0.5
Natty:
Report link

This is a famous challenge from TJCTF 2025, it is solvable using advanced regex engines like PCRE (Perl Compatible Regular Expressions) — used in languages like Perl, PHP, or the regex module in Python.

One such solution (credits to @cinabun):
^(.)(\1|(.)(?=.*$(?<=^((?!\1|\3).|\1(?4)*?\3|\3(?4)*?\1)*)))*$

This complex regex is designed to validate strings containing perfectly balanced pairs of two distinct delimiters, which are dynamically identified as the first character (opening) and the first different character (closing) in the string. It uses capturing groups, backreferences, lookaheads, lookbehinds, and recursion to enforce this structure.

Group 1 captures the opening delimiter, and Group 3 captures the closing delimiter, but only if the remaining string can be parsed into a valid sequence of balanced delimiter pairs or content characters that are neither.

The recursion ((?4)) enables checking for nested structures, while lookahead and lookbehind ensure the entire string can be decomposed into these balanced segments.

This allows the regex to verify arbitrarily nested and interleaved structures using just two characters as delimiters, ensuring every opening has a corresponding closing and vice versa.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @cinabun
  • Low reputation (1):
Posted by: p sin

79658119

Date: 2025-06-08 19:22:46
Score: 5.5
Natty: 5
Report link

check out this onboarding framework it will help:- https://www.youtube.com/watch?v=J5p-Xw2VsiA&ab_channel=SimplySopyaSwiftUI

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: swapnil tilkari

79658117

Date: 2025-06-08 19:15:44
Score: 4.5
Natty:
Report link

Look at the MyParms object. Why are you defining an object within an object?

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

79658095

Date: 2025-06-08 18:47:37
Score: 1
Natty:
Report link

answer: needed to call flush:

...
deflatorSink.write(source, source.size)
deflatorSink.flush()
...
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: John Caron

79658093

Date: 2025-06-08 18:44:37
Score: 1.5
Natty:
Report link

MNT_NOSUID is a flag meaning this filesystem should be mounted subject to constraint the that setuid and setgid programs referenced through the mount should not be executable.

MNT_NOSUID being not defined (more correctly, being unparseable) is a known issue, see the correspondence at LKML: https://lkml.org/lkml/2025/5/31/383

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Erkin Alp GĂŒney

79658080

Date: 2025-06-08 18:30:33
Score: 3
Natty:
Report link

As of the new update , SCSS is automatically converted to CSS bundle if you are using latest next.js versions.

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

79658077

Date: 2025-06-08 18:25:31
Score: 1.5
Natty:
Report link

After some trial and error, I have found the error, but cannot explain exactly why it occurs.

The error is actually caused by <FormLayout>. Because this is a component that is created with react-grid-layout. It works without this component.

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

79658071

Date: 2025-06-08 18:10:27
Score: 1.5
Natty:
Report link

when instantiating MessagingStyleInformation, the person object needs to be the sender of the potential reply. see https://developer.android.com/reference/android/app/Notification.MessagingStyle#MessagingStyle(android.app.Person)

in your scenario, you'd have to go from

MessagingStyleInformation(
  person,
  conversationTitle: isGroup ? notifData.receiverProfile.name : notifData.senderUser.name,
  groupConversation: true,
  messages: notifMsgs
)

to something like

MessagingStyleInformation(
  Person(
    key: auth.currentUser!.uid,
    name: auth.currentUser!.name, // or name: 'You'
  )
  conversationTitle: isGroup ? notifData.receiverProfile.name : notifData.senderUser.name,
  groupConversation: true,
  messages: notifMsgs
)
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): when in
  • Low reputation (1):
Posted by: Olivier

79658058

Date: 2025-06-08 17:49:23
Score: 3
Natty:
Report link

Go to "File"->"Save .exe" and select where you want to store the binary file.

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

79658056

Date: 2025-06-08 17:48:22
Score: 2
Natty:
Report link

choose between speed and visual accuracy...performance and visual fidelity of the Layout Editor

Fastest: This option makes the preview quick, but the quality may be lower (less detailed).

Slowest: Produces a high-quality preview (more accurate), but it takes longer to load.

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

79658054

Date: 2025-06-08 17:47:22
Score: 3
Natty:
Report link

This repository was archived by the owner on Apr 21, 2025. It is now read-only.

For ffmpeg, it looks like arthenica removed it from maven and google servers. It's hard to use it again. He who knows a way to install ffmpeg in our projects can share with us guys.

Reasons:
  • Blacklisted phrase (1): share with us
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Yvart

79658049

Date: 2025-06-08 17:41:20
Score: 1.5
Natty:
Report link

AutoModelForSequenceClassification creates a linear mapping nn.Linear(config.n_embd, config.num_labels) and allows you to change num_labels via config.

So for example you can do AutoModelForSequenceClassification.from_pretrained(MODEL, num_labels=3)

But also if you do that, you need to train the model otherwise the outputs are going to be random.

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

79658022

Date: 2025-06-08 16:56:09
Score: 1.5
Natty:
Report link

You may want to check out this open source API for building meeting bots, which includes a zoom meeting bot written purely in Python https://github.com/noah-duncan/attendee

If you look at the source code Attendee is using the Zoom Meeting SDK with these Python bindings to join and record the meeting. The Python bindings will let you create a Zoom bot purely in Python. You could also just use the API directly.

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

79658021

Date: 2025-06-08 16:55:09
Score: 1.5
Natty:
Report link

Unless you're working in a severely memory constrained environment there's no cause for alarm for something using 100KB of RAM in one .NET version and 3KB in a different .NET version.

That being said, if you want a more scientific and rigourous look to be sure it's not a fluke, I'd recommend creating test projects using BenchmarkDotNET with memory profiling enabled.

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

79658020

Date: 2025-06-08 16:53:08
Score: 5.5
Natty:
Report link

I'm not too sure, so take my advice with a grain of salt. I would recommend to make a couple of lines comments, in case they somehow interfere with ax.set_ylim(). what does @render.plot do?

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

79658012

Date: 2025-06-08 16:45:05
Score: 4
Natty:
Report link

How about add Filters?

Field: Title

When: Does not equal

Value: Discovery Velocity

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How
  • Low reputation (1):
Posted by: nomnomMatters

79657988

Date: 2025-06-08 16:25:00
Score: 3.5
Natty:
Report link

Hi thoprewa, it’s never too late: 3 years later, your answer helped me
 a lot !

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user1214881

79657987

Date: 2025-06-08 16:25:00
Score: 3
Natty:
Report link

Remeber, you will see no edges if you use this method before populating your table. I've just lost one hour :).

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

79657981

Date: 2025-06-08 16:16:57
Score: 1
Natty:
Report link

I got the answer on my crosspost on Grafana Forums.

STR_TO_DATE(CONCAT(YEAR(`Timestamp`),' ', WEEK(`Timestamp`, 3),'1'), '%X %V %w') AS Week

This did the trick. It is a compromise that works.

Unfortunatelly, it is not ideal, because the format of the original query would be way better for visualization, but I guess that is where Grafana is as of today.

Also, the fact that the error message goes “Data is missing a time field” instead of “Incorrect time field format” is confusing.

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

79657979

Date: 2025-06-08 16:10:56
Score: 2
Natty:
Report link

Have you verified the war (/app/build/libs/sampleWeb-0.0.1-SNAPSHOT.war) file mentioned in the Dockerfile is created in your project target place prior to run the app ?

This could also be one of the possible reason when the project ain't built (mvn build/package) and run the application before build either from terminal or editor, in that case docker searches in the target place for .war/.jar package which obviously isn't there and throws an error.

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

79657974

Date: 2025-06-08 16:07:55
Score: 2
Natty:
Report link

While I don't know the main reason of why is this happening (because there might be some other part of your code producing this bug), but I could at least tell you it is highly recommended to have a single Scaffold and pass your app content as an argument to Scaffold's content parameter.

Reasons:
  • RegEx Blacklisted phrase (0.5): why is this
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Farnxxd

79657965

Date: 2025-06-08 15:57:52
Score: 1.5
Natty:
Report link

IDK Why but you can't use switch for id.

Use if instead.

if (id == R.id.convertButton){
    // do something
}else if (id == R.id.convertButton2) {
    // do something       
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ahmadreza gh

79657953

Date: 2025-06-08 15:28:45
Score: 6.5 đŸš©
Natty: 5.5
Report link

may I ask if you have found the solution to this problem?

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

79657952

Date: 2025-06-08 15:25:44
Score: 1.5
Natty:
Report link

Yes, MongoDB does update index entries when documents are deleted, ensuring they are removed. However, the physical size of the index files on disk does not shrink automatically—freed space remains available for reuse, which can make the index size appear unchanged. To reclaim disk space, you need to run maintenance operations like compact or rebuild the indexes manually.

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

79657947

Date: 2025-06-08 15:18:42
Score: 0.5
Natty:
Report link

Run with .explain("executionStats") to see if index is used.
With the result from executionStats we can help.
In general, MongoDB has more index possibilities than MySQL (with multi-key indexes)

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

79657946

Date: 2025-06-08 15:14:41
Score: 2.5
Natty:
Report link

"_fts" and "_ftsx" are the internal implementation of text indexes (it stores words and some metadata such as mapping and offsets)

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

79657940

Date: 2025-06-08 15:05:38
Score: 3.5
Natty:
Report link

In the File -> Build Profiles panel I had to enable Symlink Sources. This fixed it for me.

enter image description here

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

79657935

Date: 2025-06-08 14:59:36
Score: 0.5
Natty:
Report link

What I was looking for is actually a way to authenticate and authorize communication between nodes regardless of user.
For inter node communication, for my case at least this is what was needed:

<clickhouse>
  <interserver_secret>clickhousecluster</interserver_secret>

  <remote_servers>
    ...
  </remote_servers>
</clickhouse>

When this is setup and no user/pass or secret is provided within <remote_servers> clickhouse uses the standard RBAC.

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): What I
  • Low reputation (0.5):
Posted by: Majid Chaudhary

79657932

Date: 2025-06-08 14:55:35
Score: 3
Natty:
Report link

Rather late to the party, sorry, but since I've found this question asked numerous times without a satisfactory answer please find my take on this here.

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

79657931

Date: 2025-06-08 14:54:34
Score: 0.5
Natty:
Report link

You probably have an index with the same name but different option (like different expire option)
You can find it with: db.collectionName.getIndexes() and the drop it to let Spring create it, or change the options in Spring to match the existing one

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

79657921

Date: 2025-06-08 14:41:31
Score: 2
Natty:
Report link

QUESTION:

RESPONSE

{
  "compilerOptions": {
    "target": "ES2022",
    "module": "CommonJS",
    "experimentalDecorators": true,
    "emitDecoratorMetadata": true,
    "strict": true,
    "noImplicitAny": false,
    "skipLibCheck": true,           // disables type checking of declaration files
    "noUnusedLocals": false,
    "noUnusedParameters": false,
    "noEmit": true
  },
  "exclude": [
    "node_modules"
  ]
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: user114573

79657920

Date: 2025-06-08 14:41:31
Score: 1.5
Natty:
Report link
  1. docker logs -f will show live logs only stdout/stderr where as docker attach shows including stdin also.
    standard output/input/error
    2. docker logs only readonly just you can see logs where as attach you can send input (interactive).
    3. If you give ctr+c container will not stop in logs whereas in attch container will stop.
Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Arun

79657918

Date: 2025-06-08 14:39:30
Score: 0.5
Natty:
Report link
/^(\d*[1-9]\d*)$/             // non-zero, no sign allowed
/^([-+]{0,1}\d*[1-9]\d*)$/    // non-zero, optional sign

This allows for an optional leading sign with zero or more leading digits and zero or more trailing digits with at least one non-zero digit in the "middle".

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

79657908

Date: 2025-06-08 14:21:26
Score: 1.5
Natty:
Report link

Take a look at this other stackoverflow question. I think getting the current depth of the stack reliably distinguishes between execution contexts regardless of filename. It should automatically separate a wrapping call (shallow) from user-defined code (deep). From here, it says "The trace hook is modified by passing a callback function to sys.settrace()." So I think you can filter out events when the depth <= 3. As soon as the depth is > 3, you can start tracing since the deep stack is user-defined functions.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Pratik Mathur

79657904

Date: 2025-06-08 14:20:25
Score: 1
Natty:
Report link

In C++, the compiler relies entirely on the programmer's type annotations.

This basically means that the compiler will just take it as truth and then continue onwards. However if you are trying to cast an int to another type of variable it might result in a undefined behaviour.

Only if you want a bit more in-depth look at the situation:
The compiler uses different types of assembly instructions for the different types. Those are specific for every type. For example, using the same instructions that you use on a float, on an integer variable will probably result in undefined behaviour or other errors like segmentation fault.

There is no additional address or anything, its just the memory needed for the type (e.g., 1 byte for int8_t) which are assigned in the memory.

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

79657899

Date: 2025-06-08 14:12:23
Score: 3.5
Natty:
Report link

See this reference; I think it will fix your problem.

https://github.com/google/dagger/issues/4048#issuecomment-1864237679

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

79657895

Date: 2025-06-08 14:09:22
Score: 0.5
Natty:
Report link

is there a #pragma or other compile-time solution to make 'abcd' expressions interpreted as little-endian 0x64636261?

To get 0x64636261, use

#include <stdint.h>

UINT32_C('a') << 24 | UINT32_C('b') << 16 | UINT32_C('c') << 8 | UINT32_C('d')
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): is there a
  • High reputation (-2):
Posted by: ikegami

79657884

Date: 2025-06-08 13:51:17
Score: 2.5
Natty:
Report link

You can toggle secondary sidebar, which contains copilot, by clicking on the icon left-adjacent to minimize.

OR Press Ctrl + Alt + B

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

79657876

Date: 2025-06-08 13:42:15
Score: 2
Natty:
Report link

After discussing, we decided to continue using the hand-written mapping method and not write a function to automatically convert keys from snake case to camel case. We decided this because there were scenarios where we did not want to map API responses 1:1 with the database object. Manually mapping the data gives us better control in the response.

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

79657846

Date: 2025-06-08 12:54:04
Score: 3
Natty:
Report link

This blog post is about how to upload and download files to a WebDAV server using the Spring framework and the Sardine library.

https://jiji-gilog.tistory.com/34

Reasons:
  • Blacklisted phrase (1): This blog
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: 정지훈

79657842

Date: 2025-06-08 12:44:02
Score: 2
Natty:
Report link

https://linktr.ee/easysales

<a href="https://oliyiukrayina.com/">Buy Sunflower oil</a>

<a href="https://medizinfarmaci.com/">Natrium pentobarbital kaufen</a>

<a href="https://unofarmaci.com/">Kaufen Nembutal online</a>

<a href="https://chempremium.com/">Buy JWH 018</a>

https://medizinfarmaci.com/product/pentobarbital-kaufen-online/

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

79657836

Date: 2025-06-08 12:39:00
Score: 1
Natty:
Report link

This problem is not actually reflected in your code,becausethe code is only used to arrange the chip to work,that is to say your output value is because your STM32 reads this value.

The reason why the STM32 reading keeps changing or causing errors is because of electromagnetic interfence between the lines.These problems come down to your hardware design capabilities.

If you want your readings to be more precise and stable,I recommed that you can parallel a 1uF elecreolytic capacitor in series wity your VREF pin.If the stability is not high,you can continue to increase it ,but it is best not to exceed 10uF.) -> Suppressing power supply noise

(You can also reduce the distance between the pins and the chip to suppress noise ->ambient noise

However,if our hardware is already finish,I just want to enhance the stability through the code level.You can read the value multiple times and then average the values to eltiminate sudden errors.

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

79657829

Date: 2025-06-08 12:25:58
Score: 2
Natty:
Report link

[media pointer="file-service://file-1YkbBQeNzRws9PJyiFQhtx"]

estimate the demand function

T-test

F-test

interpnt R2 value

Elasticity

conclutions

in data sheet with out using statistic

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

79657826

Date: 2025-06-08 12:22:57
Score: 1.5
Natty:
Report link

"it would be nice if we could inject our debugging/logging services...."

It would be nice indeed. This doesn't work for me. Cannot access props. Also cannot inject Logging service as a constant... : (

So basically I have to now move all of this to WithEffects

export function withUserProfileReducers<_>() {
  return signalStoreFeature(
    {
      state: type<UserProfileState>(),
      props: type<{
        _logger: LoggingService,
        _storeName: string,
      }>(),
    },
    withReducer(
      on(
        authEvents.logoutSuccess,
        () => (state) : UserProfileState  => {

          const logger = inject(LoggingService)
          const storeName = 'UserProfileStore';

          store._logger.info('Clearing user profile state on logoutSuccess.', storeName);
          return{
            userProfileBasic: null,
            userProfileFull: null,
            status: UserProfileOperationStatusEnum.IDLE,
            error: null
          }
        }
      ),
Reasons:
  • RegEx Blacklisted phrase (2): doesn't work for me
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sachin

79657825

Date: 2025-06-08 12:22:57
Score: 1.5
Natty:
Report link

<?php
$seed_row = 17;
$seed_col = 26;
for ($i = 0; $i < $seed_row; $i++) {
echo "<div class=\"item seed_row_$i\">";
for ($j = 0; $j < $seed_col; $j++) {
echo "<div class=\"item seed_col_$j\">COL</div>";
}
echo "</div>";
}
?>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: VB51

79657821

Date: 2025-06-08 12:17:56
Score: 0.5
Natty:
Report link

Why you’re locked out

This isn’t a permissions problem at all – the internal SSD is completely full.
When the APFS volume that holds your home folder has no free blocks, macOS will

Because of that, Finder’s “Get Info”, chmod, etc. can’t help.
Your admin account already has root rights via sudo; you just have to give the system some breathing room. fix You only need a few gigabytes of free space for everything to unlock again. Stop Carbon Copy Cloner and delete its snapshot

CCC makes an APFS snapshot of the source before it starts copying; that snapshot is probably eating tens of gigabytes.

Then turn iCloud Drive off

Then try deleting you failed copy

This can be done in your terminal like so

sudo rm -rf ~/iCloud\ Drive\ $$Archive$$/<big_folder>
If the archive folder wasn’t created, look in
~/Library/Mobile Documents/com~apple~CloudDocs/ instead.

Turn your iCloud back on and give it a few minutes everything that was fully in iCloud reappears and your local copy should be gone

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Why you
  • Low reputation (1):
Posted by: Rian

79657819

Date: 2025-06-08 12:15:55
Score: 2.5
Natty:
Report link

Yes of course, you can write

.header:hover + .header { ... }

More précisions: http://www.stylescss.com/v2-selectors/index-en.php

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

79657818

Date: 2025-06-08 12:13:54
Score: 6.5 đŸš©
Natty:
Report link

Yess i have the same problem, i just saw figma released their own mcp today i donwloaed figma desktop app and like tried to enable that dev mode server for mcp but it wasnt there. i was like wth? maybe they disabled for some regions? idk thou, just guessing

Reasons:
  • Blacklisted phrase (1): i have the same problem
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): i have the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hasan Anas

79657813

Date: 2025-06-08 12:08:52
Score: 2
Natty:
Report link

I don't think you need to manage the page counter with counter-reset and counter-increment.
And on the other hand, it does not work on Firefox.

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

79657812

Date: 2025-06-08 12:07:52
Score: 4.5
Natty:
Report link

My reputation is below to comment some answers. 43 not 45 or 5o. stackoverflow is a site about programming and not defintly with logic circumstances. It is about trust at all. If an architecture provides an encrypted memory for passwords the BOX must not be connected to the rest. You have to divide what is supported by a system and what is "help yourself", like an usb key.

Bevor you try neglected a fight against the world, try to see also with your memory parts what you can memorize within your speed of reactions.

A piece of paper and an old printer does it also.

Reasons:
  • Blacklisted phrase (1): to comment
  • Blacklisted phrase (1): stackoverflow
  • RegEx Blacklisted phrase (1.5): reputation
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ledlightjungled

79657811

Date: 2025-06-08 12:06:51
Score: 4.5
Natty:
Report link

Just go through this super helpful video on how we can scale Kafka streams:
https://www.youtube.com/watch?v=yTEutrND12Q

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

79657801

Date: 2025-06-08 11:55:48
Score: 5
Natty:
Report link

same problem, i will be wait with you)

Reasons:
  • RegEx Blacklisted phrase (1): same problem
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: 4th

79657790

Date: 2025-06-08 11:38:44
Score: 0.5
Natty:
Report link

array.filter(...).map(...).reduce(...)

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

79657788

Date: 2025-06-08 11:38:44
Score: 3
Natty:
Report link

Thanks to @harsh-patel and @marina-liu for the useful instruction!

Unfortunately, just pulling the other repository removed for some reason commit timestamps from git blame at github for one of the projects.

So after preparing the repositories I merged them into a monorepo a bit differently, thanks to this article.

mkdir monorepo && cd monorepo && git init
git remote add repo1 <URL for repo1> -f 
git remote add repo2 <URL for repo2> -f 
git merge repo1/main --ff-only 
git merge repo2/main --allow-unrelated-histories 
git add remote origin <monorepo URL> 
git push -fu origin main

(in my case the main branches are called main and not master)

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): this article
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @harsh-patel
  • User mentioned (0): @marina-liu
  • Low reputation (1):
Posted by: makxca

79657778

Date: 2025-06-08 11:23:40
Score: 5.5
Natty: 4
Report link

is error for me :( very sab indeed

Reasons:
  • Blacklisted phrase (1): :(
  • Low length (2):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: absolute fucking idiot

79657774

Date: 2025-06-08 11:17:38
Score: 2.5
Natty:
Report link

Sometimes it is good to compare old and new builds to see the visual changes in the application. The new version of QtCreators (mine is 11) has the relevant setting under; Edit -> Preferences -> Build & Run -> General tab. Here, select "Stop applications before building" to "None".

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ahmet cihan Akınca