79115706

Date: 2024-10-22 20:58:29
Score: 1.5
Natty:
Report link

I had a similar update, though mine was to .NET 6. I received the same exception as the OP above. My fix was to update the NuGet Package Oracle.EntityFrameworkCore to version 6.21.160.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Crazy Cat

79115691

Date: 2024-10-22 20:53:27
Score: 3.5
Natty:
Report link

Kevin Lu-MSFT's answer resolves this. We can use a configuration file to exclude files and directories from the scan.

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

79115688

Date: 2024-10-22 20:51:27
Score: 2
Natty:
Report link

I am using MUI 6.1.5 and onBlur will go off only if I click outside the input field, in this case the TextField. There is still no support for any onFocusOut that still supported for html. I am still looking for someway to move the mouse out of the input box and have the callback go off so I can validate the value of the inputted range. So onBlur really doesn't work well for me.

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

79115684

Date: 2024-10-22 20:47:26
Score: 4
Natty:
Report link

Easy option is to launch Xcode and download the new simulator.

For other options see:

https://developer.apple.com/documentation/xcode/installing-additional-simulator-runtimes

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

79115677

Date: 2024-10-22 20:44:25
Score: 5
Natty:
Report link

What's about your terminal(system) encoding?

enter image description here

This mean your .py file in utf encoding.

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What's
  • Low reputation (1):
Posted by: Inbasu

79115676

Date: 2024-10-22 20:44:25
Score: 3.5
Natty:
Report link

Works perfectlty better than GPT proposal many thanks

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Antoine Carimalo

79115672

Date: 2024-10-22 20:43:25
Score: 2
Natty:
Report link

I believe you missed my point. I am creating a circular mask in canvas, hence the snippet:

I'm not following rect(x-15, y+15, textLength, 30). I don't have such a function and wanting to use and offset determine from my mouse up event, not some fixed value.

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

79115663

Date: 2024-10-22 20:39:24
Score: 1
Natty:
Report link

It appears the answer is "yes". BLE throttling can occur for a variety of reasons and throttling control is not accessible through the Android WearOS or Apple WatchOS APIs. Quoting this research paper:

"The data packet loss in the wearable healthcare ecosystem is complicated by the following factors. First, a larger packet size is preferred in the wearable healthcare ecosystem. Typical Bluetooth 4.0 only supports 23-byte data packet transmission. However, in the case of Body Sensor Networks (BSN), where multiple wearable devices are involved in the ecosystem, the combined data are streamed with larger packet sizes, up to 255 bytes [ 13, 14]. Second, the BLE chipsets and operating systems (OS) are very diverse in the wearable healthcare ecosystem, especially considering that off-the-shelf smartphones (Android, iPhone) or Raspberry Pi are often used as the hubs [8 , 15, 16 ]. Third, the optimized factors associated with packet transmission between peripheral wearable devices and central host vary among BLEs from different Original Equipment Manufacturers (OEM). These factors include connection parameters, signal strength, external signal interference, and data corruption [17 ]. For example, iOS has a set of defined values for connection parameters to the device developers and limits the maximum transmission unit (MTU) size [ 18]. Android, on the other hand, allows application developers to set the required MTU size. Finally, the interaction between the BLE chipset drivers and the custom application in a host could also cause data packet loss. Most modern operating systems use a Hardware Abstraction Layer (HAL) to abstract internal hardware drivers and parameters from the external application [ 19, 20 ]. The developer invokes a standard function to request a BLE-specific task and provides a callback handle, which is then invoked back by the OS when the internal drivers complete the requested action. The number of functions exposed by this interface is limited to the most critical operations. It is also possible for the packet to be delivered to the underlying hardware chipset but not passed from the chipset to the requesting application function due to other high-priority tasks running simultaneously on the host. Eventually, the chipset might start dropping packets due to scheduling and priority conflicts. These complex nuances make developing a robust BLE-based data transmission scheme between the wearable peripheral and the host very difficult."

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

79115653

Date: 2024-10-22 20:37:23
Score: 3
Natty:
Report link

Fixed by passing in the change like this:

await wrapped({ data: change });

See

data and params in onDocumentCreated Firebase function are undefined when called from firebase-functions-test

and

https://github.com/firebase/firebase-functions-test/issues/205#issuecomment-1855885136

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

79115652

Date: 2024-10-22 20:36:23
Score: 0.5
Natty:
Report link

The most likely place for checking which wrist a device is on would be Health Services, however it seems the API doesn't expose any data on which wrist the user is wearing the device. I'd suggest asking your user this and saving it as an app setting.

You can, however, get info about physical buttons on a WearOS device using the Wear Input library, where getLocationZone() will tell you where on a device a given button is located.

Note that this will have to be done dynamically by your app whenever you need to do something with a button location - Unlike the Apple Watch, every WearOS device has different locations and even amounts of buttons and you can't guarantee that a user will use the same watch with your app every time.

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

79115650

Date: 2024-10-22 20:35:23
Score: 2.5
Natty:
Report link

You are not doing anything wrong.

It's a scaling problem when you have a lot of ticks on the X-axis. You can see the difference if you will change the view size from 700x500 to 1000x500.

view1000x500

Similar request was already made and it has open status: github.com/swimlane/ngx-charts/issues/1472

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

79115643

Date: 2024-10-22 20:31:22
Score: 1
Natty:
Report link

Detecting should be the same as you already have. As far as I can tell, there are not online "installers" you can bundle in your application, but there are some pretty straightforward online install options.

With internet access, you can either have your installer run a winget command, or embed the dotnet-install powershell script into your installer and have it run that. Both of those should achieve an online install without packaging a bulky installer.

These options are explained and the script download is available at https://dotnet.microsoft.com/en-us/download/dotnet/6.0 for net 6.

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

79115638

Date: 2024-10-22 20:28:21
Score: 1
Natty:
Report link

October 2024, This line fixed it:

export NODE_OPTIONS="--max-old-space-size=6144"

Just add this line to terminal, and if you got the same error replace 6144 with one of these options:

#increase to 7gb => 7168

#increase to 8gb => 8192

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

79115618

Date: 2024-10-22 20:19:19
Score: 4
Natty:
Report link

Request failed code500 wat prblm

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

79115613

Date: 2024-10-22 20:18:19
Score: 1
Natty:
Report link

In my case I suddenly got this error because my server reached configured timeout (in days) set in EASYRSA_CERT_EXPIRE within vars file.

I had to create a brand new pki.

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

79115610

Date: 2024-10-22 20:17:18
Score: 1.5
Natty:
Report link

I've created a few scripts for this purpose:

https://github.com/kevin-bridges/WindowsPowerShell/tree/master/Scripts/certificates

take a look and see if they'd work for you. You can use get-help on each of them to check the usage details.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Kevin Bridges

79115607

Date: 2024-10-22 20:16:18
Score: 1.5
Natty:
Report link

use npx expo prebuild to generate android folder go inside that folder and run:

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

79115596

Date: 2024-10-22 20:14:17
Score: 1
Natty:
Report link

But session was interrupted

That means the script received SIGHUP and terminated. The script is no longer running.

What can I do to enter into the "script" to see the string/logs which it produces?

Not possible, the terminal was disconnected and closed. When the script tries to write the output, it will receive a SIGPIPE and python will throw exception and terminate.

Reasons:
  • Blacklisted phrase (1): can I do
  • Blacklisted phrase (1): What can I do
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-2):
Posted by: KamilCuk

79115591

Date: 2024-10-22 20:12:16
Score: 0.5
Natty:
Report link

The /bin directory is in the compiled product, which you can download from releases: https://github.com/wso2/product-apim/releases/tag/v4.3.0

In the source code, there is no /bin directory.

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

79115589

Date: 2024-10-22 20:11:16
Score: 1.5
Natty:
Report link

For those using node you can do customers.retrieve('customerIdHere', {expand:['subscriptions']}) that's what worked for me

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

79115576

Date: 2024-10-22 20:07:15
Score: 2.5
Natty:
Report link

It is a bug in the new Windows 11 Terminal. It does not occur in old Windows 10. If your version of Terminal is not fully compatible with Powershell 5.1, you can work around the issue by switching back to the old Powershell console.

https://support.microsoft.com/en-us/windows/command-prompt-and-windows-powershell-for-windows-11-6453ce98-da91-476f-8651-5c14d5777c20

describes the process to do so.

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

79115574

Date: 2024-10-22 20:07:15
Score: 1
Natty:
Report link

I appreciate you all let me know how to do it. I tried to 3 different way into 1 code, which are value, pointer and reference. Probably still I don't understand them and it's need to be correction in my code, however the compile is pass and I can see what I want to see in the console, so I am grad to it!

//   g++ -o rps.exe rps.cpp

#include <iostream>
#include <random>

int random(int const low, int const high)
{
    static std::mt19937 mt{ std::random_device{}() };
    static std::uniform_int_distribution<int> random_number;
    using param_type = std::uniform_int_distribution<int>::param_type;
    return random_number(mt, param_type{ low, high });
}

class User
{
    public :
        User(){};  //constructor

        int hand;
        void setHand()
        {
            std::cout << "What you choose? (ROCK = 1, SCISSORS = 2, PAPER = 3) := ";
            std::cin>> hand;
        }
};

class Computer
{
    public :
        Computer(){}; //constructor

        int hand;
        void setHand()
        {
            hand = random(1, 3);
            std::cout << "Computer choose := " << hand << std::endl;
        }
};

class Judge_R   //By Reference
{
    public :
        User& user_R;
            Computer& computer_R;

            Judge_R(User& user_R, Computer& computer_R) : user_R(user_R), computer_R(computer_R) {};
        
        void doJudge()
        {
            std::cout << "User CHOSE hand in class Judge_R := " << user_R.hand << std::endl;
            std::cout << "Computer CHOSE hand in class Judge_R := " << computer_R.hand << std::endl;
        }
};

class Judge_P   //By Pointer
{
    public :
        User* user_P;
            Computer* computer_P;
        
            Judge_P(User* user_P, Computer* computer_P) : user_P(user_P), computer_P(computer_P) {};
        
        void doJudge()
        {
            std::cout << "User CHOSE hand in class Judge_P := " << user_P->hand << std::endl;
            std::cout << "Computer CHOSE hand in class Judge_P := " << computer_P->hand << std::endl;

        }
};

class Judge_V   //By Value
{
    public :
        void doJudge(int const user_hand, int const computer_hand)
        {
            std::cout << "User CHOSE hand in class Judge_V := " << user_hand << std::endl;
            std::cout << "Computer CHOSE hand in class Judge_V := " << computer_hand << std::endl;
        }
};

int main()
{
    User user;
    user.setHand();
    //std::cout << " user.hand in main() := " << user.hand << std::endl;

    Computer computer;
    computer.setHand();
    //std::cout << " computer.hand in main() := " << computer.hand << std::endl;

    //By Reference
    Judge_R judge_R(user, computer);
    judge_R.doJudge();
    
    //By Pointer
    Judge_P judge_P(&user, &computer);
    judge_P.doJudge();
    
    //By value
    Judge_V judge_V;
    judge_V.doJudge(user.hand, computer.hand);
}

C:\RPS>g++ -o rps.exe rps.cpp

C:\RPS>rps.exe
What you choose? (ROCK = 1, SCISSORS = 2, PAPER = 3) := 1
Computer choose := 2
User CHOSE hand in class Judge_R := 1
Computer CHOSE hand in class Judge_R := 2
User CHOSE hand in class Judge_P := 1
Computer CHOSE hand in class Judge_P := 2
User CHOSE hand in class Judge_V := 1
Computer CHOSE hand in class Judge_V := 2
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Yuki Matuzaki

79115573

Date: 2024-10-22 20:06:14
Score: 5.5
Natty: 5.5
Report link

Is possible to add strict csp or nonce header in ssg build which means static generated ?

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

79115571

Date: 2024-10-22 20:05:14
Score: 1
Natty:
Report link

I had the same issue. Both position and size were incorrect in Safari. I ended up using the position: fixed trick that @sertal70 posted to get the positioning correct + javascript to scale it correctly.

The js had to be safari only as the video inside of the foreignobject worked in chrome just fine

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @sertal70
  • Low reputation (1):
Posted by: Zack Pyle

79115561

Date: 2024-10-22 19:59:12
Score: 0.5
Natty:
Report link

The Sort.by(Sort.Direction.DESC, "bId") method uses the expression bId. Spring Data JPA interprets it as a CamelCase path consisting of the b field in the object of class A and the id field of the object that b points to, which is the object of class B.

For more information, see the Spring Data JPA documentation.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Andrey Smelik

79115558

Date: 2024-10-22 19:56:12
Score: 3
Natty:
Report link

Just a note in C usually the variables are on top so you could get rid of "int k" and put it as "k" and then declare k as part of your list of ints at the top.

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

79115546

Date: 2024-10-22 19:52:11
Score: 3
Natty:
Report link

I had to go through the "Solution 2" of JGreg's answer too many times... So many I created a script to automate it for colleagues in need of help.

Here it is if it helps someone: https://github.com/BrennoBBS/gcloud_ssl_disabler

The correct thing here would be to answer on his response, but I don't interact at all and I don't have reputation to do that yet... So it's as a new response, sorry about that...

Reasons:
  • RegEx Blacklisted phrase (1.5): I don't have reputation
  • No code block (0.5):
  • Low reputation (1):
Posted by: Brenno Barros Soares

79115513

Date: 2024-10-22 19:38:07
Score: 3
Natty:
Report link

Based on this mechanism I've just prepared even more automatic version with localStorage powered by pinia and a wrapper component switching all of its instances at once. Also with full typescript support. Maybe this could help. Feel free to comment :)

https://github.com/Nagell/dynamic_loading_components

Reasons:
  • Blacklisted phrase (1): to comment
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Dawid

79115512

Date: 2024-10-22 19:37:07
Score: 0.5
Natty:
Report link

Use tryto[functionname]. try to in front of the function name doesn't cause codeception to return an error if its not found.

if ($I->tryToSeeElement('.alert')) {
    $I->waitForText('Do you accept cookies?');
    $I->click('Yes');
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Spoo

79115511

Date: 2024-10-22 19:37:07
Score: 2
Natty:
Report link

However, I didn't figure out the underlying issue. After searching around. I really shouldn't be using dynamo db scans for my use case.

I should be using a query operation. I also decided to leverage a global secondary index to get a specific set of items for my table that can be used for almost all entities.

Happy with the result - Thanks for reading

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: CleverlyDone

79115499

Date: 2024-10-22 19:32:05
Score: 2
Natty:
Report link

Thanks to @brebs and @TessellatingHeckler for your responses. Both of them worked as intended.

I took influence form @brebs solution and implemented an accumulator to basically count the number of occurrences over the pass and unify it with Count in the base case:

fourExactly(X, List) :-
    count_occurrences(X, List, 0, Count),
    Count == 4.

count_occurrences(_, [], Count, Count).
count_occurrences(X, [X|Tail], Acc, Count) :-
    NewAcc is Acc + 1,
    count_occurrences(X, Tail, NewAcc, Count).
count_occurrences(X, [Y|Tail], Acc, Count) :-
    X \= Y,
    count_occurrences(X, Tail, Acc, Count).
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @brebs
  • User mentioned (0): @TessellatingHeckler
  • User mentioned (0): @brebs
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Ali A

79115489

Date: 2024-10-22 19:27:04
Score: 2
Natty:
Report link

SOLVED:

    @PostMapping("/register")
    String registration(@ModelAttribute MyUser user) {
        userService.registerUser(user);
        return "/activate_account";
    }
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Max

79115482

Date: 2024-10-22 19:24:00
Score: 13 🚩
Natty: 4.5
Report link

Were you able to solved this? I'm facing the same problem in my project

Reasons:
  • Blacklisted phrase (1): m facing the same problem
  • Blacklisted phrase (1): you able to solve
  • RegEx Blacklisted phrase (1.5): solved this?
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm facing the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Juan Diego Ardila Gutiérrez

79115477

Date: 2024-10-22 19:20:59
Score: 1
Natty:
Report link

Using a library like parse-full-name would usually get you a better result than using a simple split on strings.

The string may have titles inside or other inconsistencies that a library would hopefully parse better.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: Mattia Rasulo

79115467

Date: 2024-10-22 19:17:59
Score: 2.5
Natty:
Report link

You want TASK_VM_INFO, and you'll want the "phys_footprint" member. On all Apple OSes you are only charged for "dirty(written to)" and "wired" memory. There are interesting edge cases with mapped files, but I won't get into those.

That is now what top and Xcode use.

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

79115464

Date: 2024-10-22 19:15:58
Score: 1.5
Natty:
Report link

When you use (0,0), the starting point starts from the (top left). To fill the empty space on the right side, you need to consider the (top right) part -> (max-X, 0)

Next, use anchor to move right to left.

Example:

draw.text ( (3840,0),  wrapped, font=unicode_font, fill=font_color, spacing=30, anchor='rt')
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When you use
  • Low reputation (1):
Posted by: Amir Roox

79115463

Date: 2024-10-22 19:13:57
Score: 1.5
Natty:
Report link

for me i had to open Android Studio from terminal using this command for Mac users open -a "Android Studio"

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

79115457

Date: 2024-10-22 19:10:57
Score: 1.5
Natty:
Report link

I had the same error and it occurs that the explanation was rather simple - in my Compile Sources in Build Phases I didn't have any file. When I add my main.cpp file everything started to work correctly

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jessica Pawłowska

79115444

Date: 2024-10-22 19:05:56
Score: 3.5
Natty:
Report link

I am also having this error.

appflow.update_flow(
    flowName=flow_name,
    sourceFlowConfig = current_flow["sourceFlowConfig"],
    destinationFlowConfigList = current_flow["destinationFlowConfigList"],
    triggerConfig = current_flow["triggerConfig"],
    tasks = current_flow["tasks"]
)

Why might I be experiencing an S3 error but have all permissions given to S3 bucket?

Reasons:
  • RegEx Blacklisted phrase (1): I am also having this error
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Noah

79115438

Date: 2024-10-22 19:02:55
Score: 1.5
Natty:
Report link

Apart from the recommendations above, I would also suggest checking for any apps or services that might be filtering or blocking connections on both your iPhone and Mac. In some cases, simply deactivating these apps may not be enough; you might need to uninstall them. In my experience, I had to uninstall the apps to resolve the issue.

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

79115432

Date: 2024-10-22 19:01:55
Score: 3
Natty:
Report link

Got it, I simply put the set_variables transformation in the end AFTER the file gets processed then, on the next iteration, if there is no file, I checked if the variable exists using simple evaluation, if it exists, no email is sent. Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: plakosizzle

79115425

Date: 2024-10-22 18:57:53
Score: 2
Natty:
Report link

Don't, how can you access <key> by <value> if two different keys have identical <value>? Are you sure typescript guarantees values to be unique? Just adds more undefined behaviour.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: DANser

79115423

Date: 2024-10-22 18:56:53
Score: 0.5
Natty:
Report link

The issue is most likely that hover:!bg-white isn't working because tailwind doesn't support !important

Instead to make sure it works you can try to do this:

module.exports = {
  important: true,
  theme: {
    colors: {
      white: "#ffffff",
    },
  },
};

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

79115421

Date: 2024-10-22 18:55:52
Score: 1.5
Natty:
Report link

To me, this seems to be a binding issue.

Try adding Source={x:Reference cv} to your binding. Like this:

BindableLayout.ItemsSource="{Binding Values, Source={x:Reference cv}}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Monsalma

79115414

Date: 2024-10-22 18:53:52
Score: 2.5
Natty:
Report link

@JimB answered the question in comments:

No it’s not builtin, and it needs to be filesystem specific. If you don’t want to keep that dependency, you will need to rewrite what it does.

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

79115409

Date: 2024-10-22 18:51:51
Score: 0.5
Natty:
Report link

Since WNDCLASSEX.lpszMenuName and WNDCLASSEX.lpszClassName are members of a struct, marshalling rules for strings in a struct apply here. Since you didn't specify any such rule for the struct, the default rule applies. From the documentation https://learn.microsoft.com/en-us/dotnet/standard/native-interop/customize-struct-marshalling#customizing-string-field-marshalling:

By default, .NET marshals a string as a pointer to a null-terminated string. The encoding depends on the value of the StructLayoutAttribute.CharSet field in the System.Runtime.InteropServices.StructLayoutAttribute. If no attribute is specified, the encoding defaults to an ANSI encoding.

So, basically the strings in your WNDCLASSEX struct are marshalled as pointers to ANSI strings. But you call the Unicode version of the RegisterClassEx WINAPI, which is expecting pointers to wide/Unicode strings. Kaboom!

Set the CharSet parameter of the WNDCLASSEX [StructLayout] attribute to Unicode to address this particular bug in your code. I don't know if there are further issues lurking in your code, but this one was relatively easy for me to spot...

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

79115402

Date: 2024-10-22 18:48:50
Score: 2
Natty:
Report link

Pytube is broken now, try pytubefix instead.

pip install pytubefix

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

79115397

Date: 2024-10-22 18:47:50
Score: 0.5
Natty:
Report link

The formula solution can be like this:

enter image description here

E2=C2
E3 and fill down=XLOOKUP(A3;$A$2:$A$6;$C$2:$C$6)-SUM(($A2:$A$2=A3)*$B2:$B$2)
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: rotabor

79115391

Date: 2024-10-22 18:45:50
Score: 3
Natty:
Report link

You must execute this code on the application server for it to work.

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

79115386

Date: 2024-10-22 18:41:49
Score: 1.5
Natty:
Report link

I had to add manually this dependency on the pubspec.yaml file: isar_generator: ^3.1.0+1, that works for me

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: angel molina

79115383

Date: 2024-10-22 18:40:48
Score: 4
Natty: 4.5
Report link

A Beginner’s Guide to Redux: Step by Step Explanation with Examples https://www.engineerstutorial.com/blog/technology/react/complete-beginners-guide-to-redux-learn-state-management-from-scratch

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

79115382

Date: 2024-10-22 18:40:48
Score: 1.5
Natty:
Report link

If it is a pipeline defined job, use 'sh' pipeline operator, curl and unzip tools: script { sh "curl --insecure --fail --location --user $NEXUS_USER:$NEXUS_PASSWORD $FILE_URL --output $FILE_NAME" sh "unzip $FILE_NAME" }

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

79115380

Date: 2024-10-22 18:40:48
Score: 2
Natty:
Report link

My issue was the same as reported by DBDAN. I was in the process of writing a stored procedure when I needed to do a quick query for something different. I used the same window I was working in -- as I always do -- but this time that incomplete (and thus incorrect) code to create a stored procedure prevented IntelliSense from working. When I commented it out IntelliSense worked again. Un-comment, and IntelliSense failed. Re-comment, IntelliSense worked. And I also found, when un-commented, that IntelliSense did work in the window above the incomplete/incorrect code, but not below it.

Thanks Rikard Askelöf and DBDAN!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mike Banach

79115372

Date: 2024-10-22 18:34:46
Score: 1
Natty:
Report link

Now it's work in this way

# region bla
print("some test)

# endregion
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
Posted by: mrkiril

79115369

Date: 2024-10-22 18:34:46
Score: 1
Natty:
Report link

the error has something to do with the built in complex assignment. If you use something like np.complex128(1+1j) the error is corrected. as to why this is the case, I am not sure but it worked for me.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jonah

79115367

Date: 2024-10-22 18:33:46
Score: 3.5
Natty:
Report link

In my case the paddle lagged while moving (while Pressing)

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

79115362

Date: 2024-10-22 18:32:45
Score: 2
Natty:
Report link

The ERR_TOO_MANY_REDIRECTS error typically occurs when there's a loop in the redirection process. Let's go through some potential solutions:

  1. Check your site and home URLs:

Make sure that the site and home URLs for your subdirectory site are correctly set in the database. You can check this by accessing your database through phpMyAdmin or a similar tool. Look for the wp_2_options table (assuming site1 is the second site in your network) and check the siteurl and home option values.

  1. Verify SSL settings:

If you're using SSL (https), ensure that all URLs in your configuration are consistently using either http or https, not a mix of both.

  1. Check your wp-config.php file:

Your wp-config.php file looks mostly correct, but let's make a small adjustment:

define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST']);
define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST']);

Obs.: Remove the trailing slash from these definitions.

  1. Adjust your .htaccess file:

Your .htaccess file looks correct for a multisite setup, but let's try a slightly modified version:

# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]

# Add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
# END WordPress

Remember to back up your site before making any significant changes. If you try these steps and still face issues, please provide any new error messages or behaviors you observe, and I'll be happy to help further.

Reasons:
  • RegEx Blacklisted phrase (2.5): please provide
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Thiago Ximenes

79115356

Date: 2024-10-22 18:30:45
Score: 1
Natty:
Report link

All you need to do is put this in your css:

ion-modal {
    --width: 100vw;
    --height: 100vh;
}

After looking into it, Ionic uses the "--width" and "--height" css variables internally, so overwriting these is all that's needed.

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

79115354

Date: 2024-10-22 18:29:44
Score: 2
Natty:
Report link

The API only queries certain number of items, when when no results are found in those items, it returns a nextLink for you to query the next page of items. Keep querying the nextLink provided in the results until it is no longer returned. https://learn.microsoft.com/en-us/graph/paging?tabs=http

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

79115350

Date: 2024-10-22 18:27:44
Score: 4
Natty:
Report link

Answering my own question here. The issue was adjusting the cursor offset based on the font baseline. The default baseline is at the top, so a 0,0 works fine, but others align to the bottom, meaning you need to "push" it back onto the display. Thx!

Reasons:
  • Blacklisted phrase (1): Thx
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: AaronH

79115337

Date: 2024-10-22 18:23:43
Score: 3.5
Natty:
Report link

Don't click that git-secret link above. It's not git-secret.

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

79115333

Date: 2024-10-22 18:22:40
Score: 6.5 🚩
Natty: 5
Report link

I have tried every solution you told me I set the environment variables path --> restart my pc --> open and closed vs code --> but still the command shell is not executing please help me with this.

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): please help me
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jithin Ch

79115331

Date: 2024-10-22 18:22:40
Score: 1
Natty:
Report link

Downgrade plugin version to 0.13.1 and try again.

  flutter_launcher_icons: ^0.13.1

Problem should be solved, if not checkout this answer and then try again.

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

79115318

Date: 2024-10-22 18:18:38
Score: 1
Natty:
Report link

You're mixing raw pointers and shared pointers which causes problems. To keep your Child alive until all Parents are deleted you gotta use shared pointers everywhere.

Create your Parent and Child with std::make_shared, so they are shared pointers.

When you assign the Child to a Parent, copy the shared pointer.

This way, the Child's reference count increases.

It won't be deleted until all Parents are gone.

Avoid raw pointers, they don't manage ownership.

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

79115316

Date: 2024-10-22 18:17:38
Score: 0.5
Natty:
Report link

Here's how it's done with LibVLCSharp library:

XAML (some parts not shown for simplicity)

<StackPanel
    Orientation="Vertical"
    HorizontalAlignment="Center"
    VerticalAlignment="Center">

    <TextBox
        x:Name="MediaURI"
        Text="avares://Monsalma_AvaloniaAudioTest_Resource/Assets/sample.mp3" />

    <Button
        Content="Play"
        Click="ClickHandler" />

    <TextBlock
        x:Name="PlaybackStatus"
        Text="-" />

</StackPanel>

Code behind (some parts not shown for simplicity)

ClickHandler is the piece of code we're interested in. We use AssetLoader to get the resource stream. Then we initiate the Media object with the stream. Lastly, we assign the media to media player and start playback.

private LibVLC MainLibVLC { get; set; }
private MediaPlayer MainMediaPlayer { get; set; }
private Stream MediaStream { get; set; }

public MainView()
{
    InitializeComponent();
    InitMediaPlayer();
}

private void InitMediaPlayer()
{
    MainLibVLC = new(enableDebugLogs: true);

    MainMediaPlayer = new(MainLibVLC);
    MainMediaPlayer.TimeChanged += MediaPlayer_TimeChanged;
}

public void ClickHandler(object sender, RoutedEventArgs args)
{
    MediaStream?.Dispose();

    MediaStream = AssetLoader.Open(new Uri(MediaURI.Text));
    using var media = new Media(MainLibVLC, new StreamMediaInput(MediaStream));

    MainMediaPlayer.Media = media;
    MainMediaPlayer.Play();
}

private void MediaPlayer_TimeChanged(object sender, MediaPlayerTimeChangedEventArgs e)
{
    Dispatcher.UIThread.Invoke(
        new Action(
            () =>
            {
                PlaybackStatus.Text = $"{MainMediaPlayer.Time / 1000.0} / {MainMediaPlayer.Length / 1000.0}";
            }
        )
    );
}

I tested this on Windows Desktop and Android (simulator). I've uploaded the complete code to my GitHub repository.

Reasons:
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Monsalma

79115315

Date: 2024-10-22 18:17:38
Score: 2
Natty:
Report link

We've seen similar errors in Visual Query on both 2sxc v18.00 and v18.01. In all cases the fix was to upgrade to v18.02.00 or higher. I hope that works for you!

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

79115313

Date: 2024-10-22 18:16:38
Score: 1
Natty:
Report link

Was running into this issue with wasm-opt, and found that the -g option works well to preserve the necessary information. It looks like emcc supports the same option!

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

79115310

Date: 2024-10-22 18:15:37
Score: 0.5
Natty:
Report link

I found a solution that works, using another hook (instead of gettext).

`add_filter('woocommerce_bookings_calculated_booking_cost_error_output', 'modify_booking_cost_error_outout', 999, 3); function modify_booking_cost_error_outout( $message, $cost, $product) { $error_message = $cost->get_error_message(); if ($error_message == 'Date is required - please choose one above' && has_term( 'Teaterkurser', 'product_cat', $product->get_id() )) { $message = 'Datum väljs - vänta lite...'; }

return $message;

}`

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Erik Almén

79115308

Date: 2024-10-22 18:14:37
Score: 1
Natty:
Report link

Navigating the integration of React components within Angular can open up new avenues for enhancing user experience and leveraging existing code.

Here are some key strategies: 1. Custom Elements: Wrap React components as web components for seamless use in Angular. 2. Shared Services: Use Angular services to manage state and data sharing between frameworks. 3. State Management: Leverage Redux or Context API for efficient data handling.

These methods empower developers to blend the strengths of both frameworks while ensuring smooth communication. Embrace the hybrid approach and elevate your applications!

Want in detail you can visit my website (Link in Bio)

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

79115305

Date: 2024-10-22 18:13:36
Score: 4.5
Natty:
Report link

from reportlab.lib.pagesizes import letter from reportlab.pdfgen import canvas

def crear_pdf(nombre_archivo): c = canvas.Canvas(nombre_archivo, pagesize=letter) ancho, alto = letter

# Título
c.setFont("Helvetica-Bold", 16)
c.drawString(100, alto - 40, "Cuadros Sinópticos y Tablas")

# Cuadro Sinóptico de Modificadores Directos
c.setFont("Helvetica-Bold", 12)
c.drawString(100, alto - 80, "Cuadro Sinóptico de Modificadores Directos")
c.setFont("Helvetica", 10)
c.drawString(100, alto - 100, "Modificadores Directos")
c.drawString(120, alto - 120, "├── Artículos")
c.drawString(140, alto - 140, "│   ├── el")
c.drawString(140, alto - 160, "│   ├── la")
c.drawString(140, alto - 180, "│   ├── los")
c.drawString(140, alto - 200, "│   └── las")
c.drawString(120, alto - 220, "├── Adjetivos")
c.drawString(140, alto - 240, "│   ├── grande")
c.drawString(140, alto - 260, "│   ├── pequeño")
c.drawString(140, alto - 280, "│   ├── rojo")
c.drawString(140, alto - 300, "│   └── feliz")
c.drawString(120, alto - 320, "└── Posesivos")
c.drawString(140, alto - 340, "    ├── mi")
c.drawString(140, alto - 360, "    ├── tu")
c.drawString(140, alto - 380, "    ├── su")
c.drawString(140, alto - 400, "    └── nuestro")

# Tabla de Modificadores Directos
c.setFont("Helvetica-Bold", 12)
c.drawString(100, alto - 440, "Tabla de Modificadores Directos")
c.setFont("Helvetica", 10)
data = [
    ["Tipo de Modificador Directo", "Modificador", "Ejemplo de Uso"],
    ["Artículo", "el", "El perro ladra."],
    ["Artículo", "la", "La casa es grande."],
    ["Artículo", "los", "Los niños juegan."],
    ["Artículo", "las", "Las flores son bonitas."],
    ["Adjetivo", "grande", "La casa es grande."],
    ["Adjetivo", "pequeño", "El gato es pequeño."],
    ["Adjetivo", "rojo", "El coche es rojo."],
    ["Adjetivo", "feliz", "El niño está feliz."],
    ["Posesivo", "mi", "Mi libro está aquí."],
    ["Posesivo", "tu", "Tu perro es bonito."],
    ["Posesivo", "su", "Su casa es grande."],
    ["Posesivo", "nuestro", "Nuestro coche es nuevo."]
]

x_offset = 100
y_offset = alto - 460
for row in data:
    for col, text in enumerate(row):
        c.drawString(x_offset + col * 150, y_offset, text)
    y_offset -= 20

c.save()

Crear el PDF

crear_pdf("cuadros_sinopticos_y_tablas.pdf")

Reasons:
  • Blacklisted phrase (1): está
  • Blacklisted phrase (2): crear
  • Blacklisted phrase (2): Crear
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Carina Sauretti

79115296

Date: 2024-10-22 18:09:35
Score: 0.5
Natty:
Report link

Make sure that your zip archive entry name/path doesn't start with a slash. Leading slashes are violating the ZIP format specification (https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT, section 4.4.17). While some ZIP utilities/libraries are tolerant of leading slashes, many others are not.

The sourceDirInfo.FullName string probably doesn't feature a trailing slash (unless you created the DirectoryInfo with a string that has a trailing slash), so doing file.FullName.Replace(sourceDirInfo.FullName, "") would leave you with a file path having a leading (back)slash, which is the likely cause of your problem.

(Side note: Replacing backslashes with forward slashes is correct, by the way.)

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

79115292

Date: 2024-10-22 18:07:35
Score: 0.5
Natty:
Report link

This error happend when you are trying to post more than 140 characters and you dont have a verified account

{"detail":"You are not permitted to perform this action.","type":"about:blank","title":"Forbidden","status":403}

Try send a normal text first

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Elminson De Oleo Baez

79115291

Date: 2024-10-22 18:07:35
Score: 2.5
Natty:
Report link

In your application propertise file , just include

spring.jpa.hibernate.ddl-auto=update if your want to generated table automatically

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

79115290

Date: 2024-10-22 18:07:35
Score: 1
Natty:
Report link

Rx relies on operator composition instead of overloads. To reduce the batch size sent upstream, you can include the rebatchRequests operator in the stream.

source.rebatchRequests(1).subscribe(...)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: George Campbell

79115278

Date: 2024-10-22 18:01:33
Score: 2
Natty:
Report link

You have to specify from what part of query your object should be constructed. Url.Action pass parameters to uri, so probably you need that ([FromUri] added):

public IActionResult GetDocuments([FromUri]AreaVM area)

Read this for more details: https://learn.microsoft.com/en-us/aspnet/web-api/overview/formats-and-model-binding/parameter-binding-in-aspnet-web-api#using-fromuri

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

79115276

Date: 2024-10-22 18:00:33
Score: 5.5
Natty:
Report link

This code should fix the problem. enter image description here

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

79115259

Date: 2024-10-22 17:53:31
Score: 2
Natty:
Report link

Kudo to @enxaneta, the answer is:

<div>
    <svg width="64" height="64" fill="currentColor">
        <!-- 100% -->
        <use href="#bi-heart" width="64" height="64"></use>
        <!-- 50%, centered -->
        <use href="#bi-stag"  width="32" height="32" x="16" y="16"></use>
    </svg>
</div>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @enxaneta
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Shtole

79115255

Date: 2024-10-22 17:51:30
Score: 4
Natty:
Report link

SELECT DISTINCT(Policy) FROM table_name;

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Bryce D

79115252

Date: 2024-10-22 17:50:30
Score: 2
Natty:
Report link

Have you tried changing the file name for example?

"C:\Program Files\poppler\Library\lib"

In my case it was the solution.

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: cristian salgueiro

79115251

Date: 2024-10-22 17:50:30
Score: 1
Natty:
Report link

The error occurs because of the foto field in the AdministradorEntity class. Change the name of this field and its corresponding getter and setter to nombreFoto to solve the problem.

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

79115239

Date: 2024-10-22 17:45:28
Score: 3.5
Natty:
Report link

Add the key to the scaffold?

Widget build(BuildContext context) {
    return Scaffold(
        key: formkey,
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Richard Kenneth

79115235

Date: 2024-10-22 17:44:28
Score: 12.5
Natty: 7.5
Report link

I have the same problem, have you solved it?

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

79115230

Date: 2024-10-22 17:43:27
Score: 1
Natty:
Report link

You should set env inside Build Job. For example:

- name: Build
    run: npm run build
    env: 
      MY_SECRET_1: ${{ secrets.MY_SECRET_1 }}
      MY_SECRET_2: ${{ secrets.MY_SECRET_2 }}
      MY_SECRET_3: ${{ secrets.MY_SECRET_3 }}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hai Dang

79115226

Date: 2024-10-22 17:42:26
Score: 0.5
Natty:
Report link

It is causing due to the looping issues you can use i<=25 and also alt.push(Math.floor(Math.random()*25)) to avoid the leading decimal values.

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

79115210

Date: 2024-10-22 17:36:25
Score: 3.5
Natty:
Report link

It's called "Stick scroll." Turn it off in the settings.

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

79115207

Date: 2024-10-22 17:34:24
Score: 1.5
Natty:
Report link
    for (let i = 0; i < 25; i++) {
  alt.push(Math.random()*25)
}

the condition in the for loop should run the code 25 times and add elements to it

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

79115206

Date: 2024-10-22 17:33:24
Score: 3.5
Natty:
Report link

I sometimes get this error with Node.JS when my pipeline fails to build the functions code correctly. I use this error as an indication that Firebase can't read my functions code (for whatever reason).

Are you running the correct version or Python? Are you building the python package correctly?

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

79115204

Date: 2024-10-22 17:33:24
Score: 4
Natty: 4.5
Report link

Try disabling RPC validation using isLazy:

https://docs.cosmology.zone/cosmos-kit/provider/chain-provider#islazy

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

79115198

Date: 2024-10-22 17:31:23
Score: 1.5
Natty:
Report link

Electron 31 supports tabbed windows for MacOS: https://www.electronjs.org/docs/latest/api/browser-window#winaddtabbedwindowbrowserwindow-macos

we can combine with setWindowOpenHandler https://www.electronjs.org/docs/latest/api/web-contents#contentssetwindowopenhandlerhandler

Example:

mainWindow.webContents.setWindowOpenHandler(() => {
return {
  action: 'allow',
  createWindow: (options) => {
    const browserWindow = new BrowserWindow(options);
    mainWindow.addTabbedWindow(browserWindow);
    browserWindow.setBounds({ x: 0, y: 0, width: 640, height: 480 });
    return browserWindow.webContents;
  },
};

});

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

79115196

Date: 2024-10-22 17:31:23
Score: 3
Natty:
Report link

Use normal function instead of arrow function as "this" keyword does not work as it works normally in simple functions. This might solve your problem.

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

79115194

Date: 2024-10-22 17:30:23
Score: 2
Natty:
Report link

Interesting issue!

This sounds like a common problem with YouTube Iframe API and React. Here are some potential solutions:

1. Ensure YouTube API script is loaded only once

Wrap the script loading in a useEffect hook with an empty dependency array to ensure it's loaded only once:

jsx
useEffect(() => {
  const script = document.createElement('script');
  script.src = '(link unavailable)';
  document.body.appendChild(script);
}, []);

2. Use a ref to store the player instance

Create a ref to store the YouTube player instance and reuse it:

jsx
const playerRef = useRef(null);

useEffect(() => {
  if (!playerRef.current) {
    playerRef.current = new window.YT.Player('player', {
      // your player options
    });
  }
}, []);

3. Check for YouTube API readiness

Verify the YouTube API is ready before rendering the player:

jsx
useEffect(() => {
  window.onYouTubeIframeAPIReady = () => {
    // render the player or update the player instance
  };
}, []);

4. Unmount and remount the player

Try unmounting and remounting the player when switching components:

jsx
useEffect(() => {
  return () => {
    if (playerRef.current) {
      playerRef.current.destroy();
    }
  };
}, []);

5. Use a library like react-youtube

Consider using a library like react-youtube that handles the YouTube API integration for you.

Full example

jsx
import React, { useEffect, useRef } from 'react';

declare global {
  interface Window {
    onYouTubeIframeAPIReady: () => void;
    YT: any;
  }
}

const YouTubePlayer = () => {
  const playerRef = useRef(null);

  useEffect(() => {
    const script = document.createElement('script');
    script.src = '(link unavailable)';
    document.body.appendChild(script);

    window.onYouTubeIframeAPIReady = () => {
      if (!playerRef.current) {
        playerRef.current = new window.YT.Player('player', {
          // your player options
        });
      }
    };

    return () => {
      if (playerRef.current) {
        playerRef.current.destroy();
      }
    };
  }, []);

  return (
    <div>
      <div id="player" />
    </div>
  );
};

If none of these solutions work, please provide more details:

  1. Your player options and configuration
  2. Any error messages or console output
  3. Your React and YouTube API versions

I'll help you troubleshoot further!

Reasons:
  • RegEx Blacklisted phrase (2.5): please provide
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user1988684

79115193

Date: 2024-10-22 17:30:23
Score: 3
Natty:
Report link

I think maybe it's supposed to be i != 25 and not i = 25? I'm pretty sure that i = 25 means the condition for continuation, not the condition for stopping.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: temp email

79115181

Date: 2024-10-22 17:28:22
Score: 1
Natty:
Report link

The "statements vs expressions" response would be a neat answer, but then why are commas used for object declaration

let obj = {prop_a: 1, prop_b: 2}

while semicolons are used for class declaration

class Obj {prop_a: 1; prop_b: 2}

?

Declaring the object with a semicolon throws the SyntaxError Unexpected token ';', while declaring the class with a comma throws a different SyntaxError Unexpected identifier 'prop_a'.

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

79115180

Date: 2024-10-22 17:28:22
Score: 1
Natty:
Report link

Solved: There is setting in pipeline defination *force_rerun which is by default False. Changing that setting to True solved the issue of rerun.

app_pipeline.settings.force_rerun = True

force_rerun (boolean): Whether to force rerun the whole pipeline. The default value is False. This means that by default, the pipeline tries to reuse the output of the previous job if it meets reuse criteria. If set as True, all steps in the pipeline will rerun.

https://learn.microsoft.com/en-us/azure/machine-learning/reference-yaml-job-pipeline?view=azureml-api-2

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

79115173

Date: 2024-10-22 17:25:22
Score: 3.5
Natty:
Report link

Hi James Keenan I think this answer might help you. See https://github.com/thunderbird-conversations/thunderbird-conversations/issues/370 I had the same issue.

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

79115165

Date: 2024-10-22 17:20:21
Score: 3
Natty:
Report link

If you are using server components the add "use client" at the top of component. And I hope It will fix the error.

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

79115161

Date: 2024-10-22 17:19:20
Score: 1.5
Natty:
Report link

It was my fault, I had a compilation error due to the use of SASS that I will discuss in another post. The Page was not recognized.

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Diego

79115159

Date: 2024-10-22 17:18:19
Score: 4.5
Natty:
Report link

Is this what you want? You can add index column from power query and then add a DAX column using 'MonthLabel = [Months]& " " & [TeamName]'. This will add separate values for each month for each team in line chart. please see result here

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Is this
  • Low reputation (1):
Posted by: BananaAI

79115149

Date: 2024-10-22 17:14:16
Score: 6 🚩
Natty:
Report link

I have similar issue. Found this: Project fail to build after update to VS 17.11.5 Look at: https://developercommunity.visualstudio.com/t/Project-fail-to-build-after-update-to-VS/10763457?sort=active&openOnly=false&closedOnly=false&topics=Database+Solution

Hope it helps

Reasons:
  • Blacklisted phrase (1): I have similar
  • Whitelisted phrase (-1): Hope it helps
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have similar issue
  • Low reputation (1):
Posted by: Felo Vala

79115148

Date: 2024-10-22 17:14:16
Score: 1
Natty:
Report link

You can try something like this:

late Future<String> test;
test = Future.delayed(const Duration(seconds: 0), () => "test");
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Will