79713146

Date: 2025-07-24 10:06:37
Score: 1
Natty:
Report link

First of all you need to enlist the whole error the error is missing most parts.

  1. remove node modules folder
  2. remove package-lock.json file
  3. remove cache
  4. re install the modules
Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Hashir Qureshi

79713144

Date: 2025-07-24 10:03:37
Score: 3.5
Natty:
Report link

You need to use [PyRotationWarper](https://docs.opencv.org/4.x/d5/d76/classcv_1_1PyRotationWarper.html) with type 'spherical'. It [will be mapped](https://github.com/opencv/opencv/blob/4.x/modules/stitching/src/warpers.cpp#L58) to SphericalWarper

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

79713142

Date: 2025-07-24 10:01:36
Score: 0.5
Natty:
Report link
MAX_JOBS=1 pip install ... --verbose

You will see this line:

Using envvar MAX_JOBS (1) as the number of workers...

Only one job is not necessary. Usually, 4~8 is fine.

Too many jobs could lead to the error of Killed signal terminated program cc1plus.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Neil Z. Shao

79713128

Date: 2025-07-24 09:56:34
Score: 1.5
Natty:
Report link

For the Spring tool suite 4.

By default, the JSP files are not included in the suite.

In your suite, Just go to Help -> Eclipse Marketplace -> type Eclipse Enterprise Java and Web Developer Tools (version = latest one is 3.22) and install it. Then restart your suite and check now.

Above solution working fine in my case.

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

79713125

Date: 2025-07-24 09:53:33
Score: 3
Natty:
Report link

The library uses native hardware line drawing support (if available in the device) only if:
Line width is 1.
No line pattern is enabled.

https://learn.microsoft.com/en-us/windows/win32/direct3d9/line-drawing-support-in-d3dx

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

79713116

Date: 2025-07-24 09:44:32
Score: 0.5
Natty:
Report link

You are attempting to:

Insert album data into an albums table (with foreign key to users).

Insert related songs into the albumsongs table, referencing:

The correct albumid (from the album just inserted).

The correct userid (from the session or current context).

However, the current logic has two main issues:

Issues in the Code:

  1. Misuse of mysqli_insert_id() mysqli_insert_id($conn) returns the last inserted auto-increment ID from the same connection, after an INSERT.

You're calling it before any insertion into the albums table ($id = mysqli_insert_id($conn);), so it returns 0 or an unrelated ID.

You're using that value to:

Query the user table (incorrectly).

Associate the user/album/song IDs, leading to foreign key mismatches.

  1. Missing User Context There's no mention of how the userid is being passed or retained.

You should ideally store the logged-in user’s ID in a $_SESSION['userid'] or a securely passed POST/GET parameter.

  1. Incorrect Column Names in Second Insert

lbumsongs table has columns: songid, userid, albumid, songname, songpath

You are referencing songaname1 and audio1 which are PHP variable names — not table column names. Use songname and songpath.

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

79713111

Date: 2025-07-24 09:38:30
Score: 1
Natty:
Report link

If the plugin configuration has the <phase> tag in it's configuration in pom.xml, you can create a new property with the default value and use that property in the <phase> tag. Then override this new property with the desired value in the command line using the -D prefix.

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

79713108

Date: 2025-07-24 09:36:30
Score: 3.5
Natty:
Report link

It is deprecated then removed.

see: https://issues.apache.org/jira/browse/FLINK-36336

see: https://github.com/apache/flink/commit/a69e1f1aa69e9498a1324886f3d9d5b51e71c7c9

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

79713098

Date: 2025-07-24 09:26:28
Score: 1.5
Natty:
Report link

the bruno can automatically refresh the token:

enter image description here

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

79713094

Date: 2025-07-24 09:17:26
Score: 2
Natty:
Report link

The problem has been found and fixed.

A colleague just approached us, telling us that we're using the wrong docker container.

While we're using mostly Container A (which contains CLI Tools, our frontend and the API), we've a Container B... This container is almost identical to Container A, but it does only handle image related processes. Unfortunately, this is not documented anywhere until now (I'll write the documentation now to make sure this never occurs again).

Thanks for the help, sorry for the inconveniences and I hope you all have a nice day

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

79713090

Date: 2025-07-24 09:12:25
Score: 3
Natty:
Report link

I think you could compute the hash value for the join columns, then join the two dataframes using that hash value. It will save the cost to match the join conditions.

Polars provides a built-in hash function: https://docs.pola.rs/api/python/stable/reference/expressions/api/polars.Expr.hash.html#polars-expr-hash, or try other hash functions provided by https://github.com/ion-elgreco/polars-hash

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

79713089

Date: 2025-07-24 09:12:25
Score: 1.5
Natty:
Report link

Create a Matrix:

cv::Mat Matrix= (cv::Mat_<float>(3, 3) << 0, 1, 0, 1, -4, 1, 0, 1, 0);

Use the Mat_ Object to access the values:

cv::Mat_<float> Matrixvals= Matrix;

Matrixvals(1,0) = 2;

Matrixvals(1,1) = -8;

Matrixvals(1,2) = 2;

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

79713088

Date: 2025-07-24 09:12:25
Score: 3
Natty:
Report link

B0DG2WDRCM,B0D96HMLYX,B0D96JNKFN,B0DG2WVLG2,B0D96J88RK,B0D39T89PS,B0CNSVWKQ7,B0CYSWMH8P,B0D39T789Y,B0CYSWGBMY,B0DTK5RBJ4,B0CNSVV83R,B0CNSVZLTL,B0D96HJSX1,B0CNSW12WB,B0CMXPSB7H,B0D9BMVYX7,B0D96J4RBQ,B0D8L9H3YR,B0D39SJSXZ,B0D96K69Q7,B0D9BPPR43,B0D8LC17VZ

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

79713084

Date: 2025-07-24 09:08:24
Score: 3.5
Natty:
Report link

There is documentation here: https://doc.qt.io/qt-6/qsyntaxhighlighter.html with a simple example (not markdown). Also, Qt is open source, so at a push you could get the code, take a look and create your own. A good place to start might be here: https://github.com/qt/qtbase/blob/dev/src/gui/text/qtextmarkdownimporter.cpp

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

79713079

Date: 2025-07-24 09:07:23
Score: 5.5
Natty: 4.5
Report link

Have you solved this problem? My problem is the same as yours.

Reasons:
  • RegEx Blacklisted phrase (1.5): solved this problem?
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: 王琛洋

79713071

Date: 2025-07-24 09:03:22
Score: 1.5
Natty:
Report link

For those experiencing this problem, you may want to try this solution: Android: Increase adb debug timeout in android studio

Reasons:
  • Whitelisted phrase (-1): try this
  • Whitelisted phrase (-2): solution:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: rezkywm

79713067

Date: 2025-07-24 09:02:22
Score: 1
Natty:
Report link

In my case it was that I started the same process twice with & sending it to the background. So one process was creating files and other was raporting "File Exists". Using

ps aux | grep rsync

to show my processes ids, I killed them and started again - now it's working fine!

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

79713061

Date: 2025-07-24 08:59:20
Score: 8
Natty:
Report link

I have the same problem, and I would really appreciate any help =(

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Blacklisted phrase (1): any help
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: pasuii

79713044

Date: 2025-07-24 08:50:17
Score: 1.5
Natty:
Report link

Fixed: wrong terminal type

was using set DBUSER in powershell instead of Commad Prompt.

For Powershell we should use $Env:DBUSER = "your_username_here"

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

79713025

Date: 2025-07-24 08:39:14
Score: 2
Natty:
Report link

BEWARE!! This is how Azure can really overcharge you, at 10 cents per GB/Month if you have 14TB allocated but are only using 4 TB that means you will have to pay $1000/Month for storage you are not using. The only way to get the storage back is to do a full backup and restore.

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

79713023

Date: 2025-07-24 08:38:14
Score: 2.5
Natty:
Report link
Try map-tools.com, it provides coordinate conversion features.
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: 남김세현

79713011

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

Yours is behaving most like a Bubble Sort. In selection sort it finds the min element and swaps only once per pass, but here you are swaping multiple times in a single pass.

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

79713004

Date: 2025-07-24 08:28:12
Score: 2.5
Natty:
Report link

Mainly use to the database configuration , like which database you want to use (MySQL ,PostgreSQL, MongoDB) , When you select particular database then you need to provide that database username, password , DB Name ,etc. And some other database things.

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

79712987

Date: 2025-07-24 08:17:07
Score: 1
Natty:
Report link

It seems, Outlook 365 converts whitespace when pasting.

Screenshot of notepad ++ before pasting into Outlook:

Screenshot from Notepad++ that shows the same whitespace for every instance.

and after pasting into Outlook:

Screenshot from Notepad++ showing a mixture of whitespace types.

The default font of Outlook 365 (at the time of writing this) is Aptos - which is a non-monospace font. This means, not all symbols (including whitespace) have the same apparent width. Changing to a monospace variant (e.g. Aptos Mono) solves this issue:

enter image description here

Reasons:
  • Probably link only (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Dschoni

79712975

Date: 2025-07-24 08:09:06
Score: 2
Natty:
Report link

With jquery:

$('.kk').keyup(function(e){
    var t=$(this);
    if(e.keyCode!=8){   
        let val=t.val();
        val =val.replace(/(\d{4}(?!\s))/g, "$1 ");
        if(val.length==20){
            val=val.trim()
        }
        t.val(val);
    }
})

Thanks to @thefourtheye

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @thefourtheye
  • Low reputation (0.5):
Posted by: Hakan

79712973

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

example:

do $$

declare v_prm int :=100;

begin

create temporary table _x on commit drop as -----<<<

select * from your_tbl

where id = v_prm;

end; $$ language plpgsql;

select * from _x;

-------------

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Filler text (0.5): -------------
  • Low reputation (1):
Posted by: sss

79712969

Date: 2025-07-24 08:05:05
Score: 2
Natty:
Report link

This is most probably because your data dictionary tags do not match with the message you receive.

– Christoph John

Commented Jun 19 at 18:07

This was the answer, I stopped using the standard dictionary and replaced it with a copy of the vendors dictionary and it works correctly now.

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

79712958

Date: 2025-07-24 07:54:02
Score: 1
Natty:
Report link

Okay so I here is the easiest approach, just change from importing QtWidgets by PySide6 and use PyQt6 instead it works just fine as shared in the image snapshot of the pyqtgraph code

from PyQt6 import QtWidgets
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: abinery kinwiko

79712953

Date: 2025-07-24 07:53:01
Score: 3
Natty:
Report link

i just realized that i was using another example and i also posted the wrong one and also not the folder 4 both as intended. For Two Way Ranging u need an initiator and a responder. I used now: range_rx and range_tx from this example: github.com/Makerfabs/Makerfabs-ESP32-UWB-DW3000/tree/main/… and it seems to work now.

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

79712948

Date: 2025-07-24 07:50:00
Score: 4.5
Natty: 5
Report link

I just cant get it to work for me. I want to start my project via pm2 on my windows server.

My project has a package.json like this:

{ "name": "testproject", "type": "module", ...

"scripts": { "dev": "vite --host",...

I usually start my project with "npm run dev". I thought thats standard stuff for running it in dev-env. And now to use pm2 I thought I need to run the following command: pm2 start npm --name frontend -- run dev or pm2 start npm --name "frontend" -- run "dev", but its always the same error: Script not found: C:\Projekte\testproject\run or something along those lines. While I have no problem starting my backend via pm2 using pm2 start backend.js --name backend

What am I missing?

Reasons:
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Fl43cH3

79712946

Date: 2025-07-24 07:46:59
Score: 0.5
Natty:
Report link

The root cause was that Celery was connected to the Redis server running directly on my Mac (outside Docker), while Redis Commander was configured to connect to the Redis instance running inside the Docker container. Since Celery used the host Redis, all the keys were stored there, but the Redis inside the container had none, so Redis Commander showed an empty database.

By changing the Redis Commander configuration to connect to the host Redis with:

REDIS_HOSTS=host:host.docker.internal:6379

Redis Commander could access the same Redis instance as Celery, making all keys visible.

In short: Docker containers have their own network environment. localhost inside a container means the container itself, not your Mac. To connect a container to a service running on your Mac, use host.docker.internal instead of localhost or container hostnames.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Pərviz Piri

79712942

Date: 2025-07-24 07:45:59
Score: 1
Natty:
Report link

Yeah it’s totally fine to use top-level variables in a simple Julia script like that — especially for configs and basic flow. But if you’re doing performance-heavy stuff or using Revise a lot, it’s better to wrap things in a main() function and maybe use const for fixed values. Helps with compile times and avoids weird recompile issues. But for most scripts, you're good!

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: DNA E-store Best Deals

79712941

Date: 2025-07-24 07:44:58
Score: 1
Natty:
Report link

I also use the 'table' method from general Markdown language.
Just using the header field only. I feel it's the simplest way to go.

| **Note** : `Some stuff goes here` |
| ----------------------------------|

Looks like this :

Note : Some stuff goes here
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dwayne Pivac

79712935

Date: 2025-07-24 07:36:57
Score: 3
Natty:
Report link

This is Very Simple Issue You are just importing same library more than one times in you build you gradle file.

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

79712934

Date: 2025-07-24 07:35:57
Score: 2
Natty:
Report link

I would absolutely use this for what you want.
https://rdrr.io/rforge/xkcd/man/xkcd-package.html

The scientific "street" cred, among your peers in the know, would be Saganisitic in magnitude!

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

79712931

Date: 2025-07-24 07:33:56
Score: 1
Natty:
Report link

import pandas as pd

import yfinance as yf

# Load historical data

data = yf.download("AAPL", start="2022-01-01", end="2023-01-01")

data['SMA_9'] = data['Close'].rolling(window=9).mean()

data['SMA_21'] = data['Close'].rolling(window=21).mean()

# Create crossover/crossunder signals

data['Buy'] = (data['SMA_9'] > data['SMA_21']) & (data['SMA_9'].shift(1) <= data['SMA_21'].shift(1))

data['Sell'] = (data['SMA_9'] < data['SMA_21']) & (data['SMA_9'].shift(1) >= data['SMA_21'].shift(1))

# Show signals

print(data[['Close', 'SMA_9', 'SMA_21', 'Buy', 'Sell']].dropna().tail(10))

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

79712920

Date: 2025-07-24 07:22:54
Score: 1.5
Natty:
Report link

Disable caching when testing/developing sites. It's an awful setting that makes rendering very misleading. Often Chrome, for example, will cache the largest version of the image (4K version) and if you switch to another context in which a smaller image is appropriate, it will load the huge 4K version into the smaller element, because it's so smart... Bypassing your srcset/sizes rules.

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

79712913

Date: 2025-07-24 07:14:52
Score: 1.5
Natty:
Report link
appender.0.type = File
appender.0.name = FILE
appender.0.fileName = app.log
appender.0.ignoreExceptions = false

appender.1.type = Console
appender.1.name = CONSOLE

appender.2.type = Failover
appender.2.name = FAILOVER
appender.2.primary = FILE
appender.2.fail.type = Failovers
appender.2.fail.0.type = AppenderRef
appender.2.fail.0.ref = CONSOLE

https://logging.apache.org/log4j/2.x/manual/appenders/delegating.html

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

79712899

Date: 2025-07-24 07:06:49
Score: 1.5
Natty:
Report link

Runtime model plays big role in my case. As I frequently deploying different versions each time it will look for specific different blob paths (due to how internally different runtime model uses different locations to save it's status files) so this creates issue when one of the version is deployed other version's file stay as it is and after certain period of time if I switch back to that version and it status file is old and time has passed it triggers function.

So, yes, you can take note than if you are switching from one model to another please look for status file.

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

79712898

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

I figured it out. The issue was how I the org url of the github was changed and how in turn it changed the repo url. I tried reconnecting the repository without any luck, so in the end I recreated the amplify app with the new repository urls and it started working.

Reasons:
  • Blacklisted phrase (1.5): any luck
  • Whitelisted phrase (-2): I figured it out
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: defiant

79712895

Date: 2025-07-24 07:04:48
Score: 3
Natty:
Report link

this is the best tool when you want to type quickly. I recommend you keep using it. but anyway its your decision

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

79712891

Date: 2025-07-24 06:57:46
Score: 1
Natty:
Report link

Remove the below Header from the request and then try.

"Content-Type": "application/x-www-form-urlencoded"

It tells the backend that you are sending data in Form format.

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

79712885

Date: 2025-07-24 06:44:42
Score: 6
Natty: 4.5
Report link

Have you found what causes this behavior? What version of UE5 you're using? Are you using post process material for desaturation or tweaking post process parameters? I'm trying to achieve excactly the same look like on your screenshot

Reasons:
  • RegEx Blacklisted phrase (2.5): Have you found what causes this behavior
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Egor

79712884

Date: 2025-07-24 06:43:42
Score: 2
Natty:
Report link

If you're facing limitations with Kaltura's iframe embed and can't access the JavaScript API (like kWidget), it's because iframe embeds restrict direct player control. To enable features like autoplay and auto-fullscreen, you'd need to switch to a script-based embed. If your company setup doesn't allow that, consider using alternatives like VPlayed, which offers full API access, customizable video players, and better developer support.

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

79712881

Date: 2025-07-24 06:41:40
Score: 14.5
Natty: 5.5
Report link

Hi @Martin Prikryl I am also getting the same error. My SQL job is failing due to this error.

Error when using WinSCP to download file: WinSCP.SessionRemoteException: Error occurred during logging. It's been turned off.

Can't open log file '\\Server\Apps\WinscpLogs\WinscpSessionLog.txt'. System Error. Code: 5. Access is denied at WinSCP.SessionLogReader.Read(LogReadFlags flags)

But the strange thing to note here is this issue is coming intermittently. let's say few days it works fine and some days it fails. if this is really a access issue then it should not work at all right ?

Please help me to fix this ??

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): help me to fix
  • RegEx Blacklisted phrase (3): Please help me to fix this
  • RegEx Blacklisted phrase (1.5): fix this ??
  • RegEx Blacklisted phrase (1): I am also getting the same error
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am also getting the same error
  • Ends in question mark (2):
  • User mentioned (1): @Martin
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Hussain Md

79712880

Date: 2025-07-24 06:41:40
Score: 2
Natty:
Report link

Fatal error: Uncaught ArgumentCountError: The number of variables must match the number of parameters in the prepared statement in C:\xampp\htdocs\crudproject\oops\logic.php:69 Stack trace: #0 C:\xampp\htdocs\crudproject\oops\logic.php(69): mysqli_stmt->bind_param('sissss', 'Anil Kumari', '21', 'female', '[email protected]...', 'punjabi,hindi,e...', '1234567890') #1 C:\xampp\htdocs\crudproject\oops\index.php(48): logic->update('Anil Kumari', '21', 'female', '[email protected]...', 'punjabi,hindi,e...', '1234567890') #2 {main} thrown in C:\xampp\htdocs\crudproject\oops\logic.php on line 69

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

79712875

Date: 2025-07-24 06:35:39
Score: 2
Natty:
Report link

The accepted answer in this question can help you: How to load a custom TTF font in a WebView in .NET MAUI across multiple platforms (Android, iOS, Windows)?

You just need to remove the Fonts part in the URL:

file:///android_asset/Simplified.ttf
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: jordi casas

79712861

Date: 2025-07-24 06:22:36
Score: 4.5
Natty:
Report link

I am still searching for the solution.

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

79712855

Date: 2025-07-24 06:15:34
Score: 0.5
Natty:
Report link

You want to look at Billing Test Clock. You can use a decline card in a Subscription, then advance the clock past the billing cycle anchor.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
Posted by: orakaro

79712849

Date: 2025-07-24 06:04:31
Score: 2.5
Natty:
Report link

I changed the Windows date format to English and it worked!

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Thawin XD

79712840

Date: 2025-07-24 05:48:29
Score: 3
Natty:
Report link

My 2025 answer:

I haven't tried it, but you should be able to send SES events to Eventbridge and then forward the events to a Cloudwatch log group

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

79712839

Date: 2025-07-24 05:48:29
Score: 2.5
Natty:
Report link

you can go to your root folder and then to the public folder of the project using the terminal.

then past this.

ln -s ../storage/app/public storage

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

79712831

Date: 2025-07-24 05:34:26
Score: 4
Natty: 5
Report link

A.Murali , I want your help that how did you access SD card at runtime in android application and load data from it

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Apex

79712830

Date: 2025-07-24 05:33:25
Score: 2.5
Natty:
Report link
  1. We use i * i <= n because it is both correct and optimal.

  2. Using i <= n works but is inefficient and unnecessary.

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

79712825

Date: 2025-07-24 05:29:24
Score: 1
Natty:
Report link
  driver.findElement(By.xpath("(//a[@value='DEL'])[1]")).click();
 
no such element: Unable to locate element: {"method":"xpath","selector":"(//a[@value='DEL'])[1]"}
  (Session info: chrome=138.0.7204.168)

Getting above error

Here is my code : I need toselect Chennai in Destination but nothing workedout

import java.time.Duration;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.support.ui.WebDriverWait;

public class DropDown {

    public static void main(String[] args) throws InterruptedException {
        // TODO Auto-generated method stub

        WebDriver driver = new ChromeDriver();

        driver.get("http://spicejet.com"); // URL in the browser
        driver.manage().window().maximize();

        WebDriverWait wait = new WebDriverWait(driver, Duration.ofSeconds(10));

        // //a[@value='MAA'] - Xpath for chennai

        // //a[@value='BLR']

        // Dynamic Drop down

        driver.findElement(By.xpath(
                "//div[@class= 'css-1dbjc4n r-14lw9ot r-11u4nky r-z2wwpe r-1phboty r-rs99b7 r-1loqt21 r-13awgt0 r-ymttw5 r-tju18j r-5njf8e r-1otgn73']"))
                .click();
        driver.findElement(By.xpath("//div[contains(text(), 'Bengaluru')]")).click();

        Thread.sleep(2000);

        // driver.findElement(By.xpath("(//a[@value='MAA'])[2]")).click();

        driver.findElement(By.xpath("//div[text()='To']")).click();
        Thread.sleep(2000);

        driver.findElement(By.xpath("(//a[@value='DEL'])[1]")).click();

        /*
         * WebElement chennaiOption = driver.findElement(By.xpath(
         * "(//*([@class='css-1dbjc4n']//div[text()='Chennai'])")); Actions actions =
         * new Actions(driver); actions.moveToElement(chennaiOption).click().perform();
         */

        // driver.findElement(By.xpath("//div[text()='Chennai']")).click();

        // driver.findElement(By.xpath("//div[@data-testid='dropdown-group']//div[text()='Chennai']")).click();
        // driver.findElement(By.cssSelector("a[value='MAA']")).click();

        // driver.findElement(By.xpath("//div[@data-testid='search-destination-city-txt']//div[text()='Chennai']")).click();
        // driver.findElement(By.xpath("(//div[text()='Chennai'])[1]")).click();
        // driver.findElement(By.xpath("(//*[@class='css-1dbjc4n']//div[text()='Chennai'])[1]")).click();

    }

}
Reasons:
  • Blacklisted phrase (1): but nothing work
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jyoti Kumari

79712811

Date: 2025-07-24 05:04:14
Score: 7
Natty:
Report link

Did you resolve this one? I am having this issue at the moment after a database recovery process.

*Some*, not all tables need to have a db user specified, while others don't

in SQL Server Enterprise Manager the query has to be

   select * from [xyz_dbo].[some_table_name]

On others

   select * from [some_table_name]

Works just fine

???

I take it to be some default setting on the SQL Server to default the db user name in the absence of one being supplied... but I know not about such things.

Reasons:
  • Blacklisted phrase (1): ???
  • RegEx Blacklisted phrase (3): Did you resolve this
  • RegEx Blacklisted phrase (1.5): resolve this one?
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: John Nayler

79712797

Date: 2025-07-24 04:33:09
Score: 1.5
Natty:
Report link

As @ian-b's answer said, it can stem from typos or otherwise invalid TemplateURL-s. In my case, it was the URL style issue:

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @ian-b's
  • Low reputation (0.5):
Posted by: astralblue

79712792

Date: 2025-07-24 04:25:07
Score: 0.5
Natty:
Report link

I think the main difference is Observer is fine for one-way communication but poor at two-way; Mediator is good at two-way communication, . Let's say you have a chat application, and you choose to implement it with an Observer pattern. Each client needs Publish, and also each client needs to subscribe to every other client.

For two clients, that's both objects publishing and each object subscribing to one other object. For three clients, all three are publishing and each client subscribing to two, totaling six subscriptions. This increases by n!.

If instead you implement with the Mediator pattern, because you only need one connection per object to the Mediator, it increases linearly.

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

79712775

Date: 2025-07-24 03:52:00
Score: 0.5
Natty:
Report link
from flask import Flask, render_template_string, url_for

app = Flask(__name__)

@app.route('/')
def home():
    html = '''
    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Radiology IT Request</title>
        <!-- Font Awesome Free CDN -->
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css" integrity="sha512-RXf+QSDCUQs6b4v5A9R2v6KUVKp1R9+XcMgy7pYzFSHLn3U4a8gE9F7R5C3XxR28Z59TLEEqzvvR1vpuYeIRsA==" crossorigin="anonymous" referrerpolicy="no-referrer" />

        <style>
            body {
                background-color: #000100;
                font-family: Arial, sans-serif;
                margin: 0;
                height: 100vh;
                display: flex;
                justify-content: center;
                align-items: center;
                color: white;
                padding-top: 70px;
                box-sizing: border-box;
            }

            .tab-header {
                background-color: #454545;
                position: fixed;
                top: 0;
                width: 100%;
                z-index: 1000;
                display: flex;
                flex-wrap: wrap;
                align-items: center;
                padding: 10px 20px;
                gap: 15px;
            }

            .tab-header img {
                height: 45px;
                width: auto;
                margin-right: 10px;
            }

            .tab-header a {
                color: gray;
                text-decoration: none;
                font-size: 16px;
                padding: 6px 10px;
                border-radius: 4px;
                transition: background-color 0.3s ease;
            }

            .tab-header a:hover {
                background-color: #ddd;
                color: black;
            }

            .tab-header-Icon {
                position: fixed;
                top: 20px;
                right: 20px;
                z-index: 1000;
                display: flex;
                align-items: center;
                justify-content: center;
                width: 50px;
                height: 50px;
                border-radius: 50%;
                background-color: #454545;
                text-decoration: none;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
            }

            .tab-header-Icon i {
                font-size: 24px;
                color: #00bfff;
            }

            .box {
                background-color: white;
                padding: 30px;
                width: 90%;
                max-width: 350px;
                border: 2px solid #007BFF;
                border-radius: 10px;
                color: #000;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
                text-align: center;
            }

            h1 {
                color: #007BFF;
            }
        </style>
    </head>
    <body>
        <div class="tab-header">
            <img src="{{ url_for('static', filename='logo3.png') }}" alt="Logo">
            <a href="#">Home</a>
            <a href="#">Activities</a>
            <a href="#">Requests</a>
            <a href="#">Solutions</a>
            <a href="#">Maintenance</a>
            <a href="#">Reports</a>
        </div>

        <!-- Working Free Icon -->
        <a href="#" class="tab-header-Icon">
            <i class="fa-solid fa-search"></i>
        </a>

        <div class="box">
            <h1>Please Submit Your IT Request</h1>
            <p>Thank you for your submission!</p>
        </div>
    </body>
    </html>
    '''
    return render_template_string(html)

if __name__ == '__main__':
    app.run(debug=True)
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: dhruvik savaliya

79712762

Date: 2025-07-24 03:35:56
Score: 4
Natty:
Report link

Try Containerizing with docker and Run locally. if it works, then move it to Azure.

Another Suggestion is did you check All clients are handshake with your SignalR hub?

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

79712761

Date: 2025-07-24 03:26:54
Score: 2
Natty:
Report link

import json

data = {

"name": "Alice",

"age": 30,

"city": "New York

"

}

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

79712760

Date: 2025-07-24 03:25:54
Score: 3
Natty:
Report link

Saving in a column will be a better option considering the data integrity. In a simple scenario where a line item has a discount and over the cause of time, discount can be a different value. If calculated every time, changed discount will show incorrect values for paid invoices.

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

79712753

Date: 2025-07-24 03:13:51
Score: 1.5
Natty:
Report link

Answer for expo-audio : you need to include isMeteringEnabled in your prepareToRecordAsync:

audioRecorder.prepareToRecordAsync({
  ...RecordingPresets.HIGH_QUALITY,
  isMeteringEnabled: true,
})

see https://github.com/expo/expo/issues/37241

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

79712747

Date: 2025-07-24 03:00:49
Score: 3.5
Natty:
Report link

Android Studio -> settings -> editor -> font -> line heights (adjust here)

enter image description here

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

79712746

Date: 2025-07-24 02:59:49
Score: 1.5
Natty:
Report link

After digging around relentlessly, I've been able to come up with a solution, many thanks to a chap on GitHub who published the following npm package electron-forge-plugin-dependencies.

Instead of installing the npm package, I've decided to manually add the code into my project. Pasting the solution in here would make for an answer far too long, so please refer to these changes I've made in the repository linked in my original question. I will keep this repository up until the end days for anyone that might wish to use it as a starting point for an electron application built using forge with SQLite3 and sequelizer.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Scott Mckay

79712745

Date: 2025-07-24 02:58:48
Score: 2.5
Natty:
Report link

DECLARE @json NVARCHAR(MAX) = '

[

{ "id": 1, "name": "Alice" },

{ "id": 2, "name": "Bob" }

]';

SELECT *

FROM OPENJSON(@json)

WITH (

id INT,

name NVARCH

AR(100));

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @json
  • Low reputation (1):
Posted by: Buram Rohith

79712742

Date: 2025-07-24 02:51:47
Score: 3.5
Natty:
Report link

You need to allow suggestions while debugging

Go to Tool -> Options -> IntelliCode -> Advanced -> Uncheck Disable suggestions while debugging

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Quang Thắng Lưu

79712740

Date: 2025-07-24 02:50:47
Score: 3
Natty:
Report link

Sorry for the late to respond.

Maybe you can try the Java-Python Linker Library (JPYL), which allows you to invoke C-Python scripts from your Java App and catch the Python outputs. The library also allows you to pass parameters to your Python Scripts.

https://github.com/livegrios/jpyll

Greetings!

Reasons:
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: LiveGrios

79712733

Date: 2025-07-24 02:42:45
Score: 1
Natty:
Report link
topic_id = None 

if getattr(event.reply_to, 'forum_topic', None):
  topic_id = top if (top := event.reply_to.reply_to_top_id) \
    else event.reply_to_msg_id 

await client.send_message(event.chat_id, 'response', reply_to=topic_id)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: aayco

79712726

Date: 2025-07-24 02:36:43
Score: 1.5
Natty:
Report link

You can do this by simply using [class]

<div [class]="loading ? 'loading-state my-class' : ''"></div>

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

79712717

Date: 2025-07-24 02:16:39
Score: 2
Natty:
Report link

Please consider using source generator. Write async code, and the source generator will generate a sync version behind the scenes:

https://github.com/zompinc/sync-method-generator

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

79712713

Date: 2025-07-24 02:11:37
Score: 5.5
Natty: 6.5
Report link

Why my instagram in not valid this issue

Convert a new issue my new issue is instagram link or not come on my tiktok ?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Starts with a question (0.5): Why
  • Low reputation (1):
Posted by: Rida

79712709

Date: 2025-07-24 02:03:35
Score: 2.5
Natty:
Report link

I had to update my backend hostname to be api.example.com instead of example.com/api. Then I updated the DNS config to include the new hostname so it is all good now. I think the requests were being caught by the frontend public hostname instead of the backend one which made it so the requests were never received by express.

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

79712708

Date: 2025-07-24 02:02:35
Score: 3
Natty:
Report link

you need to use tags idiot..
<h1> hello + world </h1>

there ya go kiddo

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: master hacker lord

79712707

Date: 2025-07-24 02:01:35
Score: 2.5
Natty:
Report link

import numpy as np

arr = np.array([[1, 2, 3], [4, 5, 6]])

py_list = arr.tolist()

print(py_list)

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

79712705

Date: 2025-07-24 01:58:34
Score: 3
Natty:
Report link

This works:

print(hello+" "+world)

Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: J7er

79712701

Date: 2025-07-24 01:50:33
Score: 3
Natty:
Report link

this is not only useful and clear, it is true. it seems VS does not respect additional include directories correctly anyy more in 2022. sad.

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

79712694

Date: 2025-07-24 01:29:29
Score: 2
Natty:
Report link

@tomerpacific I am getting imagePath from const saveFileToStorageOmOrder in "app.tsx" . I move temporary files to a permanent location then enter the await addTimestampWithLocation function.

const saveFileToStorageOmOrder = async (sTempFilePath, iP_ID, iOO_ID, columnName) => {
        try {
            const sFolderPath = `${RNFS.ExternalDirectoryPath}/OmOrder/${iP_ID}/${iOO_ID}`;
            if (!await RNFS.exists(sFolderPath)) await RNFS.mkdir(sFolderPath);

            const ext = sTempFilePath.split('.').pop() || 'jpg';
            const now = new Date();
            const fileName = `${now.getFullYear()}${(now.getMonth()+1).toString().padStart(2,'0')}${now.getDate().toString().padStart(2,'0')}_${
                now.getHours().toString().padStart(2,'0')}${now.getMinutes().toString().padStart(2,'0')}${now.getSeconds().toString().padStart(2,'0')}.${ext}`;
            const sPermanentPath = `${sFolderPath}/${fileName}`;

            // 1. move temporary files to a permanent location
            await RNFS.moveFile(sTempFilePath, sPermanentPath);

            // 🟨 timestamp + location
            await addTimestampWithLocation(sPermanentPath);

            // 3. Save to JSON
            insertUpdateFileJsonOmOrder(sPermanentPath, iP_ID, iOO_ID, columnName);
        } catch (error) {
            _WriteLog(`❌ Error in saveFileToStorageOmOrder: ${error.message}`);
        }
    };
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @tomerpacific
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: kittisak kea

79712687

Date: 2025-07-24 01:14:25
Score: 2
Natty:
Report link

I had a similar issue. I could not resolve it.

I started again with a new clean project and moved all components, services, etc. to finally get rid of the problem.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Weber K.

79712677

Date: 2025-07-24 00:49:20
Score: 0.5
Natty:
Report link

It's a very old question, but if I found it, maybe someone else will come here, so here's what I found:

(I tested it with PIC12F615, Windows XP, PICDisasm 1.5, it worked, I still don't know if it's compatible with the current version of MPLABX, but it's already helped me a lot)

PICDisasm convert a Hex-File to a ASM-File.
The ASM-File is compatible to the Microchip-Assembler (MPLab-IDE). It works with PIC10, PIC12 and PIC16-Types.

The Windows-Program PICDisasm is Freeware.

  • PICDisasm 1.6 (194 KByte) May,02 2008

  • more details by commands: ADDLW, ANDLW, IORLW, MOVLW, RETLW, SUBLW, XORLW

  • new PIC-Types added
    12F519
    16F526, 16F722, 16F723, 16F724, 16F726, 16F727

  • some bugs fixed

  • PICDisasm 1.5 (192 KByte) March,04 2007

  • new PIC-Types added
    12F609, 12HV609, 12F615, 12HV615
    16F610, 16HV610, 16F616, 16HV616, 16F631, 16F677, 16HV785, 16F882, 16F883, 16F884, 16F886, 16F887

  • PICDisasm 1.4 (192 KByte) March,23 2006

  • new PIC-Types added
    10F220, 10F222, 12F510, 16F506, 16F946

  • PICDisasm 1.3c (195 KByte) June,16 2005

  • new PIC-Types added
    10F200, 10F202, 10F204, 10F206
    12F508, 12F509, 12F635
    16F59, 16F505, 16F636, 16F639, 16F685, 16F687, 16F689, 16F690, 16F785, 16F913, 16F914, 16F916, 16F917

  • some bugs fixed

  • PICDisasm 1.2 (243 KByte) May,7 2004

  • new PIC-Types added
    12F683, 16F54, 16F57, 16F684, 16F688, 16F716

https://www.hagi-online.org/picmicro/picdisasm_en.html

Reasons:
  • Blacklisted phrase (1): helped me a lot
  • Whitelisted phrase (-1): it worked
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: R R

79712675

Date: 2025-07-24 00:47:19
Score: 2.5
Natty:
Report link

After hours and hours of efforts finally it was the stupid line

import {createLogger} from "vite"

in my one fils,I dont even remember importing it

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

79712667

Date: 2025-07-24 00:36:17
Score: 1
Natty:
Report link

Cuando me apareció ese error mientras estaba haciendo pruebas en mi computadora, resulta que en .env tenía:

NODE_ENV=production

Solamente quité eso ya que realmente no aplica en entorno local y desapareció el error.

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

79712655

Date: 2025-07-24 00:03:11
Score: 4.5
Natty:
Report link

Gusto ko Makita Ang lahat Ng I want to see all the content of those images or pictures.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nick jayson Nick jayson dimaal

79712651

Date: 2025-07-23 23:38:06
Score: 2.5
Natty:
Report link

I don't think that trying to sync three data bases is a good solution to try and achieve. You would have a lot more success keeping local keycloak users local and importing ldap users as they log in and just sync a keycloak imported ldap user up every login.

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

79712650

Date: 2025-07-23 23:37:06
Score: 1
Natty:
Report link

Using basic as crude example let DateMY$ as string be your shorthand Date just a string of characters in sequence eg "June 2020" or "06.20" or 06/2020" for any calls or functions requiring date type data for calculations have the code do a quick string build by padding the string "01" to existing date string "01"& DateMY$=DateDMY$ printing DateDMY$ should read 01 June 2020, 01.06.20 or 01/06/2020 then declaring your format eg dd/mm/yyyy etc you should be able to get the code to read the val(DateDMY$) as date() type to do as you wish. Iv used several old code language that was just stubborn like that. Being you can do all this invisibly the end user would be none the wiser and treated as a string probably has it perceived as compatible with wider range of Code, platforms, OS operating systems. Logic for my variables declared. Given your initial date value 03.2020 make date string var as Date with Month Year DateMY$ the $ always been a old string symbol. Final date string DateDMY$ same as 1st but with ad D for day.

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

79712642

Date: 2025-07-23 23:18:02
Score: 0.5
Natty:
Report link

If you have a table with many INSERTs and also frequent SELECTs, it's common to see INSERT operations waiting for cache, which can cause delays. This happens because SELECT queries can lock or slow down INSERTs. A good practice is to use SQL_NO_CACHE in SELECT statements on tables with heavy insert activity. InnoDB also recommends using uncached queries in such cases. Of course, if your workload is mostly SELECTs and rarely updated, caching is beneficial — especially when the query cache hit ratio is over 90%. But for large tables with frequent inserts, it's better to disable caching for those SELECTs using SQL_NO_CACHE. Disabling the whole query cache isn't ideal unless you're ready to redesign the software (e.g. using Redis), so using SQL_NO_CACHE is a simple and effective optimization for improving INSERT performance.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kamil Dąbrowski

79712635

Date: 2025-07-23 22:55:58
Score: 2
Natty:
Report link

I created a VM in Azure with Windows and downloaded SSMS. Once I ran the "generate scripts" command by right-clicking in the database name and selecting one script per file, I uploaded them to OneDrive and then downloaded them to my MAC. It took a while to download and upload, so consider that in your delivery timeline. Best of luck

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

79712634

Date: 2025-07-23 22:51:57
Score: 4.5
Natty:
Report link

Embora você não possa evitar a mensagem do sistema, você pode gerenciar a sequência de feedback para o usuário no seu aplicativo:

  1. Exibir uma mensagem clara imediatamente: Assim que você detectar o erro de "Certificado Revogado" (dentro do case .verified(let transaction) onde transaction.revocationDate != nil), você deve imediatamente atualizar a UI do seu aplicativo para informar o usuário sobre a falha e o motivo. Por exemplo, você pode exibir um alerta, uma mensagem de erro na tela ou desabilitar funcionalidades relacionadas à compra.

    Swift

    case .verified(let transaction):
        if transaction.productType == product.type, transaction.productID == productID {
            if transaction.revocationDate == nil, transaction.revocationReason == nil {
                purchaseState = true
                await transaction.finish()
            } else {
                // Certificado revogado ou transação revogada.
                // Aqui você exibe sua própria mensagem de erro para o usuário.
                self.error = .error(NSError(domain: "PurchaseError", code: 1, userInfo: [NSLocalizedDescriptionKey: "A compra não pôde ser concluída devido a um certificado revogado. Por favor, tente novamente mais tarde ou contate o suporte."]))
                // Não chame transaction.finish() para transações revogadas,
                // a menos que você tenha uma lógica específica para elas.
                // O StoreKit pode limpar essas transações automaticamente em alguns casos.
            }
        } else {
            // produto inválido
            self.error = .error(NSError(domain: "PurchaseError", code: 2, userInfo: [NSLocalizedDescriptionKey: "Produto da transação não corresponde."]))
        }
    
    
  2. Gerenciar o estado purchaseState: Certifique-se de que purchaseState só seja definido como true se a compra for realmente válida e verificada. Em caso de certificado revogado, purchaseState deve permanecer false (ou ser redefinido) e você deve apresentar o erro.

Ao fazer isso, embora o usuário veja o "You're all set" momentaneamente, ele será rapidamente seguido pela mensagem de erro do seu aplicativo, o que comunica a falha de forma mais eficaz e reduz a confusão.


Em resumo, a arquitetura do StoreKit, especialmente com os arquivos de configuração, separa a confirmação inicial da compra da validação posterior. Concentre-se em fornecer um feedback claro ao usuário no seu aplicativo assim que você detectar a falha de verificação.

Reasons:
  • Blacklisted phrase (3): você
  • Blacklisted phrase (1): não
  • Blacklisted phrase (1): Não
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Fernando Floret

79712612

Date: 2025-07-23 22:20:49
Score: 14
Natty:
Report link

HOOMD-blue com GPU no WSL2: Analisando o Erro "invalid device ordinal"

O erro "invalid device ordinal" que você está enfrentando é peculiar, especialmente porque nvidia-smi e GPU.get_available_devices() detectam sua GPU corretamente.

Vamos abordar suas perguntas e possíveis soluções:

O HOOMD-blue é totalmente compatível com GPU no WSL2?

Sim, o HOOMD-blue (e o CUDA em geral) é projetado para ser compatível com GPU no WSL2. A NVIDIA tem feito esforços significativos para garantir que suas GPUs e o CUDA funcionem perfeitamente dentro do WSL2, incluindo o suporte para o subsistema de GPU virtual (vGPU) que o WSL2 utiliza. Muitos usuários executam com sucesso aplicações CUDA, incluindo outras bibliotecas de simulação e aprendizado de máquina, dentro do WSL2.

O fato de você conseguir ver a GPU com nvidia-smi e o HOOMD listar a GPU disponível indica que a camada de comunicação entre o WSL2, os drivers NVIDIA e o runtime CUDA está funcionando em um nível básico. O problema parece ser mais específico à forma como o HOOMD está tentando inicializar o dispositivo.

Como corrigir o erro "invalid device ordinal"?

O erro "invalid device ordinal" geralmente ocorre quando o programa tenta acessar uma GPU usando um índice que não corresponde a um dispositivo válido ou quando há um problema subjacente na inicialização do contexto CUDA para aquele dispositivo. Dado que você já tentou device_id=0 e CUDA_VISIBLE_DEVICES=0, e sua GPU é a única listada, o problema não é a seleção de um índice incorreto.

Aqui estão algumas abordagens e considerações para tentar resolver o problema:

  1. Verifique a Versão do Driver NVIDIA:

    • Embora você mencione "drivers mais recentes", certifique-se de que são os drivers mais recentes para WSL2. A NVIDIA lança drivers específicos para o WSL2 que contêm otimizações e correções. Você pode baixá-los diretamente do site da NVIDIA (geralmente na seção de drivers para desenvolvedores ou drivers de notebook).

    • Pode ser útil tentar um driver ligeiramente mais antigo, mas ainda compatível com WSL2, para descartar uma regressão em uma versão muito recente.

  2. Atualize o Kernel do WSL2:

    • Certifique-se de que o kernel do WSL2 está atualizado. Problemas de compatibilidade entre o kernel do Linux e os drivers da GPU podem causar erros estranhos.

    • Abra o PowerShell como administrador e execute:

      PowerShell

      wsl --update
      wsl --shutdown
      
      
    • Reinicie o Ubuntu no WSL2.

  3. Verifique a Versão do CUDA Toolkit:

    • Você mencionou que testou o CUDA Toolkit 12.2 e 11.8. O HOOMD-blue 5.2.0 é compilado contra uma versão específica do CUDA. Embora o CUDA seja geralmente retrocompatível, pode haver pequenas incompatibilidades.

    • Sugestão: Verifique a documentação oficial do HOOMD-blue 5.2.0 ou as notas de versão para ver qual versão do CUDA Toolkit é a recomendada ou utilizada para a compilação oficial das builds do Conda/Micromamba. Tentar corresponder essa versão pode resolver o problema.

    • Às vezes, ter várias versões do CUDA Toolkit instaladas pode causar conflitos nas variáveis de ambiente. Certifique-se de que o PATH e outras variáveis estão apontando corretamente para a versão que você deseja usar.

  4. Teste com um Exemplo CUDA Mais Simples:

    • Para isolar se o problema é do HOOMD ou do ambiente CUDA/WSL2, tente executar um exemplo CUDA simples (por exemplo, um programa C++ ou Python usando pycuda ou numba com CUDA) que apenas inicialize um dispositivo e faça uma operação trivial. Se esses exemplos funcionarem, o problema é mais provável que seja específico da interação do HOOMD. Se eles falharem, o problema é mais fundamental na sua configuração CUDA/WSL2.
  5. Variáveis de Ambiente Adicionais do CUDA:

    • Embora CUDA_VISIBLE_DEVICES seja o mais comum, pode haver outras variáveis de ambiente do CUDA que afetam a inicialização do dispositivo.

    • Por exemplo, CUDA_LAUNCH_BLOCKING=1 pode ajudar a depurar, forçando as chamadas CUDA a serem síncronas, o que pode revelar o ponto exato da falha. Não é uma solução, mas pode ajudar na depuração.

  6. Reinstalação Limpa do HOOMD (e dependências):

    • Às vezes, pacotes podem ser corrompidos. Tente criar um novo ambiente Micromamba/Conda do zero e instale apenas o HOOMD:

      Bash

      micromamba create -n hoomd_env python=3.10
      micromamba activate hoomd_env
      micromamba install hoomd=5.2.0
      
      
    • Isso garante que não há conflitos de pacotes ou arquivos residuais de instalações anteriores.

  7. Verifique Logs de Erro do Sistema:

    • Procure por quaisquer mensagens de erro ou avisos relacionados a drivers de GPU ou CUDA nos logs do sistema do Ubuntu dentro do WSL2 (por exemplo, dmesg, /var/log/syslog).

Soluções Alternativas Conhecidas

Se as opções acima não funcionarem, e você precisar de aceleração de GPU, as principais alternativas (além de hoomd.device.CPU()) seriam:

Informações de Usuários com Sucesso

Embora eu não tenha acesso a feedback de usuários em tempo real sobre o HOOMD-blue especificamente no WSL2, a comunidade CUDA em geral tem tido sucesso significativo. O erro "invalid device ordinal" é geralmente um sinal de que algo está errado na interação entre o runtime CUDA, os drivers e o ambiente (neste caso, o WSL2).

A chave para resolver problemas como este no WSL2 é garantir que:

  1. Os drivers NVIDIA no Windows são os compatíveis com WSL2 e estão atualizados.

  2. O kernel do WSL2 está atualizado.

  3. A versão do CUDA Toolkit que você está usando no ambiente Micromamba/Conda é compatível com a versão do HOOMD-blue que você instalou.

Espero que estas sugestões o ajudem a resolver o problema! Se puder fornecer mais detalhes sobre a versão exata do seu driver NVIDIA para WSL2 e a output completa do erro, isso pode ajudar a refinar o diagnóstico.

Reasons:
  • Blacklisted phrase (2): Espero
  • Blacklisted phrase (3): você
  • Blacklisted phrase (3): Você
  • Blacklisted phrase (1): está
  • Blacklisted phrase (1): porque
  • Blacklisted phrase (1): não
  • Blacklisted phrase (1): Não
  • Blacklisted phrase (2): solução
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Fernando Floret

79712609

Date: 2025-07-23 22:16:48
Score: 1.5
Natty:
Report link

In your sql query the input string type is NVARCHAR. This when encoding uses UTF-16.
In C# you used UTF8 encoding.
The byte representation differs in these 2 cases and hence you see diff SHA-256 hashes.

Both are valid. It depends on the encoding you prefer.
If you prefer to use UTF-8 in sql then use VARCHAR for input type.

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

79712597

Date: 2025-07-23 21:56:43
Score: 5
Natty: 5
Report link

I am not seeing any of this approaches work in multithreaded environments in PRODUCTION. it does not find exact match for class name or match for other flags. how to use all this code in multithreaded environment while different threads calls MessageBox window?

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

79712595

Date: 2025-07-23 21:48:41
Score: 0.5
Natty:
Report link

The redirect URI (where the response is returned to) must be registered in the APIs console, and the redirect_uri_mismatch error indicates that it's not registered or that it's been set up incorrectly. Ensure that the redirect URl you provide in your OAuth authorization request matches exactly the URl that you have added in the Google Developer Console. See related post that might be helpful to you.

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

79712594

Date: 2025-07-23 21:47:41
Score: 0.5
Natty:
Report link

Yes, you can set terminationGracePeriodSeconds to more than 15 seconds for non-system Pods on GKE Spot VMs, but it is honored only on a best-effort basis. When a Spot VM is preempted, it gets a 30 seconds termination notice. The kubelet prioritizes gracefully shutting down non-system Pods, usually allowing up to 15 seconds. If you set a longer period like 25 seconds kubelet may attempt to honor it, but system Pods also require time to shut down. If the total exceeds the 30 seconds window, your Pod may be forcefully killed.

Therefore, while values above 15 seconds are allowed, they may reduce the time available for critical system Pods, making 15 seconds or less the safest option for reliable shutdown behavior on Spot VMs. If your workloads require longer shutdown periods such as for draining connections or flushing logs, consider using standard VMs instead.

For best practice you can refer to this documentation for additional information.

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

79712585

Date: 2025-07-23 21:38:38
Score: 1
Natty:
Report link

Use Terminal to Launch the Executable

Instead of using open, you can directly invoke the executable file within the app bundle: bash

/Applications/MyApp.app/Contents/MacOS/MyApp

This ensures the application attaches to the terminal and can read user input. i hope*

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

79712575

Date: 2025-07-23 21:21:34
Score: 2.5
Natty:
Report link

It looks like Heroku just updated their Python classic buildpack. The error message you are seeing is addressed in the following change log:

https://devcenter.heroku.com/changelog-items/3324

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

79712571

Date: 2025-07-23 21:17:33
Score: 1
Natty:
Report link

Instagram’s API does not support programmatic login using a saved username and password due to strict security and privacy policies. OAuth 2.0 is the only official and supported method, which requires explicit user interaction for authentication. Attempting to bypass this flow by storing credentials and automating login violates Instagram's terms of service and may lead to API access being revoked.

Instead, you should authenticate the account once using the standard OAuth flow, obtain a long-lived access token, and securely store it (e.g., in a database). You can then use this token to programmatically fetch images without needing further logins. This method adheres to Instagram's API guidelines while allowing automated access to the account's media.

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

79712570

Date: 2025-07-23 21:16:33
Score: 2.5
Natty:
Report link

When creating an app, there is a new concept of "use cases". When asked to select a use case, select "Other" (at the bottom). It will then use the older layout and you are able to add Products.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: Elfalem

79712564

Date: 2025-07-23 21:12:31
Score: 3
Natty:
Report link

Genius!

ps: if you work on a burger menu - change the "top" css attribute by -1 pixel -

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

79712560

Date: 2025-07-23 21:05:30
Score: 1
Natty:
Report link

This work for me:

Try to put the logic such as AuthOptions at the different file example

/src/auth.ts

export const { handlers, signIn, signOut, auth } = NextAuth({})

/src/app/api/auth/[...nextauth]/route.ts


import { handlers } from "@/auth"
export const { GET, POST } = handlers
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: M Reza Muktasib

79712556

Date: 2025-07-23 21:00:28
Score: 1
Natty:
Report link

You could try using JavaScript instead of VBScript:

<HTML>
  <HEAD>
    <TITLE>Fix</TITLE>
  </HEAD>
  <BODY>
    <FORM>
      <INPUT TYPE="Run" NAME="Button" VALUE="Click">

      <SCRIPT FOR="Button" EVENT="onClick" LANGUAGE="JavaScript">
        var WshShell = new ActiveXObject("WScript.Shell");
        WshShell.Run("cmd.exe '.\example.bat'");
      </SCRIPT>

    </FORM>
  </BODY>
</HTML>
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Unoheaken