79405252

Date: 2025-02-01 15:55:39
Score: 3.5
Natty:
Report link

"You need to increase token value" Set a high value for context length but it can significantly impact memory usage,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: Asrar Sheikh

79405251

Date: 2025-02-01 15:54:38
Score: 0.5
Natty:
Report link

The issue is likely not with Axios itself but rather with the server configuration. Keeping an HTTP connection open for an extended period is generally not a good idea. Here’s what I'll do:

If maintaining a persistent HTTP connection is necessary, I'll configure the server settings accordingly. (See nginx keepalive timeout vs ELB idle timeout vs proxy_read_timeout).

As noted in the reference above, client timeout settings are not relevant if the server’s timeout configuration is shorter than the client’s timeout setting.

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

79405247

Date: 2025-02-01 15:48:37
Score: 1.5
Natty:
Report link

I had the same problem. I tried different ways to fix it and nothing worked. Finally I tried on another browser (brave, I used chrome before) and suddenly everything started working - loading.tsx and suspense components started displaying content correctly while loading. However, I still don't know why it doesn't work on other browsers.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Marek

79405237

Date: 2025-02-01 15:37:35
Score: 1
Natty:
Report link

You can try yo use the following snippet.

df1.loc[df1.index[-1], 'col1'] = df2.loc[df2.index[-1], 'col1']

On my machine with pandas version 2.2.3 is gives no warnings.

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

79405235

Date: 2025-02-01 15:37:35
Score: 0.5
Natty:
Report link

so, lets talk in simple terms, overfitting basically means if you create a model to detect cats, but when you use the model in real world scenario, you are able to only detect a specific cat/cats ( the cat images used in your training dataset )

reasons for overfitting is one or all of the following

how can I know each time when the model has learned properly or not

for now lets not consider the values or metrics that provide information about the model accuracy and stuff, the most practical and best way to check your models performance or model overfitting is testing your model, rather than just relying on the metric values ( though they do provide the accurate information )

create a dataset named test dataset and make sure this dataset is unique from the training and validation dataset, in simple terms, if you are training a model with cats ( x,y,z ) in different backgrounds and positions, make sure that the testing dataset contains ( A,B,C ) cats, in unique and positions from the training dataset

then after dataset creation, run inference or test your model using this dataset, that is manually check if the model is able to detect unique data rather than trained data,

as mentioned by about your responses from chatbots, yes it could be true, without you mentioning the volume, variety, and veracity of the dataset, i can only assume that your dataset is the problem

task being too simple, lets say you need to train a model to perform mathematical operations ( probability, word problems, permutations ), but you only train the model to perform simple addition and multiplication with small , then yes your model will overfit to only addition and multiplication

though the example mentioned is not realistic, but it may help you to understand what i am trying to say

can I rely on them for this type of analysis ?

partially yes and partially no, basically they are just models to process the human language and provide response to those, by searching their database or the web or probably even by the patterns learned by it during the training process,

if you are stuck have no idea, then it could give a idea/ spark a thought, to begin with

Reasons:
  • Blacklisted phrase (0.5): how can I
  • Blacklisted phrase (1): i am trying to
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Daksh Rawal

79405191

Date: 2025-02-01 15:04:22
Score: 6 🚩
Natty:
Report link

You can also get also get the same error in modern react-select if you return an option instead of a list of options in the callback.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): also get the same error
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Steve

79405174

Date: 2025-02-01 14:45:19
Score: 1
Natty:
Report link

I Solved my problem by installing jaxb-core-3.0.1.jar , and all its dependencies, linked in the comments of the post

Reasons:
  • 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: Letho123

79405165

Date: 2025-02-01 14:39:17
Score: 1.5
Natty:
Report link

try install sdk:

sudo apt update && sudo apt install android-sdk
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: DevMateus

79405161

Date: 2025-02-01 14:36:17
Score: 2
Natty:
Report link

I was able to get the value of email like this: $request->request->all()['update_email_form']['email']

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

79405160

Date: 2025-02-01 14:36:16
Score: 4
Natty: 4.5
Report link

Existe diferença entre utilizar executescript e execute: enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Antonino Marques Jares

79405153

Date: 2025-02-01 14:33:15
Score: 1
Natty:
Report link

After several weeks of troubleshooting, I discovered that the issue was related to Docker Desktop. While I couldn't pinpoint the exact cause, my research indicated that it might be linked to how Docker Desktop handles certain CPU features, specifically SVE (Scalable Vector Extension) and SSVE.

Here's a brief overview of what I tried:

  1. Testing Different Environments:

    • Compiled various versions of GCC and GDB across different Docker distributions such as Arch, Debian Sid, and Alpine.
    • Attempted using LLDB instead of GDB.
    • Compiled the latest version of GDB to investigate issues related to SVE and SSVE management.
  2. Solution with Rancher Desktop:

    • Switched to Rancher Desktop, configuring it to use VZ as an emulator with Rosetta support for x64 Docker containers.
    • Utilized VirtioFS as the Volume Manager, which resolved the issues.

This setup allowed everything to function smoothly. Additionally, I was able to import all my images from Docker Desktop into Rancher Desktop without any problems.

Until Docker Desktop addresses this issue, using Rancher Desktop has been a successful workaround for me.

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

79405139

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

In C++ you can declare a constructor outside of the class scope.

class A {
    A();
};

A::A() {}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: aarcangeli

79405130

Date: 2025-02-01 14:19:12
Score: 1.5
Natty:
Report link

I have tried other validations such as @Valid and @Validated, as well as field value annotations on the object, but nothing works. I am wondering if there is a way around this without having to write a custom deserializer instead of using @RequestBody or adding it as a false positive.

This has nothing to do with @RequestBody in particular.

You probably disabled (or didn't configure) CSRF in your security configuration.

more information about csrf can be found in the official spring security documentation

here is an example of a configuration file taken from the getting started page

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.security.core.userdetails.User;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.provisioning.InMemoryUserDetailsManager;
import org.springframework.security.web.SecurityFilterChain;

@Configuration
@EnableWebSecurity
public class WebSecurityConfig {

    @Bean
    public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
        http
            .authorizeHttpRequests((requests) -> requests
                .requestMatchers("/", "/home").permitAll()
                .anyRequest().authenticated()
            )
            .formLogin((form) -> form
                .loginPage("/login")
                .permitAll()
            )
            .logout((logout) -> logout.permitAll());

        return http.build();
    }

    @Bean
    public UserDetailsService userDetailsService() {
        UserDetails user =
             User.withDefaultPasswordEncoder()
                .username("user")
                .password("password")
                .roles("USER")
                .build();

        return new InMemoryUserDetailsManager(user);
    }
}

If you don't have this in any shape or form, I suggest you start there.

Reasons:
  • Blacklisted phrase (1): but nothing work
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Valid
  • User mentioned (0): @Validated
  • User mentioned (0): @RequestBody
  • Low reputation (1):
Posted by: Yuval Roth

79405129

Date: 2025-02-01 14:18:12
Score: 1.5
Natty:
Report link

First, you need to go to any page, edit it, and you will see the template selection option on the right sidebar. From there, you can select your PHP template.

Second, go to Settings > Reading, and you will find the Static Page option to choose your front page. Simply select your desired page and save the changes.

That's it!

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

79405126

Date: 2025-02-01 14:17:11
Score: 0.5
Natty:
Report link

Ensure you have installed test runners on Visual Studio if using other test frameworks. I migrated all of my packages to Central Package Management and forgot to install xunit.runner.visualstudio so Visual Studio could not run my tests.

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

79405124

Date: 2025-02-01 14:15:10
Score: 5
Natty: 7
Report link

saya sudah coba dan terhubung antara ELM327 dan ESP32, namun kenapa ketika send command kok di serial monitor >ATI ?

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

79405119

Date: 2025-02-01 14:11:09
Score: 12.5
Natty: 7.5
Report link

Did you find any solution for lag and jitter in animations?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): Did you find any solution
  • RegEx Blacklisted phrase (2): any solution for lag and jitter in animations?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find any solution for
  • Low reputation (1):
Posted by: Swapnil Sharma

79405110

Date: 2025-02-01 14:04:07
Score: 1
Natty:
Report link

This worked for me:

format longG

https://www.reddit.com/r/matlab/comments/9hczjy/how_to_get_matlab_to_stop_displaying_things_in/

Reasons:
  • Whitelisted phrase (-1): This worked for me
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (2):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: noriega

79405105

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

I deleted renamed folder, then rollback it. It resolved the issue.

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

79405104

Date: 2025-02-01 14:00:06
Score: 3.5
Natty:
Report link


Static (last 100 Periods)

  1. Winning n

Blockquote



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

79405101

Date: 2025-02-01 13:58:06
Score: 3
Natty:
Report link

`` I also need to know which item in list 1 was found in which item in list 2. How do I do this please? This should result in
'found 6 from list1 in item 4 List2', but it shows 'found 6 from list1 in item 1 List2'

``

    List1 = [
        [60, 64, 67],
        [62, 67, 72],
        [62, 66, 69],
        [61, 64, 69],
        [64, 65, 67],
        [65, 70, 61],
    ]
    
    List2 = [
        [61, 62, 64, 69],
        [60, 61, 62, 63],
        [64, 65, 67, 69],
        [65, 70, 66, 61],
    ]
    w = 0; v = 0; b = 0
    for x in List1:
        for z in List2:
            is_subset =all([(y in z) for y in x])
            if is_subset == True:
                b = w            
                break
        w = w + 1   
    v = v + 1 
    print("found",w,"from list1 in item ",v,"List2") 

  
``
Reasons:
  • Blacklisted phrase (1): How do I
  • RegEx Blacklisted phrase (1): I do this please
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Tim

79405100

Date: 2025-02-01 13:58:05
Score: 5.5
Natty: 7
Report link

can an abstract class inherit from a subclass? for ex: i have this method callTeacher() in this concrete class Teacher, can my abstract class inherit that as an abstract method?

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

79405094

Date: 2025-02-01 13:53:03
Score: 6.5 🚩
Natty: 6.5
Report link

Can I use Swagger

@ApiProperty({example:'asdasdsqwre'})

with the library?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Can I use
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Fernando Wermus

79405089

Date: 2025-02-01 13:49:02
Score: 2.5
Natty:
Report link

try zk + zk-nvim.

lsp + markdown + frontmatter + tags + link + ...

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

79405088

Date: 2025-02-01 13:47:01
Score: 0.5
Natty:
Report link

Consider to check if it helps to use application private IP address and port number for the STUN inquiry

stun.get_ip_info(source_ip=PRIVATE_IP, source_port="54320")

and to also use the private port number instead of PUBLIC_PORT when binding

SOCK.bind((PRIVATE_IP, 54320))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: user23509140

79405085

Date: 2025-02-01 13:45:01
Score: 2.5
Natty:
Report link

For generating report we need to make sure we can generate json report in the report folder an pass below mentioned param in yaml: report: true partialReports: type: json location: reports/htmlReports frameworkName: extent-native

My json file got created in reports/htmlReports

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

79405072

Date: 2025-02-01 13:39:00
Score: 2
Natty:
Report link

C:\Windows\SysWOW64\wbem ==> add this it to environment variable then it works fine then it will not give blank output in cmd line it work for me also if anyone gets wmic not found ecternal internal cmd error them from optional features in windows 11 add wmic then it will works fine

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

79405071

Date: 2025-02-01 13:37:59
Score: 3
Natty:
Report link

Even though this thread is pretty old, I've faced this issue today. And the root cause for me was the spaces in the path to Ghidra. Moving it to another folder resolved the issue.

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

79405069

Date: 2025-02-01 13:36:59
Score: 2.5
Natty:
Report link

If you're still having trouble with creating a feature file and the Cucumber editor isn't set as the default, follow these steps:

  1. Create a feature file.
  2. Right-click on the feature file.
  3. Select Open With.
  4. Choose Other....
  5. Select Cucumber Editor from the list of internal editors.
  6. Check the box that says Use it for all "*.feature" files.

By enabling this option, Eclipse will automatically use the Cucumber editor by default whenever you create a ".feature" file.

enter image description here

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

79405063

Date: 2025-02-01 13:32:58
Score: 1
Natty:
Report link

Solution The issue was identified using dumpbin (command : dumpbin /headers libbid.lib), which revealed that nmake had built the Intel library as a 32-bit binary. Since my PC is 64-bit and the TWS API source is likely optimized for 64-bit, this mismatch caused the problem. Here’s how to resolve it:

Steps to fix Switch to 64-bit Mode in Visual Studio Open the Developer Command Prompt for Visual Studio and run the following command:

call "C:\Program Files\Microsoft Visual Studio...\Build\vcvars64.bat" This ensures that you are working in 64-bit mode. ...\ in the directory adress are here because it depends of the used version of visual studio (mine is 2022 community).

Rebuild the Library in 64-bit Use nmake to rebuild the library with the required configuration. Run the following command in the directory containing the makefile.mak:

nmake -f makefile.mak CC=cl CALL_BY_REF=0 GLOBAL_RND=0 GLOBAL_FLAGS=0 UNCHANGED_BINARY_FLAGS=0 Replace the Existing Library Once the library has been rebuilt as a 64-bit binary, replace the old 32-bit version in your repository with the newly generated library file.

Rebuild Your Project After updating the library, rebuild your project. The build errors should now be resolved

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

79405061

Date: 2025-02-01 13:31:58
Score: 1.5
Natty:
Report link

As per Luke's response in the comments, fcon.dll does not include pagehashes in its signature.

On investigation, this DLL is required by the panic!() macro, so removing this prevents the error.

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

79405057

Date: 2025-02-01 13:29:57
Score: 1.5
Natty:
Report link

After some investigation, I don't believe the issue is related to the attribute method. The entire received reply is empty. There are no headers or body received by the application. The Wireshark capture shows that the entire message is properly sent out by my HTTP server and received by the browser, however, the application does not receive it.

I checked if any error was reported by the reply and received an error QNetworkReply::ProtocolFailure (399). I believe the browser strips that information and does not propagate it further to the application. I tested this in Firefox and Chrome with the same results.

As I mentioned in my original post, the communication works perfectly when compiled as a desktop application. The issue was only observed when compiled by WebAssembly.

I will close this post and reopen a new one with a new question.

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

79405054

Date: 2025-02-01 13:28:57
Score: 4
Natty: 4
Report link

In simple english terms, we can answer this question.

ST_CONTAINS - is there something inside of a feature?

ST_WITHIN - is the feature inside of something?

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

79405047

Date: 2025-02-01 13:27:56
Score: 1.5
Natty:
Report link

🚀 Préparez-vous à la certification ISTQB V4.0 avec confiance ! 🎯 Vous visez la certification ISTQB V4.0 ? Ne laissez rien au hasard ! ✅ 🎓 Rejoignez mon cours Udemy et accédez à des examens blancs exclusifs conçus pour vous entraîner dans des conditions réelles d’examen. 🔹 Des questions conformes aux standards ISTQB V4.0 🔹 Une explication détaillée des réponses 🔹 Un entraînement progressif pour maximiser vos chances de réussite 💡 Boostez vos compétences, évitez les pièges de l’examen et décrochez votre certification avec succès ! 🔗 Inscrivez-vous dès maintenant et mettez toutes les chances de votre côté ! 🚀 https://www.udemy.com/course/examens-blancs-certification-istqb-v40/?referralCode=E07A962C1D4E9C6EDFEA

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

79405045

Date: 2025-02-01 13:25:55
Score: 0.5
Natty:
Report link

You can easily do that in seconds by using this a WordPress Plugin called Custom Product Type for WooCommerce (Add-Ons, Data, Options, Booking, and Appointments).

Or by using this code:

// #1 Add New Product Type to Select Dropdown
  
add_filter( 'product_type_selector', 'wpsaad_add_custom_product_type' );
  
function wpsaad_add_custom_product_type( $types ){
    $types[ 'custom' ] = 'Custom product';
    return $types;
}
  
// --------------------------
// #2 Add New Product Type Class
  
add_action( 'init', 'wpsaad_create_custom_product_type' );
  
function wpsaad_create_custom_product_type(){
    class WC_Product_Custom extends WC_Product {
      public function get_type() {
         return 'custom';
      }
    }
}
  
// --------------------------
// #3 Load New Product Type Class
  
add_filter( 'woocommerce_product_class', 'wpsaad_woocommerce_product_class', 10, 2 );
  
function wpsaad_woocommerce_product_class( $classname, $product_type ) {
    if ( $product_type == 'custom' ) {
        $classname = 'WC_Product_Custom';
    }
    return $classname;
}
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mohamed Saad

79405044

Date: 2025-02-01 13:25:55
Score: 1
Natty:
Report link

It is called type inference in the Dart language.

What’s happening here is that the analyzer can infer the type of the generic based on the parameter type.

You can find more examples and explanations about it here:
https://dart.dev/language/type-system#type-inference

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

79405043

Date: 2025-02-01 13:23:54
Score: 7 🚩
Natty:
Report link

I have exact the same problem. Any ideas?

Reasons:
  • Blacklisted phrase (1): Any ideas
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user29459194

79405042

Date: 2025-02-01 13:23:54
Score: 0.5
Natty:
Report link

You can easily do that in seconds by using this a WordPress Plugin called Custom Product Type for WooCommerce (Add-Ons, Data, Options, Booking, and Appointments).

Or by using this code:

// #1 Add New Product Type to Select Dropdown
  
add_filter( 'product_type_selector', 'wpsaad_add_custom_product_type' );
  
function wpsaad_add_custom_product_type( $types ){
    $types[ 'custom' ] = 'Custom product';
    return $types;
}
  
// --------------------------
// #2 Add New Product Type Class
  
add_action( 'init', 'wpsaad_create_custom_product_type' );
  
function wpsaad_create_custom_product_type(){
    class WC_Product_Custom extends WC_Product {
      public function get_type() {
         return 'custom';
      }
    }
}
  
// --------------------------
// #3 Load New Product Type Class
  
add_filter( 'woocommerce_product_class', 'wpsaad_woocommerce_product_class', 10, 2 );
  
function wpsaad_woocommerce_product_class( $classname, $product_type ) {
    if ( $product_type == 'custom' ) {
        $classname = 'WC_Product_Custom';
    }
    return $classname;
}
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mohamed Saad

79405039

Date: 2025-02-01 13:22:54
Score: 0.5
Natty:
Report link

You can easily do that in seconds by using this a WordPress Plugin called Custom Product Type for WooCommerce (Add-Ons, Data, Options, Booking, and Appointments).

Or by using this code:

// #1 Add New Product Type to Select Dropdown
  
add_filter( 'product_type_selector', 'wpsaad_add_custom_product_type' );
  
function wpsaad_add_custom_product_type( $types ){
    $types[ 'custom' ] = 'Custom product';
    return $types;
}
  
// --------------------------
// #2 Add New Product Type Class
  
add_action( 'init', 'wpsaad_create_custom_product_type' );
  
function wpsaad_create_custom_product_type(){
    class WC_Product_Custom extends WC_Product {
      public function get_type() {
         return 'custom';
      }
    }
}
  
// --------------------------
// #3 Load New Product Type Class
  
add_filter( 'woocommerce_product_class', 'wpsaad_woocommerce_product_class', 10, 2 );
  
function wpsaad_woocommerce_product_class( $classname, $product_type ) {
    if ( $product_type == 'custom' ) {
        $classname = 'WC_Product_Custom';
    }
    return $classname;
}
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mohamed Saad

79405037

Date: 2025-02-01 13:21:52
Score: 6 🚩
Natty: 6
Report link

What about using Fast Text Color plugin?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: G B

79405036

Date: 2025-02-01 13:21:52
Score: 0.5
Natty:
Report link

You can easily do that in seconds by using this a WordPress Plugin called Custom Product Type for WooCommerce (Add-Ons, Data, Options, Booking, and Appointments).

Or by using this code:

// #1 Add New Product Type to Select Dropdown
  
add_filter( 'product_type_selector', 'wpsaad_add_custom_product_type' );
  
function wpsaad_add_custom_product_type( $types ){
    $types[ 'custom' ] = 'Custom product';
    return $types;
}
  
// --------------------------
// #2 Add New Product Type Class
  
add_action( 'init', 'wpsaad_create_custom_product_type' );
  
function wpsaad_create_custom_product_type(){
    class WC_Product_Custom extends WC_Product {
      public function get_type() {
         return 'custom';
      }
    }
}
  
// --------------------------
// #3 Load New Product Type Class
  
add_filter( 'woocommerce_product_class', 'wpsaad_woocommerce_product_class', 10, 2 );
  
function wpsaad_woocommerce_product_class( $classname, $product_type ) {
    if ( $product_type == 'custom' ) {
        $classname = 'WC_Product_Custom';
    }
    return $classname;
}
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mohamed Saad

79405034

Date: 2025-02-01 13:20:52
Score: 2
Natty:
Report link

Also happend here, the instalation steps on the repo its clearly but doing fast we copy the line

apply from: file("../../node_modules/react-native-vector-icons/fonts.gradle")

two times. Just remove from the .../android/app/build.gradle (NOT android/build.gradle)

rsrsrs it works

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

79405032

Date: 2025-02-01 13:20:52
Score: 1
Natty:
Report link

Solution [program .csproj]:

<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <OutputType>WinExe</OutputType>
    <TargetFrameworks>net481;net9.0-windows</TargetFrameworks> 
    <UseWindowsForms>true</UseWindowsForms>
    <LangVersion>latest</LangVersion>
  </PropertyGroup>
  <ItemGroup>
    <ProjectReference Include="..\TestProjLib\TestProjLib.csproj" />
  </ItemGroup>
</Project>

... This theemes to work, more tests to do but for now I am very thankful.

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

79405022

Date: 2025-02-01 13:13:49
Score: 3.5
Natty:
Report link

Why do we use actual IP addresses rather than just 0.0.0.0 Serious answer as i don't know what worse happen could be

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Why do we use
  • Low reputation (1):
Posted by: Krushna Sakhare

79405009

Date: 2025-02-01 12:54:44
Score: 9 🚩
Natty: 6.5
Report link

Did you solve the problem? The same problem here

Reasons:
  • RegEx Blacklisted phrase (3): Did you solve the problem
  • RegEx Blacklisted phrase (1.5): solve the problem?
  • 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 solve the
  • Low reputation (1):
Posted by: Umidjon Musaev

79405003

Date: 2025-02-01 12:50:43
Score: 3.5
Natty:
Report link

Should i write this : '' stealth(driver, user_agent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36(KHTML, like Gecko) Chrome/83.0.4103.53 Safari/537.36', languages=["en-US", "en"], vendor="Google Inc.", platform="Win32", webgl_vendor="Intel Inc.", renderer="Intel Iris OpenGL Engine", fix_hairline=True, ) '' at the begining of my script if i dont pass the impreva test?

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

79405002

Date: 2025-02-01 12:50:43
Score: 1
Natty:
Report link

In my case, after going through the solution provided in https://stackoverflow.com/a/78723412/29458628 ; i was able to access swagger and /v3/api-docs with urls - http://localhost:8080/swagger-ui/index.html and http://localhost:8080/v3/api-docs

I use Springboot 3.3.8 / java 17

<dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-validation</artifactId>
        </dependency>
        
        <dependency>
            <groupId>org.springdoc</groupId>
            <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
            <version>2.6.0</version>
        </dependency>
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: satish

79404992

Date: 2025-02-01 12:45:42
Score: 1
Natty:
Report link

Done with a single list comprehension:

def cross3d(a, b): # 3d cross product 
   return [a[i-2]*b[i-1]-a[i-1]*b[i-2] 
            for i in range(3)]
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: user1504714

79404991

Date: 2025-02-01 12:44:41
Score: 1.5
Natty:
Report link
android:background="@android:color/transparent"

for Remove Background use this code in your tag

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

79404986

Date: 2025-02-01 12:42:40
Score: 5.5
Natty:
Report link

you can clone my sample enter link description here

enter image description here

Reasons:
  • Blacklisted phrase (0.5): enter link description here
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user22272826

79404985

Date: 2025-02-01 12:42:40
Score: 1.5
Natty:
Report link
<?php
date_default_timezone_set('Asia/Kolkata');
echo date('d-m-Y h:i:s a');
?>

Just set the default time zone to your Local time zone

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

79404978

Date: 2025-02-01 12:35:39
Score: 3
Natty:
Report link

Check the "Trust server certificate" and press the Connect button.

SSMS Login

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Muhammad HAMMAD ASGHAR

79404969

Date: 2025-02-01 12:26:37
Score: 0.5
Natty:
Report link

The error you're seeing suggests that there’s an issue with the package.json file of the texthub-broadcast package. Specifically, it seems like the entry point for the package (either the main, module, or exports field) is incorrectly specified or missing.

Here’s how you can resolve it:

1.Check the package.json file of texthub-broadcast: Look for the main, module, or exports field in its package.json. Ensure that these fields are pointing to the correct file that exports the necessary module.

2.Verify the file path: Make sure the file referenced in main, module, or exports actually exists in the package’s directory.

Reinstall dependencies: Sometimes, these errors can be caused by incomplete or corrupted package installations. Try deleting your node_modules folder and package-lock.json, then reinstall the dependencies:

4.Check for compatibility: If the package is outdated or not compatible with your current version of Node.js or other dependencies, consider updating it or using a compatible version.

5.Manually update the package.json: If you have access to the texthub-broadcast package’s source code, you can manually fix the entry points in the package.json file.

6.Use require or import directly: If all else fails and you can access the underlying file, you might be able to directly require or import the specific file instead of relying on the package entry point.

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

79404968

Date: 2025-02-01 12:25:37
Score: 0.5
Natty:
Report link
<?php

setlocale(LC_TIME, 'en_US.UTF-8'); // Ensure correct language format date_default_timezone_set('Asia/Kolkata'); // Set your timezone or you can remove this as well using here because of server time mismatch

$dateString = trim("Wednesday 15 January 2025, 02:11:05 PM"); $date = date_create_from_format("l d F Y, h:i:s A", $dateString);

echo "Formatted Date: " . date_format($date, "Y-m-d");
echo "<br>";
echo "Time: " . date_format($date, "h:i:s A");
echo "<br>";
echo "Day: " . date_format($date, "l");
echo "<br>";
echo "Date & Time : " . date_format($date, "Y-m-d h:i:s A");
echo "<br>";
echo "Date & Time & Day : " . date_format($date, "Y-m-d h:i:s A l");

?>

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

79404967

Date: 2025-02-01 12:25:37
Score: 3.5
Natty:
Report link

i'm trying to learn python ,they recommanded me anaconda, i installed it but jupyter note or lab asked for password and they didn't even launch properly from anaconda to open the browser ,i had to open it manualy and bam , a password, help me guys

Reasons:
  • Blacklisted phrase (1): help me
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: fayçal ameur

79404963

Date: 2025-02-01 12:22:36
Score: 1.5
Natty:
Report link

I had this issue recently while using Webpack. After inspecting the desktop.ini file I realized that the issue was with one of my image file names. The name had some special characters and that's why Windows created that "desktop.ini" file. In my case, I did not need that image file so I removed it. Inspect your .ini file and you will find some clues.

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

79404960

Date: 2025-02-01 12:20:36
Score: 3
Natty:
Report link

x = [1,2,3,4,5,6,7,8,9]

n = 3

zip(*[iter(x)] * n)

Почему прямо не сказать, без всяких "посмотрите как работает" и пр. Итератор берет коллекцию х и разбивает ее на список кортежей , в данном случае, 3 элемента, Итог [(1,2,3),(4,5,6),(7,8,9)]

если размер списка len(x)%3!=0 тогда , пример

x = [1,2,3,4,5,6,7,8]

zip(*[iter(x)] * 3) -> [(1,2,3),(4,5,6)]

если n больше чем длина списка

n = 10

x = [1,2,3,4,5,6,7,8,9]

zip(*[iter(x)] * 3) -> []

Reasons:
  • No code block (0.5):
  • No latin characters (1.5):
  • Low reputation (1):
Posted by: George61

79404951

Date: 2025-02-01 12:08:34
Score: 0.5
Natty:
Report link

Your code looks mostly correct, but there are a few things to check:

1. Selector Issue

Your new Glide('glide', {...}) is incorrect. Glide.js expects a class selector (.glide), but your code is passing 'glide', which Glide will interpret as an ID (#glide).

Change this line:

new Glide('glide', { ... })

to:

new Glide('.glide', {
  type: 'carousel',
  startAt: 0,
  autoplay: 4000,
  rewind: true,
  focusAt: 'center',
  perView: 1
}).mount();

Notice the .glide selector and the missing .mount() call, which is required to initialize Glide.


2. Ensure Glide.js is Loaded

Open your browser console (F12 > Console) and check for errors. Also, test if Glide is actually available by running:

console.log(typeof Glide);

If it returns "undefined", your script is not loading properly.


3. Check Dependencies

Make sure your file paths are correct. Open these links in a new tab:

If they don’t load, the issue is with your WPCode setup.


4. Ensure JS Runs After DOM Load

Try wrapping your script in DOMContentLoaded to ensure it initializes after the page loads:

document.addEventListener("DOMContentLoaded", function () {
  new Glide('.glide', {
    type: 'carousel',
    startAt: 0,
    autoplay: 4000,
    rewind: true,
    focusAt: 'center',
    perView: 1
  }).mount();
});

5. Try a CDN Version

To rule out file path issues, use a CDN version of Glide.js:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@glidejs/glide/dist/css/glide.core.min.css" />
<script src="https://cdn.jsdelivr.net/npm/@glidejs/glide"></script>

If this works, then your WPCode setup might be incorrect.


Next Steps

  1. Check for console errors (F12 > Console).
  2. Manually call Glide.mount() in the console.
  3. Test with the CDN version.

Let me know if you still have issues! 🚀

Reasons:
  • Blacklisted phrase (1): these links
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Maxwell

79404933

Date: 2025-02-01 12:01:32
Score: 0.5
Natty:
Report link

got the solution now. Sharing for anyone who might get benefit of the approach. Thanks

{ "rules": { ".read": false, // disables general read access ".write": false, // disables general write access

"Users": {
  ".read": "auth != null", // Users can read all profiles
  
  "$userUid": {
    ".write": "auth != null && auth.uid === $userUid", // Users can write only their own data
    
    ".validate": "newData.child('userUid').val() === auth.uid && 
          
          (!newData.child('userID').exists() || newData.child('userID').isNumber()) &&
          (!newData.child('userName').exists() || 
           (newData.child('userName').isString() && newData.child('userName').val().length > 0)) &&
          (!newData.child('userFCMToken').exists() || 
           (newData.child('userFCMToken').isString() && newData.child('userFCMToken').val().length > 0)) &&
          (!newData.child('userPhoneLanguage').exists() || newData.child('userPhoneLanguage').isString()) &&

          (!newData.child('userProfileImage').exists() || 
           (newData.child('userProfileImage').isString() && 
            newData.child('userProfileImage').val().matches(/^https:\\/\\/xxxx\\//))) &&

          (!newData.child('userBusiness1Id').exists() || newData.child('userBusiness1Id').isNumber()) &&
          (!newData.child('userBusiness1Name').exists() || 
           (newData.child('userBusiness1Name').isString() && newData.child('userBusiness1Name').val().length > 0)) &&
          (!newData.child('userBusiness1ProfileImage').exists() || 
           (newData.child('userBusiness1ProfileImage').isString() && 
            newData.child('userBusiness1ProfileImage').val().matches(/^https:\\/\\/xxx\\//))) &&

          (!newData.child('userBusiness2Id').exists() || newData.child('userBusiness2Id').isNumber()) &&
          (!newData.child('userBusiness2Name').exists() || 
           (newData.child('userBusiness2Name').isString() && newData.child('userBusiness2Name').val().length > 0)) &&
          (!newData.child('userBusiness2ProfileImage').exists() || 
           (newData.child('userBusiness2ProfileImage').isString() && 
            newData.child('userBusiness2ProfileImage').val().matches(/^https:\\/\\/xxxx\\//)))"
  }
},
    "User-Messages": {
  "$userId": {
    ".read": "auth != null && (
      auth.uid === $userId || 
      auth.uid + '_' + root.child('Users').child(auth.uid).child('userBusiness1Id').val() === $userId ||
      auth.uid + '_' + root.child('Users').child(auth.uid).child('userBusiness2Id').val() === $userId
    )",
    "$recipientId": {
      ".write": "auth != null && (
        auth.uid === $userId || // Sender can write to their own path
        auth.uid === $recipientId || // Sender can write to the recipient's path
        $recipientId === auth.uid + '_' + root.child('Users').child(auth.uid).child('userBusiness1Id').val() ||  // When sender is business1, sender can write to user's path
        $recipientId === auth.uid + '_' + root.child('Users').child(auth.uid).child('userBusiness2Id').val() ||  // When sender is business2, sender can write to user's path
        auth.uid + '_' + root.child('Users').child(auth.uid).child('userBusiness1Id').val() === $userId || // Business1 sender
        auth.uid + '_' + root.child('Users').child(auth.uid).child('userBusiness2Id').val() === $userId // Business2 sender
      )",
    "$messageId": {
        ".validate": "newData.child('chatId').exists() && newData.child('chatId').isString() && newData.child('chatId').val().length > 0 &&
                      newData.child('fromId').exists() && newData.child('fromId').isString() && newData.child('fromId').val().length > 0 &&
                      newData.child('toId').exists() && newData.child('toId').isString() && newData.child('toId').val().length > 0 &&
                      newData.child('timestamp').exists() && newData.child('timestamp').isNumber() && newData.child('timestamp').val() > 0 &&
                      newData.child('text').exists() && newData.child('text').isString() && 
                      newData.child('text').val().length > 0 &&
                      newData.child('messageIsRead').exists() && newData.child('messageIsRead').isBoolean() &&
                      (!newData.child('membershipRequest').exists() || (newData.child('membershipRequest').isString()))"
      }
    }
  }
},
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: S.S.S

79404932

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

Figured it out. Have to use InstanceType

listingAddInfoStore = input.required<InstanceType<typeof ListingAddInfoStore>>();

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

79404931

Date: 2025-02-01 11:59:32
Score: 1
Natty:
Report link

You can set parsing_processes from airflow > 2.0.0

# The scheduler can run multiple processes in parallel to parse dags.
# This defines how many processes will run.
#
# Variable: AIRFLOW__SCHEDULER__PARSING_PROCESSES
#
parsing_processes = 2

Source: https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#max-threads-deprecated

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

79404924

Date: 2025-02-01 11:56:31
Score: 3.5
Natty:
Report link

Just in case anyone comes across this. I was having the same problem. Because I'm new to it, I thought that I had to create the repository in GitHub first, and then match that name in Xcode when it asked for a repository name. So I'd created a repository called "smallnumber" in GitHub and then went to Xcode and when it asked for a repository name i typed in "smallnumber" and got the unknown error. Turns out, this was happening because that name was already taken, because I'd already created it in GitHub. When I used an entirely new name in Xcode for a repository that didn't exist yet, Xcode created the repository in GitHub automatically and pushed the project out.

Reasons:
  • RegEx Blacklisted phrase (1.5): I'm new
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ashley Hall

79404916

Date: 2025-02-01 11:51:30
Score: 5.5
Natty:
Report link

I am having troubles with this issue as well. Hope for some answer soon <||>

Reasons:
  • RegEx Blacklisted phrase (2): I am having trouble
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: yair yatzkan

79404913

Date: 2025-02-01 11:47:29
Score: 1
Natty:
Report link

You can call this "Dynamic SQL using String Concatenation." It’s not SQL Injection in the malicious sense, but security teams might still flag it.

To avoid concerns:

Check if DB2 allows parameterization differently. Validate and whitelist inputs to prevent risks. Use stored procedures if possible for better security. It’s safe if controlled, but still worth explaining properly to your security team.

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

79404908

Date: 2025-02-01 11:46:29
Score: 3.5
Natty:
Report link

It was related to my code. Thanks to @Azeem for his responses :)

The problem was that GitHub Action uses ":" as PATH_SEPARATOR and I was only handling "/".

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @Azeem
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Ugo Brocard

79404901

Date: 2025-02-01 11:41:27
Score: 1
Natty:
Report link

Not directly related, but worth noting:

simply editing the formlua field to =TRUE locks the checkbox to true
(or false if =FALSE ofc)

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

79404899

Date: 2025-02-01 11:41:27
Score: 2
Natty:
Report link

This is definitely a quota issue that can be resolved by deploying to another region or raising a support request to Azure for further support if you insist on deploying to said region

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

79404898

Date: 2025-02-01 11:40:27
Score: 5
Natty: 5
Report link

Do these commands for playing custom ringtones with CallKit still work in iOS 18? Could you possibly share more code that you used back then?

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

79404897

Date: 2025-02-01 11:38:25
Score: 4
Natty: 4.5
Report link

I have created a webforms project. Somehow I have lost Design View - I had it to begin with but now when I open a web form the design button is visible but I can see a list of html tags along the bottom and can't get into the drag and drop designer I am accustomed to using. Is there a simple way to restore the design view?

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

79404894

Date: 2025-02-01 11:37:25
Score: 1.5
Natty:
Report link

@BraveEvidence

I tried to make the same project as you did - previously my plan was to make an macOS app with included C++ OpenCV. TL;DR: ended up with the exact same results as you did. Tried homebrew's version, building from source - both failed.

However I've found such a solution, which works for me: https://github.com/yeatse/opencv-spm

It it basically swift-dependency package with openCV. So far, it looks good for me.

Reasons:
  • Whitelisted phrase (-1): works for me
  • No code block (0.5):
  • User mentioned (1): @BraveEvidence
  • Low reputation (1):
Posted by: Gromp1k

79404884

Date: 2025-02-01 11:29:23
Score: 2.5
Natty:
Report link

Here is the guide on swift.org

https://www.swift.org/install/macos/package_installer/

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

79404877

Date: 2025-02-01 11:26:22
Score: 7.5 🚩
Natty: 4.5
Report link

I have a similar question。Any body helps me! Thank a lot https://stackoverflow.com/staging-ground/79404843

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have a similar question
  • Low reputation (1):
Posted by: Garfieldmao

79404874

Date: 2025-02-01 11:24:21
Score: 5.5
Natty:
Report link

i try to use the solution.

I always get an Excpetion on

byte [] fileBytes = new byte[ms.Length];

because ms is null.

any ideas ?

Reasons:
  • Blacklisted phrase (1): any ideas
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: MartinW

79404871

Date: 2025-02-01 11:21:20
Score: 1.5
Natty:
Report link

I have replaced [email protected] to [email protected], and solved the problem.

yarn remove redux-thunk
yarn add [email protected]
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user1276700

79404867

Date: 2025-02-01 11:18:19
Score: 2.5
Natty:
Report link

Had a similar problem. The issue was that I monkey patched too late. The monkey patch should be the very first thing you do (before importing requests)

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

79404866

Date: 2025-02-01 11:16:18
Score: 1
Natty:
Report link

if im put my route in onPressed they redirect me to '/home' in my ShellRoute (how they work, why they dont work like previous, idk.) its work thats all i need now. the part

onPressed: () {
            GoRouter.of(context).go('/home');
            //_onNextPressed();
          },

the Main.dart :

GoRouter router = GoRouter(
  initialLocation: isLanguageSet
      ? '/home'
      : '/firstPage',
  routes: [
    GoRoute(
      path: '/firstPage',
      builder: (context, state) => FirstPage(),
    ),
    ShellRoute(
      navigatorKey: GlobalKey<NavigatorState>(),
      builder: (context, state, child) {
        debugPrint("Building ShellRoute with path: ${state.uri}");
        int index = getIndexFromPath(state.uri.path);
        return CurveBar(initialIndex: index);
      },
      routes: [
        GoRoute(
          path: '/home',
          builder: (context, state) => HomePage(),
        ),
Reasons:
  • Blacklisted phrase (0.5): i need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: LordeW

79404858

Date: 2025-02-01 11:12:18
Score: 2.5
Natty:
Report link

Puns engage both sides of the brain, making them a workout for your wit. They challenge us to think differently about language, leading to that satisfying “aha” moment. Whether simple or complex, a pun proves that words can be both smart and silly at the same time. Try exploring Puns from https://punzify.com/

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

79404855

Date: 2025-02-01 11:11:18
Score: 3
Natty:
Report link

This question was been asked long time already but this might help what you are trying to accomplish. Hope this helps.

https://www.dropbox.com/scl/fi/1rropsgkwzl5tnlqfvgw6/Find_Replace_Multi_Text.zip?rlkey=yriw8a4t7xbhpsk4ck80k2izj&st=2cpn9wxh&dl=0

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Mel Arquiza

79404853

Date: 2025-02-01 11:10:17
Score: 2.5
Natty:
Report link
implementation "com.github.warkiz:IndicatorSeekBar:v2.0.9"

newer updated version

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

79404850

Date: 2025-02-01 11:08:16
Score: 4
Natty:
Report link

check out the following video for good clock hands and rotation https://youtu.be/qoW8-D7Vcu0

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sultan

79404847

Date: 2025-02-01 11:06:15
Score: 1
Natty:
Report link

It's a bit tricky to use SQLite in Lambda servers. However, @Kamyar Safari is not wrong and he is correct(almost) that the SQLite database is not permanent but it is not the only factor here. I recommend considering other alternatives like MySql/Postgres or ... that are available permanently on another server. Why you can not use it like this:

  1. Lambda servers are TEMPORARY by default and will be destroyed after a time.
  2. Because of lambda concurrency (having multiple servers) you will get inconsistent data and not see the same result for all users.
  3. If you keep the functions reserved then as your database gets bigger your functions get slower and it's more expensive.

What are the solutions?

  1. The easiest is to use the vapor default options like mysql.
  2. Use SQLite with an EFS that mounts permanent storage to your lambda servers
  3. (Highly discourage this one) Using reserved concurrency feature of Lambda functions.

Cons for each one:

For number one 1 can't think anything except changing your configuration.

For the second solution, you to have a good knowledge of AWS. Use these docs for help

The last solution will not solve anything perfectly and It's just for you to experiment with the default configuration. Data still is inconsistent and if you decrease the reserved functions then you lose the data. And also more expensive because the lambda will not be destroyed(this feature is for high-traffic sites, not this issue)

https://docs.aws.amazon.com/lambda/latest/dg/configuration-concurrency.html

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Kamyar
Posted by: TEFO

79404846

Date: 2025-02-01 11:04:15
Score: 0.5
Natty:
Report link

Ok, I have found a workaround. Answering here, to add the code I updated. I am not using the style attribute anymore, I am just adding a class if I need to hide a specific tab.

$tab_main = $_GET['tab'] === 'tab_main' ? '' : 'team-hide';
$tab_dest = $_GET['tab'] === 'tab_destination' ? '' : 'team-hide';
add_settings_section(
    'team_section_main',
    '',
    '',
    'team_searchbox',
    array(
        'before_section' => '<div class="tab-content '.$tab_main.'">',
        'after_section' => '</div>'
    )
);
add_settings_section(
    'team_section_destination',
    '',
    '',
    'team_searchbox',
    array(
        'before_section' => '<div class="tab-content '.$tab_dest.'">',
        'after_section' => '</div>'
    )
);

And then just using css on the team-hide class. This does the trick.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: udarts

79404845

Date: 2025-02-01 11:04:15
Score: 1.5
Natty:
Report link

if you aren't using a custom user model, you can add this to your settings.py

DJOSER = {
'LOGIN_FIELD': 'email',
'USER_ID_FIELD':'username'}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ajiri rkari iyelobu

79404842

Date: 2025-02-01 11:03:14
Score: 1.5
Natty:
Report link

For windows:

Check you have installed latest version of chrome browser

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

79404840

Date: 2025-02-01 11:01:13
Score: 4
Natty:
Report link

Download the file from the link

https://github.com/shentao/vue-multiselect/blob/19276edf5283b25c9e847c9552fe29ff5bdbd98e/dist/vue-multiselect.min.css

Save the file in public/assets/css (as per your wish)

import in your component like this

@import '../../../../public/assets/css/vue-multiselect.min.css'; (as per saved path)
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @import
  • Low reputation (1):
Posted by: Naveenraj

79404837

Date: 2025-02-01 10:59:13
Score: 2
Natty:
Report link

Actually the problem in my case is the location of the sever from where the api request is coming, because the server allow only certain countries to allow communication and send response. In localhost condition the request is coming from same country but when the api is directed through server the location of server changed to different country due to which it stop the api request with 403 error.

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

79404834

Date: 2025-02-01 10:58:13
Score: 2.5
Natty:
Report link

At last it was implemented in this PR.

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

79404821

Date: 2025-02-01 10:51:11
Score: 2.5
Natty:
Report link

just change @vite("resources/js/app.js", "resources/css/custom.css") to @vite(["resources/js/app.js", "resources/css/custom.css"]) and run "npm run build" and it becomes fine

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

79404814

Date: 2025-02-01 10:46:09
Score: 4
Natty: 7.5
Report link

you cant. Even if you wanted to you would not be able to

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

79404803

Date: 2025-02-01 10:39:07
Score: 2.5
Natty:
Report link

کییو پریشر (Accupressure ) صدیوں سے آزمودہ ایک منفرد (Unique )عالمگیر (Universal) مکمل جدید سائنسی تحقیقات اور عملی تجربات کے ساتھ 300 بیماریوں کا بغیر روا بغیر کسی ٹیسٹ ہر طرح کے ضمنی اثرات (Side effects ) سے پاک ایک ایسا قدرتی طریقہ علاج حے جس کے جادوی نتائج (Magical results) آپکو یقینن حیرت میں ڈال دینگے ۔مالیج بغیر مریض کے بتلاے چند لمحوں میں 100% درست تشخیص کر لیتا ہے ۔جو مریض اور اس کے ورثہ کے لے ایک نی تقویت عراری (Willpower )اور مرز سے نیجاد کی کسی نوید سے کم نہیں ہؤتا۔
۔خاص خوبی پوشیدہ امراض مردانہ و زنانہ اولاد کی خوہیش قدرت کی عطا سے پوری کرنے کی بھرپور صلاحیت رکھتا ہے ۔

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • No latin characters (1.5):
  • Low reputation (1):
Posted by: Haseen Arts

79404801

Date: 2025-02-01 10:39:07
Score: 1
Natty:
Report link

A workaround that's not yet listed here is OnTouchListener:

(Kotlin)

spinner.setOnTouchListener { _, event ->
    if(event.action == MotionEvent.ACTION_DOWN) {
        doSomething()
    }
    true //consume event
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Michael Schär

79404800

Date: 2025-02-01 10:39:07
Score: 0.5
Natty:
Report link

Assuming it is flink batch processing. Check the size of the input and how the operator chained. Batch job stores intermediate state in the /tmp. Once the job is completed, Flink cleans up the blob.

There are Two types of blobs:

  1. Transient blobs: Temporary files (cleaned up after last access)
  2. Permanent blobs: Job-related files (cleaned up after job completion)

blob.service.cleanup.interval: 3600 ( by default 1hr )

In your case try to reduce it since the job completes within 5 min.

https://nightlies.apache.org/flink/flink-docs-release-1.4/ops/config.html

Reasons:
  • Whitelisted phrase (-1): In your case
  • No code block (0.5):
  • Low reputation (1):
Posted by: Vishva Mahadevan

79404795

Date: 2025-02-01 10:37:07
Score: 3
Natty:
Report link

Purpose of Gantt chart is to help you have a bird eye view over your project including both scheduled (future) and completed (past) tasks.

You should display a task’s estimated duration as bars and you can regularly update estimates to match your actual effort in order to display completed tasks aligned with their actual completion duration.

In your example, if your initial estimate is 3 weeks for a future task, show it as 3 weeks; if you completed this task in 8 days, make sure you display it as 8 days.

This suggestion may not fit to your situation if you need to continuously adjust your planned tasks. For example, after completing your current task in 8 days, do you want to immediately start with the next task or stick with your initial plan?

Let me know if you’d like to brainstorm together on a specific example.

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

79404790

Date: 2025-02-01 10:36:07
Score: 0.5
Natty:
Report link

Yes we can execute a single test by following below mentioned steps:

  1. Build your dontnet project dontnet build

  2. List the test using dotnet test --list-tests so we can listdown the test in the desired format to execute it dotnet test --list-tests

    as response we got scenario like

Successfulloginwithvalidcredentials("user1","pass123")

  1. now pass the response in test runner command and ensuring each " is escaped with """ and each () is escaped with \ like :

vstest.console.exe <your-dll-path>/TestCaseFilter:"FullyQualifiedName~Successfulloginwithvalidcredentials/("""user1""","""pass123"""/)

NOTE : The above example execute on windows machine

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

79404787

Date: 2025-02-01 10:31:06
Score: 1
Natty:
Report link

How to open React Native Devtools Locally ? Here are the steps to open React Native DevTools:

  1. Start your project with the command npx expo start in your terminal.
  2. Press the j key in the terminal to open the debugger in Google Chrome or Microsoft Edge.
  3. Alternatively, If using development builds or Expo Go, Shake the device and press the “Open JS Debugger” option in the developer menu.
  4. Make sure your app is connected to the development server and try reloading the app if you encounter issues.

How to open React Native Devtools through tunneling ?

To More About Tunneling in Expo React Native Visit: https://medium.com/@chitranjankumargupta/expo-tunnel-88b555436f26

Method 1

To start React Native DevTools through tunneling, follow these steps:

  1. Download the chrome extension zip from https://github.com/chitranjan-gupta/expo-react-native-devtools
  2. Extract it and Open Chrome Based Browser and navigate to chrome://extensions
  3. Enable Developer Mode and then click on Load Unpacked and choose the location where you have extracted the extension
  4. After Installing the extension. Go to your expo project and start your project with the command npx expo start — tunnel — go.
  5. You should start with — go mode because websocket tunneling does not work through https therefore — go start on http
  6. Suppose your tunnel url http://jk9w8fg-anonymous-8081.exp.direct.
  7. Click on the Icon of Expo React Native Devtools Extension and paste http://jk9w8fg-anonymous-8081.exp.direct and Click on Open Expo React Native Devtool It will open a window or tab with React Native Devtool

To Know More https://medium.com/@chitranjankumargupta/expo-react-native-devtools-debugging-41eda7cf8031

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How to
  • Low reputation (1):
Posted by: Chitranjan Kumar Gupta

79404785

Date: 2025-02-01 10:27:05
Score: 2.5
Natty:
Report link

From version 1.10 of androidx.activity:

val activity = LocalActivity.current

Android Activity Release Note

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

79404768

Date: 2025-02-01 10:03:01
Score: 2
Natty:
Report link

I've tried to understand your question as best I can. First of all, understand how your actions (such as clicking or the back button of your system) affect the life cycle of your Activity/Fragment. RememberSaveable characters follow the life cycle of your component. Try printing logs under ProFileScreen to see if there are any examples of recreations, and I recommend using vIewmodel to save state, even if your page is destroyed vIewmodel will still save state

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

79404762

Date: 2025-02-01 09:59:00
Score: 3
Natty:
Report link

same here all other models work properly

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Varitas Maladoy

79404755

Date: 2025-02-01 09:55:59
Score: 1
Natty:
Report link
ChromeOptions options = new ChromeOptions();
options.addArguments("--incognito");

Selenide.webdriver().driver()
.config()
.browserCapabilities()
.setCapability(ChromeOptions.CAPABILITY, options);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Fill

79404750

Date: 2025-02-01 09:53:59
Score: 3.5
Natty:
Report link

downgrade to version 7.0.8. It will work!

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