79662996

Date: 2025-06-12 06:10:37
Score: 4
Natty:
Report link

Please refer flutter_fix . It might fix you problem.

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

79662994

Date: 2025-06-12 06:09:36
Score: 2.5
Natty:
Report link

try to clear cache
Shift + F5: The Hard Refresh

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Michał Zych

79662992

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

I'm not trying to do anything like that but I wanted to add some logic to Keycloak authenticators so I was interested in this question. The redirect uri ( ru ) is in the client_data URL path parameter encoded to base64, of the request starting the Login and then it is passed to the Register and finally used. I don't see an option to replace it - at least not in the authenticator.

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

79662981

Date: 2025-06-12 05:55:32
Score: 3
Natty:
Report link

found a site that was able to figure this out. seems like its geared towards SaaS use though.
https://send.co/

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

79662977

Date: 2025-06-12 05:53:31
Score: 1
Natty:
Report link

According to the following references, the default port or EZVIZ cameras is 554

In my case this url worked with opencv and python

rtsp://admin:****@192.168.0.86:554

8000 is not the RTSP port

Like you, I initially thought the port was 8000 after checking the Ezviz mobile app

enter image description here

The images are from a pdf I found : https://svtclti.com/manuales/CCTV/CAMARAS/EZVIZ/C%C3%B3mo%20activar%20RTSP%20en%20Ezviz.pdf

Required configurations

  1. Log in to your EZVIZ account, and tap the profile icon on the top left corner.
  2. Tap Settings
  3. Scroll down to find LAN Live View
  4. Make sure your camera and phone are on the same LAN, then tap Start Scanning.
  5. Enter the device verification code as the password (usually located on the white sticker of your camera) and the username is admin by default, and you will be able to view your camera.
  6. While the camera is connected (mobile app), go to the settings

enter image description here

  1. Local Service Settings
  2. Enable the RTSP and accept the warning

enter image description here

More details:

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • High reputation (-2):
Posted by: JRichardsz

79662976

Date: 2025-06-12 05:52:30
Score: 5
Natty:
Report link

I have a same problem.
When I opened a TCPDF-generated PDF with embedded CMYK JPGs in Illustrator, the document's color mode was CMYK. Therefore, the method given by jgtokyo did not solve the problem.

I will comment again when the problem is solved.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have a same problem
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Ayumi

79662972

Date: 2025-06-12 05:47:29
Score: 4.5
Natty: 5
Report link

this is the piece of code I have if the user enter the email appart from quest-global.com we have to throw error if he entered gmail or hotmail we have to dispaly the message please enter the valid email address?

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

79662969

Date: 2025-06-12 05:43:27
Score: 2
Natty:
Report link

On the Issues page, you can write, e.g., closed:>@today-1y in the search bar — that would filter for issues that were closed in the last year. Other filter options include created: and merged:.

GitHub issues screen using the closed filter

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Joel Niemelä

79662967

Date: 2025-06-12 05:42:27
Score: 1
Natty:
Report link

check if you have the below line added in in the scripts section of your package.json file present in the root directory of your project :

"start" : "react-scripts start"

this is the line that enables the "npm start" command to build and run your react application

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

79662959

Date: 2025-06-12 05:35:24
Score: 1
Natty:
Report link

Solutions :

1.Install the latest version of image_cropper.

2.In the latest version you can pass the property of uiSettings. Inside you can pass the property AndroidUiSettings.

3.Wrap your app in a SafeArea.

4.Use MediaQuery.of(context).padding for adjusting the content.

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

79662953

Date: 2025-06-12 05:30:23
Score: 0.5
Natty:
Report link

The problem was the directory structure. Locating the source files in a src sub-directory resolved the issue.

    my_module/
    +---LICENCE.md
    +---pyproject.toml
    +---README.md
    +---requirements.txt
    +---src/
    |   +---my_module/
    |       +---__init__.py
    |       +---my_module.py
    |       +---my_module.tcss
    +---git/
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: RBE

79662950

Date: 2025-06-12 05:29:23
Score: 3
Natty:
Report link

Free Fire Beta 2025 APKLULU.COM.xapk

1 INSTALL_FAILED_NO_MATCHING_ABIS: INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113

2 Apl tidak terpasang

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

79662946

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

In short, write model doesn't mean that you cannot read the data from the store. You just cannot read it from the Presentation (UI, client,...). Within write model you can start a transaction, read policies, read anything from the write store that helps you to validate the command, then execute the command and write the state to the store.

So, write store should be the primary store, i.e. all policies should be available in write store. In general, all data should be in primary store first, then replicate to the read stores. All transactions in the write model are strongly consistent. But for the whole application, it's eventually consistent because the client reads from the read stores.

It's similar to database clustering. All transactions must be executed on the primary shard, while queries can be sent to replica shards. DB cluster doesn't prevent you to send the queries to the primary shard, but obviously it would be better for scaling if you route the queries to replicas.

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

79662944

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

It happenes me too, I am even using Next.js 15 latest version.

I just opted out optimization option.

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

79662940

Date: 2025-06-12 05:17:20
Score: 2.5
Natty:
Report link

Tone.Sampler doesn't do multiple samples per key, you will have to do this yourself. You could try to do them seperately. Don't use Tone.PitchShift. It is not use to play multiple notes with different pitches together

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

79662938

Date: 2025-06-12 05:13:18
Score: 7 🚩
Natty:
Report link

Can you please share me the DDL using AFTER SERVER ERROR ON DATABASE

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you please share me
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can you please share me the
  • Low reputation (1):
Posted by: Sadhana

79662933

Date: 2025-06-12 05:09:17
Score: 1.5
Natty:
Report link

CRM stands for Customer Relationship Management. It refers to a technology, strategy, and process that helps businesses manage and improve their interactions with current and potential customers. CRM systems are used to:

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

79662931

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

Check your internet connection speed. That could be culprit.

Usually takes max 15-20 mins for full image download and 10-15 for the docker compose up.

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

79662927

Date: 2025-06-12 04:56:14
Score: 0.5
Natty:
Report link

Let's break down the behavior of these DAX formulas and the concept of context transitions:

Key Concepts

  1. Filter Context: The set of filters applied to the data model when a calculation is evaluated.

  2. Row Context: The context of a single row in a table being processed by an iterator function like FILTER.

  3. Context Transition: The automatic conversion of row context to filter context when using CALCULATE.


Example 2 Analysis

Example 2 := 
CALCULATE (
    [Sales Amount],
    FILTER (
        ALL ( 'Date' ),
        'Date'[Date] <= MAX ( 'Date'[Date] )
    )
)

Why Doesn't MAX Return the Last Date in the Table?

Visual Filter Context

No Context Transition


Contrast with Example 1 & 3

Example 1

Example 1 := 
CALCULATE (
    [Sales Amount],
    FILTER (
        ALL ( 'Date' ),
        'Date'[Date] <= [MaxDate]
    )
)

Example 3

Example 3 := 
CALCULATE (
    [Sales Amount],
    FILTER (
        ALL ( 'Date' ),
        'Date'[Date] <= CALCULATE ( MAX ( 'Date'[Date] ) )
    )
)

Summary

| Example | Behavior | Context Transition | |---------|--------------------------------------------------------------------------|--------------------| | 1 | [MaxDate] captures the visual's filter context before iteration. | No | | 2 | MAX inherits the visual's filter context (no transition). | No | | 3 | Inner CALCULATE resets filter context to ALL('Date'). | Yes |


Practical Implications


When to Use Each Approach

This behavior is foundational to DAX's "context transition" mechanics, which are critical for mastering dynamic calculations in Power BI and Analysis Services.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Filler text (0.5): ---------
  • Filler text (0): --------------------------------------------------------------------------
  • Filler text (0): --------------------
  • Low reputation (1):
Posted by: anil kr maurya

79662924

Date: 2025-06-12 04:50:12
Score: 2
Natty:
Report link

You have to explicitly tell Fusion that you are interested in non-optimal solutions. See the remark in

https://docs.mosek.com/latest/pythonfusion/accessing-solution.html#retrieving-solution-values

For example

M.acceptedSolutionStatus(AccSolutionStatus.Feasible)
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Michal Adamaszek

79662923

Date: 2025-06-12 04:49:12
Score: 1.5
Natty:
Report link

G Hub only let's you use the macro buttons on Logitech keyboards as triggers, so u can't assign macros or lua scripts to regular keys. It's possible to use modifiers as conditions, such as triggering the script with MMB only if lctrl is pressed, but not with lctrl alone.

This should be simple to do in Autohotkey, but some anti-cheats could flag that as irregular software interactions. Give it a try if that's not your case.

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

79662921

Date: 2025-06-12 04:48:11
Score: 1
Natty:
Report link

Okay - the issue is that the nodes also need a key value:

const checkbox1 = {
        label:"checkbox 1",
        key: 'checkbox_1'
      };

      const checkbox2 = {
        label:"checkbox 2",
        key: 'checkbox_2'
      };
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Tim

79662920

Date: 2025-06-12 04:47:11
Score: 3
Natty:
Report link

I have using a program called Advik EML Converter. This app basically extract attachments from EML files into .pdf, .csv, ics, etc. If your email file saved attachments in .pdf then it will export attachments it in .pdf file.

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

79662919

Date: 2025-06-12 04:46:11
Score: 1.5
Natty:
Report link

Just like OP I was trying to get row-based conditional formatting going. Using OFFSET worked for me. Thanks @ttaaoossuu. The naysayers may not like it but it seems to be the only workaround that actually works.

Additionally, note that conditional formatting does not allow boolean indicators like AND, but easily got around that by creating hidden columns to do the hard work of combining conditions.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): worked for me
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Sumi

79662918

Date: 2025-06-12 04:44:10
Score: 1.5
Natty:
Report link

Recommendations

Option 1: Go ConstraintLayout

Option 2:

if still wants to use LinearLayout Please remove relative layout. try the below code, Relplace the image with yours original one i have used placeholder. If still you see the bad UI please share the file @style/MediaButton


<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    android:paddingHorizontal="10dp"
    android:gravity="center">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:gravity="center"
        android:paddingVertical="6dp"
        android:layout_marginTop="12dp"
        android:layout_marginBottom="12dp"
        android:weightSum="5">

        <ImageButton
            android:id="@+id/btnvolumdown"
            android:layout_width="0dp"
            android:layout_height="35dp"
            android:layout_weight="1"
            android:background="@android:drawable/ic_media_next"
            android:contentDescription="Volume Down"
            android:tint="@color/black" />

        <ImageButton
            android:id="@+id/rew"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:background="@android:drawable/ic_media_previous"
            android:contentDescription="Rewind" />

        <ImageButton
            android:id="@+id/play"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:background="@android:drawable/ic_media_play"
            android:contentDescription="Play" />

        <ImageButton
            android:id="@+id/ffwd"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:background="@android:drawable/ic_media_next"
            android:contentDescription="Fast Forward" />

        <ImageButton
            android:id="@+id/btnvolumup"
            android:layout_width="0dp"
            android:layout_height="35dp"
            android:layout_weight="1"
            android:background="@android:drawable/ic_media_pause"
            android:contentDescription="Volume Up" />
    </LinearLayout>

</LinearLayout>
Reasons:
  • RegEx Blacklisted phrase (2.5): please share
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Vivek Samele

79662911

Date: 2025-06-12 04:36:07
Score: 0.5
Natty:
Report link

If you are using com.google.android.material.textfield.TextInputLayout and com.google.android.material.textfield.TextInputEditText, just adding the code below is enough.

textInputEditText.isFocusableInTouchMode = true
textInputEditText.setFocusable(true)
textInputEditText.requestFocus()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Joonsoo

79662908

Date: 2025-06-12 04:33:06
Score: 4
Natty:
Report link

Is there a way of adding API controllers to the server project and calling them from the client?

Also, there is also no longer a Main startup method in the client, so I can't see how to add services to the client project.

Reasons:
  • Blacklisted phrase (1): Is there a way
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is there a
  • Low reputation (1):
Posted by: Robert Clancy

79662904

Date: 2025-06-12 04:24:03
Score: 1
Natty:
Report link

Neither Bcrypt or Argon2 use SHA-256 or SHA-512 internally.

Bcrypt: is based on Blowfish cipher and has its own key setup mechanism, it's designed in the late 90s but still considered secure when properly configured (e.g., cost factor ≥12).

Argon2: uses BLAKE2b, newer cryptographic hash function, it has multiple versions: Argon2id, Argon2i, Argon2d.

Argon2id is considered best password hash function today.

You should not use SHA-256 or SHA-512 for passwords, these hash are for data integrity purposes, like signing requests, checking file integrity, or token hashing.

You can read more about argon2 and password storage

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

79662902

Date: 2025-06-12 04:22:02
Score: 3
Natty:
Report link

There is no built-in setting in LM-studio that can automatically do that. You will have to manually do the conversion outside of LM-studio

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

79662892

Date: 2025-06-12 04:05:58
Score: 2
Natty:
Report link

Try disabling extensions in browser if using. In my case the speechify extension in my browser was interfering the smooth scroll behavior after disabling , it worked.

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

79662889

Date: 2025-06-12 03:55:56
Score: 1
Natty:
Report link

Use io.ReadFull to slurp up the desired number of bytes on each iteration of the loop.

buf := make([]byte, 10)
for {
    _, err := io.ReadFull(r.Body, buf)
    if err == io.ErrUnexpectedEOF || err == io.EOF {
        // Success!
        break
    } else if err != nil {
        // Something bad happened.
        log.Fatal(err)
    }
    time.Sleep(time.Second)
}
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: thwd

79662883

Date: 2025-06-12 03:39:52
Score: 4
Natty:
Report link

It's easy, all you have to do is translate this post into English. Here are the instructions: https://tecnologiageek.com/android-desactiva-asi-la-pantalla-de-inicio-del-sistema/#google_vignette

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

79662876

Date: 2025-06-12 03:23:48
Score: 2
Natty:
Report link

For a single directory:

for %a in (*.*) do find /i "string to search for"

Will do the job. Otherwise, you can do something like

dir /s /b *.txt > filelist.txt

to get a recursive list and then

for /f %a in (filelist.txt) do find /i "string to search for"

You can also use && and || to specify other things like && echo %a to echo the file name. . . will work, but might not be as fast as recursive grep.

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

79662874

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

Use the for statement to call CopyN(io.Discard, r.Body, 10) in a loop and sleep after each chunk.

for {
    n, err := io.CopyN(io.Discard, r.Body, 10)
    if err == io.EOF {
        // Body successfully discarded.
        break
    } else if err != nil {
        log.Fatal(err)
    }
    time.Sleep(time.Second)
}
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Jasmine Crockett

79662872

Date: 2025-06-12 03:15:46
Score: 1.5
Natty:
Report link

Try --ssl-no-revoke option with curl like

curl --ssl-no-revoke https://maintenanceplus.nl 
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: liuliang

79662871

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

tsconfig.ts is No modifications are needed.

I merely added the comments for the "output" directory.

edit schema.prisma -output

execute npm i prisma @prisma/client

npx npx prisma generate

is will be OK

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: One24 Jack

79662868

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

surl & furl in payu request should be an api endpoint. Payu sends the status of the transaction to your api endpoint. once you receive the request from payu, process it, save it to your database and return a redirect request(send transaction id etc) to your client app for further processing.

i have an asp.net webapi and angular app and this is how i was able to handle redirection from payu.

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

79662864

Date: 2025-06-12 02:58:42
Score: 1.5
Natty:
Report link

Right after commenting I actually figured this out. For people using the Azure Devops Xcode pipeline task (ver. 5.*), check your 'Advanced' settings

Once I unchecked the "Use xcpretty" option I could see all the build and build phase script output that I'm used to seeing locally. This includes the downstream CompileC failure errors that I was missing too

enter image description here

text tags: missing script build phase print output logs Xcode azure

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

79662858

Date: 2025-06-12 02:43:38
Score: 1.5
Natty:
Report link

Another possibility for those struggling with aws grok - the log files I was trying to crawl were in uft-16 LE BOM (just what the 3rd party system was creating) and grok would not work - changed the log files to utf-8 and it worked

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

79662853

Date: 2025-06-12 02:33:36
Score: 1
Natty:
Report link

Sorry about the late answer. Yes it can be done.

AABB-AABB intersections can be done by tracing a ray segment along each edge of each box against the other box (TLAS intersection testing).
Triangle-triangle intersection testing can be done by constructing 3 fake triangles orthogonal to each original triangle along each edge of the triangle (to catch the special case of the original triangles being coplanar) and then tracing a ray segment along each edge of each original triangle.

Source: https://arxiv.org/pdf/2402.14801v1

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

79662847

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

kitikiplot Python library can be used to visualize sequential categorical data. Also, sliding window can be applied, focus can be set.

To install:

pip install kitikiplot

Quick Start:

from kitikiplot.core import KitikiPlot

# Consider 'df' is a 'pd.DataFrame' containing 'Summary' column
ktk= KitikiPlot( data= df["Summary"].values.tolist() )

ktk.plot( )

1. Short Genome Sequences: A, T, G, C

Grid Plot For Short Genome Sequences

2. Pollutant levels[enter image description here]

Ecology Linear Plot

GitHub Source Code: https://github.com/BodduSriPavan-111/kitikiplot

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Boddu Sripavan

79662830

Date: 2025-06-12 01:35:23
Score: 2.5
Natty:
Report link

it depends how you setup your project, you has defined the Buefy in a global state above will work when the function hit this code, else you need to import the Buefy within the component where are you are using it.

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

79662827

Date: 2025-06-12 01:24:21
Score: 1
Natty:
Report link

"The inviteToken is passed as input."

How are you passing this value to the custom policy?

The REST API requires this as input. Since this is not given a value anywhere in the custom policy, this may explain the error?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: rbrayb

79662822

Date: 2025-06-12 01:17:19
Score: 0.5
Natty:
Report link

I tried to check the local port before creating the container and found that port 5433 was already in use.

C:\Windows\System32>netstat -aon | findstr LISTENING

TCP [::]:5433 [::]:0 LISTENING 6017

I checked the information and found that postgrep.exe had occupied port 5433.

C:\Windows\System32>tasklist /FI "PID eq 6012"

Choose a non-used port to create a container and the connection will be successful

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

79662817

Date: 2025-06-12 01:11:18
Score: 0.5
Natty:
Report link

When you load your app, you're presumably going to the / route. When using a browser to visit a page, a GET request is sent. Since the / route only allows POST requests, Flask returns an error.

POST requests are used when data needs to be sent to the server. See the corresponding MDN page for more information

Since no processing of user data is done in the main function, remove methods=["POST"] from its decorator. This will set the allowed methods to GET. (see Flask Docs)

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Low reputation (0.5):
Posted by: Advaith

79662814

Date: 2025-06-12 01:02:16
Score: 1
Natty:
Report link

I am not very familiar with Canvas LMS but based on your description it sounds like they restrict JavaScript for security reasons. as you mentioned CSS pseudo-classes and browser events would normally help in this case but it seems those are not possible given the limitations.

One suggestion I can offer is to use the title attribute for the words you want to display the tooltip for. It is a basic solution with limited styling through inline CSS but it does show a tooltip on hover and might still be useful.

Good luck!

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

79662812

Date: 2025-06-12 01:02:16
Score: 2
Natty:
Report link
final void Function() startQuiz;

remove void here

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

79662803

Date: 2025-06-12 00:41:11
Score: 1
Natty:
Report link

A bit late maybe, but it might help someone: you can simply group by the sort field, so when that sort field is repeated, it will sort and group at the same time.

<p-table 
[value]="data" 
groupRowsBy="index"
rowGroupMode="rowspan" >
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ernando

79662802

Date: 2025-06-12 00:39:10
Score: 4.5
Natty:
Report link

i know this is an older thread and late to a reply but https://www.querystreams.com

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

79662788

Date: 2025-06-12 00:11:04
Score: 2.5
Natty:
Report link

It appears as though there is an option to teardown a provider state here: https://github.com/pact-foundation/pact-net/blob/b3c2fe14a513a886dab165721b156526765690fa/tests/PactNet.Tests/Verifier/ProviderStateOptionsTests.cs#L24

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

79662787

Date: 2025-06-12 00:10:04
Score: 1
Natty:
Report link

Alright, so this is one of those classic Flutter notification quirks that loves to waste your time. You’ve got the zonedSchedule call working just enough to add a pending notification, but then it just chills in limbo like it's waiting for a divine signal that never comes. First off, make sure you’ve actually initialized your timezone — and no, not just initializeTimeZones(), but also setLocalLocation() using flutter_timezone. Without that, tz.local is basically a confused tourist with no map. Put it in main() before anything else runs.

Then we get to Android 12+, where Google decided that exact alarms are dangerous and must be tamed. So yes, even if you slapped <uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM"/> into the manifest, it still does nothing unless the user manually gives your app permission through system settings. You can try triggering Intent(Settings.ACTION_REQUEST_SCHEDULE_EXACT_ALARM) on the native side, but for debugging, just test on Android 11 or below first so you don’t lose your mind.

Also, your scheduling logic seems fine on paper, but remember: if the scheduled time is even a hair too close to DateTime.now(), it might just silently ignore it. Add a buffer, like 30 seconds, just to be safe. That means tz.TZDateTime.from(DateTime.now().add(Duration(seconds: 30)), tz.local), not some half-second offset that gets eaten by execution delay. Oh, and androidAllowWhileIdle: true should always be set if you want it to actually fire when the device is dozing off in a dark corner.

So in summary:

– Initialise the timezone properly, not halfway.

– Android 12+ needs manual permission for exact alarms.

– Always give it a scheduling buffer.

– androidAllowWhileIdle must be set.

– If it works with show() but not zonedSchedule(), then congrats: the problem is timezone, permissions, or scheduling time — pick your poison.

Hope this spares you the descent into madness. Let me know if you want a full working example that’s not possessed.

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

79662785

Date: 2025-06-12 00:09:03
Score: 1.5
Natty:
Report link
# Criando o arquivo naruto_vs_beach.py com o código do jogo

code = """
import pygame
import random

# Inicialização do Pygame
pygame.init()

# Tamanho da tela
WIDTH, HEIGHT = 800, 600
screen = pygame.display.set_mode((WIDTH, HEIGHT))
pygame.display.set_caption("Naruto vs Beach")

# Cores
WHITE = (255, 255, 255)
BLUE = (135, 206, 235)  # Céu
SAND = (194, 178, 128)

# Clock para controlar FPS
clock = pygame.time.Clock()
FPS = 60

# Player (Naruto) settings
player_width, player_height = 50, 70
player_x, player_y = WIDTH // 2, HEIGHT - player_height - 50
player_speed = 5

# Inimigo settings
enemy_width, enemy_height = 50, 70
enemies = []
enemy_speed = 3
spawn_timer = 0

# Ataque settings
attack = False
attack_cooldown = 0

# Font para mostrar texto
font = pygame.font.SysFont(None, 36)

def draw_player(x, y):
    # Corpo do Naruto (retângulo laranja)
    pygame.draw.rect(screen, (255, 140, 0), (x, y, player_width, player_height))
    # Cabeça (círculo)
    pygame.draw.circle(screen, (255, 224, 189), (x + player_width // 2, y - 20), 20)

def draw_enemy(x, y):
    # Corpo do inimigo (retângulo vermelho)
    pygame.draw.rect(screen, (255, 0, 0), (x, y, enemy_width, enemy_height))
    # Cabeça (círculo)
    pygame.draw.circle(screen, (139, 0, 0), (x + enemy_width // 2, y - 20), 20)

def draw_attack(x, y):
    # Representa um ataque (um círculo azul na frente do player)
    pygame.draw.circle(screen, (0, 0, 255), (x + player_width + 20, y + player_height // 2), 15)

def main():
    global player_x, attack, attack_cooldown, spawn_timer

    running = True
    score = 0

    while running:
        screen.fill(BLUE)  # Céu
        pygame.draw.rect(screen, SAND, (0, HEIGHT - 100, WIDTH, 100))  # Praia (areia)

        for event in pygame.event.get():
            if event.type == pygame.QUIT:
                running = False

        keys = pygame.key.get_pressed()

        # Movimento do player
        if keys[pygame.K_LEFT] and player_x > 0:
            player_x -= player_speed
        if keys[pygame.K_RIGHT] and player_x < WIDTH - player_width:
            player_x += player_speed

        # Ataque com espaço
        if keys[pygame.K_SPACE] and attack_cooldown == 0:
            attack = True
            attack_cooldown = 20  # Cooldown de frames para o ataque

        # Atualiza ataque
        if attack:
            draw_attack(player_x, player_y)
            attack_cooldown -= 1
            if attack_cooldown <= 0:
                attack = False
                attack_cooldown = 0

        # Spawn de inimigos
        spawn_timer += 1
        if spawn_timer > 60:  # Spawn a cada 1 segundo
            enemy_x = random.randint(0, WIDTH - enemy_width)
            enemy_y = HEIGHT - enemy_height - 100
            enemies.append([enemy_x, enemy_y])
            spawn_timer = 0

        # Movimenta inimigos
        for enemy in enemies[:]:
            enemy[0] += enemy_speed * (1 if enemy[0] < player_x else -1)  # inimigos vão na direção do player
            draw_enemy(enemy[0], enemy[1])

            # Checa colisão com ataque
            if attack and (player_x + player_width + 5 < enemy[0] < player_x + player_width + 50):
                enemies.remove(enemy)
                score += 1

            # Se inimigo alcançar o player, fim de jogo
            if abs(enemy[0] - player_x) < 40:
                running = False

        draw_player(player_x, player_y)

        # Mostrar score
        score_text = font.render(f"Score: {score}", True, WHITE)
        screen.blit(score_text, (10, 10))

        pygame.display.flip()
        clock.tick(FPS)

    pygame.quit()

if __name__ == "__main__":
    main()
"""

file_path = "/mnt/data/naruto_vs_beach.py"
with open(file_path, "w") as f:
    f.write(code)

file_path
Reasons:
  • Blacklisted phrase (2): código
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Raphael Benjamin

79662779

Date: 2025-06-11 23:54:00
Score: 0.5
Natty:
Report link
  1. Install miniconda (a minimal version of conda) following instructions in this link. You can do it as a regular user, no sudo needed.

  2. conda init bash and relogin (or source) to add conda to your PATH.

  3. conda create -n env_name python=3.10

  4. conda activate env_name

Now you can install packages with conda install or pip install, but better to stick to one method.

Conda is really cool piece of software - it combines python version management, virtual environment and package installing.

Reasons:
  • Blacklisted phrase (1): this link
  • Has code block (-0.5):
Posted by: hans

79662771

Date: 2025-06-11 23:35:55
Score: 6.5 🚩
Natty: 5
Report link

How would you modify your script to allow multiple range within same sheet to export as multiple PDF pages?

Reasons:
  • Blacklisted phrase (1): How would you
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): How would you
  • Low reputation (1):
Posted by: Jordan Xie

79662763

Date: 2025-06-11 23:20:50
Score: 0.5
Natty:
Report link

I might have edited too much of the original post so I post that message to answer my own question, trying to gain clarity and hoping to make it clearer for other users stomping upon that very same problem.

I did have both ruby versions, the first one being 3.3.8 installed via the xbps-install VoidLinux's package-manager and the second one being 3.5.0dev, built from source.

The solution was to nuke the previous ruby installation and all its environment, including the following packages: ruby, ruby-lsp, ruby-manpages, ruby-multi_xml` and ruby-ri.
I also ditched both /usr/lib/ruby` and /usr/lib64/ruby dossiers.

I then removed all environment variables related to Ruby (viz. RUBY_ROOT, GEM_PATH, GEM_ROOT, RUBY_GC_LIBRARY, GEM_HOME and RUBY_CONFIGURE_OTS).

I then carried out gem update --system then gem update, and finally gem install ruby-lsp.
I removed the bin's path of solargraph (another ruby LSP) from my $env.PATH as only directories - not binaries - are used there.

Thank you for your time.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Aurélien Plazzotta

79662762

Date: 2025-06-11 23:20:50
Score: 1
Natty:
Report link

That happens because you have 2 or more python interpreters on your system

for solving this problem , before pip , you have to choose your target interpreter , for example you can say : python3.13 -m pip install numpy

Hope it helps

Reasons:
  • Whitelisted phrase (-1): Hope it helps
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Parsa Nojavan

79662756

Date: 2025-06-11 23:12:48
Score: 1.5
Natty:
Report link

Essentially you want to send BCC calendar invitations that hide each invitee from each other. You can achieve this within your Outlook calendar application by creating a separate invitation for each attendee with the same Zoom link and meeting information. My understanding is Outlook no longer supports emails in the resources filed and in any event forwarding is not advisable since they are less likely to add it to their calendar and may not receive default reminders. If you want to automate the creation of multiple invites per event you can either try the Graph API or use Salepager which lets you send BCC Outlook calendar invitation with the Zoom link.

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

79662734

Date: 2025-06-11 22:42:41
Score: 2
Natty:
Report link

traditional approach is initializing mux with option, that decides which code to set based on grpc-metadata in context. Also there is way of manipulating codes per rpc(enpoint) using options in proto definitions, but i have not tried that way yet.
Actually, nowdays both ways are described at https://grpc-ecosystem.github.io/grpc-gateway/docs/mapping/customizing_your_gateway/#controlling-http-response-status-codes

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Дов Машле

79662732

Date: 2025-06-11 22:38:40
Score: 2
Natty:
Report link

The function names in your error (vkCreateInstance@12) strongly suggest you are compiling a 32-bit. You must link against the 32-bit version of the Vulkan library.

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

79662728

Date: 2025-06-11 22:32:38
Score: 0.5
Natty:
Report link

just in case this helps anyone, I was having this issue and I was doing everything I had done in previous projects/lessons while learning but the image still wouldn't show.

I had src="./Resources/Images/books.jpg" and compared to previous files with same format and was stumped. Turns out because I had moved the html files into a separate folder for multiple pages, the ./Resource path was no longer working. I had to but the full path in which worked.

src=

"C:\git_Repositories\Portfolio_Project\Resources/books.jpg"
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Rob

79662719

Date: 2025-06-11 22:17:34
Score: 2
Natty:
Report link

You might want to consider using --editable

vcpkg install mypackage --editable

This will allow you to modify the source code in buildtrees to develop a patch. it is not for production

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

79662717

Date: 2025-06-11 22:06:32
Score: 1
Natty:
Report link

If you have a Data-Driven board, you are not able to update the column headers, these are fixed to the field you used to define the column during creation. You can update the column names on a freeform board simply by clicking the name, but sadly that is not what you're looking for.

Editing Freeform board column header by selecting it

Data driven board creation window

There is a table which manages these: vtb_lane, however, if you make a modification to the name field, the next time you navigate to the board it will re-build the column headers and your updated name will not be visible. It will also delete that vtb_lane record you just edited.

Updated lane name in vtb_lane

Updated name not visible

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

79662710

Date: 2025-06-11 22:01:31
Score: 3
Natty:
Report link

Your problem might be related to the updates in Google Photos API. Some scopes are removed from the Library API after March 31, 2025 which you can check in this documentation. You might also find some helpful insights in this Reddit post.

Reasons:
  • Blacklisted phrase (1): this document
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: yannco

79662709

Date: 2025-06-11 21:57:30
Score: 5.5
Natty: 7.5
Report link

thanks so much for your fully ideas.
i have an other question about this problem, i run your answers and my model works well but first number of agents ( for example first 28 agents) untill full 28 agents does not wait in hold block and pass it one by one but i need even first 28 number or any other batch number holded in hold agent.
how should i do it?

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (0.5): i need
  • Blacklisted phrase (1): how should i
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Ragnar Lathbrouk

79662702

Date: 2025-06-11 21:48:27
Score: 2
Natty:
Report link

you can use the HAVING clause.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Anurag Pande

79662701

Date: 2025-06-11 21:47:27
Score: 1.5
Natty:
Report link

Yes, you can definitely create a Python virtual environment with a higher version than the system default. Here's how:

First, install pyenv. This lets you install and switch between multiple Python versions on the same system.

curl https://pyenv.run | bash

Then install your desired version, e.g. Python 3.11.3:

pyenv install 3.11.3

pyenv global 3.11.3

Now create and activate your virtual environment:

python -m venv myenv

source myenv/bin/activate

You can now install your project dependencies and run your code with the newer version – fully isolated from the global Python on the node. This approach works well on most systems where pyenv can be installed.

Alternative: Docker

If you’re on a restricted system where you can’t install or compile your own Python version, Docker is a good alternative. Use a base image like python:3.11 and run everything inside the container.

That way, your environment is portable and version-controlled – even if the host OS uses an older Python.

Let me know if you want a basic Dockerfile or pyenv install script.

Good luck!

– Tipps-TECH

Reasons:
  • Contains signature (1):
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Tipps-TECH

79662698

Date: 2025-06-11 21:33:24
Score: 1
Natty:
Report link

Looks to me like you are using a Set for rowSelectionModel but MUI DataGrid is expecting an array. Try updating selectedFilter to be an array of ids.

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

79662693

Date: 2025-06-11 21:28:22
Score: 2
Natty:
Report link

In case this helps anyone, in my case this turned out to be caused by the PayPal Honey for Safari extension.

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

79662692

Date: 2025-06-11 21:28:22
Score: 4
Natty: 5
Report link

where your_column not like '%your_text%'

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): where you
  • Low reputation (1):
Posted by: Mr_R0b

79662691

Date: 2025-06-11 21:27:22
Score: 1
Natty:
Report link

In my case, I had set the evironment variable OPENSSL_CONF to an invalid value. Once I removed, I was able to make ssl connection to a private repo.

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

79662687

Date: 2025-06-11 21:23:21
Score: 1.5
Natty:
Report link

Gentlemen. After 6 years I stumbled on this thread. It seems as if it's the only source for what I need for my work in the whole of internet. So, very impressive, thank you very much. I need this code because I'm a strength analyst, and an Excel heavy user. I need to be able to compare the formulas straight to the equations presented in standards, because it takes effort to figure out the corresponding measure for each address in the formula. In order to reach the required level of automation I taped PEH's code with the code by M-- in the thread:

How to run a string as a command in VBA

M--'s code creates, writes, runs and deletes Module1 in VBA editor. That way PEH's command to modify the equation shape can be constucted and run as a string. I was not able to solve the initiation of the equation ether, so the first equation opened will modify. I call my macro from Developer:Macros. In the pictures below are the views of my VBA Editor and Calculation sheet. Create similar Excel, and create a userform by clicking Insert: UserForm in the VBA editor. Insert textbox and a button objects to the userform. Clicking them opens the list of object attributes, and mark the name of the textbox as "TxtCellAddress" and the name of the button as "CommmandButton1". Then create two new modules by clicking Insert: Module twise. Then delete Module1. In Module2 create the sub (presented in the picture) that initiates the userform when macro is called.

My View of the VBA Editor

My View of the Excel Sheet

The UserForm1 in the VBA editor has "View object" and "View code" buttons in the top left corner of the project vindow. Click on the "View code" button to view the canvas, and paste the code below on it. (Check each line first to prevent malice code!)

Option Explicit
Private Sub CommandButton1_Click()
On Error GoTo ErrorHandler

 'UserForm1 contains a textbox(TxtCellAddress) and a button(CommandButton1).
 'When user writes CELL address, and clicks the button, the first shape on the
 'ActiveSheet(In this case, the shape is an equation box, which has previously
 'been plased on the sheet manually.) is evoked. This program modifies the
 'equation box to present the formula.
        
 'This code requires lowering your Excel security. Do not open Excel files sent
 'by other people while you work, and please remember to reverse these changes
 'after your work. Remember that malicious macros open, when Excel workbook is
 'opened. From File: Options: Trust Center: Macro Settings:
 'Click: Enable VBA macros(not recommended; potentially dangerous code can run)
 'Click: Trust access to the VBA project object model
        
 'The formula to be presented in equation box is obtained as a string value
 'from a cell the user must name in in the textbox. First the string containing
 'the formula is checked for INDIRECT() functions, that are evaluated.
        
 'The string containing the formula is then processed so, that the cell
 'addresses in formula are replaced by the names of the measures they keep. The
 'names of the measures may consist of symbols or they may have two parts,
 'first the normal part, and second the subscripted part. The default font of
 'Excel Equation Editor is "Cambria Math". I dont know how to change that, so
 'it is advisable to use that font in the column of the names of the measures.
        
 'In the ActiveSheet the calculation is set on column J, The description of the
 'measures are on column D, and the names of the measures are on column E. The
 'identifications of the calculation are marked on row 8. When the calculation
 'is copied column to column for say analysis of flanges in different pipe
 'locations, the identification helps, and thus we also want to see it in the
 'equation box. The string with the formula is then translated to a string
 'consisting of a set of character commands, readable by the equation editor.
        
 'Next a subroutine ExecuteString() is called. It creates Module1, and writes
 'the subs foo(), MakeEquationLinear() and MakeEquationProfessional(), and then
 'calls a subroutine foo() to be executed. Subroutine foo() sends the info to
 'the Equation Editor, that one has to previously open manually. The code
 'expects the Equation Editor to appear in the first shape i.e.
 'ActiveSheet.Shapes(1). Afterwards Module1 is deleted. Put the subroutine that
 'calls Userform1 to another module, because Module1 is reserved for the
 'operation of this code.
        
Dim start As Long
Dim count As Integer
Dim aihio As String
Dim measureText As String
Dim aihioLen As Integer
Dim state As Integer
Dim char As String * 1
Dim prevChar As String * 1
Dim i As Long
Dim ii As Integer
Dim originalText As String
Dim cellAddress As String
Dim measure(0 To 1000) As String
Dim indirectNum As Integer
Dim indirectLocation(1 To 1000) As Long
Dim indirectLength(1 To 1000) As Integer
Dim indirectRef As String
Dim iE As String
Dim rowNum As Integer
Dim colNum As Integer
Dim stringToRun As String
Dim columnOfMeasureNames As String
Dim CN As Integer
Dim rowOfItemNames As Integer
Dim rE As Range

columnOfMeasureNames = "C"
rowOfItemNames = 8
CN = Columns(columnOfMeasureNames).Column

 'Get cell adress from textbox. "Me" refers to the userform object. Because
 'this subroutine is in the UserForm1 module the precise object identification
 'is not required.
cellAddress = Me.TxtCellAddress.Value
 'Get row number of the cell named in textbox
rowNum = ActiveSheet.Range(cellAddress).Row
 'Get column number of the cell named in textbox
colNum = ActiveSheet.Range(cellAddress).Column
 'Get the formula as string from the cell named in textbox
originalText = ActiveSheet.Range(cellAddress).Formula

'************ START OF INDIRECT() FUNCTIONS PROCESSING ************'
 'If this segment causes a problem, remove it
indirectNum = 0
state = 0
For i = 1 To Len(originalText)
  char = Mid(originalText, i, 1)
  If (char = "I" Or char = "i") And state = 0 Then
    state = 1
  ElseIf (char = "N" Or char = "n") And state = 1 Then
    state = 2
  ElseIf (char = "D" Or char = "d") And state = 2 Then
    state = 3
  ElseIf (char = "I" Or char = "i") And state = 3 Then
    state = 4
  ElseIf (char = "R" Or char = "r") And state = 4 Then
    state = 5
  ElseIf (char = "E" Or char = "e") And state = 5 Then
    state = 6
  ElseIf (char = "C" Or char = "c") And state = 6 Then
    state = 7
  ElseIf (char = "T" Or char = "t") And state = 7 Then
    state = 8
    indirectNum = indirectNum + 1
    indirectLocation(indirectNum) = i - 7
  ElseIf char = "(" And state > 7 Then
    state = state + 1
  ElseIf char = ")" And state > 8 Then
    state = state - 1
    If state = 8 Then
      indirectLength(indirectNum) = i - indirectLocation(indirectNum) + 1
       'Go back incase of INDIRECT statements inside INDIRECT statement.
      i = indirectLocation(indirectNum) + 7
      state = 0
    End If
  ElseIf state < 9 Then
    state = 0
  End If
Next
If indirectNum > 0 Then
  For i = indirectNum To 1 Step -1
     'Get the formula between the caps of the indirect function
    indirectRef = Mid(originalText, indirectLocation(i), indirectLength(i))
     'Evaluate the line formula betveen the caps of the indirect function
    iE = Application.Evaluate(Mid(indirectRef, 10, indirectLength(i) - 10))
     'Replace the Indirect function with the evaluation in the formula
    originalText = Replace(originalText, indirectRef, iE)
  Next
End If
'************ END OF INDIRECT() FUNCTIONS PROCESSING ************'

 'Get the Address of the name of the measure from the column of names
originalText = ActiveSheet.Cells(rowNum, CN).Address & originalText

'************ START OF LISTING CELL ADDRESSES IN FORMULA *************'
 'Consider each character in string that contains the formula. If it is an
 'alphabetic letter or a "$" sign, then start making a record of an address. If
 'the next is also alphabetic or a "$" sign continue makin record. If the next
 'is a number, continue making the record, but accept only numeral characters
 'from now on. If the character is something else, then stop making record. If
 'the record is a full address when stopped, add it to the measure array,
 'otherwise discard it.
state = 0
count = 0
For i = 1 To Len(originalText)
  char = Mid(originalText, i, 1)
  If IsAlpha(char) Or char = "$" Then
    If state = 0 Then
      aihio = char
      If i > 1 Then
        prevChar = Mid(originalText, i - 1, 1)
      Else
         'No previous character for the first letter. Here it's just A
        prevChar = "A"
      End If
      state = 1
    ElseIf state = 1 Then
      aihio = aihio & char
    ElseIf state = 2 Then
      state = 0
      measure(count) = aihio
      count = count + 1
    End If
  ElseIf IsNumeric(char) And state > 0 Then
    aihio = aihio & char
    state = 2
     'If formula ends in a cell address, the last character is a number.
    If i = Len(originalText) Then
       'If another sheet "!" or an array of cells ":" is referenced.
      If prevChar = "!" Or prevChar = ":" Then
        state = 0
      Else
        measure(count) = aihio
        count = count + 1
      End If
    End If
  ElseIf state = 2 Then
    If prevChar = "!" Or prevChar = ":" Or char = ":" Then
      state = 0
    Else
      state = 0
      measure(count) = aihio
      count = count + 1
    End If
  Else
    state = 0
  End If
Next
'************ END OF LISTING CELL ADDRESSES IN FORMULA *************'

'**** START OF REPLACING CELL ADDRESSES WITH THE NAMES OF THE MEASURES ****'
'For each name of measure in measure array
For i = 0 To count - 1
  Set rE = ActiveSheet.Range(Replace(measure(i), "$", ""))
   'If the cell of the measure is not empty
  If Not IsEmpty(rE.Value) Then
     'Get name of the measure
    measureText = ActiveSheet.Cells(rE.Row, CN).Value
    If measureText = "" Then
       'Forgot to name the measure in the column of measure names?
      measureText = "?"
    Else
       'For each character in name of the measure
      For ii = 1 To Len(measureText)
         'If the character in the name of the measure in the cell is subscript
        If ActiveSheet.Cells(rE.Row, CN).Characters(ii, 1).Font.Subscript Then
           'Add markings for subscript
          measureText = Left(measureText, ii - 1) _
          & "_(" & Right(measureText, Len(measureText) - ii + 1) & ")"
           'Break the For loop when the objective is accomplished
          Exit For
        End If
      Next
    End If
     'Replace addresses in the formula string with the name of the measure
    originalText = Replace(originalText, measure(i), measureText)
  End If
Next
'**** END OF REPLACING CELL ADDRESSES WITH THE NAMES OF THE MEASURES ****'
 'The Identification of the calculation is added to the equation string
originalText = ActiveSheet.Cells(rowOfItemNames, colNum).Value _
& ":" & originalText
 'Adds the start of the command to the command linestring
stringToRun = "MyEquation.DrawingObject.Text = " & outputString(originalText)
 'Here the subroutine to write, execute and delete a new module is called.
ExecuteString stringToRun
Exit Sub

ErrorExit:
  Exit Sub
ErrorHandler:
  Debug.Print Err.Number & vbNewLine & Err.Description
  Resume ErrorExit
End Sub

Function IsAlpha(s$) As Boolean
 'This function returns true if the input character (String * 1) is alphabetic.
 'Otherwise it retuns false. Copied from
 'https://stackoverflow.com/questions/29633517/how-
 'can-i-check-if-a-string-only-contains-letters
IsAlpha = Not s Like "*[!a-zA-Z]*"
End Function

Function outputString(inputString$) As String
On Error GoTo ErrorHandler
   'If the text is taken from Cell as text, only the ASCII characters and
   'markings are presented correctly. Others, symbols and such are presented
   'by ?.'This function takes every character, weather ASCII or a Symbol, and
   'gives it ChrW number. The output is a string of ChrW commands, that is
   'readable by the Excel Equation Editor. This was copied from
   'https://stackoverflow.com/questions/55478312/is-there-any-documentation-on-
   'how-to-drive-the-office-equation-editor-through
  Dim ChrIdx As Long
  For ChrIdx = 1 To Len(inputString)
    outputString = outputString & IIf(outputString <> vbNullString, " & ", "") _
    & "ChrW(" & AscW(Mid$(inputString, ChrIdx, 1)) & ")"
  Next ChrIdx

ErrorExit:
  Exit Function
ErrorHandler:
  Debug.Print Err.Number & vbNewLine & Err.Description
  Resume ErrorExit
End Function

Sub ExecuteString(s As String)
On Error GoTo ErrorHandler
    
   'This subroutine creates a new module, then runs the code from within, and
   'then deletes the module after use. The Idea is, that because there are no
   'direct vba commands to dynamically operate the Excel Equation Editor. The
   'dynamic(using information in command that is not provided by the programmer)
   'operation is made possible by automatically creating new module, writing
   'new subroutines and the executing them. The codes here are copied and
   'modified from the following sources:
   'https://stackoverflow.com/questions/43216390/how-to-run-a-string-as-a-
   'command-in-vba
   'https://stackoverflow.com/questions/55478312/is-there-any-documentation-on-
   'how-to-drive-the-office-equation-editor-through
   'The Excel Equation Manager takes input as it is evoked from a list of ChrW
   'commands. It is propably possible somehow to give the command as combination
   'of ASCII tect and ChrW commands just to make the command string shorter.
    
  Dim code As String
  code = "Option Explicit" & vbCrLf
  code = code & "Sub foo()" & vbCrLf
  code = code & "On Error GoTo ErrorHandler" & vbCrLf
  code = code & "Dim MyEquation As Shape" & vbCrLf
  code = code & "Set MyEquation = ActiveSheet.Shapes(1)" & vbCrLf
  code = code & "MakeEquationLinear MyEquation" & vbCrLf
  code = code & "Application.EnableEvents = False" & vbCrLf
  Dim i As Long
  Dim ii As Long
  '**** START OF SPLITTING THE COMMAND STRING TO LINES < 1024 CHAR ****'
  i = IIf(1000 < Len(s), 1000, Len(s)) 'IIf() = Min(1000,Len(s))
  ii = 1
  While i <= Len(s)
    If Mid(s, i, 1) = " " Then
      code = code & Mid(s, ii, i - ii + 1) & "_" & vbCrLf
      ii = i + 1
       'If Min() was available in VBA: IIf() = Min(999,Len(s)-i-1)
      i = i + IIf(999 < Len(s) - i - 1, 999, Len(s) - i - 1)
    ElseIf i = Len(s) Then
      code = code & Mid(s, ii, i - ii + 1) & vbCrLf
    End If
    i = i + 1
  Wend
  '**** END OF SPLITTING THE COMMAND STRING TO LINES < 1024 CHAR ****'
  code = code & "Application.EnableEvents = True" & vbCrLf
  code = code & "MakeEquationProfessional MyEquation" & vbCrLf
  code = code & "ErrorExit:" & vbCrLf
  code = code & "   Application.EnableEvents = True" & vbCrLf
  code = code & "   Exit Sub" & vbCrLf
  code = code & "ErrorHandler:" & vbCrLf
  code = code & "Debug.Print Err.Number & vbNewLine & Err.Description" & vbCrLf
  code = code & "Resume ErrorExit" & vbCrLf
  code = code & "End Sub" & vbCrLf
    
  Dim suba As String
  suba = "Public Sub MakeEquationLinear(ByVal Equation As Shape)" & vbCrLf
  suba = suba & "On Error GoTo ErrorHandler" & vbCrLf
  suba = suba & "Dim OriginalSheet As Object" & vbCrLf
  suba = suba & "If Equation.Parent.Name <> ActiveSheet.Name Then" & vbCrLf
  suba = suba & "   Set OriginalSheet = ActiveSheet" & vbCrLf
  suba = suba & "   Equation.Parent.Activate" & vbCrLf
  suba = suba & "End If" & vbCrLf
  suba = suba & "Application.EnableEvents = False" & vbCrLf
  suba = suba & "Equation.Select" & vbCrLf
  suba = suba & "Application.CommandBars.ExecuteMso ""EquationLinearFormat""" _
  & vbCrLf
  suba = suba & "Application.EnableEvents = True" & vbCrLf
  suba = suba & "If Not OriginalSheet Is Nothing Then OriginalSheet.Activate" _
  & vbCrLf
  suba = suba & "ErrorExit:" & vbCrLf
  suba = suba & "   Application.EnableEvents = True" & vbCrLf
  suba = suba & "   Exit Sub" & vbCrLf
  suba = suba & "ErrorHandler:" & vbCrLf
  suba = suba & "   Debug.Print Err.Number & vbNewLine & Err.Description" _
  & vbCrLf
  suba = suba & "   Resume ErrorExit" & vbCrLf
  suba = suba & "End Sub" & vbCrLf
 
  Dim subb As String
  subb = "Public Sub MakeEquationProfessional(ByVal Equation As Shape)" & vbCrLf
  subb = subb & "On Error GoTo ErrorHandler" & vbCrLf
  subb = subb & "Dim OriginalSheet As Object" & vbCrLf
  subb = subb & "If Equation.Parent.Name <> ActiveSheet.Name Then" & vbCrLf
  subb = subb & "Set OriginalSheet = ActiveSheet" & vbCrLf
  subb = subb & "Equation.Parent.Activate" & vbCrLf
  subb = subb & "End If" & vbCrLf
  subb = subb & "Application.EnableEvents = False" & vbCrLf
  subb = subb & "Equation.Select" & vbCrLf
  subb = subb & "Application.CommandBars.ExecuteMso ""EquationProfessional""" _
  & vbCrLf
  subb = subb & "Application.EnableEvents = True" & vbCrLf
  subb = subb & "If Not OriginalSheet Is Nothing Then OriginalSheet.Activate" _
  & vbCrLf
  subb = subb & "ErrorExit:" & vbCrLf
  subb = subb & "   Application.EnableEvents = True" & vbCrLf
  subb = subb & "   Exit Sub" & vbCrLf
  subb = subb & "ErrorHandler:" & vbCrLf
  subb = subb & "   Debug.Print Err.Number & vbNewLine & Err.Description" _
  & vbCrLf
  subb = subb & "   Resume ErrorExit" & vbCrLf
  subb = subb & "End Sub" & vbCrLf
       
  Dim tempVBC As Object
  Set tempVBC = ActiveWorkbook.VBProject.VBComponents.Add(1)
  tempVBC.CodeModule.AddFromString code
  tempVBC.CodeModule.AddFromString suba
  tempVBC.CodeModule.AddFromString subb
  Application.Run tempVBC.Name & ".foo"
  ThisWorkbook.VBProject.VBComponents.Remove tempVBC
    
ErrorExit:
  Exit Sub
ErrorHandler:
  Debug.Print Err.Number & vbNewLine & Err.Description
  Resume ErrorExit
End Sub

In the code you can edit the following lines to match the column and row on your sheet:

columnOfMeasureNames = "C"

rowOfItemNames = 8

Result:

Success

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tarmo Timonen

79662685

Date: 2025-06-11 21:23:21
Score: 1.5
Natty:
Report link

I am a Professional Digital marketer Apple podcast promotion, Spotify promotion and Youtube Expert. I am highly experienced and skilled in podcast promotion services since 2018. Value of my expertise is the success of your podcast marketing. If you want to grow your Podcast Top Ranking and audiences downloads and higher placement I'm here to give you the best version of podcast marketing services. I have developed strategy and a team for podcast promotion services. The strategy will ensure to grow your listeners' downloads, audience response and popularity growth on multiple platforms.

My service is 100% safe, real and legitimate. So I would say check me at least once time. I'm sure you'll succeed.

Contact me here:-

Gmail: [email protected]

Reasons:
  • Blacklisted phrase (0.5): Contact me
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: SUMON HOSSAIN

79662680

Date: 2025-06-11 21:20:20
Score: 3
Natty:
Report link

Have the same exact question, curious to see if this is intended simulator behavior or just a version specific quirk!

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

79662663

Date: 2025-06-11 21:10:17
Score: 2
Natty:
Report link

Im probably just occasionally stumble into explanation of this situation while was reserching yet another annoying unavoidable problem with Deno. In this article was mentioned that symbol # is used to provide hashing mechanism for the import. So my guess is that Deno treat everything that is following after # symbol inside a path of some imported file as hash and by that searching for a trimmed version of used path despite showing the full path in the error message. All other symbols from ASCII table except # seems to be safe for use in file names. I guess.

Reasons:
  • Blacklisted phrase (1): this article
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Товарищ Понечка

79662659

Date: 2025-06-11 21:07:16
Score: 0.5
Natty:
Report link

From the error, I figured not everything was sent when I called request_response.send_response().

To fix this I had to set the max request size and response size when defining the request_reponse Behaviour so it can accept and send larger files.

let codec = cbor::codec::Codec::default()
                .set_request_size_maximum(u64::MAX) // specify max file size
                .set_response_size_maximum(u64::MAX);

let request_response = request_response::cbor::Behaviour::with_codec(
                    codec,
                    [(
                        StreamProtocol::new("/file-exchange/1"),
                        ProtocolSupport::Full,
                    )],
                    request_response::Config::default(),
                );
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Arnold

79662652

Date: 2025-06-11 20:58:14
Score: 0.5
Natty:
Report link

The ternary tuple in such case is (1 market, 1 department, 1..* products). Therefore, the resulting reading logic (also in terms of tuples) is:

If a department sells products to market, then a market buys products (from department) and they (e.g.) operate on 1..* product(s). Hence:

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

79662651

Date: 2025-06-11 20:57:13
Score: 3
Natty:
Report link

It seems you have created and started the loop, but your transport hasn't started. Maybe that is why it doesn't enter your callback

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

79662647

Date: 2025-06-11 20:53:12
Score: 3
Natty:
Report link

I see multiple options, but in my case due to proxy I was facing this issue, most of company needs proxy, as per your org setup here:
File>>Settings>>Search for "HTTP Proxy"
enter image description here

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

79662646

Date: 2025-06-11 20:53:12
Score: 0.5
Natty:
Report link

PyPDF2 is deprecated. You should use pypdf instead.

If you must use PyPDF2, you can pip install 'PyPDF2<3.0' in your environment.

See https://github.com/camelot-dev/camelot/issues/339

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

79662644

Date: 2025-06-11 20:51:12
Score: 4
Natty:
Report link

Turns out this is an actual bug in 4.32.0: github.com/liquibase/liquibase/issues/6982

Temp workaround is to downgrade to 4.31.0.

Thanks to @mario-champion for posting about it in the comments below!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @mario-champion
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: moraleboost

79662640

Date: 2025-06-11 20:45:10
Score: 0.5
Natty:
Report link

It says it here in the error message

PyPDF2.errors.DeprecationError: PdfFileReader is deprecated and was removed in PyPDF2 3.0.0. Use PdfReader instead.

So you need to:

  1. pip install PdfReader

  2. remove PyPDF2

  3. import PdfReader

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

79662633

Date: 2025-06-11 20:41:09
Score: 3
Natty:
Report link

Resolving Window Message Blocking During Window Drag and Resize Operations in Windows

Cause and Effect

When you start dragging a window’s title bar to move it or adjust its size by dragging its border, your program first receives a WM_ENTERSIZEMOVE message. This message simply notifies you that dragging is about to begin. Subsequently, a WM_SYSCOMMAND message arrives, where the wParam value determines the action type. You’ll use switch (GET_SC_WPARAM(wParam)) to handle it. When the switch hits case SC_MOVE: or case SC_SIZE:, it indicates that the system is entering drag mode. If you directly forward this message to DefWindowProc(), it blocks by starting its own internal message loop, handling mouse movements, window resizing, and other complex operations internally. When you release the mouse, DefWindowProc() returns 0, ending the blocking. Finally, it sends a WM_EXITSIZEMOVE message to notify you that drag mode has ended.

For scenarios like game development, video player implementations, etc.—where you cannot rely on blocking-style GetMessage() loops with timers (Timer callbacks) and must avoid blocking during message processing (e.g., DefWindowProc() blocking)—yet still need to support window dragging and resizing, here’s a workaround technique to interrupt and recover from blocking.

Solution Approach

Interface Design

First, my window message handler is non-blocking. It’s named PollWindowEvents() and is called repeatedly by the user’s main loop. The caller handles its own tasks (e.g., rendering dynamic content) and then invokes PollWindowEvents() to process window messages, check keyboard inputs, etc. Similar to GLFW’s design, as long as PollWindowEvents() doesn’t block, the caller’s loop keeps running.

The logic of PollWindowEvents() roughly looks like this:

while (PeekMessageW(&msg, NULL, 0, 0, PM_REMOVE))
{
    TranslateMessage(&msg);
    if (msg.message == WM_QUIT)
    {
        w->should_quit = 1;
        w->exit_code = (int)msg.wParam;
    }
    else
    {
        DispatchMessageW(&msg);
    }
}

Key Insight

During window dragging, although DefWindowProc() blocks, timer events (WM_TIMER) still reach your window procedure. Additionally, WM_MOVE, WM_SIZE, and WM_SIZING messages are delivered frequently during drag/resize operations.

If within these messages, I can break out of DefWindowProc()’s context and make PollWindowEvents() return, blocking is resolved. On the next call to PollWindowEvents(), I jump back into the message handler as if nothing happened, resuming DefWindowProc()’s drag logic to complete the cycle.

Technical Implementation

Achieving this jump requires setjmp() and longjmp() from the C standard library. Unfortunately, they’re problematic here. MSVC’s longjmp() enforces RAII resource cleanup rules in C++ and handles uncaught exceptions. It assumes longjmp() is a non-returning operation, requiring all stack resources and exceptions to be resolved before jumping. This "safety" conflicts with our need, where jumping back into the context later shouldn’t disrupt normal RAII or exception handling.

Jumping is only part of the problem. The blocking DefWindowProc() uses its stack frame, while returning from PollWindowEvents() lets the caller use its stack frame. If we longjmp() out (which restores the stack pointer to the setjmp() state), two stack frames are used simultaneously—leading to data corruption and stack overwrites. Thus, we need two separate stacks.

Implementation Framework

  1. Replace longjmp(): Bypass MSVC’s extra safety checks using custom shellcode.
  2. Allocate a new stack: Use _aligned_malloc() to allocate a 16-byte aligned memory block as the new stack.
  3. Create a trampoline function, jmp_to_new_stack(), which does three things:
    • Switches the stack pointer to the top of the new stack.
    • Invokes a callback function (executed on the new stack).
    • Uses a custom my_longjmp() to return from the new stack to the old stack’s setjmp() position.

Why my_longjmp() instead of restoring the old stack pointer directly? Because both stacks are active; the original stack pointer becomes invalid after leaving its context.

  1. Setting jump targets:

    • At the start of PollWindowEvents() (before PeekMessageW), use setjmp() to set a "re-entry point" for resuming blocked operations.
    • At the end of PollWindowEvents() (after the PeekMessageW loop), use setjmp() to set an "escape point" for breaking out of blocking.
    • Inside WM_TIMER/WM_MOVE/WM_SIZE handlers, use setjmp() to set "re-entry points" for jumping back into the blocking function.
  2. Entering blocking mode:

    • In the WM_SYSCOMMAND handler (for SC_MOVE/SC_SIZE), create a timer, allocate the new stack, then call jmp_to_new_stack(). The provided callback invokes:
    DefWindowProcW(w->Window, WM_SYSCOMMAND, wParam, 0); // Enters blocking
    
  3. Escaping blocking mode:

    • Inside WM_TIMER/WM_MOVE/WM_SIZE handlers (executing on the new stack), use my_longjmp() to jump to the "escape point" at PollWindowEvents()’s end—returning control to the caller.
  4. Re-entry logic:

    • After escaping mid-message (without RAII/exceptions), the next PollWindowEvents() call detects the interrupted state and uses my_longjmp() to jump back to the handler’s "re-entry point."
  5. Exiting blocking mode:

    • When DefWindowProcW() returns (after drag ends), use my_longjmp() to jump to PollWindowEvents()’s start, letting normal message processing resume.

Code Implementation

Core Functions

The arrays contain shellcode (machine code) for context switching. Implementations:

Key Shellcode Snippets

Integration

  1. State Tracking Structure:

    typedef struct
    {
        void *new_stack;                        // Allocated stack memory
        size_t new_stack_size;                  // Stack size
        volatile int hack_is_on;                // 1 if in blocking escape mode
        volatile int is_returned_from_timer;    // Flag for escaped state
        WPARAM syscommand_wparam;               // Saved WM_SYSCOMMAND param
        jmp_buf jb_returning;                   // Escape point (Poll end)
        jmp_buf jb_reentering;                  // Re-entry point (handlers)
        jmp_buf jb_exit_hacking;                // Exit point (blocking ends)
    }HackWayAntiBlocking;
    
  2. Code to be added into PollWindowEvents() before PeekMessage():

    if (setjmp(w->hack.jb_exit_hacking) == 1)
    { // After blocking ends (DefWindowProc returns)
        KillTimer(w->Window, 1);
        w->hack.hack_is_on = 0;
    }
    if (w->hack.hack_is_on)
    { // Re-enter blocked context if needed
        if (w->hack.is_returned_from_timer)
            _my_longjmp(w->hack.jb_reentering, 1);
    }
    
  3. Code to be added into PollWindowEvents() before returning:

    if (setjmp(w->hack.jb_returning) == 1)
    { // Escape from the blocked call
        return;
    }
    
  4. WndProc Handler Additions:

    • On WM_SYSCOMMAND:
    case WM_SYSCOMMAND:
    switch (GET_SC_WPARAM(wp))
    {
    case SC_MOVE:
    case SC_SIZE:
        w = (void *)GetWindowLongPtrW(hWnd, 0);
        assert(w->hack_is_on == 0);
        w->hack.syscommand_wparam = wp;
        if (!w->hack.new_stack)
        { // Allocate memory for the new stack, 64 KiB is not too much or too less
            w->hack.new_stack_size = (size_t)1 << 16;
            w->hack.new_stack = _aligned_malloc(w->hack.new_stack_size, 16);
        }
        if (w->hack.new_stack)
        { // From here, we are going to switch to the new stack and call the blocking function.
            w->hack.hack_is_on = 1;
            // Start timer. When blocking, our `WndProc()` still can receive `WM_TIMER` event.
            SetTimer(w->Window, 1, 1, NULL);
            _jmp_to_new_stack(w->hack.new_stack, w->hack.new_stack_size, _run_blocking_proc, w, w->hack.jb_exit_hacking, 1);
        }
        else
        { // Can't allocate memory for the new stack? Give up here.
            w->hack.new_stack_size = 0;
        }
        break;
    default:
        return DefWindowProcW(hWnd, msg, wp, lp);
    }
    break;
    
    • On WM_TIMER/WM_MOVE/WM_SIZE:
    case WM_MOVE:
    case WM_SIZING:
    case WM_SIZE:
    case WM_TIMER:
        if (msg != WM_TIMER || wp == 1)
        {
            w = (void *)GetWindowLongPtrW(hWnd, 0);
            if (w->hack.hack_is_on)
            {
                int j = setjmp(w->hack.jb_reentering); // Set re-entry point and escape blocking
                switch (j)
                {
                case 0:
                    // Escape blocking
                    w->hack.is_returned_from_timer = 1;
                    _my_longjmp(w->hack.jb_returning, 1);
                    break;
                case 1:
                    // Re-entry to here
                    break;
                default:
                    assert(0);
                }
                w->hack.is_returned_from_timer = 0;
            }
        }
        break;
    
    • The _run_blocking_proc():
    // Callback running on the new stack
    void _run_blocking_proc(WindowsDemoGuts *w)
    { // Blocks here
        DefWindowProcW(w->Window, WM_SYSCOMMAND, w->hack.syscommand_wparam, 0);
    }
    
  5. Cleanup:

    _aligned_free(w->hack.new_stack);
    w->hack.new_stack = 0;
    w->hack.new_stack_size = 0;
    

With these modifications, dragging/resizing a window won’t block PollWindowEvents()—it returns immediately—allowing the caller’s loop to maintain smooth rendering and audio playback.

Full Implementation

Complete source code:

Reasons:
  • RegEx Blacklisted phrase (2.5): Please provide your
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: 0xAA55

79662627

Date: 2025-06-11 20:34:07
Score: 1.5
Natty:
Report link

C/C++ compilers are designed to turn C/C++ into machine code.

They are not designed to check your code for logic errors.

Checking your code for logic errors would greatly increase compile time. Its also a really, really hard problem for a computer to solve. Checking your code for type errors is easy.

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

79662621

Date: 2025-06-11 20:29:06
Score: 3
Natty:
Report link

Update the Chrome to latest version (137.0.7151.104) have solved the problem for me. It will no longer close the chrome when debugging is stopped from Visual Studio after this update.
enter image description here
REF: https://www.reddit.com/r/VisualStudio/comments/1l52ssj/bug_stop_debugging_closes_all_browserstabs/

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

79662614

Date: 2025-06-11 20:23:04
Score: 4.5
Natty:
Report link

I have a similar error, Importbuddy offers option to wipe all tables before start so used that.

No way of knowing what files in public_HTML might be a problem but when I do it the script never ends I just get the spinning thing top right.

Status logs don't give much of a clue

The website gives this status message

Site undergoing maintenance.Site undergoing maintenance.

It would be interesting to know how to disable and see if the site loads.

Reasons:
  • No code block (0.5):
  • Me too answer (2.5): I have a similar error
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Dan

79662613

Date: 2025-06-11 20:23:04
Score: 0.5
Natty:
Report link

From Rust 1.88.0 onwards (releasing in late June 2025) you can just do #[cfg(true)] or #[cfg(false)]

See https://releases.rs/docs/1.88.0/ or https://github.com/rust-lang/rust/issues/131204

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

79662599

Date: 2025-06-11 20:13:01
Score: 2.5
Natty:
Report link

One very important thing to note. If your acm domain starts like api.yourdomain.com, make sure to provide 'api' in all the CAA records you create for amazon. If you dont do this, you will get CAA error

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

79662595

Date: 2025-06-11 20:12:01
Score: 0.5
Natty:
Report link

Here is one approach that reuses the array in every call of rng.standard_normal:

import numpy as np

rng = np.random.default_rng()

size = 1000
arr = np.empty(size)
rng.standard_normal(size, out=arr)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Robert Haas

79662594

Date: 2025-06-11 20:11:00
Score: 1
Natty:
Report link

this is achieved using TabView and role: .search like this:

Tab("Search", systemImage: "magnifyingglass", role: .search) {
   ...
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jan Chalupa

79662584

Date: 2025-06-11 20:04:59
Score: 0.5
Natty:
Report link

I have the springdoc in my application that generates swagger using the default url http://localhost:8090/swagger-ui/index.html

If your app is listening on port 8090 inside the container then you need to map the host port to 8090 in your compose file e.g.:

ports:
  - '8090:8090'
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: andycaine

79662577

Date: 2025-06-11 19:59:58
Score: 1
Natty:
Report link

I was looking for this today, and here's what I found:

Open Chat

Close Chat

Return Focus to Editor Without Closing Chat

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

79662574

Date: 2025-06-11 19:56:57
Score: 2
Natty:
Report link

This is something that is configured on a per institution basis - there is a configuration that they can choose to set for showing full RDC account numbers - if yes, you will see the full, unmasked, account number.

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

79662573

Date: 2025-06-11 19:56:57
Score: 2.5
Natty:
Report link

You are correct. I use Union All when I have used a Conditional Split to divvy up the data for filling in columns, for example, and then bringing them back together. I also use it for when I have log outputs from multiple tasks and I want to pull them together before inserting into a log table.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Graeme

79662568

Date: 2025-06-11 19:48:54
Score: 1
Natty:
Report link

Found the answer. Leaving it here if anyone finds helpful:

    {
      "name": "highestSales",
      "update": "extent( pluck( data( 'dataset' ), 'Sales Total' ))[1]"
    }

The pluck function returns a column as an array, and the extent function returns an array containing the minimum and the maximum of the given array.

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

79662567

Date: 2025-06-11 19:47:54
Score: 2
Natty:
Report link

Sharing a simple neat solution to this, especially if you are using a third party tree pack and don't want to edit a lot of fbx origins; simply set the y coordinate of all the child LOD0-N game objects in the tree prefab to something like -0.2. All terrain tree instances will immediately pick this up so you can tweak the y value and watch the affect until it looks embedded in the terrain.

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

79662566

Date: 2025-06-11 19:47:54
Score: 5
Natty:
Report link

Dude I'm facing the exact same issue and i thought it was regional but it's not and from a few YT videos which have been posted in the last 6-8 months, this works, so idk i think its a very recent issue, let me know if you find a fix i've been struggling to do this

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm facing the exact same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: yaksh patel

79662557

Date: 2025-06-11 19:39:51
Score: 0.5
Natty:
Report link

mongodb+srv://<db_usernam>:<db_password>@<projectname>.xbygdv0.mongodb.net/?retryWrites=true&w=majority&appName=<projectname>

or go to your clusters tab and select your DB > connect > Drivers > in steps (View full code sample) then copy and use the full uri and try to connect with prisma

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

79662553

Date: 2025-06-11 19:36:51
Score: 2.5
Natty:
Report link

I tried to move this statement , <script src="script.js"></script>outside the <head></head> section from your index.html file. It works perfectly.

<html>

<head><!--<script src="script.js"></script>--></head>

<body>

</body>

<script src="script.js"></script>

</html>

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

79662550

Date: 2025-06-11 19:33:49
Score: 4.5
Natty: 4
Report link

you can query via projection see https://www.baeldung.com/spring-data-jpa-projections

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

79662547

Date: 2025-06-11 19:30:48
Score: 5
Natty:
Report link

Did you consider: typeof(SomeTestClass).Assembly?

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Has no white space (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (0.5):
Posted by: Corniel Nobel