79609347

Date: 2025-05-06 19:17:10
Score: 1
Natty:
Report link

Si todas las columnas de las tablas (tabla_1, tabla_2, tabla_3, tabla_4) coinciden exactamente en nombre, tipo y orden con la de tabla_principal, puedes utilizar la sentencia INSERT INTO ... SELECT para copiar los datos, una tabla a la vez o todas juntas con UNION ALL

INSERT INTO tabla_principal SELECT * FROM tabla_1;
INSERT INTO tabla_principal SELECT * FROM tabla_2;
INSERT INTO tabla_principal SELECT * FROM tabla_3;
INSERT INTO tabla_principal SELECT * FROM tabla_4;

o con UNION ALL

INSERT INTO tabla_principal
SELECT * FROM tabla_1
UNION ALL
SELECT * FROM tabla_2
UNION ALL
SELECT * FROM tabla_3
UNION ALL
SELECT * FROM tabla_4;
Reasons:
  • Blacklisted phrase (1): todas
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: estebanjrdev

79609344

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

daolanfler's answer should be the accepted one, assuming TS 4.9+ (I don't have enough rep to upvote or comment)

Reasons:
  • Blacklisted phrase (0.5): upvote
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: johnny0hh

79609340

Date: 2025-05-06 19:13:09
Score: 3
Natty:
Report link
header 1 header 2
cell 1 cell 2
cell 3 cell
Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Rosalina Da silva cruz

79609336

Date: 2025-05-06 19:10:08
Score: 3.5
Natty:
Report link

no they can't see if you forward messages or read it with telethon or not

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

79609331

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

I found that my package "cola" was imported in my code: "library(cola)".
This was obviously a mistake, so I removed it, and now it works

Reasons:
  • Low length (1):
  • No code block (0.5):
Posted by: gonzalez.ivan90

79609330

Date: 2025-05-06 19:06:06
Score: 0.5
Natty:
Report link

Try This import Geolocation from 'react-native-geolocation-service'; const resuts=await Geolocation.requestAuthorization('whenInUse')

resuts=='granted'

It works for me!

Reasons:
  • Whitelisted phrase (-1): Try This
  • Whitelisted phrase (-1): works for me
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: mahesh Alakunta

79609324

Date: 2025-05-06 19:02:04
Score: 5.5
Natty:
Report link

We used here nitropack plugin. Pretty livey^ http://sales-cncmetal.ru

Reasons:
  • Probably link only (1):
  • Contains signature (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: sales-cncmetal.ru

79609311

Date: 2025-05-06 18:53:01
Score: 1.5
Natty:
Report link

The proposed solution is correct but there is another scenario that is not captured. The same issue can be faced when you have fields in the model passed for validation in the rules but the same fields are not in the form being submitted.

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Esdy Wanjala

79609308

Date: 2025-05-06 18:50:00
Score: 0.5
Natty:
Report link

  
"pylint.args": ["--max-line-length=120"]

this worked for me

Reasons:
  • Whitelisted phrase (-1): this worked for me
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: bro

79609303

Date: 2025-05-06 18:43:59
Score: 1
Natty:
Report link

You may need to set Enable 32 bit Application to true in advanced settings of application pool for the site in IIS

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

79609300

Date: 2025-05-06 18:42:58
Score: 0.5
Natty:
Report link

I understand this post is old but thought I will still answer to the problem. When both GET and POST APIs are implemented properly. There are two settings that need to be updated in Keycloak settings:

enter image description here

enter image description here

  1. Under User federation, add Add User migration using a REST client providers. Then, put display name and rest client URI
  2. Then, under Realm settings enable User-managed access.
    enter image description here
Reasons:
  • Probably link only (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Sharif Mamun

79609299

Date: 2025-05-06 18:41:58
Score: 3
Natty:
Report link

The other question was probably referring to the default behaviour of MapView rather than Map. MapView comes with support for scrolling, pinches, and animated dragging out of the box.

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

79609293

Date: 2025-05-06 18:37:57
Score: 3.5
Natty:
Report link

in the end we no longer had to extend this App, but all other Fiori Elements Apps we had to modify in this project had Adaptation Projects used. Marking this one as closed so people with the same issues / questions can refer to. Thank you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: LGi

79609284

Date: 2025-05-06 18:31:56
Score: 2
Natty:
Report link

A way to prevent workflow approvals from being reset in Comala when a page is edited is make sure that the "Page Update Reset Approval" setting is configured to "Ignore". To do this, go to Space Tools > Document Management > Configuration and you will see the dropdown menu next to "Page Update Reset Approval".

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

79609282

Date: 2025-05-06 18:30:55
Score: 4
Natty:
Report link

Not sure if it's applicable here, but I prepend ᐳ or Ω or ꜥ to items I want last when sorted alphabetically.

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

79609279

Date: 2025-05-06 18:28:54
Score: 1
Natty:
Report link

After the SSL/TLS handshake is completed, the connection continues over the same port that was initially used to establish it, typically port 443 for HTTPS.

Port 443 is the standard port for HTTPS, which includes the SSL/TLS handshake and all encrypted communication afterward.

Port 80 is used for HTTP, which is unencrypted.

So if your client connects to a server using HTTPS, it connects to port 443, performs the TLS handshake over that port, and then continues sending/receiving encrypted data over the same port.

Can you use a different port, like 80, for TLS?
Technically, yes — but it’s non-standard and usually problematic.

  1. TLS itself works over any TCP port. You could configure a server to offer HTTPS over port 80, 8443, or any custom port.

  2. However, port 80 is universally expected to serve plain HTTP, not HTTPS. If a browser or client connects to port 80, it assumes the content is unencrypted.

  3. If you serve HTTPS on port 80 and a client doesn't explicitly expect TLS, the connection will fail, because it will misinterpret the encrypted handshake as regular HTTP.

Key Points:

  1. TLS does not change ports after the handshake, it stays on the same port (usually 443 for HTTPS).

  2. You can technically use TLS on any port, including 80, but it’s non-standard and discouraged unless both server and client are explicitly configured for it.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Shahram Goodarzi

79609277

Date: 2025-05-06 18:25:54
Score: 3
Natty:
Report link

Realizing how silly my question was, I took the advice of @Chris Haas.

I modified my main php script to just do the authentication, and save the tokens. I then used the phpunit CLI to run my test code, which read the saved tokens on start up.

Thanks Chris. Solved my problem and gave me more robust code. Win-win.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • User mentioned (1): @Chris
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Shmuel A. Kam

79609270

Date: 2025-05-06 18:21:52
Score: 3.5
Natty:
Report link

I guess using post hook in config block you can create index. Can you please refer below link and try same for Oracle? Although the given query is for MS SQL server but I guess if you try in similar way it should work

https://discourse.getdbt.com/t/how-to-create-indexes-on-post-hook-for-ms-sql-server-target-db/542

Also you can refer this official DBT link for syntax reference- https://docs.getdbt.com/reference/resource-configs/postgres-configs

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Aishwarya M

79609263

Date: 2025-05-06 18:14:50
Score: 2
Natty:
Report link

This does not address the problem distinguishing
hyphen, long(Em), and short(En) dashes,
nor comma and decimal point in numbers (1.000 = 1,000),
nor underline vs underscore,
nor parenthesis, curly & square brackets,
nor of adjacent character ambiguities in many fonts like
rn = m,
cl = d
vv = w
VV = W
0. = Q
And there are surely others.

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

79609250

Date: 2025-05-06 18:05:48
Score: 3.5
Natty:
Report link

Like I said I just wanted a cool place to share my experience

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: jeremy wilson

79609243

Date: 2025-05-06 18:01:47
Score: 3
Natty:
Report link

Do you now if is there any official information about iPhone support? Or is it empiric information? Took me a while to see that mouse works but many other absolute position devices didn’t and wondering if it’s a question of discovering the correct one for iPhone

Reasons:
  • Blacklisted phrase (1): is there any
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
Posted by: forlayo

79609237

Date: 2025-05-06 17:58:46
Score: 1.5
Natty:
Report link

Since the endpoint requires one version ID to be passed as a URL parameter, you'll need to send different requests for each document.

I'm reaching the documentation team to improve the wording.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: João Martins

79609218

Date: 2025-05-06 17:45:43
Score: 2.5
Natty:
Report link

If you're seeing this error and are using the PyCharm IDE, verify if your venv is marked as 'excluded' in the project directory.

If not, do so and restart and see if the linting is fixed.

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

79609217

Date: 2025-05-06 17:44:42
Score: 3.5
Natty:
Report link

There's another solution as installing the internal package to symlink it

https://github.com/nrwl/nx/discussions/22622#discussioncomment-8987355

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

79609215

Date: 2025-05-06 17:42:42
Score: 1
Natty:
Report link

The newer Stripe Elements (like PaymentElement) support 3DS out of the box. Since you're using server-side confirmation though, you could follow the instructions in this doc - https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds to handle 3DS auth using either confirmCardPayment or handleCardAction functions from Stripe.js

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

79609208

Date: 2025-05-06 17:38:41
Score: 0.5
Natty:
Report link

Use port 465. That works here for a similar setup.

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

79609200

Date: 2025-05-06 17:35:39
Score: 0.5
Natty:
Report link

Following description from https://en.wikipedia.org/wiki/Noncentral_chi-squared_distribution

import torch
import matplotlib.pyplot as plt
plt.style.use('dark_background')

# log of bezel function approximation
# the sum must go to infinity, but we stop at j=100
def bezel(v,y,infinity=100):
    if not isinstance(y,torch.Tensor):
        y = torch.tensor(y)
    if not isinstance(v,torch.Tensor):
        v = torch.tensor(v)
    j = torch.arange(0,infinity)
    bottom = torch.lgamma(j+v+1)+torch.lgamma(j+1)
    top = 2*j*(0.5*y.unsqueeze(-1)).log()
    mult = (top-bottom)
    return (v*(y/2).log().unsqueeze_(-1)+mult)

def noncentral_chi2(x,mu,k):
    if not isinstance(mu,torch.Tensor):
        mu = torch.tensor(mu)
    if not isinstance(k,torch.Tensor):
        k = torch.tensor(k)
    if not isinstance(x,torch.Tensor):
        x = torch.tensor(x)
    
    # the key trick is to use log operations instead of * and / as much as possible
    bezel_out = bezel(0.5*k-1,(mu*x).sqrt())
    x=x.unsqueeze_(-1)
    return (torch.tensor(0.5).log()+(-0.5*(x+mu))+(x.log()-mu.log())*(0.25*k-0.5)+bezel_out).exp().sum(-1)

# count of normal random variables that we will sum
loc = torch.rand((5))
normal = torch.distributions.Normal(loc,1)

# distribution parameter, also named as lambda
mu = (loc**2).sum()

# count of simulated sums
events = 5000
Xs = normal.sample((events,))

# chi-square distribution
Y = (Xs**2).sum(-1)

t = torch.linspace(0.1,Y.max()+10,100)
dist = noncentral_chi2(t,mu,len(loc))

# plot produced hist againts computed density function
plt.title(f"k={len(loc)}, mu={mu:0.2f}")
plt.hist(Y,bins=int(events**0.5),density=True)
plt.plot(t,dist)

k=100 k=10

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

79609189

Date: 2025-05-06 17:25:42
Score: 0.5
Natty:
Report link

Ran into the same issue and what I had to do was basically add my worker project as a consumer in the cloudflare dashboard:

Cloudflare dashboard -> storage & databases -> queues -> select your queue -> settings and add your project (worker) as a consumer.

Now I see the message being consumed and acknowledged.

Hope it helps!

Reasons:
  • Whitelisted phrase (-1): Hope it helps
  • No code block (0.5):
  • Low reputation (1):
Posted by: Rúnar Jóhannsson

79609188

Date: 2025-05-06 17:24:42
Score: 3
Natty:
Report link

Generally its easy to implement constant volumetrics, when amount of "water" in the air is aproximatelly the same evrywhere, for example exponential fog (you can google it out to find some formulas, they are quite easy). But if you want to do something more complex like clouds, where amount of "water" in the air isnt the same at any point, then you should do some sampling and aproximations.

This video might be really helpful with understanding these concepts: https://www.youtube.com/watch?v=y4KdxaMC69w&t

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (1): This video
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Mitro Juryev

79609183

Date: 2025-05-06 17:19:41
Score: 3
Natty:
Report link

This package does that, as well as converting to other common formats
https://github.com/JuliaPlots/NumericIO.jl

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

79609181

Date: 2025-05-06 17:16:40
Score: 1
Natty:
Report link

Try this:

"private": true, "scripts": { "dev": "next dev", "prebuild": "next telemetry disable", "build": "next build", "start": "next start", "lint": "next lint"

Reasons:
  • Whitelisted phrase (-2): Try this:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Gustavo Maldonado

79609180

Date: 2025-05-06 17:16:40
Score: 5.5
Natty: 6.5
Report link

I'm also having this problem and just saw this post. I tried the ["string", "null"] and got the same error as before. If I add the expression above to the Content, Power Automate is saying the Content is not valid. What am I doing wrong? Do I have to add a second action?

Reasons:
  • Blacklisted phrase (1): What am I doing wrong?
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: V Kulkarni

79609178

Date: 2025-05-06 17:13:39
Score: 1.5
Natty:
Report link

add a condition for if the id is empty string nor none, because id is expecting a uuid,
if not shipId:
log.error("empty shipId")
return False

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

79609172

Date: 2025-05-06 17:07:38
Score: 1
Natty:
Report link

in follow up, looks like issue was in not specifying the host parameter in FastMCP(...). without this param server must be taking some short-circuit to 127.0.0.1, for instance tcp was only reachable locally and even that through 127.0.0.1 only.

once I supplied host parameter I was able to make remote calls.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Giorgi Sh.

79609162

Date: 2025-05-06 17:05:37
Score: 0.5
Natty:
Report link

here is the answer!

I hope it can help you!

num = int(input("Enter a number: \n"))
if num % 2 == 0:
    print ("Even")
else:
    print ("Odd")
Reasons:
  • Whitelisted phrase (-1): hope it can help
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Akira Sunsets

79609159

Date: 2025-05-06 17:04:36
Score: 2
Natty:
Report link

option tag After struggling with distorted text in my JavaFX TableView when using the Pyidaungsu font for Burmese text, I found that setting the -Dfile.encoding=UTF-8 option in my pom.xml using the <option> tag in the appropriate Maven plugin configuration which fixed the issue for me.

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

79609156

Date: 2025-05-06 17:03:36
Score: 1.5
Natty:
Report link

The issue was that springdoc-openapi-maven-plugin is executed during integration-test phase while swagger-codegen-maven-plugin default phase is generate-sources which is executed before integration-test in the build lifecycle. Also on your 3rd plugin you entered the id format twice with no spaces so it could not generate your correct to run correctly. That should fix your code and make the process run correctly.

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

79609152

Date: 2025-05-06 16:59:35
Score: 3
Natty:
Report link

Seems you need to have a target env of .net 5 or higher for the setup project to generate an installer with the all users option. On a side note, Crystal Reports does not work with .net higher than 4.8

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

79609146

Date: 2025-05-06 16:56:34
Score: 1
Natty:
Report link

you can set keyboard shortcuts within the Visual Studio Code Shortcut Editor, as described here: https://code.visualstudio.com/docs/configure/keybindings

The link above also describes troubleshooting shortcuts: https://code.visualstudio.com/docs/configure/keybindings#_troubleshooting-keyboard-shortcuts

At the time of writing, to open the Keyboard Shortcuts editor, select the File > Preferences > Keyboard Shortcuts menu, or use the Preferences: Open Keyboard Shortcuts command (Ctrl+K Ctrl+S) in the Command Palette.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Nick Pattman

79609140

Date: 2025-05-06 16:51:32
Score: 1.5
Natty:
Report link

For me the problem was I an artifact environment variable left behind by an unistalled program.
First, I temporarily unset the CURL_CA_BUNDLE variable in my terminal. Then I try to run the program. Once that worked, I renamed CURL_CA_BUNDLE environment variable to CURL_CA_BUNDLE_depr just incase I need to go back to it.

And my installation went smoothly.

Reasons:
  • Blacklisted phrase (0.5): I need
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: SpatialNasir

79609132

Date: 2025-05-06 16:47:31
Score: 1.5
Natty:
Report link

Trying to add references was a distraction and didn't resolve the issue.

The breaking change made on April 28th was that the version of C# used by script actions was rolled back from 11 to 8. Our code uses Raw String Literals (among other things), which is not supported in C# 8.

https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/tokens/raw-string

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

79609130

Date: 2025-05-06 16:46:30
Score: 2
Natty:
Report link

I never really found an adequate solution to this issue. For the one answer provided, with all available capabilities and without runFullTrust, my app still could not access the SQLite database located at FileSystem.AppDataDirectory.

BUT, what did happen is that the Microsoft store stopped flagging my runFullTrust setting with a warning. I suspect that there literally is no way around this at this time. Hopefully future updates will address this.

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

79609127

Date: 2025-05-06 16:44:30
Score: 2
Natty:
Report link

The purpose of generic attribute is for presentation/layout styling in HTML4 but its been replaced with CSS nowadays because of the use of modern HTML5. But the core attribute remains constant and mainly used for element identification and styling (Supported in HTML5). finally international attributes are used to support multilingual website development.

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

79609123

Date: 2025-05-06 16:41:29
Score: 1.5
Natty:
Report link

I'm not sure if you might need this, or maybe someone else, so here is a workaround.

For reproducing the problem, print *, -2147483648yields the following on my machine:

Error: Integer too big for its kind at (1). This check can be disabled with the option ‘-fno-range-check’

Now, the default type of integer in Fortran is type 4, hence the early comment by @jhole.

We can however, make it compliant with print *, -2147483647 - 1, which will output the expected -2147483648.

OR

You can also specify a bigger int for the type of output:

program bigint
integer, parameter :: int64 = selected_int_kind(18)
print *, -2147483648_int64
end program bigint

output would be -2147483648

To answer your questions specifically:

Am trying to find a cite for you here: https://gcc.gnu.org/onlinedocs/gfortran/, I hope I will be successful

Here's a very similar post for you in the meantime. The logic still stands: Why Negating An Integer In Two's Complement and Signed Magnitude Can Result In An Overflow?

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • User mentioned (1): @jhole
  • Looks like a comment (1):
  • High reputation (-1):
Posted by: Tino D

79609101

Date: 2025-05-06 16:26:24
Score: 3
Natty:
Report link

deves cambiar el formato del archivo, de ser una imajen puedes utisar un editor de imajenes como ser paint o cualquier otro editor,,, cuando ayas terminado de editarlo. Elije "guardar como" y aparesen los formatos mas comunes como ser png, jpg, bpm.. etc

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

79609099

Date: 2025-05-06 16:25:24
Score: 1.5
Natty:
Report link

In INFER_SCHEMA try using IGNORE_CASE => TRUE

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

79609094

Date: 2025-05-06 16:20:23
Score: 2.5
Natty:
Report link

Stripe Payment Element does not come with a button. You'll need to add your own button and wire it up with the Stripe.js confirmPayment function as shown in the docs - https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements#add-the-payment-element-component

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

79609091

Date: 2025-05-06 16:18:22
Score: 0.5
Natty:
Report link

That's a server limit. Not sure if that can be increased on the webserver side, as you did not mentioned the server you have to look that up onyour self.

However, using form you should use HTTP Method POST instead of GET, which should transfer that data as POST data and not as url query argument and the limit should not be hit.

You cannot shorten that information as thatis required.

Reasons:
  • No code block (0.5):
Posted by: Stefan Bürk

79609089

Date: 2025-05-06 16:17:22
Score: 2
Natty:
Report link

To use Dropout properly in Equinox, pass a key during training and generate a new one each step with jax.random.split. No key is needed during inference.

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

79609087

Date: 2025-05-06 16:16:21
Score: 1.5
Natty:
Report link

        If group = "Control" Then
                i = i + 1
                arC(i) = age
            End If
        If group = "Exposed" Then
                j = j + 1
                arE(j) = age
            End If

This is what worked best

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

79609079

Date: 2025-05-06 16:13:21
Score: 2
Natty:
Report link

Power Automate flows that worked fine up to today are now giving certificate errors, which would suggest a wider issue at Microsoft.

Action 'Get_response_details' failed: Error from token exchange: Bad Key authorization token. Token must be a valid JWT signed with HS256 Failed to validate token: IDX10249: X509SecurityKey validation failed. The associated certificate has expired. ValidTo (UTC): '5/3/2025 11:59:59 PM', Current time (UTC): '5/6/2025 3:33:17 PM'.

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

79609074

Date: 2025-05-06 16:08:19
Score: 0.5
Natty:
Report link

If you are looking for an answer to this in 2025 (or later), the easiest solution would be to install the Vercel AI SDK:

npm i ai @ai-sdk/openai @ai-sdk/react zod

and follow their Expo Guide.

Contrary to their example, I was using the useObject function instead of useChat and thought streaming wasn't possible because the server part could not use toDataStreamResponse. Turns out that is not true and you can achieve streaming with all the functions as long as you set up the headers to:

{
  "Content-Type": "application/octet-stream",
  "Content-Encoding": "none",
}

TL;DR: Just follow this guide

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

79609055

Date: 2025-05-06 15:53:15
Score: 2.5
Natty:
Report link

Solved by using this version of SDK:

"@aws-sdk/client-cognito-identity-provider": "<=3.621.0",
"@aws-sdk/client-ses": "<=3.621.0",

Reference to the GitHub Post Issue: https://github.com/aws/aws-sdk-js-v3/issues/7051

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

79609054

Date: 2025-05-06 15:52:15
Score: 0.5
Natty:
Report link

Okey finally i got it,The external app already encode to img to bytes but in the backend i created the variable image like a byte[] instead of a String this made that the image chain were encoding again. The solution was refactor the variable image to a String and in the frontend get sanitize the img to get his mime type with this function:

  sanitizeBase64Image(imageData: string): string {
if (!imageData) {
  return 'assets/default-product.jpg'; 
}

const mimeType = imageData.startsWith('iVBOR') ? 'image/png' : 
                 imageData.startsWith('/9j/') ? 'image/jpeg' : 
                 //Add more conditions for other image types if needed
                 'image/octet-stream';  

return `data:${mimeType};base64,${imageData}`; 

}

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

79609053

Date: 2025-05-06 15:51:14
Score: 1
Natty:
Report link

Thank you to everyone who responded.

I received some input here: https://www.googlecloudcommunity.com/gc/Workspace-Developer/Gmail-API-HTML-message-with-UTF-8-character-set-extended/m-p/903889#M2940 which indeed solved the problem by adding additional calls to set the UTF-8 in additional places in the code.

Here are the updates that worked:

            Properties props = new Properties();
            props.put("mail.mime.charset", StandardCharsets.UTF_8.displayName());
            Session session = Session.getInstance(props);
            MimeMessage email = new MimeMessage(session);
            
            email.setFrom(new InternetAddress(appConfig.getThreadedApp()));
            email.addRecipient(javax.mail.Message.RecipientType.TO, new InternetAddress(toEmailAddress));

         ...

            email.setSubject(subject, StandardCharsets.UTF_8.displayName());
            email.setContent(htmlBodyText, ContentType.TEXT_HTML.getMimeType()+ "; charset="+StandardCharsets.UTF_8.displayName());
            
            ByteArrayOutputStream buffer = new ByteArrayOutputStream();
            email.writeTo(buffer);
            byte[] rawMessageBytes = buffer.toByteArray();
            String encodedEmail = Base64.encodeBase64URLSafeString(rawMessageBytes);
            Message message = new Message();
            message.setRaw(encodedEmail);

         ...

            message = service.users().messages().send(myEmailAddress, message).execute();
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: jn4

79609042

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

To create a derived column in Azure Data Factory where the value depends on the content of another column follow the below steps:

According to the ask, I've created a new column target_attr to achieve the conditions:

Firstly, I've stored the CSV file in Azure Blob Storage.

Then set a linked service and create a dataset in ADF

enter image description here

Let it automatically detect the columns under Schema option.

Then create a Data Flow:

  1. Add a Source and choose the Dataset you created.

enter image description here

  1. Click + and add a derived column AddTargetAttr. Choose the Incoming stream accordingly. And add a new column target_attr with expression as :
case(
  source_attr == 'username', username,
  source_attr == 'email', email,
  ''
)

enter image description here

3.Adding a Sink to preview output.

enter image description here

Finally turn on Data Flow Debug. Once Active, go to Data Preview and refresh it.

enter image description here

As you can see that I'm successfully able to fetch the Derived Column.

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

79609036

Date: 2025-05-06 15:42:12
Score: 0.5
Natty:
Report link

OK, according to Metcalf, Reid, Cohen and Bader "Modern Fortran Explained incorporating Fortran 2023" the model for an integer number i of a given kind is (stupid stackoverflow not supporting MathJax...)

i = s * Sum_k w_k * r^{k-1}

where

I don't possess the standard but this is the same formula and interpretation is given in section 16.4 of "J3/24-007(Fortran 2023 Interpretation Document)"

Note how the above model is symmetric about zero. Thus if the maximum value supported for a given kind of integer is 2147483647, the most negative number that need be supported is -2147483647. Thus as I understand it gfortran is perfectly within its rights here to reject -2147483648 if the maximum is +2147483647.

I see nothing that stops a given implementation supporting integers for a given kind outside the range, only that as regards intrinsic numeric inquiry functions they behave as if the number were modelled by the above equation. Thus the intel compiler is also within its rights here, though personally I would like to to provide a diagnostic as a quality of implementation issue - but as I see it it is not required.

Reasons:
  • Blacklisted phrase (1): regards
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Ian Bush

79609033

Date: 2025-05-06 15:39:10
Score: 1
Natty:
Report link

The problem is that std::unique_ptr<T> cannot be cast to T*; and, in general, you should not be using C-style casts in C++. Your comment about the GetWidth and GetHeight lines is fair, but this is because of the operator overloading: indeed, this says nothing about the cast-ability of the type; it merely makes it behave like the underlying type pointer with regard to dereferencing. The raw pointer (the memory underlying the unique_ptr) can be obtained through myVec[0].get(), but then I'd ask why you are using smart pointers in the first place.

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

79609032

Date: 2025-05-06 15:39:09
Score: 9 🚩
Natty: 5.5
Report link

I have also encountered this problem. Have you solved it? How was it repaired?

Reasons:
  • Blacklisted phrase (2): Have you solved it
  • RegEx Blacklisted phrase (1.5): solved it?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Coder Bin

79609028

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

Currently to me it looks like

results[nrow(results):1, ]
     [,1] [,2] [,3]
[1,]    1    0    0
[2,]    0    2   NA
[3,]    2    0    2
[4,]    1    2   NA

Is this only accidentally?

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Friede

79609013

Date: 2025-05-06 15:28:06
Score: 3
Natty:
Report link

It's now configurable in the global settings GUI:

VSCode Settings

You can choose between:

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

79609010

Date: 2025-05-06 15:27:06
Score: 2.5
Natty:
Report link

The legal experts at Illumine Legal are known for their outstanding ability to resolve complex legal matters with clarity and confidence. Their in-depth knowledge, strategic thinking, and client-first mindset make them a trusted resource for individuals and businesses alike. Whether it’s offering sound legal advice or handling disputes, the legal experts at Illumine Legal provide dependable, results-driven support tailored to each client’s needs, ensuring strong representation and peace of mind throughout every legal challenge.enter image description here

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

79609005

Date: 2025-05-06 15:24:05
Score: 2.5
Natty:
Report link

Appl developer account renewal date got preponed by 4 months when i applied for a waiver.

now I have only 3 days to renew but no renew button is displayed

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

79609003

Date: 2025-05-06 15:23:04
Score: 0.5
Natty:
Report link

To avoid the overflow from @Evan Teran 's answer, I'll just use a wider type, ie size_t suitable for common use cases.

convert.cpp

#include <iostream>
#include <sstream>
#include <exception>

size_t convertHex(const std::string& hexStr)
{
    std::cout << "This trick can print values up to: " << static_cast<size_t>(-1);
    std::cout << std::endl;

    std::stringstream ssBuff {};
    size_t x {0};

    ssBuff << std::hex << hexStr;
    ssBuff >> x;

    if(!ssBuff.eof() || ssBuff.fail())
    {
        throw std::runtime_error("Conversion in stringstream failed.");
    }

    return x;
}

int main(int argc, char* argv[])
{
    if(2 != argc)
    {
        std::cout << "Usage: " << argv[0] << "  [hex_string_to_convert].";
        std::cout <<  std::endl;
        return -1;
    }

    try
    {
        std::string hexStr{argv[1]};
        size_t value = convertHex(hexStr);
        std::cout << hexStr << " = " << value << std::endl;
    }
    catch(std::runtime_error &e)
    {
        std::cout << "\tError: " << e.what() << std::endl;
        return -1;
    }

    return 0;
}
g++ -o app convert.cpp && ./app fffefffe

Output:

This trick can print values up to: 18446744073709551615

fffefffe = 4294901758

./app fffefffefffffffffffffffffffffffffffffffff

Output:

This trick can print values up to: 18446744073709551615

Error: Conversion in stringstream failed.

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

79609001

Date: 2025-05-06 15:22:04
Score: 1.5
Natty:
Report link

Gcc flag repetition of -Wl what does the linker actually do

The linker just receives more arguments, as specified with -Wl

My question is: Is -Wl such a cumulative flag?

yes

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

79608995

Date: 2025-05-06 15:21:03
Score: 3.5
Natty:
Report link

Same problem metioned by @Desolator, the code doesn't run on modern Chrome setups.

After some investigation, I discovered that since July 2024, the encryption method has changed: encryption is now tied to the application that performs it (in this case, Chrome), making decryption by other means no longer possible.

Reasons:
  • RegEx Blacklisted phrase (1): Same problem
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Desolator
  • Low reputation (0.5):
Posted by: arturn

79608992

Date: 2025-05-06 15:19:03
Score: 0.5
Natty:
Report link

I also got same problem in linux. Instead of running with mcp dev server.py, run with

npx @modelcontextprotocol/inspector uv run server.py

I assumed that you have install uv. This command works perfectly for me.

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

79608987

Date: 2025-05-06 15:18:02
Score: 2
Natty:
Report link

I'd change that role to listbox and see what happens.

The aria-haspopup spec wants the value you choose for the attribute to match the role for the element you've added it to. Not sure if addressing the discrepancy would resolve the error, but I think it's worth a shot

More broadly, it might be helpful to consider using a instead, but one crisis at a time here :)

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

79608985

Date: 2025-05-06 15:17:02
Score: 2
Natty:
Report link

Solution that worked for me is:enter image description here

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: lukyer

79608983

Date: 2025-05-06 15:14:01
Score: 2
Natty:
Report link

@hainabaraka I encountered this same error because the frontend is running on localhost:8080 and the backend on http://127.0.0.1:8000. Although localhost and 127.0.0.1 both refer to the same machine, the browser treats them as different domains. So, when the backend (http://127.0.0.1:8000) sets a cookie, the frontend (http://localhost:8080) cannot access it because the browser considers them to be on different origins."

so change"fetch('http://localhost:8000/api/abc', { method: 'GET', credentials: 'include', }) change(http://127.0.0.1:8000 to http://localhost:8000/api) 101% can solve the issue.

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

79608979

Date: 2025-05-06 15:12:01
Score: 0.5
Natty:
Report link

To make each MUI TextField take the full width (one per line) in a React form, you can use the fullWidth prop provided by Material-UI's TextField component. This will ensure that each TextField stretches to occupy the available width of its container, and if you want each one on a new line, you can simply wrap each TextField in a Box or a div.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Areeba Nishat

79608977

Date: 2025-05-06 15:10:00
Score: 1
Natty:
Report link

my current solution is to bruteforce it:

<option>foo</option>=yes|<emphasis>no</emphasis>
Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: cagney

79608966

Date: 2025-05-06 15:03:58
Score: 5
Natty: 4.5
Report link

Same problem metioned by @Desolator, the code doesn't run on modern Chrome setups.

Reasons:
  • RegEx Blacklisted phrase (1): Same problem
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @Desolator
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: arturn

79608960

Date: 2025-05-06 15:00:57
Score: 3
Natty:
Report link

Your script is working perfectly on my dahua nvr , to get other channels just modify http://$ip:$port/cgi-bin/snapshot.cgi?channel=1?1

channel 0 is camera 1

channel 1 is camera ...

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

79608959

Date: 2025-05-06 14:59:56
Score: 3.5
Natty:
Report link

I was able to help myself out, I had a filter that modified the request to keep only what it was interested in. That's why I didn't have my SAML

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

79608956

Date: 2025-05-06 14:57:55
Score: 4.5
Natty:
Report link

Daisyui Supports Tailwindcss 4.0 now, check here for the setup guide: Install daisyUI as a Tailwind plugin

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

79608955

Date: 2025-05-06 14:56:54
Score: 4
Natty: 5
Report link

update visual studio resolved...

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

79608950

Date: 2025-05-06 14:55:54
Score: 2
Natty:
Report link

We will definitely need more information - ideally file a new issue and attach/share a simple reproducer app that would demonstrate the problem.

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

79608949

Date: 2025-05-06 14:55:54
Score: 2
Natty:
Report link

Because in this case the compiler does not need to know the size of the structure test, and the address is still eventually cast to the int * type.

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

79608945

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

After some research and trial-and-error, apparently the best way is to use

List-Unsubscribe:

This is described in https://www.ietf.org/rfc/rfc2369.txt and endorsed by Google and Microsoft.

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

79608939

Date: 2025-05-06 14:51:52
Score: 2
Natty:
Report link

The 1st solution is the better one since it's shorter and quicker. It also supports future sheets / tables widths development.

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ronen Ben-Meir

79608938

Date: 2025-05-06 14:51:52
Score: 4.5
Natty: 4
Report link

You can now disable the feature which is awesome:
https://learn.microsoft.com/en-us/power-platform/alm/git-integration/connecting-to-git#disconnect-from-git

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

79608937

Date: 2025-05-06 14:50:52
Score: 1.5
Natty:
Report link

After end of the code try to add this below lines
its a dirty trick to remove all the mirages, shadows in streamlit

for i in range(0, 100):
    st.markdown(" ")
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Raghu Nath

79608926

Date: 2025-05-06 14:42:50
Score: 3
Natty:
Report link

Your question is already asked and answered, still discussion is ongoing, plz follow that from here

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

79608919

Date: 2025-05-06 14:37:48
Score: 0.5
Natty:
Report link

It didn't work for me, because the problem wasn't using the secret but rather making the Glue Data Connection endpoint that was supposed to use AWS Secrets.

To do this you need to pass "SECRET_ID":

resource "aws_glue_connection" "my_connection" {
    connection_properties = {
        JDBC_CONNECTION_URL = "jdbc:..."
        SECRET_ID = aws_secretsmanager_secret.glue_data_connection_credentials.name

Terraform v1.9.4
AWS Provider v5.85.0

Reasons:
  • Blacklisted phrase (1): It didn't work for me
  • Has code block (-0.5):
Posted by: rmsys

79608911

Date: 2025-05-06 14:29:19
Score: 1.5
Natty:
Report link

Happened to me when I ran out of space on my /:C drive. Was running this

pip install tensorflow[and-cuda]
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: oshkosh

79608900

Date: 2025-05-06 14:25:18
Score: 3
Natty:
Report link

AWS has a service called AWS S3 batch operation, which makes it easy to retrieve multiple objects from Glacier back to S3. For more information, here is the documentation page: https://docs.aws.amazon.com/AmazonS3/latest/userguide/restoring-objects.html

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

79608890

Date: 2025-05-06 14:15:15
Score: 1
Natty:
Report link

I've been through something similar today. With the help of ChatGPT (which was not around 2 years ago haha), I think I got some answers... but, yeah, it's weird and it does not make a lot of sense.

Using the google_sign_in Flutter package on Android, when you provide a clientId, it overrides the behavior and ignores the google-services.json file. So, if you go the road of downloading the google-services.json file from Firebase, then do not provide a clientId.

The thing is that I did not want to use Firebase in my use case. So, how do I provide the necessary context to the package if I cannot provide a client id? And, I don't understand why that does not work because that's precisely what I did on iOS. Here is a working version:

Here's how ChatGPT summarized it for me:

Even if the Android Client ID isn't directly used in the app, registering it in the Google Cloud Console (with the correct package name and SHA-1 certificate) ensures that Google's authentication services recognize the app.

Maybe it made that up, I don't know, but the important part is that it works!

Reasons:
  • Blacklisted phrase (1): how do I
  • Blacklisted phrase (0.5): I cannot
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Jordan

79608887

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

You can try using this command:


python -m pip install --upgrade pandas
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Najmul Islam Najim

79608885

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

Thanks for pointing this out, you are right, this is a bug, and a regression from v3.1 of Dashboards.
I've raised a bug report here: https://github.com/highcharts/highcharts/issues/22999
You can watch this issue in the link above and track any information and workarounds for this one.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Andrzej Bułeczka

79608875

Date: 2025-05-06 14:03:11
Score: 4
Natty:
Report link
<%@page import="com.vvt.samplprojectcode.utilities.Message"%>
<%@page import="com.vvt.samplprojectcode.utilities.LocationDetailsUtilities"%>
<%@page import="com.vvt.samplprojectcode.dto.LocationDetails"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<jsp:include page="/pages/template.jsp">
    <jsp:param value="<div id='ch'/>" name="content" />
</jsp:include>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Location Details</title>
<script type="text/javascript">
function editLocation(slno) {
    window.location.href = "locationdetails.jsp?slno=" + slno + "&type=displayData";
}
function deleteLocation(slno) {
    swal({
        title: "Are you sure?",
        text: "Do you want to delete the selected location?",
        icon: "warning",
        buttons: true,
        dangerMode: true,
    }).then((willDelete) => {
        if (willDelete) {
            window.location.href = "locationdetails.jsp?slno=" + slno + "&type=deleteData";
        }
    });
}
</script>
</head>
<body>
<%
if (session.getAttribute("username") == null) {
    response.sendRedirect("login.jsp?" + Message.session_logout);
} else {
    try {
        LocationDetailsUtilities locationDetails = new LocationDetailsUtilities();
        LocationDetails roleDetailsModal = new LocationDetails();
        int slno = 0;

        String type = request.getParameter("type");

        if (type != null && type.equalsIgnoreCase("saveData")) {
            locationDetails.setLocationname(request.getParameter("LocationName"));
            String message = LocationDetailsController.saveLocationDetails(locationDetails);
            response.sendRedirect("fileupload.jsp?" + message);
        }
        
        
        
%>
<div class="right_col" role="main">
    <div class="">
        <div class="clearfix"></div>
        <div class="row">
            <div class="col-md-12 col-sm-12 col-xs-12">

                
                <div class="x_panel">
                    <div class="x_title">
                        <h2>Location Details (Upload File)</h2>
                        <div style="float: right">
                            <a href="${pageContext.request.contextPath}/ExcelTemplate/locationdetails.xlsx">
                                Location details <i class="fa fa-download"></i>
                            </a>
                        </div>
                        <div class="clearfix"></div>
                    </div>
                    <form action="bulkUploadData.jsp?type=locationDetails"
                        class="form-horizontal form-label-left" method="post"
                        enctype="multipart/form-data">

                        <div class="form-group">
                            <label class="control-label col-md-2">
                                Select File:<span style="color: red">*</span>
                            </label>
                            <div class="col-md-4">
                                <input type="file" name="file" class="form-control">
                            </div>
                            <div>
                                <button type="reset" class="btn btn-primary">Reset</button>
                                <input type="submit" value="Submit" class="btn btn-success" />
                            </div>
                        </div>
                    </form>
                    
                    <form action="fileupload.jsp?type=saveData" method="post"
                        class="form-horizontal form-label-left">
                        <div class="form-group">
                            <label class="control-label col-md-2">
                                Location Name:<span style="color: red">*</span>
                            </label>
                            <div class="col-md-4">
                                <input type="text" name="locationName" class="form-control"
                                    placeholder="Enter Location Name" required>
                            </div>
                            <div>
                                <button type="reset" class="btn btn-primary">Reset</button>
                                <input type="submit" value="Submit" class="btn btn-success" />
                            </div>
                        </div>
                    </form>
                </div>

                
                
                    
               
                <div class="x_panel">
                    <table class="table" id="datatable">
                        <thead>
                            <tr>
                                <th>Slno</th>
                                <th>Location Name</th>
                                <th>Edit</th>
                                <th>Delete</th>
                            </tr>
                        </thead>
                        <tbody>
                            <%
                            int count = 0;
                            LocationDetailsUtilities locationDetailsUtilities = new LocationDetailsUtilities();
                            for (LocationDetails display : locationDetailsUtilities.getLocationDetails()) {
                                count++;
                            %>
                            <tr>
                                <td><%= count %></td>
                                <td><%= display.getLocationname() %></td>
                               <td><button onclick="editLocation('<%=display.getSlno()%>')" class="btn edit" title="Edit">
                                                <i class="fa fa-pencil"></i>
                                            </button></td>
                                        <td><button type="button" onclick="deleteLocation('<%=display.getSlno()%>')"  class="btn delete" title="Delete">
                                                <i class="fa fa-trash-o fa-lg"></i>
                                            </button></td>
                            </tr>
                            <% } %>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
<%
    } catch (Exception e) {
        e.printStackTrace();
        response.sendRedirect("login.jsp?" + Message.session_logout);
    }
}
%>
</body>
</html>     in this code i want to add a manual locationname and that will be store on ui table and mysql table please suggest the corrected code
Reasons:
  • RegEx Blacklisted phrase (2.5): please suggest
  • RegEx Blacklisted phrase (1): i want
  • RegEx Blacklisted phrase (1): i want to add a manual locationname and that will be store on ui table and mysql table please
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Salman

79608871

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

Use font-display property to hide text with custom fonts until they are loaded by browser.

font-display: block;

Be careful with heavy fonts (variable, a lot of weights) as it will increase time to First Contentful Paint for your website.

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

79608870

Date: 2025-05-06 14:01:11
Score: 2
Natty:
Report link

open your console, press ctrl + shift + P. It will open command palette run clear console history command. Done.

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

79608869

Date: 2025-05-06 14:01:11
Score: 3
Natty:
Report link

Set your JPanel's layout manager to FlowLayout() or BorderLayout() and set its margins using setBorder(BorderFactory.createEmptyBorder(top, left, bottom, right)).

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

79608866

Date: 2025-05-06 14:00:10
Score: 1.5
Natty:
Report link

Wow, I spend hours last night trying to think (and overthink) about this issue. I searched online, I asked chatGPT I tried a million ways and this simple answer might do it. Can’t wait to try. In summary, what I read was, instead of using the inputs directly in my renderPlot function I store the default state of the inputs in reactive values, then place the inputs inside an observe event which updates the reactive values when the user opens the tab. At first the update generates the same value so nothing really happens, but when the user changes the sliderInput the plot will update.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ricardo Leitão

79608864

Date: 2025-05-06 13:58:09
Score: 5.5
Natty:
Report link

The gem has been removed from GitHub. Is the question still relevant?

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

79608856

Date: 2025-05-06 13:52:08
Score: 1
Natty:
Report link

When you encounter a 403 Forbidden error, it may be due to a firewall configuration or the way your App Engine configuration file is set up.

(1) Try to check the firewall settings by navigating to your App Engine’s Firewall UI. Use Test IP Address to verify that the settings are correct and if the external IP would be allowed by the existing firewall rules.

image

(2) Check your app’s configuration files, specifically the app.yaml file, to see and check if the runtime.js file is correctly declared as static_files and not mistakenly marked as an application code file.

You can also check this StackOverflow post, which I think might be related to your concern but it offers a different workaround.

If above doesn’t not work and if you have a support package, I would recommend you getting help through reaching out to Google Cloud Support for a more in-depth analysis of your issue or you can just open an issue report on Google’s App Engine public issue tracker but please note that they won’t be able to provide a specific timeline for when the issue will be resolved.

Reasons:
  • Blacklisted phrase (1): StackOverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Low reputation (0.5):
Posted by: HerPat

79608852

Date: 2025-05-06 13:50:07
Score: 2
Natty:
Report link

One way to do is to use a for loop:

\>>> names = Student.objects.filter(first_name__in=['Varun', 'Gina'])

\>>> names

<QuerySet [<Student: Varun Sharma>, <Student: Gina Ram>]>

\>>> for name in names:

... print(name)

...

Varun Sharma

Gina Ram

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

79608849

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

I just had this problem (and solved it).

What caused the error : when I clicked a .cs to open it (JSON_to_UBL.cs) , VS created a .RESX-file. I don't know why.... but it did (see image below) !

This caused the error : two output file names resolved to the same output path: "obj\Debug\net8.0-windows\Peppol_Communicator.PeppolMain.resources"

I could not find the true reason as there is no link whatever to another file of the same name in the resx. After deletion of JSON_to_UBL.resx the program compiled like a charm as it did before!

enter image description here

I sure would like to know why VS added the .RESX for free after double-clicking a cs.

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

79608844

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

I can try to decompose your consumer operations into a set of elementary more once and connect them by topics (change topology) of processing. Think also bout involving Kafka Streams, which handle parallelism and durability problems. Backpressure is very often not a good idea, because it requires more logic and leads to intentional performance degradation.

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