79837277

Date: 2025-12-03 20:06:17
Score: 3
Natty:
Report link

Apparently it can't be done, you can only host your Postgres on an it's own subdomain, not on an arbitrary URL, to be accessible.

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

79837271

Date: 2025-12-03 20:00:16
Score: 4
Natty:
Report link

Why can't I ask customer service-related questions on Stack Overflow?

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • High reputation (-2):
Posted by: David

79837268

Date: 2025-12-03 19:50:13
Score: 3.5
Natty:
Report link

Indeed. The query plan might choose the base table index if it fits a better path

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

79837252

Date: 2025-12-03 19:24:08
Score: 2.5
Natty:
Report link

@doubleunary The link to "row misalignment issue" is perfect; I should have known that this was a common problem; that post describes an excellent approach. (I'm going to explore a possible minor improvement: I know it's possible to get the row number of a given row, and I'm wondering if there's some way to use row numbers for what the post calls AIN, rather than adding an auxiliary column that's essentially exactly a row number. But this would be a cosmetic and aesthetic improvement, not a functional improvement.)

Many many thanks for the pointer.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @doubleunary
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: user620316

79837247

Date: 2025-12-03 19:18:06
Score: 1
Natty:
Report link

Here's what wikipedia says about versioning:

Software versioning is the process of assigning unique version names or unique version numbers to unique states of computer software.

Here's what jetbrains says about a release:

A release, on the other hand, is a version of the software that has been formally distributed to users.

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

79837243

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

It was concluded that it was not an issue:

This change in UI is needed to fix rendering of radiobutton and/or checkmark as done in JDK-8348760..

It is also in sync with what windows does if menuitem selection is needed via radiobutton or checkmark as seen in attached screenshot icon-view.png

See JDK-8370945

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

79837238

Date: 2025-12-03 19:09:04
Score: 2
Natty:
Report link

is there a way to [get sum and product of the digits of three numbers] more [efficiently]?

If you are OK with using the same base to interpret digit in input and computation, replace converting "character digit" to (potentially humongous) integer and back to "numerical digit" by converting character digits to numerical digits one by one.

Re digit product: What if the last digit reads '0'?

Reasons:
  • Blacklisted phrase (1): is there a way
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): is there a
  • High reputation (-1):
Posted by: greybeard

79837232

Date: 2025-12-03 19:03:02
Score: 1
Natty:
Report link

The issue with the above replies is that if an interpolated string has a space in it, it will be split on it, which I don’t want (consider malicious injection into a shell command with a user-supplied interpolated argument “ ; rm …”)

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

79837229

Date: 2025-12-03 18:58:00
Score: 3.5
Natty:
Report link

You're gonna love it: https://github.com/weavejester/hashp --- I think it's exactly what you're describing.

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

79837228

Date: 2025-12-03 18:55:00
Score: 3
Natty:
Report link

Merhaba bencede aynı sorun var bu üstte belirttiği iz işlemi nasıl uygulayacağım yardımcı olurmusunhz tesekkür ederim

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Duygu Kırmızı

79837225

Date: 2025-12-03 18:52:59
Score: 2
Natty:
Report link

I think it should be

For i = 0 To intCount-1
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: David Boyle

79837224

Date: 2025-12-03 18:51:58
Score: 1
Natty:
Report link
#include <list>
#include <memory>

struct S {
    std::list<std::unique_ptr<int[]>> buf_send2;
    int buffersize;
    S(int n): buffersize(n) {
        buf_send2.emplace_back(std::make_unique<int[]>(buffersize));
    }
};
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Deepanshu Bora

79837223

Date: 2025-12-03 18:51:58
Score: 6
Natty:
Report link

But how you find this hidden function?

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

79837220

Date: 2025-12-03 18:46:57
Score: 3.5
Natty:
Report link

I would like to refer you to the documentation of racket: Guide to the racket graphical interface toolkit

There you will learn how to handle all kind of events. You could also try the 'How to Design Programs Teachpacks'.

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

79837218

Date: 2025-12-03 18:43:56
Score: 3
Natty:
Report link

going through the same bs. i have nearly the same setup, 3.13 slim, docker 4.x and tahoe 26.

ive noticed that when i build on my hotspot it works. one of my senior co-workers thinks its an ISP issue which im kind of leaning into as well. im just a junior engineer so idk.

are you based in texas by any chance (ik this is a ridiculous question)?

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

79837217

Date: 2025-12-03 18:42:55
Score: 5.5
Natty:
Report link

muchachos no creo que vean esto pero tengo un problema el cual no se si estoy haciendo bien el componente

import React from 'react';
import { StyleSheet, View, TouchableOpacity, Image, Alert, Platform, PermissionsAndroid } from 'react-native';
import MapView, { Marker, Region, PROVIDER_GOOGLE } from 'react-native-maps';
import MapViewDirections from 'react-native-maps-directions';
import Config from 'react-native-config';
// import { fetchLatestPosition } from '../../api/traccar';
import Geolocation from '@react-native-community/geolocation';
// import AppLayout from './layout/AppLayout';
// import { useSafeAreaInsets } from 'react-native-safe-area-context';
import MarkerOrigin from '../../assets/markers/marker-origin.svg';
import MarkerDestination from '../../assets/markers/makerr-destination-own.svg';
import type { Coordinate } from '../FooterRoutes/routesData';
import MarkerMe from '../../assets/markers/waypoint.svg';
const CarSport = require('../../assets/icons/carro-deportivo.png');

type MarkerItem = {
  id: number;
  title: string;
  coordinate: Coordinate;
  type: 'origin' | 'destination' | 'waypoint';
  status?: 'red' | 'green' | 'conductor';
  nameRol?: string;
};

type Props = {
  markers?: MarkerItem[];
  initialRegion?: Region;
  renderTopBar?: React.ReactNode;
  bottomContent?: (args: {
    collapsed: boolean;
    toggle: () => void;
    onRouteSelect: (stops: Coordinate[]) => void;
    onModeChange: (isDetails: boolean) => void;
  }) => React.ReactNode;
  driver?: Coordinate;
  origin?: Coordinate;
  destination?: Coordinate;
  waypoints?: Coordinate[];
  driverIconColor?: string;
  driverDeviceId?: string | number;
};

const getMapsApiKey = (): string => {
  return (Config as any)?.GOOGLE_MAPS_API_KEY || (Config as any)?.Maps_API_KEY || '';
};

// Esta función simulará la obtención de la dirección real a partir de las coordenadas
const getAddressFromCoordinates = async (latitude: number, longitude: number): Promise<string> => {
  const apiKey = getMapsApiKey();
  if (!apiKey) {
    console.warn("GOOGLE_MAPS_API_KEY is missing. Cannot perform geocoding.");
    return `Lat: ${latitude.toFixed(5)}, Lon: ${longitude.toFixed(5)}`;
  }

  try {
    const response = await fetch(`https://maps.googleapis.com/maps/api/geocode/json?latlng=${latitude},${longitude}&key=${apiKey}`);
    const data = await response.json();

    if (data.status === 'OK' && data.results.length > 0) {
      return data.results[0].formatted_address;
    } else {
      return 'Dirección no encontrada';
    }
  } catch (error) {
    console.error("Geocoding failed:", error);
    return 'Error de servicio de geocodificación';
  }
};

// -----------------------------------------------------------------------------

export default function MapComponent({
  markers = [],
  initialRegion,
  renderTopBar,
  bottomContent,
  origin,
  destination,
  driver: _driver,
  waypoints,
  driverIconColor,
  driverDeviceId,
}: Props) {

  const uberLightMapStyle = [
    { elementType: 'geometry', stylers: [{ color: '#FAFAFA' }] },
    { featureType: 'water', elementType: 'geometry', stylers: [{ color: '#F7F8FA' }] },
    { featureType: 'landscape', elementType: 'geometry', stylers: [{ color: '#FAFAFA' }] },
    { featureType: 'landscape.man_made', elementType: 'geometry', stylers: [{ color: '#F9FAFB' }] },
    { featureType: 'landscape.natural', elementType: 'geometry', stylers: [{ color: '#FAFAFA' }] },
    { featureType: 'poi', stylers: [{ visibility: 'off' }] },
    { featureType: 'poi.park', stylers: [{ visibility: 'off' }] },
    { featureType: 'transit', stylers: [{ visibility: 'off' }] },
    { featureType: 'road', elementType: 'geometry', stylers: [{ color: '#FFFFFF' }] },
    { featureType: 'road.highway', elementType: 'geometry', stylers: [{ color: '#F7F7F7' }] },
    { featureType: 'road.arterial', elementType: 'geometry', stylers: [{ color: '#FFFFFF' }] },
    { featureType: 'road.local', elementType: 'geometry', stylers: [{ color: '#FFFFFF' }] },
    { featureType: 'road', elementType: 'geometry.stroke', stylers: [{ color: '#EEEEEE' }] },
    { featureType: 'road', elementType: 'labels.icon', stylers: [{ visibility: 'off' }] },
    { featureType: 'road', elementType: 'labels.text.stroke', stylers: [{ visibility: 'off' }] },
    { featureType: 'road', elementType: 'labels.text.fill', stylers: [{ color: '#BDBDBD' }] },
    { featureType: 'administrative', elementType: 'labels.text.fill', stylers: [{ color: '#B8B8B8' }] },
    { featureType: 'administrative', elementType: 'geometry', stylers: [{ visibility: 'off' }] },
  ];

  const mapRef = React.useRef<MapView>(null);
  const [activeRoute, setActiveRoute] = React.useState<{ origin?: Coordinate; destination?: Coordinate; driver?: Coordinate; waypoints?: Coordinate[]; }>({});
  const [routeStopMarkers, setRouteStopMarkers] = React.useState<MarkerItem[]>([]);
  const [routeCoords, setRouteCoords] = React.useState<Coordinate[]>([]);
  const [collapsed, setCollapsed] = React.useState(true);
  const [isFollowing, setIsFollowing] = React.useState(false);
  const waypointColors = [ '#10B981', '#EF4444'];
  const googleApiKey = getMapsApiKey();

  const fallback: Region = {
    latitude: -34.6037,
    longitude: -58.3816,
    latitudeDelta: 0.01,
    longitudeDelta: 0.01,
  };

  const [region] = React.useState<Region>(initialRegion ?? fallback);
  const [userLocation, setUserLocation] = React.useState<Coordinate | null>(null);
  const [showUserDot, setShowUserDot] = React.useState(true);
  const userLocationRef = React.useRef<Coordinate | null>(null);
  const [_driverLive, _setDriverLive] = React.useState<Coordinate | null>(null);
  const hasInitialCenterRef = React.useRef(false);
  const [directionsErrorNotified, setDirectionsErrorNotified] = React.useState(false);

  React.useEffect(() => {
    if (userLocation) {
      console.log('UserLocation', { latitude: userLocation.latitude, longitude: userLocation.longitude });
    }
  }, [userLocation]);

  const directionsData = React.useMemo(() => {
    const googleKey = googleApiKey || (Config as any).GOOGLE_MAPS_API_KEY;
    const o = activeRoute.origin ?? origin;
    const d = activeRoute.destination ?? destination;
    const w = activeRoute.waypoints ?? waypoints;
    return { googleKey, o, d, w };
  }, [googleApiKey, activeRoute, origin, destination, waypoints]);

  // Centra el mapa en la ruta
  const fitToRoute = React.useCallback(() => {
    const allPoints = [
      ...(activeRoute.origin ? [activeRoute.origin] : origin ? [origin] : []),
      ...(activeRoute.waypoints || waypoints || []),
      ...(activeRoute.destination ? [activeRoute.destination] : destination ? [destination] : []),
    ].filter(Boolean) as Coordinate[];

    if (allPoints.length < 1) return;

    if (allPoints.length === 1) {
      mapRef.current?.animateToRegion({
        latitude: allPoints[0].latitude,
        longitude: allPoints[0].longitude,
        latitudeDelta: 0.01,
        longitudeDelta: 0.01,
      }, 600);
      return;
    }

    mapRef.current?.fitToCoordinates(allPoints, {
      edgePadding: { top: 200, right: 200, bottom: 100, left: 110 },
      animated: true,
    });
  }, [activeRoute, origin, destination, waypoints]);

  React.useEffect(() => {}, [routeCoords, fitToRoute, isFollowing]);

  React.useEffect(() => {}, [_driver]);

  React.useEffect(() => {
    if (initialRegion && !userLocation) {
      console.log('MapComponent initialRegion', initialRegion);
      const { latitude, longitude, latitudeDelta, longitudeDelta } = initialRegion;
      mapRef.current?.animateToRegion({
        latitude,
        longitude,
        latitudeDelta,
        longitudeDelta,
      }, 600);
    }
  }, [initialRegion, userLocation]);

  // Solicitamos permisos de ubicación
  React.useEffect(() => {
    const init = async () => {
      if (Platform.OS === 'android') {
        const res = await PermissionsAndroid.requestMultiple([
          PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION,
          PermissionsAndroid.PERMISSIONS.ACCESS_COARSE_LOCATION,
        ]);
        console.log('MapComponent android permissions', res);
        const grantedFine = res[PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION] === PermissionsAndroid.RESULTS.GRANTED;
        const grantedCoarse = res[PermissionsAndroid.PERMISSIONS.ACCESS_COARSE_LOCATION] === PermissionsAndroid.RESULTS.GRANTED;
        if (!grantedFine && !grantedCoarse) return;
      } else {
        Geolocation.setRNConfiguration({ skipPermissionRequests: false, authorizationLevel: 'whenInUse' } as any);
        Geolocation.requestAuthorization();
      }

      Geolocation.getCurrentPosition(
        pos => {
          console.log('MapComponent getCurrentPosition', pos?.coords);
          const { latitude, longitude } = pos.coords;
          const coord = { latitude, longitude };
          setUserLocation(coord);
          userLocationRef.current = coord;
          setShowUserDot(false);
          if (!hasInitialCenterRef.current) {
            hasInitialCenterRef.current = true;
            mapRef.current?.animateToRegion({ latitude, longitude, latitudeDelta: 0.01, longitudeDelta: 0.01 }, 600);
          }
        },
        _err => { console.log('MapComponent getCurrentPosition error', _err); },
        { enableHighAccuracy: true, timeout: 20000, maximumAge: 0 }
      );
    };
    init();
  }, []);

  const isRouteActive = React.useMemo(() => {
    const o = activeRoute.origin ?? origin;
    const d = activeRoute.destination ?? destination;
    return !!(o && d);
  }, [activeRoute, origin, destination]);

  React.useEffect(() => {
    let watchId: any = null;
    let intervalId: any = null;
        // @ts-ignore
    const updateFromPosition = (pos: Geolocation.GeoPosition) => {
      const { latitude, longitude } = pos.coords as any;
      const coord = { latitude, longitude };
      setUserLocation(coord);
      userLocationRef.current = coord;
      setShowUserDot(false);
      if (!hasInitialCenterRef.current) {
        hasInitialCenterRef.current = true;
        mapRef.current?.animateToRegion({ latitude, longitude, latitudeDelta: 0.01, longitudeDelta: 0.01 }, 600);
      }
    };

    const startLowFrequency = () => {
      Geolocation.getCurrentPosition(
        p => updateFromPosition(p as any),
        e => console.log('MapComponent low-frequency error', e),
        { enableHighAccuracy: true, timeout: 20000, maximumAge: 0 }
      );
      intervalId = setInterval(() => {
        Geolocation.getCurrentPosition(
          p => updateFromPosition(p as any),
          e => console.log('MapComponent low-frequency interval error', e),
          { enableHighAccuracy: true, timeout: 20000, maximumAge: 0 }
        );
      }, 600000);
    };

    const startHighFrequency = () => {
      watchId = Geolocation.watchPosition(
        p => updateFromPosition(p as any),
        e => console.log('MapComponent high-frequency watch error', e),
        { enableHighAccuracy: true, distanceFilter: 0, interval: 3000 }
      );
    };

    if (isRouteActive) {
      startHighFrequency();
    } else {
      startLowFrequency();
    }

    return () => {
      if (watchId !== null) Geolocation.clearWatch(watchId);
      if (intervalId !== null) clearInterval(intervalId as any);
    };
  }, [isRouteActive]);

  React.useEffect(() => {}, [driverDeviceId]);

  React.useEffect(() => {
    if (directionsData.o && directionsData.d && !directionsData.googleKey && !directionsErrorNotified) {
      setDirectionsErrorNotified(true);
      Alert.alert('Ruta', 'falla en la implementacion para trazar direcciones');
    }
  }, [directionsData, directionsErrorNotified]);

  React.useEffect(() => {
    if (isFollowing) {
      const c = userLocation;
      if (c) {
        mapRef.current?.animateToRegion({
          latitude: c.latitude,
          longitude: c.longitude,
          latitudeDelta: 0.01,
          longitudeDelta: 0.01,
        }, 400);
      }
    }
  }, [isFollowing, userLocation]);

  // APLICACIÓN DE STOPS CON GEOCODING
  const applyRouteStops = React.useCallback(
    async (stops: Coordinate[]) => {
      const allStops = (stops || []).filter(Boolean);
      const routeStopsUniq = allStops.filter((s, idx, arr) => arr.findIndex(t => t.latitude === s.latitude && t.longitude === s.longitude) === idx);

      if (routeStopsUniq.length < 2) {
        setActiveRoute({});
        setRouteStopMarkers([]);
        setRouteCoords([]);
        return;
      }

      const geocodingPromises = routeStopsUniq.map(async (c) => {
        const address = await getAddressFromCoordinates(c.latitude, c.longitude);
        return { ...c, address };
      });

      const enrichedStops = await Promise.all(geocodingPromises);

      const primaryRouteStops = enrichedStops.filter(s => !s.status);
      const extraStops = enrichedStops.filter(s => !!s.status);

      if (primaryRouteStops.length < 2) {
        setActiveRoute({});
        setRouteStopMarkers([]);
        setRouteCoords([]);
        return;
      }

      const originStop = primaryRouteStops[0];
      const destinationStop = primaryRouteStops[primaryRouteStops.length - 1];
      const wp = primaryRouteStops.slice(1, primaryRouteStops.length - 1);

      setActiveRoute({ origin: originStop, destination: destinationStop, waypoints: wp });

      const nextMarkers: MarkerItem[] = [
        ...wp.map((c, i) => ({ id: 100 + i, title: c.name || c.address || `Punto ${i + 1}`, coordinate: c, type: 'waypoint' as const })),
        { id: 2, title: destinationStop.name || destinationStop.address || 'Destino', coordinate: destinationStop, type: 'destination' },
        ...extraStops.map((c, i) => ({ id: 200 + i, title: c.name || c.address || (c.status === 'red' ? 'Conductor' : 'Punto'), coordinate: c, type: 'waypoint' as const })),
      ];

      setRouteStopMarkers(nextMarkers);
    },
    [],
  );

  React.useEffect(() => {
    const o = activeRoute.origin ?? origin;
    const d = activeRoute.destination ?? destination;
    const w = activeRoute.waypoints ?? waypoints;
    if (!o || !d) {
      setRouteCoords([]);
      return;
    }
    setRouteCoords([o, ...(w ?? []), d]);
  }, [activeRoute, origin, destination, waypoints]);

  return (
    <View style={styles.container}>
      {renderTopBar ? <View style={styles.topOverlay}>{renderTopBar}</View> : null}

      <MapView
        ref={mapRef}
        style={styles.map}
        initialRegion={region}
        provider={PROVIDER_GOOGLE}
        mapType="standard"
        customMapStyle={uberLightMapStyle}
        showsUserLocation={showUserDot}
        showsMyLocationButton={false}
        onUserLocationChange={e => {
          const coord = (e && e.nativeEvent && e.nativeEvent.coordinate) || ({} as any);
          const { latitude, longitude } = coord;
          console.log('MapComponent onUserLocationChange', coord);
          if (typeof latitude === 'number' && typeof longitude === 'number') {
            const c = { latitude, longitude };
            setUserLocation(c);
            if (!hasInitialCenterRef.current) {
              hasInitialCenterRef.current = true;
              mapRef.current?.animateToRegion({
                latitude,
                longitude,
                latitudeDelta: 0.01,
                longitudeDelta: 0.01,
              }, 400);
            } else if (isFollowing) {
              mapRef.current?.animateToRegion({
                latitude,
                longitude,
                latitudeDelta: 0.01,
                longitudeDelta: 0.01,
              }, 400);
            }
          }
        }}
      >

        {markers.map(m => (
          <Marker key={m.id} coordinate={m.coordinate} title={m.title} />
        ))}

        {(_driver ?? userLocation) && (
          <Marker coordinate={(_driver ?? userLocation) as Coordinate} anchor={{ x: 0.5, y: 0.5 }} tracksViewChanges={false}>
            <Image source={CarSport} style={[styles.carMarker, driverIconColor ? { tintColor: driverIconColor } : null]} />
          </Marker>
        )}

        {routeStopMarkers.map((marker, idx) => (
          <Marker
            key={marker.id}
            coordinate={marker.coordinate}
            title={marker.title}
            anchor={{ x: 0.5, y: 0.5 }}
            tracksViewChanges={false}
          >
            {marker.type === 'origin' ? (
              <MarkerOrigin width={24} height={24} color="#2563EB" />
            ) : marker.type === 'destination' ? (
              <MarkerDestination width={30} height={50} fill="#2563EB" color="#2563EB" />
            ) : marker.nameRol === 'conductor' ? (
              <MarkerMe width={22} height={22} fill="#000" />
            ) : (
              <MarkerOrigin
                width={22}
                height={22}
                color={waypointColors[Math.max(0, (idx - 1) % waypointColors.length)]}
              />
            )}
          </Marker>
        ))}

        {(userLocation || directionsData.o) && directionsData.d && directionsData.googleKey ? (
          <MapViewDirections
            origin={userLocation ?? directionsData.o}
            destination={directionsData.d}
            waypoints={directionsData.w}
            apikey={directionsData.googleKey as string}
            strokeWidth={5}
            strokeColor="#707070"
            mode="DRIVING"
            onReady={() => {}}
            onError={_errorMessage => {
              Alert.alert('Ruta', 'No se pudo trazar la ruta con Google Directions');
            }}
          />
        ) : null}

      </MapView>

      <View style={styles.followButtonContainer}>
        <TouchableOpacity
          style={styles.followButton}
          onPress={async () => {
            const c = userLocation;
            if (c) {
              setIsFollowing(true);
              mapRef.current?.animateToRegion({
                latitude: c.latitude,
                longitude: c.longitude,
                latitudeDelta: 0.01,
                longitudeDelta: 0.01,
              }, 400);
              return;
            }

            Geolocation.getCurrentPosition(
              pos => {
                const { latitude, longitude } = pos.coords;
                const coord = { latitude, longitude };
                setUserLocation(coord);
                setIsFollowing(true);
                mapRef.current?.animateToRegion({ latitude, longitude, latitudeDelta: 0.01, longitudeDelta: 0.01 }, 400);
              },
              _err => {
                const id = Geolocation.watchPosition(
                  p => {
                    const { latitude, longitude } = p.coords;
                    const coord2 = { latitude, longitude };
                    setUserLocation(coord2);
                    setIsFollowing(true);
                    mapRef.current?.animateToRegion({ latitude, longitude, latitudeDelta: 0.01, longitudeDelta: 0.01 }, 400);
                    Geolocation.clearWatch(id);
                  },
                  () => {},
                  { enableHighAccuracy: true, distanceFilter: 0, interval: 2000 }
                );
              },
              { enableHighAccuracy: true, timeout: 20000, maximumAge: 0 }
            );
          }}
        >
          <Image
            source={{
              uri: 'https://img.icons8.com/?size=100&id=zydjAKYE3RWr&format=png&color=000000',
            }}
            style={styles.aimstyles}
          />
        </TouchableOpacity>

        {bottomContent?.({
          collapsed,
          toggle: () => setCollapsed(v => !v),
          onRouteSelect: applyRouteStops,
          onModeChange: (_v: boolean) => {},
        })}

      </View>
    </View>
  );
}

const styles = StyleSheet.create({
  container: { flex: 1 },
  map: { flex: 1 },
  topOverlay: {
    position: 'absolute', top: 0, left: 0, right: 0, zIndex: 40
  },
  mapFallback: {
    position: 'absolute', top: 0, left: 0, right: 0, bottom: 0,
    alignItems: 'center', justifyContent: 'center'
  },
  mapFallbackText: {
    color: '#333', backgroundColor: '#FFFFFFEE',
    paddingHorizontal: 12, paddingVertical: 8, borderRadius: 8
  },

  followButtonContainer: {
    width: '100%',
    position: 'absolute',
    bottom: 0,
    paddingHorizontal: 7,
    flexDirection: 'column',
    justifyContent: 'center',
    zIndex: 50,
  },
  followButton: {
    alignSelf: 'flex-end',
    backgroundColor: '#fff',
    borderRadius: 30,
    padding: 8,
    elevation: 6,
    shadowColor: '#000',
    shadowOffset: { width: 0, height: 2 },
    shadowOpacity: 0.25,
    shadowRadius: 4,
    marginBottom: 8,
  },
  aimstyles: { width: 28, height: 28, tintColor: '#707070' },
  reportsButtonContainer: { position: 'absolute', zIndex: 30 },
  reportsButton: { backgroundColor: '#6D28D9', paddingVertical: 6, paddingHorizontal: 12, borderRadius: 8 },
  reportsButtonText: { color: '#fff', fontSize: 12, fontWeight: '600' },
  carMarker: { width: 64, height: 36, resizeMode: 'contain' },
});
Reasons:
  • Blacklisted phrase (2): tengo
  • Blacklisted phrase (2): estoy
  • RegEx Blacklisted phrase (2): encontrada
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Matias Delgado

79837205

Date: 2025-12-03 18:32:52
Score: 2
Natty:
Report link

I dont necessarily need to expose them but it does help. This library is just for internal and we prefer not to split up our functionalities and write a bunch of wrappers around objects that we plan on using. Its much simpler and cleaner for us to just allow these libraries to continue to be accessible as is.

Obviously as a final approach we can do what you recommended.

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

79837202

Date: 2025-12-03 18:30:52
Score: 0.5
Natty:
Report link

Rust 1.86 added "next_up" and "next_down" methods to the f32 and f64 types.

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

79837198

Date: 2025-12-03 18:24:50
Score: 1.5
Natty:
Report link

I've solved this issue replacing <ion-content> and <ion-footer> nodes in the popover with simple <div> nodes and the css classess you want.

Once done this, the scroll began to work as expected

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Sebastián de Prada Gato

79837197

Date: 2025-12-03 18:22:49
Score: 0.5
Natty:
Report link

that "allow=camera" part allows the iframe access to the Top-Level so that it can use getUserMedia().... however the "sandbox" attribute will treat everything in that frame as a separate domain (opaque, or a domain that matches no other), and getUserMedia() can only be called from the top-level's domain. That's why "allow-same-origin" is needed there. (so you'd also allow reading cookies, local storage, etc... setting cookies to http-only would prevent reading those, but local storage doesn't have that) Allowing untrusted scripts will be dangerous no matter how you go about it, though... think of click-jacking for instance.

@progNewbie (I couldn't seem to add a reply to your comment there so putting it here) Clickjacking and CSRF would be concerns if other users can access these pages. If so, imagine a clickjack (not sure that's the right term actually it's just plain XSS....) where a prompt appears "You need to change your password, please enter your old/new password and submit." For CSRF, yes, even httpOnly cookies would be sent... so they could force one of your users to do some action (like changing their email/password) if you don't mitigate CSRF there. (which will be harder to do since this is now same-domain with that allow-same-origin attribute set... this isn't actually cross-site, so not sure you could even prevent it...) I would be very very careful if you allow scripts or use that same-domain option.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • User mentioned (1): @progNewbie
Posted by: browsermator

79837190

Date: 2025-12-03 18:09:42
Score: 3.5
Natty:
Report link

I would prefer CLUSTERED COLUMNSTORE INDEX. Uses all columns in a columnar fashion

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

79837188

Date: 2025-12-03 18:04:41
Score: 5
Natty:
Report link

@m-deinum Thank you very much! With the SpringSecurityAuthenticationSource configured in the DefaultSpringSecurityContextSource, it works now as I wished!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @m-deinum
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Gustav Blaß

79837187

Date: 2025-12-03 18:03:40
Score: 11
Natty: 7
Report link

Hi i'm having the same problem but the point is the "VSS" key is still there but not the "VssAccessControl" inside of it and i can't create any keys inside "VSS". How can I fix this?

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Blacklisted phrase (1): i'm having the same problem
  • Blacklisted phrase (1): How can I fix this
  • RegEx Blacklisted phrase (1.5): How can I fix this?
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): i'm having the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Gia Khánh Đặng

79837183

Date: 2025-12-03 18:01:40
Score: 3.5
Natty:
Report link

It can be done using CODEOWNERS file.
Please check this medium article I have explained it here.
https://medium.com/@prajeethspt/5b903b87aa86

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Blacklisted phrase (1): Please check this
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Prajeeth Anand

79837182

Date: 2025-12-03 17:59:39
Score: 4
Natty:
Report link

My personal design decission is that if I make a C++ library I will only ever expose standard library types (or built in types) on my API's which I can guarantee to be abi compatible. If I cannot do that I expose an abstraction (e.g. an abstract baseclass + factory). This is good separation anyway and allows you to refactor internally if needed (e.g. switch internal libraries). Can you explain why you even think you need to expose the format library from your package?

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • RegEx Blacklisted phrase (2.5): Can you explain
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Pepijn Kramer

79837180

Date: 2025-12-03 17:58:39
Score: 1.5
Natty:
Report link

You say you want parameter input to be simple and intuitive, but you don't show the relevant code. Do you obtain them through an input(), or from a graphical interface? In any case, you could ask the user to enter extra data, which would be the parameter model, something like: “enter ‘A’ if you only enter ‘x’, ‘y,’ and ‘n,’ enter ‘B’ if you enter ‘x,’ 'y,‘ 'n,’ and ‘xxx,’” etc. This way, you can differentiate between arguments that share the same type, since yes, for example, the function receives three int and only two are passed to it, it is unable to determine which parameters they correspond to (1st and 2nd, 1st and 3rd, etc.).

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Marce Puente

79837179

Date: 2025-12-03 17:57:38
Score: 2.5
Natty:
Report link

I think Git LFS fits perfectly with this use case. It is an extension for git that optimizes how large files are versioned. Check out https://git-lfs.com/

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

79837177

Date: 2025-12-03 17:51:36
Score: 1.5
Natty:
Report link

# 1) Stop scanning untracked files for status

git config status.showUntrackedFiles no

# 2) Cache untracked discovery

git config core.untrackedCache true

# 3) Use filesystem notifications (built-in fsmonitor)

git config core.fsmonitor true

# 4) (Optional) Sparse-checkout only necessary paths

git sparse-checkout init --cone

git sparse-checkout set src tools configs

# 5) GUI: hide ignored/untracked, exclude repo from AV scanning

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: HARSHAGARWAL-Tech

79837175

Date: 2025-12-03 17:48:35
Score: 4
Natty:
Report link

That is the alternative either I distribute fmt within MyLib or modify headers to not have third party libraries which I prefer not to do.

Is this a valid concern I have or am I overworrying ?

In addition, do you have a recommendation of best way to do this? I been trying to get this to work using copy in the conanfile.py package to copy over all files needed for lib/includes.

Reasons:
  • RegEx Blacklisted phrase (2.5): do you have a
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: TorqueNoFriction

79837171

Date: 2025-12-03 17:46:35
Score: 4.5
Natty:
Report link

@dbugger was 100% correct on this -- it was an orphaned fixture. My mistake was assuming the errors had something to do with the controller and model code, not the seeding process Rails goes through when populating the test database.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @dbugger
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Lucas

79837170

Date: 2025-12-03 17:45:34
Score: 3.5
Natty:
Report link

Thank you, these answers look useful, and I will learn it this way. It would be an unfortunate that not even a historical text was around.

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

79837166

Date: 2025-12-03 17:39:33
Score: 1
Natty:
Report link

Is there a particular reason that you are not also distributing fmt with MyLib? That seems like it would be the best way to guarantee compatibility.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Is there a
  • High reputation (-1):
Posted by: Craig

79837160

Date: 2025-12-03 17:31:31
Score: 3
Natty:
Report link

If ANYONE is getting a similar issue, in the moder era (2025), especially building apps on Mac OS in Rider, or likely, anywhere else, there is a conflict between the SDK and Runtime Versions that seems to be causing the problem. Just create a global.json file at the root of your project (in the same folder as your .sln file) and add the following code. At least, this applies to .NET 9 (12/03/2025).

{
  "sdk": {
    "version": "9.0.300",
    "rollForward": "latestFeature"
  }
}
Reasons:
  • Has code block (-0.5):
  • Me too answer (2.5): getting a similar issue
  • Low reputation (1):
Posted by: user6268526

79837155

Date: 2025-12-03 17:23:28
Score: 10 🚩
Natty: 4.5
Report link

Did you get an answer ? If yes pls share it

Reasons:
  • RegEx Blacklisted phrase (2.5): pls share
  • RegEx Blacklisted phrase (3): Did you get an answer
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Ammu Bhai

79837154

Date: 2025-12-03 17:22:28
Score: 2.5
Natty:
Report link

I have the same problem: a script that stops running in the PowerShell ISE whenever a warning is issued, even a simple one.

#if __cplusplus < 201703L
  #warning "This build does not have access to >= c++17 features."
#endif

Result of the script in the PowerShell ISE:

Compiling .pio\build\STM32F103RC_creality\src\src\lcd\e3v2\proui\dwinui.cpp.o
platformio.exe : Marlin\src\inc\Warnings.cpp:35:4: warning: #warning "This build does not have access to >= c++17 features." [-Wcpp]
En W:\3DPrinter\Marlin_bugfix-2.1.x_test\Compile.ps1: 36 Carácter: 3
+   . $env:USERPROFILE\.platformio\penv\Scripts\platformio.exe run -e $ ...
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Marlin\src\inc\...tures." [-Wcpp]:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError

And the execution is aborted.

Result of script in a Powershell Terminal:

Compiling .pio\build\STM32F103RC_creality\src\src\lcd\e3v2\proui\dwinui.cpp.o
Marlin\src\inc\Warnings.cpp:35:4: warning: #warning "This build does not have access to >= c++17 features." [-Wcpp]
   35 |   #warning "This build does not have access to >= c++17 features."
      |    ^~~~~~~
Compiling .pio\build\STM32F103RC_creality\src\src\lcd\e3v2\proui\endstop_diag.cpp.o

And the script finished normally.

So, there is a difference when the script is executed in the PowerShell ISE.

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

79837150

Date: 2025-12-03 17:15:26
Score: 1
Natty:
Report link

Key Benefits of Healthy Eating

1. Better heart health
Based on widely accepted medical guidance, diets rich in fruits, vegetables, whole grains, and healthy fats can help reduce the risk of heart disease.

2. Improved weight management
Healthy eating patterns help maintain a stable weight by providing balanced nutrients without excessive calories.

3. More stable energy levels
Foods high in fiber and complex carbohydrates support steady energy throughout the day. This is consistent with common nutrition recommendations from major health bodies.

4. Stronger immune function
Nutrient-rich foods—especially those containing vitamins A, C, D, and zinc—are known to support normal immune function. I cannot confirm exact percentages or study results, but the general benefit is widely recognized.

5. Better digestion
High-fiber foods such as fruits, vegetables, legumes, and whole grains help improve digestion and reduce constipation. This is a well-established effect of dietary fiber.

6. Reduced risk of chronic diseases
WHO and CDC both state that healthy eating patterns can lower the risk of type 2 diabetes, certain cancers, and hypertension.

7. Improved mental well-being (with some uncertainty)
There is growing evidence suggesting that healthy eating may support mood and cognitive function, but I cannot confirm the strength of this evidence without reviewing specific studies. So this benefit should be taken with caution.

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

79837143

Date: 2025-12-03 17:04:23
Score: 1
Natty:
Report link

Imaginary Friends

Phew, it can be tough to figure out both challenges: backend and frontend.

So, get someone else to figure out the frontend. Create an imaginary friend (user) & give them a motivation or goal.

Focused Goals Make Less Holes

Starting with a defined goal usually means your problem space is smaller and more defined. Your situation goes from "would this element have enough space" to "Can they see what they need?".

Once you have a user's goal, think about how your interface supports that goal or solves the problem.

Here are some quick examples of user goals / jobs, and how to manage the interface challenges:

Customer / User Primary Need or Problem Frontend helps by...
Sam the shopper Buy a product ...dividing the screen size into regions, so important elements (price. name and image) show above the fold
Norm the Newb Learn something in a blog post Keeping the top blog navigation minimal and small, so users can focus the main body text
Jane the administrator Update email address Showing breadcrumbs at the top, to allow for wayfinding. Sizing the SAVE button so it can be tapped with a finger.

The Golden Transaction

...and just getting a simple page looking decent in 3 different form factors felt like it took quite a bit of work, so for any user interface with more complexity, it starts to feel daunting pretty fast.

It sounds like you might be creating React components from scratch, instead of using a library. Hard work!

At work, we use a phrase to describe the end-to-end experience for the highest priority scenario that we want to happen: "the golden transaction".

I remember the first time I started designing a page layout from scratch with CSS. It was so daunting to try to create a system that could be reused across many different experiences, while also trying to make each page "look cool". I wanted to give us and just go back to HTML 2.0 and use a grey background and Times New Roman font with paragraph tags!

Consider only creating React components / frontend experiences you need for your golden transaction, then branch from there. Good luck!

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

79837132

Date: 2025-12-03 16:52:20
Score: 2.5
Natty:
Report link

Use a template-based approach instead of repeating HTML. A static site generator like Jekyll or Eleventy lets you create one layout and fill in game-specific content with simple Markdown files. It keeps pages consistent, clean, and easy to maintain—perfect for a beginner portfolio website

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

79837128

Date: 2025-12-03 16:50:20
Score: 2.5
Natty:
Report link

The column size may not be big enough. If it is too small then the logging fails silently.

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

79837127

Date: 2025-12-03 16:50:20
Score: 1
Natty:
Report link

You do not need Branch, Adjust, AppsFlyer, or any other paid SDK.

A powerful yet lightweight Flutter plugin for deferred deep linking built for real production apps. It helps you extract referral information and deep link parameters on both Android and iOS without heavy attribution SDKs.

For more information see:

https://pub.dev/packages/stack_deferred_link

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

79837126

Date: 2025-12-03 16:49:19
Score: 1
Natty:
Report link

You do not need Branch, Adjust, AppsFlyer, or any other paid SDK.

A powerful yet lightweight Flutter plugin for deferred deep linking built for real production apps. It helps you extract referral information and deep link parameters on both Android and iOS without heavy attribution SDKs.

For more information see:

https://pub.dev/packages/stack_deferred_link

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

79837125

Date: 2025-12-03 16:49:19
Score: 1
Natty:
Report link

You do not need Branch, Adjust, AppsFlyer, or any other paid SDK.

A powerful yet lightweight Flutter plugin for deferred deep linking built for real production apps. It helps you extract referral information and deep link parameters on both Android and iOS without heavy attribution SDKs.

For more information see:

https://pub.dev/packages/stack_deferred_link

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

79837117

Date: 2025-12-03 16:41:18
Score: 2.5
Natty:
Report link

Your torch package is older than your diffusers package. You either need to upgrade torch or downgrade diffusers.

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

79837109

Date: 2025-12-03 16:33:16
Score: 2
Natty:
Report link

This issue is the same as in this question:
https://stackoverflow.com/a/79837105/12277254

The solution is to enable Python integration in MT5 (Tools → Options → Community), then restart the terminal.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Whitelisted phrase (-1): solution is
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: panapol-p

79837100

Date: 2025-12-03 16:24:13
Score: 4.5
Natty:
Report link

Can you post an image of your RVIZ setup with the map topic? In addition, ensure you have the correct USB connection for your lidar setup. It may be assigned to another port. You can check by using the command:

lsusb -v
Reasons:
  • RegEx Blacklisted phrase (2.5): Can you post
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can you post an
  • Low reputation (1):
Posted by: RinzlerBuilds

79837095

Date: 2025-12-03 16:19:11
Score: 1
Natty:
Report link

I quote the code of gpt, as follows:

The fastest way to sum three numbers is to write A+B+C directly. There is no faster way than this.


int sum3(int a, int b, int c) {

    return a + b + c;

}    



Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: 学无穷尽

79837094

Date: 2025-12-03 16:18:11
Score: 5
Natty:
Report link

How do I change the initial layout? I know I can use that to set a separate layout per workspace but I want to use the same layout and choose a different initial layout from the layout set.

Reasons:
  • Blacklisted phrase (1): How do I
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How do I
Posted by: Trevor

79837082

Date: 2025-12-03 16:09:08
Score: 1.5
Natty:
Report link

Change you HTML to this:

<div>
  <h3>A Heading</h3>
  <div>
    <table>  <!-- Removed align="left" -->
        <tr><td>One</td></tr>
        <tr><td>Two</td></tr>
        <tr><td>Three</td></tr>
    </table>
  </div>
</div>
<div><a class="button" href="#">First Button</a></div>
<div><a class="button" href="#">Second Button</a></div>

Now you have this:

enter image description here

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

79837080

Date: 2025-12-03 16:06:07
Score: 2
Natty:
Report link

Have a look at XMonad.Layout.PerWorkspace

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

79837079

Date: 2025-12-03 16:06:07
Score: 1
Natty:
Report link

@hiropon

The while loop must be:

while (!stream->Eof()) 
       {
        stream->Read(buffer, sizeof(buffer));
        byteRead = stream->LastRead();
        if (byteRead <= 0) 
        {
         break;
        }
        store.Write8(buffer, byteRead);
        
       }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user31991567

79837078

Date: 2025-12-03 16:05:07
Score: 1
Natty:
Report link

I had this problem too, not Xamarin but what fixed it is: Install-Package System.Data.SQLite.Core -Version 1.0.107

maybe UnInstall-Package System.Data.SQLite first.

Looks like compatibility issue with older Windows versions.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: colin lamarre

79837074

Date: 2025-12-03 16:02:06
Score: 1.5
Natty:
Report link

Did you google, "compare har files"? There are tons of matches.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • High reputation (-2):
Posted by: JeffC

79837068

Date: 2025-12-03 15:58:05
Score: 3.5
Natty:
Report link

Check the View Selector. If you select Android, only Android-related files will be shown.

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

79837063

Date: 2025-12-03 15:43:01
Score: 2
Natty:
Report link

psql --help will work on your system terminal, not the postgresql terminal. You're probably in the postgresql terminal (lines start with '=#'). Quit that terminal with '\q' and run it IN THE SYSTEM TERMINAL, where you run the psql at the first place.

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

79837061

Date: 2025-12-03 15:42:01
Score: 2
Natty:
Report link

hi how about you start using settings.py and .env file , meaning in your basic code give reference of using settings and save all your private keys and stuff in .env and in settings.py point to towards .env file
hoppefully you have got the point

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

79837060

Date: 2025-12-03 15:42:01
Score: 1.5
Natty:
Report link

Per the documentation for reversed(), a reversible object must either

The latter is preferable, unless it's less efficient.

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

79837056

Date: 2025-12-03 15:42:01
Score: 2
Natty:
Report link

In cellular automata, the update is generally synchronous. This means that the state of time t+1 needs to be calculated in a separate array using the state of the system at time t (these are called configurations). The first thing to do is to make this distinction clear in your code.

Also consider various types of asynchronous updating. Many artifacts can be due to the synchronous update (this is the case of lattice-gas cellular automata where spurious conserved quantities exist).

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

79837047

Date: 2025-12-03 15:29:57
Score: 8
Natty:
Report link

@Siya Gupta So how do you suggest to change the print and insert routines to work without pointers?

Reasons:
  • Blacklisted phrase (1): how do you
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Siya
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Jos Bergervoet

79837042

Date: 2025-12-03 15:20:54
Score: 2.5
Natty:
Report link

I’m still encountering the same issue when combining tscv with nnetar (with h = 2 and additional input variables). The forecast errors for both horizons (h = 1 and h = 2) terminate two observations before the end of the sample.

In contrast, when using ARMA with tscv, the horizon alignment behaves as expected:
• for 1-step-ahead forecasts, errors end 1 observation before the final data point
• for 2-step-ahead forecasts, errors end 2 observations before the final data point.

This raises the question of whether the behavior I’m seeing with nnetar + tscv is a known issue or a specification problem on my end.

Could you please advise on how to address this? Is shifting the nnetar forecast errors down by two steps a reasonable solution, or is there a more appropriate way to handle this alignment issue when using tscv with nnetar?

This is my code:

fit <- function(x, h, xreg, newxreg) {
  forecast(nnetar(x, xreg=xreg, p=1, size=5, repeats=5), xreg=newxreg, h=h)
}


xreg_data <- data.frame(cons)

error <- data.frame(forecast::tsCV(price, fit, h=2, 
                                  window = 365,  initial =1, xreg=xreg_data))
Reasons:
  • RegEx Blacklisted phrase (2.5): Could you please advise
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Sedigheh Misha

79837038

Date: 2025-12-03 15:15:53
Score: 1
Natty:
Report link

According to https://learn.microsoft.com/en-us/dotnet/api/system.data.sqlclient.sqlcommand.executescalar?view=netframework-4.8.1

Returns: The first column of the first row in the result set, or a null reference (Nothing in Visual Basic) if the result set is empty. Returns a maximum of 2033 characters.

Consider using ExecuteReader instead.

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

79837021

Date: 2025-12-03 14:57:49
Score: 0.5
Natty:
Report link
fun <T: Enum<T>>methodWithKotlinEnumAsParameter(entries: EnumEntries<T>) {
    println(entries)
}

fun main(vararg args: String) {
    methodWithKotlinEnumAsParameter(Status.entries)
    methodWithKotlinEnumAsParameter(Weekday.entries)
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: squirrelInTheBarel

79837020

Date: 2025-12-03 14:56:48
Score: 2
Natty:
Report link

I've tested the game for some time on the web and I cannot reproduce the issue (there, on the web version). I will try also with Android, maybe the problem happens only on the Linux environment. I realize my question above is a bit open. Still hoped that someone had a similar experience and can share it with me.

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: Oren

79837014

Date: 2025-12-03 14:50:47
Score: 2.5
Natty:
Report link

See How can I reuse HTML code across several HTML files

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Quentin

79837010

Date: 2025-12-03 14:49:46
Score: 2
Natty:
Report link

example code with One Line change in openai sdk: https://www.superagentstack.com/docs/getting-started

Now using Super Agent Stack anyone can implement RAG, API level session memeory, and a global knowledge base without any extra code.

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

79837008

Date: 2025-12-03 14:46:45
Score: 3.5
Natty:
Report link

Why do you want to separate the words at all? Why do you not just read character by character and display the binary representation? You still may leave spaces untranslated.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Why do you
  • Low reputation (0.5):
Posted by: Mecki

79837006

Date: 2025-12-03 14:45:45
Score: 3
Natty:
Report link

This is typical of stack overflow that you can never find the answer and when you do you can not display so other people can benifit from it.

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

79837005

Date: 2025-12-03 14:43:44
Score: 1
Natty:
Report link

Sure, here is the bigger picture. I have a Call function for RPC over HTTP. Many goroutines may make calls concurrently, and I want to merge multiple requests into one bulk request automatically, so only one HTTP request is needed for them. The RPC target device can not handle that many simultaneous HTTP connections. While a bulk request is running, more calls can build up for the next one. When starting a new bulk request, I want to collect all available calls to merge them into one request.

func (a *Agent) Call(ctx context.Context /*more args*/) (any, error) {
    request := // ... build request from args
    a.once.Do(func() {
        a.startSem = make(chan struct{}, 1)
        a.more = make(chan methodCall)
    })
    ch := make(chan callReturnValues, 1)
    call := methodCall{request: request, ctx: ctx, retCh: ch}

    select {
    case a.startSem <- struct{}{}:
        go a.performCalls(call)
    case a.more <- call:
    case <-ctx.Done():
        return nil, ctx.Err()
    }
    resp := <-ch
    return resp.result, resp.err
}

func (a *Agent) performCalls(call0 methodCall) {
    defer func() { <-a.startSem }()
    calls := []methodCall{call0}
    // collect more ready calls
    func() {
        for {
            select {
            case call := <-a.more:
                calls = append(calls, call)
            default:
                return
            }
        }
    }()
        // while the remaining function body is running, new requests get ready.
        // one of them will acquire startSem, others will get passed to more

        // create a bulk request from calls
        // do a single HTTP request for it
        // return results to each retCh
}
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: bungulator

79837001

Date: 2025-12-03 14:41:44
Score: 2.5
Natty:
Report link

git fetch --prune

(in git bash) seemed to clean things up a lot for me.

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

79837000

Date: 2025-12-03 14:40:44
Score: 0.5
Natty:
Report link

these days I use —because it's a JavaScript package and that make sense within a react native context

npx pod-install

https://github.com/expo/expo/tree/main/packages/pod-install

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

79836987

Date: 2025-12-03 14:30:41
Score: 2
Natty:
Report link

I have a few GKE clusters. None of them are private. The pods had no outbound internet access until I stood up a Cloud Nat Gateway. Now they have outbound internet access, the outbound IP address for each pod differs. If I curl icanhazip.com from a pod to see its outbound IP, none of them match the single IP address assigned to the Cloud Nat Router.

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

79836984

Date: 2025-12-03 14:28:40
Score: 5.5
Natty:
Report link

Here's some more context: I only know HTML and CSS. I am currently learning JS, but I am in the very early stages of learning (watching tutorials).

Also, I do not have the budget for hosting.

As for using JSON files and JS, are there any guides or videos you would reccomend to help me learn?

Reasons:
  • Blacklisted phrase (1): help me
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Rosan Syal

79836981

Date: 2025-12-03 14:27:40
Score: 1.5
Natty:
Report link

I tried using spatie/laravel-permission, but it did not fully cover my use case.

For some context,
my system is pretty complex, kind of similar to what GitHub does. The problem is that (and maybe I am wrong here) I cannot use my permission system (my policies rely on it btw) inside a global scope. Even if I could, it feels like a bad practice, because scopes are not meant for that and it would require loading everything into memory first.

Right now I am using complex queries inside my global scope to avoid any data leaks. But it feels like I am basically creating another custom permission layer just for view access, even though I already built one.

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

79836976

Date: 2025-12-03 14:22:38
Score: 1
Natty:
Report link
if (!(dicParams.Count > 0
      && mfrmSetup != null
      && mfrmSetup.Visible != true
      && dicParams.ContainsKey(mcstrTitle))) {
    return;
}

Comment out this line and try again.

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

79836959

Date: 2025-12-03 13:58:32
Score: 1
Natty:
Report link

Say file ABC.csv looks like the following:

col_1,col=2,col=3
A,B,C
d,e,f

And you want to replace = with _.
sed will do this as follows.

sed -i '1 s/=/_/g' ABC.csv

The -i switch writes back to the same file.
1 refers to the first line (header).

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

79836957

Date: 2025-12-03 13:57:32
Score: 1
Natty:
Report link

You may also want to search/post on https://github.com/duckdb/duckdb/discussions if you haven't already. Their Github and Discord are much more active than the Stackoverflow tag.

Reasons:
  • Blacklisted phrase (1): Stackoverflow
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: jqurious

79836956

Date: 2025-12-03 13:55:31
Score: 2
Natty:
Report link

You should go to the Project Overview
Click menu icon to the left from your profile icon, choose Atlas

screenshot with the pop-up menu

Click on Project identity & access in the sidebar, choose invite to project
After the invitation, Atlas is gonna ask you automatically whether you want to give access to dbs

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

79836955

Date: 2025-12-03 13:51:30
Score: 3
Natty:
Report link

so ı just figured out that ı really shouldn't be using strtok as there is only one crucial difference between iterating straight through string or through its each individual word by delimiting the string with spaces is that my program will ignore spaces and will not convert and print them as binary. Thank you all for making me figure that out.

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

79836951

Date: 2025-12-03 13:49:29
Score: 11.5
Natty:
Report link

It's hard to guide you, can you give me some more context?
You said you're a beginner in web development, what do you know? is it only html and css?
You should think ahead about hosting, if you use something like Jekyll you can host for free on github pages. Do you have a budget for hosting?

Reasons:
  • Blacklisted phrase (3): give me some
  • RegEx Blacklisted phrase (2.5): can you give me some
  • RegEx Blacklisted phrase (2.5): Do you have a
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Franky

79836949

Date: 2025-12-03 13:45:28
Score: 2
Natty:
Report link
  1. you make one HTML file with your game review layout (template).

  2. You store each game’s review content in a JSON file (or multiple JSON files).

  3. Use JavaScript to load the right game content based on the URL.

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

79836947

Date: 2025-12-03 13:40:27
Score: 3
Natty:
Report link

I got my foreground service to run for 5 hours+ in background even when screen was off and battery optimization was on.

I wrote a detailed answer here:

https://stackoverflow.com/a/79836865/19961621

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Fabian Joseph

79836945

Date: 2025-12-03 13:38:27
Score: 0.5
Natty:
Report link

when you put other ascii character as word, it is logical to put space as word separator, but when you put space as your word, eg

" " "  " "   "

(1 space, 2 space, 3 space), either you quote your space, like shown, or you separate your space using other separator, eg.

" ;  ;   "
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): when you
Posted by: Sharuzzaman Ahmat Raslan

79836933

Date: 2025-12-03 13:24:23
Score: 0.5
Natty:
Report link

Thank you, but I don't think that the author of the latest commit is included.

GET https://api.github.com/repos/pgpoulsen/gitdojo/branches?per_page=100

returns this:

[
    {
        "name": "master",
        "commit": {
            "sha": "f5019ca85666c60041de2cf5462b958da44c287e",
            "url": "https://api.github.com/repos/PGPoulsen/GitDojo/commits/f5019ca85666c60041de2cf5462b958da44c287e"
        },
        "protected": false
    },
    {
        "name": "newbranch",
        "commit": {
            "sha": "b7d6a83b81724108c0ef39e785bcb288765ac5c0",
            "url": "https://api.github.com/repos/PGPoulsen/GitDojo/commits/b7d6a83b81724108c0ef39e785bcb288765ac5c0"
        },
        "protected": false
    }
]
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Peter Poulsen

79836931

Date: 2025-12-03 13:23:23
Score: 0.5
Natty:
Report link
def problem0036() -> int:
    """
    { statement of problem 36 deleted; see the original post ... }
    Notes:
        Binary palindromes must end in '1', making them odd.
    """
    from itertools import filterfalse
    # based on my timings, filterfalse is marginally faster than filter

    dec_pal: list[int] = \
        [i for i in range(1, 1_000_000) if str(i) == str(i)[::-1]]
    bin_pal: list[int] = \
        [i for i in range(1,1_000_000,2) if bin(i)[2:] == bin(i)[2:][::-1]]
    # bin() is marginally faster than format()

    return sum(list(filterfalse(lambda x: x not in bin_pal, dec_pal)))

This is not an optimal solution (see https://math.berkeley.edu/~elafandi/euler/p36/ for a very nice one), but it's terse and Pythonic. My results on an M3 MacBook Pro:

[Code/euler_probs]$ py3 0036-0040.py 36 5
Euler problem #36: result == 872187, time: 0.1956004 sec.
Euler problem #36: result == 872187, time: 0.1955303 sec.
Euler problem #36: result == 872187, time: 0.1923485 sec.
Euler problem #36: result == 872187, time: 0.1914679 sec.
Euler problem #36: result == 872187, time: 0.1923018 sec.

regards,

richard

--

Reasons:
  • Blacklisted phrase (1): regards
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: BlueCat

79836925

Date: 2025-12-03 13:17:22
Score: 0.5
Natty:
Report link

Modern development teams often work with massive repositories—monorepos, microservice clusters, deeply nested folder structures, and legacy components. For AI-powered coding assistants to be genuinely useful at this scale, they must process large codebases intelligently without overwhelming the underlying language model. Both GitHub Copilot and Cursor have evolved advanced techniques to understand context, index files, and deliver accurate suggestions quickly.

1. Contextual Code Understanding Instead of Full Repository Loading

LLMs cannot take an entire repository as input. Instead, both Copilot and Cursor perform smart context extraction:

This ensures the model only sees what actually matters for the task at hand.

2. Background Indexing for Fast Symbol and Reference Lookups

GitHub Copilot

GitHub has integrated advanced indexing via the GitHub Code Graph.
It creates a semantic map of:

This allows Copilot to quickly understand relationships between files without needing to re-process the repository repeatedly.

Cursor

Cursor uses a local background indexer that scans the project structure and builds embeddings (vector representations) for files.
This enables the tool to:

Cursor’s indexer is extremely fast and works offline, making it ideal for huge codebases.

3. Embedding-Based Retrieval for Relevant Context

Both platforms use Retrieval-Augmented Generation (RAG).
This means:

  1. Your query (like “fix this bug” or “add logging”) is converted into an embedding.

  2. The system compares it to embeddings of repository files.

  3. Only the most relevant files are sent to the LLM.

This dramatically improves accuracy, especially in large monorepos where multiple files share similar names or patterns.

4. Understanding Project Structure and Dependencies

Copilot and Cursor intelligently map:

This allows them to deliver framework-aware suggestions instead of generic code completions.

For example:

5. Incremental Learning from Developer Behavior

Both tools learn from:

This builds a personalized understanding of the codebase.

Cursor goes further by allowing customizable project rules, enabling the LLM to respect naming conventions, architectural patterns, or coding standards unique to the team.

6. Efficient Multi-File Editing and Refactoring

Cursor’s standout feature is multi-file editing:

Copilot is adding similar capabilities but currently focuses more on inline suggestions.

Final Thoughts

GitHub Copilot and Cursor handle large codebases efficiently by combining:

✔ Smart contextual filtering
✔ High-performance code indexing
✔ Embedding-based retrieval
✔ Structural project awareness
✔ Developer behavior learning
✔ Multi-file reasoning and refactoring

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

79836924

Date: 2025-12-03 13:17:22
Score: 2
Natty:
Report link

Select Debug from VS top toolbar > Windows > Modules.
If you know the module which has missing symbols, the righticlick the module > Load Symbols
Select PDB from your folder (Downloads)
or Debug > Options > Debugging > Symbols and click + button to add PDB from downloads folder

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

79836921

Date: 2025-12-03 13:13:21
Score: 1
Natty:
Report link

Just to add: I just had this exception (yes, i used visual webdeveloper 2010 in 2025, i probably shouldn't...). But i had it when the aspx-page loaded, so the yellow message gets displayed in the browser window. my problem was that i changed the sql query of the sqldatasource and didn't adjust the columns in the gridview... so, somehow it couldn't say that columns weren't matching or sth, it just displayed this confusing message, that made me feel like i missed to add a dll or i referenced the wrong version of some dll. anyway, after i imported the new columns in design view, everything worked again.

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

79836920

Date: 2025-12-03 13:13:21
Score: 2
Natty:
Report link

It was because after deploying the latest version, cloudfront is cleaning all the deployed versions of the old version of the same lambda from all the edge locations. Cleaning up process takes some time than deploying a new version of the lambda and the cloudfront updates the timestamp of the old version when the clean up process get finished. That's why the old version of edge lambda has the latest last_modified timestamp than the new version.

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

79836916

Date: 2025-12-03 13:08:19
Score: 5.5
Natty:
Report link

https://stackoverflow.com/users/4183191/tasos-papastylianou Thanks for comment, it was helpful but not quite what I want to achieve. I am working towards something else so this is just a simple stepping stone so scalability is my next challenge which I have ideas given I can find the correct input formatting and efficiency.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): stackoverflow
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: JDoesML

79836911

Date: 2025-12-03 13:04:18
Score: 1.5
Natty:
Report link

GitHub doesn’t have any special API that directly gives you “your branches.”

The page you see on GitHub’s website is just a smart guess they show in the UI.

But you can copy the same logic with one simple trick.

Here’s how:

1. Call one GitHub API endpoint that lists all branches

GET /repos/{owner}/{repo}/branches?per_page=100

2. Every branch in that response already includes the latest commit and who wrote it.

You don’t need to make more API calls — the author info is already there.

3. Just filter the list and keep the branches where the latest commit was made by you.

That’s literally it.

No complicated steps, no heavy loops, no calling the API 50 times.

One request → filter → done.

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

79836907

Date: 2025-12-03 12:58:13
Score: 9.5 🚩
Natty:
Report link

Did you manage to resolve the issue?

I have the exact same problem in slightly different conditions - I use Azure Functions instead of AWS.

I generate a PDF from SVG like that:

var pdfBytes = Document.Create(container =>
{
    container.Page(page =>
    {
        page.Size(PageSizes.A4);
        page.Content().Svg(svgContent);
    });
}).GeneratePdf();

When I run this code locally on my Windows machine - everything displays as expected. When I do it inside a Linux container - again, all the text is there, but in a different font. And when I deploy my app to Azure - everything renders, apart from the text. Images and tables are there, but not a single letter is present.

Therefore, I suspect it may be matter of fonts. Probably none are available in the cloud container (not even a fall-back one) and that's why the text cannot render. But how can I resolve it?

I tried including fonts in my project and registering them in runtime, as suggested in QuestPDF documentation, like that:

private static void AddFonts()
{
    try
    {
        var fontsDir = Path.Combine(AppContext.BaseDirectory, "Resources", "Fonts");

        using (var juraStream = File.OpenRead(Path.Combine(fontsDir, "Jura.ttf")))
        {
            FontManager.RegisterFontWithCustomName("Jura", juraStream);
        }

        using (var interItalicStream = File.OpenRead(Path.Combine(fontsDir, "Inter-Italic.ttf")))
        {
            FontManager.RegisterFontWithCustomName("Inter", interItalicStream);
        }

        Console.WriteLine("Fonts registered successfully via streams: Jura, Inter-Italic");
    }
    catch (Exception ex)
    {
        Console.WriteLine($"Error registering fonts: {ex.Message}");
        throw;
    }
}

I tried to do it both on startup and just before PDF generation. I used all available font registration methods (RegisterFont, RegisterFontWithCustomName and RegisterFontFromEmbeddedResource). Registration seems to succeed, but nothing changes. Every time the result is the same - text renders when ran on local machine or in Docker container, but not in the Azure cloud resource.

Reasons:
  • Blacklisted phrase (0.5): how can I
  • RegEx Blacklisted phrase (3): Did you manage to resolve the
  • RegEx Blacklisted phrase (1.5): resolve the issue?
  • RegEx Blacklisted phrase (1.5): how can I resolve it?
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the exact same problem
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Laurer

79836906

Date: 2025-12-03 12:57:13
Score: 0.5
Natty:
Report link

since the referrer is a url in string form, we can use the URL class to turn it into an URL instance:

const referrerUrl = new URL(document.referrer);
console.log(referrerUrl.hostname);

Fiddle with google search urk as example: https://jsfiddle.net/d8oyw7u6/

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

79836899

Date: 2025-12-03 12:54:11
Score: 2
Natty:
Report link

Thanks for this Peter, but I am currently only interested in having retry on the Open connection, since that is what we currently have, and i don't want to refactor all existing queries.

Preferably I would just replace the current scoped connection with a wrapper, that used the retry policy in my first post, when dapper tries to open the connection.

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

79836898

Date: 2025-12-03 12:52:11
Score: 3.5
Natty:
Report link

Sometimes this works

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

79836897

Date: 2025-12-03 12:52:11
Score: 0.5
Natty:
Report link

OK, the maintainer of the library helped me a bit: It was necessary to make a stub of implementation code for autoradio:

#include "keypad.h"

struct Keypad *keypad::kp;

It was the `struct`, which has been missing all the time.

And: The reference to libkeypad.a had to be included in OBJECTS .

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

79836882

Date: 2025-12-03 12:33:07
Score: 1
Natty:
Report link

Thanks for the input! I understand your point, but the recruiter already solved this exact challenge (as shown in my screenshot), so it should definitely be possible on the web version.

And funny enough, while digging through the debugger I found a hidden function in the client code (sendDisappearingPhoto with ttl_seconds), so the logic actually exists — I just haven’t figured out how to trigger it programmatically yet. code context:

file name: source125
async function sendDisappearingPhoto(chatId, file, ttlSeconds = 60) {
const uploadedFile = await module103Exports.uploadFile(file);
const media = {
_: 'inputMediaUploadedPhoto',
file: uploadedFile,
ttl_seconds: ttlSeconds,
};
const random_id = Math.floor(Math.random() * 0xFFFFFFFF);
return module103Exports.sendMedia({
peer: { _: 'peerUser', user_id: chatId },
media: media,
message: '',
random_id: random_id,
});
}

Still trying to piece it together, but at least now I have some hope. hers how you can know that you solved the chalange

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

79836874

Date: 2025-12-03 12:26:04
Score: 4.5
Natty:
Report link

@arwynfr thanks for the response! Hmmm I see... It was of my understanding that tenant could not access user's table. That's I relief!

My Orchestrator is located in:

internal(basically a src)/application/orchestrators

But based on your response I believe I'd need to move this orchestrator to:

internal/modules/core/orchestrator

Right?

Thanks againg for the help!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @arwynfr
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Alan Graton

79836869

Date: 2025-12-03 12:23:03
Score: 3
Natty:
Report link

Sorry for the parallel discussion. Let's continue here: https://discuss.elastic.co/t/checking-if-updated-documents-are-visible-to-search/383843/3

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Mo B.

79836867

Date: 2025-12-03 12:21:03
Score: 3.5
Natty:
Report link

Google Maps SDK requires a billing account, even if you never get charged.

As long as your usage stays under $200/month → you pay ₹0.

@Sanjay Kumaar So why in the docs it says unlimited then? From my understanding the 200$ threshold is for services that are not stated as unlimited, like Dynamic Maps.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Sanjay
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Monochromatic

79836855

Date: 2025-12-03 12:12:00
Score: 1
Natty:
Report link

Android 15 & 16 emulators soft-keyboards have this behaviour. You, however, can return to the classic behaviour.

  1. Click on the bottom icon (in my case is showing US):

Android soft-keyboard options 1

  1. Click on settings:

Android soft-keyboard options 2

  1. Disable Use stylus to write in text fields

  2. Return to application

  3. Now the original popup has changed:

Android soft-keyboard options 3

  1. Just tap on the top keyboard icon. After that, the popup will hide and, when you focus an Entry (or any other view that accepts text input), the classical Android soft-keyboard will show.
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: galex

79836853

Date: 2025-12-03 12:12:00
Score: 3.5
Natty:
Report link

Oh! I found the reason. because liblzma was installed in out/lib/liblzma-linux-install/lib64. Copy lib64 as lib will work it out.

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