79602453

Date: 2025-05-01 19:56:34
Score: 1.5
Natty:
Report link

After seeing this https://procmail.xyz/ my prefrence is goes to procmail

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

79602446

Date: 2025-05-01 19:52:32
Score: 1.5
Natty:
Report link

I am using AzureCLI@2 task in my Azure DevOps YAML pipeline and simply adding

az config set bicep.use_binary_from_path=false

in the first line of inlineScript section of the task resolved the issue. No bicep install/uninstall was required.
Thanks @vandre for the suggestion.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Alex T

79602441

Date: 2025-05-01 19:47:31
Score: 2.5
Natty:
Report link

in your package.json file add "type": "module" and in scripts "generate:types": "PAYLOAD_CONFIG_PATH=src/payload.config.ts payload generate:types"

it will work fine

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

79602415

Date: 2025-05-01 19:17:25
Score: 2
Natty:
Report link

Document has it's own element too.

document.documentElement.focus();
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: minch.dev

79602414

Date: 2025-05-01 19:16:24
Score: 1.5
Natty:
Report link

For anyone struggling check npm @googleworkspace/drive-picker-element lib for easier implementation

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

79602407

Date: 2025-05-01 19:04:21
Score: 2.5
Natty:
Report link

if A_VALUE > "A" THEN

If it is less than "A" it's probably a number

if A_VALUE < "A" THEN

This is probably a number

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

79602405

Date: 2025-05-01 19:01:21
Score: 0.5
Natty:
Report link

It has been implemented in Promptfoo version 0.112.2.

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

79602404

Date: 2025-05-01 19:01:21
Score: 1
Natty:
Report link
#include<iostream>
using namespace std;
int main()
{
    int hours;
    int fee=0;
    cout<<"Enter the total number of hours spent at the gym;";
    cin>>
    //input validation
    if(!(cin>>hours)||hours<=0)
    {
        cout<<"Invalid input.Please enter a positive number of hours."<<endl;
    }
    else
    {
        cout<<"nooooooooooooo";
    }
    
}
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30423688

79602402

Date: 2025-05-01 19:01:21
Score: 0.5
Natty:
Report link

I am giving the code that works very well. Thank you Michal for your help.

Sub SplitLines()
    Dim ws As Worksheet
    Dim lines As Variant, parts As Variant
    Dim lineText As String, amountText As String, dateText As String, mixText as String
    Dim firstRow As Long, lastRow As Long
    Dim r As Long, i As Long, numLines As Long

    Set ws = ActiveSheet
    firstRow = ActiveCell.Row
    lastRow = ws.Cells(ws.Rows.Count, "A").End(xlUp).Row

    For r = lastRow To firstRow Step -1
        If ws.Cells(r, "A").Value <> "" Then
            lines = Split(ws.Cells(r, "A").Value, vbLf)
            numLines = UBound(lines) - LBound(lines) + 1
            If numLines > 1 Then
                ws.Rows(r + 1 & ":" & r + numLines - 1).Insert Shift:=xlShiftDown
            End If
            For i = LBound(lines) To UBound(lines)
                lineText = Trim(lines(i))
                lineText = Application.Trim(lineText)
                parts = Split(lineText, " ")
                If UBound(parts) >= 1 Then
                    amountText = parts(0)
                    dateText = parts(1)
                Else
                mixText = parts(0)
                    If Len(mixText) = 10 Then
                        amountText = ""
                        dateText = LineText
                    Else
                        amountText = LineText
                        dateText = ""
                    End If
                 End If

                If amountText <> "" Then ws.Cells(r + i, "C").Value = CCur(amountText)
                If dateText <> "" Then ws.Cells(r + i, "D").Value = CDate(dateText)

            Next i
        End If
    Next r

    ws.Columns("C").NumberFormat = "#,##0.00 zł"
    ws.Columns("D").NumberFormat = "dd/mm/yyyy"
End Sub
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Grzegorz

79602401

Date: 2025-05-01 19:00:20
Score: 3
Natty:
Report link

Based on your provided schema and insert, zakaznici table doesn't seem to have a column id_lieky

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

79602400

Date: 2025-05-01 19:00:20
Score: 1
Natty:
Report link

If you have used version 26.2.0. You have to add in docker-compose.yaml

      QUARKUS_LOG_LEVEL: DEBUG
      QUARKUS_LOG_CATEGORY__"org.keycloak.authorization"__LEVEL: DEBUG

This method solved my problem.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Cihan gürkan

79602395

Date: 2025-05-01 18:54:18
Score: 0.5
Natty:
Report link

No its part of camel-karaf for users on this platform where its intended to be used only.

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

79602393

Date: 2025-05-01 18:52:18
Score: 3
Natty:
Report link

I was having the same problem while developing locally, also using 2.49.4. Deleting my cookies/cache and restarting my browser appeared to fix the issue.

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

79602391

Date: 2025-05-01 18:49:17
Score: 2
Natty:
Report link

# Extract the full text to work with the entire document

full_extracted_text = pytesseract.image_to_string(image)

# Display all the extracted text for detailed analysis

full_extracted_text

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sofia Avah Recato

79602383

Date: 2025-05-01 18:41:15
Score: 4
Natty: 4.5
Report link

Microsoft Store Not Availability in EC2(Windows)

https://chatgpt.com/canvas/shared/6813be5f4f208191973723fbfbb10a0e

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

79602370

Date: 2025-05-01 18:35:13
Score: 1.5
Natty:
Report link

Turns out it was a red herring and I set up and used indexes properly. The issue was me getting actual data in a separate request using the list of IDs from this function, but not sorting them in the same order as said list. And since it was creating creating the cursor on the object store, the order of values was the same as default sorting on object store.

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

79602366

Date: 2025-05-01 18:32:11
Score: 4
Natty:
Report link

Thank you. It is useful for the desired task.

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

79602360

Date: 2025-05-01 18:28:10
Score: 1
Natty:
Report link

I hope you've resolved this by now, but for any others who come looking -- you have to set Intents.members to True so that your bot will know it's allowed to look at guild member lists. Otherwise it will quietly return wrong answers like this!

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

79602359

Date: 2025-05-01 18:28:10
Score: 1
Natty:
Report link

Why is Spring Security converting my 500 error to 403 when the UserService is down, and how can I ensure it returns the original 500 error?

There were some potentially ambiguous assumptions. I tried to guess the objectives.

You were using roles. Let me imagine. There were three roles in the system, e.g. ADMIN, EDITOR and USER.

I had some questions in mind:

If a service is up (returning HTTP status code 200), do you want people who have one of these roles to access /auth/login?

If a service is up (returning HTTP status code 200), do you want people who do not have one of these roles to access /auth/login?

If a service is down (returning HTTP status code 500), do you want people who have one of these roles to access /auth/login?

If a service is down (returning HTTP status code 500), do you want people who do not have one of these roles to access /auth/login?

My example code covered all these questions.

One test was to test when a service returned HTTP status code 200, and when people were not logged in, did they see 200 or 403?

Another test was to test when a service returned HTTP status code 500, and when people were not logged in, did they see 500 or 403?

Yet another test was to test when a service returned HTTP status code 200, and when people were logged in, did they see 200 or 403?

The last test was to test when a service returned HTTP status code 500, and when people were logged in, did they see 500 or 403?

    @Bean
    @Order(1000)
    public SecurityFilterChain securityFilterChainAuthLogin(HttpSecurity http) throws Exception{
        
        String[] matchedPaths = { 
            "/auth/login**"
        };
        
        http
            .csrf(csrf -> csrf.disable())
            .securityMatcher(
                matchedPaths
            )

            // If you want roles of "ADMIN", "EDITOR" or "USER" to enter...
            
            .authorizeHttpRequests(request -> 
                request
                    .requestMatchers(matchedPaths)
                    .hasAnyRole("ADMIN", "EDITOR", "USER")
                    .anyRequest()
                    .authenticated()
            )

            // If you want anyone to enter...

            // .authorizeHttpRequests(request -> 
            //     request
            //         .requestMatchers(matchedPaths)
            //         .permitAll()
            // )

            .sessionManagement(session -> session
                .sessionConcurrency((concurrency) -> concurrency
                                .maximumSessions(1)
                                .maxSessionsPreventsLogin(true)
                        )
            )
            .logout(logout -> logout.logoutUrl("/logout"));
            
        return http.build();
    }

In my example, using Microsoft SQL Server, I ran a SQL statement CREATE DATABASE springbootsecurityverify403 COLLATE Latin1_General_100_CS_AI_WS_SC_UTF8; to create the database before running Spring Boot. The objectives were to make the service return HTTP status code 200 or 500 respectively and to observe what I could see. I opened http://localhost:8080/ in the browser to test.

The results in testing POST /auth/login were:

Using .permitAll() meant I did not need to log in and I could get 200 or 500.

Using .hasAnyRole("ADMIN", "EDITOR", "USER").anyRequest().authenticated() meant when I was not logged in, I got 403. After I logged in, I got 200 or 500.

What I tried to show was a part of Spring Boot Security appeared to work as expected in the above ways.

The permissions were set using @Order and matching paths as well as matching roles as in my example. You might follow such an example and if you still notice other strange HTTP status code 403 problems, there could be other issues in other parts of the code, which you might want to share for other people to give potentially more helpful answers.

Reasons:
  • Blacklisted phrase (0.5): how can I
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Hdvlp

79602351

Date: 2025-05-01 18:26:09
Score: 2
Natty:
Report link

tkinter: import tkinter as tk class SimpleDrawApp: def _init_(self, root): self.root = root self.root.title(' ') self.canvas = tk.Canvas(root, bg='white', width=500, height=400) self.canvas.pack() self.canvas.bind('<B1-Motion>', self.draw) def draw(self, event): x, y = event.x, event.y r = 3self.canvas.create_oval(x-r, y-r, x+r, y+r, fill='black') if _name_ == '_main_': root = tk.Tk() app = SimpleDrawApp(root) root.mainloop()

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

79602347

Date: 2025-05-01 18:23:09
Score: 2.5
Natty:
Report link

I had the same error and through Datadog saw that it was due to not enough CPU in Kubernetes. I removed the CPU and Memory limits to get it to start.

enter image description here

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Zev Butler

79602344

Date: 2025-05-01 18:22:08
Score: 2
Natty:
Report link

first you need to convert the lat, long and att parameters of the OXTS recordings into an NED frame, one good example of this process is provided by ai-imu-dr paper in https://github.com/mbrossar/ai-imu-dr/blob/master/src/main_kitti.py. This code provides easy to understand procedure for this purpose.

I hope you find this useful.

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

79602343

Date: 2025-05-01 18:22:08
Score: 0.5
Natty:
Report link

You can exclude FeignClientsConfiguration at first if it's not needed.

@SpringBootApplication
@EnableAutoConfiguration(exclude = FeignClientsConfiguration.class)
public class YourApplication {

}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mantu Singh

79602336

Date: 2025-05-01 18:15:06
Score: 3
Natty:
Report link

https://klibs.io/ is created by the Kotlin web team and is currently in alpha.

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

79602316

Date: 2025-05-01 18:06:56
Score: 6 🚩
Natty:
Report link

I tried your code for my .csv file with (,) as delimiter using the below code and i got output file with no data. Can you pls help if i am missing anything here to delete my last column out of 12 columns.

================================================================================================================

@echo off

setlocal EnableDelayedExpansion

(for /f "delims=" %%x in (MonthlyRecon_Actual.csv) do (

set "line=%%x"

for /F "tokens=1-5* delims=|" %%a in ("!line:,=|,!") do (

set "line=%%a%%b%%c%%d%%f"

)

echo !line:|=!

))>>MonthlyRecon_Actual_out.csv

===================================================================================================================

Reasons:
  • RegEx Blacklisted phrase (3): Can you pls help
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @echo
  • No latin characters (0.5):
  • Filler text (0.5): ================================================================================================================
  • Filler text (0): ===================================================================================================================
  • Low reputation (1):
Posted by: Srini

79602314

Date: 2025-05-01 18:04:55
Score: 0.5
Natty:
Report link

It would be very helpful if you shared what type of script you are writing. As pointed out by nico_cisco, the | filters take regex arguments. To prevent buffering the enable command 'terminal length 0' will stop line breaks. Setting the terminal length to 10 doesn't stop the command from running but causes the output to pause. If this is just an SSH session via putty, that's not going to help. If this is something like a python/netmiko script, you can set the expected string to '--More--' and then send ^ to break the command.

The IOS platform you are running also matters. ASA's don't have | section. NXOS requires quotes around a regex with a space in it. NXOS also has '| head lines X' that cuts off after X lines but other platforms do not. Your platform on Cisco makes a huge difference on what your options are from CLI.

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

79602313

Date: 2025-05-01 18:03:55
Score: 2.5
Natty:
Report link

You could check out @DependsOn or maby @Primary

i have to admit i have not looked into your code right now and i am not sure if it suits your usecase it just where the first things that came into my mind

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @DependsOn
  • User mentioned (0): @Primary
  • Low reputation (0.5):
Posted by: Nico S.

79602308

Date: 2025-05-01 18:00:53
Score: 3
Natty:
Report link

Go to the latest Oracle Official Version for download, at this time of this answer is Dec 19 2024 https://www.oracle.com/tools/downloads/jdeveloper-14c-downloads.html#

In Mac ensure in Privacy & Security Allow Application to be opened.

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

79602305

Date: 2025-05-01 17:57:52
Score: 1
Natty:
Report link

In my case, my GitHub App was (intentionally, expectedly) modifying a GitHub Action YML file and I had to grant the App "Read and write" to Actions at the repository level under App -> Developer settings -> Permissions & events.

Repository permissions -> Actions -> Read and Write

Then in .github/workflows/my-workflow.yml that I was running to edit the Action, I added the following:

permissions:
    actions: write
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Dan Wuensch

79602301

Date: 2025-05-01 17:51:51
Score: 2
Natty:
Report link

Clarifying what @Charles wrote…

You don't need to read or extfmt the message SFL. Write the message SFLCTL, then extfmt your data SFLCTL.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @Charles
  • Low reputation (0.5):
Posted by: PoC

79602298

Date: 2025-05-01 17:47:50
Score: 3
Natty:
Report link

Program 1

Write a program to print Hello in Dart.

void main() {

print('Hello, Dart!’);

}

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Arĵüŋ Ś

79602296

Date: 2025-05-01 17:46:50
Score: 0.5
Natty:
Report link

I'm not aware of a way to deliberately open the Debug Console upon starting a test, but you can instruct VS Code not to open the Test Results pane with the setting testing.automaticallyOpenTestResults.

A screenshot of the VS Code Setting "Testing: Automatically Open Test Results"

"testing.automaticallyOpenTestResults": "neverOpen"

With the value of neverOpen, if the Debug Console is already open when you start the tests, it will continue to stay open instead of switching to the Test Results pane.

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

79602295

Date: 2025-05-01 17:46:50
Score: 1
Natty:
Report link

SEO services aim to improve a website’s organic rankings in search engines. Unlike Google Ads, SEO focuses on long-term strategies like content creation, keyword optimization, link building, and improving website structure and user experience.

Good SEO helps your website rank higher naturally without paying for each click.

Advantages of SEO:

Disadvantages of SEO:

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

79602279

Date: 2025-05-01 17:29:43
Score: 0.5
Natty:
Report link

There is no inheritance in resource dictionaries, only replacements. Resource dictionary is completely flat structure. When created merged dictionaries goes first in order they are declared. Dictionaries declared later on the list have access to things declared in dictionaries that goes before them. They can also replace that things. Things declared at dictionary level have access (and may replace) things declared in merged dictionaries.

So you can reference things from merged dictionaries, but in opossed way you were thinking.

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

79602277

Date: 2025-05-01 17:28:43
Score: 2
Natty:
Report link

SwiftUI provides functionality for ScrollView like so

ScrollView( .horizontal ) {
    <#Your Body Here#>
}
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: JK Bot

79602276

Date: 2025-05-01 17:27:42
Score: 5.5
Natty:
Report link

As @mklement0 suggested, Selenium did the trick

Reasons:
  • Low length (2):
  • No code block (0.5):
  • User mentioned (1): @suggested
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: POL

79602274

Date: 2025-05-01 17:26:41
Score: 1
Natty:
Report link

If I'm reading this correctly, the issue is the formatting, your correct in your guess.

 const authorizationHeader = req.headers.authorization || '';
    const idToken = authorizationHeader.startsWith('Bearer ')
      ? authorizationHeader.split('Bearer ')[1]
      : null;

This part of your code will return as the value for idToken as either a 'Bearer ' stripped id, or null.

If you passed in your test case value you use:

$idTokenDirect = "eyJhbGciOiJSUzI1NiIsImtpZCI6IjNmO..." # Pasted full, verified token

Then I think what this would do is set idToken to null. And that would explain why you're seeing what you're seeing.

Now if you sent in a

'Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjNmO...' 

style, you should get the 'eyJhG....' stuff as element 1, like your code implies, as the value for idToken.

However, I don't see you prepending 'Bearer ' back in front of the idToken ever, and you do use this in your testing script.

Seems like this is the disconnect between the two flows? If you need "Bearer " in the auth call, then perhaps reverse the testing at the top to see if it's missing and add it, instead of stripping it off if it exists?

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

79602270

Date: 2025-05-01 17:23:37
Score: 5
Natty:
Report link

Explain more. Do You do it from multiple client?
Put your script.

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

79602268

Date: 2025-05-01 17:21:36
Score: 2.5
Natty:
Report link

I’ve noticed that when overflow: clip is removed, the click event works as expected in Chrome. It seems that overflow: clip is preventing the click events from being triggered correctly on the 3D cube faces.

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

79602263

Date: 2025-05-01 17:16:32
Score: 7.5 🚩
Natty: 5.5
Report link

did you find a way ?? to keep the mic open

Reasons:
  • RegEx Blacklisted phrase (3): did you find a way
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you find a
  • Low reputation (1):
Posted by: anas beeorder

79602257

Date: 2025-05-01 17:12:30
Score: 0.5
Natty:
Report link
import win32gui
import win32api
import time

#Размер экрана
window_width = 1920
window_height = 1080

#Цвет прицела
red = win32api.RGB(255, 0, 0)

#Размер прицела (ЦЕЛОЕ ЧИСЛО)
aim_width = 6
aim_height = 6

#Переменная корректировки центра прицела если в игре он смещё например из-за оконного режима
Error_rate_x=0
Error_rate_y=-8

#CONST Получает контекст устройства для окна.
dc = win32gui.GetDC(0)

#CONST Центр экрана
x = window_width/2
y = window_height/2

#CONST Начало прицела
aim_width_start = x-(aim_width/2)+Error_rate_x
aim_height_start = y-(aim_height/2)+Error_rate_y

#Рисуем на экране
while True:
    #Рисуем прицел
    for i in range (aim_width):
        for ii in range (aim_height):
            win32gui.SetPixel(dc, int(aim_width_start+i), int(aim_height_start+ii), red)


    #time.sleep(0.05) #Добавить задержку, если тормозит
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: NONAME

79602254

Date: 2025-05-01 17:09:28
Score: 2.5
Natty:
Report link

Looks like this has been deprecated. I am running into this issue. Status Code: 400

Response JSON:

{'error': {'message': '(#12) Deprecated for versions v21.0 or higher', 'type': 'OAuthException', 'code': 12, 'fbtrace_id': 'AndIh_bejDKGO0yCNALbvVQ'}}

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

79602251

Date: 2025-05-01 17:07:27
Score: 5
Natty:
Report link

I'm having the same problem with

<InputFile OnChange="LoadFile" />

My handler

private async Task LoadFile(InputFileChangeEventArgs e)
{
    throw new Exception();
}

is not throwing anything.

I also tried a "synchronous" handler which is not working either :


private void LoadFile(InputFileChangeEventArgs e)
{
    throw new Exception();
}

I want the exception to be handled by an ErrorBoundary but the one from the InputFile never gets there when the exception thrown by the Button clic does...

Reasons:
  • Blacklisted phrase (1): I'm having the same problem
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • Me too answer (2.5): I'm having the same problem
  • Low reputation (1):
Posted by: Spoc

79602229

Date: 2025-05-01 16:56:21
Score: 2.5
Natty:
Report link

I think Keimeno's answer best explains but the alternative provided did not work for me I found this link gives this the same idea in a different way to code: https://github.com/pmndrs/zustand/discussions/2748

import {useShallow} from 'zustand/shallow';
    
const [isLoading, setLoading] = useLoadingStore(useShallow((state) => [ state.loading, state.setLoading]));
Reasons:
  • Blacklisted phrase (1): did not work
  • Blacklisted phrase (1): this link
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Colin Tondreau

79602226

Date: 2025-05-01 16:53:20
Score: 4.5
Natty: 6.5
Report link

Thanks for the helpful answers! I'm curious—if we use something like sleep infinity to keep a pod running, is there a better or more Kubernetes-native approach to achieve the same thing without relying on placeholder commands?

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: dita

79602220

Date: 2025-05-01 16:51:17
Score: 0.5
Natty:
Report link

Please note:

    $YourString = '"/X' $id1 '/QN KLPASSWD=randompass'""

See @dennis's answer for better understanding.

If randompass contains spaces, you must enclose it in quotes, see @maximilian-burszley's comment.

The simplest way to use the ArgumentList parameter is to treat it as an array and not as a string. This makes it easier to debug any exceptions.

    $ParameterArgumentList =
        '/X',
        $id1,
        '/QN',
        'KLPASSWD=randompass'

The code excerpt would be:

    (Start-Process msiexec.exe -ArgumentList $ParameterArgumentList -Wait).ExitCode  

To display your array:

    Write-Output -InputObject $ParameterArgumentList
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @dennis's
  • User mentioned (0): @maximilian-burszley's
  • Low reputation (0.5):
Posted by: João Mac

79602208

Date: 2025-05-01 16:42:09
Score: 1
Natty:
Report link

The easiest way to fix this is to not use the COPROC[0] and COPROC[1[ file descriptor. redirect the coprocs stdin / stdout to anonymous pipes.

{ coproc {  loopedElapsedTimeCalculation 'IS_COP'; } <&$fd0 >&$fd1 2>&$fd2; } {fd0}<><(:) {fd1}<><(:) {fd2}>&2

while read -r -u $fd1; do
...
done

you can then send the coproc stuff by writing to &$fd0 (if needed) and read the output by reading from &$fd1

To make parallel execution really easy and efficient, id suggest checking out my forkrun utility. It uses persistent bash coprocs under the hood. You can even set it up to be a persistent async process that you send commands to and itll run them on demand and then quietly wait for more. e.g., something like

{ coproc fr {
    forkrun -N <&$fd0 >&$fd1 2>&$fd2;
  }
} {fd0}<><(:) {fd1}<><(:) {fd2}>&2

echo "loopedElapsedTimeCalculation 'IS_COP'" >&$fd0
# do stuff while that runs
read -r -u $fd1 output
Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: jkool702

79602201

Date: 2025-05-01 16:38:07
Score: 2.5
Natty:
Report link

You can do this: count(get_resources())

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

79602195

Date: 2025-05-01 16:32:04
Score: 2.5
Natty:
Report link

Running into same issue. Not using create_react_agent() to create the agent though. Passed the state_schema to the StateGraph(). But still getting a KeyError.

Spending a lot of time debugging instead of coding features!

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

79602194

Date: 2025-05-01 16:31:04
Score: 1.5
Natty:
Report link

I solved my problem. I WAS writing to the workbook, just not in the cells I expected. Thanks for some input, always looking to learn more.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-2): I solved
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Doug418

79602193

Date: 2025-05-01 16:31:04
Score: 3
Natty:
Report link

Since there are no visible errors or console logs, the best approach is to isolate the issue by incrementally disabling parts of your app.

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

79602187

Date: 2025-05-01 16:25:58
Score: 2
Natty:
Report link
  1. ❌ Removed the invalid top-level name: inspecto

  2. ✅ instead use version: "3.8"

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: MOHAMMED SADIK K P

79602186

Date: 2025-05-01 16:24:56
Score: 2
Natty:
Report link
composeTestRule.setContent {
    DeviceConfigurationOverride(
        DeviceConfigurationOverride.Locales(LocaleList("es-ES"))
    ) {

As per https://developer.android.com/develop/ui/compose/testing/common-patterns#test_different_device_configurations

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

79602178

Date: 2025-05-01 16:17:54
Score: 2
Natty:
Report link

and I have been able to create the message box, but when this box appears the loop stops and it doesn't continue untill the user clicks de OK button. Is there a way to show a message box without stopping the script?

Yes. You can do by changing Timer to 0.15 instead of 15.0

Snippet(re-modified)

import random
import ctypes
import threading

# Global variable to hold the state
estado = ""

def contador():
    global estado  # Declare estado as global to modify it
    aleatorio = random.randint(1, 11) * 5
    print(aleatorio)
    if aleatorio == 55:
        estado = "Red"
        ctypes.windll.user32.MessageBoxW(0, estado, u"Error", 0)
    elif aleatorio == 30:
        ctypes.windll.user32.MessageBoxW(0, 'Green', u"Error", 0)
    
    # Restart the timer
    t = threading.Timer(0.15, contador)
    t.start()

contador()

Screenshot:

When 55 is the aleatorio. Red will appear in the MessageBoxW.

enter image description here

When 30 is the aleatorio. Green will appear in the MessageBoxW.

enter image description here

Reasons:
  • Blacklisted phrase (1): Is there a way
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Adios Gringo

79602176

Date: 2025-05-01 16:15:54
Score: 0.5
Natty:
Report link

In case you are using the older algorithm associated with legacy ASP.NET to hash your passwords, you may have to do:

return result == PasswordVerificationResult.Success || result == PasswordVerificationResult.SuccessRehashNeeded;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: thewallrus

79602172

Date: 2025-05-01 16:14:47
Score: 5.5
Natty: 5
Report link

How to fix Failed to resolve: com.github.bumtech.glide:glide:4.12.0 in build.gradle.kts (Module :app) ?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): How to fix
  • Low reputation (1):
Posted by: satrio pranata

79602171

Date: 2025-05-01 16:13:47
Score: 1
Natty:
Report link

Hmm, I guess the documentation is just a little confusing.

{
      "name": "scrollDomainStart", "init":"initialScrollStart",
      "on": [
        {
          "events": {"signal": "scrollTimer"},
          "update": "scrollRun ? scrollDomainStart + 60000 : scrollDomainStart"
        }
      ]
    }

init does work fine as the update is within the event handler rather than the properties of the signal.

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

79602169

Date: 2025-05-01 16:10:46
Score: 3.5
Natty:
Report link

testingTesting this question and posting to see how it looks Testing this question and posting to see how it looks

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

79602166

Date: 2025-05-01 16:10:46
Score: 6.5
Natty: 7
Report link

Thanks for the discussion! I’d like to ask—if a PR comment is marked as resolved but not by the author or the person who made the comment, is there any way to track who exactly resolved it, especially in platforms like GitHub?

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): is there any
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: dita

79602161

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

You can hash the password before it gets stored in your database, and then use the same hashing algorithm to compare passwords. This way you (and all network admins) won't be able to see their plaintext passwords, and neither will anyone who gets into your database.

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

79602160

Date: 2025-05-01 16:05:43
Score: 3.5
Natty:
Report link

I used a USB-C to HDMI adapter and plugged it into an old high-def TV. The adapter included USB-A ports for a keyboard and a memory stick so I was able to get what I needed from my dead phone.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: davidk21770

79602157

Date: 2025-05-01 16:05:43
Score: 1.5
Natty:
Report link

try to add a number on it if you have multiple GPUs. It should start at 0 (I think)

Try something like x.to("cuda:1")

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

79602147

Date: 2025-05-01 15:59:35
Score: 4
Natty: 4.5
Report link

It's now possible to configure UMIs as subjects in federated identity credentials.
https://learn.microsoft.com/en-us/entra/workload-id/workload-identity-federation-config-app-trust-managed-identity

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

79602146

Date: 2025-05-01 15:59:34
Score: 4
Natty:
Report link

Use Elasticsearch and its attachmment processor (based on Apache Tika) see the following link https://www.elastic.co/docs/reference/enrich-processor/attachment

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

79602144

Date: 2025-05-01 15:58:33
Score: 3
Natty:
Report link

in my case the error was this:

C:\Users\fredd\.gradle\caches\8.10.2\transforms\2d8a2d75abb4f712781589a914e5f386\metadata.bin (El sistema no puede encontrar el archivo especificado)

Then, to fix this problem, I open the windows explorer going to this path:

C:\Users\fredd\.gradle\caches\8.10.2

then I deleted the "transforms" directory, but before I closed the Android Studio, then I deleted, it.

After you deleted it, re-open the android studio and now you project will be ready again.

cheers!

Reasons:
  • Blacklisted phrase (1): cheers
  • RegEx Blacklisted phrase (2): encontrar
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: FreddicMatters

79602141

Date: 2025-05-01 15:57:33
Score: 2
Natty:
Report link

The problem was a square braket ] closed to earyl in

@vite([

call

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

79602135

Date: 2025-05-01 15:51:32
Score: 3.5
Natty:
Report link

Have you tried setting mode to 'reschedule' (rather than the default 'poke')?

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (1.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: RagtimeTime

79602133

Date: 2025-05-01 15:51:32
Score: 1.5
Natty:
Report link

Flutter still trying to locate and use your old JDK version (17.0.13), even though you've updated to 17.0.15.

How to fix it:

  1. Go to preferences

  2. Click on Build, Execution, Deployment > Build tools > Gradle

  3. Choose the right JDK on Gradle JDK

  4. If the correct path is not listed, you might need to ADD the JDK

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

79602114

Date: 2025-05-01 15:37:42
Score: 2
Natty:
Report link

OK, time to answer my own question with what happened so that future Andrews who might also have this problem know how to solve it:

The hardware that we were running Tableau Server on was quite old (budget constraints) so the scheduled cleanup jobs weren't running properly. Extracts that were old and were supposed to get deleted weren't getting deleted.

I discovered this by querying the PostgreSQL database on the Tableau server itself, seeing which extracts were present in the database, and comparing that to the files that existed on the hard drive. IIRC, the files were named with GUIDs, and stored like Squid stores it's files, in subdirectories "00" to "FF" in the \data\TabSvc\DataEngine\Extract directory.

So I created a C# program to query the internal Postgres database, get a list of extracts, iterate over the files in the extract subdirectories, and delete whatever GUIDs weren't in the database. PLEASE NOTE THAT WHEN WE MIGRATED TO NEWER HARDWARE WITH A FASTER CPU, THIS WAS NO LONGER AN ISSUE, OLD EXTRACTS WERE BEING HARVESTED (yes, they call it "harvest" or "harvesting" old extracts) CORRECTLY.

For reference, the table was "public.extracts" (or something like that, consult Tableau's documentation for your specific version):
https://tableau.github.io/tableau-data-dictionary/2025.1/data_dictionary.htm#public.extracts_anchor

Reasons:
  • Blacklisted phrase (1): how to solve
  • RegEx Blacklisted phrase (2): know how to solve
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: AndrewJacksonZA

79602107

Date: 2025-05-01 15:33:40
Score: 2
Natty:
Report link

For me it was PureVPN extension that provoked the "ERR_TOO_MANY_RETIRES" when opening qbittorrent tab in Chrome. I just changed the parameter "Site access" in extension options to "In case of click" and the error is gone ! (I translated the options names in english, not using Chrome in english, might be a bit different from what I mentioned previsouly...)

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

79602091

Date: 2025-05-01 15:22:34
Score: 3
Natty:
Report link

The package maintainer responded to the issue on Github and corrected the package. Ref: issue github.com/rspatial/terra/issues/1816

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

79602088

Date: 2025-05-01 15:19:31
Score: 4
Natty: 5
Report link

'CTRL + D' worked for me on Windows. Thank you @radixxx

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @radixxx
  • Single line (0.5):
  • Low reputation (1):
Posted by: Alina Sharipova

79602082

Date: 2025-05-01 15:16:31
Score: 1
Natty:
Report link

Yes, the R package dbscan has now a function called dbcv() to calculate the Density-Based Clustering Validation Index (DBCV). See: https://mhahsler.r-universe.dev/dbscan/doc/manual.html#dbcv

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Michael Hahsler

79602075

Date: 2025-05-01 15:12:30
Score: 2
Natty:
Report link

I had a very similar issue occurring across multiple different scripts and various standard packages (pandas, selenium, etc.). Although these Pylance warnings did not disrupt my code, those squiggly yellow lines were annoying - especially knowing that I had likely set up nearly everything correctly.

To resolve these warnings, I just 'Trusted' the window. I believe the original notification popped up in the bottom left of the VS Code UI, but it should be searchable in settings as well.

enter image description here

Here is a picture of the Trusting window that I was seeing. Good luck!

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: CordlessSteve

79602070

Date: 2025-05-01 15:07:27
Score: 1.5
Natty:
Report link

Just wanted to share a quick insight—even though it's a bit late. I was confused as to why my GitHub issue tickets weren’t closing immediately after using a closing keyword in a commit message.

Turns out, the issue only gets closed after the pull request is merged into the default branch (i.e. main or master branches), not when the commit is pushed. When it is pushed, you can see the reference in the PR and attached to the github issue.

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

79602064

Date: 2025-05-01 15:04:26
Score: 1.5
Natty:
Report link

I was able to fix this with a simple:

sudo gem update cocoapods
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Opicak

79602056

Date: 2025-05-01 15:00:25
Score: 0.5
Natty:
Report link

Since GQL is missing the "IN" keyword, you must use "OR" e.g.

filter: {
        or: groups.map((group) => ({ access_group: { eq: group } })),
      },
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: llama

79602033

Date: 2025-05-01 14:42:19
Score: 4
Natty:
Report link

The problem seems to be Wifi 7

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

79602029

Date: 2025-05-01 14:41:17
Score: 3
Natty:
Report link

Can't comment so posting...

If %USERPROFILE%\AppData\Local\Temp doesn't contain an SSMS folder, another option is to check

%USERPROFILE%\AppData\Roaming\Microsoft\SQL Server Management Studio\[your version number]_IsoShell\AutoRecoverDat

If you find a DAT file with number as the name, this file contains paths to other temporary sql files as shown below

Contents of DAT file showing several paths to temporary SQL files

System I was on does not use SSMS 2017 so never would have thought to check there...

Best of luck to everyone landing here :)

Reasons:
  • RegEx Blacklisted phrase (1): Can't comment
  • Probably link only (1):
  • Has code block (-0.5):
  • Starts with a question (0.5): Can't
  • Low reputation (1):
Posted by: Hyper10n

79602023

Date: 2025-05-01 14:36:16
Score: 3
Natty:
Report link

nao da para carregar o vídeo e quero muito ver essa série por favor faça um jeito de funcionar

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

79602011

Date: 2025-05-01 14:28:07
Score: 1
Natty:
Report link

Setting QT_AUTO_SCREEN_SCALE_FACTOR to 0 has just worked for me in the current version (8.6.0)

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
Posted by: volpato

79602009

Date: 2025-05-01 14:27:07
Score: 1.5
Natty:
Report link

Acc. to https://huggingface.co/blog/dvgodoy/fine-tuning-llm-hugging-face

bitsandbytes had to be bumped to 0.45.2 to avoid errors in Colab env

this is what has been working for me

!pip install transformers==4.46.2 peft==0.13.2 accelerate==1.1.1 trl==0.12.1 bitsandbytes==0.45.2 datasets==3.1.0 huggingface-hub==0.26.2 safetensors==0.4.5 -q
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: abdelrahman aboneda

79602007

Date: 2025-05-01 14:26:06
Score: 1
Natty:
Report link

You can make any function concurrent using goroutines:

for instance, instead of session.onReadyEnterWorld() , you could run go session.onReadyEnterWorld() .

This will run the function separately from the main thread, that way time.sleep will only freeze the goroutine and not the main thread.

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

79601999

Date: 2025-05-01 14:17:04
Score: 1
Natty:
Report link

The above mentioned Dependency Walker has not been updated to handle Windows API-sets. A newer tool called Dependencies.exe has been released on GitHub that can hndle Windows API-sets.

From the Dependency Walker wiki article,:

As of Windows 7, Microsoft introduced the concept of Windows API-sets, a form of DLL redirection. Dependency Walker has not been updated to handle this layer of indirection gracefully, and when used on Windows 7 and later it will likely show multiple errors. Dependency Walker can still be used for some application level debugging despite this.

As of October 2017 an Open Source C# rewrite of Dependency Walker called Dependencies.exe has been released on GitHub. It does not yet offer the full range of Dependency Walker features, but has been updated to handle Windows API-sets and WinSxS (side-by-side assemblies).

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

79601996

Date: 2025-05-01 14:13:02
Score: 3
Natty:
Report link

I changed to another version of bash shell at /bin/bash.

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

79601993

Date: 2025-05-01 14:11:53
Score: 2.5
Natty:
Report link

This is solved now. It was a process.
1 Created variables for every piece of the Patch(). That did not work.
2 What' going on with the variables?
3 Created Text boxes for the variables and then created a gallery to see the record target for the patch(). Everything Displayed correctly. That did not work. How could variables, ALL correct not allow the patch()?
4 Asked for help in a DOD chat for coders.
5 Someone provided a solution that used the control.text properties set in #2 above.

That worked. Crazy! They said it has something to do with Power Apps being Async. and maybe the variables not being fully baked. Even though you can see the correct values in the controls in the boxes before you even pressed the buttons. I used other controls to set the variables and populate the boxes. Because I thought it was an Order of Operations issue. So that should have made the variables resolve and display their values. So when I pushed the Submit button to get results using just variable set beforehand, somehow did not work; only picking up the Control.Text values worked.

I guess if your patch() is acting up maybe try setting variables, create text boxes to hold the variables, the use the control.Text property to pull the Text properties directly in the Patch(). That is the only difference between the code I submitted in OP and the solution.

Reasons:
  • Blacklisted phrase (1): did not work
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Kevin

79601991

Date: 2025-05-01 14:10:53
Score: 1.5
Natty:
Report link

WIndows 11, VSC 1.99.3 had trouble. Key point is that when VSC directs user to Eclipse Temurin JDK it comes defaulted to NOT "Set or override JAVA_HOME var" and NOT "JavaSoft (Oracle) registry keys..."

Updated both of those to do these things.

Looking at left hand panel of VSC there is a statement (you need to scoll down from "Get Started with Java Development") you will see the line that says, "To verify it is installed, create a new terminal (hyperlink) and try running the following command:

java - version

This may help confirm that the Java SDK did install, and may help show that without the JAVA_HOME or keys VSC may not know how to find the Java install.

Not sure this was the problem for the user above, but if this helps anyone then it's good.

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

79601977

Date: 2025-05-01 14:03:49
Score: 0.5
Natty:
Report link

Remove the column attribute from <key-property> mapping. It is not referenced by documentation to have such attribute if you are using <composite-id>.

<composite-id name="id" class="com.gs.jxx.util.ConfigParameterKey" mapped="true"><key-property name="category"/>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: TevinS

79601970

Date: 2025-05-01 14:01:49
Score: 3.5
Natty:
Report link

you should update! not downgrade to version:

langchain: 0.3.24

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

79601966

Date: 2025-05-01 13:59:48
Score: 0.5
Natty:
Report link

Try from scipy.signal.windows import gaussian

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: jeguyer

79601965

Date: 2025-05-01 13:58:48
Score: 4
Natty:
Report link

i tried using the swift-create-xcframework command after installing the swift package, but i get this error:

sdk-funfun-ios % swift create-xcframework

warning: unable to restore workspace state: unknown 'WorkspaceStateStorage' version '6' at '/Users/fun/Coding/CLionProjects/sdk-funfun-ios/.build/workspace-state.json'

debug: evaluating manifest for 'sdk-funfun-ios' v. unknown

error: missingKey("product_type")

debug: evaluating manifest for 'sdk-funfun-ios' v. unknown

error: missingKey("product_type")

Error: fatalError

Any idea how to fix this issue?
What we have is a swift package library, it isn't inside an xcode proj, its just a library project.

Reasons:
  • RegEx Blacklisted phrase (1.5): how to fix this issue?
  • RegEx Blacklisted phrase (1): i get this error
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: theLittleBox

79601946

Date: 2025-05-01 13:43:44
Score: 1
Natty:
Report link

You can use selectionDisabled() in iOS 17.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Efe Mesudiyeli

79601943

Date: 2025-05-01 13:40:44
Score: 1.5
Natty:
Report link

Changed Parent element of whole page was <div className="w-screen h-screen bg-neutral-950 flex justify-center items-center "> and when i changed items-center to items-start it got fixed

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

79601937

Date: 2025-05-01 13:35:43
Score: 1
Natty:
Report link

Try $ pyinstaller --contents-directory lib --name MyApp MyApp.py

This can also be done using a .spec file by adding contents_directory to the EXE call

exe = EXE(
    ...
    contents_directory='lib',
    ...
)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: EverDee

79601936

Date: 2025-05-01 13:35:43
Score: 1
Natty:
Report link

A nicer way of doing this is by using the std::chrono library.

// Needed for `1s` syntax
using namespace std::chrono_literals;

// Your code
auto const old = last;
last = steady_clock::now();
const duration<float> frameTime = last - old;

// Use `frameTime` as your delta time
auto fps = 1s / frameTime;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gabor Galgoczy

79601932

Date: 2025-05-01 13:32:42
Score: 1.5
Natty:
Report link

Shoes doesn't natively support tooltips, but you can create one using mouse events like hover to show and hide a text element. If this solution doesn't work for you, consider submitting a feature request to the Shoes team for official tooltip support in future versions.

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

79601930

Date: 2025-05-01 13:29:41
Score: 0.5
Natty:
Report link

According to the documentation at https://support.google.com/merchants/answer/6324448?hl=en, the value you set for availability should be 'in_stock'. You have a space in your provided value. Please change the call to the below and try again:

$product->setAvailability('in_stock');
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: L0uis

79601913

Date: 2025-05-01 13:21:38
Score: 1
Natty:
Report link

I am unable to comment on the previous comment from Nick K9 so quoting here for those who get alarmed by this statement.

That's a very important caveat, thank you Ram! The first 1000 invalidations per month are free. After that it's $0.005 per path. So if your bucket has 1MM objects in it, invalidating * will cost you $5,000! Be very careful with this.

– Nick K9

CommentedJan 24 at 13:26

This is not true. invalidating /* is the same as invalidating a very specific path. CF charges you by number of invalidations (or paths) not number of urls within that path. So unless you're invalidating each file individually, you will only be charged for one invalidation (0.005$).

When to invalidate /* vs individual paths
- Invalidate /* when you dont care about the cache. You just want to reset everything. Like when you're in a dev or non-prod env.
- Invalidate the individual path or parent path if you need to retain the cache to other paths on the same domain. Example, I have a distribution where i fetch /price and /static/asset. The price endpoint runs expensive queries on by DB and only refreshes once every hour with a job. So it makes sense to retain the cache and only clear the cache to /static/asset when I make a change to the asset. In this case, my origin is not loaded and I set the CF cache policy maxTTL to 60 mins. So CF will automatically fetch data after an hour without the need for invalidation.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (1): to comment
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sandeep Baynes

79601912

Date: 2025-05-01 13:21:38
Score: 0.5
Natty:
Report link

Perhaps you are overlooking a more obvious answer.

def main():
# blah blah
    if want_to_leave_quietly:
        return #no mess

if __name__ == "__main__":
    main()

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

79601905

Date: 2025-05-01 13:14:37
Score: 1.5
Natty:
Report link

Since Dataflow workers operate in a different environment than your local machine, they can't find files using relative paths. I think the best approach is to upload it to a Google Cloud Storage bucket like gs://your-bucket/your-cert.pem. Then, within your Apache Beam pipeline, you'll need to use the apache_beam.io.gcp.gcsio.GcsIO tool to read the content of this file from GCS and then pass that content to the tlsCertificateKeyFile setting for your MongoDB connection. Don't forget to give the Dataflow service account permission to access the file in GCS.

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