79785760

Date: 2025-10-08 18:35:46
Score: 7.5 🚩
Natty: 5.5
Report link

Ok so i have the same problem but I need to convert lua into python because i know lua but not python

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): i have the same problem
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): i have the same problem
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user31653034

79785757

Date: 2025-10-08 18:29:44
Score: 0.5
Natty:
Report link

The error occurs because passkey-based MFA, such as fingerprint or Face ID, is only supported for browser-based login, not for programmatic access. As you rightly mentioned, you can use key-pair authentication. Additionally, you can use a Programmatic access token (PAT) and a DUO MFA method, where you receive a push notification on your mobile device to log in to Snowflake. However, for DUO MFA, it is less ideal for automation as it still requires some user interaction.

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

79785748

Date: 2025-10-08 18:16:41
Score: 1
Natty:
Report link

If it were me, what I would do is create a function that takes a Param and returns a Query with the same data, call it toQuery() or something like that, and the same in reverse (a toParam() on the Query object - and then change the code to query[queryKey] = param[paramKey].toQuery()

Not that I've tested it, but it seems like that would remove a lot of your issues and probably all of them. In general, it makes sense to delegate to objects that need to turn themselves into other objects to do that themselves, rather than expect some supertyping or generic mechanism to do it for you in tricky cases like this one.

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

79785732

Date: 2025-10-08 17:46:33
Score: 1.5
Natty:
Report link

The following approach will keep the format of existing worksheets.

# Create an existing workbook from which we want to extract sheets
firstWb <- createWorkbook()
addWorksheet(firstWb, sheetName = "One")
addWorksheet(firstWb, sheetName = "Two")
addWorksheet(firstWb, sheetName = "Three")
writeData(firstWb, sheet = "One", x = matrix(1))
writeData(firstWb, sheet = "Two", x = matrix(2))
writeData(firstWb, sheet = "Three", x = matrix(3))

# Make a copy and remove sheets that we dont want to merge
theWb <- copyWorkbook(firstWb)
openxlsx::removeWorksheet(theWb, "One")

# Add new sheets
addWorksheet(theWb, sheetName = "Zero")
writeData(theWb, sheet = "Zero", x = matrix(0))
addWorksheet(theWb, sheetName = "Five")
writeData(theWb, sheet = "Five", x = matrix(5))

# Reorder sheets
nams <- 1:length(names(theWb))
names(nams) <- names(theWb)
worksheetOrder(theWb) <- nams[c("Zero", "Two", "Three", "Five")]

# Save
saveWorkbook(theWb, file = "Combined.xlsx")

If anyone found this answer helpful, please consider showing your appreciation with an upvote.

Reasons:
  • Blacklisted phrase (2): anyone found
  • Blacklisted phrase (0.5): upvote
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Daniel Hoop

79785729

Date: 2025-10-08 17:45:33
Score: 2
Natty:
Report link

You should be able to simply use latest as your version_id or omit /versions/{version_id}. That'll default to latest.

source: https://cloud.google.com/secret-manager/docs/access-secret-version

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

79785728

Date: 2025-10-08 17:44:32
Score: 3.5
Natty:
Report link

I removed the extra space or newline while adding the origin and then pushed the changes

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

79785713

Date: 2025-10-08 17:30:28
Score: 1.5
Natty:
Report link

Have you tried to implement module1 in app? Since dagger auto generate code to work I suppose that when app generate the DaggerModule2Component, it needs to see also module1 to generate the underneath code. With your gradle settings app implements module2 but can't see module1 because implementation doesn't permit transitive dependency

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Istur Isindhalar

79785705

Date: 2025-10-08 17:13:24
Score: 0.5
Natty:
Report link

Upon running

pip show qwen-vl-utils , I found that it requires av, packaging, pillow, requests . Each of these separately imported without error into Python with the exception of av.

I found that running:

pip uninstall av (to uninstall av from pip)

and then

conda install -c conda-forge av

to install it via conda fixed this issue with OpenSSL.

I thought I'd post this in case anyone else runs into this issue trying to run the new Qwen models or otherwise :)

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

79785700

Date: 2025-10-08 17:10:23
Score: 2.5
Natty:
Report link

I had a similar issue, which was caused by the fact that I wanted to break a list of unique items into blocks for parallel processing. My solution was the HashSet Chunk command, which eliminated my need for removing items from the HashSet entirely.

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

79785697

Date: 2025-10-08 17:06:22
Score: 5
Natty:
Report link

But I want it to look exactly the same as Apple’s Shortcuts widget — the grid layout should have the same proportions, spacing, and button sizes across all three widget sizes (small, medium, and large). For my Widget.

enter image description here

enter image description here

enter image description here

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: LevelOne2k

79785692

Date: 2025-10-08 16:51:18
Score: 1
Natty:
Report link

You should use the inspect tool at https://moleburrow.com/console/inspect to see the request and response headers. Everything will be clear there.
For ngrok, you can go to http://127.0.0.1:4040/inspect/http.

Make sure you use HTTPS; otherwise, the cookie will be ignored. Also, don’t use sameSite: 'none' if your backend and frontend are on the same domain.

enter image description here

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

79785671

Date: 2025-10-08 16:14:09
Score: 3
Natty:
Report link

With this approach, it's assumed that you have Date dimension table available which is very common. I am providing a snippet of the table that is used for this purpose.

enter image description here

Then create a function which does the job.

Function Code

Call the function by passing any date and it returns the previous bussiness day date.

enter image description here

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

79785650

Date: 2025-10-08 15:57:03
Score: 3
Natty:
Report link

You can also downgrade the JDK to Java 8 if your requirements permit.

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

79785642

Date: 2025-10-08 15:48:01
Score: 2
Natty:
Report link

If SSL (TLS) pinning is configured through Info.plist, i.e. using NSAppTransportSecurity, as described in Apple's Identity Pinning: How to configure server certificates for your app post, it automatically becomes applied to AVPlayer's streams.

However, I don't have a source from Apple confirming this; only my own testing with Proxyman.

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

79785641

Date: 2025-10-08 15:48:01
Score: 0.5
Natty:
Report link

thanks for outlining the details! I might be way off-base here without seeing your Zap setup, but some suggestions are below.

The issue might be how AWTOMIC bundles passes data to Zapier differently in live orders versus testing.

When you test, Zapier may be expanding the bundle items into separate line items, but in live orders, AWTOMIC is likely passing bundle contents as line item properties or metadata rather than as separate line items.

You should check for the Shopify Line Item Properties. In your Zapier trigger step, look for something similar as these fields:

These often contain bundle item details so that you can track the name and quantity of each meal order. Map these to your Code step instead of just Title/Quantity.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Zapier Community

79785639

Date: 2025-10-08 15:48:01
Score: 0.5
Natty:
Report link

R’s formula machinery canonicalizes interaction labels by sorting the names inside :. So b:a and a:b are the same term, and when you pass the terms object to model.matrix() it will print the canonical label (usually a:b) regardless of the order you wrote in the formula—even with keep.order = TRUE (which only controls the order of terms, not the order of variables within an interaction).

You can verify they’re identical:

dd <- data.frame(a = 1:3, b = 1:3)

mm1 <- model.matrix(terms(~ a + b + b:a, keep.order = TRUE), dd) mm2 <- model.matrix(terms(~ a + b + a:b, keep.order = TRUE), dd)

all.equal(mm1, mm2)

[1] TRUE

If you absolutely need the printed column name to match your original b:a, just rename after creation:

mm <- model.matrix(terms(~ a + b + b:a, keep.order = TRUE), dd) colnames(mm) <- sub("^a:b$", "b:a", colnames(mm)) mm

(For wider cases you could write a small renamer that maps any x:y to your preferred order.)

So the behavior you’re seeing is expected: terms()/model.matrix() normalize interaction labels, and there’s no option to keep b:a other than renaming the columns post hoc.

More practical R tips & design-matrix gotchas: [https://rprogrammingbooks.com]

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

79785638

Date: 2025-10-08 15:47:00
Score: 1
Natty:
Report link

I'll answer the question in the title which doesn't really match the question content, just for the benefit of those googling and ending up here:

This tool is very useful for showing a dependency tree for any project: https://github.com/marss19/reference-conflicts-analyzer

VS2022 extension link: https://marketplace.visualstudio.com/items?itemName=MykolaTarasyuk.ReferenceConflictsAnalyserVS2022

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

79785617

Date: 2025-10-08 15:29:54
Score: 0.5
Natty:
Report link

Short answer: within a single database, the secondary will apply changes in the same commit/LSN order as the primary, but a readable secondary can lag—so your query might not see the most recent commits yet. There’s no cross-database ordering guarantee.

Synchronous commit: a primary commit isn’t acknowledged until the log block is hardened on the synchronous secondary. This preserves commit order, but the secondary still has to redo those log records before they’re visible to reads, so you can be milliseconds–seconds behind.

Asynchronous commit: the secondary can lag arbitrarily; visibility is eventually consistent, but the redo still follows LSN order.

Readable secondaries use snapshot isolation, so any single query sees a transactionally consistent point-in-time view up to the last redone LSN; it won’t see “reordered” data, just possibly older data.

Parallel redo (newer versions) replays independent transactions concurrently but preserves required dependencies/ordering; waits occur if one record must be redone before another.

If you absolutely require up-to-the-latest, strictly ordered visibility for consumers, read from the primary (or gate reads on the secondary until it has redone to the LSN/commit time you require).

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

79785608

Date: 2025-10-08 15:22:52
Score: 1.5
Natty:
Report link

I recently found that when returning std::pair from a function, extra move is needed compared to an aggregate struct. See this

https://godbolt.org/z/b63K9bzfs

All f1(), f2(), f3() will call constructor twice since we are constructing two new A objects. But for f1(), the objects are constructed directly on the caller. For f3(), two extra moves are called. I don't know how to optimize those away.

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

79785605

Date: 2025-10-08 15:19:51
Score: 1
Natty:
Report link
var isClickHandlerBlocked = false; 

async function toDo(){
    if(isClickHandlerBlocked)
        return; 
    isClickHandlerBlocked = true;

    //await do something

    isClickHandlerBlocked = false;
}

easy way

Does not prevent the click event but it prevents the action from being executed.

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

79785587

Date: 2025-10-08 15:04:46
Score: 2.5
Natty:
Report link

It is not strictly impossible to use SNOPT 7.7, but the Drake build system (patch system, expectations) is tightly coupled to earlier versions, so you will have to do nontrivial patch adaptation

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

79785580

Date: 2025-10-08 14:56:44
Score: 1
Natty:
Report link

It seems you are using a card or a contact reader that only supports T=0, using an implementation of javax.smartcardio that doesn't support extended length over T=0.

In your first example, you ask to connect in any protocol, and the card and the reader have agreed on T=0. Upon sending your extended C-APDU, the implementation fails because it does not support sending extended APDU over T=0.

In your second example, you force usage of T=1, however either the card or the reader doesn't support T=0.

Have you checked your reader doesn't have known bugs? https://ccid.apdu.fr/ccid/section.html

Have you checked the card ATR to see if it is configured for dual T=1/T=0? https://smartcard-atr.apdu.fr/

Does your card have a contactless interface? If you have a contactless reader, extended length is nearly always supported by those readers.

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

79785573

Date: 2025-10-08 14:52:43
Score: 1.5
Natty:
Report link

It's not a best solution but for millions of files, i added Expire current versions of objects lifecycle with 1 day configuration.

So it deleted after 1 day!

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

79785569

Date: 2025-10-08 14:50:42
Score: 3.5
Natty:
Report link

As far as I know, this is a limitation with LangFuse. To get better traces, you can define custom spans, but that's a chore depending on how much you need it.

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

79785555

Date: 2025-10-08 14:23:32
Score: 10.5 🚩
Natty:
Report link

I have a solution, you don't need to use ref for reactive, instead use shallowref, triggerref and markraw, i created a composable with all the google maps options, please test it, i'm from chile so sorry but i use spanish but you can understand the logic, google maps can't create advanced markers if the propierties are reactive.

import { shallowRef, onUnmounted, triggerRef, markRaw } from 'vue';

export default function useMapaComposable() {
  // ✅ Estado del mapa - usar shallowRef para objetos externos
  const mapa = shallowRef(null);
  const googleMaps = shallowRef(null);
  const isLoaded = shallowRef(false);
  const isLoading = shallowRef(false);

  // Colecciones de elementos del mapa - usando shallowRef para Maps
  const marcadores = shallowRef(new Map());
  const polilineas = shallowRef(new Map());
  const circulos = shallowRef(new Map());
  const poligonos = shallowRef(new Map());
  const infoWindows = shallowRef(new Map());
  const listeners = shallowRef(new Map());

  /**
   * Cargar la API de Google Maps con loading=async
   */
  const cargarGoogleMapsAPI = apiToken => {
    return new Promise((resolve, reject) => {
      // Si ya está cargado, resolver inmediatamente
      if (window.google && window.google.maps) {
        // ✅ Usar markRaw para evitar reactividad profunda
        googleMaps.value = markRaw(window.google.maps);
        isLoaded.value = true;
        resolve(window.google.maps);
        return;
      }

      // Si ya está en proceso de carga, esperar
      if (isLoading.value) {
        const checkLoaded = setInterval(() => {
          if (isLoaded.value) {
            clearInterval(checkLoaded);
            resolve(window.google.maps);
          }
        }, 100);
        return;
      }

      isLoading.value = true;

      // Crear callback global único
      const callbackName = `__googleMapsCallback_${Date.now()}`;

      window[callbackName] = () => {
        // ✅ Usar markRaw para evitar reactividad profunda
        googleMaps.value = markRaw(window.google.maps);
        isLoaded.value = true;
        isLoading.value = false;

        // Limpiar callback
        delete window[callbackName];

        resolve(window.google.maps);
      };

      const script = document.createElement('script');
      script.src = `https://maps.googleapis.com/maps/api/js?key=${apiToken}&libraries=marker,places,geometry&loading=async&callback=${callbackName}`;
      script.async = true;
      script.defer = true;

      script.onerror = () => {
        isLoading.value = false;
        delete window[callbackName];
        reject(new Error('Error al cargar Google Maps API'));
      };

      document.head.appendChild(script);
    });
  };

  /**
   * Inicializar el mapa
   */
  const inicializarMapa = async (apiToken, divElement, opciones = {}) => {
    try {
      await cargarGoogleMapsAPI(apiToken);

      const opcionesDefault = {
        center: { lat: -33.4489, lng: -70.6693 },
        zoom: 12,
        mapTypeId: googleMaps.value.MapTypeId.ROADMAP,
        streetViewControl: true,
        mapTypeControl: true,
        fullscreenControl: true,
        zoomControl: true,
        gestureHandling: 'greedy',
        backgroundColor: '#e5e3df',
        ...opciones,
      };

      if (!opcionesDefault.mapId) {
        console.warn(
          '⚠️ No se proporcionó mapId. Los marcadores avanzados no funcionarán.'
        );
      }

      // ✅ Crear el mapa y marcarlo como no reactivo
      const mapaInstance = new googleMaps.value.Map(
        divElement,
        opcionesDefault
      );
      mapa.value = markRaw(mapaInstance);

      // Esperar a que el mapa esté completamente renderizado
      await new Promise(resolve => {
        googleMaps.value.event.addListenerOnce(
          mapa.value,
          'tilesloaded',
          resolve
        );
      });

      // Agregar delay adicional para asegurar renderizado completo
      await new Promise(resolve => setTimeout(resolve, 300));

      // Forzar resize para asegurar que todo esté visible
      googleMaps.value.event.trigger(mapa.value, 'resize');

      // Recentrar después del resize
      mapa.value.setCenter(opcionesDefault.center);

      console.log('✅ Mapa completamente inicializado y listo');

      return mapa.value;
    } catch (error) {
      console.error('Error al inicializar el mapa:', error);
      throw error;
    }
  };

  // ==================== MARCADORES ====================

  const crearMarcador = (id, opciones = {}) => {
    if (!mapa.value || !googleMaps.value) {
      console.error('El mapa no está inicializado');
      return null;
    }

    const opcionesDefault = {
      position: { lat: -33.4489, lng: -70.6693 },
      map: mapa.value,
      title: '',
      draggable: false,
      animation: null,
      icon: null,
      label: null,
      ...opciones,
    };

    // ✅ Marcar el marcador como no reactivo
    const marcador = markRaw(new googleMaps.value.Marker(opcionesDefault));
    marcadores.value.set(id, marcador);
    triggerRef(marcadores);

    return marcador;
  };

  const crearMarcadorAvanzado = async (id, opciones = {}) => {
    if (!mapa.value || !googleMaps.value) {
      console.error('❌ El mapa no está inicializado');
      return null;
    }

    const mapId = mapa.value.get('mapId');
    if (!mapId) {
      console.error(
        '❌ Error: Se requiere un mapId para crear marcadores avanzados'
      );
      console.error('💡 Solución: Pasa mapId al inicializar el mapa');
      return null;
    }

    try {
      // Importar las librerías necesarias
      const { AdvancedMarkerElement, PinElement } =
        await googleMaps.value.importLibrary('marker');

      const { pinConfig, ...opcionesLimpias } = opciones;

      // Configurar opciones por defecto
      const opcionesDefault = {
        map: mapa.value, // ✅ Ahora funciona porque mapa es markRaw
        position: { lat: -33.4489, lng: -70.6693 },
        title: '',
        gmpDraggable: false,
        ...opcionesLimpias,
      };

      // Si no se proporciona contenido personalizado, crear un PinElement
      if (!opcionesDefault.content) {
        const pinConfigDefault = {
          background: '#EA4335',
          borderColor: '#FFFFFF',
          glyphColor: '#FFFFFF',
          scale: 1.5,
          ...pinConfig,
        };

        const pin = new PinElement(pinConfigDefault);
        opcionesDefault.content = pin.element;
      }

      // ✅ Crear el marcador y marcarlo como no reactivo
      const marcador = markRaw(new AdvancedMarkerElement(opcionesDefault));

      // Guardar referencia
      marcadores.value.set(id, marcador);
      triggerRef(marcadores);

      console.log('✅ Marcador avanzado creado:', id, opcionesDefault.position);

      return marcador;
    } catch (error) {
      console.error('❌ Error al crear marcador avanzado:', error);
      console.error('📝 Detalles:', error.message);
      return null;
    }
  };

  const obtenerMarcador = id => {
    return marcadores.value.get(id);
  };

  const eliminarMarcador = id => {
    const marcador = marcadores.value.get(id);
    if (!marcador) {
      return false;
    }

    // Limpiar listeners
    const elementListeners = listeners.value.get(id);
    if (elementListeners) {
      elementListeners.forEach(listener => {
        googleMaps.value.event.removeListener(listener);
      });
      listeners.value.delete(id);
      triggerRef(listeners);
    }

    // Remover del mapa
    if (marcador.setMap) {
      marcador.setMap(null);
    }

    // Para marcadores avanzados
    if (marcador.map !== undefined) {
      marcador.map = null;
    }

    // Eliminar referencia y forzar reactividad
    marcadores.value.delete(id);
    triggerRef(marcadores);
    return true;
  };

  const eliminarTodosMarcadores = () => {
    marcadores.value.forEach((marcador, id) => {
      // Limpiar listeners
      const elementListeners = listeners.value.get(id);
      if (elementListeners) {
        elementListeners.forEach(listener => {
          googleMaps.value.event.removeListener(listener);
        });
        listeners.value.delete(id);
      }

      // Remover del mapa
      if (marcador.setMap) {
        marcador.setMap(null);
      }

      // Para marcadores avanzados
      if (marcador.map !== undefined) {
        marcador.map = null;
      }
    });

    // Limpiar colecciones
    marcadores.value.clear();
    listeners.value.clear();

    // Forzar reactividad
    triggerRef(marcadores);
    triggerRef(listeners);
  };

  const animarMarcador = (id, animacion = 'BOUNCE') => {
    const marcador = marcadores.value.get(id);
    if (marcador && marcador.setAnimation) {
      const animationType =
        animacion === 'BOUNCE'
          ? googleMaps.value.Animation.BOUNCE
          : googleMaps.value.Animation.DROP;
      marcador.setAnimation(animationType);

      if (animacion === 'BOUNCE') {
        setTimeout(() => {
          if (marcadores.value.has(id)) {
            marcador.setAnimation(null);
          }
        }, 2000);
      }
    }
  };

  // ==================== POLILÍNEAS ====================

  const crearPolilinea = (id, coordenadas, opciones = {}) => {
    if (!mapa.value || !googleMaps.value) {
      console.error('El mapa no está inicializado');
      return null;
    }

    const opcionesDefault = {
      path: coordenadas,
      geodesic: true,
      strokeColor: '#FF0000',
      strokeOpacity: 1.0,
      strokeWeight: 3,
      map: mapa.value,
      ...opciones,
    };

    // ✅ Marcar como no reactivo
    const polilinea = markRaw(new googleMaps.value.Polyline(opcionesDefault));
    polilineas.value.set(id, polilinea);
    triggerRef(polilineas);

    return polilinea;
  };

  const actualizarPolilinea = (id, coordenadas) => {
    const polilinea = polilineas.value.get(id);
    if (polilinea) {
      polilinea.setPath(coordenadas);
      return true;
    }
    return false;
  };

  const obtenerPolilinea = id => {
    return polilineas.value.get(id);
  };

  const eliminarPolilinea = id => {
    const polilinea = polilineas.value.get(id);
    if (!polilinea) {
      return false;
    }

    const elementListeners = listeners.value.get(id);
    if (elementListeners) {
      elementListeners.forEach(listener => {
        googleMaps.value.event.removeListener(listener);
      });
      listeners.value.delete(id);
      triggerRef(listeners);
    }

    polilinea.setMap(null);
    polilineas.value.delete(id);
    triggerRef(polilineas);
    return true;
  };

  const eliminarTodasPolilineas = () => {
    polilineas.value.forEach((polilinea, id) => {
      const elementListeners = listeners.value.get(id);
      if (elementListeners) {
        elementListeners.forEach(listener => {
          googleMaps.value.event.removeListener(listener);
        });
        listeners.value.delete(id);
      }

      polilinea.setMap(null);
    });

    polilineas.value.clear();
    listeners.value.clear();

    triggerRef(polilineas);
    triggerRef(listeners);
  };

  // ==================== CÍRCULOS ====================

  const crearCirculo = (id, opciones = {}) => {
    if (!mapa.value || !googleMaps.value) {
      console.error('El mapa no está inicializado');
      return null;
    }

    const opcionesDefault = {
      center: { lat: -33.4489, lng: -70.6693 },
      radius: 1000,
      strokeColor: '#FF0000',
      strokeOpacity: 0.8,
      strokeWeight: 2,
      fillColor: '#FF0000',
      fillOpacity: 0.35,
      map: mapa.value,
      editable: false,
      draggable: false,
      ...opciones,
    };

    // ✅ Marcar como no reactivo
    const circulo = markRaw(new googleMaps.value.Circle(opcionesDefault));
    circulos.value.set(id, circulo);
    triggerRef(circulos);

    return circulo;
  };

  const obtenerCirculo = id => {
    return circulos.value.get(id);
  };

  const eliminarCirculo = id => {
    const circulo = circulos.value.get(id);
    if (!circulo) {
      return false;
    }

    const elementListeners = listeners.value.get(id);
    if (elementListeners) {
      elementListeners.forEach(listener => {
        googleMaps.value.event.removeListener(listener);
      });
      listeners.value.delete(id);
      triggerRef(listeners);
    }

    circulo.setMap(null);
    circulos.value.delete(id);
    triggerRef(circulos);
    return true;
  };

  const eliminarTodosCirculos = () => {
    circulos.value.forEach((circulo, id) => {
      const elementListeners = listeners.value.get(id);
      if (elementListeners) {
        elementListeners.forEach(listener => {
          googleMaps.value.event.removeListener(listener);
        });
        listeners.value.delete(id);
      }

      circulo.setMap(null);
    });

    circulos.value.clear();
    listeners.value.clear();

    triggerRef(circulos);
    triggerRef(listeners);
  };

  // ==================== POLÍGONOS ====================

  const crearPoligono = (id, coordenadas, opciones = {}) => {
    if (!mapa.value || !googleMaps.value) {
      console.error('El mapa no está inicializado');
      return null;
    }

    const opcionesDefault = {
      paths: coordenadas,
      strokeColor: '#FF0000',
      strokeOpacity: 0.8,
      strokeWeight: 2,
      fillColor: '#FF0000',
      fillOpacity: 0.35,
      map: mapa.value,
      editable: false,
      draggable: false,
      ...opciones,
    };

    // ✅ Marcar como no reactivo
    const poligono = markRaw(new googleMaps.value.Polygon(opcionesDefault));
    poligonos.value.set(id, poligono);
    triggerRef(poligonos);

    return poligono;
  };

  const obtenerPoligono = id => {
    return poligonos.value.get(id);
  };

  const eliminarPoligono = id => {
    const poligono = poligonos.value.get(id);
    if (!poligono) {
      return false;
    }

    const elementListeners = listeners.value.get(id);
    if (elementListeners) {
      elementListeners.forEach(listener => {
        googleMaps.value.event.removeListener(listener);
      });
      listeners.value.delete(id);
      triggerRef(listeners);
    }

    poligono.setMap(null);
    poligonos.value.delete(id);
    triggerRef(poligonos);
    return true;
  };

  const eliminarTodosPoligonos = () => {
    poligonos.value.forEach((poligono, id) => {
      const elementListeners = listeners.value.get(id);
      if (elementListeners) {
        elementListeners.forEach(listener => {
          googleMaps.value.event.removeListener(listener);
        });
        listeners.value.delete(id);
      }

      poligono.setMap(null);
    });

    poligonos.value.clear();
    listeners.value.clear();

    triggerRef(poligonos);
    triggerRef(listeners);
  };

  // ==================== INFO WINDOWS ====================

  const crearInfoWindow = (id, opciones = {}) => {
    if (!googleMaps.value) {
      console.error('Google Maps no está cargado');
      return null;
    }

    const opcionesDefault = {
      content: '',
      position: null,
      maxWidth: 300,
      ...opciones,
    };

    // ✅ Marcar como no reactivo
    const infoWindow = markRaw(
      new googleMaps.value.InfoWindow(opcionesDefault)
    );
    infoWindows.value.set(id, infoWindow);
    triggerRef(infoWindows);

    return infoWindow;
  };

  const abrirInfoWindow = (infoWindowId, marcadorId) => {
    const infoWindow = infoWindows.value.get(infoWindowId);
    const marcador = marcadores.value.get(marcadorId);

    if (infoWindow && marcador && mapa.value) {
      infoWindow.open({
        anchor: marcador,
        map: mapa.value,
      });
      return true;
    }
    return false;
  };

  const cerrarInfoWindow = id => {
    const infoWindow = infoWindows.value.get(id);
    if (infoWindow) {
      infoWindow.close();
      return true;
    }
    return false;
  };

  const eliminarInfoWindow = id => {
    const infoWindow = infoWindows.value.get(id);
    if (!infoWindow) {
      return false;
    }

    infoWindow.close();
    infoWindows.value.delete(id);
    triggerRef(infoWindows);
    return true;
  };

  const eliminarTodosInfoWindows = () => {
    infoWindows.value.forEach(infoWindow => {
      infoWindow.close();
    });

    infoWindows.value.clear();
    triggerRef(infoWindows);
  };

  // ==================== UTILIDADES ====================

  const centrarMapa = (lat, lng, zoom = null) => {
    if (mapa.value) {
      mapa.value.setCenter({ lat, lng });
      if (zoom !== null) {
        mapa.value.setZoom(zoom);
      }
    }
  };

  const ajustarALimites = coordenadas => {
    if (!mapa.value || !googleMaps.value || coordenadas.length === 0) {
      return;
    }

    const bounds = new googleMaps.value.LatLngBounds();
    coordenadas.forEach(coord => {
      bounds.extend(coord);
    });

    mapa.value.fitBounds(bounds);
  };

  const cambiarTipoMapa = tipo => {
    if (mapa.value && googleMaps.value) {
      const tipos = {
        roadmap: googleMaps.value.MapTypeId.ROADMAP,
        satellite: googleMaps.value.MapTypeId.SATELLITE,
        hybrid: googleMaps.value.MapTypeId.HYBRID,
        terrain: googleMaps.value.MapTypeId.TERRAIN,
      };

      mapa.value.setMapTypeId(tipos[tipo] || tipos.roadmap);
    }
  };

  const obtenerCentro = () => {
    if (mapa.value) {
      const center = mapa.value.getCenter();
      return {
        lat: center.lat(),
        lng: center.lng(),
      };
    }
    return null;
  };

  const obtenerZoom = () => {
    return mapa.value ? mapa.value.getZoom() : null;
  };

  const agregarListener = (tipo, callback) => {
    if (mapa.value && googleMaps.value) {
      return googleMaps.value.event.addListener(mapa.value, tipo, callback);
    }
    return null;
  };

  const agregarListenerMarcador = (marcadorId, tipo, callback) => {
    const marcador = marcadores.value.get(marcadorId);
    if (marcador && googleMaps.value) {
      const listener = googleMaps.value.event.addListener(
        marcador,
        tipo,
        callback
      );

      if (!listeners.value.has(marcadorId)) {
        listeners.value.set(marcadorId, []);
      }
      listeners.value.get(marcadorId).push(listener);

      return listener;
    }
    return null;
  };

  const calcularDistancia = (origen, destino) => {
    if (!googleMaps.value || !googleMaps.value.geometry) {
      console.error('Geometry library no está cargada');
      return null;
    }

    const puntoOrigen = new googleMaps.value.LatLng(origen.lat, origen.lng);
    const puntoDestino = new googleMaps.value.LatLng(destino.lat, destino.lng);

    return googleMaps.value.geometry.spherical.computeDistanceBetween(
      puntoOrigen,
      puntoDestino
    );
  };

  const limpiarMapa = () => {
    eliminarTodosMarcadores();
    eliminarTodasPolilineas();
    eliminarTodosCirculos();
    eliminarTodosPoligonos();
    eliminarTodosInfoWindows();

    // Limpiar listeners restantes
    listeners.value.forEach(listener => {
      if (Array.isArray(listener)) {
        listener.forEach(l => {
          if (googleMaps.value && googleMaps.value.event) {
            googleMaps.value.event.removeListener(l);
          }
        });
      }
    });
    listeners.value.clear();
    triggerRef(listeners);
  };

  const destruirMapa = () => {
    limpiarMapa();
    mapa.value = null;
  };

  onUnmounted(() => {
    destruirMapa();
  });

  return {
    mapa,
    googleMaps,
    isLoaded,
    isLoading,

    inicializarMapa,

    crearMarcador,
    crearMarcadorAvanzado,
    obtenerMarcador,
    eliminarMarcador,
    eliminarTodosMarcadores,
    animarMarcador,

    crearPolilinea,
    actualizarPolilinea,
    obtenerPolilinea,
    eliminarPolilinea,
    eliminarTodasPolilineas,

    crearCirculo,
    obtenerCirculo,
    eliminarCirculo,
    eliminarTodosCirculos,

    crearPoligono,
    obtenerPoligono,
    eliminarPoligono,
    eliminarTodosPoligonos,

    crearInfoWindow,
    abrirInfoWindow,
    cerrarInfoWindow,
    eliminarInfoWindow,
    eliminarTodosInfoWindows,

    centrarMapa,
    ajustarALimites,
    cambiarTipoMapa,
    obtenerCentro,
    obtenerZoom,
    agregarListener,
    agregarListenerMarcador,
    calcularDistancia,
    limpiarMapa,
    destruirMapa,

    marcadores,
    polilineas,
    circulos,
    poligonos,
    infoWindows,
  };
}
Reasons:
  • Blacklisted phrase (1): está
  • Blacklisted phrase (1): porque
  • Blacklisted phrase (1): Todas
  • Blacklisted phrase (3): Solución
  • Blacklisted phrase (2): Crear
  • Blacklisted phrase (2): crear
  • RegEx Blacklisted phrase (1): i created a composable with all the google maps options, please
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Claudio Orellana

79785554

Date: 2025-10-08 14:19:31
Score: 1
Natty:
Report link

ASan DLL copy build event

Rather than figuring out absolute paths of the specific MSVC version installed, property macros can be used for this. This can be used in a build event to copy the necessary DLLs required for the address sanitizer automatically. I've come up with the following command for this:

echo "Copying ASan DLLs"
xcopy /Y /D "$(ExecutablePath.Split(';')[0])\clang_rt.asan_*.dll" "$(OutDir)"
xcopy /Y /D "$(ExecutablePath.Split(';')[0])\clang_rt.asan_*.pdb" "$(OutDir)"

How this works

As pointed out by @Brandlingo in a comment, the macro $(VCToolsInstallDir) expands to "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\<version>". I've further found the $(ExecutablePath) macro that expands to a list of executable directories where the first directory is "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\<version>\bin\Host<arch>\<arch>". Exactly where the correct ASan DLLs for the specific build configuration are. (Saving the hassle to add the target architecture to the path manually)

Because the $(ExecutablePath) macro contains multiple executable directories, the bin\Host<arch>\<arch> one has to be extracted from that. The list is semicolon-separated and luckily basic .NET operations are supported on these macros, so a .Split(';')[0] gets just that first directory. (For me this is always the "...MSVC\<version>\bin\Host<arch>\<arch>" one)

Downside

If the order of executable paths in $(ExecutablePath) ever change, this bricks. If anyone can find a macro that directly expands to "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\<version>\bin\Host<arch>\<arch>" containing only this path, please let us know. I've only found targeted paths to specific build configurations in $(VC_ExecutablePath_x86), $(VC_ExecutablePath_x64), $(VC_ExecutablePath_x86_ARM), ... no general one for it.

Reasons:
  • RegEx Blacklisted phrase (2.5): please let us know
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Brandlingo
  • High reputation (-1):
Posted by: Vinz

79785545

Date: 2025-10-08 14:12:29
Score: 1.5
Natty:
Report link

Thanks to @KamilCuk I ended up making this Dockerfile...

ARG OS_VERSION=12 MODE="accelerated"

FROM debian:${OS_VERSION}-slim AS build
ENV DEBIAN_FRONTEND=noninteractive
ARG MODE

COPY updater.py .

RUN apt-get update && \
    apt-get install --no-install-recommends -y \
      ccache \
      gcc \
      make \
      patchelf \
      pipx \
      python3-dev && \
    apt-get clean && rm -rf /var/lib/apt/lists/* && \
    pipx run nuitka \
      --mode=${MODE} \
      --deployment \
      --assume-yes-for-downloads \
      --python-flag=-OO \
      --output-filename=updater-linux-amd64.bin \
      updater.py

FROM gcr.io/distroless/python3-debian${OS_VERSION}:latest

COPY --from=build updater-linux-amd64.bin /opt/

ENTRYPOINT ["/opt/updater-linux-amd64.bin"]
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @KamilCuk
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Filip

79785542

Date: 2025-10-08 14:06:28
Score: 2
Natty:
Report link

You can do that with Shortcuts, you must be generate for each alarm set/delete etc.. and directly iOS is not giving any API for this feature. You don't have any change without Shortcuts.

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

79785541

Date: 2025-10-08 14:05:27
Score: 1.5
Natty:
Report link

I've now resolved this. User comments are correct in that the quoted warning was not what was causing the code to fail; it was actually this, further down in the output:

AttributeError: 'Engine' object has no attribute 'connection'

This seems to have been caused by an upgrade in the version of Pandas I was using; apparently the correct syntax for connections has been changed in Pandas 2.2 and up. For more details see here: Pandas to_sql to sqlite returns 'Engine' object has no attribute 'cursor'

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

79785529

Date: 2025-10-08 13:54:23
Score: 3.5
Natty:
Report link

You can also triple-click on a line to select the whole line. (at least since Xcode 16)

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

79785527

Date: 2025-10-08 13:50:21
Score: 4
Natty:
Report link

The cassandra connection was not closed so it led to the warnings on tomcat shutdown.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Дмитрий Ясюкевич

79785513

Date: 2025-10-08 13:38:17
Score: 1.5
Natty:
Report link

If you need to remove a method from Object in an active IRB session (for instance y, which is added by psych in IRB).

self.class.undef_method :y
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Rune Philosof

79785511

Date: 2025-10-08 13:37:17
Score: 2.5
Natty:
Report link

Add another field that allows only one value. Set this value as the default and make sure it is unique. Also, change the widget type to 'radio'. This will prevent users from saving more than one piece of content of a given type.

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

79785505

Date: 2025-10-08 13:31:15
Score: 0.5
Natty:
Report link

The models you were testing are retired models (gemini-1.0-pro, gemini-1.5-pro-latest, gemini-1.5-flash-latest), meaning Google no longer hosts/serves those models. You should migrate to the current active models such as Gemini 2.0, Gemini 2.5 and later. Please reference this migration guide and with details of which models are retired.

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

79785496

Date: 2025-10-08 13:23:13
Score: 5
Natty:
Report link

Follow this Link, it helps a lot

Reasons:
  • Blacklisted phrase (1): this Link
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Syed Sabtain

79785483

Date: 2025-10-08 13:09:09
Score: 1
Natty:
Report link

Remove from settings.gradle:

apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle");
applyNativeModulesSettingsGradle(settings)

is a legacy autolinking hook. In React Native 0.71+, it’s obsolete — and worse, it often breaks Gradle sync

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

79785474

Date: 2025-10-08 13:02:06
Score: 0.5
Natty:
Report link

🧩 Issue Summary

The connection issue occurred due to how the connection string was interpreted by Python 3.10.0.

❌ Incorrect Implementation

CONNECTION_STRING: Final[str] = f"DRIVER={{ODBC Driver 18 for SQL Server}};SERVER=tcp:{server_url},{port};DATABASE={database_name};Encrypt=yes;TrustServerCertificate=yes;"

✅ Correct Implementation

CONNECTION_STRING: Final[str] = (
    f"DRIVER={{ODBC Driver 18 for SQL Server}};"
    f"SERVER={host};"
    f"DATABASE={database};"
    f"Encrypt=yes;"
    f"TrustServerCertificate=no;"
    f"Connection Timeout={timeout};"
)

⚠️ Note: Do not consider changes in parameter names (like server_url, port, etc.). The key issue lies in how the connection string is constructed, not the variable names.

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

79785471

Date: 2025-10-08 12:59:05
Score: 1
Natty:
Report link

You need to create a Synth object. The soundfont can be specified when creating said object.

from midi2audio import FluidSynth

fs = FluidSynth("soundfont.sf2")
fs.midi_to_audio('input.mid', 'test.wav')

Make sure your soundfont and input midi files are in the same directory.

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

79785469

Date: 2025-10-08 12:59:05
Score: 0.5
Natty:
Report link

Possible solutions

Configure maxIdleTime on the ConnectionProvider

ConnectionProvider connectionProvider = ConnectionProvider.builder("custom")
    .maxIdleTime(Duration.ofSeconds(60))
    .build();

HttpClient httpClient = HttpClient.create(connectionProvider);

WebClient webClient = WebClient.builder()
    .clientConnector(new ReactorClientHttpConnector(httpClient))
    .build();

Set Timeouts on the HttpClient

HttpClient httpClient = HttpClient.create()
    .option(ChannelOption.CONNECT_TIMEOUT_MILLIS, 10000)
    .responseTimeout(Duration.ofSeconds(60));

Disable TCP Keep-Alive

HttpClient httpClient = HttpClient.create()
    .option(ChannelOption.SO_KEEPALIVE, false);

You also might have more useful logs by changing log level for Netty

logging:
  level:
    reactor.netty.http.client: DEBUG
Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Max

79785465

Date: 2025-10-08 12:50:02
Score: 2
Natty:
Report link

Finallhy found the issue. Don't know the root cause tho. VSCode is injecting in the integrated temrinal NODE_ENV=production so devDependencies are not installed. So if anybody has this issue the way to solve it is either in the integrated terminal rewrite that to development, use terminal otuside vscode or find where VSCode has that setting to inject it. I am still searching for that myself.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Cristian-Alexandru SANDU

79785457

Date: 2025-10-08 12:41:00
Score: 1
Natty:
Report link

What you are describing is a linting issue, and eslint is the most common way to handle this for typescript today.

There's a plugin that does what you want with the lint rule i18n-json/identical-keys https://github.com/godaddy/eslint-plugin-i18n-json

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): What you are
  • Low reputation (0.5):
Posted by: Elias Vågan

79785455

Date: 2025-10-08 12:36:59
Score: 0.5
Natty:
Report link

You need to add a CSS module declaration to TypeScript understands CSS imports. Create a type declaration file on your project root like globals.d.ts and add declare module "*.css";.

globals.d.ts

declare module "*.css";

If this did not works, I suggest you to verify if the TypeScript version on your VS Code is the same to your TypeScript version on your project. Just open the command palette on the VS Code, type "TypeScript: Select TypeScript version", click it and select "Use Workspace Version". This is the TypeScript listed on your package.json.

Reasons:
  • Blacklisted phrase (1): did not work
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: marcelofreires

79785440

Date: 2025-10-08 12:16:54
Score: 1.5
Natty:
Report link

This is due to a bug with somehow Apache interferring with the CLI code-server command:

https://github.com/coder/code-server/issues/7461

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

79785432

Date: 2025-10-08 12:09:52
Score: 2.5
Natty:
Report link

EXIM4 Log analyser. A simple yet powerful script found here.

Top 10 Failure/Rejection Reasons

Top 10 Senders

Top 10 Rejected Recipients

Date Filter

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

79785430

Date: 2025-10-08 12:08:51
Score: 1
Natty:
Report link

Since Airflow >3.0.0 it is the CLI command:

airflow variables export <destination-filename.json>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: mobin

79785428

Date: 2025-10-08 12:08:51
Score: 1.5
Natty:
Report link

Instead of going for the PipeTransform, which wasn't working properly for me, I ended up removing the @Type(() => YourClass) from the property and added a Tranform:

import { plainToInstance } from 'class-transformer';

class YourClass {
  @IsObject()
  @Transform(({ value }) =>
    plainToInstance<NestedClass, unknown>(
      NestedClass,
      typeof value === 'string' ? JSON.parse(value) : value,
    ),
  )
  @ValidateNested()
  property: NestedClass;
}
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Type
  • Low reputation (1):
Posted by: Joschi von Rehberg

79785421

Date: 2025-10-08 11:55:48
Score: 1
Natty:
Report link

Thanks, Snuffy! That really did help!

When you create a taxonomy field in ACF and set the “Return Value” to “Term ID,” ACF doesn’t store the ID as an integer, but as a serialized array, even if you allow only one term. Like this a:1:{i:0;s:2:"20";}

So, you have to compare value of the field to a string value of the serialized array. And fixed request in my case looks like this:

$query = new WP_Query( [
    'post_type' => 'photo',
    'meta_query' => [
    [
        'key' => 'year_start',
        'value' => 'a:1:{i:0;s:2:"20";}',
        'compare' => '='
    ]
    ]
]);
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Griox Angle

79785419

Date: 2025-10-08 11:52:47
Score: 3.5
Natty:
Report link

I faced same issue and still not able to fix

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

79785417

Date: 2025-10-08 11:48:46
Score: 1
Natty:
Report link

single column filtering, same as IS NOT NULL or IS NULL in SQL for KDB Q -

t:flip `a`b`c`d`e!flip {5?(x;0N)} each til 10

select from t where e <> 0N
a b c d e
---------
3 3   3 3
    5 5 5
7 7   7 7
      8 8
9     9 9

select from t where e = 0N
a b c d e
---------
0 0 0 0
  1
    2
4   4
      6
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Cameron Si

79785412

Date: 2025-10-08 11:43:44
Score: 1.5
Natty:
Report link

For Android: You should not use Preferences DataStore as it is store data as plain text & No encryption of the data. It can be easily accessed by other users and apps. Use should use EncryptedSharedPreferences with strong master keys.

For iOS: You should use Keychain Services.

Use libraries for both Android and iOS such as KotlinCrypto or Kotlinx-serialization with proper encryption implementation.

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

79785398

Date: 2025-10-08 11:25:39
Score: 1.5
Natty:
Report link

What we did was create an app dedicated to subscribing, with only one worker — we call this our Ingestion System API. It then passes the data to our Process API, which runs with multiple workers for parallel processing. Hope this helps.

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What we
  • Low reputation (0.5):
Posted by: Mnick

79785396

Date: 2025-10-08 11:24:39
Score: 1
Natty:
Report link

This is based on @Karoly Horvath answers , tried to implement it in python code.

#Longest unique substring
st = 'abcadbcbbe'
left = 0 
max_len = 0
seen = set()

for right in range(len(st)):
    while st[right] in seen:
        seen.remove(st[left]) 
        left += 1
    seen.add(st[right])
    
    if (right - left) + 1 > max_len:
        max_len = (right - left) + 1
        start = left

print(st[start:start + max_len])
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @answers
  • Low reputation (0.5):
Posted by: Swarup Chavan

79785377

Date: 2025-10-08 10:59:32
Score: 0.5
Natty:
Report link

Experimented with the Kysely's Generated utility type mentioned by @zegarek in the OP comments. Looks like it is possible to make Kysely to work with temporal tables or rather with tables with autogenerated values.

The type for each table having autogenerated values must be altered and one cannot directly use the type inferred by zod. Instead the type needs to be modified. In my case all my temporal tables are following the same pattern, so I created the following wrapper

type TemporalTable<
  T extends {
    versionId: number
    validFrom: Date
    validTo: Date | null
    isCurrent: boolean
  },
> = Omit<T, 'versionId' | 'validFrom' | 'validTo' | 'isCurrent'> & {
  versionId: Generated<number>
  validFrom: Generated<Date>
  validTo: Generated<Date | null>
  isCurrent: Generated<boolean>
}

Now the type for each table is wrapped with this

const TemporalTableSchema = z.object({
  versionId: z.number(),
  someId: z.string(),
  someData: z.string(),
  validFrom: z.coerce.date(),
  validTo: z.coerce.date().optional().nullable(),
  isCurrent: z.boolean()
})

type TemporalTableSchema = TemporalTable<z.infer<typeof TemporalTableSchema>>

Now when defining the database type to give to Kysely I need to write it manually

const MyDatabase = z.object({
  table1: Table1Schema,
  temporalTable: TemporalTableSchema
})

type MyDatabase = {
  table1: z.infer<typeof Table1Schema>,
  temporalTable: TemporalTableSchema,
  // alternatively you can wrap the type of the table into the temporal type wrapper here
  anotherTemporalTable: TemporalTable<z.infer<typeof AnotherTemporalTable>>
}

So basically you need to write the type for the database by hand, wrap the necessary table types with the wrapper. You can't just simply compose the zod object for the database, infer its type and then use that type as the type for your database.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @zegarek
  • Self-answer (0.5):
Posted by: zaplec

79785376

Date: 2025-10-08 10:58:32
Score: 4.5
Natty: 4
Report link

Up to 2025 XCode Version 26.0.1, there is no Keychain Sharing option in capabilities. Anyone knows why?

Reasons:
  • Blacklisted phrase (0.5): why?
  • Blacklisted phrase (1): Anyone knows
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Said-Abdulla Atkaev

79785375

Date: 2025-10-08 10:57:31
Score: 5
Natty:
Report link

According to the documentation: https://docs.spring.io/spring-cloud-gateway/reference/appendix.html try to use 'trusted-proxies'

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

79785368

Date: 2025-10-08 10:52:29
Score: 0.5
Natty:
Report link

Ok, I found the problem, is about how the popover api positions the element by default on the center of the viewport using margins and insets.

I've solved it reseting the second popover:

#first-popover {
  width: 300px;
}
#second-popover:popover-open {
  margin: 0;
  inset: auto;
}
#second-popover {
  position-area: top;
}
<button id="open-1" popovertarget="first-popover">Open first popover</button>

<div id="first-popover" popover>
   <button id="open-2" popovertarget="second-popover">Open second popover</button>
</div>

<div id="second-popover" popover="manual">Hello world</div>

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

79785362

Date: 2025-10-08 10:47:28
Score: 3
Natty:
Report link

To copy the new value of a data attribute, use JavaScript’s dataset property. Access it with element.dataset.attributeName after updating, then store or use it as needed.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Bangalore Packers and Movers

79785359

Date: 2025-10-08 10:46:28
Score: 1
Natty:
Report link

I was facing same issue, so I used Transform component and this object:

enter image description here

{
  "type": "object",
  "properties": {
    "message_ids": {
      "type": "array",
      "items": {
        "type": "string",
        "default": ""
      },
      "description": "A list of unique message identifiers"
    }
  },
  "additionalProperties": false,
  "required": [
    "message_ids"
  ],
  "title": "message_ids"
}
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: bmoss

79785358

Date: 2025-10-08 10:46:28
Score: 1.5
Natty:
Report link

You can’t directly “install” or “run” WordPress on Cloudflare itself as it is not a web hosting provider.

Clouldflare provides security layer to protect from DDoS & Bots, SSL certificates, Poxy traffic to your web hosting server) and using those features you can protect your WordPress Website.

You start with free plan WordPress.Com to host your WordPress website.

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

79785356

Date: 2025-10-08 10:44:27
Score: 1
Natty:
Report link

You can’t directly install or build a WordPress website on Cloudflare.
Cloudflare isn’t a hosting provider — it’s mainly a CDN (Content Delivery Network) and security/DNS service that helps improve your site’s speed and protection.

To run WordPress, you’ll still need an actual web hosting server — something like Bluehost, Hostinger, SiteGround, or any VPS that supports WordPress.

Here’s what you can do:

  1. Get a hosting plan that supports WordPress.

  2. Install WordPress on your hosting (usually just one-click installation).

  3. Go to your Cloudflare account, add your domain, and update the DNS records to point to your hosting server’s IP.

  4. After that, you can access and manage your site from your hosting control panel or by logging into yourdomain.com/wp-admin.

In short — Cloudflare helps speed up and secure your WordPress site, but it doesn’t host it.

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

79785355

Date: 2025-10-08 10:41:26
Score: 0.5
Natty:
Report link

as a manufacturer at Palladium Dynamics, we have implemented a robust system to manage our mezzanine floor production, inventory, and sales data using Python and relational databases. Here’s an approach that has worked well for us:

  1. Database Design:

    • We use PostgreSQL to maintain structured data for inventory, BOM (Bill of Materials), production orders, and sales.

    • Core tables include:

      • Materials (raw materials, components)

      • Inventory (current stock levels, locations)

      • ProductionOrders (linked to BOM and inventory)

      • SalesOrders (linked to finished products)

      • MaintenanceRecords (for installed mezzanine floors)

    • Relationships ensure real-time traceability from raw materials → production → sales.

  2. Real-time Inventory Updates:

    • Python scripts using SQLAlchemy interact with the database to automatically update inventory when production or sales orders are processed.

    • For larger operations, a message queue (like RabbitMQ or Kafka) can be used to sync inventory changes in real time across multiple systems.

  3. Python Frameworks & Tools:

    • Pandas: For data analysis and reporting.

    • SQLAlchemy / Django ORM: For smooth database interactions.

    • Plotly / Matplotlib: For production and sales dashboards.

    • FastAPI / Flask: To build internal APIs for real-time tracking.

  4. Best Practices:

    • Maintain separate tables for raw vs finished inventory.

    • Use foreign keys and constraints to prevent inconsistencies.

    • Implement versioning for BOMs to track changes in mezzanine floor designs.

    • Automate alerts for low stock or delayed production orders.

Using this approach, Palladium Dynamics has been able to streamline production, optimize inventory, and improve order tracking for our mezzanine floor systems.

Reasons:
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Palladium Dynamics

79785345

Date: 2025-10-08 10:32:24
Score: 1
Natty:
Report link

I wanted to Remove last commit from my remote branch

git log --oneline (get last 3 logs)

8c9c4bd6 (HEAD -> TestReport, origin/TestReport) Update with private packages
a13ce7ae Fix code
974661ab Added scripts to generate to genrate test report

git reset --hard a13ce7ae (reset last commit)

git log --oneline (check last 3 logs again)

a13ce7ae (HEAD -> TestReport, origin/TestReport) Fix code
974661ab Added scripts to generate to genrate test report

git push -f (push hard to remote branch)

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

79785338

Date: 2025-10-08 10:23:21
Score: 1
Natty:
Report link

Are you sure about the path not beginning with "/" ?

Exec=/home/user/mypath/whatsapp-pwa/node_modules/.bin/electron user/mypath/whatsapp-pwa

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: JuanDeLosMuertos

79785335

Date: 2025-10-08 10:21:21
Score: 1.5
Natty:
Report link

I had this problem today, and SDL2 did not work for me.

If you need SDL1 you can install it with:

sudo apt install libsdl1.2-dev

Tetsted on xubuntu 24.04.1

Reasons:
  • Blacklisted phrase (1): did not work
  • Low length (1):
  • Has code block (-0.5):
Posted by: rundekugel

79785325

Date: 2025-10-08 10:14:18
Score: 2.5
Natty:
Report link

Hi Aakarsh Goel,

I understand that you're experiencing an issue where attaching the remote debugger to Module B in Eclipse is causing the entire JBoss server to suspend, rather than just the thread you intended to debug. This can be quite frustrating, especially when working with multiple modules.

Here are some suggestions that might help resolve this issue:

  1. Check Debug Configuration:

    • Ensure that in your debug configuration, under the "Source" tab, you have the correct source attachments for your modules. Sometimes, incorrect source mappings can lead to unexpected behavior.
  2. Thread Suspension Settings:

    • Double-check your breakpoint settings. In the breakpoint properties, confirm that the option "Suspend" is set to "Thread" and not "All".
  3. Use a Different Debug Port:

    • If possible, try using a different debug port for Module B to see if that resolves the suspension of other threads.
  4. Update Eclipse and JBoss:

    • Make sure that both Eclipse and JBoss are up to date. Sometimes, bugs in earlier versions can cause issues that have been resolved in updates.
  5. Review JBoss Configuration:

    • Look into the JBoss server's configuration files to ensure that there are no settings that might interfere with remote debugging.

If these suggestions do not resolve the issue, could you provide more details about your setup? For instance, the specific JBoss version you are using and any relevant logs or error messages would be helpful.

Additionally, you might find the following resources useful:

I hope this helps! Let me know if you have any further questions.

Best,
T S Samarth

Reasons:
  • Whitelisted phrase (-1): hope this helps
  • RegEx Blacklisted phrase (2.5): could you provide
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Tssamarth

79785323

Date: 2025-10-08 10:12:18
Score: 1
Natty:
Report link

I added the following two lines to log4j.properties.

It works — the [

Entity: line 1: parser error : Document is empty

] error message no longer appears

log4j.logger.org.jodconverter.local.office.VerboseProcess=OFF log4j.additivity.org.jodconverter.local.office.VerboseProcess=false

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

79785317

Date: 2025-10-08 10:07:16
Score: 2.5
Natty:
Report link

A professional cryptocurrency wallet development company can help overcome such challenges by providing secure, scalable, and multi-chain wallet solutions with advanced features like two-factor authentication, cold storage, and real-time transaction validation.

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

79785308

Date: 2025-10-08 09:56:14
Score: 2.5
Natty:
Report link

According to the Grid documentation in Mui 7 version you should change this

<Grid item xs={6} sm={4} md={3} key={note.id}>

to this

<Grid size={{ xs: 6, sm: 4, md: 3 }} key={note.id}>
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: 17u5h

79785301

Date: 2025-10-08 09:51:12
Score: 0.5
Natty:
Report link

From the docs:

The grouping state is an array of strings, where each string is the ID of a column to group by.

You have to provide the column ID / IDs instead of path.

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

79785293

Date: 2025-10-08 09:42:10
Score: 1
Natty:
Report link

What happens when you right-click into the Window of any text processing app is determined by the app. No way to intercept, modify or extend this on a standard user/programmer level. It might be possible using some kind of kernel level injection, but that's way out of my scope.

What you can do is using a session level hotkey. So, you need an invisible background app which registers this hotkey and when the hotkey is typed your invisible background app may show a popup menu at the current position of the cursor and offer functions which may interact with the clipboard. I have a private tool for my own purposes (named zClipMan) which exactly uses this approach, so I can safely confirm it's technically possible.

Nevertheless, I doubt it is possible using PowerShell. Showing such popup menu virtually out of nothing is not rocket science but requires some coding on Win32 API level which isn't easily in scope for PowerShell. My own tool is written in C++.

enter image description here

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Starts with a question (0.5): What
  • Low reputation (0.5):
Posted by: Halfix

79785292

Date: 2025-10-08 09:42:10
Score: 0.5
Natty:
Report link

Xcode Cloud does not require an SSH key for Bitbucket Cloud. When you click “Grant Access” during setup or under Xcode Cloud → Settings → Repositories → Additional Repositories, an OAuth authorization dialog from Bitbucket will automatically appear.

Simply click “Grant access” in that Bitbucket dialog, after that, the repository is connected to Xcode Cloud, and all builds can access your private Bitbucket repositories.

See https://developer.apple.com/documentation/xcode/connecting-xcode-cloud-to-bitbucket-cloud

Below is an image of the “Grant access” screen in Xcode Cloud (it’s in German, but you’ll get the idea).

enter image description here

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

79785287

Date: 2025-10-08 09:35:08
Score: 6.5 🚩
Natty: 5
Report link

Is there a way to simply change the tag on the Dockerhub server rather than pulling locally, tagging, and pushing?

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

79785286

Date: 2025-10-08 09:35:08
Score: 0.5
Natty:
Report link

Jakub, it's been a while. I just bumped into your question and I thought that I'd might share an experiment of mine: https://github.com/sundrio/sundrio/tree/main/examples/continuous-testing-example

To give you some context. Sundrio is a code generation and manipulation framework. Recently, it's ability to model java code got to a level, that I thought that it would be fun to use it in order to perform impact analysis. And here we are. It's experimental, so no promises it will fit your needs.

If you or anyone else wants to take it for a ride, I'll gladly accept feedback and improve it.

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

79785284

Date: 2025-10-08 09:33:07
Score: 5
Natty: 5
Report link

Sorry because I can't answer you. May I know how did you inject ID3 tag to mpegts using mpegtsmux with gstreamer?

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

79785276

Date: 2025-10-08 09:29:05
Score: 0.5
Natty:
Report link

Answered in detail in the Rust repo.

I need to provide the WATCHOS_DEPLOYMENT_TARGET=9 environment variable when running cargo swift package. It fixes the warnings in the Xcode.

Full command that solves the problem:

WATCHOS_DEPLOYMENT_TARGET=9 cargo run --manifest-path ../../cargo-swift/Cargo.toml swift package -p watchos -n WalletKitV3 -r

Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Seto

79785270

Date: 2025-10-08 09:22:03
Score: 4
Natty:
Report link

I found it, finally! The documentation was listed under the stdlib-types instead of variables.

toFloat() -> Float
Reasons:
  • Probably link only (1):
  • Low length (2):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Mgall

79785267

Date: 2025-10-08 09:15:02
Score: 0.5
Natty:
Report link

Or there is a need to unlock

PortableGit\mingw64\libexec\git-core\git-remote-https.exe and then

to fix Git - The revocation function was unable to check revocation for the certificate

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

79785264

Date: 2025-10-08 09:10:00
Score: 4
Natty:
Report link

I have the same error on the secret variable definition. I make the mistake of indenting incorrectly as if they depended on the services, when they don't.

services:
 # ...
  secrets:
    db_secret:
      file: .env.local

to fix it

services:
 # ...
secrets:
  db_secret:
    file: .env.local

An error as big as the missing semicolon..

Reasons:
  • RegEx Blacklisted phrase (1): I have the same error
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same error
  • Low reputation (1):
Posted by: Yvialga

79785261

Date: 2025-10-08 09:06:59
Score: 5
Natty: 5.5
Report link

Have you found a solution? ... I'm interested in something similar to freeze a page (Javascript / Reac) for a desktop app. ...... Sorry if I didn't understand your question, but it exists, my research also went through the browser's -Kiosk command, : problem, it's the whole page that is frozen :), and I'm just looking for the display at 80%.

Reasons:
  • RegEx Blacklisted phrase (2.5): Have you found a solution
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: melo drama

79785255

Date: 2025-10-08 09:02:58
Score: 1
Natty:
Report link

A service connection input must be used, even if you know all its details in advanced

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

79785245

Date: 2025-10-08 08:50:54
Score: 3.5
Natty:
Report link

put the , after the } in line 23

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

79785242

Date: 2025-10-08 08:44:53
Score: 2
Natty:
Report link

Had the same issue. The problem was spaces instead of tabs as indents (I copied and pasted Makefile to PyCharm, that's why it probably switched the symbols).
Switching indent symbols back solved the problem.

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

79785234

Date: 2025-10-08 08:34:51
Score: 1.5
Natty:
Report link

Your approach can be very effective for centralized, consistent, and systematic control of design values, especially for simple design systems with fewer breakpoints. However, it can become harder to manage as complexity grows or if the design system evolves. Consider clamp() for more fluid responsiveness, or component-level media queries for granular control over individual components. Both alternatives offer better flexibility and reduce some of the redundancy and potential confusion inherent in overriding tokens globally.

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

79785233

Date: 2025-10-08 08:33:50
Score: 0.5
Natty:
Report link

Convert comment to the answer. @adam-arold said it works

@EventListener 
public void onContextClosed(ContextClosedEvent event) {
    closeAllEmitters(); 
}

private void closeAllEmitters() {     
    List<SseEmitter> allEmitters = emitters.values().stream()             
        .flatMap(List::stream)             
        .collect(Collectors.toList());     
    for (SseEmitter emitter : allEmitters) {         
        try {             
            emitter.complete();         
        } catch (Exception e) {             
            log.error("Error during emitter completing");         
        }     
    }
    emitters.clear(); 
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @adam-arold
  • Low reputation (0.5):
Posted by: Max

79785231

Date: 2025-10-08 08:32:50
Score: 1
Natty:
Report link

A few years back I've had this problem.
We chose to forward the message from A to a new topic.
Now I am thinking about implementing a "smart" consumer:

With the help of a KafkaAdminClient (https://kafka-python.readthedocs.io/en/master/apidoc/KafkaAdminClient.html) you can get the current offset of the first group and get the messages up to that point.
Knowing your current and the other group's offset, it's possible to calculate a `max_records` for the manual poll method (https://kafka-python.readthedocs.io/en/master/apidoc/KafkaConsumer.html#kafka.KafkaConsumer.poll).

Still thinking about possible drawbacks, but I think it should work.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Szabolcs Szepesi

79785230

Date: 2025-10-08 08:32:50
Score: 2.5
Natty:
Report link

I want to clear up a few things here where I think are people talking at cross purposes.

As stated above, the I register holds the most significant 8 bits of a jump vector, while the lowest 8 bits are supplied on the data bus when IM2 is enabled. However, on a standard ZX Spectrum, this is unused, and hence you will get an undefined value. However, IM2 is useful as it fires every screen refresh at a consistent interval (1/50 second), so it's ideal for logging time or some other background task, such as music.

The workaround for this is to supply a 257 byte table where every byte is the same, so when an IM2 interrupt is triggered, going to any random place in the table will give a consistent result. A full explanation is at http://www.breakintoprogram.co.uk/hardware/computers/zx-spectrum/interrupts, and one of many, many, many implementations of this is at https://ritchie333.github.io/monty/asm/50944.html

The R register is only really used internally for the DRAM refresh, but it can be programmed. One of its two main uses on the ZX Spectrum was to generate a random number (although there are other ways of doing this, such as multiplying by a largish number and taking the modulus of a large prime, which is what the Spectrum ROM does - https://skoolkid.github.io/rom/asm/25F8.html#2625). The other use was to produce a time based encryption vector, that was hard to crack as stopping for any debug would change the expected value of R and produce the wrong encryption key for the next byte. Quite common on old tape protection systems such as Speedlock.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Contains signature (1):
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ritchie333

79785228

Date: 2025-10-08 08:30:49
Score: 4
Natty:
Report link

How does the provided JavaScript and CSS code work together to create a responsive sliding navigation menu with an overlay effect that appears when the toggle button is clicked, and what are the key roles of the nav-open and active classes in achieving this behavior?

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): How do
  • Low reputation (1):
Posted by: user28232928

79785213

Date: 2025-10-08 08:15:46
Score: 2.5
Natty:
Report link

libxslt only works up to Node18. You'll have to replace it by another library that does a similar job. I tried libxslt-wasm, which does a pretty similar job and runs with Node22. If you're using typescript, this library doesnt compile with module commonjs. There is also xslt-processor that does the basic, but is far more limited than libxslt.

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

79785207

Date: 2025-10-08 08:11:44
Score: 0.5
Natty:
Report link

The accepted answer is not clear enough. Here is what the official documentation states:

[...] data should always be passed separately and not as part of the SQL string itself. This is integral both to having adequate security against SQL injections as well as allowing the driver to have the best performance.

https://docs.sqlalchemy.org/en/20/glossary.html#term-bind-parameters

Meaning: SQLAlchemy queries are safe if you use ORM Mapped Classes instead of plain strings (raw SQL). You can find official documentation here.

Reasons:
  • No code block (0.5):
Posted by: Q Caron

79785206

Date: 2025-10-08 08:10:44
Score: 2.5
Natty:
Report link

Multiple timeout layers (load balancer, ingress, Istio sidecars, HTTP client) can each cut off the call, it’s not that socket “reopens.” To fix this, extend or disable the timeout at each layer, or break the long-running operation into an async or polling pattern.

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

79785204

Date: 2025-10-08 08:07:43
Score: 1.5
Natty:
Report link

please follow these steps:

1- alter your profile idle time with blow command

ALTER PROFILE "profilename" LIMIT IDLE_TIME UNLIMITED

2- Make your user a member of the member profile.

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

79785194

Date: 2025-10-08 07:53:40
Score: 1
Natty:
Report link

Python in Excel runs in Microsofts Cloud.

As stated in the documentation provided by Microsoft, the python code you write with Python in Excel doesn't have access to your network or your device and its Files.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: Bending Rodriguez

79785183

Date: 2025-10-08 07:41:36
Score: 1
Natty:
Report link

this is the correct code

test_image_generator = test_data_gen.flow_from_directory(batch_size=batch_size,  target_size=(IMG_HEIGHT, IMG_HEIGHT), directory=PATH, classes=['test'], shuffle=False)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: مريم زكريا

79785178

Date: 2025-10-08 07:35:35
Score: 0.5
Natty:
Report link

After trying many different things, i still do not know the exact reason this is happening. However, i made some changes to my code and the problem disappeared.

There was a class in my code which was importing many other classes which in turn used many 3rd party service packages. It was implementing a factory pattern to create clients for each service. Moving the import statements from the top level into the code solved the problem.

for eg:

I had:

import {LocalFileSystemManager} from "~~/server/lib/LocalFileSystemManager"

I replaced it with a function:

async filestore(path: string): FileSystemManager
{
    const runtime_config = useRuntimeConfig();

    const {LocalFileSystemManager}: typeof import("~~/server/lib/LocalFileSystemManager") = await import("~~/server/lib/LocalFileSystemManager");

    return new LocalFileSystemManager(path, this);
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: K1Ran

79785176

Date: 2025-10-08 07:33:35
Score: 2.5
Natty:
Report link

I think the problem is with the account connected to Meta Developer. This account is not verified, so you need to go to Meta Business Suite → Security Center and verify the business. I haven’t tested it yet, so I’m not completely sure.

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

79785173

Date: 2025-10-08 07:31:34
Score: 2.5
Natty:
Report link

For what I have seen, you must import next and if it's not a next project, anyway you won't have stats

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

79785172

Date: 2025-10-08 07:30:34
Score: 2
Natty:
Report link

In your .env file you can simply add MANAGE_PY_PATH=manage.py This will solve the issue.

I got to know about this in https://fizzylogic.nl/2024/09/28/running-django-tests-in-vscode

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

79785170

Date: 2025-10-08 07:28:33
Score: 2.5
Natty:
Report link

This sounds so fun! I’ve been experimenting with the Tagshop AI Avatar Generator. It transforms your real photo into a unique digital avatar in seconds. Might be perfect for this Firefly challenge

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

79785159

Date: 2025-10-08 07:12:29
Score: 4
Natty:
Report link

Anitaku official is a totally free running website where you can easily watch or download anime list in high quality with English subtitles.

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

79785153

Date: 2025-10-08 07:02:26
Score: 1
Natty:
Report link

This error usually means the API URL is incorrect or returning an HTML error page instead of XML/SOAP. In Magento 1.9.3.3, make sure you're using the correct SOAP API v1/v2 endpoint (e.g., http://yourdomain.com/index.php/api/v2_soap/?wsdl), and that API access is enabled in the admin panel. Also, check for server issues like redirects, firewalls, or missing PHP SOAP extensions that might cause incomplete responses.

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