79582179

Date: 2025-04-19 08:42:19
Score: 3.5
Natty:
Report link

Just go to C:\laragon\data\mysql-8\ folder and delete "test" folder

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

79582177

Date: 2025-04-19 08:39:18
Score: 3
Natty:
Report link

Use spark email app

https://apps.apple.com/app/id997102246

Very efficient and can also be shared with others

Can share thread or single email

Can disable link anytime

Cost effective one time purchase the app

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

79582172

Date: 2025-04-19 08:35:17
Score: 1
Natty:
Report link

You can prevent the closure by saving b in a local variable with for b in [b]:

gen_factory=((pow(b,a) for b in [b] for a in it.count(1)) for b in it.count(10,10))

Attempt This Online!

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

79582165

Date: 2025-04-19 08:25:15
Score: 3.5
Natty:
Report link

You do have a space in this node_id goto parameter?

return Command(goto="teach _ai"
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: RockyDon

79582159

Date: 2025-04-19 08:21:13
Score: 1.5
Natty:
Report link

If you are unable to scrape using Playwright, I will suggest using scarpfly, with asp true. Hopefullt it will fix the captcha issue.

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

79582155

Date: 2025-04-19 08:12:11
Score: 1.5
Natty:
Report link

from pydub import AudioSegment

from pydub.generators import Sine

# Create a placeholder audio (1.5 min of silence) for timing while the real voice track is in development

duration_ms = 90 * 1000 # 1 minute 30 seconds

silent_audio = AudioSegment.silent(duration=duration_ms)

# Export the silent placeholder audio

file_path = "/mnt/data/ertan_diss_placeholder.mp3"

silent_audio.export(file_path, format="mp3")

file_path

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

79582147

Date: 2025-04-19 08:04:09
Score: 0.5
Natty:
Report link

Using the .Net SDK:

Azure.Monitor.Query.LogsQueryClient c = new LogsQueryClient(credential, new LogsQueryClientOptions() { });
var r = await c.QueryResourceAsync(this.Resource.Id, "AzureActivity", QueryTimeRange.All, new LogsQueryOptions(), cancellationToken);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: David

79582144

Date: 2025-04-19 08:03:08
Score: 4
Natty: 4.5
Report link

thank you Henil Patel your code works

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: MohammadReza Parviz

79582143

Date: 2025-04-19 08:02:08
Score: 8
Natty: 7
Report link

So, a question related to this. How do I dynamically create an instance of an object that is 1 of many that implement an interface? For example, in the example above, say there are 3 types of user, but I only want to create an instance of 1 of them at any given moment. I suppose you could put each of them in their own class or method and call the appropriate class/method, but that adds an extra unneeded level of abstraction. Thanks in advance.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): How do I
  • RegEx Blacklisted phrase (3): Thanks in advance
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: matthew

79582130

Date: 2025-04-19 07:40:03
Score: 1
Natty:
Report link

Also by changing the import statement from this:

import axios from 'axios';

to this: (importing the module package directly in the file where axios is used)

import axios from 'axios/dist/browser/axios.cjs';

resolved the error.

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

79582126

Date: 2025-04-19 07:35:02
Score: 1
Natty:
Report link

I had this same error while installing the package directly through installation window. Mistake which i made was that i downloaded the wrong package. (For Apple silicon (M1,2,..) Macs:
R-4.5.0-arm64.pkg SHA1-hash: a47d9579664f0ca878b83d90416d66af2581ef9c
(ca. 97MB, notarized and signed))

Since i am using macOS i had selected Apple Silicon package to install, but if you are using a macOS you need to download package for Intel Mac if your macOS has Intel processor - For older Intel Macs:
R-4.5.0-x86_64.pkg SHA1-hash: d1121c69451118c6e43d66b643c589008340f3e7
(ca. 100MB, notarized and signed)

R package download page screenshot

Using right package solved my problem and i was able to install R console smoothly on my macOS.

I used <https://mirror.niser.ac.in/cran/>link to download the package for R console.

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

79582125

Date: 2025-04-19 07:33:02
Score: 3.5
Natty:
Report link

thans to Cyrus and derpirscher, by default ? in sed is not a wildcard, use \? to use it as traditional regex wildcard.

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

79582121

Date: 2025-04-19 07:31:01
Score: 1
Natty:
Report link

You might just need to use this package app_links subscribe to the initial and further links to the app, and it'll work perfectly, also you'll need to disable default Flutter deep linking

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

79582119

Date: 2025-04-19 07:29:00
Score: 1.5
Natty:
Report link

People were abuing PagingAndSortingRepository, so they split it for better modularity.
PagingAndSortingRepository is only support to getch requests , but we all used it to save and update as well. If you want to have findById, simply extend your repository with CruDRepository

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

79582113

Date: 2025-04-19 07:16:57
Score: 4
Natty: 4.5
Report link

If someone still needs answer to this question, they can check here:

https://en.delphipraxis.net/topic/13012-tbutton-change-font-color

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

79582107

Date: 2025-04-19 07:08:55
Score: 2
Natty:
Report link

If your using KSP v2.0.20-1.0.24 then it depends on kotlin version 2.0.20

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

79582103

Date: 2025-04-19 07:07:55
Score: 2
Natty:
Report link

If your using KSP v2.0.20-1.0.24 then it depends on kotlin version 2.0.20

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

79582098

Date: 2025-04-19 06:58:53
Score: 0.5
Natty:
Report link

You need to change property name in Binding inside MainWindow.xaml
because it does not match property in MainVM.cs

Avdecha_VM vs AvdechaVM

<vw:Avdecha_VW Grid.Row="0" DataContext="{Binding Avdecha_VM}" />
 public Avdecha_VM AvdechaVM { get; }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Anton

79582097

Date: 2025-04-19 06:57:52
Score: 0.5
Natty:
Report link

Your async proxy fails with HTTPS because after the 200 Connection established response, you're supposed to tunnel encrypted data without touching it. But your code closes sockets too early and doesn’t handle both directions properly. Use asyncio.open_connection() and forward data both ways until the connection naturally ends

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

79582095

Date: 2025-04-19 06:56:52
Score: 3
Natty:
Report link

Since it is micro front end architecture. You should have some config having the url in parent app, where the iframe would be responsible to load the application or component

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

79582094

Date: 2025-04-19 06:55:52
Score: 3
Natty:
Report link

Use 'at' instead of 'loc', that worked for me more explanation can be found here:

https://github.com/pandas-dev/pandas/issues/57962

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Bhargav Bhatt

79582091

Date: 2025-04-19 06:48:50
Score: 3
Natty:
Report link

I recently migrated my project from playframework version 1.2 to 1.8
Faced this error everywhere.
So I just commented @util annotation where we have methods in controller and it worked.
enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @util
  • Low reputation (1):
Posted by: Rishabh Jain

79582083

Date: 2025-04-19 06:25:46
Score: 2
Natty:
Report link
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user3012954

79582082

Date: 2025-04-19 06:24:46
Score: 4
Natty:
Report link

If I replace this line of code in your second script, it works.

timesteps, nx, ny = hraw.shape

With random data, because we don’t know how you load the h raw and uraw.

timesteps, nx, ny = 174, 200, 50 
hraw = np.random.rand(timesteps, nx, ny)  # Example-horizontal data 
uraw = np.random.rand(timesteps, nx, ny)  # Example-speed data

Does this not look like what you are searching for, or please explain your target. How do you load your data?

Reasons:
  • Blacklisted phrase (1): How do you
  • RegEx Blacklisted phrase (2.5): please explain your
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Hermann12

79582072

Date: 2025-04-19 06:10:43
Score: 1.5
Natty:
Report link

I encountered the same issue. When I ran ping firebasecrashlyticssymbols.googleapis.com in the command prompt, it failed and returned an error. I realized that my active VPN might be causing the problem. After disconnecting the VPN, everything worked perfectly—problem solved!

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

79582069

Date: 2025-04-19 06:03:41
Score: 3
Natty:
Report link

i removed the two ItemGroup from .csproj file the restarting the vs things worked

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

79582068

Date: 2025-04-19 06:03:41
Score: 3.5
Natty:
Report link

try to increase number of Maximum client sessions per authentication name in the configuration section of settings tab of Azure Event Grid Namespace.

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

79582061

Date: 2025-04-19 05:56:40
Score: 1
Natty:
Report link

May be you can use withColumn with .concat() function after you have read like shown in the answer for this question.
add double quotes at the start and end of each string of column pyspark

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
Posted by: Vindhya G

79582058

Date: 2025-04-19 05:53:39
Score: 2.5
Natty:
Report link

RegisterAdvAccount failed. resp: RegisterAdvAccountResponse(advertiser_id=-1, BaseResp=BaseResp(Extra={u'LogID': u'20250419054708BCD4EC3DCC6B037630AB'}, StatusMessage=u'Regist.CountryNotPermission', StatusCode=2004), leave_info_tip_type=0, core_user_id=-1)

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

79582054

Date: 2025-04-19 05:48:37
Score: 4.5
Natty:
Report link

i am also trying if you get any solution of it . share to mee also it's my final year project that why i also dont get this permissions .

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dk.trading 1010

79582048

Date: 2025-04-19 05:30:34
Score: 3
Natty:
Report link

If all these solutions feel complicated you can download the vscode from their website and get it back again with all your setup still intact. Their website: Download Link

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

79582045

Date: 2025-04-19 05:24:33
Score: 2
Natty:
Report link

Using brew install typescript on mac seems to solve the problem

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: 东方不败

79582035

Date: 2025-04-19 05:10:30
Score: 2.5
Natty:
Report link

It sounds like you're on the right track, trying to fetch data based on the date! It's a common scenario when working with sports APIs. You should troubleshoot this and get the league data in your Next.js app. For another information, You can get the football news @TouchlineTales.

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

79582031

Date: 2025-04-19 05:03:28
Score: 1.5
Natty:
Report link

What worked for me was uninstalling and reinstalling globally in command prompt

npm uninstall -g create-vite

npm install -g create-vite

But using npx instead of npm worked just as well

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: wakemeupjpg

79582030

Date: 2025-04-19 05:01:27
Score: 4.5
Natty:
Report link
from fpdf import FPDF
import os
from PIL import Image

class PDF(FPDF):
    def header(self):
        self.set_font("Arial", 'B', 16)
        # Aquí podrías agregar un logo o algo más si deseas
    
    def chapter_title(self, title):
        self.set_font("Arial", 'B', 16)
        self.cell(0, 10, title, ln=True, align='C')
        self.ln(5)
    
    def chapter_body(self, body):
        self.set_font("Arial", '', 12)
        self.multi_cell(0, 10, body)
        self.ln()

pdf = PDF(format='A4')
pdf.set_auto_page_break(auto=True, margin=15)

# Ejemplo: agregar portada
pdf.add_page()
pdf.chapter_title("Coloreando mis emociones")
# Suponiendo que tengas una imagen de portada en color en la ruta especificada
portada = "/mnt/data/tu_portada_color.png"  # Asegúrate de cambiar la ruta
if os.path.exists(portada):
    pdf.image(portada, x=10, y=30, w=pdf.w - 20)
pdf.ln(20)

# Agrega la dedicatoria
pdf.add_page()
pdf.chapter_title("Dedicatoria")
dedicatoria_text = (
    "Para mis hijos,\n\n"
    "Ustedes me enseñan cada día, me muestran un mar de emociones. "
    "Un día lloramos de risa y al rato lloramos porque estamos tristes. "
    "Cada momento es algo nuevo, una aventura. Nos peleamos, nos enojamos, nos abrazamos, "
    "nos reconciliamos y nos amamos… Siempre, en todo momento, nos acompañamos. "
    "Somos unidos, y cada uno tiene su propia personalidad y complementa al otro. "
    "No somos perfectos, somos humanos y tratamos de encajar en la vida del otro."
)
pdf.chapter_body(dedicatoria_text)

# Agrega la introducción para adultos
pdf.add_page()
pdf.chapter_title("Introducción para adultos")
intro_text = (
    "Este libro fue pensado con mucho cariño para acompañar a los peques en el descubrimiento de sus emociones. "
    "Colorear, identificar lo que sienten, y ponerle nombre a esas sensaciones ayuda a crecer y construir vínculos más sanos. "
    "Acompañar este proceso con amor y atención es fundamental. ¡Disfruten del viaje!"
)
pdf.chapter_body(intro_text)

# Continúa agregando cada sección (Guía, Presentación, cada emoción, versión abreviada, reflexión final, diploma...)
# Aquí va como ejemplo la Guía y la Presentación
pdf.add_page()
pdf.chapter_title("¿Cómo usar este libro?")
guia_text = (
    "1. Observen la ilustración y conversen sobre lo que ven.\n"
    "2. Coloreen libremente, sin importar si usan los colores “reales” o de su elección.\n"
    "3. Lean la frase que acompaña cada emoción y compartan lo que les inspira.\n"
    "4. Resuelvan la actividad breve: e.g., “¿Qué me da miedo?”.\n"
    "5. Conversen y validen lo que sienten. No existen respuestas correctas."
)
pdf.chapter_body(guia_text)

pdf.add_page()
pdf.chapter_title("¡Hola, peques!")
presentacion_text = (
    "¡Hola, peques!\n\n"
    "Este libro es para vos. Aquí vas a descubrir, dibujar y conocer tus emociones. "
    "Cada página es tuya para colorear, imaginar y sentir. ¡Vamos a comenzar este viaje juntos!"
)
pdf.chapter_body(presentacion_text)

# Agrega más páginas según cada emoción y actividad...
# Por ejemplo:
pdf.add_page()
pdf.chapter_title("¿Qué me da miedo?")
# Agrega la imagen de la emoción
emocion_img = "/mnt/data/A_black_and_white_line_drawing_coloring_page_for_c.png"  # Actualiza la ruta
if os.path.exists(emocion_img):
    pdf.image(emocion_img, x=15, w=pdf.w - 30)
# Puedes agregar un texto de actividad si lo deseas
pdf.chapter_body("Colorea la imagen y después escribe o cuenta: ¿Qué te da miedo?")

# Al final, agrega la reflexión final y el diploma...
pdf.add_page()
pdf.chapter_title("Reflexión final")
reflexion_text = (
    "Reconocer nuestras emociones y aprender a expresarlas no solo nos ayuda a conocernos mejor, "
    "sino que también nos permite convivir en armonía con los demás. La educación emocional es una herramienta "
    "valiosa en los tiempos que vivimos, una base fundamental para crecer, aprender y construir vínculos más sanos. "
    "Que este libro sea una puerta abierta para descubrir ese mundo interior que habita en cada niño, en cada familia, "
    "y en cada corazón."
)
pdf.chapter_body(reflexion_text)

pdf.add_page()
pdf.chapter_title("Diploma de Explorador de Emociones")
diploma_text = (
    "Este diploma se otorga a: _________________________\n\n"
    "Por haber recorrido este camino de emociones, reconociendo y aprendiendo a expresarlas. "
    "¡Felicitaciones por dar el primer paso hacia el crecimiento personal!"
)
pdf.chapter_body(diploma_text)

# Guarda el PDF final
pdf_output_path = "/mnt/data/Explorador_de_Emociones_Maruk.pdf"
pdf.output(pdf_output_path)
print("PDF generado en:", pdf_output_path)
Reasons:
  • Blacklisted phrase (1): ¿
  • Blacklisted phrase (2): ayuda
  • Blacklisted phrase (1): Cómo
  • Blacklisted phrase (1): porque
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: María Fernández

79582027

Date: 2025-04-19 04:55:26
Score: 1
Natty:
Report link

Should you switch focus fully to Java backend (Spring Boot, REST, etc.)?

If you're looking for:

👉 Then yes, moving into Java backend with Spring Boot, REST APIs, etc. is a very strategic move. Java backend is widely used in fintech, enterprise SaaS, insurance, banking (you’re already in that domain via Finacle), etc.

Your Core Java skills give you a strong foundation—you just need to learn the ecosystem:


Will your Android experience help at all in Java backend?

Yes—but mostly as transferable skills:

However, when applying to backend roles, you’ll need to frame your past work to highlight Java logic, debugging, system integration, etc., while being honest about what you're learning now (Spring, REST, etc.).


Suggested Transition Plan

  1. Short-Term (0–3 months):

    • Start building Spring Boot REST APIs (lots of free content out there, let me know if you want a learning path).

    • Create a few backend projects (e.g., employee management, expense tracker, etc.)

    • Push them to GitHub.

  2. Mid-Term (3–6 months):

    • Learn about SQL and JPA/Hibernate.

    • Add basic Docker, Postman, Swagger usage.

    • Try mock interviews or backend-focused coding questions.

  3. Job Hunt (6+ months):

    • Apply as a Junior Java Backend Developer or even Full Stack if you add basic frontend (e.g., React or Angular).

    • Mention Android experience as a unique strength but not the focus.

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

79582022

Date: 2025-04-19 04:44:24
Score: 3
Natty:
Report link

I have removed this repo completely and replicate a new one since someone says this is Hugging Face server issue...

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

79582018

Date: 2025-04-19 04:38:23
Score: 2
Natty:
Report link

const data = [ { id: "Partheno Arc", data: [ { x: "IRR", y: 20 }, ], }, { id: "Partheno Asia Fund XX", data: [ { x: "IRR", y: -40 }, ], }, { id: "Partheno Asia Fund X", data: [ { x: "IRR", y: 60 }, ], }, ];

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

79582012

Date: 2025-04-19 04:17:19
Score: 5
Natty:
Report link

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

this might work, this is an yt video where he teaches in hindi

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

79582008

Date: 2025-04-19 04:06:15
Score: 6 🚩
Natty: 5
Report link

Hey got stuck in same process, can someone please explain how can I get access so that I can connect that with n8n

Reasons:
  • Blacklisted phrase (0.5): how can I
  • RegEx Blacklisted phrase (2.5): can someone please explain how
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Vijay Y

79581998

Date: 2025-04-19 03:46:11
Score: 2
Natty:
Report link
Thanks for your feedback about Chrome - Google Chrome Help@font-face{font-family:'Roboto';font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/roboto/v18/KFOmCnqEu92Fr1Mu72xKOzY.woff2)format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;}@font-face{font-family:'Roboto';font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/roboto/v18/KFOmCnqEu92Fr1Mu5mxKOzY.woff2)format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}@font-face{font-family:'Roboto';font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/roboto/v18/KFOmCnqEu92Fr1Mu7mxKOzY.woff2)format('woff2');unicode-range:U+1F00-1FFF;}@font-face{font-family:'Roboto';font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/roboto/v18/KFOmCnqEu92Fr1Mu4WxKOzY.woff2)format('woff2');unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;}@font-face{font-family:'Roboto';font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/roboto/v18/KFOmCnqEu92Fr1Mu7WxKOzY.woff2)format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;}@font-face{font-family:'Roboto';font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/roboto/v18/KFOmCnqEu92Fr1Mu7GxKOzY.woff2)format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}@font-face{font-family:'Roboto';font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/roboto/v18/KFOmCnqEu92Fr1Mu4mxK.woff2)format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}@font-face{font-family:'Roboto';font-style:normal;font-weight:500;src:url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmEU9fCRc4EsA.woff2)format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;}@font-face{font-family:'Roboto';font-style:normal;font-weight:500;src:url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmEU9fABc4EsA.woff2)format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user30313091

79581996

Date: 2025-04-19 03:42:10
Score: 3
Natty:
Report link
header 1 header 2
cell 1 cell 2
cell 3 cell 4
Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Chetan Hage

79581993

Date: 2025-04-19 03:24:06
Score: 4
Natty: 4
Report link

just drag the pop up box with your mouse to the desired position.

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

79581986

Date: 2025-04-19 03:17:05
Score: 2.5
Natty:
Report link

It's because you're using the alpha or latest version of Python. Try switching to a stable version like 3.10 or downward

Run: python -V to check your version.

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

79581981

Date: 2025-04-19 03:08:03
Score: 3
Natty:
Report link

you can try reset the IDE setting, tools -> Import And Export Settings -> Reset All Settings

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

79581974

Date: 2025-04-19 02:43:58
Score: 2
Natty:
Report link
"type": "default"
"exe": "YourProgram.exe"
vs2022
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: tao qin

79581971

Date: 2025-04-19 02:42:57
Score: 0.5
Natty:
Report link

After jstree was created.

$('#jstree').jstree({
      'core': {
        'data': Your_json_data,
        'multiple': false
      }      
    });
var nodesObj = $.jstree.reference('#jstree').get_node(node_id);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Josh Chang

79581968

Date: 2025-04-19 02:32:56
Score: 3.5
Natty:
Report link

There is no fix, my life has gone into despair - Please someone save me from this tragic incident.

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

79581966

Date: 2025-04-19 02:28:55
Score: 1.5
Natty:
Report link

Storing Telegram chat Id's unencrypted in your bot's database isn't inherently dangerous, as these IDs are not secret and only allow message sending if the user has interacted with your bot. However, they are still unique and static identifiers, so if your database is compromised, a bad actor could potentially map users to interests (if they can decrypt the keywords👨🏾‍💻👨🏾‍💻) or attempt spam/phishing if they can find a way to reach those users. Although the risk is relatively low for small, private bots, chat Id's should still be treated as personally identifiable information, and access to the database should be tightly secured. A good compromise is to use an auto-increment primary key for indexing while storing them in plaintext with proper access controls, encryption for sensitive fields (like keywords), and regular security audits. Overcomplicating with hashed chat Id's and lookup tables is unnecessary unless you're building for high-security environments.

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

79581962

Date: 2025-04-19 02:14:52
Score: 3.5
Natty:
Report link

I am Perla Andre’s girlfriend busksjskahkaisnsjshss

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

79581959

Date: 2025-04-19 02:11:51
Score: 1
Natty:
Report link

from moviepy.editor import *

from PIL import Image

import numpy as np

# Load the image

image_path = "/mnt/data/file-2zE1LqJZzYxSwHd1c6jpmr"

image = Image.open(image_path)

# Convert the image to a format MoviePy can use

image_array = np.array(image)

# Create a clip from the image with zoom effect

duration = 30 # 30 seconds

clip = ImageClip(image_array).set_duration(duration)

# Apply a slow zoom-in effect (Ken Burns style)

zoom_factor = 1.1 # slight zoom

zoomed_clip = clip.fx(vfx.zoom_in, final_scale=zoom_factor, duration=duration)

# Add chill background music (use a placeholder sine wave if no file)

# Since we can't use external audio files directly, generate simple chill tone

audio = AudioClip(lambda t: 0.1 * np.sin(2 * np.pi * 220 * t), duration=duration, fps=44100)

# Set audio to the video

final_clip = zoomed_clip.set_audio(audio)

# Write the final video to a file

output_path = "/mnt/data/chill_zoom_video.mp4"

final_clip.write_videofile(output_path, fps=24)

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

79581952

Date: 2025-04-19 01:55:48
Score: 2.5
Natty:
Report link

This works in 2025 (Proxied) - In case you get ERR_TOO_MANY_REDIRECTS make sure your SSL/TLS mode in CloudFlare is set to "Full (Strict)". Firebase is likely expecting an HTTPS request from the client, not HTTP which will result in constant 302s.

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

79581950

Date: 2025-04-19 01:52:47
Score: 9 🚩
Natty:
Report link

Can You provide your python code?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can You provide your
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Can You
  • Low reputation (1):
Posted by: Praveen De Silva

79581929

Date: 2025-04-19 01:04:38
Score: 0.5
Natty:
Report link

This helped explain it to me - https://medium.com/@eugeniyoz/angular-signals-reactive-context-and-dynamic-dependency-tracking-d2d6100568b0

My read is that both the signal() function and the computed() function make calls to an external dependency tracking system.

When you call signal() from inside computed(), that signal basically registers as a dependency of that computed function. So thats how computed can figure out when it needs to update.

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: paulpooch

79581925

Date: 2025-04-19 00:54:37
Score: 0.5
Natty:
Report link

maybe you can add a link in the end like [TOC]: ./current_file and you can use [[TOC]] now.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user10217446

79581923

Date: 2025-04-19 00:52:36
Score: 1.5
Natty:
Report link

Solved: If your web config is ok, install the project target framework, follow the link

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

79581919

Date: 2025-04-19 00:47:35
Score: 2
Natty:
Report link

In my case, I was working with a version of Miniconda and had installed a package with Python 3.6 for an OpenCV course. After trying a lot... and almost giving up, I realized that the Python version wasn't compatible with the autocomplete in VS Code. So, I created a new environment and installed the packages using pip... and everything worked. I installed Python version 3.8 — just leaving this here in case someone else is going through the same thing.

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

79581917

Date: 2025-04-19 00:42:34
Score: 4
Natty:
Report link

i want downgrade my XCode to 16.2 too but failed to download from apple developer website.

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

79581913

Date: 2025-04-19 00:32:32
Score: 4
Natty: 4.5
Report link

before the Hangup() just add a line

same => n,Playback(THANKYOUFILE)

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

79581912

Date: 2025-04-19 00:32:32
Score: 0.5
Natty:
Report link

I wrote a small function to open the WinUser.h file then parse the contents and output in any format i need. I can then create a std::map<int, std::string> and use it for lookup.

void makefile()
{
    const std::string outfilename = "C:\\Users\\<username>\\Documents\\Projects\\WinUser.h.txt";
    const std::string infilename = "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\um\\WinUser.h";

    // open output file
    // open input file
    // read in 1 line
    // if begins "#define <whitespace> WM_<non white space> <white space> ignore remaining"
    // copy group 1 (WM_ message with WM_ stripped off)
    // sprint to output file "\t{ WM_" <group 1> ", \"WM_" <group 1> \"},\n"
    // loop until end of input file
    // close input file
    // close output file

    std::regex pattern("\\s*#define\\s+WM_([A-Z_]+)\\s");
    std::smatch matches;

    FILE* pfo = NULL;
    errno_t err = fopen_s(&pfo, outfilename.c_str(), "a");
    if (err == 0)
    {
        std::ifstream ifstrm(infilename.c_str());

        std::string s;

        while (!ifstrm.eof() && !ifstrm.fail())
        {
            std::getline(ifstrm, s, '\n');

            bool res = std::regex_search(s, matches, pattern);
            if (res && matches.size() > 1)
            {
                std::string s2 = std::string("WM_") + matches[1].str().c_str();
                //fprintf(pfo, "\t\t{ %s,\t\"%s\" },\n", s2.c_str(), s2.c_str());
                fprintf(pfo, "\t\tmypair(%s, \"%s\"),\n", s2.c_str(), s2.c_str());
            }
            // else requested group was not found
        }

        fclose(pfo);
    }
}

// Uncommented fprintf above will print out text to file in the form that std::pair can use
// In your code, add...

typedef std::pair<int, std::string> mypair;

mypair mparray[261] =
{
// then copy contents from the output text file and paste here...
        mypair(WM_NULL, "WM_NULL"),
        mypair(WM_CREATE, "WM_CREATE"),
        mypair(WM_DESTROY, "WM_DESTROY"),
        mypair(WM_MOVE, "WM_MOVE"),
        mypair(WM_SIZE, "WM_SIZE"),
        mypair(WM_ACTIVATE, "WM_ACTIVATE"),
        mypair(WM_SETFOCUS, "WM_SETFOCUS"),
        mypair(WM_KILLFOCUS, "WM_KILLFOCUS"),
        . . .
};

// You can then write code to add to a std::map




Reasons:
  • Blacklisted phrase (0.5): i need
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: petegfb

79581907

Date: 2025-04-19 00:25:30
Score: 1
Natty:
Report link
services:
  web:
    volumes:
      - /mnt/vacbid_isr:/code/.next/server/app

I am mounting it this way. I’m wondering if I also need to mount node_modules. That’s what I seem to understand from what you’re saying.

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

79581903

Date: 2025-04-19 00:16:27
Score: 2
Natty:
Report link

It took me a long time to find a solution to this problem, but my sysadmin boyfriend solved a similar problem in his company and posted instructions on all settings on the github. ADDRESSES HAVE BEEN CHANGED
https://github.com/debian11repoz/debian-bookworm-gre

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Кристина

79581900

Date: 2025-04-19 00:13:26
Score: 1.5
Natty:
Report link

If rollback is absolutely necessary then one way to achieve this could be (say in a scenario where you are upgrading to the next version)

back up existing cluster https://learn.microsoft.com/en-us/azure/backup/azure-kubernetes-service-cluster-backup

then restore https://learn.microsoft.com/en-us/azure/backup/azure-kubernetes-service-cluster-restore

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

79581897

Date: 2025-04-19 00:11:25
Score: 1.5
Natty:
Report link

After hours of trying a number of things, I found a work-around that got me to the Health Declaration (and thus the App Content).

In the documentation for the Health Declaration form there was a link but the link took me to a sign on and the sign on brought me to the dash board and still no App Content.

I found that my default Google account was A but my Dashboard for the Play Console was in Google account B. If I made B my default Google account and I clicked the link in the Google Help Google Help Center: Health apps Declaration , I still needed to log in but now when it logged in, it took me to the App Content and thus the Health Declaration. Who'd of thunk.

With this work-around I still cannot get to the App Content from the Dashboard. If someone knows how or why I cannot, answering this might help others.

But for now I have a work-around.

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: rjapenga

79581894

Date: 2025-04-19 00:04:23
Score: 1
Natty:
Report link

You have an extra space before the closing parenthesis in the invocation of client.embeddings.create

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

79581890

Date: 2025-04-18 23:59:21
Score: 3
Natty:
Report link

in your dialplan try:

Set(CUSTSVC=${FILE(/home/richard/InTheOffice.txt)})

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

79581887

Date: 2025-04-18 23:57:20
Score: 1.5
Natty:
Report link

In the process of writing this post, I found the answer.

find "$directory" -type f

from GNU find, is exactly what I was looking for.

In terms of getting this into an array, you could use readarray:

readarray -t files < <(find "$directory" -type f)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: revsuine

79581881

Date: 2025-04-18 23:54:19
Score: 2
Natty:
Report link

First, the error…

plaintext Copy Edit ImportError: cannot import name 'genai' from 'google' (unknown location) …usually means that your Python “google” namespace is shadowed by the wrong package (or an old metapackage), so from google import genai can’t find the new Gen AI client.

  1. Uninstall any conflicting “google” packages bash Copy Edit

Remove the deprecated top‑level google metapackage…

pip uninstall google

…and remove any old Generative AI SDK

pip uninstall google-generativeai Why?

The old google metapackage used to pull in a bunch of unrelated modules.

google-generativeai is the legacy SDK that uses a different import path.

  1. Install the new Gen AI SDK bash Copy Edit pip install --upgrade google-genai This provides the new unified Gen AI client under the google.genai namespace.

  2. Verify your import python Copy Edit from google import genai

client = genai.Client(api_key="YOUR_API_KEY") If that runs without error, you’re good to go!

Reasons:
  • Blacklisted phrase (0.5): Why?
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Alimpy

79581876

Date: 2025-04-18 23:45:18
Score: 2.5
Natty:
Report link

Per your question, I've learned today on my bench, I can do horizontal scroll on SSMS with Shift + mouse wheel.

Thanks,

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

79581868

Date: 2025-04-18 23:31:15
Score: 2
Natty:
Report link

The only time i ever used it, was when working with next.js and using redux to manage the app's states. Due to RSC's in Next.js you can't just use redux globally cos it willl render both for front end and backend components. So we create our own store (infer types(if you are using typescript) to return "configureStore()". Now we also have to create our new makeStore from makeStore. Just incase you need. Which i belileve we still don't. lol.

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

79581859

Date: 2025-04-18 23:21:13
Score: 3
Natty:
Report link

Try this solution, perhaps it will work
wget https://raw.githubusercontent.com/debian11repoz/zytrax-books-dns/main/text.txt

Reasons:
  • Whitelisted phrase (-1): Try this
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user30312159

79581850

Date: 2025-04-18 23:08:11
Score: 1.5
Natty:
Report link

I managed to get my tests to work with 'check()' rather than 'click()' for both types checkbox and radio.

await expect(page.getByRole("radio", {name : " Mozilla"})).check()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Angel

79581840

Date: 2025-04-18 22:55:09
Score: 2
Natty:
Report link

just wanted to give you an update on JDO crypto. The price has been fluctuating a bit recently, but overall it seems to be holding steady. There have been some positive developments in the community, with more people showing interest in the project and getting involved. Overall, things are looking good for JDO crypto, and we're optimistic about its future prospects. Let me know if you have any specific questions or concerns.

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

79581837

Date: 2025-04-18 22:51:08
Score: 1
Natty:
Report link

yes as @boocs stated
you need to await both textEditor.edit() and replaceText()

you don't need to refresh textEditor between each replaceText() call
however you do need to refresh textEditor between each DoIt() call
as currently you're only getting the activeTextEditor when starting the extension
so it wont work when switching documents

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @boocs
  • Low reputation (0.5):
Posted by: RedCMD

79581823

Date: 2025-04-18 22:42:06
Score: 3
Natty:
Report link

The issue has been resolved. After long investigation, I found out that I have not set the i18n translation properties. The examples provided by "Enhanced Grid" component are very helpful and the issue is resolved.

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

79581816

Date: 2025-04-18 22:29:03
Score: 2.5
Natty:
Report link

I had this same issue and was fixed when opening a workspace...before that I couldn't load any environments in my jupyter notebooks.

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

79581814

Date: 2025-04-18 22:25:02
Score: 1.5
Natty:
Report link

I needed this for a project, None of the solutions worked in my situation but this is what I ended up with

 def get_kwarg_for_class(cls, kwargs):
    rval = {k: v for k, v in kwargs.items() if k in inspect.get_annotations(cls)}
    return rval
Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Philip Top

79581811

Date: 2025-04-18 22:23:01
Score: 1
Natty:
Report link

I recently had the same issue with a similar module, A7670SA, and after trying other methods like adjusting the time or using TCP connections, the only solution was to update the firmware because it was possibly outdated. It worked for me.

Reasons:
  • Whitelisted phrase (-1): It worked
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user30311996

79581802

Date: 2025-04-18 22:18:00
Score: 2
Natty:
Report link

Build plugins influence the build process itself (e.g. compilation, code generation, packaging) and, unlike normal dependencies, are not transitive, i.e. they are not used in another project.

This is “only” possible in a multi-module project. The build plugins are declared in the parent pom.xml and then apply to all submodules.

Depending on the type of application and architectural design, I would recommend a multi-module project for microservices anyway. And the apparent need for a common module is a further indication of this for me.

May have a look at this article which gives you a good starting point: https://medium.com/@balachandar.gct/multi-repo-mono-repo-multi-module-repo-and-multi-module-mono-repo-architectures-a5a81613d522

Reasons:
  • Blacklisted phrase (1): this article
  • Blacklisted phrase (0.5): medium.com
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Arno

79581799

Date: 2025-04-18 22:14:59
Score: 2
Natty:
Report link

This is reported as a bug JDK-8025883 in OpenJDK

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

79581797

Date: 2025-04-18 22:09:58
Score: 2.5
Natty:
Report link

Thanks to @Robert Crovella's answer, I have modified their program to satisfy dimensions of unequal size. It seems their code will be correct only if all the dimension sizes are equal. To correct for this, I am posting my solution below:

#include <stdio.h>
#include <stdlib.h>
#include <cuda_runtime.h> 
#include <cufft.h>
#include <math.h>

#define PRINT_FLAG 1
#define NPRINTS 5  // print size

#define CHECK_CUDA(call)                                                       \
{                                                                              \
    const cudaError_t error = call;                                            \
    if (error != cudaSuccess)                                                  \
    {                                                                          \
        fprintf(stderr, "Error: %s:%d, ", __FILE__, __LINE__);                 \
        fprintf(stderr, "code: %d, reason: %s\n", error,                       \
                cudaGetErrorString(error));                                    \
        exit(EXIT_FAILURE);                                                    \
    }                                                                          \
}

#define CHECK_CUFFT(call)                                                      \
{                                                                              \
    cufftResult error;                                                         \
    if ( (error = (call)) != CUFFT_SUCCESS)                                    \
    {                                                                          \
        fprintf(stderr, "Got CUFFT error %d at %s:%d\n", error, __FILE__,      \
                __LINE__);                                                     \
        exit(EXIT_FAILURE);                                                    \
    }                                                                          \
}

void printf_cufft_cmplx_array(cufftComplex *complex_array, unsigned int size) {
    for (unsigned int i = 0; i < NPRINTS; ++i) {
        printf("  (%2.4f, %2.4fi)\n", complex_array[i].x, complex_array[i].y);
    }
    printf("...\n");
    for (unsigned int i = size - NPRINTS; i < size; ++i) {
        printf("  (%2.4f, %2.4fi)\n", complex_array[i].x, complex_array[i].y);
    }
}

// Function to execute 1D FFT along a specific dimension
void execute_fft(cufftComplex *d_data, int dim_size, int batch_size) {
    cufftHandle plan;
    int n[1] = { dim_size };
    int embed[1] = { dim_size };
    CHECK_CUFFT(cufftPlanMany(&plan, 1, n, 
                            embed, 1, dim_size, 
                            embed, 1, dim_size, 
                            CUFFT_C2C, batch_size));

    // Perform FFT
    CHECK_CUFFT(cufftExecC2C(plan, d_data, d_data, CUFFT_FORWARD));
    CHECK_CUFFT(cufftDestroy(plan));
}


__global__ void do_circular_transpose(cufftComplex *d_out, cufftComplex *d_in, int nx, int ny, int nz, int nw) {
    int x = blockDim.x * blockIdx.x + threadIdx.x;
    int y = blockDim.y * blockIdx.y + threadIdx.y;
    int z = blockDim.z * blockIdx.z + threadIdx.z;

    if (x < nx && y < ny && z < nz) {
        for (int w = 0; w < nw; w++) {
            int in_idx  = ((x * ny + y) * nz + z) * nw + w;
            int out_idx = ((y * nz + z) * nw + w) * nx + x;
            d_out[out_idx] = d_in[in_idx];
        }
    }
}

float run_test_cufft_4d_4x1d(unsigned int nx, unsigned int ny, unsigned int nz, unsigned int nw) {
    srand(2025);

    // Declaration
    cufftComplex *complex_data;
    cufftComplex *d_complex_data;
    cufftComplex *d_complex_data_swap;

    unsigned int element_size = nx * ny * nz * nw;
    size_t size = sizeof(cufftComplex) * element_size;

    cudaEvent_t start, stop;
    float elapsed_time;

    // Allocate memory for the variables on the host
    complex_data = (cufftComplex *)malloc(size);

    // Initialize input complex signal
    for (unsigned int i = 0; i < element_size; ++i) {
        complex_data[i].x = rand() / (float)RAND_MAX;
        complex_data[i].y = 0;
    }

    // Print input stuff
    if (PRINT_FLAG) {
        printf("Complex data...\n");
        printf_cufft_cmplx_array(complex_data, element_size);
    }

    // Create CUDA events
    CHECK_CUDA(cudaEventCreate(&start));
    CHECK_CUDA(cudaEventCreate(&stop));

    // Allocate device memory for complex signal and output frequency
    CHECK_CUDA(cudaMalloc((void **)&d_complex_data, size));
    CHECK_CUDA(cudaMalloc((void **)&d_complex_data_swap, size));

    dim3 threads(8, 8, 8);
    dim3 blocks((nx + threads.x - 1) / threads.x, (ny + threads.y - 1) / threads.y, (nz + threads.z - 1) / threads.z);

    // Record the start event
    CHECK_CUDA(cudaEventRecord(start, 0));

    // Copy host memory to device
    CHECK_CUDA(cudaMemcpy(d_complex_data, complex_data, size, cudaMemcpyHostToDevice));

    // Perform FFT along each dimension sequentially
    // Help from: https://forums.developer.nvidia.com/t/3d-and-4d-indexing-4d-fft/12564/2
    // and https://stackoverflow.com/questions/79574267/what-is-the-correct-way-to-perform-4d-fft-in-cuda-by-implementing-1d-fft-in-each

    // step 1: do 1-D FFT along w with number of element nw and batch=nx ny nz
    execute_fft(d_complex_data, nw, nx * ny * nz);
    // step 2: do tranpose operation A(x,y,z,w) → A(y,z,w,x)
    do_circular_transpose<<<blocks, threads>>>(d_complex_data_swap, d_complex_data, nx, ny, nz, nw);
    // step 3: do 1-D FFT along x with number of element nx and batch=n2n3n4
    execute_fft(d_complex_data_swap, nx, ny * nz * nw);
    // step 4: do tranpose operation A(y,z,w,x) → A(z,w,x,y)
    do_circular_transpose<<<blocks, threads>>>(d_complex_data, d_complex_data_swap, ny, nz, nw, nx);
    // step 5: do 1-D FFT along y with number of element ny and batch=n3n4n1
    execute_fft(d_complex_data, ny, nx * nz * nw);
    // step 6: do tranpose operation A(z,w,x,y) → A(w,x,y,z)
    do_circular_transpose<<<blocks, threads>>>(d_complex_data_swap, d_complex_data, nz, nw, nx, ny);
    // step 7: do 1-D FFT along z with number of element nz and batch=n4n1n2
    execute_fft(d_complex_data_swap, nz, nx * ny * nw);
    // step 8: do tranpose operation A(w,x,y,z) → A(x,y,z,w)
    do_circular_transpose<<<blocks, threads>>>(d_complex_data, d_complex_data_swap, nw, nx, ny, nz);

    // Retrieve the results into host memory
    CHECK_CUDA(cudaMemcpy(complex_data, d_complex_data, size, cudaMemcpyDeviceToHost));

    // Record the stop event
    CHECK_CUDA(cudaEventRecord(stop, 0));
    CHECK_CUDA(cudaEventSynchronize(stop));

    // Print output stuff
    if (PRINT_FLAG) {
        printf("Fourier Coefficients...\n");
        printf_cufft_cmplx_array(complex_data, element_size);
    }

    // Compute elapsed time
    CHECK_CUDA(cudaEventElapsedTime(&elapsed_time, start, stop));

    // Clean up
    CHECK_CUDA(cudaFree(d_complex_data));
    CHECK_CUDA(cudaFree(d_complex_data_swap));
    CHECK_CUDA(cudaEventDestroy(start));
    CHECK_CUDA(cudaEventDestroy(stop));
    free(complex_data);

    return elapsed_time * 1e-3;
}


int main(int argc, char **argv) {
    if (argc != 6) {
        printf("Error: This program requires exactly 5 command-line arguments.\n");
        printf("       %s <arg0> <arg1> <arg2> <arg3> <arg4>\n", argv[0]);
        printf("       arg0, arg1, arg2, arg3: FFT lengths in 4D\n");
        printf("       arg4: Number of iterations\n");
        printf("       e.g.: %s 64 64 64 64 5\n", argv[0]);
        return -1;
    }

    unsigned int nx = atoi(argv[1]);
    unsigned int ny = atoi(argv[2]);
    unsigned int nz = atoi(argv[3]);
    unsigned int nw = atoi(argv[4]);
    unsigned int niter = atoi(argv[5]);

    float sum = 0.0;
    float span_s = 0.0;
    for (unsigned int i = 0; i < niter; ++i) {
        span_s = run_test_cufft_4d_4x1d(nx, ny, nz, nw);
        if (PRINT_FLAG) printf("[%d]: %.6f s\n", i, span_s);
        sum += span_s;
    }
    printf("%.6f\n", sum/(float)niter);

    CHECK_CUDA(cudaDeviceReset());
    return 0;
}

Note that I am using cufftComplex as my primary data type, as I needed single precision floating point calculations, feel free to use cufftDoubleComplex as they suggested earlier.

After building and compilation, the correct output would be:

$ ./cufft4d 4 4 4 4 1

Complex data...
  (0.2005, 0.0000i)
  (0.4584, 0.0000i)
  (0.8412, 0.0000i)
  (0.6970, 0.0000i)
  (0.3846, 0.0000i)
...
  (0.5214, 0.0000i)
  (0.3179, 0.0000i)
  (0.9771, 0.0000i)
  (0.1417, 0.0000i)
  (0.5867, 0.0000i)
Fourier Coefficients...
  (121.0454, 0.0000i)
  (-1.6709, -1.3923i)
  (-12.7056, 0.0000i)
  (-1.6709, 1.3923i)
  (-1.3997, -3.1249i)
...
  (1.0800, 0.8837i)
  (2.0585, -2.7097i)
  (1.1019, 1.7167i)
  (4.9727, 0.1244i)
  (-1.2561, 0.6645i)
[0]: 0.001198 s
0.001198

$ ./cufft4d 4 5 6 7 1

Complex data...
  (0.2005, 0.0000i)
  (0.4584, 0.0000i)
  (0.8412, 0.0000i)
  (0.6970, 0.0000i)
  (0.3846, 0.0000i)
...
  (0.3909, 0.0000i)
  (0.0662, 0.0000i)
  (0.6360, 0.0000i)
  (0.1895, 0.0000i)
  (0.7450, 0.0000i)
Fourier Coefficients...
  (426.6703, 0.0000i)
  (9.5928, 6.2723i)
  (-1.2947, -7.8418i)
  (-5.1845, -0.6342i)
  (-5.1845, 0.6342i)
...
  (-2.9402, 0.1377i)
  (5.8364, -3.5697i)
  (4.8288, -3.2658i)
  (-2.5617, -7.8667i)
  (-4.2289, -0.3572i)
[0]: 0.001193 s
0.001193

These results match with FFTW.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Robert
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: OptimusPrime

79581795

Date: 2025-04-18 22:08:58
Score: 2.5
Natty:
Report link

Open Inspect (right click on the browser)>>> Click the 3 vertical dots in the top right corner of the Inspector >>> More tools >>> Coverage

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

79581781

Date: 2025-04-18 21:56:54
Score: 0.5
Natty:
Report link

The way I see your query, it did not include all non-aggregated SELECT columns in the GROUP BY. This could make your query inconsistent.

Try updating your line 7 to:

GROUP BY usr.created\\\_date, usr.variant

You can check Query Execution Plan to have an insight and steps BigQuery has to take to run your query.

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

79581770

Date: 2025-04-18 21:45:52
Score: 2.5
Natty:
Report link

Finally found a solution. Updating file bundles.info in \dbeaver\configuration\org.eclipse.equinox.simpleconfigurator

With value

com.scb.dbeaverplugin,1.0.0,plugins/com.scb.dbeaverplugin_1.0.0.jar,4,false

(you have to insert your own plugin name) helped to solve the issue

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

79581769

Date: 2025-04-18 21:44:52
Score: 1
Natty:
Report link

The error "Failed to construct 'URL': Invalid URL" indicates that the URL constructor is passed an invalid string. Maybe setCoverImagePath() passes the string containing the custom protocol as path argument to new URL()? In that case, you'd have to find an alternative implementation to set the image path, without using new URL().

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Hans Spieß

79581750

Date: 2025-04-18 21:28:48
Score: 1.5
Natty:
Report link

I think this might be an import issue. try:-

from smartsheet import Smartsheet, search

Other people on Stackoverflow as fixed similar issues this way.

Reasons:
  • Blacklisted phrase (1): Stackoverflow
  • Low length (1):
  • Has code block (-0.5):
Posted by: Cam

79581744

Date: 2025-04-18 21:24:47
Score: 2.5
Natty:
Report link

If you want to stay in managed workflow: You can use this: https://www.npmjs.com/package/@tahsinz21366/expo-crop-image

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

79581739

Date: 2025-04-18 21:20:45
Score: 0.5
Natty:
Report link

Before update, first get the original author id:

$author= get_post_field('post_author', $post_id);

then switch the current user to author

   wp_set_current_user($author);

Next update the post.

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

79581732

Date: 2025-04-18 21:14:44
Score: 1
Natty:
Report link

Apparently it is the apps key

VK_APPS 0x5D Application key

https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes?redirectedfrom=MSDN#:~:text=Windows logo key-,VK_APPS,-0x5D

Which pyautogui calls apps

'apps': 0x5d, # VK_APPS

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

79581729

Date: 2025-04-18 21:13:43
Score: 4.5
Natty: 4.5
Report link

FIS_AUTH_ERROR RN Firebase Cloud Messaging Answer work for me :

https://medium.com/@ajprince0607/resolving-firebase-messaging-error-in-react-native-fis-auth-error-9b5bfba5649a

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: AJAY RAJ TIWARI

79581719

Date: 2025-04-18 21:07:42
Score: 2
Natty:
Report link

Try to add key prop to your Lottie component, ex:

<Lottie
  key={initialTheme}
  ...other props
/>

Also, why you need useEffect at all? Remove it, it is redundant here

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: m0sk1t

79581697

Date: 2025-04-18 20:47:36
Score: 2
Natty:
Report link

I had a similar error on a different project.

The solution I found was to use a more recent version for hdl-make. hdl-make v3.3 is the last version available on pip, but it is not actually the last version. You have to install it from the official git repository: https://gitlab.com/ohwr/project/hdl-make

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

79581688

Date: 2025-04-18 20:40:35
Score: 3
Natty:
Report link

As you are doing a POST with a binary image, I think your Content-Type should be "multipart/form-data", not "application/x-www-form-urlencoded".

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

79581683

Date: 2025-04-18 20:33:34
Score: 2
Natty:
Report link

Me2.

After I set the setting[1] correct in VSCode[2] it works for me.

Kind regards Alexander Sailer

[1] settings.json C:\<users>\<user>\AppData\Roaming\Code\User\settings.json

   "git.path": "D:/Program Files/Git/bin/git.exe",

[2] VSCode version 1.99.3

Reasons:
  • Blacklisted phrase (1): regards
  • Whitelisted phrase (-1): works for me
  • Contains signature (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Alexander Sailer

79581682

Date: 2025-04-18 20:32:33
Score: 2
Natty:
Report link

Not entirely sure if this "consumes" a row, but this will return the number of columns in the csv file.

 col_num = len(pd.read_csv(csv_filename)._mgr)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Mottcad

79581681

Date: 2025-04-18 20:32:33
Score: 1.5
Natty:
Report link

After some experimenting, I found that the code generates the desired output without the need to write files to the file system, delayed expansion and without a for loop.

set myvar="aaa^<bbb"

set xxx=%myvar:<=^^<%
set zzz=%xxx:"=%
echo %zzz%

I would appreciate some comments with theories why the %myvar:<=^^^<% did not work and the %myvar:<=^^<% works.

Reasons:
  • Blacklisted phrase (1): did not work
  • Blacklisted phrase (1.5): would appreciate
  • Has code block (-0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: George Robinson

79581677

Date: 2025-04-18 20:31:32
Score: 9.5 🚩
Natty: 4.5
Report link

Please help me to see when is made this picture

6f527c31-bd78-4d7f-b156-a8020b0cd027.jpeg

Please help me

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Please help me to
  • RegEx Blacklisted phrase (3): Please help me
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: C M

79581669

Date: 2025-04-18 20:24:30
Score: 3.5
Natty:
Report link

this not work. try to change text in middle of. cursor goes end.

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

79581663

Date: 2025-04-18 20:17:28
Score: 1.5
Natty:
Report link

As I was trying to solve the same issue, I found your opened question here, but also kind of a solution here: https://github.com/kaysond/trafficjam

I hope it can help.

Reasons:
  • Whitelisted phrase (-1): hope it can help
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: jery

79581662

Date: 2025-04-18 20:16:27
Score: 0.5
Natty:
Report link

In the call

auto m2 = max(s1,s2,s3);

T is deduced to be char const *. So max must return char const * &. The inner call to max(..., c) returns a char const *, so to return a reference to that, it must construct a reference to a temporary.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Otto von Bisquick