79786908

Date: 2025-10-09 23:31:17
Score: 0.5
Natty:
Report link
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: calamari

79786890

Date: 2025-10-09 22:34:05
Score: 1
Natty:
Report link

This happens because pandas optimizes away copies when one input is empty, so they share the same memory.
To prevent linkage without forcing a deep copy, enable Copy-on-Write in pandas 2.x:

pd.options.mode.copy_on_write = True
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: fateme mosleh

79786886

Date: 2025-10-09 22:20:01
Score: 4
Natty:
Report link

She holds has a Master’s Degree of Science in Health Management.

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

79786882

Date: 2025-10-09 22:16:00
Score: 0.5
Natty:
Report link

I think resources based access control is something beyond a role based access control. With roles, a user is bound to a permanent identification. it is very limiting when you work in environment where one account is shared across multiple applications.

With resources based access control, a user have permission to resources based on specific specific target. For example, a user can be owner of one store and a simple manager of a different store without being globally labelled a manager or a store owner.

Another exemple is a aws, your account doesn't directly have access to all features in services, you create a IAM user and give a specific permission on a specific resources to that IAM user. It makes it easier to introduce new authorities and permissions without touching the core of your auth. Instead of (user , user role) you have (user, target, permissions of user in the target).

It makes it also really easy to have real-time access control. Still, case of a store manager and owner, a manager can have access to create product now for example, and on the next request no longer have access to it, while still have access to other permissions in the store, all that without needing to affect the global identify of the user in any way.

It's important to mention that this can lead to larger queries for permissions. For exemple, instead of just checking if a user has a specific role, you need to check if a user a a specific permission on a specific target. But with a good caching layer, it's way more powerful in every single way compared to role based access control.

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

79786873

Date: 2025-10-09 21:59:56
Score: 1
Natty:
Report link

Just been tackling the same issue - horizontally rather than vertically:

<ul class="list">
    <li class="item">Jan</li>
    <li class="item">Feb</li>
    <li class="item">Mar</li>
    <li class="item active">Apr</li>
    <li class="item">May</li>
    <li class="item active">Jun</li>
    <li class="item active">Jul</li>
    <li class="item active">Aug</li>
    <li class="item">Sep</li>
    <li class="item active">Oct</li>
    <li class="item active">Nov</li>
    <li class="item">Dec</li>
</ul>
/* If element has a sibling immediately after it, remove its right radius */
.item.active:has(+ .item.active) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
/* and the left radius of the adjacent active siblings in the group  */
.item.active + .item.active {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

merged border-radius of list elements

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

79786872

Date: 2025-10-09 21:57:56
Score: 1
Natty:
Report link

As a contribution to the acepted answer you could use

`

const ctx = this.ctx;
ctx.save();
ctx.translate(pin.x, pin.y);

const scaleFactor = pin.radius * 3;
ctx.scale(scaleFactor, scaleFactor);

const path = new Path2D();
const steps = 100;

// --- Droplet contour polar curve ---
for (let i = 0; i <= steps; i++) {
  const t = Math.PI + i * (Math.PI / steps);
  const x = 0.6 * Math.sin(t) * Math.cos(t);
  const y = Math.sin(t);

  if (i === 0) path.moveTo(x, y);
  else path.lineTo(x, y);
}

// close curve
path.lineTo(0, 0);
path.closePath();

// --- Holle ---
const holeY = -0.7; // topo da gota
const holeRadius = 0.13
path.moveTo(0 + holeRadius, holeY);
path.arc(0, holeY, holeRadius, 0, Math.PI * 2, true);


ctx.fillStyle = pin.color;
ctx.fill(path, 'evenodd'); // importante: 'evenodd' cria o furo

ctx.strokeStyle = "black";
ctx.lineWidth = 0.02;
ctx.stroke(path);

ctx.restore();`

enter image description here

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

79786870

Date: 2025-10-09 21:48:54
Score: 0.5
Natty:
Report link

An Addition to "https://stackoverflow.com/a/79786806/31654810", "fstream file(argv[1], ios::in | ios::app);" didn't work for me when I tried running it but you could open the file in just ios::in mode and when you want to append, you can create another fstream or ofstream in append mode to actually write it.

#include <iostream>
#include <fstream>
#include <sstream>
#include <string>

using namespace std;

void testFile(const char *fileName)
{
    fstream file(fileName, ios::in);
    string line, word;

    while (getline(file, line))
    {
        istringstream checker_str(line);
        if (checker_str >> word && word == "ret")
        {
            cout << "Message: " << "\033[92msuccess: \033[0m" << "\"ret\" keyword was already written." << endl;
            return;
        }
    }

    //cout << "Message: " << "\033[93mwarning: \033[0m" << "\"ret\" keyword was not written." << endl;


    cout << "Message: " << "\033[93mwarning: \033[0m" << "\"ret\" keyword was not written and has been written for you." << endl;
    ofstream file1(fileName, ios::app);
    file1 << "\nret";

    return;
}

int main(){
    testFile("no_ret.txt");
    testFile("Yes_Ret.txt");


    return 0;
}

This would be the right code referenced/inspired from "https://stackoverflow.com/a/79786806/31654810".

Updated Demo

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: mini kids

79786868

Date: 2025-10-09 21:47:54
Score: 2.5
Natty:
Report link

You class from image dont recognize class.getresource(url) because the image are located with mistake, you have to put your images on src/main/resources and you have to compile the resources with maven. Grettings

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

79786865

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

No.

  1. In C23, <stdalign.h> provides no content. There is no alignas macro, no alignof macro, and no __alignas_is_defined or __alignof_is_defined macros.

  2. In C++, both alignas and alignof are keywords, and the C++ standard forbids C++ standard library headers from defining macros with names that are C++ keywords. So <stdalign.h> in C++ must not define an alignas macro or an alignof macro. eel.is

  3. What <stdalign.h> can still provide in C++23 are the feature-test macros. __alignas_is_defined is present but deprecated in C++23, and __alignof_is_defined is also provided via the “same as C header” wording and is being explicitly tracked so it can be deprecated as well. Both expand to 1. GitHub

For reference, the current C++ working draft points <stdalign.h> at C23’s header, which is empty, so including it in C++ has no effect. The general prohibition on keyword-named macros remains in force. eel.is

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

79786862

Date: 2025-10-09 21:28:49
Score: 0.5
Natty:
Report link

I think that the idea that you might have to swap to Controller when "development becomes more serious" is silly. Controllers aren´t inherently more serious or clean. They prescribe you an architecture. Minimal API gives you much more freedom. For example it is much easier to swap out a few routes depending on deployments. Whats more clean depends on how you use either.

For the most part people using Controllers also throw together a lot of methods that somehow loosely connect to some arbitrary word. Sometimes the word is HomeController. What's "Home" supposed to be? Well... just about anything on this "Home" page that just so happens to have 15 sub menus. Seen this a lot.

There is absolutely no issue mixing controllers and minimal API. In fact you probably do it already if you use controllers without knowing it. As a lot of stuff like 3rd party login, or openapi docs will use minimal API under the hood. You just did not write the minimal API part yourself.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
Posted by: Max

79786855

Date: 2025-10-09 21:20:48
Score: 1
Natty:
Report link

The issue isn't with VtValue itself. We were calling GetLightParamValue(), which does some additional steps before returning the value. Including throwing away types it doesn't recognize. Calling Get() avoids those extra steps and solves the problem in this case.

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

79786845

Date: 2025-10-09 21:06:44
Score: 1
Natty:
Report link

Thanks for the help. You can't imagine how useful your answer was to me. I would be picking at least 7 different workarounds if I didn't reach you.

Just to clarify and let the step-by-step guide:

  1. Pick an option: User-assigned or System-assigned managed identity. I had picked System-assigned one.
  2. To enable managed identity you need to go to "Identity" section in the left panel. You can simply enable system-assigned or create a user-assigned one and add it to the the list.
  3. Go to your DevOps organization settings and add this identity as a new user to the whole organization (you might have to give it admin permissions).
  4. Now you can select the managed identity in this HTTP request block as Authorization header.
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Gabriel Antonio

79786830

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

After upgrading to Windows 11, I encountered the "The emulator process for AVD Nexus_6_API_33 has terminated" error, so I checked the idea.log file, searched online, and eventually found the solution involving a missing C++ file that needed to be updated.

The emulator may require certain DLLs that are not present so I have downloaded the latest supported redistributed version from this link:

https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170
X64 Redistributable package contains both ARM64 and X64 binaries
After successful installation then restart the PC. Error solved and Hope it helps.

Reasons:
  • Blacklisted phrase (1): this link
  • Whitelisted phrase (-1): Hope it helps
  • Probably link only (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Pratik Dodiya

79786827

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

After upgrading to Windows 11, I encountered the "The emulator process for AVD Nexus_6_API_33 has terminated" error, so I checked the idea.log file, searched online, and eventually found the solution involving a missing C++ file that needed to be updated.

The emulator may require certain DLLs that are not present so I have downloaded the latest supported redistributed version from this link:
https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170
X64 Redistributable package contains both ARM64 and X64 binaries

After successful installation then restart the PC. Error solved and Hope it helps.

Reasons:
  • Blacklisted phrase (1): this link
  • Whitelisted phrase (-1): Hope it helps
  • Probably link only (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Pratik Dodiya

79786824

Date: 2025-10-09 20:20:33
Score: 1.5
Natty:
Report link

Which version of LCOV are you using?
What do you see, when you run lcov --summary ....Client/Web.UI/coverage/lcov.info (_.e., ask lcov to summarize your .info file).
You may want to add --branch and/or --mcdc - depending on your lcov version and the source of your coverage data.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Which
  • Low reputation (0.5):
Posted by: Henry Cox

79786818

Date: 2025-10-09 20:10:31
Score: 0.5
Natty:
Report link

For anyone conquering the same demons as I am: I did actually find a concrete difference between the two functions: I found a library that used eglCreateImageKHR to import DMABUFs using the EXT_image_dma_buf_import EGL extension. It was using OpenGL ES as its rendering API. Replicating this in my OpenGL application would raise an unexplainable EGL_BAD_PARAMETER error. When I replaced it with eglCreateImage instead, it finally worked. As such my best guess is that eglCreateImageKHR might be more an OpenGL ES thing or be related in some way to it that the non khr suffix version isn't.

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

79786816

Date: 2025-10-09 20:09:31
Score: 0.5
Natty:
Report link

After upgrading to Windows 11, I encountered the "The emulator process for AVD Nexus_6_API_33 has terminated" error, so I checked the idea.log file, searched online, and eventually found the solution involving a missing C++ file that needed to be updated.

The emulator may require certain DLLs that are not present so I have downloaded the latest supported redistributed version from this link:
https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170

X64 Redistributable package contains both ARM64 and X64 binaries

After successful installation then restart the PC. Error solved and Hope it helps.

Reasons:
  • Blacklisted phrase (1): this link
  • Whitelisted phrase (-1): Hope it helps
  • Probably link only (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Pratik Dodiya

79786815

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

After upgrading to Windows 11, I encountered the "The emulator process for AVD Nexus_6_API_33 has terminated" error, so I checked the idea.log file, searched online, and eventually found the solution involving a missing C++ file that needed to be updated.

The emulator may require certain DLLs that are not present so I have downloaded the latest supported redistributed version from this link:

https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170

X64 Redistributable package contains both ARM64 and X64 binaries

After successful installation then restart the PC. Error solved and Hope it helps.

Reasons:
  • Blacklisted phrase (1): this link
  • Whitelisted phrase (-1): Hope it helps
  • Probably link only (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Pratik Dodiya

79786813

Date: 2025-10-09 20:01:29
Score: 3
Natty:
Report link

I experienced this issue when the host name in the site bindings in IIS didn't match the site name.

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

79786807

Date: 2025-10-09 19:58:28
Score: 0.5
Natty:
Report link

It sounds like from what Bryan was asking, he wanted to access the selected items from a multiselect choice field in OnEdit or OnSave of the SharePointIntegration object, which is before the item actually loads, which is why he needed it from the SharePoint list as well and not the Choice DataCard. I needed this as well, as I use the Variable that I store the data from a Gallery field to show/hide other fields, and these show/hides wouldn't work when going to edit or View the Form since they are based on the table Variable that stores the Gallery. Here's what worked for me:

OnView/OnEdit: In these modes, the SharePointIntegration.Selected object represents the current item. You can access the multi-select column's value from this object. For example, if your multi-select column is named "Categories", the DefaultSelectedItems property would be set to SharePointIntegration.Selected.Categories.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-1): worked for me
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: RayRayB

79786803

Date: 2025-10-09 19:51:26
Score: 0.5
Natty:
Report link

The "Resource ID" fields are meant for native Android Apps only. Flutter doesn't have this option since flutter apps are built with widgets, not native controls. The robot simply wouldn't find them inside your app. You can use Firebase Test Labs to run your flutter integration tests though.

More info at:
https://support.google.com/googleplay/android-developer/answer/9842757?visit_id=638956339910319546-2653939833&rd=1#signin

Firebase Test Labs:
https://firebase.google.com/docs/test-lab/flutter/integration-testing-with-flutter

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Marcelo Abu

79786798

Date: 2025-10-09 19:46:25
Score: 2
Natty:
Report link

By using viewsContainers, views and registerWebviewViewProvider you could add the UI on the primary sidebar beside the extensions .

You can checkout this repo : https://github.com/ScriptSanctum/vs-code-primary-sidebar

where I have added button on the primary sidebar using CalicoColors from samples.

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

79786790

Date: 2025-10-09 19:33:22
Score: 1.5
Natty:
Report link

Ok I managed to get working and thanks to this link: https://railsdrop.com/2025/07/15/ruby-on-rails-8-active-admin-the-propshaft-vs-sprockets-dilemma/ And for MFA you need to overwrite session_controler creating app/controllers/admin_users/custom_sessions_controller.rb

module AdminUsers
      class CustomSessionsController < ActiveAdmin::Devise::SessionsController
        include ::ActiveAdmin::Devise::Controller

    def create
      #Add new logic here 
      end
end

and together with this on the routes.rb

custom_config = ActiveAdmin::Devise.config.merge(controllers: { sessions: "admin_users/custom_sessions",
   passwords: "active_admin/devise/passwords",
   unlocks: "active_admin/devise/unlocks",
   registrations: "active_admin/devise/registrations",
   confirmations: "active_admin/devise/confirmations" })
  devise_for :admin_users, custom_config

Good luck

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

79786773

Date: 2025-10-09 19:19:18
Score: 1
Natty:
Report link

Firefox does not trigger the beforeunload event again after the first warning.

This is not a bug. it’s an intentional design choice by Firefox.

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

79786770

Date: 2025-10-09 19:16:17
Score: 3.5
Natty:
Report link

In the call to utl_file.fopen specify the MaxLine size...
if not you get a shorter line

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

79786759

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

The solution I found here is to open an interactive shell in the target directory, and grab the PATH from there. Afterwards I can call `:os.find_executable(~c"elixir", path)`:

shell = System.get_env("SHELL")

{path, 0} = System.cmd(shell, ["-i", "-l", "-c", "cd #{project_path} && echo $PATH"])
elixir_executable = :os.find_executable(~c"elixir", to_charlist(path))
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: i Dorgan

79786752

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

This did the trick:

Build->Clean Solution

Build->Build Solution

Debug->Start Debugging

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

79786741

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

As two filters are of different types (here team and player) belong to different collection, we cannot combine those filters. So need to use two different filters- one to retrieve specific team(team filter) and second to get specific player using team filter.

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

79786740

Date: 2025-10-09 18:34:06
Score: 9.5 🚩
Natty: 4.5
Report link

H! were you able to solve the problem? I'm facing with the same issue!

Reasons:
  • Blacklisted phrase (1): you able to solve
  • RegEx Blacklisted phrase (1.5): solve the problem?
  • RegEx Blacklisted phrase (3): were you able
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user31659783

79786738

Date: 2025-10-09 18:26:03
Score: 1.5
Natty:
Report link

Thanks for the suggestion Mo_

Because I'm cross-compiling, I needed to use the TOOLCHAIN_TARGET_TASK. Also, the application that I was developing needed the static library, so I needed to find in the Yocto build where the static libraries were being built.

Searching through the build history for the sysroot of interest (in my case riscv64-oe-linux), I found all of the related packages that were built as a result of adding openssl to my yocto build. Digging in further, I found that the static libs are built as part of openssl-staticdev.

So in summary, I needed to add the following TOOLCHAIN_TARGET_TASK:append = " openssl-staticdev"

Thanks again

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Fernando Hernández

79786734

Date: 2025-10-09 18:21:02
Score: 0.5
Natty:
Report link

Initially I got this error:

django.db.utils.DatabaseError

which I correct by: deleting all migrations files in the migrations folder of the specific app.

I deleted all except the : _init_.py

then I run makemigrations and migrate - smoothly ! thus creating a fresh / new migrations file:

0001_initial.py

then I got the error mentioned above:

My solution, by surprise was to comment out all the parts giving error in the newly created file (0001_initial.py):

if say: info_available wad giving me an error:

as in

Exception Type: ProgrammingError

Exception Value: column myApp_verb.date does not exist

what I did was to comment that out...

#("info_available", models.DateField(default=datetime.date.today)),

then:

then I run makemigrations and migrate - AND ALL OK

Reasons:
  • Blacklisted phrase (1): to comment
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: stelios_ioannides

79786731

Date: 2025-10-09 18:15:00
Score: 3
Natty:
Report link

Just do sudo python ./my-script.py

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

79786726

Date: 2025-10-09 18:05:58
Score: 2
Natty:
Report link

I encountered the same error and discovered it was due to an Xcode settings issue. In my case, I had to set the project's 'Project Format' value to Xcode 16. If this value is not set to Xcode 16, the object version in your pbxproj file will be 70 instead of 77.

enter image description here

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

79786724

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

Ran into the same problem. Are you testing on Mac?

This seems to be a known issue mentioned here

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

79786720

Date: 2025-10-09 18:01:57
Score: 1.5
Natty:
Report link

Solutions :

Either all changes happen, or none do (It avoids leaving the system in a half-changed state)

1 - Backup folder :
It script that if any step fails, everything is rolled back to its original state using a backup folder.

Rollback Logic : Backup the Original File and Directory, Creates a subfolder inside the backup folder, Copies the original file into that subfolder. Deletes the backup file and folder since everything succeeded.

<?php

//there is a folder that cannot be registered as an account.
$backupfolder = 'backupfolder';

$oldname = $_SESSION['oldname'];
$newname = $_POST['newname'];

$oldFile = "./$oldname/$oldname.php";
$newFile = "./$oldname/$newname.php";

$oldDir = "./$oldname";
$newDir = "./$newname";

mkdir("$backupFolder/$oldname");
copy($oldFile, "$backupFolder/$oldname/$oldname.php");

if (file_exists($oldFile) && rename($oldFile, $newFile)) {

    if (file_exists($oldDir) && rename($oldDir, $newDir)) {

        try {
            $conn->beginTransaction();

            $update1 = $conn->prepare("UPDATE table1 SET name=? WHERE name=?");
            $update1->execute([$newname, $oldname]);

            $update2 = $conn->prepare("UPDATE table2 SET name=? WHERE name=?");
            $update2->execute([$newname, $oldname]);

            if ($update1->rowCount() > 0 && $update2->rowCount() > 0) {
                $conn->commit();

                unlink("$backupFolder/$oldname/$oldname.php");
                rmdir("$backupFolder/$oldname");

                echo 'changed !';
            } else {
                throw new Exception();
            }

        } catch (Exception $e) {

            $conn->rollBack();
            rename($newDir, $oldDir);
            copy("$backupFolder/$oldname/$oldname.php", $oldFile);
            echo 'didnt change !';
        }

    } else {

        copy("$backupFolder/$oldname/$oldname.php", $oldFile);
        echo 'didnt change !';
    }

} else {

    copy("$backupFolder/$oldname/$oldname.php", $oldFile);
    echo 'didnt change !';
}
?>

2 - Flags for Tracking Progress :
it uses a flags array to track which steps succeed.

Rollback Logic : If the database update fails, It checks if the directory was renamed and renames it back, It checks if the file was renamed and renames it back.

<?php

$oldname = $_SESSION['oldname'];
$newname = $_POST['newname'];

$oldFile = "./$oldname/$oldname.php";
$newFile = "./$oldname/$newname.php";

$oldDir = "./$oldname";
$newDir = "./$newname";

$flags = [
    'file_renamed' => false,
    'dir_renamed' => false,
    'db_updated' => false
];


if (file_exists($oldFile) && rename($oldFile, $newFile)) {
    $flags['file_renamed'] = true;

    if (file_exists($oldDir) && rename($oldDir, $newDir)) {
        $flags['dir_renamed'] = true;

        try {
            $conn->beginTransaction();

            $update1 = $conn->prepare("UPDATE table1 SET name=? WHERE name=?");
            $update1->execute([$newname, $oldname]);

            $update2 = $conn->prepare("UPDATE table2 SET name=? WHERE name=?");
            $update2->execute([$newname, $oldname]);

            if ($update1->rowCount() > 0 && $update2->rowCount() > 0) {

                $conn->commit();
                $flags['db_updated'] = true;
                echo 'changed !';
            } else {

                throw new Exception();
            }

        } catch (Exception $e) {

            $conn->rollBack();
        }
    }
}


if (!$flags['db_updated']) {

    if ($flags['dir_renamed']) {
        rename($newDir, $oldDir);
    }

    if ($flags['file_renamed']) {
        rename($newFile, $oldFile);
    }

    echo 'didnt change !';
}
?>

NOTE : The flags-based approach performs fewer physical operations on the file system, which means it's less prone to errors and generally faster.

with contributions from @adyson and @masoudiofficial

Reasons:
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @adyson
  • User mentioned (0): @masoudiofficial
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: masoudiofficial

79786716

Date: 2025-10-09 17:59:56
Score: 2
Natty:
Report link

I encountered the same error and discovered it was due to an Xcode settings issue. In my case, I had to set the project's 'Project Format' value to Xcode 16. If this value is not set to Xcode 16, the object version in your pbxproj file will be 70 instead of 77.

enter image description here

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

79786711

Date: 2025-10-09 17:54:54
Score: 4
Natty: 4
Report link

I do not saw this answer here:

$last_day_of_month = date('Y-m-t');

I'm just thinking: why???

Reasons:
  • Blacklisted phrase (1): ???
  • Blacklisted phrase (0.5): why?
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
Posted by: Nowdeen

79786692

Date: 2025-10-09 17:29:49
Score: 2
Natty:
Report link

This issue happens because, starting September 26, 2025, Render’s free tier blocks outbound traffic on traditional SMTP ports 25, 465, and 587.

Emails fail with a 500 Internal Server Error even if credentials and configuration are correct. To fix this, use port 2525, which remains open on the free tier and is supported by SMTP2GO.

After switching to port 2525, email sending works normally without changing any other part of your setup. No upgrade required unless you want to use standard ports.

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

79786679

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

You can't.

And you said writing to a file is not a solution.

The only workaround I can think of is @froadie's workaround to his own problem link, where he ended up changing his macro to write output to a particular cell within the workbook.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @froadie's
  • High reputation (-1):
Posted by: JSmart523

79786674

Date: 2025-10-09 17:07:43
Score: 1
Natty:
Report link

When you use the flags FLAG_ACTIVITY_NEW_TASKand FLAG_ACTIVITY_CLEAR_TASK together, this causes Android to remove all Activity intances in the target task and create a new instance of the target Activity.

The goal of the code you've shown is not clear. If you already have an instance of FirstActivity, why are you creating a new instance of FirstActivity? What is it you are trying to do here? Please give more context.

Reasons:
  • RegEx Blacklisted phrase (2.5): Please give
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): When you use the
  • High reputation (-2):
Posted by: David Wasser

79786663

Date: 2025-10-09 16:53:40
Score: 4.5
Natty:
Report link

Did you found it's solution ? , I am also currently stuck in this Problem , My Assets for Tailwind CSS url are not loading because of basePAth change.

/** @type {import('next').NextConfig} */
const nextConfig = {
  images: {
    remotePatterns: [
      {
        protocol: "https",
        hostname: "xyz.net",
      },
    ],
  },

  basePath: "/xperts",
};

export default nextConfig;
Reasons:
  • RegEx Blacklisted phrase (3): Did you found it
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Priyanshu Soni

79786654

Date: 2025-10-09 16:45:38
Score: 1
Natty:
Report link

Support for HTTP Server Push has been removed from many browsers and servers, including Jetty.

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

79786652

Date: 2025-10-09 16:40:36
Score: 2
Natty:
Report link

@JustinBlaber After writing 2 comments about it, I choose to just write a answer...

Even tho my response is kinda late... There is really good github repository from a guy called Obko. (https://github.com/ObKo/stm32-cmake/tree/master) There is everything except the OBJECT stuff in there, but it might be helpful still. In order to understand the usage of the OBJECT libraries more better you could just create some test-project with your STM32CubeMX. Just create for the board of your choice a little project, but make sure you select "CMake" as Toolchain and create it once.

It doesnt matter if you use the STM32IDE or VSCode with the original STM32 Extension for it. Then you will see a folder named cmake/stm32cubemx// with one toolchain file and one bigger file. The bigger file is the one you are looking for. There is everything ST uses split up into OBJECT libraries which are circuarly depending on each other. Pretty neat.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @JustinBlaber
  • Low reputation (1):
Posted by: sjmemohannah

79786648

Date: 2025-10-09 16:33:35
Score: 1.5
Natty:
Report link

The error "npm error could not determine executable to run" when executing npx tailwindcss init "-p" after installing tailwindcss and @tailwindcss/vite suggests an incompatibility or a change in the expected command for initializing Tailwind CSS, particularly with the latest versions (like Tailwind CSS v4).

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

79786633

Date: 2025-10-09 16:17:30
Score: 4
Natty:
Report link

Upgrading to kotlin 2.1 fixed this issue, allowing to us @JsExport in commonMain. (Thanks to folks in kotlin lang slack for pointing this out)

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @JsExport
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: user7858768

79786632

Date: 2025-10-09 16:13:28
Score: 6.5 🚩
Natty: 4.5
Report link

We are trying to put a background image in the sense of a watermark in the certification of completion report for LMS. In PRD it looks good but uploading to LMS the image is just not shown in the output of the report. We have tried different way to add it but none was solving the issue. Do you have any hint on that?

Reasons:
  • RegEx Blacklisted phrase (2.5): Do you have any
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ben Hur

79786623

Date: 2025-10-09 16:06:25
Score: 2
Natty:
Report link

getch() returns two keystrokes for arrow keys. First an extended-key prefix (0 or 224), then the actual code ('H','P','K','M'). Your loop prints the board before reading the full arrow key, so the first getch() reads only the prefix (no move happens), the loop iterates and prints again, and only then the second getch() reads the real arrow code—making it look like the board prints twice. Fix it by swallowing the prefix and printing after you handle the move.

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

79786620

Date: 2025-10-09 16:04:25
Score: 1.5
Natty:
Report link

The issue has been identified. Updates were being made to the wrong appsetting file. Updates were being made to Windows appsetting rather than the Linux appsetting. So the application was still using a mongodb connection string of 'localhost:27017' rather than the correct one (as displayed in my original post).
Appreciate all the responses for helping me looking into the problem.

Correct bindIp: 127.0.0.1,<LocalHostName>
Correct mongodb connection string: "mongodb://<hostname1>:27017,<hostname2>:27017?replicaSet=mysetName&readPreference=nearest"

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Cyber

79786603

Date: 2025-10-09 15:49:21
Score: 1.5
Natty:
Report link

Die Deprecation Warning verschwindet in TYPO3 v12+, indem Sie auf die Request-Attribute zugreifen (siehe Code unten). Für abwärtskompatiblen Code verwenden Sie eine Versionsprüfung.

Bonus-Tipp für PHP 8.2: Bei TYPO3 mit PHP 8.2 können auch 'Creation of dynamic property' Warnings auftreten. Lösungen: Properties explizit deklarieren oder das AllowDynamicProperties-Attribut verwenden.

Weitere Infos: docs.typo3.org im TYPO3 v12 Changelog.

TYPO3-Entwicklung: clicksgefuehle.at

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Andreas Wenth Agentur clicksge

79786594

Date: 2025-10-09 15:39:18
Score: 2.5
Natty:
Report link

THis message indicates you need to increase the disk volume as it has reached the threshold defined witn environment variable `DISK_USE_WARNING_PERCENTAGE` as stated in https://docs.weaviate.io/deploy/configuration/env-vars

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

79786593

Date: 2025-10-09 15:38:17
Score: 1
Natty:
Report link

Use bracket notation instead of dot notation for this.

col = "A"
df.loc[df[col]=="bla","B"]=3
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: pixel-process

79786576

Date: 2025-10-09 15:20:12
Score: 1.5
Natty:
Report link

From libgdx official Tool page --> https://libgdx.com/dev/tools/
HyperLap2D is tailored for this exact same purpose

Otherwise there is Tiled --> https://www.mapeditor.org/

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

79786575

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

Just downgrade the Jupyter plugin

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

79786574

Date: 2025-10-09 15:19:11
Score: 3
Natty:
Report link

You can do this with just the menu as well. Go to compute variable and create an expression it will automatically create it

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

79786573

Date: 2025-10-09 15:19:11
Score: 1.5
Natty:
Report link

Today, my Visual Studio 2026 Insider completely stopped launching. I repeatedly told it not to display error messages. After that, the splash screen would only appear upon startup, then immediately disappear. I ran the entire recovery mode, but that didn't help. Then I went into the Cache directory and renamed it. That didn't help either. Then I renamed both 18.0_[letters-numbers] directories (to hide them and then, if necessary, bring them back) and launched Visual Studio – everything started normally.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Александр Капустин

79786572

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

You need to install Windows Workflow Foundation (WF) support in Visual Studio — it’s not included by default in newer versions of Visual Studio (like 2022).Without it, workflow projects (.xaml or .xamlx) will fail to build, showing XamlBuildTask errors.

  1. Steps to install Windows Workflow Foundation in Visual Studio 2022

  2. Open Visual Studio Installer-> Modify your Visual Studio installation

  3. Modify.

  4. Go to “Individual components” tab

(It should look like this:)

enter image description here
(screenshot reference from Visual Studio Installer)

Click “Modify” (bottom right)

That should resolve the XamlBuildTask error for Windows Workflow projects.

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ishank Singh

79786561

Date: 2025-10-09 14:57:06
Score: 1
Natty:
Report link
import org.gradle.internal.os.OperatingSystem
var os: OperatingSystem? = OperatingSystem.current()
if (os?.isMacOsX == true) { }
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: licryle

79786559

Date: 2025-10-09 14:54:05
Score: 0.5
Natty:
Report link

For detecting the zoom with the roam option, try using one of the roam event listeners. For me, graphRoam did the job (for my graph type chart). Its params include a "zoom" property that shows you the current zoom-level.

https://echarts.apache.org/en/api.html#events.graphroam

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

79786547

Date: 2025-10-09 14:43:02
Score: 3
Natty:
Report link

After Aparslan's comment about version mismatch, I tried to rollback my C# and C# dev extensions from current versions to previous versions (C# Dev - v1.50.51 & C# 2.90.60) and the issue got fixed. IDK, but according to dotnet.microsoft.com, I'm using the latest version. And 9.0.9.sdk110-1 is the latest version on arch repositories.

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

79786542

Date: 2025-10-09 14:41:01
Score: 2
Natty:
Report link

In your image.bb add:

TOOLCHAIN_HOST_TASK:append = " openssl"

This is rather implicitly suggested by the docs as well.

Take note:

If this doesn't fix it, please provide more information, like the exact lines that you tried.

Reasons:
  • RegEx Blacklisted phrase (2.5): please provide
  • Has code block (-0.5):
Posted by: Mo_

79786533

Date: 2025-10-09 14:30:59
Score: 0.5
Natty:
Report link
Commonly you can get the data with these usage id and pages from microsoft : 

https://learn.microsoft.com/en-us/windows-hardware/design/component-guidelines/windows-precision-touchpad-required-hid-top-level-collections#windows-precision-touchpad-input-reports
https://learn.microsoft.com/en-us/windows-hardware/design/component-guidelines/touchpad-windows-precision-touchpad-collection

Member  Description                         Page    ID      Mandatory/Optional
X       X coordinate of contact position    0x01    0x30    Mandatory for T Optional for C
Y       Y coordinate of contact position    0x01    0x31    Mandatory for T Optional for C

X/Y

The X and Y values report the coordinates of a given contact. A Windows Precision Touchpad should report one point for each contact. The following global items should be specified for both the X and Y usages:

Logical minimum & Logical maximum (ensuring greater than or equal to 300DPI input resolution).

Note  The entire logical coordinate range should be reportable across both the X and Y axis.

Physical minimum & Physical maximum (see Device Integration - Size).

Unit & unit exponent.

The coordinate 0,0 (x, y values) indicates the top left corner of the touchpad.

---

https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/hidpi/ns-hidpi-_hidp_value_caps

Coordinates are in array if valueCaps[i].UsagePage = 1 and valueCaps[i].NotRange.Usage = 0x30 (x), valueCaps[i].NotRange.Usage = 0x30 (y)

xLogicalMin, yLogicalMin, xLogicalMax, yLogicalMax are in valueCaps[i] array

    xLogicalMin = valueCaps[i].LogicalMin;
    xLogicalMax = valueCaps[i].LogicalMax;
    xPhysicalMin = valueCaps[i].PhysicalMin;
    xPhysicalMax = valueCaps[i].PhysicalMax;

Apparently xLogicalMax, xLogicalMax  are more in line with the parameters of the Touchpad.

Sample

https://stackoverflow.com/questions/47005610/x-and-y-coordinate-from-precision-touchpad-with-raw-input?noredirect=1
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Alexander Alexander2

79786532

Date: 2025-10-09 14:29:58
Score: 5
Natty: 6
Report link

https://www.youtube.com/watch?v=BCIjl7aJmmE this tutorial WORK!!!, Blender to Collada (.DAE), Fix broken bones & keep animation smooth!

Reasons:
  • Blacklisted phrase (1): this tutorial
  • Blacklisted phrase (1): youtube.com
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jonaelvider10

79786526

Date: 2025-10-09 14:24:57
Score: 1.5
Natty:
Report link

Change EMAIL_PASSWORDEMAIL_HOST_PASSWORD

Use the correct port/protocol combo

Verify the app password belongs to the same account

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

79786524

Date: 2025-10-09 14:20:56
Score: 0.5
Natty:
Report link

When generating ActiveStorage variants with libvips you may strip exif data by passing saver: { strip: true} argument. E.g.

photo.file.variant(
    resize_to_fill: [102, 102, {crop: "attention"}],
    convert: 'avif',
    saver: { 
      quality: 40,
      strip: true
    }
)

If you are using imagick as processor, according to doc you may use strip: true as param of variant function, but I haven't tested this.

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: remo

79786498

Date: 2025-10-09 13:58:49
Score: 0.5
Natty:
Report link

I had a similiar issue and noticed that I needed the following to be true:

  1. Although I had installed WSL, I was missing an important individual component, make sure within the Visual Studio installer that you have installed the "C++ CMake tools for Linux" (in addition to the "Linux and embedded development with C++" workload)

  2. Have WSL installed and set it up as a Remote Connection within visual studio. To do this follow the instructions on this page

wsl hostname -I
Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: PolarHalo

79786493

Date: 2025-10-09 13:52:47
Score: 2.5
Natty:
Report link

Jghh

vnd.android.cursor.item/vnd.com.whatsapp.w4b.voip.call

header 1 header 2
cell 1 cell 2
cell 3 cell 4yhg
Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: محمد محمود

79786489

Date: 2025-10-09 13:48:45
Score: 10 🚩
Natty: 4.5
Report link

Did you found any solution, iam facing the same issue

And even the pre approved templates are also being rejected

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): Did you found any solution
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): facing the same issue
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Kaukuntla Prudvi Raj

79786483

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

With legacy Excel such as Excel 2013 this formula works in my sample file. The formula must be entered as an arrayformula with ctrl+shift+enter if someone doesn't work with Office 365 or Excel for the web or Excel 2024.

=SUMPRODUCT((MMULT(N(A3:A16=TRANSPOSE(M4:M6)),ROW(A1:A3)^0)*MMULT(N(B3:B16=TRANSPOSE(N4:N6)),ROW(A1:A3)^0))*C3:C16*INDEX(H3:J16,,MATCH(L4,H1:J1,0)))

calculate sumproduct

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

79786475

Date: 2025-10-09 13:36:42
Score: 3
Natty:
Report link

I had a similar issue on Linux and in my case was due to another library (xaringanthemer) enabling showtext behind the scenes. For folks having a similar issues, try running

library(showtext)
showtext_auto(FALSE)

before your plotting code.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): having a similar issue
  • Low reputation (0.5):
Posted by: matteo

79786467

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

What is your bottleneck?

  1. JMeter needs to be properly tuned for high loads, make sure to follow JMeter Best Practices and recommendations from 9 Easy Solutions for a JMeter Load Test “Out of Memory” Failure article.

  2. Your operating system needs to be tuned as well in particular:

  3. If you're still hitting CPU or RAM limits consider using i.e. Tsung which is known for producing higher throughput from the same hardware. But be aware that you won't be able to create more than 65535 because this is the maximum number of TCP ports

Reasons:
  • Blacklisted phrase (1): What is your
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What is you
  • High reputation (-1):
Posted by: Ivan G

79786453

Date: 2025-10-09 13:16:35
Score: 5.5
Natty: 5
Report link

Straightforward tutorial on youtube:

https://www.youtube.com/watch?v=BmdmNSQ0TM0

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

79786452

Date: 2025-10-09 13:14:34
Score: 2
Natty:
Report link

I know this is an old question but these extra characters could be byte markers for data aggregation; you may need to de-aggregate the stream in the Lambda if the producer is aggregating the data into Kinesis.

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

79786449

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

I believe this is because it executes using the account set as the default in your browser when you are signed into multiple accounts. I ran into a similar issue, and it work by using another browser signed in only to the account that I used to create the script. Typically the account you login to first is set as the default automatically and you don't have control over switching the default account. You would have to sign out of all accounts and sign in to the account you want to be the default first.

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

79786446

Date: 2025-10-09 13:06:31
Score: 1
Natty:
Report link

Well, to tell the truth, both MVC and WebFlux are equally well supported — no bias here.
But the real magic of the reactive stack lies in the fact that it’s fully asynchronous straight out of the box. Every DataFetcher runs asynchronously, and queries (including all those nested subqueries) that are invoked in parallel actually execute in parallel. This help a lot according to my experience :)

That gives you an impactful performance boost, especially when you start playing with GraphQL namespacing techniques — where multiple query segments can resolve simultaneously without blocking the main thread.

Another day, another WebFlux win. GraphQL Java defines subscriptions as reactive-stream Publishers, so Flux/Mono it is — or Observable, if you’re still dabbling in the dark arts of RxJava. 🧙‍♂️

Reactive all the way ;) 🚀

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

79786444

Date: 2025-10-09 13:01:30
Score: 1.5
Natty:
Report link
  1. Open the floating keyboard and press the gear icon.

  2. Look for "Write in text fields" and press it. Then deactivate this feature.

  3. Go back to the previous screen and now look for "Physical Keyboard". Once inside, activate "Show on-screen keyboard".

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

79786440

Date: 2025-10-09 12:57:28
Score: 1
Natty:
Report link

I'm not sure if it's actual solution but may be worth trying. I copied the text from Bluetooth Serial Port GPS receiver docs about how to make it work on Windows 11 (link has screenshots, scroll to the bottom, to "Facing problems" section of FAQ)

Windows 11 has modified the Bluetooth device listing and the Balloon Live sensor must now be paired via the “old” Device pairing dialog.

In the “Bluetooth & Devices” section, scroll down and select “More devices and printer settings”

In the new “Devices and Printers” dialog, select “Add a device”

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

79786439

Date: 2025-10-09 12:56:28
Score: 4.5
Natty:
Report link

Perhaps you can review this article's Docker installation guide.

Reasons:
  • Blacklisted phrase (1): this article
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Code Hustle

79786436

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

I heavily use this pattern. It is very helpful to quickly navigate to certain elements. It improves readability.

You can break the component into smaller components, but sometimes it not possible or doesnt make sense. Eg. <Header> component renders <Logo>, <Menu>, <Search>, <UserIcon>, <SettingsMenu>. There components cant be further broken down. So Header component has to render all these components. And if these components take 3 props each then already return statement will span over 15 lines. Instead I put these into renderLogo(), renderMenu(), renderSearch()... It becomes so easy to read and navigate.

I highly recommend others to use this pattern as well.

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

79786432

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

yea fs twin it definetely works on fonem grave

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kool kid 123 I dont vibecode

79786430

Date: 2025-10-09 12:52:26
Score: 1
Natty:
Report link

The Stack Overflow question sought a workaround for achieving atomicity and memory ordering (fencing) in a multithreaded C++ application when restricted to the old gcc 4.4 compiler without C++11 features. The accepted solution advises using the available standard library feature, std::mutex, to protect the shared variable, noting that while it's an "overkill" for simple atomic operations, it reliably ensures thread-safe access under those specific constraints. Privacy Fence Augusta

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

79786423

Date: 2025-10-09 12:45:24
Score: 3
Natty:
Report link

Folder.gradle is recreated anyway after reboot and starts filling up with files.

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

79786414

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

I have fixed this issue by adding (in the main class):
System.setProperty("org.apache.poi.ss.ignoreMissingFontSystem", "true")

Hope it will help

Regards

Reasons:
  • Blacklisted phrase (1): Regards
  • Whitelisted phrase (-1): Hope it will help
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: walid

79786410

Date: 2025-10-09 12:37:21
Score: 2.5
Natty:
Report link

10 LET SUM = 0

20 FOR I = 1 TO 10

30 PRINT "ENTER NUMBER "; I

40 INPUT N

50 LET SUM = SUM + N

60 NEXT I

70 LET AVERAGE = SUM / 10

80 PRINT "THE AVERAGE = "; AVERAGE

90 END

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

79786406

Date: 2025-10-09 12:35:20
Score: 4.5
Natty:
Report link

Closing pending further research

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Self-answer (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Space Cadet

79786396

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

I would probably break down the app, assuming that not all code is required at the initial load.

One way to do this, is to have web components that handles the data loading through a data service so that components aren't registered and templates aren't fetched before they are needed.

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

79786373

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

For responsive ad unit you can limit height or even set is as fixed via CSS as specified in AdSense documentation.

.above_the_fold_ad_unit {
  height: 90px;
}

What's important if you are doing this you have to remove these attributes from ad-unit tag

data-ad-format="auto"
data-full-width-responsive="true"
Reasons:
  • Contains signature (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: remo

79786367

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

I guess because the Skillcd column is an integer the IN wasn't working but I switched it to this and it's working now.

Distinct(
    SortByColumns(
        Filter(
            'Personnel.PersonMasters',
            TermFlag = false &&
            (
                SkillCd = "0934" ||
                SkillCd = "0027" ||
                SkillCd = "0840" ||
                SkillCd = "0962" ||
                SkillCd = "0526"
            )
        ),
        "DisplayName",
        "Ascending"
    ),
    DisplayName
)
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Dskipper

79786366

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

This was probably due to windows server maintenance / regular restarts in our organization while the job was running. Active batch couldn't track the running process so it reported Lost exit code description

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

79786346

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

You can add stopPropagation and preventDefault like this:

return (
<form onSubmit={event => {
    event.stopPropagation()
    // add preventDefault if necessary
    handleSubmit(onSubmit, onError)(event)
}}>
{...}
</form>)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gabriel Stafoca

79786343

Date: 2025-10-09 11:35:04
Score: 2.5
Natty:
Report link

Weird that they would all go down like that. Are you sure it's not on your side?

I also just checked on Chainstack Solana Devnet nodes and it works fine, so try that too.

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

79786342

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

Was facing above error because i was using jfrog server as host but the expected host is "reponame.host". For eg if the registry name is "test-jfrog-registry" and the host name is "abc.jfrog.io" then the right host would be test-jfrog-registry.abc.jfrog.io and not abc.jfrog.io/test-jfrog-registry
Correct command
echo $JFROG_TOKEN | docker login test-jfrog-registry.abc.jfrog.io --username $JFROG_USERNAME --password-stdin

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

79786341

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

I had the same crash after adding a custom attribute for my View. Turned out attribute's name conflicted with some system attribute, so I had to add prefix to it

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: t3ddys

79786332

Date: 2025-10-09 11:24:01
Score: 1
Natty:
Report link

Unity 6 supports C# 9 ony, C# 10 is not supported. As per documentation:

C# language version: C# 9.0

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

79786329

Date: 2025-10-09 11:21:00
Score: 0.5
Natty:
Report link

Setting the getPopupContainer prop on the Tooltip fixed the issue for me

<Tooltip
      placement={ToolTipPlacement.Top}
      title={toolTip ?? 'Copy'}
      getPopupContainer={(trigger) => trigger.parentElement || document.body}
    >...</Tooltip>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Nick B

79786328

Date: 2025-10-09 11:21:00
Score: 0.5
Natty:
Report link

What i understood is ur app becomes slow because it is waiting for the whole file to load and then it shows you the save as dialog box.
So ur UI feels like blocked or stuck ....So if this is the problem then , Instead of using Angular httpclient to fetch the file, you must let the browser to handle the download directly.

public void download(....){

// dont return Response Entity<ByteArrayResource> ....
instead

response.setContentType("text/csv");
response.setHeader( your header);

response.setContentLength(butes.length);

ServletOutputStream os = response.getOutputStream();

os.write();

os.flush()

os.close();

/*Pls. check the code before use ... just giving you an idea*/

// this approach streams the bytes directly to the HTTP response and browser confuses with the input type and transfer the control on client side that "what you want my boss"

}

and make some changes in front end side too

because you r using

this.http.get(url,{

// some code

})
mand
if(event.type== ..response){

saveAs(...)

}
means first download the file / load the file and then use ..only then after u would able to do save as

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Starts with a question (0.5): What i
  • Low reputation (0.5):
Posted by: Ashish Bansal

79786327

Date: 2025-10-09 11:21:00
Score: 0.5
Natty:
Report link

This is over ten years late, but I found a workaround for this. I discovered through debugging the notification of row validation errors that the "binding group" representing the whole row was not marked to notify on validation error. Since my row validation (based on another example here on StackOverflow) had already discovered the binding group, it was a simple matter to force notification by setting the "NotifyOnValidationError" for the binding group to true.

public override ValidationResult Validate(object value, CultureInfo cultureInfo)
{
    if (value is BindingGroup bindingGroup && bindingGroup.Items.Count > 0)
    {
        bindingGroup.NotifyOnValidationError = true;
        // Insert validation code here.
    }
    return ValidationResult.ValidResult;
}

Ideally, this would be handled through XAML markup, but I don't see where that could be done for rows.

Reasons:
  • Blacklisted phrase (1): StackOverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Rick Papo

79786324

Date: 2025-10-09 11:14:58
Score: 1
Natty:
Report link

Apex debugger on VSCode is reading the log you provide. It will stop when the line of the log reaches a breakpoint in VSCode that matches the log.
If it is not stopping, it could be a number of reasons:

In my experience, the debugger is generally working, but sometimes it just doesn't work. In those cases, I reduce my test to just some lines, try again to see if it works, and then add code to the test in smaller steps.

On a side note, you are using Test.startTest in your @testSetup method. This isn't advisable, and could be messing with your debugger as well.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • User mentioned (1): @testSetup
  • Low reputation (0.5):
Posted by: Alvaro

79786318

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

Thanks to @IanAbbott in the comments, I now understand why waking 1 waiter would be incorrect. Assuming a semaphore with 2 waiters (and thus a count of -1), here is how sem_post waking only 1 waiter, followed by another sem_post, would behave:

  poster                     waiter 1                  waiter 2
                           in sem_wait()             in sem_wait()
sem_post() called
sem->count = 1
previous count -1
=> wake 1 waiter
                           gets woken up
                           sem->count = 0
                           returns from sem_wait()

...

sem_post() called again
sem->count++ (so 1)
previous count 0
=> no futex_wake

Waking all waiters ensures that the waiter that fails to grab the semaphore will decrement it to -1 again and not leave it at 0, indicating there are still waiters to be woken up on the next sem_post.

I should also note that it would not be correct to do the less naïve change of waking 2 (resp. N) waiters, since the same situation described above could arise again with 3 or more (resp. N+1 or more) waiters, if an additional (resp. N-1 additional) sem_post races its way before the woken up waiters attempt to grab the semaphore.

Implementations such as musl and glibc seem to implement semaphores differently, with a separate waiters count, and are thus able to wake only 1 waiter in sem_post when possible (i.e. in the absence of concurrent updates, I assume):

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @IanAbbott
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: LaomaiWeng

79786303

Date: 2025-10-09 10:46:52
Score: 1
Natty:
Report link

When debugging Python code in Visual Studio Code (VS Code) and want to view the full call stack, the process mainly involves configuring your launch.json file and using the VS Code Debug Console effectively.

  1. Open the Run and Debug Panel

    • Click on the Run and Debug icon on the left sidebar or press Ctrl + Shift + D.

    • Select “create a launch.json file” if you don’t already have one.

  2. Edit Your launch.json
    Add or modify your configuration like this:

    {
        "version": "0.2.0",
        "configurations": [
            {
                "name": "Python: Current File",
                "type": "python",
                "request": "launch",
                "program": "${file}",
                "console": "integratedTerminal",
                "justMyCode": false
            }
        ]
    }
    
    
  3. Setting "justMyCode": false ensures that VS Code displays the full call stack, including library and framework code — not just your own Python files.

    Viewing the Full Stack Trace

    • When an error or exception occurs, open the CALL STACK panel (right side of the Debug view).

    • It will list all function calls leading to the current point, from external libraries to your script.

    • You can click any frame in the stack to view the exact line of code that was executed.

    For unhandled exceptions or runtime errors, the Debug Console or Terminal will also display a full traceback:

    Traceback (most recent call last):
      File "main.py", line 20, in <module>
        run_app()
      File "app.py", line 12, in run_app
        start_server()
      ...
    Exception: Something went wrong
    

    know more - Follow Izeon IT Training

Reasons:
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Izeon IT Training

79786290

Date: 2025-10-09 10:29:48
Score: 3
Natty:
Report link

i spend some time to fix this error.

Here is what i did to fix it: after stress and "why, why ,why " , i just reinstalled Expo GO on my iOS.

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