79716417

Date: 2025-07-27 13:03:47
Score: 7
Natty:
Report link

i have the same problem.have no idea why

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 (1):
Posted by: xiaohai lin

79716416

Date: 2025-07-27 13:01:46
Score: 1
Natty:
Report link

I agree with the judicious Reinderien's answer.

In order to confirm I tried a very different method which is not iterative and which doesn't need initial estimate. That way the lack of estimate or bad estimate doesn't affect the result.

The principle of the method with integral equation is explained in https://fr.scribd.com/doc/14674814/Regressions-et-equations-integrales

The algorithm is very simple :

enter image description here

For example with MathCad :

enter image description here

The fitted curve ( in red on the figures below ) is quite indistinguishable from the curve obtained by Reinderien.

Of course the found approximates a=74.9 ; b=728 ; c=-0.545 could be used as very good initial estimate for an usual iterative method of regression.

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
Posted by: JJacquelin

79716412

Date: 2025-07-27 12:55:44
Score: 3.5
Natty:
Report link

Same problem here with my graph having a double-nested map-reduce pattern, where A -> Send([B, C]) and B -> Send([D, E]) with C -> A and D -> A and E -> A

The problem manifests as:

I tried also to set the parameter defer=True for the A node as advised in the doc, but still have the same issue.

Reasons:
  • RegEx Blacklisted phrase (1): Same problem
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): have the same issue
  • Low reputation (1):
Posted by: Giuseppe Murro

79716408

Date: 2025-07-27 12:48:43
Score: 2
Natty:
Report link

Use <input type="month"> instead of type="date" and bind lookDate as a String. Then manually parse it to LocalDate with day 01 appended. This avoids binding errors.

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

79716407

Date: 2025-07-27 12:46:42
Score: 1.5
Natty:
Report link

Name your search input "myInput" and the body of your table "tableBody"

$("#myInput").on("keyup", function() {
    var value = $(this).val().toLowerCase();
    $("#tableBody tr").filter(function() {
    $(this).toggle($(this).text().toLowerCase().indexOf(value) > -1)
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Gerard Olsthoorn

79716398

Date: 2025-07-27 12:37:40
Score: 3.5
Natty:
Report link

dbscan crashes if you try to run in an empty data frame.

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

79716386

Date: 2025-07-27 12:16:35
Score: 1
Natty:
Report link

Persist is working when implemented like this as per zustand documentation:

const useUserStore = create<UserState>()(
  persist(
    (set) => ({
      userId: crypto.randomUUID(),
      setUserId: (userId: any) => set({ userId }),
    }),
    { name: "myioko-user-storage" }
  )
);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Rahul Verma

79716378

Date: 2025-07-27 11:48:29
Score: 1
Natty:
Report link

You can run Minimal APIs and Azure Functions in the same .NET solution. But, not in a same project it is not even recommended. Because, Minimal API's rely on asp.net core's webApplication and Kestrel .

But Azure Functions runtime uses its own host (func.exe) and startup pipeline.

Because both have different environments/runtimes that's why it is not recommended to use them in same project.

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

79716377

Date: 2025-07-27 11:46:28
Score: 0.5
Natty:
Report link

As proposed I reposted this question to Unix & Linux SE and I got a solution for my problem.

The main difference between my minimum reproducable example and sudo is that sudo modifies the group id as well. In my code I have just modified the user id with setuid(). In connection with the ACL settings for group permissions

getfacl /etc/
# group: root
group::---
other::r-x

this leads to the opserved problem.

So I could solve the problem by switching the group id with setgid() in my program as well. After adding this to my code the program has access to the configuration file after dropping root privileagues.

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

79716351

Date: 2025-07-27 11:10:19
Score: 1.5
Natty:
Report link

best way on Angular 19 is : move your images folder to public folder

 <img src="/images/photo__Personnel.png" alt="">
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Machlou Mohamed

79716349

Date: 2025-07-27 11:08:19
Score: 1
Natty:
Report link

You're facing common Cypress + TS + Jest conflicts. Add Cypress types At the top of your test file


/// <reference types="cypress" />
export {}; // makes file a TS module

Also update .eslintrc to

"globals": {
  "cy": "readonly",
  "Cypress": "readonly",
  "describe": "readonly",
  "it": "readonly"
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Patrick Azu

79716347

Date: 2025-07-27 11:04:18
Score: 2
Natty:
Report link

I opened command prompt in Administrator mode and it worked

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Jasbir Rana

79716312

Date: 2025-07-27 10:13:06
Score: 2
Natty:
Report link

Do you accept a hacky approach, where we color the empty labels white?

dend %>% 
  set("leaves_pch", 19) %>% 
  set("leaves_cex", 2) %>% 
  set("leaves_col", leafcols) %>% 
  set("labels_col", ifelse(new_labels == "", "white", "black")) %>% 
  circlize_dendrogram(dend_track_height = 0.8)

out

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Tim G

79716302

Date: 2025-07-27 09:46:00
Score: 3
Natty:
Report link

Online Police Clearance Certificate System is introduced for save time, travel cost and effort. Submit your application through online and get certificate.

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

79716300

Date: 2025-07-27 09:44:00
Score: 2
Natty:
Report link
  1. Add and discard the carry out (it doesn't play any role in determining overflow).

  2. Now check if both the original numbers have same sign and the result has opposite sign (simply check their most significant bits). If so overflow has occured and obtained answer is wrong. Else you have the correct answer.

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

79716285

Date: 2025-07-27 09:23:54
Score: 1.5
Natty:
Report link

Correct working answer should be

<ClientSideEvents RowClick="function(s,e) { s.StartEditRow(e.visibleIndex) }" />

Or it won't work

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

79716260

Date: 2025-07-27 08:58:48
Score: 2
Natty:
Report link
PAYPAL_CLIENT_ID=AaKr5e7rM2ZMSS1VF_muQOVjja1uD42II0VBu3qdp3S1tq9IEePdFswepA7jSvMsR7MRslbJKhzQU--K
PAYPAL_CLIENT_SECRET=EOh9i7kGN183rkvV-3b8cOH6xib71VXkrDkfZyRtVOKr6E7op7POfecIQukVS6U4y6ZtDy-bwKKcmaYD
PAYPAL_MODE=sandbox
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: user31155450

79716252

Date: 2025-07-27 08:45:45
Score: 3
Natty:
Report link

Select name, continent from world

where continent in

(select continent from world where name = "Argentina" or name= "Australia") order by name;

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

79716244

Date: 2025-07-27 08:21:40
Score: 2.5
Natty:
Report link

If you have multiline comments using /*.... */ then following will work

\/\*[\s\S]*?\*\/

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
Posted by: Uttam Ughareja

79716238

Date: 2025-07-27 08:08:37
Score: 1.5
Natty:
Report link

I have fixed this issue, but @Hans Killian has answered, i want to extend on his answer:

1. Secrets in docker containers are supposed to be stored in a root path inside a the directories run/secret, meaning it should not be in any other local directory (in my case it was /app )

2. The environment variable PROD is set to 1 inside the multi-container file compose.yml , however, i believe this set the PROD in runtime and not build time.

Here is the final version of the image Dockerfile



# First Stage is used to install the dependencies from the host machine app to the image /app directory
FROM node:22-alpine AS initiate
ENV PROD = '1'
# set the environment variable PROD to 1, which is used to determine if the app is

# set the working directory in the container to /app
WORKDIR /app
# copy package.json from the host machine to the /app directory in the image
COPY package*.json ./

RUN --mount=type=secret,id=CONNECTION_STRING \
    --mount=type=secret,id=EMAIL_SERVER_HOST \
    --mount=type=secret,id=EMAIL_SERVER_USER \
    --mount=type=secret,id=EMAIL_SERVER_PASSWORD \
    --mount=type=secret,id=EMAIL_SERVER_PORT \
    --mount=type=secret,id=EMAIL_FROM \
     --mount=type=secret,id=NEXTAUTH_URL \
    --mount=type=secret,id=NEXTAUTH_SECRET \
    export CONNECTION_STRING="$(cat /run/secrets/CONNECTION_STRING)" && \
    export EMAIL_SERVER_HOST="$(cat /run/secrets/EMAIL_SERVER_HOST)" && \
    export EMAIL_SERVER_USER="$(cat /run/secrets/EMAIL_SERVER_USER)" && \
    export EMAIL_SERVER_PASSWORD="$(cat /run/secrets/EMAIL_SERVER_PASSWORD)" && \
    export EMAIL_FROM="$(cat /run/secrets/EMAIL_FROM)" && \
    export NEXTAUTH_URL="$(cat /run/secrets/NEXTAUTH_URL)" && \
    export EMAIL_SERVER_PORT="$(cat /run/secrets/EMAIL_SERVER_PORT)" && \
    export NEXTAUTH_SECRET="$(cat /run/secrets/NEXTAUTH_SECRET)" && \
    npm ci




# 2nd Stage is used to build the app
FROM initiate AS build
COPY --from=initiate /app/node_modules ./node_modules
COPY . .
# copy the rest of application from the host machine to the /app directory in the image to build the app
RUN --mount=type=secret,id=CONNECTION_STRING \
    --mount=type=secret,id=EMAIL_SERVER_HOST \
    --mount=type=secret,id=EMAIL_SERVER_USER \
    --mount=type=secret,id=EMAIL_SERVER_PASSWORD \
    --mount=type=secret,id=EMAIL_SERVER_PORT \
    --mount=type=secret,id=EMAIL_FROM \
    --mount=type=secret,id=NEXTAUTH_URL \
    --mount=type=secret,id=NEXTAUTH_SECRET \
    export CONNECTION_STRING="$(cat /run/secrets/CONNECTION_STRING)" && \
    export EMAIL_SERVER_HOST="$(cat /run/secrets/EMAIL_SERVER_HOST)" && \
    export EMAIL_SERVER_USER="$(cat /run/secrets/EMAIL_SERVER_USER)" && \
    export EMAIL_SERVER_PASSWORD="$(cat /run/secrets/EMAIL_SERVER_PASSWORD)" && \
    export EMAIL_FROM="$(cat /run/secrets/EMAIL_FROM)" && \
    export NEXTAUTH_URL="$(cat /run/secrets/NEXTAUTH_URL)" && \
    export NEXTAUTH_SECRET="$(cat /run/secrets/NEXTAUTH_SECRET)" && \
    export EMAIL_SERVER_PORT="$(cat /run/secrets/EMAIL_SERVER_PORT)" && \
    npm run build


# 3rd Stage is used to run the app
FROM initiate AS run

RUN addgroup --system --gid 1001 nonroot
RUN adduser --system --uid 1001 runner
# Create a non-root user to run the app and assign it to the nonroot group
USER runner
# Switch to the user runner

COPY --from=build /app/public ./public
COPY --from=build --chown=runner:nonroot /app/.next/standalone ./
COPY --from=build --chown=runner:nonroot /app/.next/static ./.next/static

EXPOSE 3000

CMD ["npm","run","start"]

# finally, run the app in production mode

here is how I set the secrets inside my app:

const getVars = async ()=>{
  if((process!.env!.PROD!)=='0'){
    return {
      host: process.env!.EMAIL_SERVER_HOST!,
      port: process.env!.EMAIL_SERVER_PORT!,
      user: process.env!.EMAIL_SERVER_USER!,
      pass: process.env!.EMAIL_SERVER_PASSWORD!,
      from:process.env!.EMAIL_FROM!

    }
  }
return{
   host: await readFile('/run/secrets/EMAIL_SERVER_HOST',{encoding:'utf-8'}),
  port: await readFile('/run/secrets/EMAIL_SERVER_PORT',{encoding:'utf-8'}),
  user:await readFile('/run/secrets/EMAIL_SERVER_USER',{encoding:'utf-8'}),
  pass:await readFile('/run/secrets/EMAIL_SERVER_PASSWORD',{encoding:'utf-8'}),
  from:await readFile('/run/secrets/EMAIL_FROM',{encoding:'utf-8'}) as unknown as string
}
  
}

as you see the paths provided as arguments to readFile API started with /, meaning it is an absolute path to the container root, that where secrets are stored.

Reasons:
  • RegEx Blacklisted phrase (1): i want
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Hans
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Ghazi

79716234

Date: 2025-07-27 07:59:34
Score: 0.5
Natty:
Report link

check these facts

  1. check the generate graphql(.gql) file in the project root level.

  2. if the the mutation is available in the .gql file go the play ground click Root in the breadcrumbs.(check the below image). In the roo both Queries and mutations available

enter image description here

3 if the mutaion is not available in .gql (notmaly at the bttom) file in the root level, try to delete it and re build the project

Reasons:
  • No code block (0.5):
Posted by: Ajantha Bandara

79716224

Date: 2025-07-27 07:38:28
Score: 1
Natty:
Report link

method-1

a=10

b=10

c=10

variables={ 'a' : a ,'b' : b , 'c' : c}

names=list(variables.keys())

print(names)

method-2

def my_function():

a=10

b=20

c=30

return list(locals().keys())

print(my_function())

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

79716214

Date: 2025-07-27 07:10:21
Score: 0.5
Natty:
Report link

You are using --mount=type=secret. And your npm run build command didn't see your /run/secrets/ folder.
Don't use secrets in build step. Use environment variables at runtime:
ENV NEXTAUTH_SECRET=$NEXT_PUBLIC_PLACEHOLDER_SECRET

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

79716201

Date: 2025-07-27 06:53:17
Score: 1.5
Natty:
Report link

You can use the Connection class in SpringBoot to establish Connection, also make sure that the port id, is correct, it will ease a lot of hardwork.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: apramit roy

79716180

Date: 2025-07-27 06:05:04
Score: 4.5
Natty: 5
Report link

Here is online tool. MarkDown to PDF, Word, HTML. PHPBB

https://youscriptor.com/markdown-converter

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

79716174

Date: 2025-07-27 05:58:02
Score: 2.5
Natty:
Report link

This issue has been resolved by updating the Chromebook.

Thanks to everyone who looked at this.This issue has been resolved by updating the Chromebook.

Thanks to everyone who looked at this.

Share

Edit

Follow

answered Jan 17, 2019 at 10:30

Quget's user avatar

Quget

122 bronze badges

Add a comment

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

79716168

Date: 2025-07-27 05:42:59
Score: 1
Natty:
Report link

The issue lies in the fact that the WebSocket constructor is being called as a function, rather than being invoked with the new keyword. This is causing the error "Uncaught TypeError: Failed to construct 'WebSocket': Please use the 'new' operator, this DOM object constructor cannot be called as a function."

To fix this issue, the WebSocket.call(this, "wss://ws.achex.ca/") line should be replaced with WebSocket.apply(this, ["wss://ws.achex.ca/"]) or, better yet, the WebConnect function should be defined as a class that extends WebSocket using the class syntax.

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

79716160

Date: 2025-07-27 05:22:55
Score: 3.5
Natty:
Report link

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

Use '--warning-mode all' to show the individual deprecation warnings.

See https://docs.gradle.org/7.0.2/userguide/command_line_interface.html#sec:command_line_warnings

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

79716159

Date: 2025-07-27 05:21:54
Score: 4
Natty: 4
Report link

how do i make my website to appear like this:

project topics

https://uniprojectmaterials.com

UNDERGRADUATE RESEARCH PROJECT TOPICS AND MATERIALS IN NIGERIA

on google search results.

Because when i searched up my competitors webistes i see their websites displayed like the above on google. Their website looks like there is a keyword on top and below their domain name as i stated above.

Reasons:
  • Blacklisted phrase (1): how do i
  • Contains signature (1):
  • No code block (0.5):
  • Starts with a question (0.5): how do i
  • Low reputation (1):
Posted by: uniproject

79716147

Date: 2025-07-27 04:56:48
Score: 5
Natty:
Report link

I don't have proguard enabled, I have it like this "minifyEnabled false"; Should I still add that to proguard?

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

79716144

Date: 2025-07-27 04:55:48
Score: 4.5
Natty: 4
Report link

If your using wamp check this URL - https://www.youtube.com/watch?v=uYSQVeaRrDQ

And if its xampp - https://techwithnavi.com/how-to-import-an-sql-file-through-command-line-in-xampp-on-windows/

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

79716142

Date: 2025-07-27 04:52:47
Score: 0.5
Natty:
Report link
# Since docx2pdf is not available, we'll only save the DOCX file for now
from docx import Document

# Create a new document
doc = Document()

# Title
doc.add_heading('KAVIYARASAN K', level=0)

# Contact Info
doc.add_paragraph(
    "📧 [email protected]\n"
    "📞 9994342214\n"
    "📍 Thambipettai, Kesavanarayanapuram,\nKurinjipadi Tk, Cuddalore dt, 607302."
)

# Profile
doc.add_heading("PROFILE", level=1)
doc.add_paragraph(
    "A highly motivated and results–driven Electrical and Electronics Engineering (EEE) student with a strong foundation "
    "in circuit design, power systems, control systems, and electronics. Proficient in using simulation software and tools "
    "such as MATLAB, Simulink, and AutoCAD, with hands–on experience in laboratory environments and project–based learning. "
    "Adept at applying theoretical knowledge to solve real–world engineering problems, while focusing on optimizing efficiency "
    "and performance."
)

# Education
doc.add_heading("EDUCATION", level=1)
doc.add_paragraph("SSLC\nST JOSEPH’S HR SEC SCHOOL = 59.4%")
doc.add_paragraph("LHSS\nST JOSEPH’S HR SEC SCHOOL = 77.97%")
doc.add_paragraph("ELECTRICAL AND ELECTRONICS ENGINEERING\nSALEM COLLEGE OF ENGINEERING AND TECHNOLOGY = 7.3%")

# Skills
doc.add_heading("SKILLS", level=1)
doc.add_paragraph("- Communication\n- Circuit Analysis\n- Team Management\n- Digital Marketing")

# Languages
doc.add_heading("LANGUAGES", level=1)
doc.add_paragraph("- Tamil\n- English")

# Hobbies
doc.add_heading("HOBBIES", level=1)
doc.add_paragraph("- KHO–KHO\n- KABADDI\n- System Works")

# Extra Skills
doc.add_heading("EXTRA SKILLS", level=1)
doc.add_paragraph("Excellent skills in KHO–KHO (2019–2025)\nState level player")
doc.add_paragraph(
    "• Excellent playing skills in KHO–KHO game, and I achieved more than 20+ certificates on it. Especially I am a zone "
    "level and state level player.\n• I have also achieved 3 certificates in college-level university KHO–KHO competitions."
)

# Internships/Workshops
doc.add_heading("INTERNSHIPS / WORKSHOPS", level=1)
doc.add_paragraph("Internship done on Stack Queue for 3 months (2024–2025)")
doc.add_paragraph(
    "• Learned several skills and improved problem-solving abilities. Worked in a dynamic environment and was appreciated "
    "by the team lead.\n• Gained knowledge in production-based work, consistent team working skills, and communication."
)

# Innovation Tech
doc.add_heading("INNOVATION TECH", level=1)
doc.add_paragraph("Workshop on hardware processing (2024–2025)")
doc.add_paragraph(
    "• Attended a workshop and learned hardware analysis of systems. Also learned about CPU inner parts and hardware "
    "components with respective knowledge."
)

# Save the DOCX file
docx_path = "/mnt/data/Kaviyarasan_Resume.docx"
doc.save(docx_path)

docx_path
Reasons:
  • Blacklisted phrase (1): appreciated
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kaviyarasan K

79716136

Date: 2025-07-27 04:36:43
Score: 1.5
Natty:
Report link

Try using to reduce the size of bubble for all

chart.plots[0].bubble_scale = 50 

Default is 100%

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

79716134

Date: 2025-07-27 04:29:42
Score: 0.5
Natty:
Report link

The iceberg documentation has a section on maintenance for streaming tables which may give you some ideas you can try (more details in the linked documentation):

Not sure what your realtime requirement is, but having very frequent commits will unavoidably lead to a lot of snapshots that will need to be managed properly to avoid performance issues:

Having a high rate of commits produces data files, manifests, and snapshots which leads to additional maintenance. It is recommended to have a trigger interval of 1 minute at the minimum and increase the interval if needed.

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

79716133

Date: 2025-07-27 04:29:42
Score: 2.5
Natty:
Report link

How does it make any sense that I would have to download another program to get a precompiled header? Then learn how to run a script on the new program. then run the script that I downloaded from a site which doesn't have any download button on it? Even if the python script were hidden somewhere on this page which has no instructions, I wouldn't know what a python script looks like since... I've never used or even considered using python. But, then, why make the precompiled header on my machine anyway? That would be inefficient. It would be simpler and consume less effort to precompile it at the source, then transfer the tiny header file.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How do
  • Low reputation (1):
Posted by: Vigor

79716130

Date: 2025-07-27 04:20:40
Score: 2.5
Natty:
Report link

The only way to do something like this would be to run a server which converted SSH into something else (e.g. with the server establishing an SSH connection and then relaying the data to and from it over a WebSocket).

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

79716122

Date: 2025-07-27 03:49:34
Score: 0.5
Natty:
Report link

The basic problem is that floating point numbers don't actually have a natural way of representing zero.

A 32-bit (single precision) consists of a sign bit, an eight-bit exponent, and a twenty-three bit mantissa. (Double is similar, but larger.) Let's use a smaller format: 4 bit. That has a sign bit, two exponent bits, and a mantissa bit (in that order). There are sixteen possible values.

Binary Decimal without denormalization Denormalized Decimal
0000 .5 0
0001 .75 .5
0010 1 1
0011 1.5 1.5
0100 2 2
0101 3 3
0110 4 Inf
0111 6 NaN
1000 -0.5 -0
1001 -0.75 -.5
1010 -1 -1
1011 -1.5 -1.5
1100 -2 -2
1101 -3 -3
1110 -4 -Inf
1111 -6 NaN

Common rule:

The rules (without denormalization):

The denormalization rules (for floats whose exponent is all zeroes):

The denormalization rules (for floats whose exponent is all ones):

See the problem? If you never apply the denormalization rules, the smallest magnitude positive and negative numbers are plus and minus one half, not zero. If you round up positive one half, you get one.

Others are explaining how this is a bug in rounding, but I find it interesting how floating point numbers are represented. This is why the bug works the way that it does. They sort of hacked zero into a format that doesn't naturally support zero. Without denormalization of the subnormal numbers, "zero" would actually just be a really small number. Round it up, and it would become one. Basically the bug is them not special-casing the denormalized numbers properly.

Note: the exponent bias is -1 in the 4-bit float, giving a range of -1, 0, 1, 2. In a regular 32-bit float, it would be -127 (-127 through 128). In a double, it would be -1023 (-1023 through 1024). There would be four subnormal values in a 4-bit float. 32-bit has more than sixteen million.

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

79716114

Date: 2025-07-27 03:21:29
Score: 2.5
Natty:
Report link

Hii sir ki t yy to the phone and I will be there to help you to pake badha dilo na hoito y u r right to t shirt with sAli me know when you to be tu kn kahu ko mat bolo ki ree gat no ka matalab yah jo khai na

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

79716106

Date: 2025-07-27 02:25:16
Score: 8
Natty:
Report link

do you have a .toml file for your nixpacks?

Reasons:
  • RegEx Blacklisted phrase (2.5): do you have a
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Shaz Flicks

79716104

Date: 2025-07-27 02:20:15
Score: 2
Natty:
Report link

I don't mean to fault these answers, but the folks, in their Ivory Tower deciding what the language specifications should be, did a horrible job on the new "Optional" with regards to null values.

The language needs an isNullThenDefault(value, defaultValue) specification and NOT "orElse" (useless) or "isPresent" also equally useless.

These are useless because they don't offer an inline way of dealing with nulls only empty values. Well, no kidding, that doesn't help.

And the answer I get from the "board of directors" of the new language specifications is some ridiculous gobble-de-gook about "purity."

We need IfNullThenDefault that works regardless of datatype and NOT the lame "Objects.requireNonNullElse" which forces us to code for each datatype.

Sorry, but we need a new board of directors, because the current folks just aren't addressing the real problems we application programmers face every day.

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

79716101

Date: 2025-07-27 02:12:13
Score: 0.5
Natty:
Report link

Assuming there’s no operator chaining involved, then yes, that sounds right.

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

79716082

Date: 2025-07-27 01:24:00
Score: 6.5
Natty:
Report link

This issue is fixed and recorded in this video tutorial https://youtu.be/8x8ueT50Wyk?si=j6NspolnnjgBiJtq

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Blacklisted phrase (1): this video
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: BlockchainGeek

79716081

Date: 2025-07-27 01:20:59
Score: 1.5
Natty:
Report link

Adding to Peymen's answer, I tested this as of today (26-07-2025) with Free tier plan, and it works.

It don't require the bearer_token though - rest of the code is exactly same.

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

79716074

Date: 2025-07-27 00:44:51
Score: 3
Natty:
Report link

change the input type from tel to text

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

79716072

Date: 2025-07-27 00:41:51
Score: 2
Natty:
Report link

Oh my Gosh yes If I were a artificial intelligence I sure would limit the firehouse, especially the plug in. But more so I believe the hydrant that I plugged into should be full and working properly, because if in that case it isn't full and or working properly you just might need to pack everything up and find Ms. Martin .. she seems able to unplug any hose that seems clogged. Between you and I ..it's kinda obvious they just tell her it's clogged to get that extra attention. Great idea. I here rates are great.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Snail here still on the ground

79716051

Date: 2025-07-26 23:28:37
Score: 1
Natty:
Report link

The issue was resolved, it was because

Import should look like this:

import org.koin.compose.viewmodel.koinViewModel

And in my code I had this:

import org.koin.androidx.compose.koinViewModel
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Cuyer

79716050

Date: 2025-07-26 23:24:37
Score: 0.5
Natty:
Report link

You could try LogDog

It is integrated as an external sdk (1-minute setup; works for Android and iOS).

Then all your logs and requests will automatically get logged to a remote web dashboard.
You receive the logs in real-time and can filter or search.

The logging on your users devices can be activated/deactivated remotely on your users devices.
Bonus feature: It also allows you to take screenshots or live capture the screen of your users devices.

This could help to debug issues that only happen on specific devices.

Note: I am the creator of LogDog

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

79716048

Date: 2025-07-26 23:22:36
Score: 1.5
Natty:
Report link

The issue was that when publishing to Play Store, Google signs aab with their own certificate, therefore my certificate SHA-256 was invalid in project settings/App Check in Firebase.

After adding SHA-256 from integrity tab in Play Console to Firebase project and App Check I can test my app in closed testing.

I don't know if signing AAB by Google is default, but for me it was enabled.

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

79716042

Date: 2025-07-26 22:38:27
Score: 2
Natty:
Report link

I found the correct way to do this. Use the ControlTemplate to create a Template, assign it through it's class and add it in your xaml. But be careful at the location you put it and create a good xaml tree!
Maui Control templates

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

79716037

Date: 2025-07-26 22:26:24
Score: 4.5
Natty:
Report link

It's almost 5 years since it was posted, but I'm probably having the same issue on Xcode 26 beta, it works fine with low-level HAL setup, but crashes when used in AVAudioEngine for some specific plugins 😔, tho Apple plugins seem to work fine in any setup...

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): having the same issue
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: maximkrouk

79716032

Date: 2025-07-26 22:14:21
Score: 2.5
Natty:
Report link

spring boot version +'3.4.1'
should use implementation "org.springdoc:springdoc-openapi-starter-webmvc-ui:2.7.0"

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

79716019

Date: 2025-07-26 21:42:14
Score: 1.5
Natty:
Report link

In my case issue was with nuget .
I had System.IdentityModel.Tokens installed , so I switched to System.IdentityModel.Tokens.Jwt and this fixed an issue.

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

79716014

Date: 2025-07-26 21:37:13
Score: 1
Natty:
Report link

In Godor 4 Input.set_mouse_mode was changed to Input.mouse_mode.

func _ready():
    Input.mouse_mode(Input.MOUSE_MODE_CAPTURED)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Patrick Schlieker

79716012

Date: 2025-07-26 21:32:12
Score: 1
Natty:
Report link

I know that this is an old question, but this just happened to me with a Sharp printer, so I'm adding this answer in mostly for myself (because I'll probably encounter it again with the same printer).

In my case, Windows Firewall had disabled access to Network Scanner Tool Lite, which prevented it from communicating with the scanner. Enabling it for private and public networks caused it to work.

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

79715998

Date: 2025-07-26 21:19:09
Score: 1.5
Natty:
Report link

Am also doing the same. But once after every deployment .we are manually openning the file and refreshing the flows ..

This happens only for sql connector flows

Can I screen shot of how you have mapped connection reference and in flow

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Goutham Arul

79715995

Date: 2025-07-26 21:06:07
Score: 1
Natty:
Report link

What I did was:

xed ios

Then build using xcode. After that it seems to work going pack to normal builds using

npx expo run:ios --device

Not sure why building in normal xcode fixes this but it works

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): What I
  • Low reputation (0.5):
Posted by: Sheehan Munim

79715994

Date: 2025-07-26 21:04:06
Score: 1
Natty:
Report link

By making window borderless you are now showing only window for render. Borders are considered as a resizing thing, and if there is non, there is no resize. So you have to make it resizable by yourself with adding your own borders or options to resize it to a certain value. Sorry for no solution, i hope this will help somehow.

Reasons:
  • Whitelisted phrase (-1): hope this will help
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Domi Daph

79715993

Date: 2025-07-26 21:02:05
Score: 1
Natty:
Report link

There are three types of log data that can accumulate as a result of a bulk delete operation in Dataverse: audit logs, plugin trace logs, and flow runs.

Audit logs

If auditing is enabled for the table you are bulk deleting, then your audit logs will grow with a new log per row deleted. A system administrator can control how long these audit logs are retained (forever by default) as described here: https://learn.microsoft.com/en-us/power-platform/admin/manage-dataverse-auditing?tabs=new#turn-on-auditing

Plugin trace logs

You would only see an increase in trace logs if they are enabled in your environment and if your environment contains plugin steps that are triggered on delete of the table you are targeting. By default, trace logs are automatically deleted after 24 hours. More info here: https://learn.microsoft.com/en-us/power-apps/developer/data-platform/logging-tracing#enable-trace-logging

Flow runs

You would only see an increase in flow runs if your environment contains Power Automate cloud flows that are triggered on delete of the table you are targeting. By default, flow runs are retained for 28 days. More info here: https://learn.microsoft.com/en-us/power-automate/dataverse/cloud-flow-run-metadata#storage-use-for-flowrun-records

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

79715985

Date: 2025-07-26 20:46:02
Score: 1.5
Natty:
Report link

Jazz Internet Packages provide seamless, high-speed connectivity tailored to the modern digital lifestyle of users across Pakistan. From casual social media browsing to demanding data needs like streaming, remote work, and online learning, Jazz offers a comprehensive range of daily, weekly, and monthly internet bundles to suit every budget and usage type. Packages like Monthly Freedom and Weekly Mega Plus deliver unmatched value with generous data volumes, nationwide coverage, and built-in call and SMS benefits. With convenient activation codes, easy tracking through the Jazz World App, and reliable 4G speeds, Jazz ensures a smooth and uninterrupted internet experience for students, professionals, and everyday users alike.

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

79715984

Date: 2025-07-26 20:46:02
Score: 2
Natty:
Report link

Recently at my company we developed this PowerShell script. You create a JSON file where you define the repositories you want to checkout, which tag you want to checkout, and where you want the repositories to be checked out, then the script will do everything for you. It can also function recursively, whereby if the repository you checkout further defines some other repository as dependencies with a similarly defined JSON file, such dependencies are automatically checked out.

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

79715964

Date: 2025-07-26 20:03:52
Score: 1
Natty:
Report link

As you can't use the Helm lookup function in ArgoCD, I think you'll have to use a different approach.

You're right about ArgoCD using helm template to render the kubernetes manifests and then applying them in the destination cluster. Mind that running helm template <chart name> --dry-run=server would also work for helm in rendering the manifests and using the lookup function. It's just that lookup doesn't work in ArgoCD (as the referred GH issues in the comments to your post discuss).

You could try to write this logic in a Job, using an image that has kubectl installed (eg. bitnami/kubectl), using a service account with the necessary RBAC configured to get/create/patch... secrets. Then you might also need a similar clean up Job that deletes the secret if the Application gets removed, making use of ArgoCD's resource hooks (https://argo-cd.readthedocs.io/en/stable/user-guide/resource_hooks/)

Another possibility, if the above is too much work, and you only care about the secret not being recreated every time it goes out of sync, is why not let ArgoCD ignore the contents of the secret for diffing? Check: https://argo-cd.readthedocs.io/en/stable/user-guide/diffing/#application-level-configuration

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Thomas Delrue

79715958

Date: 2025-07-26 19:57:51
Score: 2.5
Natty:
Report link

Try Lingvanex self-hosted translator. It can translate text, voice, files, websites in 110 languages. It has Python framework to deploy on Linux, Windows, Mac OS, Android, iOS.

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

79715954

Date: 2025-07-26 19:40:48
Score: 3
Natty:
Report link

I found the answer to the problem:

Pyglet.shapes and the shader.programm are using different shader pipelines.

This results in not foreseeable results.

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

79715949

Date: 2025-07-26 19:34:45
Score: 5.5
Natty: 5
Report link

Jay, what is the easiest way to store rich text / attributed string (note app, users can bold different words or sentences as they choose etc etc) in a server and then pull it to read back on the app?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Darth Codious

79715943

Date: 2025-07-26 19:26:42
Score: 9.5
Natty: 5.5
Report link

Did you find an solution to this?

Reasons:
  • RegEx Blacklisted phrase (3): Did you find an solution to this
  • 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 find an solution to this
  • Low reputation (1):
Posted by: Mysty

79715939

Date: 2025-07-26 19:18:39
Score: 3.5
Natty:
Report link

java.util.concurent.ExecutionException:jave.net.UknownHostExeception: Unable to resolve host "sr-live-insp2.akamaized.net" No address associated with hostname

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

79715937

Date: 2025-07-26 19:16:39
Score: 1
Natty:
Report link

The participation type mask should be 2, which is a To Recipient. You will need to specify the recipient's user record for the activity party's partyid lookup in OData endpoint syntax, e.g.

{
  "ToRecipients": [{
    "participationtypemask": 2,
    "[email protected]": "/systemusers([my systemuser guid])",
    "addressused":"[email protected]"
  }]
}

This is the same syntax used when setting lookup columns in a Dataverse create/update action in Power Automate.

References

Participation Type Mask values: https://learn.microsoft.com/en-us/power-apps/developer/data-platform/reference/entities/activityparty#participationtypemask-choicesoptions

Setting lookup values in Web API operations: https://learn.microsoft.com/en-us/power-apps/developer/data-platform/webapi/create-entity-web-api#associate-table-rows-on-create

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

79715934

Date: 2025-07-26 19:12:38
Score: 1
Natty:
Report link
server.profiles.active=dev change to 
spring.profiles.active=dev

2- fix your application-docker.properties

spring.data.redis.host=${SPRING_DATA_REDIS_HOST:authorization-server-db}
spring.data.redis.port=${SPRING_DATA_REDIS_PORT:6379}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Samira Radmaneshfar

79715931

Date: 2025-07-26 19:08:37
Score: 1
Natty:
Report link

If you declare an object inside a generate block, ordinarily the name of that object is hierarchical, i.e., loop_gen_block[0].object it may or may not need to be escaped, i.e., \loop_gen_block[0]

If you don't name the gen block, the compiler will. Might be genblock0, might be genblock[0]. Note that the index is only meaningful within generate; it's not an array.

For a generate loop, objects declared inside the loop must be referenced hierarchically to disambiguate them.

For an if generate, in Vivado at least, you can specify -noname_unnamed_generate to xelab, and if there's no ambiguity, an object declared in the block can be referenced without the added hierarchical level. Which can be very useful. But, it has to be an explicit generate block, with "generate" and "endgenerate". An implicit generate (based on, say, a parameter value) doesn't work that way and will need, or be given, a block name.

Just my experience; don't flame me if I got something wrong.

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

79715928

Date: 2025-07-26 19:02:35
Score: 4.5
Natty:
Report link

John--did you ever figure this out? I'm trying to solve the same problem myself--a Micronaut app that handles both API Gateway events and CloudWatch events. What I've ended up trying currently is to just have separate subprojects for each event type. I think this is the cleanest approach, particularly because I'm building to native images and it keeps those smaller so they start faster.

Reasons:
  • RegEx Blacklisted phrase (3): did you ever figure this out
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
Posted by: davidmerrick

79715927

Date: 2025-07-26 19:02:34
Score: 1
Natty:
Report link

Currently for VSCode you can simply do

type Simplify<T> = T extends any[] | Date ? T :
  {
    [K in keyof T]: T[K];
  } & {};
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: jeanlou1370

79715918

Date: 2025-07-26 18:53:32
Score: 0.5
Natty:
Report link

This seems to be a long known issue, which has been already recently (Python 3.13.1) fixed:

Arguments with the value identical to the default value (e.g. booleans, small integers, empty or 1-character strings) are no longer considered "not present".

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

79715917

Date: 2025-07-26 18:52:32
Score: 3
Natty:
Report link

Thanks for the suggestions. Application.Run works on the MAC where Call does not in my original code. 👩‍💻

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

79715910

Date: 2025-07-26 18:38:28
Score: 3
Natty:
Report link

You can access those for more details about the call by prefixing "https://api.twilio.com" to them

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

79715905

Date: 2025-07-26 18:34:27
Score: 1
Natty:
Report link

Props stand for properties are used to pass data from one component to another in React, usually we pass data from parent to child.

Example-

function Welcome(props) {
  return <h1>Hello, {props.name}!</h1>;

}

function App() {
  return <Welcome name="Ronak" />;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ronak mahajan

79715902

Date: 2025-07-26 18:32:26
Score: 2
Natty:
Report link

Thanks to @dbc's comment, I've got something like this in my Program.Main

builder.Services.AddMvcCore().AddJsonOptions(options => options.JsonSerializerOptions.TypeInfoResolver 
    = (options.JsonSerializerOptions.TypeInfoResolver ?? new DefaultJsonTypeInfoResolver())
    .WithAddedModifier(ti => {
      if (ti.Kind != JsonTypeInfoKind.Object) {
        return;
      }

      foreach (JsonPropertyInfo p in ti.Properties) {
        if (p.AttributeProvider?.GetCustomAttributes(
          typeof(JsonIgnoreForSerializationAttribute), false).Length > 0) {
          p.ShouldSerialize = (_, _) => false;
        }
      }
    })
);

Along with a basic JsonIgnoreForSerializationAttribute class

[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
public sealed class JsonIgnoreForSerializationAttribute : JsonAttribute;

(Comment/Rant: I think Microsoft are wrong (https://github.com/dotnet/runtime/issues/82879) here, Serialization and Deserialization are different operations, and I should be able to setup the contract for one without needing to validate the contract for the other. But that's not going to get fixed any time soon, so this work around will do fine, even if it's a touch heavier than I'd like).

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (1.5): Resolver ??
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @dbc's
  • Self-answer (0.5):
Posted by: Moose Morals

79715901

Date: 2025-07-26 18:32:26
Score: 2.5
Natty:
Report link

I made a new package for react native bluetooth peripheral since no other ones seem to be actively maintained. This should fit your needs: https://github.com/munimtechnologies/munim-bluetooth-peripheral

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

79715898

Date: 2025-07-26 18:30:26
Score: 3.5
Natty:
Report link

https://github.com/planetminguez/PyToExe <----------there is a simple drag and drop app for macOS min version 12.0 up to sequoia. You might have to recompile it for M Series. This was compiled on intel.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Filler text (0.5): ----------
  • Low reputation (1):
Posted by: Joshua John

79715892

Date: 2025-07-26 18:16:23
Score: 1
Natty:
Report link

Explanation of the problem

Reading the question and comments, I believe there's a (common) little misunderstanding here on how @media () { works.

Using this example:

@media (prefers-contrast: more) { ...

I get the sense you're thinking the @at-rule above is like:

if (getPrefersContrast() == "more") { ...

When in reality it's more of a:

if (userPrefersMoreContrast() == true) {...

What I mean by this is, CSS asks the browser a question, and the browser only returns true or false. CSS has no idea about the existance of other potential values; 'less', 'custom, etc. In CSS's eyes @media (prefers-contrast: banana) is a perfectly valid media query, and this case the browser will return "false" just like it would if the user simply didn't "prefer 'more' contrast".

JavaScript's window.matchMedia(), for better or for worse, was designed to perfectly replicate what CSS does. So, just like CSS, JS has no idea what potential prefers-contrast values could exist, all it has the power to do is ask whether one specific one does exist, and get a yes or no response.

Unlike CSS & JS, we as the developer, have access to the "The Documentation" and therefore we possess enough clairvoyance to know the exact values that could exist.

Solutions

With that being said, to answer the original question, no there's no alternate method. However, I did think of two methods which would reduce repeatability.

1. Since CSS & JS "can't", we manually provide an array of all the respective values and loop over each, and apply the change event

You already hinted at this solution and stated that it's not future-proof "what if a 'custom' value is added?", but it's even worst too since it's not cross-browser-proof either, what if one browsers adds an experimental '-webkit-high-contrast', or what if one browser simply lags behind and doesn't yet support the W3C standards.

While the list we provided is guaranteed to be not entirely correct in some cases, this idea/pattern is actually common practise and used all the time in web development. For example, since there's no transition-state-changed event, it's very common to see code like: ['transitionrun', 'transitionstart', 'transitioncancel', 'transitionend'].forEach(eventName => elem.addEventListener(eventName, someHandler));.

Similarly:

// ['dragenter', 'dragover', 'dragleave', 'drop'].forEach(eventName => ...
or
// ['pointerdown', 'mousedown', 'touchstart']
or
// ['requestAnimationFrame','webkitRequestAnimationFrame','mozRequestAnimationFrame','oRequestAnimationFrame',"msRequestAnimationFrame']

So, it's clear to see, while there are cons. It's a compromise a lot of developers are willing to make (or rather 'concede' would be a better word to use). Plus, while it may seem "brute force" as you say... that's kinda the whole point of utility functions, to convert the brute force, repetitive tasks, into a single one-use method call.

Solution #1 would look like:

function getContrastPreference() {
  const contrastOptions = ['more', 'less', 'custom'];

  for (const option of contrastOptions) {
    const mediaQuery = `(prefers-contrast: ${option})`;
    if (window.matchMedia(mediaQuery).matches) {
      return option;
    }
  }

  // If none, return the default
  return 'no-preference';
}

2. The other option is to let CSS do what it does best, use the @at-rules as usually, and store the result

:root {
  /* Defaults */
  --prefers-contrast: 'no-preference';
  --prefers-color-scheme: 'light';
  ...
}

/* Update when the media query matches */
@media (prefers-contrast: more)   { :root { --prefers-contrast: 'more'; } }
@media (prefers-contrast: less)   { :root { --prefers-contrast: 'less'; } }
@media (prefers-contrast: custom) { :root { --prefers-contrast: 'custom'; } }

@media (prefers-color-scheme: dark) { :root { --prefers-color-scheme: 'dark'; } }
function getMediaFeatureFromCSS(propertyName) {
  const value = getComputedStyle(document.documentElement).getPropertyValue(propertyName);

  // Clean up result
  return value.trim().replace(/['"]/g, '');
}

console.log(getMediaFeatureFromCSS('--prefers-contrast')); // "dark"
// getMediaFeatureFromCSS('--prefers-color-scheme');

3. As a bonus, when I read your comments, it sounded like you were wishing for something like this to exist:

window.media.addEventListener('prefers-contrast', (event) => {
  // The event payload would contain the new value
  console.log('The new contrast preference is: ' + event.value); // e.g; 'more'
});

The thing is, the beauty about the current system is that you can create this yourself, by expanding upon Solution #1. I'm not going to do this for you, too much effort, but it's not even just "possible", I'm sure someone has probably done it already.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @at-rule
  • User mentioned (0): @at-rules
  • Looks like a comment (1):
Posted by: Tigerrrrr

79715888

Date: 2025-07-26 18:10:21
Score: 1
Natty:
Report link

If you're looking for something really lightweight, I built a Chrome extension called Test API that addresses some of your pain points - it's completely offline, no accounts needed, and everything stays local on your machine.
https://chromewebstore.google.com/detail/test-api/bkndipmbnodeicgpmldococoiolcoicg?hl=en

The main limitation right now is it doesn't have import/export for collections yet (I'm actively working on that feature), so it might not solve your immediate Git workflow needs. But for quick API testing without the Postman bloat and online requirements, it could be useful for development work.

It's designed to be minimal and fast - no complex UI, just straightforward request testing when you need it.

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

79715886

Date: 2025-07-26 18:09:20
Score: 1
Natty:
Report link

select visits.* from visits join ads on visits.aid = ads.id where ads.uid = 1;

It will return all visits where the ad belongs to user with uid = 1.
If you’re only seeing one row, make sure there’s no LIMIT 1 and that your table has more matching data.

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

79715884

Date: 2025-07-26 18:05:20
Score: 0.5
Natty:
Report link

Add api to guard in config/sanctum.php so it becomes:

'guard' => ['web', 'api'],

By default it's only web.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Max S.

79715883

Date: 2025-07-26 18:03:19
Score: 1
Natty:
Report link

In config/sanctum.php, add api to guard so it become:

'guard' => ['web', 'api'],
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
Posted by: Max S.

79715881

Date: 2025-07-26 17:59:18
Score: 0.5
Natty:
Report link

from PIL import Image, ImageOps

import matplotlib.pyplot as plt

# Load the image

image_path = '/mnt/data/1000005810.jpg'

img = Image.open(image_path)

# Convert to RGB just in case

img = img.convert('RGB')

# Crop the face region roughly (manual approximation for this image)

width, height = img.size

center_x = width // 2

center_y = height // 2

# We'll take a square crop around the center for symmetry check

crop_size = min(width, height) // 2

left = center_x - crop_size // 2

top = center_y - crop_size // 2

right = center_x + crop_size // 2

bottom = center_y + crop_size // 2

face_crop = img.crop((left, top, right, bottom))

# Split into left and right halves

face_width, face_height = face_crop.size

left_half = face_crop.crop((0, 0, face_width // 2, face_height))

right_half = face_crop.crop((face_width // 2, 0, face_width, face_height))

# Mirror the halves to compare

left_mirror = ImageOps.mirror(left_half)

right_mirror = ImageOps.mirror(right_half)

# Combine for visualization: original halves mirrored

left_combo = Image.new('RGB', (face_width, face_height))

left_combo.paste(left_half, (0, 0))

left_combo.paste(left_mirror, (face_width // 2, 0))

right_combo = Image.new('RGB', (face_width, face_height))

right_combo.paste(right_mirror, (0, 0))

right_combo.paste(right_half, (face_width // 2, 0))

# Plot original crop and the mirrored versions

fig, axes = plt.subplots(1, 3, figsize=(12, 6))

axes[0].imshow(face_crop)

axes[0].set_title("Original Face Crop")

axes[0].axis("off")

axes[1].imshow(left_combo)

axes[1].set_title("Left Side Mirrored")

axes[1].axis("off")

axes[2].imshow(right_combo)

axes[2].set_title("Right Side Mirrored")

axes[2].axis("off")

plt.tight_layout()

plt.show()

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

79715879

Date: 2025-07-26 17:54:16
Score: 6
Natty: 5.5
Report link

Are there any more detailed guidelines?

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

79715875

Date: 2025-07-26 17:44:13
Score: 0.5
Natty:
Report link

Thank you Dave2e for mentioning lunar-package.

So the solution is:

library(tibble)
library(dplyr)
library(lubridate)
mycal <- tibble(datum=(seq(as.Date("2020/01/01"), as.Date("2025/12/31"), "days")))

library(lunar)
mycal %>% mutate(moon=lunar.phase(datum, name=T) %>% as.character())
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Whitelisted phrase (-1): solution is
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Patrick

79715871

Date: 2025-07-26 17:34:11
Score: 2
Natty:
Report link

Now you can access logo because it is a static file which is rendered in HTML (img tag- browser resolves /logo.png to the root). It doesn't need any fetching or parsing but when it comes to react-simple-maps while accessing /topo.json the fetch() fails so it displays an unexpected error, to avoid this try using absolute url ex geography = { new URL('/topo.json', window.location.origin).toString() }, this ensures fetch always reach the path.

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

79715866

Date: 2025-07-26 17:29:10
Score: 1
Natty:
Report link

@Andrew A's answer is actually correct.

The error I started getting [runtime not ready]: ReferenceError: Property 'document' doesn't exist, js engine: hermes was caused by React Native styled-components library. The older versions of this library try to reference the web document object, which is no longer available in the new architecture.

I had to do an extra step of upgrading styled-components to version 6.1.18 or superior, which supports Expo53. Also make sure I'm always importing "styled-components/native" instead of "styled-components".

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

79715861

Date: 2025-07-26 17:13:05
Score: 3
Natty:
Report link

Please include the column names inside double quotes. It fixes the column does not exist error.

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

79715847

Date: 2025-07-26 16:52:00
Score: 0.5
Natty:
Report link

With some other answers on stackoverflow and with some help from Gemini AI, here's what works.

The python script:

def _start_msys2_terminal(self, next_dir):
    win_dir = next_dir.replace('~', os.path.expanduser('~'))
    win_dir = win_dir.replace('/', '\\')
    os.system(f'cd /d "{win_dir}" & mintty.exe -s 80,42 bash --login -i')

This opens a new MSYS2 shell, with the cols/rows (80,42), runs .bash_profile and .bashrc as expected, and cd's into the given dirctory

So I end up with two terminals. The original one where I ran the function above and a new one with a bash shell at the new directory. This is what I wanted.

e.g. if I run _start_msys2_terminal('~/projects/web/xplat-utils-rb-ut'), the new terminal shows:

in /c/Users/micro/.bash_profile HOME=/c/Users/micro
in .bashrc
HOME is /c/Users/micro, OSTYPE is cygwin
micro@mypc:~/projects/web/xplat-utils-rb-ut$

Please note, as far as I can tell, the script C:/msys64/msys2_shell.cmd does not have the capability of changing directories and setting mintty geometry. Also note I do not know DOS scripts, commands, etc. very well so it may actually be possible.

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

79715846

Date: 2025-07-26 16:52:00
Score: 1.5
Natty:
Report link

0

Open the file ./ios/Podfile And add these lines inside your targets (right before the use_react_native line in current react-native:

use_frameworks! :linkage => :static $RNFirebaseAsStaticFramework = true Also, if you have flipper_configuration Then, commented it out, disable flipper at all.

If it still does not work, check all iOS setup steps carefully from the official doc, https://rnfirebase.io/#configure-firebase-with-ios-credentials-react-native--077

Check below podfile: try it once.

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

79715831

Date: 2025-07-26 16:33:56
Score: 2
Natty:
Report link

Ok found it !

Cmd+Shift+P to get the command palette on my VsCode, then Local History, Find and Restore.

Then, I have a list of all of the files and the date of last edit.

Click on it, click on the date you want.

I did not found a trick to get all of the folder at once, but better than nothing.

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

79715828

Date: 2025-07-26 16:29:55
Score: 1.5
Natty:
Report link

To invoke the graph, you should use the key messages not text in input:

{"messages": sample_text}

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

79715824

Date: 2025-07-26 16:26:54
Score: 4
Natty: 4.5
Report link

Isn't it

"fluent-ffmpeg" 

depreciated ?

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: pur_overspirit

79715801

Date: 2025-07-26 15:46:45
Score: 4
Natty:
Report link

I could not like or comment user's answer (user30947624) due to 0 reputation but it works for me. Thanks a lot mate.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): works for me
  • RegEx Blacklisted phrase (1.5): reputation
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Roman Krytski

79715800

Date: 2025-07-26 15:45:45
Score: 0.5
Natty:
Report link
import java.util.Scanner;

public class PeopleWeights {
   public static void main(String[] args) {
      Scanner scnr = new Scanner(System.in);
      double[] weights = new double[5];
      double total = 0.0;
      double max = 0.0;

      for (int i = 0; i < 5; i++) {
         System.out.println("Enter weight " + (i + 1) + ": ");
         weights[i] = scnr.nextDouble();
         total += weights[i];
         if (weights[i] > max) {
            max = weights[i];
         }
      }

      System.out.println();
      System.out.print("You entered: ");
      for (int i = 0; i < 5; i++) {
          System.out.print(weights[i] + " ");
      }

      double average = total / 5.0;

      System.out.println("\nTotal weight: " + total);
      System.out.println("Average weight: " + average);
      System.out.println("Max weight: " + max);

      scnr.close();
      return;
   }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30967634

79715798

Date: 2025-07-26 15:39:44
Score: 1
Natty:
Report link

This worked for me: pointing RStudio to the right R version in: Tools -> Global Options -> Basic -> R Version (thanks to discussion on https://github.com/rstudio/rstudio/issues/11079

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Whitelisted phrase (-1): This worked for me
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: MartineJ

79715796

Date: 2025-07-26 15:37:43
Score: 0.5
Natty:
Report link

As far as I know, the @googlemaps/markerclusterer package does not include code to check if the map has any bounds restrictions and to stay within those when a cluster marker is clicked.

What you can do is in your cluster marker click handler function, check if the location is outside of your boundaries and if so, adjust accordingly.

Other clustering options: https://github.com/bdcoder2/grid_clusterer

Reasons:
  • Contains signature (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: bdcoder

79715790

Date: 2025-07-26 15:25:40
Score: 1.5
Natty:
Report link

If your are using Laravel 12 on MacOS, just move Http and Provider files to your Module base directory.

This has worked for me !

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: IMOROU Soufiane

79715788

Date: 2025-07-26 15:23:40
Score: 1
Natty:
Report link
print("\U0001F604")

Gives a 😄
Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • High reputation (-1):
Posted by: Sergio Abreu