79563332

Date: 2025-04-09 02:16:03
Score: 7.5
Natty: 8
Report link

How do i add a column to indicate whether the mismatch appears in df1 or df2?

Reasons:
  • Blacklisted phrase (1): How do i
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How do i add a
  • Low reputation (1):
Posted by: Bob

79563302

Date: 2025-04-09 01:42:55
Score: 4.5
Natty:
Report link

Instead of @PostConstruct, listen to the ApplicationReadyEvvent

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @PostConstruct
  • Single line (0.5):
  • Low reputation (1):
Posted by: Bernardo Antonio Buffa Colomé

79563262

Date: 2025-04-09 00:55:43
Score: 5
Natty: 5.5
Report link

this is built in to phpunit now: https://github.com/sebastianbergmann/phpunit/pull/6118

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

79563243

Date: 2025-04-09 00:26:37
Score: 4
Natty:
Report link

x gxvcx vxcxc xcdsf sdfsdgsd gdsg sdgsdgsdg sdgsdgs

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

79563206

Date: 2025-04-08 23:30:25
Score: 9.5
Natty: 7
Report link

enter image description here

please help me,

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): enter image description here
  • RegEx Blacklisted phrase (3): please help me
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Vape Store

79563200

Date: 2025-04-08 23:24:23
Score: 4.5
Natty: 5.5
Report link

Thank you so much. This fixed my problem!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Richy

79563196

Date: 2025-04-08 23:21:22
Score: 4
Natty: 4.5
Report link

Any instruction on how to do it? For example, how to extract application from card and reinstall it but with different AID value

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

79563183

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

have you find a solution yet? I've tried cleaning node modules, pods and reinstalling but nothing works

Reasons:
  • Blacklisted phrase (1): but nothing work
  • Blacklisted phrase (2): have you find
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ignacio Contreres

79563181

Date: 2025-04-08 23:09:18
Score: 5.5
Natty: 5
Report link

This link explain how install odoo + postgree on alpine linux

https://wiki.alpinelinux.org/wiki/Odoo

https://ipv6.rs/tutorial/Alpine_Linux_Latest/Odoo/

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

79563179

Date: 2025-04-08 23:03:16
Score: 4
Natty: 4
Report link

i need help with this error ExternalError: TypeError: Cannot read properties of undefined (reading 'tp$mro') on line 5 in dacoolthing.py

this is the code:

from turtle import *

class char(Turtle):
  def __init__(self):
    super().__init__()
    self.penup()
    self.shape("turtle")
    self.goto(0,0)
    self.speed(0)
  def attack():
    print()
Reasons:
  • Blacklisted phrase (0.5): i need
  • Blacklisted phrase (2.5): i need help
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: BeanethIII

79563108

Date: 2025-04-08 21:52:59
Score: 4.5
Natty:
Report link

I am having the same problem, was there any resolution?

I tried manually modifying the requirements.txt file to add libglib2.0, libnss3, libgconf, and libfontconfig1 as shown on this other thread, but it didn't seem to have any effect.

WebDriverException: Message: Service chromedriver unexpectedly exited. Status code was: 127

Also tried connecting with SSH to pip install selenium directly in hopes the chrome driver dependencies would get updated.

Reasons:
  • No code block (0.5):
  • Me too answer (2.5): I am having the same problem
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Nick

79563039

Date: 2025-04-08 20:59:44
Score: 8 🚩
Natty: 4.5
Report link

Any luck on this? I’m having the same issue.

Reasons:
  • Blacklisted phrase (1.5): Any luck
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): having the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Cayo Henrique Rodrigues

79563036

Date: 2025-04-08 20:58:43
Score: 7 🚩
Natty:
Report link

Did you ever found the solution to this?

Im in exactly the same spot right now. I had to change the port to 8082 as well, though my issue lies with grafana. The metrics are not being output to prometheus for some reason :(

Reasons:
  • Blacklisted phrase (1): :(
  • RegEx Blacklisted phrase (3): Did you ever found the solution to this
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Cizhu

79562992

Date: 2025-04-08 20:31:35
Score: 4
Natty: 4.5
Report link

There is a recipe hosted in the meta-python-ai layer https://layers.openembedded.org/layerindex/recipe/403973/

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

79562960

Date: 2025-04-08 20:09:29
Score: 5.5
Natty:
Report link

can you share your code where we can use that and replicate the issue on our end as this way its immpossible t understand what is causing it or is your website hosted online? if yes, then share the url

Reasons:
  • RegEx Blacklisted phrase (2.5): can you share your code
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): can you share you
  • Low reputation (0.5):
Posted by: Jyoti Ahluwalia

79562906

Date: 2025-04-08 19:37:20
Score: 4.5
Natty: 6.5
Report link

thanks your method sort help me a lot to implement algorithm bubble sort in data structure linkedlist

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): help me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Josue Morales

79562847

Date: 2025-04-08 18:57:07
Score: 5.5
Natty:
Report link

Great question and great answer! https://stackoverflow.com/users/12109788/jpsmith

I have added more variables in c() and I can't get it to sum the medians etc for each variable. Instead I get a list per hour from the first value. How can I fix this?

library(dplyr)
library(chron)
library(gtsummary)

chrontest <- chestdf %>%
  select(tts_sec, ttl_sec, ttprov1_sec, deltatrop_sec, vistelse_sec) %>%
  drop_na() %>%
  mutate(across(ends_with("_sec"), ~ format(as.POSIXct(.), "%H:%M:%S"))) %>%
  mutate(across(ends_with("_sec"), ~ chron::times(.)))

summary_table <- chrontest %>%
  tbl_summary(
    include = c("tts_sec", "ttl_sec", "ttprov1_sec", "deltatrop_sec", "vistelse_sec"),
    label = list(
      tts_sec ~ "Tid till S",
      ttl_sec ~ "Tid till L",
      ttprov1_sec ~ "Tid till provtagn 1",
      deltatrop_sec ~ "Tid till provtagn 2",
      vistelse_sec ~ "Vistelsetid"
    ),
    type = list(
      all_continuous() ~ "continuous2"
    ),
    statistic = list(
      all_continuous() ~ c(
        "{mean}",
        "{median} ({p25}, {p75})",
        "{min}, {max}"
      )
    ),
    digits = list(
      all_continuous() ~ 2
    )
  )
Reasons:
  • Blacklisted phrase (0.5): How can I
  • Blacklisted phrase (1): stackoverflow
  • Blacklisted phrase (1): How can I fix this
  • RegEx Blacklisted phrase (1.5): How can I fix this?
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: ellinor berglund

79562816

Date: 2025-04-08 18:42:02
Score: 4
Natty:
Report link

I finally have a great solution.

I'll be the first to admit that it may not work for everyone or in every use case, but it works for what I intended.

Since it's been a while since posting the question, naturally a good bit has changed in my implementation of Sanity, but you shouldn't have any issues adapting, to your own project with minor changes.

Changes in my projects

I'd like to start by addressing the changes I've made since posting the question. Please keep in mind all changes listed here were created with Next.js 15 and—more specifically—the next/image component in mind. You may need to make modifications if this does not apply to you.

Fetching images

I no longer use the imageUrlFor, compressWidthAndHeight, or prepareImage functions to generate src attribute and other image props. Instead I take advantage of the GROQ query step by pulling in the information I need and creating the src at this level. I created a helper function for querying images with GROQ, since there are many different scenarios that require different functions on the src.

Necessary types

If you're using TypeScript like I do, here's the definitions you'll need:

export type SanityCrop = {
    top: number
    left: number
    bottom: number
    right: number
}

export type SanityHotspot = {
    x: number
    y: number
    width: number
    height: number
}

export type SanityImage = {
    _id: string
    alt?: string
    aspectRatio?: number
    blurDataURL: string
    crop?: SanityCrop
    height?: number
    hotspot?: SanityHotspot
    filename?: string
    src: string
    width?: number
}

GROQ Image function

All descriptions in the GroqImageSourceOptions type are copied from Sanity – Image transformations – Image URLs. You're welcome to use this in your own projects if you want.

type GroqImageSourceOptions = Partial<{
    /** Automatically returns an image in the most optimized format supported by the browser as determined by its Accept header. To achieve the same result in a non-browser context, use the `fm` parameter instead to specify the desired format. */
    auto: 'format'
    /** Hexadecimal code (RGB, ARGB, RRGGBB, AARRGGBB) */
    bg: string
    /** `0`-`2000` */
    blur: number
    /** Use with `fit: 'crop'` to specify how cropping is performed.
     *
     * `focalpoint` will crop around the focal point specified using the `fp` parameter.
     *
     * `entropy` attempts to preserve the "most important" part of the image by selecting the crop that preserves the most complex part of the image.
     * */
    crop:
        | 'top'
        | 'bottom'
        | 'left'
        | 'right'
        | 'top,left'
        | 'top,right'
        | 'bottom,left'
        | 'bottom,right'
        | 'center'
        | 'focalpoint'
        | 'entropy'
    /** Configures the headers so that opening this link causes the browser to download the image rather than showing it. The browser will suggest to use the file name provided here. */
    dl: string
    /** Specifies device pixel ratio scaling factor. From `1` to `3`. */
    dpr: 1 | 2 | 3
    /** Affects how the image is handled when you specify target dimensions.
     *
     * `clip` resizes to fit within the bounds you specified without cropping or distorting the image.
     *
     * `crop` crops the image to fill the size you specified when you specify both `w` and `h`.
     *
     * `fill` operates the same as `clip`, but any free area not covered by your image is filled with the color specified in the `bg` parameter.
     *
     * `fillmax` places the image within the box you specify, never scaling the image up. If there is excess room in the image, it is filled with the color specified in the `bg` parameter.
     *
     * `max` fits the image within the box you specify, but never scaling the image up.
     *
     * `min` resizes and crops the image to match the aspect ratio of the requested width and height. Will not exceed the original width and height of the image.
     *
     * `scale` scales the image to fit the constraining dimensions exactly. The resulting image will fill the dimensions, and will not maintain the aspect ratio of the input image.
     */
    fit: 'clip' | 'crop' | 'fill' | 'fillmax' | 'max' | 'min' | 'scale'
    /** Flip image horizontally, vertically or both. */
    flip: 'h' | 'v' | 'hv'
    /** Convert image to jpg, pjpg, png, or webp. */
    fm: 'jpg' | 'pjpg' | 'png' | 'webp'
    /** Specify a center point to focus on when cropping the image. Values from 0.0 to 1.0 in fractions of the image dimensions. */
    fp: {
        x: number
        y: number
    }
    /** The frame of an animated image. The only valid value is 1, which is the first frame. */
    frame: 1
    /** Height of the image in pixels. Scales the image to be that tall. */
    h: number
    /** Invert the colors of the image. */
    invert: boolean
    /** Maximum height. Specifies size limits giving the backend some freedom in picking a size according to the source image aspect ratio. This parameter only works when also specifying `fit: 'crop'`. */
    maxH: number
    /** Maximum width in the context of image cropping. Specifies size limits giving the backend some freedom in picking a size according to the source image aspect ratio. This parameter only works when also specifying `fit: 'crop'`. */
    maxW: number
    /** Minimum height. Specifies size limits giving the backend some freedom in picking a size according to the source image aspect ratio. This parameter only works when also specifying `fit: 'crop'`. */
    minH: number
    /** Minimum width. Specifies size limits giving the backend some freedom in picking a size according to the source image aspect ratio. This parameter only works when also specifying `fit: 'crop'`. */
    minW: number
    /** Rotate the image in 90 degree increments. */
    or: 0 | 90 | 180 | 270
    /** The number of pixels to pad the image. Applies to both width and height. */
    pad: number
    /** Quality `0`-`100`. Specify the compression quality (where applicable). Defaults are `75` for JPG and WebP. */
    q: number
    /** Crop the image according to the provided coordinate values. */
    rect: {
        left: number
        top: number
        width: number
        height: number
    }
    /** Currently the asset pipeline only supports `sat: -100`, which renders the image with grayscale colors. Support for more levels of saturation is planned for later. */
    sat: -100
    /** Sharpen `0`-`100` */
    sharp: number
    /** Width of the image in pixels. Scales the image to be that wide. */
    w: number
}>

function applySourceOptions(src: string, options: GroqImageSourceOptions) {
    const convertedOptions = Object.entries(options)
        .map(
            ([key, value]) =>
                `${breakCamelCase(key).join('-').toLowerCase()}=${typeof value === 'string' || typeof value === 'boolean' ? value : typeof value === 'number' ? Math.round(value) : Object.values(value).join(',')}`,
        )
        .join('&')

    return src + ` + "?${convertedOptions}"`
}

type GroqImageProps = Partial<{
    alt: boolean
    /** Returns the aspect ratio of the image */
    aspectRatio: boolean
    /** Precedes asset->url */
    assetPath: string
    blurDataURL: boolean
    /** Returns the coordinates of the crop */
    crop: boolean
    /** Returns the height of the image */
    height: boolean
    /** Returns the hotspot of the image */
    hotspot: boolean
    filename: boolean
    otherProps: string[]
    src: GroqImageSourceOptions
    /** Returns the width of the image */
    width: boolean
}>

/**
 * # GROQ Image
 *
 * **Generates the necessary information for extracting the image asset, with built-in and typed options, making it easier to use GROQ's API as it relates to image fetching.**
 *
 * - Include `alt` and `blurDataURL` whenever possible.
 *
 * - It's best to always specify the `src` options as well.
 *
 * - Include either `srcset` or `sources` for best results.
 *
 * - `srcset` generates URLs for the `srcset` attribute of an `<img>` element.
 *
 * - `sources` generates URLs for `<source>` elements, used in the `<picture>` element.
 */
export function groqImage(props?: GroqImageProps) {
    const prefix = props?.tabStart ? `\n${'  '.repeat(props.tabStart)}` : '\n  ',
        assetPath = props?.assetPath ? `${props.assetPath}.` : ''

    let constructor = `{`

    if (props?.otherProps) constructor = constructor + prefix + props.otherProps.join(`,${prefix}`) + `,`

    if (props?.alt) constructor = constructor + prefix + `"alt": ${assetPath}asset->altText,`

    if (props?.crop) {
        let crop = 'crop,'

        if (props.assetPath) crop = `"crop": ${assetPath}crop,`

        constructor = constructor + prefix + crop
    }

    if (props?.hotspot) {
        let hotspot = 'hotspot,'

        if (props.assetPath) hotspot = `"hotspot": ${assetPath}hotspot,`

        constructor = constructor + prefix + hotspot
    }

    if (props?.width) constructor = constructor + prefix + `"width": ${assetPath}asset->metadata.dimensions.width,`

    if (props?.height) constructor = constructor + prefix + `"height": ${assetPath}asset->metadata.dimensions.height,`

    if (props?.aspectRatio)
        constructor = constructor + prefix + `"aspectRatio": ${assetPath}asset->metadata.dimensions.aspectRatio,`

    if (props?.blurDataURL) constructor = constructor + prefix + `"blurDataURL": ${assetPath}asset->metadata.lqip,`

    if (props?.filename) constructor = constructor + prefix + `"filename": ${assetPath}asset->originalFilename,`

    constructor = constructor + prefix + `"src": ${assetPath}asset->url`

    if (props?.src && Object.entries(props.src).length >= 1) constructor = applySourceOptions(constructor, props.src)

    return constructor
}

Generating the image props

Although most props are now prepared with groqImage—like the alt and blurDataURL for next/image—the crop, hotspot, width, and height still aren't utilized. To utilize I created a couple helper functions that are implemented into the main getImagePropsFromSanityForSizing function.

applyCropToImageSource calculates the rect search parameter of the Sanity image URL to apply the crop based on the image's dimensions.

applyHotspotToImageSource uses the x and y values of the hotspot for the fx and fy focal points defined in the search parameters. It also makes sure the crop search parameter is set to focalpoint.

getImagePropsForSizingFromSanity applies both previously mentioned functions to the src and calculates the maximum width and height attributes based on the actual dimensions of the image in Sanity, compared to the developer-defined max dimensions. If no max width and height are provided, the width and height props remain undefined. This is intentional, so that the fill prop can be properly utilized.

export function applyCropToImageSource(src: string, crop?: SanityCrop, width?: number, height?: number) {
    if (!crop || !width || !height) return src

    const { top, left, bottom, right } = crop

    const croppedWidth = width - right * width,
        croppedHeight = height - bottom * height

    const rect = `&rect=${Math.round(left)},${Math.round(top)},${Math.round(croppedWidth)},${Math.round(croppedHeight)}`

    return src + rect
}

export function applyHotspotToImageSource(src: string, hotspotCoords?: Pick<SanityHotspot, 'x' | 'y'>) {
    if (!hotspotCoords) return src

    const { x, y } = hotspotCoords

    const fx = `&fx=${x}`,
        fy = `&fy=${y}`

    if (src.includes('&crop=') && !src.includes('&crop=focalpoint')) {
        src = src.replace(
            /&crop=(top|bottom|left|right|top,left|top,right|bottom,left|bottom,right|center|entropy)/,
            '&crop=focalpoint',
        )
    } else {
        src = src + `&crop=focalpoint`
    }

    if (!Number.isNaN(x) && x <= 1 && x >= 0) src = src + fx
    if (!Number.isNaN(y) && y <= 1 && y >= 0) src = src + fy

    return src
}

/**
 * # Get Image Props for Sizing from Sanity
 *
 * - Returns src, height, and width for `next/image` component
 * - Both sanity and max heights and widths must be included to include height and width props
 * - The src will have focalpoints and cropping applied to it, according to the provided crop, hotspot, and dimensions.
 */
export function getImagePropsForSizingFromSanity(
    src: string,
    {
        crop,
        height,
        hotspot,
        width,
    }: Partial<{
        crop: SanityCrop
        height: Partial<{ sanity: number; max: number }>
        hotspot: SanityHotspot
        width: Partial<{ sanity: number; max: number }>
    }>,
): Pick<ImageProps, 'src' | 'height' | 'width'> {
    return {
        src: applyHotspotToImageSource(applyCropToImageSource(src, crop, width?.sanity, height?.sanity), hotspot),
        height: height?.max ? Math.min(height.sanity || Infinity, height.max) : undefined,
        width: width?.max ? Math.min(width.sanity || Infinity, width.max) : undefined,
    }
}

And lastly, it should be noted that the next.config.ts is modified to implement a custom loader to take advantage of Sanity's built image pipeline.

// next.config.ts

import type { NextConfig } from 'next'

const nextConfig: NextConfig = {
    images: {
        formats: ['image/webp'],
        loader: 'custom',
        loaderFile: './utils/sanity-image-loader.ts',
        remotePatterns: [
            {
                protocol: 'https',
                hostname: 'cdn.sanity.io',
                pathname: '/images/[project_id]/[dataset]/**',
                port: '',
            },
        ],
    },
}

export default nextConfig
// sanity-image-loader.ts

// * Image
import { ImageLoaderProps } from 'next/image'

export default function imageLoader({ src, width, quality }: ImageLoaderProps) {
    if (src.includes('cdn.sanity.io')) {
        const url = new URL(src)

        const maxW = Number(url.searchParams.get('max-w'))

        url.searchParams.set('w', `${!maxW || width < maxW ? width : maxW}`)
        if (quality) url.searchParams.set('q', `${quality}`)

        return url.toString()
    }

    return src
}

Utilizing the hotspot dynamically

Now that we got the boring stuff out of the way, let's talk about how implementation of the hotspot actually works.

The hotspot object is defined like this (in TypeScript):

type SanityHotspot = {
    x: number
    y: number
    width: number
    height: number
}

All of these values are numbers 0-1, which means multiplying each value by 100 and adding a % at the end, will generally be how we will implement the values.

x and y are the center of the hotspot. width and height are fractions of the dimensions of the image.

Now there are certainly different ways of using these values to get the results you're looking for (e.g. top, left, and/or translate), but I wanted to use the object-position CSS property, since it doesn't require wrapping the <img> element in a <div> and it works well with object-fit: cover;.

The most important thing to dynamically position the image to keep the hotspot in view is handling resize events. Since I'm using Next.js, I created a React hook to handle this.

useResize

I made this hook to return the dimensions of either the specified element, or the window, so it can be used for anything. In our use case, the dimensions of the image is all we care about.

'use client'

import { RefObject, useEffect, useState } from 'react'

export function useResize(el?: RefObject<HTMLElement | null> | HTMLElement) {
    const [dimensions, setDimensions] = useState({ width: 0, height: 0 })

    const handleResize = () => {
        const trackedElement = el ? ('current' in el ? el.current : el) : null

        setDimensions({
            width: trackedElement ? trackedElement.clientWidth : window.innerWidth,
            height: trackedElement ? trackedElement.clientHeight : window.innerWidth,
        })
    }

    useEffect(() => {
        if (typeof window !== 'undefined') {
            handleResize()
            window.addEventListener('resize', handleResize)
        }

        return () => {
            window.removeEventListener('resize', handleResize)
        }
    }, [])

    return dimensions
}

Custom image component

Now that we have our useResize hook, we can use it and apply the object-position to dynamically position the image to keep the hotspot in view. Naturally, we'll want to create a new component, so it can be used easily when we need it.

This image component is built off of the next/image component, since we still want to take advantage of all that that component has to offer.

'use client'

// * Types
import { SanityHotspot } from '@/typings/sanity'

export type ImgProps = ImageProps & { hotspotPositioning?: { aspectRatio?: number; hotspot?: SanityHotspot } }

// * React
import { RefObject, useEffect, useRef, useState } from 'react'

// * Hooks
import { useResize } from '@/hooks/use-resize'

// * Components
import Image, { ImageProps } from 'next/image'

export default function Img({ hotspotPositioning, style, ...props }: ImgProps) {
    const imageRef = useRef<HTMLImageElement>(null),
        { objectPosition } = useHotspot({ ...hotspotPositioning, imageRef })

    return <Image {...props} ref={imageRef} style={{ ...style, objectPosition }} />
}

Thankfully that part was really simple. I'm sure you noticed we still need to implement this useHotspot hook that returns the objectPosition property. First I just wanted to address the changes we made to the ImageProps from next/image.

We added a single property to make it as easy as possible to use. The hotspotPositioning prop optionally accepts both the aspectRatio and the hotspot. Both of these are easily pulled in using the groqImage function.

{ hotspotPositioning?: {
    aspectRatio?: number
    hotspot?: SanityHotspot
} }

Pitfall

It is possible that the aspectRatio will not be available if you aren't using the Media plugin for Sanity.


If you do not provide both of these, the hotspot will not be dynamically applied.

Okay—the tough part. How exactly does the useHotspot hook calculate the coordinates of the objectPosition property?

By using a useEffect hook, we are able to update the objectPosition useState each time the width and/or height of the <img> element changes. Before actually running any calculations, we always check whether the hotspot and aspectRatio are provided, so—although if you know you don't need to dynamically position the hotspot, you shouldn't use this component—it shouldn't hurt performance if you don't have either of those.

The containerAspectRatio is the aspect ratio of the part of the image that is actually visible. By comparing this to the aspectRatio, which is the full image, we can know which sides the image is being cropped on by the container.

By default we use the x and y coordinates of the hotspot for the objectPosition, in the case the hotspot isn't being cutoff at all..

Regardless of whether the image is being cropped vertically or horizontally the calculation is basically the same. First, it calculates the aspect ratio of the visible area and it uses the result to determine how far off the overflow is on both sides, in a decimal format (0-1). Next, it calculates how far off—if at all—the hotspot bound overflow. By comparing each respective side's overflow to its hotspot overflowing side counterpart, we are able to determine what direction the objectPosition needs to move.

It's important to note that objectPosition does not move the image the same way using top, left, or translate does. Where positive values move the image down and/or right and negative values move the image up and/or left, objectPosition moves the image within its containing dimensions. This means—assuming we start at 50% 50%—making the value lower moves the image right or down respectively, and making the value higher moves the image left or up respectively. This is an inverse from the other positioning properties, and objectPosition doesn't use negative values (at least not for how we want to use it). This is why the calculations are {x or y} ± ({total overflow amount} - {hotspot overflow amount}).

Lastly, we have the situation where two sides are overflowing. In this case we want to balance how much each side is overflowing to find a middle ground. This is simply 2 * {x or y} - 0.5.

Once calculations are made, we convert the numbers to a percentage with a min max statement to make sure it never gets inset.

function useHotspot({
    aspectRatio,
    hotspot,
    imageRef,
}: {
    aspectRatio?: number
    hotspot?: SanityHotspot
    imageRef?: RefObject<HTMLImageElement | null>
}) {
    const [objectPosition, setObjectPosition] = useState('50% 50%'),
        { width, height } = useResize(imageRef)

    useEffect(() => {
        if (hotspot && aspectRatio) {
            const containerAspectRatio = width / height

            const { height: hotspotHeight, width: hotspotWidth, x, y } = hotspot

            let positionX = x,
                positionY = y

            if (containerAspectRatio > aspectRatio) {
                // Container is wider than the image (proportionally)
                // Image will be fully visible horizontally, but cropped vertically

                // Calculate visible height ratio (what portion of the image height is visible)
                const visibleHeightRatio = aspectRatio / containerAspectRatio

                // Calculate the visible vertical bounds (in normalized coordinates 0-1)
                const visibleTop = 0.5 - visibleHeightRatio / 2,
                    visibleBottom = 0.5 + visibleHeightRatio / 2

                const hotspotTop = y - hotspotHeight / 2,
                    hotspotBottom = y + hotspotHeight / 2

                // Hotspot extends above the visible area, shift it down
                if (hotspotTop < visibleTop) positionY = y - (visibleTop - hotspotTop)

                // Hotspot extends below the visible area, shift it up
                if (hotspotBottom > visibleBottom) positionY = y + (hotspotBottom - visibleBottom)

                // Hotspot extends above and below the visible area, center it vertically
                if (hotspotTop < visibleTop && hotspotBottom > visibleBottom) positionY = 2 * y - 0.5
            } else {
                // Container is taller than the image (proportionally)
                // Image will be fully visible vertically, but cropped horizontally

                // Calculate visible width ratio (what portion of the image width is visible)
                const visibleWidthRatio = containerAspectRatio / aspectRatio

                // Calculate the visible horizontal bounds (in normalized coordinates 0-1)
                const visibleLeft = 0.5 - visibleWidthRatio / 2,
                    visibleRight = 0.5 + visibleWidthRatio / 2

                const hotspotLeft = x - hotspotWidth / 2,
                    hotspotRight = x + hotspotWidth / 2

                // Hotspot extends to the left of the visible area, shift it right
                if (hotspotLeft < visibleLeft) positionX = x - (visibleLeft - hotspotLeft)

                // Hotspot extends to the right of the visible area, shift it left
                if (hotspotRight > visibleRight) positionX = x + (hotspotRight - visibleRight)

                // Hotspot extends beyond the visible area on both sides, center it
                if (hotspotLeft < visibleLeft && hotspotRight > visibleRight) positionX = 2 * x - 0.5
            }

            positionX = Math.max(0, Math.min(1, positionX))
            positionY = Math.max(0, Math.min(1, positionY))

            setObjectPosition(`${positionX * 100}% ${positionY * 100}%`)
        }
    }, [aspectRatio, hotspot, width, height])

    return { objectPosition }
}

Complete component

'use client'

// * Types
import { SanityHotspot } from '@/typings/sanity'

export type ImgProps = ImageProps & { hotspotPositioning?: { aspectRatio?: number; hotspot?: SanityHotspot } }

// * React
import { RefObject, useEffect, useRef, useState } from 'react'

// * Hooks
import { useResize } from '@/hooks/use-resize'

// * Components
import Image, { ImageProps } from 'next/image'

function useHotspot({
    aspectRatio,
    hotspot,
    imageRef,
}: {
    aspectRatio?: number
    hotspot?: SanityHotspot
    imageRef?: RefObject<HTMLImageElement | null>
}) {
    const [objectPosition, setObjectPosition] = useState('50% 50%'),
        { width, height } = useResize(imageRef)

    useEffect(() => {
        if (hotspot && aspectRatio) {
            const containerAspectRatio = width / height

            const { height: hotspotHeight, width: hotspotWidth, x, y } = hotspot

            let positionX = x,
                positionY = y

            if (containerAspectRatio > aspectRatio) {
                // Container is wider than the image (proportionally)
                // Image will be fully visible horizontally, but cropped vertically

                // Calculate visible height ratio (what portion of the image height is visible)
                const visibleHeightRatio = aspectRatio / containerAspectRatio

                // Calculate the visible vertical bounds (in normalized coordinates 0-1)
                const visibleTop = 0.5 - visibleHeightRatio / 2,
                    visibleBottom = 0.5 + visibleHeightRatio / 2

                const hotspotTop = y - hotspotHeight / 2,
                    hotspotBottom = y + hotspotHeight / 2

                // Hotspot extends above the visible area, shift it down
                if (hotspotTop < visibleTop) positionY = y - (visibleTop - hotspotTop)

                // Hotspot extends below the visible area, shift it up
                if (hotspotBottom > visibleBottom) positionY = y + (hotspotBottom - visibleBottom)

                // Hotspot extends above and below the visible area, center it vertically
                if (hotspotTop < visibleTop && hotspotBottom > visibleBottom) positionY = 2 * y - 0.5
            } else {
                // Container is taller than the image (proportionally)
                // Image will be fully visible vertically, but cropped horizontally

                // Calculate visible width ratio (what portion of the image width is visible)
                const visibleWidthRatio = containerAspectRatio / aspectRatio

                // Calculate the visible horizontal bounds (in normalized coordinates 0-1)
                const visibleLeft = 0.5 - visibleWidthRatio / 2,
                    visibleRight = 0.5 + visibleWidthRatio / 2

                const hotspotLeft = x - hotspotWidth / 2,
                    hotspotRight = x + hotspotWidth / 2

                // Hotspot extends to the left of the visible area, shift it right
                if (hotspotLeft < visibleLeft) positionX = x - (visibleLeft - hotspotLeft)

                // Hotspot extends to the right of the visible area, shift it left
                if (hotspotRight > visibleRight) positionX = x + (hotspotRight - visibleRight)

                // Hotspot extends beyond the visible area on both sides, center it
                if (hotspotLeft < visibleLeft && hotspotRight > visibleRight) positionX = 2 * x - 0.5
            }

            positionX = Math.max(0, Math.min(1, positionX))
            positionY = Math.max(0, Math.min(1, positionY))

            setObjectPosition(`${positionX * 100}% ${positionY * 100}%`)
        }
    }, [aspectRatio, hotspot, width, height])

    return { objectPosition }
}

export default function Img({ hotspotPositioning, style, ...props }: ImgProps) {
    const imageRef = useRef<HTMLImageElement>(null),
        { objectPosition } = useHotspot({ ...hotspotPositioning, imageRef })

    return <Image {...props} ref={imageRef} style={{ ...style, objectPosition }} />
}

Happy coding :)

I hope this is helpful for people, as I have been trying to find a solid way to implement this for far too long. If this was helpful to you or you have any recommendations to make it better, please let me know!

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (2.5): please let me know
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: andrilla

79562751

Date: 2025-04-08 18:01:50
Score: 6 🚩
Natty: 5
Report link

please can you help me here I am also developing the application using dwr and spring 6, Java 17 but I'm getting exception engine.js isn't loading.

Getting exception as remote method is undefined my java methods isn't getting called

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): can you help me
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: DMG

79562742

Date: 2025-04-08 17:59:48
Score: 6 🚩
Natty: 5
Report link

https://robbelroot.de/blog/csharp-bluetooth-example-searching-listing-devices/ , follow this link. This will help you

Reasons:
  • Blacklisted phrase (1): this link
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hariharan Alexander

79562727

Date: 2025-04-08 17:46:44
Score: 9 🚩
Natty: 6
Report link

Kudos to @Pythoner! You saved my day. I was sure I tried everyting with API Keys lol

Reasons:
  • Blacklisted phrase (2): You saved my
  • Blacklisted phrase (2): saved my day
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • User mentioned (1): @Pythoner
  • Single line (0.5):
  • Low reputation (1):
Posted by: MechitarX

79562658

Date: 2025-04-08 17:03:31
Score: 10 🚩
Natty:
Report link

from gtts import gTTS

from pydub import AudioSegment

from pydub.playback import play

# Letra para convertir en audio (resumida y adaptada al estilo narrado tipo guía vocal)

lyrics = """

Una le di confianza, me enamoró y en su juego caí.

La segunda vino con lo mismo, me mintió, yo también le mentí.

Por eso es que ya no creo en el amor.

Gracias a todas esas heridas fue que yo aprendí...

Una conmigo jugó, y ahora con to’a yo juego.

En mi corazón no hay amor, no creo en sentimientos.

Soy un cabrón, se las pego a to’as.

Me tiro a esta, me tiro a la otra.

Mala mía, mai, es que me enzorra.

No quiero que más nadie me hable de amor, ya me cansé.

To’ esos trucos ya me los sé, esos dolores los pasé.

Quisiera que te sientas como yo me siento.

Quisiera cambiarle el final a este cuento.

Una conmigo quiso jugar, pues yo jugué con tres.

Una atrevida me quiso enchular, yo enchulé a las tres.

Y ahora no vuelvo a caer, me quedo con las putas y el poder.

Hoy te odio en secreto, si pudiera te devuelvo los besos.

Me arrepiento mil veces de haber confiado en ti.

Los chocolates y las flores, ahora son dolores.

Y después de la lluvia no hay colores.

Una conmigo jugó y ahora con todas yo juego.

En mi corazón no hay amor, tengo el alma en fuego.

Y no me hables de sentimientos, porque eso en mí ya está muerto.

"""

# Convertir texto a voz

tts = gTTS(lyrics, lang='es', slow=False)

audio_path = "/mnt/data/0_Sentimientos_GuiaVoz.mp3"

tts.save(audio_path)

audio_path

Reasons:
  • Blacklisted phrase (2): tengo
  • Blacklisted phrase (1): está
  • Blacklisted phrase (2): Gracias
  • Blacklisted phrase (1): porque
  • Blacklisted phrase (1): todas
  • RegEx Blacklisted phrase (2.5): mismo
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Fernando Free fire

79562657

Date: 2025-04-08 17:03:31
Score: 4
Natty: 5
Report link

Thank you for the interesting information

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: NoNoah

79562626

Date: 2025-04-08 16:51:27
Score: 4.5
Natty: 4.5
Report link

я тоже изменил свой package.json на то что было указано в терминале после это написал в терминале npx expo i --fix и все заработало)

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • No latin characters (1.5):
  • Low reputation (1):
Posted by: Nikita Kochnev

79562543

Date: 2025-04-08 16:04:14
Score: 7.5 🚩
Natty: 4
Report link

Qudos!

30 chracters, why?............

Reasons:
  • Blacklisted phrase (0.5): why?
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Has no white space (0.5):
  • No latin characters (0.5):
  • Filler text (0.5): ............
  • Low reputation (1):
Posted by: Stanisław Łazowy

79562526

Date: 2025-04-08 15:55:11
Score: 4
Natty: 4.5
Report link

Another option for a maintained package for this use-case: https://packagist.org/packages/wikimedia/minify

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

79562524

Date: 2025-04-08 15:54:10
Score: 4.5
Natty:
Report link

Thanks for this discussion, I am trying to the same for my application but I have to do this for several images sequentially, So I tried the same but in a for loop, for eg:

for i_ in range(2):
    fig, ax = plt.subplots()

    # ax.add_artist(ab)

    for row in range(1,30):
        tolerance = 30 # points
        ax.plot(np.arange(0,15,0.5),[i*row/i for i in range(1,15*2+1)], 'ro-', picker=tolerance, zorder=0)


    fig.canvas.callbacks.connect('pick_event', on_pick)
    klicker = clicker(ax, ["event"], markers=["x"], **{"linestyle": "--"})


    plt.draw()
    plt.savefig('add_picture_matplotlib_figure_{i_}.png',bbox_inches='tight')
    plt.show()

But i get the click functionality only for the last image. How can i get it done for all the images?




Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): How can i
  • Blacklisted phrase (1): I have to do
  • Blacklisted phrase (1): I am trying to
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Seena

79562519

Date: 2025-04-08 15:52:09
Score: 4.5
Natty: 5.5
Report link

what is the js in the first comment before the html

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): what is the
  • Low reputation (1):
Posted by: kittygurl

79562501

Date: 2025-04-08 15:46:07
Score: 4
Natty:
Report link

Agree with @Nguyen above- I had this error across Mac and PC, simply restarting the kernel in Jupyter fixed it in both cases.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @Nguyen
  • Single line (0.5):
  • Low reputation (1):
Posted by: Victor Perotti

79562495

Date: 2025-04-08 15:44:05
Score: 4.5
Natty:
Report link

There is a thread for this bug in Apple Developer Forums: https://developer.apple.com/forums/thread/778471

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

79562488

Date: 2025-04-08 15:40:04
Score: 4
Natty:
Report link

grep -E '[a-zA-Z]*[[:space:]]foo' <thefilename> | grep -v '?'

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Allan

79562442

Date: 2025-04-08 15:19:58
Score: 5.5
Natty:
Report link

+1

I have the same issue (for a arm64 arch) and did not find a solution.

Happens for different IDEs (vscode, cursor, goland) so I assume the issue is with the go & dlv.

I also tried to install go with Homebrew, go website, and gvm. None solved the issue.

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (1):
Posted by: Naama Peled

79562440

Date: 2025-04-08 15:18:58
Score: 4
Natty:
Report link

Damn it, after I posted it, I Just realized I'm using : , not =. Problem is solved.

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

79562404

Date: 2025-04-08 15:02:52
Score: 4
Natty:
Report link

For anyone that is searching for this with no luck. Here is the documentation from MS: Share-Types

Reasons:
  • Blacklisted phrase (1): no luck
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: barracuda

79562357

Date: 2025-04-08 14:43:46
Score: 4
Natty:
Report link

I am also facing the same issue, and even when I try to install an older version of Swagger, I still face the same problem.

PS C:\Users\LENOVO\OneDrive\Desktop\practical-round> npm i @nestjs/[email protected] npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected]
npm ERR! Found: @nestjs/[email protected] npm ERR! node_modules/@nestjs/common npm ERR! @nestjs/common@"^10.0.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @nestjs/common@"^9.0.0" from @nestjs/[email protected] npm ERR! node_modules/@nestjs/swagger npm ERR! @nestjs/swagger@"6.3.0" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! npm ERR! For a full report see: npm ERR! C:\Users\LENOVO\AppData\Local\npm-cache_logs\2025-04-08T14_34_57_230Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\LENOVO\AppData\Local\npm-cache_logs\2025-04-08T14_34_57_230Z-debug-0.log

Reasons:
  • Blacklisted phrase (1): I am also facing the same issue
  • Long answer (-1):
  • No code block (0.5):
  • Me too answer (2.5): I am also facing the same issue
  • Me too answer (0): face the same problem
  • Low reputation (1):
Posted by: Jaydeep Patel

79562337

Date: 2025-04-08 14:32:42
Score: 4.5
Natty:
Report link

sql problem, see the solution here

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

79562327

Date: 2025-04-08 14:30:41
Score: 6.5 🚩
Natty:
Report link

I have the same problem, I couldn't solve it for about two months, but now I found a solution

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Amr Abdelaziz

79562320

Date: 2025-04-08 14:28:40
Score: 4.5
Natty: 4.5
Report link

llvm-ar error

Unfortunately this is the error I get when trying to run the same command. How are you able to build it? What version of the llvm project are you building?

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

79562302

Date: 2025-04-08 14:22:36
Score: 6 🚩
Natty:
Report link

((1,"c"), (23, "a"), (32,"b"))

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • No latin characters (1.5):
  • Low reputation (1):
Posted by: user23453940

79562267

Date: 2025-04-08 14:05:31
Score: 5
Natty: 5.5
Report link

same problem here (other tables) but the "kids-table" aren't filtered as expected.

Reasons:
  • RegEx Blacklisted phrase (1): same problem
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: wic70

79562251

Date: 2025-04-08 13:58:28
Score: 8 🚩
Natty:
Report link

I have tried several attempts and when I run sudo plank, it works without any issues. However, when I run plank normally (without sudo), the problem occurs. Could anyone suggest what kind of permissions or adjustments are needed to make it work without running as root?

Thanks in advance for your help!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2.5): Could anyone suggest what
  • RegEx Blacklisted phrase (3): Thanks in advance
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Murat Yiğit

79562210

Date: 2025-04-08 13:47:24
Score: 4.5
Natty:
Report link

I know that each format has its own compression and I know that decompression is long and complicated.

But I would like to do the same thing using libraries that allow conversion to a same single format that is similar to .ppm.

any suggestions?

PS. trying .ppm, it stores RGB values ​​as unsigned

Reasons:
  • RegEx Blacklisted phrase (2): any suggestions?
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Armando Pipitone

79562202

Date: 2025-04-08 13:44:23
Score: 4
Natty:
Report link

this info is also available via their api without web scraping

https://github.com/EnderLocke/pyespn

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

79562200

Date: 2025-04-08 13:44:23
Score: 4
Natty: 4.5
Report link

Just published an article few days ago: https://stripearmy.medium.com/i-fixed-a-decade-long-ios-safari-problem-0d85f76caec0
And the npm package: https://www.npmjs.com/package/react-ios-scroll-lock

Hope this fixes your problem.

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Arsen Mkrtchyan

79562198

Date: 2025-04-08 13:44:23
Score: 4.5
Natty: 5.5
Report link

Someone help me with the script where it will give first level second level and thrid approval details configrued in the access policy

Reasons:
  • Blacklisted phrase (1): help me
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user30210499

79562167

Date: 2025-04-08 13:28:17
Score: 4.5
Natty: 4
Report link

I am experiencing the same problem!

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

79562150

Date: 2025-04-08 13:20:14
Score: 5.5
Natty: 5
Report link

can´t make it work. ive tried other options but they never put qty, just one product. yours just come with error and i cant see de qty field. any sugestions?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): can
  • Low reputation (1):
Posted by: Arde Babilonia

79562147

Date: 2025-04-08 13:19:13
Score: 7.5 🚩
Natty: 4.5
Report link

It is also not working for me!
Maybe a mistake in the hook?

Reasons:
  • RegEx Blacklisted phrase (3): not working for me
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Marcel Kraan

79562127

Date: 2025-04-08 13:13:10
Score: 6.5 🚩
Natty:
Report link

I faced a similar problem earlier. Try to see the solution in this question: How to stretch the DropdownMenu width to the full width of the screen?

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

79562058

Date: 2025-04-08 12:42:01
Score: 8 🚩
Natty: 4.5
Report link

@Raja Talha Do you find the Solution to this

Reasons:
  • RegEx Blacklisted phrase (2.5): Do you find the
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @Raja
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Jijith Jayakumar

79562040

Date: 2025-04-08 12:35:58
Score: 4
Natty: 4
Report link

it works just fine and gave me my exact location good job!

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

79562031

Date: 2025-04-08 12:31:57
Score: 4.5
Natty: 4
Report link

Can someone please guide me on how to convert a PyTorch .ckpt model to a Hugging Face-supported format so that I can use it with pre-trained models?

The model I'm trying to convert was trained using PyTorch Lightning, and you can find it here:
🔗 hydroxai/pii_model_longtransfomer_version

I need to use this model with the following GitHub repository for testing:
🔗 HydroXai/pii-masker

I tried using Hugging Face Spaces to convert the model to .safetensors format. However, the resulting model produces poor results and triggers several warnings.

These are the warnings I'm seeing:



Some weights of the model checkpoint at /content/pii-masker/pii-masker/output_model/deberta3base_1024 were not used when initializing DebertaV2ForTokenClassification: ['deberta.head.lstm.bias_hh_l0', 'deberta.head.lstm.bias_hh_l0_reverse', 'deberta.head.lstm.bias_ih_l0', 'deberta.head.lstm.bias_ih_l0_reverse', 'deberta.head.lstm.weight_hh_l0', 'deberta.head.lstm.weight_hh_l0_reverse', 'deberta.head.lstm.weight_ih_l0', 'deberta.head.lstm.weight_ih_l0_reverse', 'deberta.output.bias', 'deberta.output.weight', 'deberta.transformers_model.embeddings.LayerNorm.bias', 'deberta.transformers_model.embeddings.LayerNorm.weight', 'deberta.transformers_model.embeddings.token_type_embeddings.weight', 'deberta.transformers_model.embeddings.word_embeddings.weight', 'deberta.transformers_model.encoder.layer.0.attention.output.LayerNorm.bias', 'deberta.transformers_model.encoder.layer.0.attention.output.LayerNorm.weight', 'deberta.transformers_model.encoder.layer.0.attention.output.dense.bias', 'deberta.transformers_model.encoder.layer.0.attention.output.dense.weight', 'deberta.transformers_model.encoder.layer.0.attention.self.key.bias', 'deberta.transformers_model.encoder.layer.0.attention.self.key.weight', 'deberta.transformers_model.encoder.layer.0.attention.self.key_global.bias', 'deberta.transformers_model.encoder.layer.0.attention.self.key_global.weight', 'deberta.transformers_model.encoder.layer.0.attention.self.query.bias', 'deberta.transformers_model.encoder.layer.0.attention.self.query.weight', 'deberta.transformers_model.encoder.layer.0.attention.self.query_global.bias', 'deberta.transformers_model.encoder.layer.0.attention.self.query_global.weight', 'deberta.transformers_model.encoder.layer.0.attention.self.value.bias', 'deberta.transformers_model.encoder.layer.0.attention.self.value.weight', 'deberta.transformers_model.encoder.layer.0.attention.self.value_global.bias', 'deberta.transformers_model.encoder.layer.0.attention.self.value_global.weight', 'deberta.transformers_model.encoder.layer.0.intermediate.dense.bias', 'deberta.transformers_model.encoder.layer.0.intermediate.dense.weight', 'deberta.transformers_model.encoder.layer.0.output.LayerNorm.bias', 'deberta.transformers_model.encoder.layer.0.output.LayerNorm.weight', 'deberta.transformers_model.encoder.layer.0.output.dense.bias', 'deberta.transformers_model.encoder.layer.0.output.dense.weight', 'deberta.transformers_model.encoder.layer.1.attention.output.LayerNorm.bias', 'deberta.transformers_model.encoder.layer.1.attention.output.LayerNorm.weight', 'deberta.transformers_model.encoder.layer.1.attention.output.dense.bias', 'deberta.transformers_model.encoder.layer.1.attention.output.dense.weight', 'deberta.transformers_model.encoder.layer.1.attention.self.key.bias', 'deberta.transformers_model.encoder.layer.1.attention.self.key.weight', 'deberta.transformers_model.encoder.layer.1.attention.self.key_global.bias', 'deberta.transformers_model.encoder.layer.1.attention.self.key_global.weight', 'deberta.transformers_model.encoder.layer.1.attention.self.query.bias', 'deberta.transformers_model.encoder.layer.1.attention.self.query.weight', 'deberta.transformers_model.encoder.layer.1.attention.self.query_global.bias', 'deberta.transformers_model.encoder.layer.1.attention.self.query_global.weight', 'deberta.transformers_model.encoder.layer.1.attention.self.value.bias', 'deberta.transformers_model.encoder.layer.1.attention.self.value.weight', 'deberta.transformers_model.encoder.layer.1.attention.self.value_global.bias', 'deberta.transformers_model.encoder.layer.1.attention.self.value_global.weight', 'deberta.transformers_model.encoder.layer.1.intermediate.dense.bias', 'deberta.transformers_model.encoder.layer.1.intermediate.dense.weight', 'deberta.transformers_model.encoder.layer.1.output.LayerNorm.bias', 'deberta.transformers_model.encoder.layer.1.output.LayerNorm.weight', 'deberta.transformers_model.encoder.layer.1.output.dense.bias', 'deberta.transformers_model.encoder.layer.1.output.dense.weight', 'deberta.transformers_model.encoder.layer.10.attention.output.LayerNorm.bias', 'deberta.transformers_model.encoder.layer.10.attention.output.LayerNorm.weight', 'deberta.transformers_model.encoder.layer.10.attention.output.dense.bias', 'deberta.transformers_model.encoder.layer.10.attention.output.dense.weight', 'deberta.transformers_model.encoder.layer.10.attention.self.key.bias', 'deberta.transformers_model.encoder.layer.10.attention.self.key.weight', 'deberta.transformers_model.encoder.layer.10.attention.self.key_global.bias', 'deberta.transformers_model.encoder.layer.10.attention.self.key_global.weight', 'deberta.transformers_model.encoder.layer.10.attention.self.query.bias', 'deberta.transformers_model.encoder.layer.10.attention.self.query.weight', 'deberta.transformers_model.encoder.layer.10.attention.self.query_global.bias', 'deberta.transformers_model.encoder.layer.10.attention.self.query_global.weight', 'deberta.transformers_model.encoder.layer.10.attention.self.value.bias', 'deberta.transformers_model.encoder.layer.10.attention.self.value.weight', 'deberta.transformers_model.encoder.layer.10.attention.self.value_global.bias', 'deberta.transformers_model.encoder.layer.10.attention.self.value_global.weight', 'deberta.transformers_model.encoder.layer.10.intermediate.dense.bias', 'deberta.transformers_model.encoder.layer.10.intermediate.dense.weight', 'deberta.transformers_model.encoder.layer.10.output.LayerNorm.bias', 'deberta.transformers_model.encoder.layer.10.output.LayerNorm.weight', 'deberta.transformers_model.encoder.layer.10.output.dense.bias', 'deberta.transformers_model.encoder.layer.10.output.dense.weight', 'deberta.transformers_model.encoder.layer.11.attention.output.LayerNorm.bias', 'deberta.transformers_model.encoder.layer.11.attention.output.LayerNorm.weight', 'deberta.transformers_model.encoder.layer.11.attention.output.dense.bias', 'deberta.transformers_model.encoder.layer.11.attention.output.dense.weight', 'deberta.transformers_model.encoder.layer.11.attention.self.key.bias', 'deberta.transformers_model.encoder.layer.11.attention.self.key.weight', 'deberta.transformers_model.encoder.layer.11.attention.self.key_global.bias', 'deberta.transformers_model.encoder.layer.11.attention.self.key_global.weight', 'deberta.transformers_model.encoder.layer.11.attention.self.query.bias', 'deberta.transformers_model.encoder.layer.11.attention.self.query.weight', 'deberta.transformers_model.encoder.layer.11.attention.self.query_global.bias', 'deberta.transformers_model.encoder.layer.11.attention.self.query_global.weight', 'deberta.transformers_model.encoder.layer.11.attention.self.value.bias', 'deberta.transformers_model.encoder.layer.11.attention.self.value.weight', 'deberta.transformers_model.encoder.layer.11.attention.self.value_global.bias', 'deberta.transformers_model.encoder.layer.11.attention.self.value_global.weight', 'deberta.transformers_model.encoder.layer.11.intermediate.dense.bias', 'deberta.transformers_model.encoder.layer.11.intermediate.dense.weight', 'deberta.transformers_model.encoder.layer.11.output.LayerNorm.bias', 'deberta.transformers_model.encoder.layer.11.output.LayerNorm.weight', 'deberta.transformers_model.encoder.layer.11.output.dense.bias', 'deberta.transformers_model.encoder.layer.11.output.dense.weight', 'deberta.transformers_model.encoder.layer.2.attention.output.LayerNorm.bias', 'deberta.transformers_model.encoder.layer.2.attention.output.LayerNorm.weight', 'deberta.transformers_model.encoder.layer.2.attention.output.dense.bias', 'deberta.transformers_model.encoder.layer.2.attention.output.dense.weight', 'deberta.transformers_model.encoder.layer.2.attention.self.key.bias', 'deberta.transformers_model.encoder.layer.2.attention.self.key.weight', 'deberta.transformers_model.encoder.layer.2.attention.self.key_global.bias', 'deberta.transformers_model.encoder.layer.2.attention.self.key_global.weight', 'deberta.transformers_model.encoder.layer.2.attention.self.query.bias', 'deberta.transformers_model.encoder.layer.2.attention.self.query.weight', 'deberta.transformers_model.encoder.layer.2.attention.self.query_global.bias', 'deberta.transformers_model.encoder.layer.2.attention.self.query_global.weight', 'deberta.transformers_model.encoder.layer.2.attention.self.value.bias', 'deberta.transformers_model.encoder.layer.2.attention.self.value.weight', 'deberta.transformers_model.encoder.layer.2.attention.self.value_global.bias', 'deberta.transformers_model.encoder.layer.2.attention.self.value_global.weight', 'deberta.transformers_model.encoder.layer.2.intermediate.dense.bias', 'deberta.transformers_model.encoder.layer.2.intermediate.dense.weight', 'deberta.transformers_model.encoder.layer.2.output.LayerNorm.bias', 'deberta.transformers_model.encoder.layer.2.output.LayerNorm.weight', 'deberta.transformers_model.encoder.layer.2.output.dense.bias', 'deberta.transformers_model.encoder.layer.2.output.dense.weight', 'deberta.transformers_model.encoder.layer.3.attention.output.LayerNorm.bias', 'deberta.transformers_model.encoder.layer.3.attention.output.LayerNorm.weight', 'deberta.transformers_model.encoder.layer.3.attention.output.dense.bias', 'deberta.transformers_model.encoder.layer.3.attention.output.dense.weight', 'deberta.transformers_model.encoder.layer.3.attention.self.key.bias', 'deberta.transformers_model.encoder.layer.3.attention.self.key.weight', 'deberta.transformers_model.encoder.layer.3.attention.self.key_global.bias', 'deberta.transformers_model.encoder.layer.3.attention.self.key_global.weight', 'deberta.transformers_model.encoder.layer.3.attention.self.query.bias', 'deberta.transformers_model.encoder.layer.3.attention.self.query.weight', 'deberta.transformers_model.encoder.layer.3.attention.self.query_global.bias', 'deberta.transformers_model.encoder.layer.3.attention.self.query_global.weight', 'deberta.transformers_model.encoder.layer.3.attention.self.value.bias', 'deberta.transformers_model.encoder.layer.3.attention.self.value.weight', 'deberta.transformers_model.encoder.layer.3.attention.self.value_global.bias', 'deberta.transformers_model.encoder.layer.3.attention.self.value_global.weight', 'deberta.transformers_model.encoder.layer.3.intermediate.dense.bias', 'deberta.transformers_model.encoder.layer.3.intermediate.dense.weight', 'deberta.transformers_model.encoder.layer.3.output.LayerNorm.bias', 'deberta.transformers_model.encoder.layer.3.output.LayerNorm.weight', 'deberta.transformers_model.encoder.layer.3.output.dense.bias', 'deberta.transformers_model.encoder.layer.3.output.dense.weight', 'deberta.transformers_model.encoder.layer.4.attention.output.LayerNorm.bias', 'deberta.transformers_model.encoder.layer.4.attention.output.LayerNorm.weight', 'deberta.transformers_model.encoder.layer.4.attention.output.dense.bias', 'deberta.transformers_model.encoder.layer.4.attention.output.dense.weight', 'deberta.transformers_model.encoder.layer.4.attention.self.key.bias', 'deberta.transformers_model.encoder.layer.4.attention.self.key.weight', 'deberta.transformers_model.encoder.layer.4.attention.self.key_global.bias', 'deberta.transformers_model.encoder.layer.4.attention.self.key_global.weight', 'deberta.transformers_model.encoder.layer.4.attention.self.query.bias', 'deberta.transformers_model.encoder.layer.4.attention.self.query.weight', 'deberta.transformers_model.encoder.layer.4.attention.self.query_global.bias', 'deberta.transformers_model.encoder.layer.4.attention.self.query_global.weight', 'deberta.transformers_model.encoder.layer.4.attention.self.value.bias', 'deberta.transformers_model.encoder.layer.4.attention.self.value.weight', 'deberta.transformers_model.encoder.layer.4.attention.self.value_global.bias', 'deberta.transformers_model.encoder.layer.4.attention.self.value_global.weight', 'deberta.transformers_model.encoder.layer.4.intermediate.dense.bias', 'deberta.transformers_model.encoder.layer.4.intermediate.dense.weight', 'deberta.transformers_model.encoder.layer.4.output.LayerNorm.bias', 'deberta.transformers_model.encoder.layer.4.output.LayerNorm.weight', 'deberta.transformers_model.encoder.layer.4.output.dense.bias', 'deberta.transformers_model.encoder.layer.4.output.dense.weight', 'deberta.transformers_model.encoder.layer.5.attention.output.LayerNorm.bias', 'deberta.transformers_model.encoder.layer.5.attention.output.LayerNorm.weight', 'deberta.transformers_model.encoder.layer.5.attention.output.dense.bias', 'deberta.transformers_model.encoder.layer.5.attention.output.dense.weight', 'deberta.transformers_model.encoder.layer.5.attention.self.key.bias', 'deberta.transformers_model.encoder.layer.5.attention.self.key.weight', 'deberta.transformers_model.encoder.layer.5.attention.self.key_global.bias', 'deberta.transformers_model.encoder.layer.5.attention.self.key_global.weight', 'deberta.transformers_model.encoder.layer.5.attention.self.query.bias', 'deberta.transformers_model.encoder.layer.5.attention.self.query.weight', 'deberta.transformers_model.encoder.layer.5.attention.self.query_global.bias', 'deberta.transformers_model.encoder.layer.5.attention.self.query_global.weight', 'deberta.transformers_model.encoder.layer.5.attention.self.value.bias', 'deberta.transformers_model.encoder.layer.5.attention.self.value.weight', 'deberta.transformers_model.encoder.layer.5.attention.self.value_global.bias', 'deberta.transformers_model.encoder.layer.5.attention.self.value_global.weight', 'deberta.transformers_model.encoder.layer.5.intermediate.dense.bias', 'deberta.transformers_model.encoder.layer.5.intermediate.dense.weight', 'deberta.transformers_model.encoder.layer.5.output.LayerNorm.bias', 'deberta.transformers_model.encoder.layer.5.output.LayerNorm.weight', 'deberta.transformers_model.encoder.layer.5.output.dense.bias', 'deberta.transformers_model.encoder.layer.5.output.dense.weight', 'deberta.transformers_model.encoder.layer.6.attention.output.LayerNorm.bias', 'deberta.transformers_model.encoder.layer.6.attention.output.LayerNorm.weight', 'deberta.transformers_model.encoder.layer.6.attention.output.dense.bias', 'deberta.transformers_model.encoder.layer.6.attention.output.dense.weight', 'deberta.transformers_model.encoder.layer.6.attention.self.key.bias', 'deberta.transformers_model.encoder.layer.6.attention.self.key.weight', 'deberta.transformers_model.encoder.layer.6.attention.self.key_global.bias', 'deberta.transformers_model.encoder.layer.6.attention.self.key_global.weight', 'deberta.transformers_model.encoder.layer.6.attention.self.query.bias', 'deberta.transformers_model.encoder.layer.6.attention.self.query.weight', 'deberta.transformers_model.encoder.layer.6.attention.self.query_global.bias', 'deberta.transformers_model.encoder.layer.6.attention.self.query_global.weight', 'deberta.transformers_model.encoder.layer.6.attention.self.value.bias', 'deberta.transformers_model.encoder.layer.6.attention.self.value.weight', 'deberta.transformers_model.encoder.layer.6.attention.self.value_global.bias', 'deberta.transformers_model.encoder.layer.6.attention.self.............'deberta.encoder.layer.9.output.dense.bias', 'deberta.encoder.layer.9.output.dense.weight', 'deberta.encoder.rel_embeddings.weight']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
Reasons:
  • Blacklisted phrase (1): guide me
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (2.5): Can someone please guide me
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can someone please
  • Low reputation (1):
Posted by: Mahnoor Syeda

79561939

Date: 2025-04-08 11:58:47
Score: 6.5
Natty: 7.5
Report link

if you struggle to resolve the problem with python libs. Check this article. it helped me a lot. https://aws.plainenglish.io/easiest-way-to-create-lambda-layers-with-the-required-python-version-d205f59d51f6

Reasons:
  • Blacklisted phrase (1): this article
  • Blacklisted phrase (1): helped me a lot
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: MechitarX

79561888

Date: 2025-04-08 11:27:38
Score: 5
Natty: 5.5
Report link

how can i make noreply mail.Is it enough for me ?

data['h:Reply-To']="" 
Reasons:
  • Blacklisted phrase (0.5): how can i
  • Low length (1.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): how can i
  • Low reputation (1):
Posted by: BCHA

79561880

Date: 2025-04-08 11:22:36
Score: 4
Natty: 4
Report link

Add the folder in which you stored the "my-project-env" to the VSCode workspace.

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

79561873

Date: 2025-04-08 11:18:34
Score: 6.5 🚩
Natty:
Report link

I have the same problem. I couldn't install the solution. I think the problem may not be in the code. If you find the solution, I would be very happy if you share it.

Reasons:
  • 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
  • Single line (0.5):
  • Low reputation (1):
Posted by: Frontmir

79561795

Date: 2025-04-08 10:43:22
Score: 6 🚩
Natty:
Report link

I'm not sure what it is but it's not working for me either. The link Eric gave redirects to support. I created all relevent id's ibm cloud, ibm etc.. but nothing is working.

Reasons:
  • RegEx Blacklisted phrase (3): not working for me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: manhoosbilli1

79561776

Date: 2025-04-08 10:34:17
Score: 7 🚩
Natty:
Report link
Have you found a solution to this problem?
Reasons:
  • RegEx Blacklisted phrase (2.5): Have you found a solution to this problem
  • Low length (1.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: An Nguyen Van

79561745

Date: 2025-04-08 10:16:11
Score: 4
Natty:
Report link

Use Application Like pdAdmin or DBeaver

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

79561734

Date: 2025-04-08 10:12:09
Score: 5.5
Natty:
Report link

My answer is only to refute the answer with the first number of votes, because I can't vote or reply. I followed his instructions and added "source ~/.bash_profile" at the beginning of my ~/.zshrc. Then I executed "source ~/.zshrc" and it gave an error, "-bash: export: `': not a valid identifier". At this time,any "sudo" and "vim" command will not work at all.And my "~/.bashrc" content will be replace by 'eval "$(thefuck --alias)"'.My command config went missing!I could only delete that line "source ~/.bash_profile" and execute "echo $PATH" to check my PATH. I found that "/usr/bin" and "/bin" were missing, which made my basic commands completely invalid. Then I executed "export PATH=$PATH:/usr/bin:/bin" to fix it. Don't try that method lightly!

Reasons:
  • Blacklisted phrase (2): fuck
  • RegEx Blacklisted phrase (2): can't vote
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: rxs-michael

79561707

Date: 2025-04-08 09:57:05
Score: 5
Natty:
Report link

did you resolve this issue? I have working on this issue for days but have no resolutions yet...

Here is my result

04-08 16:44:30 I/TestInvocation: Starting invocation for 'cts' with '[ DeviceBuildInfo{bid=eng.anqizh, serial=a0f32ff5} on device 'a0f32ff5'] 
04-08 16:44:31 E/TestInvocation: Caught exception while running invocation
04-08 16:44:31 E/TestInvocation: Trying to access android partner remote server over internet but failed: Unsupported or unrecognized SSL message
com.android.tradefed.targetprep.TargetSetupError[ANDROID_PARTNER_SERVER_ERROR|500505|DEPENDENCY_ISSUE]: Trying to access android partner remote server over internet but failed: Unsupported or unrecognized SSL message
        at com.android.compatibility.common.tradefed.targetprep.DynamicConfigPusher.resolveUrl(DynamicConfigPusher.java:318)
        at com.android.compatibility.common.tradefed.targetprep.DynamicConfigPusher.setUp(DynamicConfigPusher.java:172)
        at com.android.tradefed.invoker.InvocationExecution.runPreparationOnDevice(InvocationExecution.java:621)
        at com.android.tradefed.invoker.InvocationExecution.runPreparersSetup(InvocationExecution.java:522)
        at com.android.tradefed.invoker.InvocationExecution.doSetup(InvocationExecution.java:375)
        at com.android.tradefed.invoker.TestInvocation.prepareAndRun(TestInvocation.java:624)
        at com.android.tradefed.invoker.TestInvocation.performInvocation(TestInvocation.java:291)
        at com.android.tradefed.invoker.TestInvocation.invoke(TestInvocation.java:1431)
        at com.android.tradefed.command.CommandScheduler$InvocationThread.run(CommandScheduler.java:692)
Caused by: javax.net.ssl.SSLException: Unsupported or unrecognized SSL message
        at java.base/sun.security.ssl.SSLSocketInputRecord.handleUnknownRecord(SSLSocketInputRecord.java:462)
        at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:175)
        at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:111)
        at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1506)
        at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1421)
        at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:455)
        at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:426)
        at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:586)
        at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:187)
        at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1675)
        at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1599)
        at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:223)
        at java.base/java.net.URL.openStream(URL.java:1325)
        at com.android.compatibility.common.tradefed.targetprep.DynamicConfigPusher.resolveUrl(DynamicConfigPusher.java:315)
        ... 8 more
04-08 16:44:31 E/ClearcutClient: Unsupported or unrecognized SSL message
javax.net.ssl.SSLException: Unsupported or unrecognized SSL message
        at java.base/sun.security.ssl.SSLSocketInputRecord.handleUnknownRecord(SSLSocketInputRecord.java:462)
        at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:175)
        at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:111)
        at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1506)
        at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1421)
        at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:455)
        at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:426)
        at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:586)
        at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:187)
        at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1446)
        at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1417)
        at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:219)
        at com.android.tradefed.clearcut.ClearcutClient.sendToClearcut(ClearcutClient.java:344)
        at com.android.tradefed.clearcut.ClearcutClient.lambda$flushEvents$1(ClearcutClient.java:322)
        at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
        at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
        at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
        at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
        at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
        at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
        at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
04-08 16:44:31 W/NativeDevice: Attempting to stop logcat when not capturing for a0f32ff5
Reasons:
  • RegEx Blacklisted phrase (3): did you resolve this
  • RegEx Blacklisted phrase (1.5): resolve this issue?
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (1):
Posted by: vanccc

79561684

Date: 2025-04-08 09:45:01
Score: 10
Natty: 7.5
Report link

Same question, any more findings so far? Thanks in advance.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (3): Thanks in advance
  • RegEx Blacklisted phrase (1): Same question
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: 在红尘中成仙

79561670

Date: 2025-04-08 09:37:58
Score: 5.5
Natty:
Report link

Sorry i can't post comment cause i don't have 25 reputation so i post an answer.
But your result should be SemOrd=10 for UserId = 1 and SubId = 706 ?

Reasons:
  • RegEx Blacklisted phrase (1.5): reputation
  • RegEx Blacklisted phrase (0.5): Sorry i can't
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Pierre-AntoineAETP

79561665

Date: 2025-04-08 09:35:58
Score: 4
Natty:
Report link

Kindly provide the code as reference for better understanding of the problem.

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

79561641

Date: 2025-04-08 09:25:55
Score: 5.5
Natty: 5.5
Report link

guys if we import math and take to def functions do we have to import it twice?

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

79561603

Date: 2025-04-08 09:05:49
Score: 5.5
Natty:
Report link

Since scripts will be sunset, I recommend starting your developments directly with RedApp.
You can check the link below — feel free to reach out if you need any help.

https://developer.sabre.com/sdk/sabre-red-360/25.1/help-documentation/home.html

Reasons:
  • Blacklisted phrase (1): the link below
  • Blacklisted phrase (1): any help
  • RegEx Blacklisted phrase (1): check the link
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Burak Tuncer

79561573

Date: 2025-04-08 08:47:44
Score: 6 🚩
Natty:
Report link

To help us diagnose the problem, we need a bit more information:
- More Detailed Scenario - Please describe exactly what type of search or which part of the workbench you're using when the issue occurs? The search function appears in multiple places, so a precise description will help.
- Browser Console - Are there any errors or warnings in the Firefox console when the delay happens?
- Setup Details - You've mentioned that you're using GraphDB version 10.8.4 on a self-hosted server. Can you confirm if you're using the free version or a licensed one?
- Data Characteristics - It would also be useful to know the approximate volume and nature of the data in your database.
With these details, we can better investigate your problem.

Best regards,
Stilyana

Reasons:
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • RegEx Blacklisted phrase (2.5): Please describe
  • RegEx Blacklisted phrase (1): help us
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Stilyana Kaleeva

79561529

Date: 2025-04-08 08:24:38
Score: 5
Natty: 5.5
Report link

14 years later, it seems Outlook still doesn't reconize it. Is it limited to Apple iCalendar ?

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

79561448

Date: 2025-04-08 07:39:27
Score: 4
Natty: 4
Report link

I know it's a 11 year old topic, but, I just switched to js and webstorm. I'm wondering if anyone knows if I can set project explorer to automatically expand src directory once I expand a module?

Reasons:
  • Blacklisted phrase (1): anyone knows
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Clone

79561444

Date: 2025-04-08 07:35:25
Score: 12.5 🚩
Natty: 5.5
Report link

I have a same problem. Did you resolve the problem?

Reasons:
  • RegEx Blacklisted phrase (3): Did you resolve the problem
  • RegEx Blacklisted phrase (1.5): resolve the problem?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have a same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: sna0e

79561438

Date: 2025-04-08 07:34:24
Score: 7.5 🚩
Natty: 6
Report link

could you please provide more details about the specific modifications you made? I am encountering the same issue and would appreciate your guidance.

Reasons:
  • Blacklisted phrase (1.5): would appreciate
  • RegEx Blacklisted phrase (2.5): could you please provide
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user30206007

79561407

Date: 2025-04-08 07:16:18
Score: 4
Natty:
Report link

I am having the same error: [Error: Failed to collect configuration for /_not-found]

Later, I found out that my .env file was missing a variable. Adding that environment variable solved this build error.

Also, try deleting the ".next" folder if you are self-hosting your project.

Reasons:
  • RegEx Blacklisted phrase (1): I am having the same error
  • Low length (0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I am having the same error
  • Low reputation (0.5):
Posted by: Mohammad Ahmer Malick

79561378

Date: 2025-04-08 06:59:13
Score: 10
Natty: 7
Report link

How did you find the solution to this error? Like, based on the screenshot provided, how was the error identified and solved by looking at the package natively? Can you guide me through the process? @Arjun Singh

Reasons:
  • Blacklisted phrase (1): guide me
  • RegEx Blacklisted phrase (2.5): Can you guide me
  • RegEx Blacklisted phrase (3): did you find the solution to this
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How did you find the solution to this
  • Low reputation (1):
Posted by: Muhammad Tayyab

79561363

Date: 2025-04-08 06:51:10
Score: 7 🚩
Natty:
Report link

I have on premise, oracle 21c EE on Windows 10, receiving same error " Database Connection Error HTTP Status Code: 571 " I am trying to search for solutions but still nothing worked, please help.

Reasons:
  • Blacklisted phrase (1): I am trying to
  • RegEx Blacklisted phrase (3): please help
  • RegEx Blacklisted phrase (1): I am trying to search for solutions but still nothing worked, please
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Oralover

79561281

Date: 2025-04-08 05:58:55
Score: 8 🚩
Natty:
Report link

¿Podrías explicar a qué te refieres cuando indicas que className se oculta en todos los componentes?

Tu planteamiento inicial resulta muy vago, por lo que sería conveniente que ampliaras tu pregunta.

Es muy difícil brindar ayuda sin contar con la información mínima necesaria. Agradecería que describieras en detalle tu problema y lo que esperas que suceda para considerar tu código como correcto.

Reasons:
  • Blacklisted phrase (1): ¿
  • Blacklisted phrase (2): ayuda
  • Blacklisted phrase (2): código
  • Blacklisted phrase (2): pregunta
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Heraldus Dei

79561209

Date: 2025-04-08 05:04:41
Score: 5
Natty: 5
Report link

I was facing the same error , downgrading the version pip install --force-reinstall uvicorn<0.24 helped me. Thank you @QuimPuiggalí

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • User mentioned (1): @QuimPuiggalí
  • Single line (0.5):
  • Low reputation (1):
Posted by: sneha

79561205

Date: 2025-04-08 05:00:40
Score: 8
Natty: 8.5
Report link

Can I ask you if are you calling downloadEvfData into a loop to have refreshed images or this is your complete solution for real time streaming? Because I need to download a liveviewimage continuously in background but using a while loop into a thread causes EdsDownloadEvfImage to crush without errors; the code just stops exiting from the loop.Thank you in advance

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): Can I ask
  • RegEx Blacklisted phrase (3): Thank you in advance
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can I as
  • Low reputation (1):
Posted by: NGluna

79561178

Date: 2025-04-08 04:37:33
Score: 6 🚩
Natty:
Report link

Can someone tell me what is this? I remember downloading it on my phone.

load_files.html

<div class='err box_link'>Авторизуйтесь для доступа</div>

Reasons:
  • RegEx Blacklisted phrase (2.5): Can someone tell me what
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can someone
  • Low reputation (1):
Posted by: Ruben

79561140

Date: 2025-04-08 04:00:23
Score: 4.5
Natty: 5
Report link

Though I am too late, I hope someone will find this helpful.

You can find the clear steps in this article.

https://medium.com/@sp96.info/deploying-vue-js-app-to-firebase-hosting-0d4351714e4c

Reasons:
  • Blacklisted phrase (1): this article
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Sanduni Pavithra

79561097

Date: 2025-04-08 03:16:14
Score: 5.5
Natty:
Report link

do you have the dataset?

import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
df = pd.read_csv("you dataset here")
sns.scatterplot(data=df, x="Age", y="Sales")
plt.title("Relationship between Age and Car Toy Sales")
plt.show()
Reasons:
  • RegEx Blacklisted phrase (2.5): do you have the
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Muideen

79561047

Date: 2025-04-08 02:23:00
Score: 4.5
Natty: 4
Report link

Yes. it's work. Replace With > Local History it'd resolved my problem.
Big thank you for the good advice.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Whitelisted phrase (-1.5): resolved my problem
  • RegEx Blacklisted phrase (3): thank you for the good advice
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user30203240

79561030

Date: 2025-04-08 01:58:55
Score: 4.5
Natty: 4.5
Report link

This happens because the QB desktop uses auto ref number which has go be switched off for manually set txnunbers.

Which Soap are you using?

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

79561016

Date: 2025-04-08 01:43:50
Score: 5.5
Natty:
Report link

I have the same issue. The issue is related to https://github.com/huggingface/transformers/pull/37337

In my case, installing accelerate fix the issue, as the workaround.

pip install accelerate
Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (0.5):
Posted by: kenma

79560977

Date: 2025-04-08 00:40:36
Score: 8.5 🚩
Natty: 4
Report link

Were you able to find a fix? One way could be to save the dates/ time in string format. I am in the middle of a bug fix though, and saving it in string format would mean that all the previous use cases would fail.

Reasons:
  • RegEx Blacklisted phrase (1): Were you able to find a
  • RegEx Blacklisted phrase (1.5): fix?
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rahul Chandak

79560854

Date: 2025-04-07 22:03:00
Score: 4
Natty: 4
Report link

you are talking rocket science, steve is not proud

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

79560837

Date: 2025-04-07 21:44:55
Score: 6 🚩
Natty:
Report link

New templates and plugins for Sponzy on https://bbest.live/shop

Reasons:
  • Probably link only (1):
  • Contains signature (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sponzy

79560655

Date: 2025-04-07 19:45:27
Score: 4
Natty:
Report link

Since you have mentioned voro++ on top of your current options, it seems logic to think that if you could use voro++ in MATLAB you could readily fox the problem at hand.

Good news ! Some one ahead of you has posted in Github the MEX libraries for voro++ .

https://github.com/smr29git/MATLAB-Voro

Please give a go and let us know.

Reasons:
  • RegEx Blacklisted phrase (2.5): Please give
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: John Bofarull Guix

79560648

Date: 2025-04-07 19:39:25
Score: 4.5
Natty:
Report link

was there ever a fix found for this? Our test email sent in dev show this behavior but not the tests from prod, ie with the prod tests when 'view entire message' is clicked the css is carried over, but not from dev. The esp we are using is SailThru

Reasons:
  • RegEx Blacklisted phrase (1.5): fix found for this?
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): was there
  • Low reputation (0.5):
Posted by: roob

79560640

Date: 2025-04-07 19:32:22
Score: 7.5 🚩
Natty: 5
Report link

I have ran into the same problem and seeing very similar training logs to you when using a multi-discrete action space but the evaluation is not good. Did you ever find a solution?

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever find a solution
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Edhead

79560618

Date: 2025-04-07 19:17:18
Score: 4
Natty:
Report link

Go to this link, And download all the models under `ComfyUI/models` into your models.

Issue - You might be using the VM and because of this, internet access is blocked.
Reference - https://github.com/chflame163/ComfyUI_LayerStyle_Advance?tab=readme-ov-file#download-model-files

Reasons:
  • Blacklisted phrase (1): this link
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Nikhil Tayal

79560583

Date: 2025-04-07 18:54:11
Score: 4
Natty:
Report link

Have you tried giving up on this assignment? worked for me

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: sarangi's wise TAs

79560580

Date: 2025-04-07 18:52:10
Score: 9 🚩
Natty:
Report link

Anyone please answer to this question. It is required in my university assignment. Please help. ASAP.

Reasons:
  • RegEx Blacklisted phrase (2.5): please answer
  • RegEx Blacklisted phrase (3): Please help
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: sarangi

79560559

Date: 2025-04-07 18:39:06
Score: 13.5
Natty: 7.5
Report link

I have the same issue, did you ever resolve this?

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • RegEx Blacklisted phrase (3): did you ever resolve this
  • RegEx Blacklisted phrase (1.5): resolve this?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Winston Jacob

79560514

Date: 2025-04-07 17:58:55
Score: 4.5
Natty: 4
Report link

I got the solution please change gradel dependency

please replace with

implementation 'com.github.smarteist:Android-Image-Slider:1.4.0'

it's working for my project. I hope it will work for your project.

if have any issue please let me know. Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2.5): please let me know
  • RegEx Blacklisted phrase (1): I got the solution please
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mohit Khandelwal

79560495

Date: 2025-04-07 17:47:51
Score: 9.5 🚩
Natty: 5.5
Report link

Did you ever get that figured out?

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever get that figured out
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: LTEAK

79560488

Date: 2025-04-07 17:42:49
Score: 6 🚩
Natty: 6.5
Report link

have you found a solution yet? I've been struggling with this issue myself for the past two days

Reasons:
  • RegEx Blacklisted phrase (2.5): have you found a solution yet
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Anuar

79560470

Date: 2025-04-07 17:24:45
Score: 8 🚩
Natty:
Report link

Counterintuitively, removing "Codeable" conformance from the @Model protocol conformance list eliminates the error.

The Macro expansion is the issue.

See: "Cannot Synthesize" -- Why is this class not ready to be declared "@Model" for use with SwiftData?

Reasons:
  • RegEx Blacklisted phrase (0.5): Why is this
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Model
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Andromeda

79560457

Date: 2025-04-07 17:18:43
Score: 4
Natty: 4
Report link

I also am looking for an answer to this.

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

79560391

Date: 2025-04-07 16:40:32
Score: 9 🚩
Natty: 5.5
Report link

did you get the answer of opening the parent app directly from shield action extension?

Reasons:
  • RegEx Blacklisted phrase (3): did you get the answer
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (1):
Posted by: haider 792

79560375

Date: 2025-04-07 16:32:29
Score: 4
Natty:
Report link

DOH! I was checking an empty table by accident. My bad!

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