79655342

Date: 2025-06-06 02:14:57
Score: 3.5
Natty:
Report link

I've figured it out. To append/mutate the file, I just have to load it first. That way, Godot knows what's in the file and can avoid writing over it entirely.

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

79655332

Date: 2025-06-06 01:45:51
Score: 3
Natty:
Report link

You can use:

https://www.apigle.com/docs/yt-data-download-api/python-sdk

Which i developed it.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: İlyas Yıldırım

79655331

Date: 2025-06-06 01:43:50
Score: 4
Natty:
Report link

How many HRUs are you running, and what is your computer specs you are running? I'm in the process of setting up hydroblocks as well. #of HRUs could potentially cause this.

I'd check alignment of your DEM, masks, soil, and vegetation raters as well to make sure they are aligned. Also make sure the grids are aligned too, and your projections are right. I'm sure your data sources look much different than mine given you are looking a the Kaledhon region!

Reasons:
  • Blacklisted phrase (1): what is your
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): How
  • Low reputation (1):
Posted by: Bill

79655330

Date: 2025-06-06 01:40:49
Score: 0.5
Natty:
Report link
  1. For a Kotlin/Wasm target, forwarding logs back to the IDE doesn't seem to be possible yet. Kotlin/Wasm is still in Alpha, and some features are limited. I'll quote the Official Kotlin Documentation: "Currently, debugging is only available in your browser. In the future, you will be able to debug your code in IntelliJ IDEA."

  2. I'm less familiar with Kotlin/JS targets, but the documentation mentions testing tools that log to the console. Using a similar approach might be possible.


As far as debugging in the browser goes, some guidelines on the first link above might help set up a relatively better debugging experience. You can also expand the object on your screenshot by clicking the arrow on the left side, which will display fields in a better format, but that only helps so much.

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

79655327

Date: 2025-06-06 01:38:48
Score: 1
Natty:
Report link

How about this method? although a little bit bulky :P

lst = ['A','B','C','D','E','F','G']
count = {i: 0 for i in lst}
n = 3  # length of output list
m = 3  # how many output lists you want

result = []
while len(result) < m:
    r = []
    for i in range(n):
        tmp = min(count, key=lambda k:count[k])
        count[tmp] = count.get(tmp, 0) + 1
        r.append(tmp)
    result.append(r)

print(result)

The output is

[['A', 'B', 'C'], ['D', 'E', 'F'], ['G', 'A', 'B']]
Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How
  • Low reputation (0.5):
Posted by: vassiliev

79655323

Date: 2025-06-06 01:27:46
Score: 2
Natty:
Report link

The docs are clear how you can achieve your goal with overrule setting https://camel.apache.org/components/4.10.x/sftp-component.html

CamelOverruleFileName
exchange.getIn().setHeader("CamelOverruleFileName", newFileName);
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: MbaiMburu

79655321

Date: 2025-06-06 01:20:45
Score: 4
Natty:
Report link

Your guess is as good as mine. Remember USDT

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

79655312

Date: 2025-06-06 00:55:39
Score: 4
Natty:
Report link

I can't share the URL because it's necessary to log in.

  1. before clicking on the combo box -->code
  2. with the box checked. Click on the combo box --> code
  3. write inside the combo box --> code
  4. after clicking on the result --> code

I put it in an image to notice the formatting.

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

79655303

Date: 2025-06-06 00:26:33
Score: 1
Natty:
Report link

This usually happens when there is no <HxMessageBoxHost /> rendered in the current screen.

Does your page use the layout with it? For diagnostic purposes, you might try to put the <HxMessageBoxHost /> directly in your page.

You can also check the reference solution template here:

https://github.com/havit/Havit.Blazor.SimpleBlazorWebAppTemplate

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

79655302

Date: 2025-06-06 00:17:31
Score: 1.5
Natty:
Report link

Should this one line file example work:

<a style=text-decoration:none href=index.html>index</a>

?

It shows no underlines in Safari and Orion but Frefox does underlines !

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

79655300

Date: 2025-06-06 00:10:28
Score: 3
Natty:
Report link

<!DOCTYPE html>

<html lang="es">

<head>

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1">

<title>Bote Rojo de RPBI</title>

<style>

body {

  font-family: Arial, sans-serif;

  background-color: #f7f9fc;

  margin: 0;

  padding: 0;

  color: #333;

}

header {

  background-color: #b30000;

  color: white;

  padding: 20px;

  text-align: center;

}

main {

  max-width: 1000px;

  margin: 30px auto;

  padding: 20px;

  background-color: white;

  border-radius: 10px;

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

}

h1, h2 {

  color: #b30000;

}

section {

  margin-bottom: 25px;

}

footer {

  text-align: center;

  padding: 15px;

  background-color: #eee;

  font-size: 14px;

  color: #666;

}

</style>

</head>

<body>

<header>

\<h1\>Bote Rojo de RPBI\</h1\>

\<p\>Información esencial sobre el manejo correcto de residuos peligrosos biológico-infecciosos\</p\>

</header>

<main>

\<section\>

  \<h2\>1. ¿Qué tipo de residuos se deben depositar en el bote rojo?\</h2\>

  \<p\>El bote rojo se utiliza para desechar residuos biológico-infecciosos no anatómicos como gasas, algodones, apósitos, curitas, materiales de sutura, jeringas sin aguja, guantes y cualquier otro material que haya estado en contacto con sangre o fluidos corporales.\</p\>

\</section\>

\<section\>

  \<h2\>2. ¿El bote rojo debe tener alguna característica especial?\</h2\>

  \<p\>Sí. Debe ser rígido, de plástico resistente, con tapa hermética, color rojo brillante y estar claramente rotulado con la leyenda “RPBI” y el símbolo universal de riesgo biológico.\</p\>

\</section\>

\<section\>

  \<h2\>3. ¿Se pueden reutilizar los botes rojos?\</h2\>

  \<p\>No. Los botes rojos son de un solo uso. Una vez llenos o dañados, deben ser desechados de acuerdo con la normativa correspondiente.\</p\>

\</section\>

\<section\>

  \<h2\>4. ¿Qué sucede si se mezclan residuos comunes con RPBI en el bote rojo?\</h2\>

  \<p\>La mezcla de residuos comunes con RPBI puede contaminar materiales reciclables y aumentar el riesgo de infecciones, además de violar las normativas sanitarias.\</p\>

\</section\>

\<section\>

  \<h2\>5. ¿Quién debe manipular el bote rojo?\</h2\>

  \<p\>Solo el personal capacitado en manejo de RPBI puede manipular el bote rojo, utilizando equipo de protección personal (EPP) adecuado como guantes, mascarilla y bata.\</p\>

\</section\>

\<section\>

  \<h2\>6. ¿Hasta qué nivel se debe llenar el bote rojo?\</h2\>

  \<p\>El bote rojo no debe llenarse más de las tres cuartas partes de su capacidad para evitar derrames o dificultades durante su cierre y transporte.\</p\>

\</section\>

\<section\>

  \<h2\>7. ¿Qué color y símbolo debe tener el bote rojo?\</h2\>

  \<p\>El bote debe ser completamente rojo y portar el símbolo universal de riesgo biológico, así como la leyenda “RPBI”.\</p\>

\</section\>

\<section\>

  \<h2\>8. ¿Dónde se debe colocar el bote rojo dentro de una unidad médica?\</h2\>

  \<p\>Debe colocarse en un sitio visible, accesible y cercano al lugar donde se generan los residuos, evitando obstrucciones y zonas de tránsito.\</p\>

\</section\>

\<section\>

  \<h2\>9. ¿Qué se debe hacer si un bote rojo se daña o se derrama su contenido?\</h2\>

  \<p\>Debe ser contenido inmediatamente con materiales absorbentes, desinfectado con soluciones específicas y reportado al área de control de infecciones. El bote dañado debe ser reemplazado de inmediato.\</p\>

\</section\>

\<section\>

  \<h2\>10. ¿Cada cuánto se deben recolectar los residuos del bote rojo?\</h2\>

  \<p\>Los residuos deben recolectarse diariamente o antes si el contenedor alcanza las tres cuartas partes de su capacidad, siguiendo un cronograma establecido y documentado.\</p\>

\</section\>

</main>

<footer>

Página informativa sobre RPBI – © 2025 | Para uso educativo y profesional

</footer>

</body>

</html>

Reasons:
  • Blacklisted phrase (1): ¿
  • Blacklisted phrase (2.5): solucion
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dominika García

79655285

Date: 2025-06-05 23:25:18
Score: 1
Natty:
Report link

I ended up using LuaBridge to resolve this issue. For the most part I got away with using the standard pattern of

getGlobalNamespace(L)
    .beginClass<CClass>("Class")
        .addData("number", &CClass::number)
        .addProperty("string", CSTRING_GETTER(CClass, CClass::string), CSTRING_SETTER(CClass, CClass::string))
        .addFunction("func", &CClass::func)
    .endClass();

Though as you can see I needed to add a conversion macro (basically an overcomplicated type-cast style getter/setter that LuaBridge can understand) to switch between CString and std::string for the string variables. I also needed to do a few functions using the Lua C API standard using the "addCFunction()" component of LuaBridge for functions that had too many arguments, or multiple inputs. The thing that took the most time was simple writing wrappers for the functions I had that took or returned variables that were BSTR, BOOL, DATE, LPDISPATCH, etc. But that was more tedious than problematic.

In the end though, everything is working as expected so thanks to everyone else for their help/advice.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: N Krueger

79655281

Date: 2025-06-05 23:20:17
Score: 3
Natty:
Report link

I got the same problem, you ultimate solution is flutter_vlc im satisfied with it also able to multiple subtitles, multi audio and quality.

Reasons:
  • Blacklisted phrase (1): I got the same problem
  • Whitelisted phrase (-1): solution is
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mourad Azzabi

79655280

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

Paso 1: Crear el archivo .jslib

Crea un archivo llamado, por ejemplo, OpenLink.jslib en la carpeta Assets/Plugins/WebGL de tu proyecto Unity. Dentro coloca este código:

js

mergeInto(LibraryManager.library, { OpenExternalLink: function (urlPtr) { var url = UTF8ToString(urlPtr); var newWindow = window.open(url, '_blank'); if (newWindow) { newWindow.focus(); } else { console.log("No se pudo abrir la ventana. ¿Bloqueada por el navegador?"); } } });

Este script abrirá la URL en una nueva pestaña. En navegadores móviles (y wallets embebidas como Phantom), los navegadores pueden bloquear window.open() si no se llama directamente desde un gesto del usuario (por ejemplo, un clic en botón).


✅ Paso 2: Crear un wrapper C# en Unity

Crea un script en C# (por ejemplo, ExternalLink.cs) y colócalo en Assets/Scripts/:

csharp

usingSystem.Runtime.InteropServices; using UnityEngine; public class ExternalLink : MonoBehaviour { [DllImport("__Internal")] private static extern void OpenExternalLink(string url); public void OpenTwitter() { #if UNITY_WEBGL && !UNITY_EDITOR OpenExternalLink("https://twitter.com/TU_USUARIO"); #else Application.OpenURL("https://twitter.com/TU_USUARIO"); #endif } public void OpenTelegram() { #if UNITY_WEBGL && !UNITY_EDITOR OpenExternalLink("https://t.me/TU_CANAL"); #else Application.OpenURL("https://t.me/TU_CANAL"); #endif } }


✅ Paso 3: Vincular el script al botón

  1. Crea un botón en tu escena Unity.

  2. Agrega el script ExternalLink.cs a un GameObject en la escena (por ejemplo, un objeto vacío llamado LinkManager).

  3. En el botón, en el panel OnClick(), arrastra el GameObject que tiene el script y selecciona ExternalLink -> OpenTwitter() o OpenTelegram() según el botón.


⚠️ Notas importantes para Phantom y navegadores móviles

Reasons:
  • Blacklisted phrase (1): ¿
  • Blacklisted phrase (1): está
  • Blacklisted phrase (2): código
  • Blacklisted phrase (3): solución
  • Blacklisted phrase (2): Crear
  • RegEx Blacklisted phrase (2.5): misma
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jesús Pérez

79655271

Date: 2025-06-05 22:54:10
Score: 0.5
Natty:
Report link

No don't include the response variable, just include the vectors of predictors.

There are some models where you would pass the entire matrix and then specify which is the target, but in general unless you are sure about that you don't want the response included as a variable when you train the model. In this case, since you are passing a vector you can remove that column from the matrix.

If you haven't come across it you could check out Deep Learning and Scientific Computing with R torch by Sigrid Keydana. It's free if you google it. Chapter 13.2 contains an example dataloader using Palmer Penguins.

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

79655267

Date: 2025-06-05 22:48:09
Score: 2.5
Natty:
Report link

enter image description hereYou can do this with my tool, serverscheduler.com. Here's how that timetable would look on the grid.

Click the hours you want your EC2 to be on/off. No need to mess with lambda's and instance scheduler

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

79655258

Date: 2025-06-05 22:33:05
Score: 2.5
Natty:
Report link

What I assume is that you are in wrong directory and running different file if there is no log? In that case:

In linux you can navigate to it using:

$ cd Backend

Your terminal line should start with something like:

user@FinGenius Finance-Assistant/Backend $

And when you are sure that you are in right directory you can run server with

$ node server.js

If this is not the case you should provide more information.

Does it close instantly when you run it or server stays open? Maybe run it with only console.log("foo"); inside?

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): What I as
  • Low reputation (1):
Posted by: Nikola Nedeljkovic

79655253

Date: 2025-06-05 22:27:03
Score: 2
Natty:
Report link

I faced the same issue earlier. Just switch to a different browser or open an incognito window and go to developer.linkedin.com. That worked for me!

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mian Ali

79655252

Date: 2025-06-05 22:24:03
Score: 1.5
Natty:
Report link

There is my example of your problem solution - https://github.com/Baranovich/customer. This is full spring boot project for your services interaction case.

I'm parse XML using JAXB with deserialization from json to CustomerType object and also get the same CustomerType from other json (see the request examples):

Example-1

Url:
POST http://localhost:8080/customer/post_customer_type_object

Body:

"Standard"

enter image description here

This JSON data deserialized to object class:

package gu.ib.customer.domain;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;

@Slf4j
@XmlType(name = "CustomerType", namespace = "http://www.my.personal.schema")
@XmlEnum
@RequiredArgsConstructor
public enum CustomerType {

    @XmlEnumValue("Standard")
    STANDARD("Standard"),

    @XmlEnumValue("Premium")
    PREMIUM("Premium");
    private final String value;

    public String value() {
        return value;
    }

    @JsonCreator
    public static CustomerType fromValue(String v) {
        for (CustomerType c: CustomerType.values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        log.debug("Invalid value for CustomerType: {}", v);
        throw new IllegalArgumentException(v);
    }
}

Example-2

Url:
POST http://localhost:8080/customer/post_customer_type_object

Body:

{
    "data": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Customer xmlns=\"http://www.my.personal.schema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.my.personal.schema\">Premium</Customer>"
}

enter image description here

This JSON data is deserialized to xml content string with further transformation into the same class - CustomerType. I think it is correct example of solution for your case.

If you probably want to send XML type (not as xml content string inside JSON), you can just change receiving data format on controller layer.

If you probably want to send some JSON node with particular node name (not simple string, which is a special case of JSON, like in Example 1), you should change fromValue method to process JsonNode instead of String.

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Baranovich

79655251

Date: 2025-06-05 22:24:03
Score: 0.5
Natty:
Report link

Instead of using from backend.utils import *, try using from .utils import *. If anything you are importing from the other file contains backend.thingyouimport, remove the backend part and just use .thingyouimport.

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

79655227

Date: 2025-06-05 21:46:55
Score: 2.5
Natty:
Report link

Turns out, I was checking the wrong place, instead of checking the database at /python/instance, I was checking the manually created one at /python/.

To change the instance folder to /python, I just changed the flask initialization to app = Flask(_name_, instance_path='/python').

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

79655226

Date: 2025-06-05 21:46:55
Score: 2.5
Natty:
Report link

Uninstalled old application Realme 5i new Lunch Head issues Android Device in sign your Device from maybe making communication google.New name Realme RMX2030. Completely different than two attention to My find Device.

Request Realme,RMX2030 Remove, unused,finesh.delete all allowed places google.map with offline appear Android.

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Muhammad shafique

79655224

Date: 2025-06-05 21:45:55
Score: 2
Natty:
Report link

Yes Genspark , Its very good at parsing the HTML's . While for pdf, images it becomes very expensive so prefer to use poppler and tesseract for extraction and then feed data to LLM's.

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

79655215

Date: 2025-06-05 21:32:51
Score: 1
Natty:
Report link

It seems you're having an issue with pip, the default package manager, and python_calamine, a package you need for your project. To fix this, you'll need to install pip --> https://pip.pypa.io/en/stable/installation/

Once pip is installed, you can install python_calamine using pip install python-calamine

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

79655213

Date: 2025-06-05 21:30:50
Score: 2
Natty:
Report link

You can set/override this property when launching the installer from the command line

msiexec /i <pathToMSI> ALLUSERS=""

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

79655203

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

First, you go to the datasource tab and then add new datasource, then you choose your dataset. Then you go to a random viz and right click one of the datasources and replace your old dataset with the new one. You can then continue to create a new parameter and calculated field and publish it.

A dashboard parameter is just a parameter which is shown on a dashboard, similar to a filter. You can do this by right clicking any viz on your dashboard and hover over parameters, this will show all of the parameters in the workbook, and to show it on the dashboard, click the desired parameter from the list.

Also, parameters are always shown in the whole workbook, no matter which datasource or viz.

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

79655194

Date: 2025-06-05 21:05:44
Score: 4.5
Natty:
Report link

In PostgreSQL use Ctrl + ; to comment a line or a block with "--"

Reasons:
  • Blacklisted phrase (1): to comment
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Maxwell Ribeiro

79655192

Date: 2025-06-05 21:03:43
Score: 2
Natty:
Report link

I went to the URL https://download.pytorch.org/whl/nightly/cu128 to see the last version for each package, and installed them:

pip install --pre torch==2.8.0.dev20250605+cu128 torchvision==0.23.0.dev20250605+cu128 torchaudio==2.8.0.dev20250605+cu128 --index-url https://download.pytorch.org/whl/nightly/cu128

Now ComfyUI works with my 5060.

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

79655190

Date: 2025-06-05 20:57:42
Score: 2
Natty:
Report link

Azure has a hard and fast limit of 3 minutes for any webcall. changing command and connection timeouts has NOAzure has a hard and fast limit of 3 minutes for any webcall. changing command and connection timeouts has NO impact. (ive wasted a lot of time on that.)

impact. (ive wasted a lot of time on that

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

79655175

Date: 2025-06-05 20:37:37
Score: 1
Natty:
Report link

After a day of trial and error, apparently the answer can be derived from docs. config docs. Apparently when it says req.body, it means you can get the body from txn.sf:req_body() , for url txn.f:path(), for params txn.f:query(). The pattern seems to be to substitute dot in the config with an underscore (res.body , res_body())

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

79655171

Date: 2025-06-05 20:29:36
Score: 3.5
Natty:
Report link

I had to go to Firebase Auth settings -> Enable Delete

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

79655151

Date: 2025-06-05 19:59:28
Score: 2
Natty:
Report link

Clicked on Help link and did exactly what they say. Nothing else worked.

"To correct this error : Move the class code so that it is the first class in the file, and then load the designer again."

Did it in the class my form inherited from

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

79655150

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

The problem in my case was clearly shown in the logs. I had an unused replication slot that was causing issues. My solution was to drop that slot and explicitly define the schema of my tables in the trigger function, like this:

CREATE OR REPLACE FUNCTION distribute_data()
RETURNS TRIGGER 
AS $FUNCTION$
BEGIN
    INSERT INTO public.pub_insert_a(a) VALUES (NEW.a);
    INSERT INTO public.pub_insert_b(b) VALUES (NEW.b);
    RETURN NEW;
END;
$FUNCTION$ LANGUAGE plpgsql;

CREATE OR REPLACE TRIGGER distribute_data_trigger
AFTER INSERT ON pub_test
FOR EACH ROW 
EXECUTE FUNCTION distribute_data();

And I enabled my trigger as REPLICA
ALTER TABLE pub_test ENABLE REPLICA TRIGGER distribute_data_trigger;

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

79655149

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

SOLVED: I decided to mount both drives directly on a Open Media Vault VM per Pass Through stop VM nano /etc/pve/qemu-server/.conf scsiX: /dev/sdX start VM And in there create a Mirror RAID and then an SMB Share. Performance is okayish starts good with 250MB/s then drops to ~100MB/s constant

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

79655148

Date: 2025-06-05 19:56:27
Score: 1
Natty:
Report link

It can be read from the .git folder

String commitHash = Files.readString(Paths.get(".git", branch)).trim();
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Lovelin B

79655138

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

"address_zip": {"value": "44720"},%0D%0A%09 "initial_creator_id": 70664,

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Luis Angel López cruz

79655126

Date: 2025-06-05 19:37:22
Score: 2
Natty:
Report link
  1. list out your columns instead of doing a select *

  2. cast your columns to explicit types instead of allowing DBT/Databricks to interpret

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

79655117

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

We are working on enabling Azure Monitor integration for Web Jobs, soon you will be able to ship the logs to Log Analytics Workspace out of the box, similarly to what is available today for Web Apps on App Service.

For more information:
https://learn.microsoft.com/en-us/azure/app-service/tutorial-troubleshoot-monitor

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Joaquín Vano

79655112

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

Thank you very much, @krigaex! Indeed, the documentation states that

Groovy mocks should be used when the code under specification is written in Groovy

In other cases

Groovy mocks will behave like regular mocks


Just for more context, when the test is defined as

Mock(HttpRequest, global: true) // simple Mock, not GroovyMock

the following exception is thrown:

org.spockframework.mock.CannotCreateMockException: Cannot create mock for class org.java.HttpRequest because Java mocks cannot mock globally. If the code under test is written in Groovy, use a Groovy mock.
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @krigaex
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Ilya Pyatizbyantsev

79655107

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

Currently, no event sends a notification when a permission is changed in a folder.

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

79655102

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

I solove this error just when join join using id as number and must as string

this update the code in `

uid: currentUserId

``

 const acceptCall = useCallback(async () => {
    if (!incomingCall) return;
    const { token, channelName,uid } = callInfo;
    setIncomingCall(false);
    await joinVoiceChannel({ token, channel: channelName, uid});
  }, [incomingCall, joinVoiceChannel, currentUserId, callInfo]);
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Zakaria Zhlat

79655096

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

open the mongod.conf file and put in comment the words: journal, enabled:true

# Where and how to store data.
storage:
  dbPath: C:\...
#  journal:
#    enabled: true
#  engine:
#  mmapv1:
#  wiredTiger:
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ernesto

79655091

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

The key error is here:

Temporary failure in name resolution

The fact it was working fine and no code changes aslomg with this error. Its either a network or DNS issue. Specifically that name is saying it can't resolve the domain name either because of issues with DNS directly or a potential network problem.

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

79655090

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

The databricks deltas are hard for snowflake to read?

what cloud is hosting your databricks environment?

on azure what we did was create a sql server with a polybase connection to read out of the same blob that databricks was writing to. We then can connect snowflake or really any other source to the polybase enable sql server.

We have had success with federated connections into databricks as well. However, I think your best bet is accessing the delta/parquet etc at the blob level with a tool that interfaces well with snowflake

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

79655075

Date: 2025-06-05 18:58:11
Score: 2.5
Natty:
Report link

Here's a detailed guide on how to convert C/C++ code to JavaScript using Emscripten:

Guide:

Check out the GitHub repo with working code examples: cpp to js

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

79655074

Date: 2025-06-05 18:57:10
Score: 0.5
Natty:
Report link

just create this policy that allows to access buckets to all authenticated users

CREATE POLICY "Allow authenticated users to view bucket" ON storage.buckets FOR SELECT TO authenticated USING (true);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Zaman Rajpoot

79655071

Date: 2025-06-05 18:56:10
Score: 1.5
Natty:
Report link

it was due to ComSpec = %SystemRoot%\System32\cmd.exe I just changed the environment variable ComSpec=C:\Windows\System32\cmd.exe The issue has been fixed.

but i have another similar server works with ComSpec = %SystemRoot%\System32\cmd.exe without any issue

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

79655061

Date: 2025-06-05 18:52:09
Score: 2
Natty:
Report link

You can achieve this in Polars using .list.eval() along with .str.len_chars() to determine the longest string in each list.

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

79655054

Date: 2025-06-05 18:46:07
Score: 1
Natty:
Report link

For an SQL-compliant database, the answer is no.

A single UPDATE statement is atomic, in your scenario there is no way your SELECT statement can return a mix of old and new values.

source: SQL specifications 4.30-4-Statement Atomicity

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

79655052

Date: 2025-06-05 18:45:07
Score: 1.5
Natty:
Report link

it is like this

import random

you have to use it

import random

numbers = list(range(1, 101))
random_choice= random.choice(numbers)#random.choice is using the import you have to use the import so import.variable
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30732426

79655032

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

I encountered this error because I was using StoryblokServerComponent in a file which I had specifically earmarked for client-side rendering with the 'use client' directive.

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

79655026

Date: 2025-06-05 18:31:04
Score: 1
Natty:
Report link
fun _wife: Man -> Woman {~husband.wife}

Then, in your theme, hide Couple:

enter image description here

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

79655018

Date: 2025-06-05 18:27:02
Score: 3
Natty:
Report link

I would recommend that instead of utilizing the PRIMARY file group I would suggest creating file groups with multiple files for data, indexes and text. It will definatly provide far better performance than PRIMARY.

https://learn.microsoft.com/en-us/sql/relational-databases/databases/database-files-and-filegroups?view=sql-server-ver17#filegroups

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

79655015

Date: 2025-06-05 18:26:02
Score: 0.5
Natty:
Report link

The problem is that it should be the other way around, the parent theme needs to have the function wrapped around the if statement

  if ( ! function_exists( 'wpst_get_filter_title' ) ) :

and the child theme should just declare it normally:

function wpst_get_filter_title() {
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: eyal_123

79655013

Date: 2025-06-05 18:24:01
Score: 2
Natty:
Report link

Looks like a bug, bare TS works.

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

79655012

Date: 2025-06-05 18:23:00
Score: 1
Natty:
Report link

This

"maatwebsite/excel": "^3.1",

version has added

Maatwebsite\Excel\Concerns\WithCalculatedFormulas;

that you can add to your importable class to evaluate the Excel formulas.

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

79655011

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

I restart my window server after this IIS worked.....

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

79655010

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

Offical Definition:

Set this to true if you want the ImageView to adjust its bounds to preserve the aspect ratio of its drawable.

So, since you said that you code worked perfectly months ago, verify your image dimensions, maybe it have altered accidently

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

79655007

Date: 2025-06-05 18:19:59
Score: 0.5
Natty:
Report link
let result = someValue || 0;

let result = someValue ?? 0;

or

let result = Number.isNaN(someValue) * 0 + someValue * !Number.isNaN(someValue);
let someValue = NaN;
let result = someValue || 0;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Cornel Petrescu

79655005

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

So, digging some more with a friend of mine, it has been figured out that this the default behaviour. It's mentioned here in the .NET MAUI documentation by Microsoft

On iOS 16.4+, simulators won't load a splash screen unless your app is signed.

So to make the launch screen work you have to apply a workaround for which there are currently two options.

Option 1

You have to generate signed debug builds.

Option 2

Install an iOS Simulator with version lower than iOS 16.4.

I have currently used option 2 as I am yet to figure out how to apply option 1. I also made changes to the background colour of the launch screen and it works.

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

79655002

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

No, I dont think setting a higher bathv size for Queue A makes it higher priority. AWS lambda polls each SQS queue independently and equally, regardless of batch size. If you want to prioritise Queue A, i think you should use separate lambda functions or manage priority logic with the lambda code.

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

79654998

Date: 2025-06-05 18:13:57
Score: 0.5
Natty:
Report link

The %[ck7]% is likely an internal token or placeholder from the bedrock agent's output formatting e.g, for clicks. tracking or UI rendering. Potential workaround for fixing this might be stripping it with re.sub().

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

79654979

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

Finally, I fixed the problem, at least workaround.

As you know, Since Node20+, they use the ipv6 dns first. so I downgrade the node to 18 and it works now.

Reasons:
  • Whitelisted phrase (-2): I fixed
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: heltdev

79654973

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

if you are running your queries from psql prompt directly
then \t is option to disable the column names and same row_number() OVER () for dispaly row number also

example

enter image description here

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

79654970

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

Use =>
1 row_number() OVER () to print row number for all records
2 -t removes header and footer

See example below

I have a table users in my database

Fetching 5 records from users table

enter image description here

removing column names with -t option

enter image description here

adding row number using row_number function in all records fetched (with -t without -t)

enter image description here

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

79654957

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

I dont think ag-grid supports rowSpan and colSpan on the same cell, they cannot be combined in a single cell. A workaround is to use cellRenderer with custom HTML/CSS to simulate combined spans, but native support for both together isn't available.

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

79654952

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

According to the Liquibase documentation for Docker the volume in the Liquibase image for mounting your local changelog directory is /liquibase/changelog and not /liquibase/db.changelog I would try setting the volume as follows for the Liquibase service:

volumes:
      - ./src/main/resources/db.changelog:/liquibase/changelog
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Pete Pickerill

79654947

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

What’s happening is that when you drag a cell, you set up an oval-shaped preview by implementing:

func collectionView(_ collectionView: UICollectionView, dragPreviewParametersForItemAt indexPath: IndexPath) -> UIDragPreviewParameters?

But once you let go and the drop animation kicks in, UIKit goes back to a plain rectangular preview (with the default shadow and background) unless you also tell it otherwise. To keep that oval look during the drop animation, you also need to add:

func collectionView(_ collectionView: UICollectionView, dropPreviewParametersForItemAt indexPath: IndexPath) -> UIDragPreviewParameters?

and return the same oval-shaped parameters. If you don’t, UIKit just uses the rectangular snapshot, and you’ll see the unwanted shadow and background after dropping.

Result

Six white, pill-shaped cells on a light gray background display the top-left pill being lifted and dragged to a new position while preserving its rounded shape

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): What
  • Low reputation (0.5):
Posted by: olejiksa

79654936

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

Yup, I think this is a recommended use of useTransition in Next JS. You're improving the UX by giving instant feedback with setActiveTab, showing a loading spinner using isPending and avoiding a UI freeze during router.push. Can't think of anything wrong with it IMO.

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

79654934

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

As indicated by the error message in your logs, you've exceeded the maximum unzipped size limit for a Serverless Function (250 MB).

To resolve this, I recommend referring to the guide Troubleshooting Build Error: “Serverless Function has exceeded the unzipped maximum size of 250 MB”, which provides detailed steps to identify and address the issue.

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

79654929

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

Why it probably happened:
Docker Compose tracks containers by project name + service name, not by container_name. Running docker compose up in different folders with the same service name but different container_name causes Compose to stop containers from the other project because it thinks they belong to the same service.

How to fix:

Use different service names in each compose file,

Or use the same service names but run with different project names via docker compose -p <project_name> up -d

Though, tell me if it's not the case.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): Why it
  • Low reputation (1):
Posted by: Almohtady Bellah

79654922

Date: 2025-06-05 17:14:39
Score: 3
Natty:
Report link

Stack:

I want to thank you very much for your solution to Add

<meta name="viewport" content="width=device-width, initial-scale=1.0">

It has saved me - I was going crazy!  Some CSS adjusted and some did not.  Now all is well.

THANK YOU!!
Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (0.5): THANK YOU
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Susan Sailow

79654917

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

A minor correction to the previous answer:

data = data.withColumn("random_num", round(rand()*30+0.5).cast("int"))

This adds 0.5 so that we don't get 0 as one of the outcomes, and casts the result to an integer.

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

79654915

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

To Check TypeScript error:

run : npx tsc --noEmit

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

79654914

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

As of 2025, all you need to do is save the file with a kts filename extension

hello.kts:

println("Hello World!")

terminal:

~ > kotlin test.kts
Hello World!
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: MJ Walsh

79654909

Date: 2025-06-05 17:03:35
Score: 3.5
Natty:
Report link

As suggested in Morrison's comment, the problem has been solved by setting a more relaxed network policy in the Android app, following these instructions How to fix 'net::ERR_CLEARTEXT_NOT_PERMITTED' in flutter .

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

79654908

Date: 2025-06-05 17:02:35
Score: 2.5
Natty:
Report link

Thanks everyone. I now understand the difference between the two. Now suppose our goal is to read data from the console. The common and portable approach is to use fgets to read from stdin. But stdin can be redirected to other things (such as files). ReadConsole is an API of win32api, which is used to read content from the console bound to the program. When stdin and the console are still connected (that is, when it is not redirected), the effects of the two are basically the same. If stdin is redirected, ReadConsole still reads the input data of the console bound to the program, rather than the stdin data stream.

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

79654904

Date: 2025-06-05 16:58:34
Score: 0.5
Natty:
Report link

Your useEffect needs to react to the params change.

useEffect(() => {
    if (route.params?.lat && route.params?.lng) {
      navigateToCoords(route.params.lat, route.params.lng);
    }
}, [route.params]);

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

79654903

Date: 2025-06-05 16:57:34
Score: 0.5
Natty:
Report link

These days the trivial answer and the one recommended by MDM is simply

  Number.isInteger(+x) && +x > 0

Pls see the comment by @nicholaswmin which explains all.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @nicholaswmin
  • High reputation (-1):
Posted by: Fattie

79654902

Date: 2025-06-05 16:57:33
Score: 5
Natty: 4
Report link

I have the same problem. I already have

spring.devtools.livereload.enabled=true
Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Low length (1.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same problem
  • Low reputation (0.5):
Posted by: Gabriel Messas

79654900

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

First of all, thanks for spending the time to look at this.

I actually found a better solution and I wanted to post it here. In the previous example, it did work because both matrices were composed of single values. But the function is actually not working as it should. It should mirror the lower triangle of the second matrix in the upper triangle of the first one.

You can check this simulating matrices with difference values:

mat1 <- matrix(nrow = 10, ncol = 10)
mat2 <- matrix(nrow = 10, ncol = 10)

mat1[lower.tri(mat1)] <- runif(n = 10, min = 0, max = 1)
mat2[lower.tri(mat2)] <- runif(n = 10, min = 0, max = 1)

fx <- function(mat1, mat2) {
  n <- nrow(mat1)
  for (i in 1:n) {
    for (j in 1:n) {
      if (i > j) {
        mat1[j, i] <- mat2[i, j]
      }
    }
  }
  mat1
}

mat3 <- fx(mat1, mat2)

I suspect there must be something in base R to do this kind of work... In any case, you could see that in mat3 now the upper triangle corresponds to t(mat2).

Cheers,

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): Cheers
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Daniel Estévez

79654896

Date: 2025-06-05 16:55:32
Score: 6.5
Natty: 7
Report link

OpenAI has a better answer. See the link below.

https://chatgpt.com/share/6841ca37-0c14-8007-9248-cd214395e7cb

Reasons:
  • Blacklisted phrase (1): the link below
  • RegEx Blacklisted phrase (1): See the link
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Andres Sayago

79654891

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

In flat config you can use:

export default defineConfig([  globals.browser ])
Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: poylar

79654889

Date: 2025-06-05 16:50:30
Score: 2.5
Natty:
Report link

replying to a 6 years old question.

The direct way to store into a variable is :

LOG_LINE=$(docker logs --tail 1 --timestamps "$container_name" 2>&1 | tail -n 1)

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

79654888

Date: 2025-06-05 16:50:30
Score: 3
Natty:
Report link

You need to use widget for taxonomies or create custom widget If you want I can help you to do it. Just write me about it.

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

79654887

Date: 2025-06-05 16:49:30
Score: 2.5
Natty:
Report link

jdwbiggestfool????

Server error in application '/'.

A connection could not be established because the target computer actively refused it 192.168.5.12:6090

**Description:**An unhandled exception occurred during the execution of the current web request. Review the stack trace for additional information about the error and where it occurs in the code.

**Exception details:**System.Net.Sockets.SocketException: A connection could not be established because the target machine actively refused it 192.168.5.12:6090

Source error:

Kod źrdłowy, ktry spowodował wygenerowanie tego nieobsługiwanego wyjątku, może być wyświetlany tylko po skompilowaniu w trybie debugowania. Aby włączyć tryb debugowania, wykonaj jedną z poniższych czynności, a następnie zażądaj adresu URL:1. Dodaj dyrektywę "Debug=true" na początku pliku, ktry spowodował wygenerowanie błędu. Przykład:  <%@ Page Language="C#" Debug="true" %>lub:2) Dodaj poniższą sekcję do pliku konfiguracyjnego aplikacji:<configuration>   <system.web>       <compilation debug="true"/>   </system.web></configuration>Zauważ, że drugi sposb spowoduje kompilowanie wszystkich plikw danej aplikacji w trybie debugowania. Pierwszy sposb spowoduje kompilowanie tylko jednego konkretnego pliku w trybie debugowania.Ważne: Uruchamianie aplikacji w trybie debugowania zwiększa zużycie pamięci i zmniejsza wydajność. Przed wdrożeniem scenariusza produkcyjnego upewnij się, że w aplikacji wyłączono debugowanie.

Stack trace:

[SocketException (0x274d): Nie można nawiązać połączenia, ponieważ komputer docelowy aktywnie go odmawia 192.168.5.12:6090] System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) +239 System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) +35 System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) +224 [WebException: Nie można połączyć się z serwerem zdalnym] System.Net.HttpWebRequest.GetRequestStream(TransportContext& context) +1877265 System.Net.HttpWebRequest.GetRequestStream() +13 System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +103 pl.emapa.tornado.IMapCenterServiceservice.CreateSessionID() +31 EmapaAJAXMap._Default.GetSession(IMapCenterServiceservice svc, Boolean ForceCreate) +161 EmapaAJAXMap._Default.Page_Load(Object sender, EventArgs e) +27 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +50 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.3649; ASP.NET Version:2.0.50727.3634

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

79654885

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

Out of desperation I tried switching to the Microsoft ODBC drivers instead of FreeTDS. And somehow, that works.

I have no idea why, as it's clearly something about the Azure environment, since FreeTDS absolutely works when using an ssh tunnel to forward the connection through some external host. But the Microsoft ODBC driver apparently knows the secret sauce Azure wants.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Brian Arsuaga

79654871

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

Adding answer to the question as it resolved on of our customer's issue, is the as he cloned the app to a new server the app was showing white screen, so after changed the APP URL in the .env file by adding https://domain the site worked. There was no https:// before

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

79654870

Date: 2025-06-05 16:37:26
Score: 2
Natty:
Report link

This may be due to you didnt remove those <> brackets in the connection string replace the username , password with the actual credentials , not the account password , but with database access password , and then remove those <> brackets

Finally it will look like mongodb+srv://db_username:db_password

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

79654865

Date: 2025-06-05 16:33:26
Score: 0.5
Natty:
Report link

Spring Boot uses an opinionated algorithm to scan for and configure a DataSource. This allows you to get a fully-configured DataSource implementation by default easily.

In addition, Spring Boot automatically configures a lightning-fast connection pool, either HikariCP, Apache Tomcat, or Commons DBCP, in that order, depending on which are on the classpath.

While Spring Boot’s automatic DataSource configuration works very well in most cases, sometimes you’ll need a higher level of control, so you’ll have to set up your own DataSource implementation, hence skipping the automatic configuration process.

It is easy process, just takes your time to configure a DataSource once you need it.

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

79654863

Date: 2025-06-05 16:30:25
Score: 0.5
Natty:
Report link

Use the Sea-ORM to read timestamptz with the "with-chrono" feature:


pub struct Model {
    pub updated_at: DateTimeWithTimeZone,
}

Referance: https://www.sea-ql.org/SeaORM/docs/generate-entity/entity-structure/#column-type

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

79654852

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

As it turned out it was so easy! )

@Injectable({
  providedIn: 'root'
})
export class JsonPlaceholderService implements BaseDataService  {
  get(): Observable<any> {};
}

@Injectable({
  providedIn: 'root',
  useClass: JsonPlaceholderService
})
export class BaseDataService implements IDataService {
  get(): Observable<any> {
    throw new Error('Method not implemented.');
  }
}

export interface IDataService {
  get(): Observable<any>;
}

And then we can use it as a dependency in a @Component()

  #jsonPlaceholderService = inject(BaseDataService);

No providers array in a @Component or AppConfig. So this way, our dependency is tree-shakable.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Component
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Alex Lavrik

79654850

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

I had a simillar situation, while converting some Postgres Databases into MySQL.
I tried other solutions, until I found your post.
The approach that worked clean and softly, was inserting this line, after saving the rows on a DataFrame variable:


data = data.astype(object).where(pandas.notnull(data), None)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Matheus Galasso

79654832

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

I eventually dealt with this issue by using a python DataClass as the basic structure, and applying dicitonaries on top of it using a function like this:

from dataclasses import fields, replace
from typing import TypeVar
import json

T = TypeVar("T")


def safe_replace (instance: T, updates: dict,  keepNone = False) -> T:
    field_names = {f.name for f in fields(instance)}
    valid_kwargs = {k: v for k, v in updates.items() if k in field_names if v is not None or keepNone == True }
    invalid_keys = set(updates) - field_names

    if invalid_keys:
        warnings.warn(f"Ignored invalid field(s): " + ', '.join(invalid_keys), category=UserWarning)

    return replace(instance, **valid_kwargs)

...which I use something like this:

@dataclass
class User:
    reputation: int = 0
    favoriteSite: str = "stackOverflow"

me = User(reputation=10)
updated = safe_replace(me, {'reputation':-8, 'favoriteSite':'claude.AI'})

This works well in my use case, because the dataclass gives type safety and defaults, and also decent autocomplete behaviour, and dictionaries can be merged on top. (Also it's possible to add custom handlers for updates and so on).

Not quite the answer to the question I asked, which viewed the base object as a dictionary, but when I asked it, I clearly didn't know quite what I wanted.

Reasons:
  • Blacklisted phrase (1): stackOverflow
  • RegEx Blacklisted phrase (1.5): reputation
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: phhu

79654819

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

Java objects are created on the heap, which is a section of memory dedicated to a program. When objects are no longer needed, the garbage collector finds and tracks these unused objects and deletes them to free up space.

But the object that occupies a memory should be collected before the OOM error happens.

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

79654813

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

The return result from READ_IMAGE.PRO is a 2D array if greyscale and 3D if color (e.g., see https://www.nv5geospatialsoftware.com/docs/READ_IMAGE.html). So yes, if you only want the greyscale image, just use the second two dimensions. To make it a true greyscale image, you can follow the advice in https://stackoverflow.com/a/689547/4005647 to apply proper weights to each of the RGB channels.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: honeste_vivere

79654805

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

LOL and they say linux is better than windows xdddd

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jakub Křižák

79654803

Date: 2025-06-05 15:52:13
Score: 5
Natty: 5.5
Report link

I'm at the same point where I can't find out how to get a script to run did you work it out?

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

79654795

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

I have tested it in vs2022 with VB.NET and Windows Forms, and it does not work, even replacing the corresponding files in the WindowsForms subfolder... so sad.

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

79654794

Date: 2025-06-05 15:48:11
Score: 11.5 🚩
Natty:
Report link

That sounds interesting. Does anyone have a solution?

Reasons:
  • Blacklisted phrase (3): have a solution?
  • RegEx Blacklisted phrase (3): Does anyone have a solution
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: chacha