79665183

Date: 2025-06-13 17:13:58
Score: 1
Natty:
Report link

I misput the closing bracket in the homeController file

router.post('/put-crud'), homeController.putCRUD;

// it should be

router.post('/put-crud', homeController.putCRUD);
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Dr Linh Chi Nguyen

79665182

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

Instead of using IClassFixture<T> you should use ICollectionFixture which allows you to create a single test context and share it among tests in several test classes. You can find an example of the usage here Collection Fixtures. Hope it helps🤞🥲.

Reasons:
  • Whitelisted phrase (-1): Hope it helps
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ismael Herrera

79665175

Date: 2025-06-13 17:03:55
Score: 2.5
Natty:
Report link

I have always used it this way:

ifndef MAKECMDGOALS
        @echo "$$(MAKECMDGOALS) is not defined"
    else 
        @echo "$(MAKECMDGOALS) is defined"
    endif

No parentheses, or "$" sign. A lesson hard learned, or was it? What is the difference in these two syntaxes?

ifndef $(MAKECMDGOALS)
        @echo "$$(MAKECMDGOALS) is not defined"
    else 
        @echo "$(MAKECMDGOALS) is defined"
    endif
Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Clarkman

79665170

Date: 2025-06-13 16:56:52
Score: 6.5 🚩
Natty:
Report link

I found a Way to Resolve the CSRF Token Mistach Error on Insomnia. By default we have a funcionality that takes a Header value and store it in a Tag/Environment Variable.

But the XSRF token comes with a bad formatation and just put it as reference on the headers is'nt enough to Correct it.

Below i'will pass a function that extract the corret value from the XSRF TOKEN in the header and store it correctly in a environment variable:

**1. Create an Empty envinronment variable**

```

{

"XSRF_TOKEN": ""

}

```

**2. Create a new HTTP Request on Insomnia, put your URL with GET method.**

````` you-api/sanctum/csrf-cookie` ``

**3. Below URL we have different paths of configuration like Params, Body, Auth, go to Scripts and put the code Below**

```

const cookieHeaders = insomnia.response.headers

.filter(h => h.key.toLowerCase() === 'set-cookie');

const xsrfHeader = cookieHeaders

.find(h => h.value.startsWith('XSRF-'));

console.log(xsrfHeader);

if (xsrfHeader) {

// 3. Extrai o valor do cookie

let xsrfValue = xsrfHeader.value

.split(';')\[0\]             // "XSRF-TOKEN=…"

.split('=')\[1\];            // pega só o valor

xsrfValue = xsrfValue.slice(0, -3);

// 4. Armazena na base environment

insomnia.environment.set("XSRF_TOKEN", xsrfValue);

console.log('⭐ XSRF-TOKEN salvo:', xsrfValue);

} else {

console.warn('⚠️ XSRF-TOKEN não encontrado no header');

}

```

In console of response you can see if any errors occurs.

**4. Finally put the variable on the Headers of any Http Request as you want. Like this:**

```

header value

X-XSRF-TOKEN {{XSRF_TOKEN}}

```

After that you will be able to make Your Request to your login and Have access to your application and Auth::user !

Obs: I already was receving the Token in Frontend so my Backend was okay, if you dont, just follow the steps of a lot of youtubers, in my case i've struggle for a while in this step because my domain of backend and frontend was not of the same origin.

i Create an environment domain for main application to redirect the localhost of Frontend and Backend.

My Backend is a server vagrant that points to **http://api-dev.local** and my frontend is

**http://frontend.api-dev.local**

Below my** vite.config.js** where i change the domain, "you have to point the domain in your hosts file of your system" i'm using Windows 11"

```

import { fileURLToPath, URL } from 'node:url'

import { defineConfig } from 'vite'

import vue from '@vitejs/plugin-vue'

import vueDevTools from 'vite-plugin-vue-devtools'

// https://vite.dev/config/

export default defineConfig({

plugins: [

vue(),

vueDevTools(),

],

resolve: {

alias: {

  '@': fileURLToPath(new URL('./src', import.meta.url))

},

},

// server: {

// host: 'test-dev.local',

// port: 5173,

// https: false, // ou true se você gerar certificado local

// }

server: {

host: 'frontend.api-dev.local',

port: 5173,

https: false,

cors: true

}

})

```

and my Important Variables in **.env** of laravel

`APP_URL=http://api-dev.local

SESSION_DOMAIN=.api-dev.local

SANCTUM_STATEFUL_DOMAINS=http://frontend.api-dev.local:5173

FRONTEND_URL=http://frontend.api-dev.local:5173`

Final OBS:

The routes are in WEB not in API, below you see my **web.php** file

```

<?php

use App\Http\Controllers\AuthController;

use Illuminate\Support\Facades\Route;

use App\Modulos\Usuario\Http\ApiRoute as UsuarioRoute;

Route::get('/', function () {

return view('welcome');

});

Route::middleware('web')->group(function () {

Route::post('/login', \[AuthController::class, 'login'\])-\>name('login');

Route::post('/logout', \[AuthController::class, 'logout'\])-\>name('logout');

Route::get('/user', \[AuthController::class, 'user'\])-\>name('user')-\>middleware('auth');

UsuarioRoute::routes();

});

```

I'm not using the user route in this case, just return the user data in login.

My English is so Bad, glad to Help!

Finally you will be able to Resolve the problem

Reasons:
  • Blacklisted phrase (3): você
  • Blacklisted phrase (1): não
  • RegEx Blacklisted phrase (2): encontrado
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Dênio Clécio

79665158

Date: 2025-06-13 16:48:50
Score: 1.5
Natty:
Report link
Downloading Chromium 136.0.7103.25 (playwright build v1169) from https://playwright.download.prss.microsoft.com/dbazure/download/playwright/builds/chromium/1169/chromium-win64.zip
Error: getaddrinfo ENOTFOUND playwright.download.prss.microsoft.com
    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:internal/dns/promises:99:17) {
  errno: -3008,
  code: 'ENOTFOUND',
  syscall: 'getaddrinfo',
  hostname: 'playwright.download.prss.microsoft.com'
}
Failed to install browsers
Error: Failed to download Chromium 136.0.7103.25 (playwright build v1169), caused by
Error: Download failure, code=1
    at ChildProcess.<anonymous> (G:\automatiza\Lib\site-packages\playwright\driver\package\lib\server\registry\browserFetcher.js:94:32)
    at ChildProcess.emit (node:events:518:28)
    at ChildProcess._handle.onexit (node:internal/child_process:293:12)

i am getting this error for all the 3 retries with 3 different domain names, in my docker file i am having command && playwright install --with-deps chromium, this command initially it was working but now after 3 retries also it is getting failed 
Reasons:
  • Blacklisted phrase (1): i am getting this error
  • RegEx Blacklisted phrase (1): i am getting this error
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Amit Ilakal

79665141

Date: 2025-06-13 16:32:46
Score: 1
Natty:
Report link

No negative impact—your approach is correct and commonly used.

Applying custom weights to the TF-IDF matrix (with norm=None), then normalizing each row using sklearn.preprocessing.normalize, produces unit vectors just like norm='l2' in TfidfVectorizer. This preserves cosine similarity and ensures each row has L2 norm = 1.

Key point: The order matters. Weighting first, then normalizing, gives you control over the influence of features before projecting vectors onto the unit sphere.

If you normalized before weighting, the vectors would not be unit length anymore.

There is no difference (other than order of operations) between the manual normalization and letting the vectorizer do it, as long as normalization is the last step.

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

79665136

Date: 2025-06-13 16:30:45
Score: 0.5
Natty:
Report link

ctor changed from an attribute macro to a proc macro at some point after version 0.2.0, which makes re-exporting not possible. Therefore, the solution is to use ctor = "0.2" within Cargo.toml for mylib.

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: mdf

79665135

Date: 2025-06-13 16:30:45
Score: 0.5
Natty:
Report link

You did not mention anything about adding permissions to the Android Manifest.

<uses-permission android:name="android.permission.CAMERA" />

You may also consider this if it is required:

<uses-feature android:name="android.hardware.camera" android:required="true" />

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

79665126

Date: 2025-06-13 16:17:41
Score: 2
Natty:
Report link

I think this policy export endpoint is the closest you can get.

https://help.zscaler.com/zia/policy-export#/exportPolicies-post

There are still a few other things to export (URL categories, groups, ATP URL list, etc.) if you want a complete picture.

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

79665117

Date: 2025-06-13 16:09:39
Score: 2
Natty:
Report link

I got the same problem and I tried installing the package multcompView then I used cld() function with my emmean object, without using pairs(), and I finally got an expected grouping.

For example:

library(tidyverse)
library(lme4)
library(lmerTest)
library(emmeans)
library(multcomp)

formula_str <- "log(OC) ~ sev_dpt * fraction + 1 + (1|Sites)" # where OC is numerical, and the other ones are factors
mod.lme <- lmer(as.formula(formula_str), data = db)

emmeans(mod.lme, list(pairwise~sev_dpt*fraction), adjust="tukey") %>%
  # pairs() %>% # I needed to avoid the use of pairs to make it work
  multcomp::cld()
Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): I got the same problem
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Luis D. Olivares

79665112

Date: 2025-06-13 16:04:38
Score: 0.5
Natty:
Report link

Versions matter. After ensuring both my host and micro frontend had the same angular version (19.0.0) and the same version of @angular-architects/native-federation (also 19.0.0) the NG0203 error disappeared an federation started working for me.

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

79665097

Date: 2025-06-13 15:51:35
Score: 3.5
Natty:
Report link

You're casting a char (from std::string) into an unsigned char. That's where the compiler warns about the possible loss of data.

This is innocuous as long as your input actually contains printable characters. If there's binary data in your string, that's when you could loose data. But you probably don't want to call Converter::tolower() passing a string with binary data, right?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Fernando Ramos

79665093

Date: 2025-06-13 15:50:34
Score: 2.5
Natty:
Report link

If anyone is looking for DiscUtils since Codeplex has shut down, It can be downloaded from Github: https://github.com/DiscUtils/DiscUtils

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

79665090

Date: 2025-06-13 15:43:32
Score: 0.5
Natty:
Report link

Why can’t I delete large nodes in Firebase Realtime Database? (TRIGGER_PAYLOAD_TOO_LARGE) Firebase Realtime Database has a hard limit: if a write/delete operation would trigger a payload larger than 1MB (because triggers/events send the full data), it fails with TRIGGER_PAYLOAD_TOO_LARGE. This limit affects deletes via:

Changing settings like .settings/strictTriggerValidation or using service accounts does not bypass this.

What can you do?

  1. Delete children in small batches If the problem node has many children, delete them in small groups (e.g., 100 at a time). Example (Admin SDK):
async function deleteInBatches(path) {
const ref = admin.database().ref(path);
let snap = await ref.limitToFirst(100).once('value');
while (snap.exists()) {
const updates = {};
snap.forEach(child =\> updates\[child.key\] = null);
await ref.update(updates);
snap = await ref.limitToFirst(100).once('value');
}
await ref.remove(); // Optionally remove empty parent
}

If any individual child exceeds 1MB, this method will also fail.

  1. No reliable way to force-delete huge single nodes If even a single child (or the node itself) is >1MB, there is no public method to delete it. No setting or permission will bypass this. This is a platform limitation by Firebase to protect against massive accidental deletes.

  2. Contact Firebase support If you absolutely must delete such data (especially in production), open a support ticket with your project and path. In some cases, Firebase support can perform backend deletes not possible via public APIs.

Prevention tips Avoid storing large blobs in Realtime Database; use Cloud Storage. Keep your data shallow and well-partitioned.

Summary:

Chunked/batched deletes work if children are small enough. No workaround exists for single nodes/children >1MB—contact support.

References:

Firebase Functions limits (https://firebase.google.com/docs/functions/limits)

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

79665087

Date: 2025-06-13 15:42:32
Score: 4
Natty:
Report link

1- عامر 🐺

2- ابدولا ♋️

3- خالد

4- محمد يوسف

5- محمد الهرمودي 🔷

6- محمد 🐉

7- عبدالله احمد

8- مايد ز

9- محمد الهاجري

10- عبدالسلام

11-اسماعيل

12-عبدالله الهاجري

13- حمد عارف

14- عيسى

15- بو مهره بامر من بوخالد

16- ماجد

17- عمران

18- روسي

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: Amer Al Zarouni

79665084

Date: 2025-06-13 15:40:30
Score: 6.5 🚩
Natty: 5.5
Report link

I followed this and the word wrap is working. Only problem is that the word wrapped text size has shrunk so much that I can hardly read it. Is there a way to remedy this?

Reasons:
  • Blacklisted phrase (1): Is there a way
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: RALPH

79665079

Date: 2025-06-13 15:38:29
Score: 0.5
Natty:
Report link

You probably need to add the jasypt spring boot library:

implementation 'com.github.ulisesbocchio:jasypt-spring-boot-starter:3.0.5'
<dependency>
    <groupId>com.github.ulisesbocchio</groupId>
    <artifactId>jasypt-spring-boot-starter</artifactId>
    <version>3.0.5</version>
</dependency>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Carlos Jafet Neto

79665061

Date: 2025-06-13 15:23:24
Score: 1
Natty:
Report link

To work in Pipenv from Jupyter Notebook do:

pipenv install ipykernel
pipenv shell

ipython kernel install --name=`basename $VIRTUAL_ENV` --user

jupyther notebook
# select .venv kernel

Note that ipython installation is made.

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

79665056

Date: 2025-06-13 15:21:24
Score: 1.5
Natty:
Report link

During SymfonyOnline June 2024, Fabien Potencier himself gave a talk about this topic.

The replay of the talk is free to view (requires a registration): https://live.symfony.com/account/replay/video/968

The slides are available here:

https://speakerdeck.com/fabpot/using-some-git-magic-on-the-symfony-mono-repository-6186213e-8ed7-4d47-8c69-d64748ec2ea9?slide=31

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

79665043

Date: 2025-06-13 15:13:21
Score: 1
Natty:
Report link

Looks like you aren't importing PassKit in your Swift code. Add import PassKit to the top and it should compile.

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

79665037

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

NoInfer<T>

There's a TypeScript utility type since version 5.4 for this very use case.

async function get<U>(url: string): Promise<NoInfer<U>> {
    return getUrl<U>(url);
}
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: B14s

79665032

Date: 2025-06-13 15:03:18
Score: 1.5
Natty:
Report link

🧩 Why isn’t resolveWebviewView ever called in my VS Code extension?

I want to share a subtle but critical pitfall that can break VS Code sidebar webviews and waste hours of debugging time. If your resolveWebviewView() method never gets called—no errors, no logs, just a stubborn placeholder in the sidebar—this might be your culprit.


Symptoms


What’s Actually Happening

Despite what most documentation suggests, just defining a view with an id in your package.json and registering a provider with the matching ID is not enough.

VS Code will happily display your sidebar view, but will never hook up your provider unless you explicitly set the view’s type to "webview" in package.json.


The Critical Line

You need this in your package.json view contribution:

"views": {
  "mySidebarContainer": [
    {
      "type": "webview",  // <-- This is required!
      "id": "mySidebarView",
      "name": "Dashboard"
    }
  ]
}

If you leave off "type": "webview", VS Code treats your view as a static placeholder.
Your provider will never be called—no matter how perfect your code is.


Why is this so tricky?

This makes it really hard to diagnose, especially in projects with build steps or lots of code.


Minimal Working Example

package.json (relevant bits):

"viewsContainers": {
  "activitybar": [
    {
      "id": "mySidebarContainer",
      "title": "My Sidebar",
      "icon": "media/icon.svg"
    }
  ]
},
"views": {
  "mySidebarContainer": [
    {
      "type": "webview",
      "id": "mySidebarView",
      "name": "Sidebar Webview"
    }
  ]
}

Activation:

vscode.window.registerWebviewViewProvider(
  "mySidebarView",
  new MySidebarViewProvider(context)
);

Provider:

export class MySidebarViewProvider implements vscode.WebviewViewProvider {
  resolveWebviewView(view: vscode.WebviewView) {
    view.webview.options = { enableScripts: true };
    view.webview.html = '<h1>It works!</h1>';
  }
}


Takeaway

If your sidebar webview isn’t working and resolveWebviewView is never called, double check that you included "type": "webview" in your view’s package.json entry.
This tiny detail makes all the difference and is easy to overlook.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • RegEx Blacklisted phrase (0.5): Why is this
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Daniel

79665021

Date: 2025-06-13 14:59:16
Score: 2
Natty:
Report link

I added "?ignore_skipped=true" on badges configuration URLs to hide skipped pipelines :

gitlab.tech.orange/%{project_path}/-/commits/%{default_branch}?ignore_skipped=true

gitlab.tech.orange/%{project_path}/badges/%{default_branch}/pipeline.svg?ignore_skipped=true

Follow this solution to hide skipped pipelines :

https://forum.gitlab.com/t/force-pipeline-on-tag-push-when-commit-message-contains-skip-ci/60169/2

.gitlab-ci.yml

workflow:  
  rules:  
    - if: $CI_COMMIT_MESSAGE =\~ /^chore\\(release\\):/  
      when: never  
    - when: always  

.releaserc

    \[  
      "@semantic-release/git",  
      {  
        "assets": \["CHANGELOG.md", "package.json", "package-lock.json", "npm-shrinkwrap.json", "constants/version.ts", "sonar-project.properties"\],
  
        "message": "chore(release): ${nextRelease.version}\\n\\n${nextRelease.notes}"  
      }  
    \],
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Yoan Huret

79665017

Date: 2025-06-13 14:55:15
Score: 2
Natty:
Report link

C++ is getting to know the hardware as it is used to denote a system like a television screen you see whether it is an input or output.

The software follows as when is is programmed by syntax to denote such as . for part of thereof.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Guru Dev Singh Khalsa

79665015

Date: 2025-06-13 14:55:15
Score: 0.5
Natty:
Report link

I’ve worked on similar hybrid setups during migrations — especially between Symfony versions — and this kind of session management conflict is pretty common.

Is there a proper way to tell Symfony 6 to not start a session but use the existing one?


// In a Symfony 6 controller or service
$session = $request->getSession();
if ($session->isStarted()) {
    // Access session safely without triggering session_start()
    $userId = $session->get('user_id');
}

But to avoid starting the session, you must:

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

79665012

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

We ran into similar problems with Azure functions. Our team tried multiple things. One of them was to move the functions folder out of the src/ directory and have it at the root of the project. Azure is weird. Also, there are multiple flags associated with remote build, look into that as well.

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

79665001

Date: 2025-06-13 14:35:10
Score: 0.5
Natty:
Report link

Try ensuring the .launch() call is distant from the registration call (at least not in the same (re)compose).

I suspect the Photo Picker behaves like other Activities, and thus this note from docs on getting results from activities would apply (emphasis mine):

Note: You must call registerForActivityResult() before the fragment or activity is created, but you can't launch the ActivityResultLauncher until the fragment or activity's Lifecycle has reached CREATED.

To me, this implies registerForActivityResult must be called early enough for the Lifecycle of the underlying Photo Picker activity to reach CREATED, though I'm unsure how to test that theory.

I only started Android dev today so 0 experience and YMMV, but this resolved the same issue for me.

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

79664998

Date: 2025-06-13 14:32:09
Score: 2.5
Natty:
Report link

I assume that this error is related to paths. In order to go to the fonts folder, you first need to exit the css folder. Try putting "../" in front of path, for example: "../fonts/Recoleta-SemiBold.woff"

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

79664997

Date: 2025-06-13 14:31:08
Score: 6 🚩
Natty: 4.5
Report link

Since VS2022 OnAfterBackgroundSolutionLoadComplete is deprecated. I can't find any reliable answer on what's the new designated way of listening to solution loading. Any ideas?

Reasons:
  • Blacklisted phrase (1): Any ideas
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Killian Lomax

79664990

Date: 2025-06-13 14:24:05
Score: 1.5
Natty:
Report link

You probably want to set render_template_as_native_obj=True for your DAG:

https://airflow.apache.org/docs/apache-airflow/stable/_api/airflow/models/dag/index.html#:~:text=render_template_as_native_obj%20%E2%80%93%20If%20True%2C%20uses%20a%20Jinja%20NativeEnvironment%20to%20render%20templates%20as%20native%20Python%20types.%20If%20False%2C%20a%20Jinja%20Environment%20is%20used%20to%20render%20templates%20as%20string%20values.

render_template_as_native_obj – If True, uses a Jinja NativeEnvironment to render templates as native Python types. If False, a Jinja Environment is used to render templates as string values.

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

79664989

Date: 2025-06-13 14:24:05
Score: 0.5
Natty:
Report link

I have found a workaround to display the image sharp.
It requires manually changing a value in the code each time you change scaling in Windows.

Step 1:

%%javascript
const ratio = window.devicePixelRatio;
alert("devicePixelRatio: " + ratio);

notification popup showing a devicePixelRatio  of 1.875

Step 2:

devicePixelRatio = 1.875 # manually enter the value that was shown

Step 3:

from PIL import Image
from IPython.display import HTML
import numpy as np
import io
import base64

# 32x32 data
bw_data = np.zeros((32,32),dtype=np.uint8)
# (odd_rows, even_columns)
bw_data[1::2,::2] = 1
# (even_rows, odd_columns)
bw_data[::2,1::2] = 1

# Build pixel-exact HTML
def display_pixel_image(np_array):
    # Convert binary image to black & white PIL image
    img = Image.fromarray(np_array * 255).convert('1')
    
    # Convert to base64-encoded PNG
    buf = io.BytesIO()
    img.save(buf, format='PNG')
    b64 = base64.b64encode(buf.getvalue()).decode('utf-8')
    
    # HTML + CSS to counteract scaling
    html = f"""
    <style>
      .pixel-art {{
        width: calc({img.width}px / {devicePixelRatio});
        image-rendering: pixelated;
        display: block;
        margin: 0;
        padding: 0;
      }}
    </style>
    <img class="pixel-art" src="data:image/png;base64,{b64}">
    """
    display(HTML(html))

display_pixel_image(bw_data)

output:

sharp image

Visual Studio Code cannot access ipython kernel so I don't know how to retrieve devicePixelRatio from Javascript. I tried to make an ipython widget, but was not able to refresh it automatically. If this can be done automatically then it won't require user input.

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

79664982

Date: 2025-06-13 14:20:04
Score: 6 🚩
Natty: 5
Report link

Did you got any solution for this how to capture winlogon screen with desktop duplication api

Reasons:
  • RegEx Blacklisted phrase (3): Did you got any solution
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (0.5):
Posted by: Sandeep Ks

79664979

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

django_stubs_ext.monkeypatch() should not be placed inside an if TYPE_CHECKING: block, because it needs to be executed at runtime, not just during type checking.

The purpose of this function is to patch certain Django internals so that mypy and type hints work correctly. If you wrap it in TYPE_CHECKING, it will never actually run during program execution — defeating its purpose.

As stated in the official documentation:

“This only needs to be called once, so the call to monkeypatch should be placed in your top-level settings.”

Therefore, make sure you call it at the very top of your settings file (or another central entry point) before any django imports.

Here is the link for the reference that I used to answer your question:

https://pypi.org/project/django-stubs-ext/

The example code that is provided in the documentation:

from os import environ

import django_stubs_ext
from split_settings.tools import include, optional

# Monkeypatching Django, so stubs will work for all generics,
# see: https://github.com/typeddjango/django-stubs
django_stubs_ext.monkeypatch()

# Managing environment via `DJANGO_ENV` variable:
environ.setdefault('DJANGO_ENV', 'development')
_ENV = environ['DJANGO_ENV']

_base_settings = (
    'components/common.py',
    'components/logging.py',
    'components/csp.py',
    'components/caches.py',

    # Select the right env:
    'environments/{0}.py'.format(_ENV),

    # Optionally override some settings:
    optional('environments/local.py'),
)

# Include settings:
include(*_base_settings)

Reasons:
  • Blacklisted phrase (1): Here is the link
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ari Maran

79664965

Date: 2025-06-13 14:06:00
Score: 1.5
Natty:
Report link
sudo apt install openmpi-bin 

solves the issue since it downgrades mpirun (was 4.2 now is 4.1.6)

the usual hello_world test works https://matthew.malensek.net/cs220/schedule/code/week07/mpi_hello.c.html

Hope it helps

Reasons:
  • Whitelisted phrase (-1): Hope it helps
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: PierreHenriMusiedlak

79664962

Date: 2025-06-13 14:05:00
Score: 0.5
Natty:
Report link

The simplest way to handle this would be to use a SetupIntent to create a Payment Method, then create all 5 subscriptions using the resulting Payment Method.

Stripe has a pretty thorough guide that covers the basics of using SetupIntents here:

https://docs.stripe.com/payments/save-and-reuse

For your specific flow it would look something like this:

  1. Create a Customer
const customer = await stripe.customers.create();
  1. Create the SetupIntent
const setupIntent = await stripe.setupIntents.create({
  customer: customer.id,
  usage: "off_session"
});
  1. Collect and confirm the payment details on the frontend using Stripe Elements

  2. Verify that the payment method has been created and attached to the customer (one way to do that would be listening for the payment_method.attached webhook event

  3. Create your subscriptions like so:

const subscription = await stripe.subscriptions.create({
  customer: customer.id,
  items: [
    {
      price: priceId,
    },
  ],
  default_payment_method: yourPMId
});

Alternatively, rather than providing the Payment Method ID when creating the subscription you can update the customer's default Payment Method: https://docs.stripe.com/api/customers/update#update_customer-invoice_settings-default_payment_method

It's also worth noting that if the billing period is the same for all of the subscriptions, you can just add them all as different items on the subscription per this guide: https://docs.stripe.com/billing/subscriptions/multiple-products

Reasons:
  • Blacklisted phrase (1): this guide
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: archiverat

79664959

Date: 2025-06-13 14:01:59
Score: 0.5
Natty:
Report link

I have noted that in the first one I am using

$billData = UploadInvoiceBillData::from($request->only(['invoice_number']));

Isntead of

$billData = UploadInvoiceBillData::validateAndCreate($request->only(['invoice_number']));

The second one I am using

$billData = BillData::from($request);

I feel from method only validates first if it is an instance of Illuminate\Http\Request

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

79664955

Date: 2025-06-13 13:58:58
Score: 1
Natty:
Report link

-- BEGIN SSH2 PUBLIC KEY ----

Comment: "rsa-key-20250327"

AAAAB3NzaC1yc2EAAAADAQABAAACAQC+WXWp fXhmT0OCNZNRh6xvhZHOF9bR/8c

u4O55pUUVnmJpwtXam1TWevtIC4CgyfMWa9jPGazYBFsat8FczdFUZ/fLb94UKe

IHH2G5Azclzy0tLUQMgAfbphimNL1CSeAgEctchnF2Ck89xcsSRs4M6TIFgr1o

ojplv4p0bUodJyVPfQc5tpbEmFbnHWY/wRCSUyM5sHv1iosf44Sy5vM2mXVtbES

pk5caQJ1ax/tP3hKAFepBb2wKcRkHWV/67cjnS/RzVgrU9XdtRVNv7jsdq7ZYKxc

PLN9Cyped4ZOfPRfenC/9eHWXRak29NYykN7RD92ZOjP7/dD3H6Y0kDcQ1oszX2c

H+JP17NG3p1qZVsnlzJBP8xvTRaXNYup5zkQcdQpfjMSdn45fddCo1cjnvIF/AG2

UkMKXfnroYdxIwGVUvDf76RQZyWs5rRNPQcPNmoGW+yJa0+LCdv7jsdGQDMShJ

puHMq0OZt9sLiQPJSK66zx9Q6W//cIoWAi9d8OYQMFqG07Px1TcLkyvJJJY8YBftk

ovkF8Je1E1BwCRcbt8mHuygMj1lxJutTkq4UJSsg0MmYQ0DxSP+ZoDmUHfnBd5H

zbaM8QWJ25OwNPIEGPosrxKFsxeEm8e2WJjWcMWTvvvKtiFVBcJvwkM4mFJsq4Re

WcuxXDP5yQ==

---- END SSH2 PUBLIC KEY ----

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

79664928

Date: 2025-06-13 13:34:52
Score: 1.5
Natty:
Report link

Ok, so here is the my answer to the question. I did not succeed to make diagram work with the beamer output (but the code is working with reealjs output, which was the original output). So at the end, this is what I did:

---
title: Test
author: 
  - John Due
format:
  beamer:
    pdf-engine: lualatex
    keep-tex: true
    header-includes:
      - \usepackage{tikz}
      - \usetikzlibrary{arrows.meta}
      - \tikzset{arrow/.style = {> = {Latex[length = 1.2mm]}}}
---

## Test
::: {.cell}

```{=latex}
\begin{tikzpicture}
  \node (i) at (0, 0) {i};
  \node (j) at (2, 0) {j};
  \draw[->, arrow] (i) -- (j);
\end{tikzpicture}
```

:::

Then, thanks to the comments of @SamR I could also fix the problems of nbformat and nbclient. Note that this was unrelated to the compilation problem of today (but I was also having problems with other documents...).

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @SamR
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: mistral

79664919

Date: 2025-06-13 13:29:50
Score: 0.5
Natty:
Report link
SELECT Acct.Id, TransactionCode, COUNT (*) as Cnt 
From Account
WHERE Acct.Id NOT IN (SELECT Acct.Id FROM Account WHERE TransactionCode NOT IN ('Code3','Code4') GROUP BY Acct.Id)
Group by Acct.Id, TransactionCode
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: stevestevesteve

79664909

Date: 2025-06-13 13:21:48
Score: 6.5 🚩
Natty: 4
Report link

Have you try using worker logs in INFO and see there how to remove package versions to allow pip to attempt to solve the dependency conflict ?

Reasons:
  • RegEx Blacklisted phrase (1.5): solve the dependency conflict ?
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nicolas Gargano

79664900

Date: 2025-06-13 13:14:46
Score: 1.5
Natty:
Report link

enter image description here
You need to add the exact url route (absolute path) you used in your code, which handles the authorization callback functions in the Backend

Add this url http://localhost:3000/auth/linkedin/callback endpoint in the LinkedIn developer under Auth section
https://developer.linkedin.com/

Ref the MS docs: https://learn.microsoft.com/en-us/linkedin/shared/authentication/authorization-code-flow?tabs=HTTPS1#step-1-configure-your-application

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

79664899

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

You are getting this error because when you activate the persistence, the baseline doesn't adjust by itself anymore.

So the data you stored into your caches are lost when the only node in the baseline shutdown.

You need to enable the baselineAutoAdjustEnabled so that the node leaving or joining the cluster will enter/leave the baseline and share all the data of your cache.

You should also configure backup to your cache and set the mode to REPLICATED to be sure you won't lost data.

Hope it help

Reasons:
  • Whitelisted phrase (-1): Hope it help
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Julien

79664894

Date: 2025-06-13 13:11:44
Score: 1.5
Natty:
Report link

There is a new feature in Marklogic 11 that relates to overflowing to disk in order to protect memory. It is only listed as an Optic feature. However, since optic is SPARQL under the hood, maybe the feature is kicking in and using disk.

The link below describes the feature and also various ways to see if it is being used.

https://docs.progress.com/bundle/marklogic-server-whats-new-11/page/topics/new-features-in-marklogic-11/adaptive-memory-algorithms-for-optic-sorts-and-joins.html

Reasons:
  • Blacklisted phrase (1): The link below
  • Probably link only (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: David Ennis -CleverLlamas.com

79664891

Date: 2025-06-13 13:07:43
Score: 0.5
Natty:
Report link

A third way to add to the answer of @kevin, is:
To recieve the value as String and set a validation-annotation. The validation-annotation could like:

@Constraint(validatedBy = {ValidEnum.EnumValidator.class})
@Target({TYPE, FIELD, TYPE_USE, PARAMETER})
@Retention(RUNTIME)
@Documented
public @interface ValidEnum {

    String message() default "your custom error-message";
    Class<?>[] groups() default {};
    Class<? extends Payload>[] payload() default {};
    Class<? extends Enum<?>> enumClass();

    class EnumValidator implements ConstraintValidator<ValidEnum, String> {

        protected List<String> values;
        protected String errorMessage;

        @Override
        public void initialize(ValidEnum annotation) {
            errorMessage = annotation.message();
            values = Stream.of(annotation.enumClass().getEnumConstants())
                           .map(Enum::name)
                           .toList();
        }

        @Override
        public boolean isValid(String value, ConstraintValidatorContext context) {
            if (!values.contains(value)) {
                context.disableDefaultConstraintViolation();
                context
                        .buildConstraintViolationWithTemplate(errorMessage)
                        .addConstraintViolation();
                return false;
            } else {
                return true;
            }
        }
    }
}

And use this newly created annotation to set on your class:

@Getter
@Setter
@NoArgsConstructor
public class UpdateUserByAdminDTO {
    private Boolean isBanned;
    private @ValidEnum(enumClass=RoleEnum.class) String role;
    private @ValidEnum(enumClass=RoleEnum.class, message="an override of the default error message") String anotherRole;
}

This way you get to reuse this annotation on whatever enum variable and even have a custom error for each of the different enums you want to check.

One remark: the annotation does not take into account that the enum may be null, so adapt the code to your needs

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

79664888

Date: 2025-06-13 13:06:43
Score: 3.5
Natty:
Report link

You can find all the info to set a private container registry in the official documentation at https://camel.apache.org/camel-k/next/installation/registry/registry.html#kubernetes-secret

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

79664869

Date: 2025-06-13 12:50:39
Score: 2
Natty:
Report link

I know I'm late but there's probably still people out there facing the same issue. Loading cookies or your own user profile isn't working at all since chrome updated to 137. version

Best you can do is downgrade your chrome and hold the package to avoid auto updating it.

Down below is everything you need in order to fix it (Linux

# Delete current version of chrome
sudo apt remove -y google-chrome-stable --allow-change-held-packages

# Download and install old version of chrome / Hold chrome version
cd tmp
wget -c https://mirror.cs.uchicago.edu/google-chrome/pool/main/g/google-chrome-stable/google-chrome-stable_134.0.6998.165-1_amd64.deb
sudo dpkg -i google-chrome-stable_134.0.6998.165-1_amd64.deb
sudo apt -f install -y
sudo apt-mark hold google-chrome-stable

# Also download the correct chromedriver and install it
sudo rm -f /usr/local/bin/chromedriver
wget -c https://storage.googleapis.com/chrome-for-testing-public/134.0.6998.165/linux64/chromedriver-linux64.zip
unzip chromedriver-linux64.zip
sudo mv chromedriver-linux64/chromedriver /usr/local/bin/
sudo chmod +x /usr/local/bin/chromedriver

For undetected_chromedriver:

driver = uc.Chrome(driver_executable_path="/usr/local/bin/chromedriver", version_main=134, use_subprocess=True)

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): facing the same issue
  • Low reputation (1):
Posted by: TheMysteryPanda

79664863

Date: 2025-06-13 12:47:38
Score: 2.5
Natty:
Report link

I was able to solve my issue by including the libraries from this repository:

Repository

If you're working with Qt on Android for USB serial communication, this library provides the necessary JNI bindings and Java classes to make it work. After integrating it properly, everything started working as expected.

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

79664858

Date: 2025-06-13 12:42:37
Score: 2.5
Natty:
Report link

Using the function app's managed identity (instead of a creating secret) is now available in preview, as documented in a section added recently to the article I mentioned in my question.

It works by adding the managed identity as a federated identity credential in the app registration. I implemented it in my azd template and it works like a charm (despite it is advertised as a preview at the date of this posting).

Reasons:
  • Contains signature (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Yvand

79664856

Date: 2025-06-13 12:42:37
Score: 0.5
Natty:
Report link

To force an update on Dockerfile image builds:

docker build --no-cache <all your other build options>

To force an update with docker compose

docker compose -f <compose file> up --build --force-recreate

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

79664852

Date: 2025-06-13 12:40:36
Score: 0.5
Natty:
Report link

To achieve this, I suggest using the tickPositioner function on the axis. You can make it to always return just one tick positioned at the center of the axis range.

API reference: https://api.highcharts.com/highcharts/xAxis.tickPositioner

Demo: https://jsfiddle.net/BlackLabel/63g80emu/

tickPositioner: function () {
    const axis = this;
    const range = axis.max - axis.min;
    const center = axis.min + range / 2;

    return [center];
},
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: Dominik Chudy

79664832

Date: 2025-06-13 12:27:32
Score: 2.5
Natty:
Report link

you also check this:

certificateVerifier.setAlertOnMissingRevocationData(new LogOnStatusAlert(Level.WARN));

where you do:

certificateVerifier.setCheckRevocationForUntrustedChains(false);

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

79664831

Date: 2025-06-13 12:25:32
Score: 3.5
Natty:
Report link

Found the answer, there's an API call called list_ingestions that gives me field (IngestionTimeInSeconds) that I was searching for.

Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Pedro

79664814

Date: 2025-06-13 12:07:28
Score: 2.5
Natty:
Report link

Your local dev NextJS version might be different from production.

do an upgrade on production to match the version you have in dev mode or localhost

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

79664807

Date: 2025-06-13 12:00:26
Score: 1.5
Natty:
Report link

Ok i finally figured it out. Here is a stripped down version of the code then ended working for me:

public async byte[] GetImage(string symbolpath)
{

    var getBitmapSizePath = symbolpath + "#<<ITcVnBitmapExportRpcUnlocked>>GetBitmapSize";
    var getBitmapPath = symbolpath + "#<<ITcVnBitmapExportRpcUnlocked>>GetBitmapImageRpcUnlocked";
    //see https://infosys.beckhoff.com/index.php?content=../content/1031/tf7xxx_tc3_vision/16954359435.html&id=
    var getBitmapSizeHandle = (await adsClient.CreateVariableHandleAsync(getBitmapSizePath, cancelToken)).Handle;
    var getBitmapHandle = (await adsClient.CreateVariableHandleAsync(getBitmapPath, cancelToken)).Handle;

    int status;
    ulong imageSize;
    uint width;
    uint height

    byte[] readBytes = new byte[20];
    byte[] sizeInput = new byte[8];

    var resultGetBitmapSize = await adsClient.ReadWriteAsync((uint)IndexGroupSymbolAccess.ValueByHandle, getBitmapSizeHandle, readBytes, sizeInput, cancelToken);

    //parse the result:
    using (var ms = new MemoryStream(readBytes))
    using (var reader = new BinaryReader(ms))
    {
        status = reader.ReadInt32();
        imageSize = reader.ReadUInt64();
        width = reader.ReadUInt32();
        height = reader.ReadUInt32();
    }

    //todo check resultGetBitmapSize and status on if it succeeded before continuing
    
    //now lets get the image

    //prep input 
    byte[] input = new byte[16];
    BitConverter.GetBytes(imageSize).CopyTo(input, 0);
    BitConverter.GetBytes(width).CopyTo(input, 8);
    BitConverter.GetBytes(height).CopyTo(input, 12);

    int imageBufferSize = 20 + (int)imageSize;
    byte[] buffer = new byte[imageBufferSize]; //todo use a shared array pool to limit memory use
    byte[] imageData = new byte[imageBufferSize];
    int imageStatus;

    var resultGetImage = await adsClient.ReadWriteAsync((uint)IndexGroupSymbolAccess.ValueByHandle, getBitmapHandle, buffer, input, cancelToken);

    //parse the result:
    using (var imageStream = new MemoryStream(imageDataArray))
    using (var imageReader = new BinaryReader(imageStream))
    {
        imageStatus = imageReader.ReadInt32();
        ulong byteCount = imageReader.ReadUInt64();
        imageReader.Read(imageData, 0, (int)byteCount);
    }

    //todo check resultGetImage and imageStatus to see if it was successful

    //clean up the handles
    await adsClient.DeleteVariableHandleAsync(getBitmapSizeHandle, cancelToken);
    await adsClient.DeleteVariableHandleAsync(getBitmapHandle, cancelToken);

    return imageData; //todo convert byte array to bitmap.
}

the main magic is that i needed to use ITcVnBitmapExportRpcUnlocked instead. This is documented here: https://infosys.beckhoff.com/index.php?content=../content/1031/tf7xxx_tc3_vision/16954359435.html&id=

Reasons:
  • Blacklisted phrase (0.5): i need
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: IT Hendriks

79664798

Date: 2025-06-13 11:56:25
Score: 3
Natty:
Report link

this is a more detailed answer of the one given by kungfooman

If you are using lutris:

enter image description here

Go to configure -> Turn on advanced toggle -> System options -> game execution -> Environment variables Click on Add and add

| MESA_EXTENSION_MAX_YEAR | 2002 |

enter image description here

and hit save

now you game will run hopefully.

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

79664793

Date: 2025-06-13 11:52:24
Score: 1
Natty:
Report link

I have used the official builds of ffmpeg 7.1 from here and it worked inside AWS Lambda running node22.

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

79664790

Date: 2025-06-13 11:51:23
Score: 4
Natty:
Report link

I use Laravel-ZipStream, it resolve all my problems !
Thanks !

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: vincent clerc

79664788

Date: 2025-06-13 11:49:22
Score: 2
Natty:
Report link
<soap:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <soap:Header>
      <Headers xmlns="urn:Ariba:Buyer:vrealm_2">
         <variant>vrealm_2</variant>
         <partition>prealm_2</partition>
      </Headers>
   </soap:Header>
   <soap:Body>
      <ContractRequestWSPullReply partition="prealm_2" variant="vrealm_2" xmlns="urn:Ariba:Buyer:vrealm_2"/>
   </soap:Body>
</soap:Envelope> i am not getting correct response any answer ?
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Naveen T

79664787

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

dart:html is deprecated.

Import the "web" package (https://pub.dev/packages/web) :

import "package:web/web.dart";

void navigate(String url, {String target = "_self"}) {
  if (target == "_blank") {
    window.open(url, "_blank")?.focus();
  } else {
    window.location.href = url;
  }
}

// In the current tab:
navigate("https://stackoverflow.com/questions/ask");
// In another tab:
navigate("https://stackoverflow.com/questions/ask", target: "_blank");
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ThomasG2201

79664786

Date: 2025-06-13 11:47:22
Score: 2.5
Natty:
Report link

@Volodymyr Petrovich

Even after splitting them, the error is still occuring, the weird behaviour is, it gives the error but at the same time it creates it successfully

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

79664785

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

If the price is coming as an integer but you wish to make it double why not parse it?

There could several ways but i suggest

{
      'mid': int mid,
      'icode': String icode,
      'name': String name,
      'description': String description,
      'price': num? price, // could be anything (int, double or null)
      'gid': int gid,
      'gname': String gname,
      'pic': String pic,
      'quantity': int quantity,
    } =>
      Product(
        mid: mid,
        icode: icode,
        name: name,
        description: description,
        price: price?.toDouble() ?? 0.0, // if null add default value else make it double
        gid: gid,
        gname: gname,
        pic: pic,
        quantity: quantity,
      ),

This way if price is null you get a default value while if it is int or double either way it will be converted to double.

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

79664756

Date: 2025-06-13 11:33:18
Score: 1
Natty:
Report link

If you want to develop an Android MDM app similar to MaaS360, the best place to start is with the Android Enterprise APIs and Device Policy Controller (DPC) framework. Google provides official documentation on Android Management APIs that cover device and app restrictions. Also, checking out open-source DPC samples can help understand how to implement app control features.

For a concise overview of Android device management concepts, there are some useful write-ups available online that explain how device management works on Android.

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

79664738

Date: 2025-06-13 11:09:12
Score: 0.5
Natty:
Report link

After removing Move.lock , I was able to deploy the whole package(all modules) again.

Not sure why individual module deployment did not work as below:

sui client publish ./sources/my_module_name.move --verify-deps
Reasons:
  • Blacklisted phrase (1): did not work
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Russo

79664736

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

Make it *icon:upload[] Upload files*, to get the icon rendered inside the strong element.

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

79664726

Date: 2025-06-13 10:53:08
Score: 3.5
Natty:
Report link

cy.get('[id^="features-"]' will capture all id begins with "features-" value

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sławek Skrzypczak

79664701

Date: 2025-06-13 10:29:03
Score: 2.5
Natty:
Report link

The "twitch" in Safari likey happens because currentAudio.duration or currentAudio.currentTime can be unreliable right after play() starts. You can try adding a short delay before calling updateProgress(). I think that this gives Safari a bit of time to stabilize

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

79664686

Date: 2025-06-13 10:11:59
Score: 1.5
Natty:
Report link

Try asking the file from your colleague, and add it manually for yourself again. and Set its Build Action = GoogleServicesJson and clean everything and rebuild. It might be IDE's issue, which should get resolved if added file manually.

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

79664679

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

OpenCL helps you achieve this. You can start with OpenCL guides and documentation.

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

79664666

Date: 2025-06-13 09:56:55
Score: 1
Natty:
Report link

in my case,

change :

val option = GetGoogleIdOption.Builder()
    .setServerClientId(AppKey.Google.WebClientId)
    .build()

to:

val option = GetSignInWithGoogleOption.Builder(AppKey.Google.WebClientId)
    .build()

its work.

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

79664665

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

In my case the config file was causing trouble, deleting it from the project and rebuilding helped.

NLog.config
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: BirukTes

79664660

Date: 2025-06-13 09:53:53
Score: 4
Natty:
Report link

I have been clicking all over the screen in platformio and cannot find Debug Settings anywhere. Are there any clearer instructions please or a screenshot of precisely where to start looking?

Thannks

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

79664659

Date: 2025-06-13 09:53:53
Score: 4
Natty:
Report link

For fun, here's another attractor from the specialized literature “Elegant Chaos Algebraically Simple Chaotic Flows” chapter 4.1. This is the Nosé - Hoover oscillator.

Nosé - Hoover oascillator

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

79664648

Date: 2025-06-13 09:47:51
Score: 2
Natty:
Report link
  1. Right Click -> JRE System Library

  2. Go to Properties (At the last)

  3. Choose Workspace default JRE (jre) or any configuration that you want at Execution Env Dropdown.

  4. Click Apply and Close.

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

79664633

Date: 2025-06-13 09:35:48
Score: 0.5
Natty:
Report link

This was the code that fixed the issue for me. You can try this


.mdc-list-item.mdc-list-item--with-one-line{
    height: 1%;
}
::ng-deep .mdc-list-item__content{
    padding-top: 1%;
}
Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Aqib

79664625

Date: 2025-06-13 09:25:45
Score: 4
Natty:
Report link

fixed this by updating jdk version

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

79664622

Date: 2025-06-13 09:24:45
Score: 3
Natty:
Report link

Delete the publishing profile and recreate it.

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

79664618

Date: 2025-06-13 09:18:43
Score: 2.5
Natty:
Report link

I also want to connect 2 apps through twilio voice feature in my android application with kotlin but I don't know will it work or not. If anyone has a code, to place a call and receive it in other application and vise versa through VoIP from Twilio kindly share.

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

79664612

Date: 2025-06-13 09:10:41
Score: 4.5
Natty:
Report link

Any luck in solving this issue?
I have encountered very strange behavior in iframe - app redirects in infinite loop.

Reasons:
  • Blacklisted phrase (1.5): Any luck
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Oleg Gavrilin

79664611

Date: 2025-06-13 09:09:41
Score: 4
Natty:
Report link

Did you check Configuration Manager?

You said you have same build of VS and the codes are all the same. But if your platform settings are not same, VS would link different references and could result in your issue.

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: WangDaChui

79664604

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

You have to add the mocking like this

// imports...

jest.mock('next/headers', () => ({
  cookies: jest.fn(() => ({
    get: jest.fn(() => ({ value: 'mocked-theme' })),
    set: jest.fn(),
  })),
}));

describe('My component', () => {
    // your Unit tests...
})
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: José Rafael Moro Galindo

79664592

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

My Apple Developer Program had expired

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

79664587

Date: 2025-06-13 08:55:36
Score: 2
Natty:
Report link

The solution was to just not call beforeAll during setupAfterEnv , and instead do the check as part of the actual tests. The OS dialogs are a bit unreliable in the Azure DevOPs pipeline macOS environment, though.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Topi Salonen

79664584

Date: 2025-06-13 08:53:36
Score: 1.5
Natty:
Report link

Maybe you can refer to the new features of PyTorch, torch.package

https://docs.pytorch.org/docs/stable/package.html

import torch.package

# save
model = YourModel()
pkg = torch.package.PackageExporter("model_package.pt")
pkg.save_pickle("model", "model.pkl", model)

import torch.package
import sys
import importlib.util

# load
imp = torch.package.PackageImporter("model_package.pt")
model = imp.load_pickle("model", "model.pkl")
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: CNLiu

79664581

Date: 2025-06-13 08:51:35
Score: 3
Natty:
Report link

Initially, while writing this, I didn't know what was going on. I was sure I was not modyfing the same lock in parallel, so it made no sense to me that error was concurrent modification, and I wanted to ask for help. I accidentally found out that there was another lock that was suposed to be issued with a grant at the same time, so i tried to reproduce this issue.

So conclusion is, you can't create multiple grants at the same time, even if deifferent resources are involved, I guess what was common is owner id.

Queston for tapkey team, is there any particular reason for this limitation? I wasn't able to find anything in the docs, and it caused real problems in my production environemnt.

Reasons:
  • Blacklisted phrase (1): is there any
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Uros Ceranic

79664573

Date: 2025-06-13 08:45:34
Score: 2.5
Natty:
Report link

I read it is a old thread, but I experience the same problem:

In my web root, I created 3 folders:

main.css contains:

@font-face {
    font-family: "Recoleta-SemiBold";
    src: url('/fonts/Recoleta-SemiBold.woff') format('woff'),
    url('/fonts/Recoleta-SemiBold.eot?#iefix') format('embedded-opentype'),
    url('/fonts/Recoleta-SemiBold.ttf') format('truetype');
    font-weight: 600; /* 500 for medium, 600 for semi-bold */
    font-style: normal;
    font-display: swap;
}
.header .title {
    font-family: "Recoleta-SemiBold", "Georgia", serif;
    font-size: 40px;
    font-weight: normal;
    margin: 0px;
    padding-left: 10px;
    color:#3f0ec6;
}

index.html contains:
In the <head>:
    <base href = "https://www.yoga-kids.net/">
In the <body>:
    <header>
        <div class = "header">
            <div class = "title">Livre de yoga</div>
        </div> <!-- end header -->
    </header>


The font is not shown when I open the index.html file (located in "livres" directory).
However, if I place the index.html file in the web root folder, the font is shown!!!

Same behavior on my local and on the server...

Any idea?
Thank you. 
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): Any idea?
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: ChrisL

79664566

Date: 2025-06-13 08:41:33
Score: 1.5
Natty:
Report link

You can also use an online tool like

Evernox

It has tools to directly generate code in multiple languages from your database.

It's really easy

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

79664547

Date: 2025-06-13 08:24:29
Score: 3
Natty:
Report link

I've worked with the gemma model and its quantization in the past, as per my investigation/ experimentation regarding this error, the following is my observation/suggestion:

Probably, the following could be some of the causes for this error:

  1. Memory Need:

    a) The overhead from CUDA, NCCL, PyTorch, and TGI runtime, plus model sharding inefficiencies, would have caused out-of-memory errors.

  2. Multi-GPU Sharding:

    a) Proper multi-GPU distributed setup requires NCCL to work flawlessly and enough memory on each GPU to hold its shard plus overhead.

  3. NCCL Errors in Docker on Windows/WSL2:

    a) NCCL out-of-memory error can arise from driver or environment mismatches, more specifically in Windows Server with WSL2 backend.

    b) We must check the compatibility of NCCL and CUDA versions. Ensure that Docker is configured correctly to expose the GPUs and shared memory.

My Suggestions or possible solutions you can try:

  1. Test on a Single GPU First:

    a) Try to load the model on a single GPU to confirm whether the model loads correctly without sharding. This will help to understand whether the issue is with model files or sharding.

    b) If this works fine, then proceed to the other points below.

  2. Increase Docker Shared Memory:

    a) Allocate more shared memory, for example:  Add `--shm-size=2g`or higher to the “docker run” command.  (    docker run --gpus all --shm-size=2g)

  3. Please do not set `CUDA_VISIBLE_DEVICES` Explicitly in Docker:

    a) When you set  <CUDA_VISIBLE_DEVICES> inside the container, it can sometimes interfere with NCCL's device discovery and cause errors.

  4. Verify NCCL Debug Logs:

    a) Please run the container with `NCCL_DEBUG=INFO` environment variable to get detailed NCCL logs and identify the exact failure point.

Please let me know if this approach works for you.

Reasons:
  • RegEx Blacklisted phrase (2.5): Please let me know
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: dev ai

79664545

Date: 2025-06-13 08:23:28
Score: 3.5
Natty:
Report link

In my keycloak instance the problem was that "Add to userinfo" was not selected in client scope "client roles". Ticking this checkbox solved the issue 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: To Wa

79664540

Date: 2025-06-13 08:22:28
Score: 1.5
Natty:
Report link

A somewhat late answer, in addition to @Ruikai Feng's answer, if your UI (Swagger, Scalar, or other) doesn't display the correct Content-Type, you can specify it like this in your controller at your endpoint:

[Consumes("multipart/form-data")]  // 👈 Add it like this
[HttpPost("register"), DisableRequestSizeLimit]
public IActionResult RegisterUser([FromForm] RegisterModel registermodel)
{
    return StatusCode(200);
}
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Ruikai
  • Low reputation (1):
Posted by: Benito

79664539

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

Stable diffusion is nearly impossible to train if you only have 5 images. Also, the features of your images are not obvious enough, so neither GAN nor stable diffusion can generate images you want. My suggestion is to enhance your data, get more and make them more clear. You can try to generate data by using CLIP-guided style GAN.

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

79664535

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

Just a guess: Maybe there is no data in your tblHistoricRFID ("r") that corresponds to your tblHistoricPallets ("h")? It's hard to tell since you're not selecting any of the "r" data, but all "p" (tblPalletTypes) data in your screenshot is null which would be the case if there is no corresponding data in "r" for "p" to join on.

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

79664534

Date: 2025-06-13 08:16:26
Score: 3
Natty:
Report link

The error seemed to be related to the URL's after all. Now Cypress correctly detects both requests. They were copy pasted to the tests, but after copypasting them from the network tab in Chrome devTools, it started working!

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

79664531

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

use Security Mode = None is not a correct parameter, use allowedSecurityPolicies instead.

from("milo-client:opc.tcp://LeeviDing:53530/OPCUA/SimulationServer?" +
                "node=RAW(ns=3;i=1011)" +
                "&allowedSecurityPolicies=None")
                .log("Received OPC UA data: ${body}");
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: leeviding1994

79664529

Date: 2025-06-13 08:11:24
Score: 3
Natty:
Report link

Could you modify the code to call FlaskUI like this?

def run_flask():
    app.run(port=60066)

FlaskUI(
    app=app,
    server=run_flask,
    width=1100,
    height=680
).run()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Rackymuthu

79664526

Date: 2025-06-13 08:09:24
Score: 0.5
Natty:
Report link
  1. Angular redirects all routes to app-routing (older version. Newer standalone version has another way to define routes). To access the backend, and especially if you're using the same URL, you need to proxy it to the backend. By default, QuickApp only proxy the common /api (and some others like /swagger and /connect for authentication, etc. But if you add to Program.cs app.MapHub<MyHub>('/hub'), that's not going to be redirected to the backend. To redirect, you need to make change to proxy.conf.js. See below:
const { env } = require('process');

const target = env.ASPNETCORE_HTTPS_PORT ? `https://localhost:${env.ASPNETCORE_HTTPS_PORT}` :
  env.ASPNETCORE_URLS ? env.ASPNETCORE_URLS.split(';')[0] : 'https://localhost:7085';

const PROXY_CONFIG = [
  {
    context: [
      "/api",
      "/swagger",
      "/connect",
      "/oauth",
      "/.well-known"
    ],
    target,
    secure: false
  }, 
  {  // ADD THIS
    context: ["/hub"],
    target,
    secure: false,
    ws: true,  // Because SignalR uses WebSocket NOT HTTPS, you need to specify this. 
    changeOrigin: true,  // To match your 'target', one assumes... That's what AI told me. 
    logLevel: "debug"  // If you need debugging. 
  }
]

module.exports = PROXY_CONFIG;

That'll solve the 400 issue not found.

But after that, why do one get 405 Method Not Found? At first, one thought it is really the need for POST, but however one tried, one couldn't get it to work. In the end, one realized that in one's use-signalr.service.ts where one call the SignalR, before, one changes what it calls. Before one knows about changing proxy, to make it run, one changes the url from /hub to /api/hub so it'll pass through; and that's the problem. Changing it back solve the problem. Though, one didn't dig deeper into researching whether it's because

And it not only magically solve the problem, but it also solve the ALLOW GET, HEAD issue. Even when it don't allow POST, when one set skipNegotiation: true instead of false in the frontend, it worked like a charm! One'll let you investigate on the 'why' if you'd like to know. One'll stay with the 'how' here.

Reasons:
  • Blacklisted phrase (1): worked like a charm
  • Whitelisted phrase (-1): it worked
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Wabinab

79664522

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

There is no official public API from GSTN for checking GSTIN status due to security and captcha restrictions.

However, some third-party services provide GST-related APIs and compliance support.

One such platform is TheGSTCo.com – they offer VPOB/APOB solutions and help eCommerce sellers manage GST registrations across India.

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

79664510

Date: 2025-06-13 07:50:19
Score: 3
Natty:
Report link

After update SSH.NET library version from 2016.0.0 to 2023.0.1.0 is able to connect SFTP server

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

79664504

Date: 2025-06-13 07:44:18
Score: 1
Natty:
Report link

If you want to update the value (or you've created an empty secret + want to add a value):


gcloud secrets versions add mySecretKey --data-file config/keys/0010_key.pem
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jim ReesPotter

79664495

Date: 2025-06-13 07:36:15
Score: 8.5 🚩
Natty: 4.5
Report link

did you use this endpoint as it is or we have to change it with our own ? Pls answer.

Reasons:
  • RegEx Blacklisted phrase (2.5): Pls answer
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): did you use this
  • Low reputation (1):
Posted by: Hemanandhini K

79664487

Date: 2025-06-13 07:27:12
Score: 2.5
Natty:
Report link

These are not restricted scopes and so should be available to all apps.

As this seems to be an error specific to your app, please could you raise a case with Xero Support using this link https://developer.xero.com/contact-xero-developer-platform-support and include details of the client id for your app so that this can be investigated for you.

Reasons:
  • Blacklisted phrase (1): this link
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: sallyhornet