79221486

Date: 2024-11-25 02:44:55
Score: 2.5
Natty:
Report link

If you're looking for a free solar radiation API to recreate a map like the JRC PVGIS for a non-commercial app, the best option is likely to use the PVGIS API itself, which offers a free tier with access to basic solar radiation data in JSON format.

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

79221485

Date: 2024-11-25 02:44:55
Score: 4
Natty: 4.5
Report link

You might want to see solution posted by https://github.com/victorbrax on https://github.com/xlwings/xlwings/issues/1360

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

79221483

Date: 2024-11-25 02:41:52
Score: 11.5 🚩
Natty: 6.5
Report link

were you able to solve this? I'm having the same issue. Apple Support is ignoring my emails.

Reasons:
  • Blacklisted phrase (1): you able to solve
  • RegEx Blacklisted phrase (1.5): solve this?
  • RegEx Blacklisted phrase (3): were you able
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Carlos Mosquera

79221474

Date: 2024-11-25 02:36:51
Score: 0.5
Natty:
Report link

This issue happen to me after I deleted the first and original branch (master), that was created by DevOps.

I had already successfully created a CI pipeline from the repos. When I returned to create a CD I experienced the issue described, 'No matching repositories were found'. The only plausably related action I had taken was to create a 'main' branch of 'master' and then delete 'master'. In essence, to try rename 'master' to 'main'.

After this I created a new repository, with the first source branch 'master' intact, and this issue didn't occur.

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

79221469

Date: 2024-11-25 02:35:51
Score: 1
Natty:
Report link

If you've gone through all the other solutions and are still getting the same error, the issue might be with where your project is located for Mac users.

If your project is in a folder that is linked to iCloud backup, then it will keep happening.

Move your project to a different location that is not under iCloud backup like: /Users/<your_name>/<project>

I initially had mine in: /Users/<name>/Documents/<project>. I tried everything but it didn't fix it. Moved it to /Users/<your_name>/<project> and it worked immediately

Reasons:
  • Whitelisted phrase (-1): it worked
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): getting the same error
  • Low reputation (0.5):
Posted by: Uma

79221458

Date: 2024-11-25 02:31:47
Score: 11.5 🚩
Natty: 5.5
Report link

Have you got any solution for it if yes please help me with same I am facing same issue

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): please help me
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Amit Bhawsar

79221453

Date: 2024-11-25 02:29:46
Score: 2.5
Natty:
Report link

You would probably need to provide the actual website that you are trying to scrape but at a first glance, it looks like you are trying to transform binary data (an image probably) to text

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

79221447

Date: 2024-11-25 02:22:45
Score: 3.5
Natty:
Report link

The issue is fixed now after updating all the nuget packages to the latest version and downgrading the Microsoft.Azure.WebJobs.Extensions.ServiceBus to 5.120. 0.

Added the below value in Azure portal in the Configuration enter image description here

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

79221445

Date: 2024-11-25 02:20:45
Score: 5
Natty:
Report link

Just for clarification, are you wanting to know how to write an sh script for those commands or do you need help uploading it through the AWS Management Console?

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

79221441

Date: 2024-11-25 02:18:45
Score: 0.5
Natty:
Report link

Why is RestrictingType<?> not within the bounds of T?

Because ? is an unknown type because T is actually not bound in RestrictingType<T>. It can be anything, like Integer. Therefore the compiler cannot know if ? implements RestrictingType and consequently SelfReferringInterface.

And why is the functionaly similar ? extends RestrictingType<?> no problem?

Because now you've bounded ? with RestrictingType<?> which means compiler knows it's a RestrictingType and consequently SelfReferringInterface.

Also, funny, but this compiles and runs on my Java 21.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Why is
  • Low reputation (0.5):
Posted by: Smola

79221435

Date: 2024-11-25 02:10:43
Score: 2
Natty:
Report link

The issue you're likely facing is that your animation is updating the bar height too quickly, causing it to briefly flash at a very small size before jumping to the next value. To fix this, you need to gradually increase the bar height over time within each animation step, instead of instantly changing it to the full value.

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

79221431

Date: 2024-11-25 02:06:42
Score: 2
Natty:
Report link

This can be achieved by renaming or creating a new connector and specifying snapshot.mode="never". Offset works based on connector name.

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

79221428

Date: 2024-11-25 02:04:42
Score: 2
Natty:
Report link

%ANDROID_SDK_ROOT%\cmdline-tools\latest\bin folder. all file error open each file. check this.

if !version! lss 170 if "%SKIP_JDK_VERSION_CHECK%" == "" ( echo Java version 17 or higher is required. echo To override this check set SKIP_JDK_VERSION_CHECK goto :eof )

if !version! lss 170. 170? edit 17. good work!!

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: 나그네

79221422

Date: 2024-11-25 02:01:41
Score: 1.5
Natty:
Report link

m is the SI symbol of milli, which means 1e-3. For example, 0.023736322531476617 will be displayed as 23.7m in the UI of influxdb.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): is the
Posted by: link89

79221418

Date: 2024-11-25 02:00:41
Score: 3.5
Natty:
Report link

Still does not seem to be supported in 8

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

79221397

Date: 2024-11-25 01:43:38
Score: 1
Natty:
Report link

the library for adding Sticky Headers to ListView or GridView

 implementation 'com.github.DWorkS:AStickyHeader:9a40740d1a'

is the newest version but doesn't seem to work at the moment

Refer to the documentation.

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

79221392

Date: 2024-11-25 01:37:37
Score: 0.5
Natty:
Report link

make sure you have created the relationship between two tables and try this to create a column

Column = CALCULATE( sum('Data'[Amount]))+0

enter image description here

Reasons:
  • Whitelisted phrase (-1): try this
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
Posted by: Ryan

79221386

Date: 2024-11-25 01:34:35
Score: 1
Natty:
Report link

you can create a column

Column = DIVIDE('Table'[client number],sum('Table'[client number]))

enter image description here

or a meassure

MEASURE =
DIVIDE (
    SUM ( 'Table'[client number] ),
    CALCULATE ( SUM ( 'Table'[client number] ), ALL ( 'Table' ) )
)

enter image description here

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

79221382

Date: 2024-11-25 01:29:34
Score: 0.5
Natty:
Report link

I've tried to skip the step of writing each small dataframe as a small file to local disk.

It filtered the rows (4 or 5 in Meet) instead of saving all rows in each smaller dataframe, and tried directly wrote them to a final txt file.

The disadvantage was that, I am not able to monitor the progressing as it's running "behind". Taken even longer hours than the old method, I aborted the test.

Another try was to only save the small dataframe when there are filtered rows (4 or 5 in Meet), and save them into small Parquests. Taken a further step to contact the Parquests. This is the most efficient way I can get, even though it still takes long.

Reasons:
  • Blacklisted phrase (1): I am not able to
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Mark K

79221376

Date: 2024-11-25 01:20:31
Score: 0.5
Natty:
Report link

VSCode has to be explicitly granted Local Network Access after updating to Sequoia

The setting can be found in System Settings -> Privacy & Security -> Local Network. Giving VSCode Local Network access solved the issue.

source

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

79221375

Date: 2024-11-25 01:20:31
Score: 2
Natty:
Report link

So yes, for some reason, AWS placed Bedrock`s functionality to BedrockAgent (for me - Agent is sounds like another part of Bedrock), so, it is enough to use https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent.html to get access to, for example, data sources

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: prosto.vint

79221367

Date: 2024-11-25 01:14:30
Score: 3.5
Natty:
Report link

First of all I am comparing the code provided in @Joachim with or without the if(0) clause at second task. When using gcc 11.4.0 I see differences, but when using clang 14.0.0 the two codes run in about the same time (of course adding if(0) gives some slight edge but not big differences). Then I tried some stupid experiments like the one below:

#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
#include <omp.h>

struct timeval t1, t2;

void recursive_task(int level)
{   
    //printf("%d\n", level);
    
    if (level == 0){
        sleep(1);
        return;
    }
    else
    {
            #pragma omp task
            {
                recursive_task(level-1);
            }
             #pragma omp task 
            {
                recursive_task(level-1);
            }
            #pragma omp taskwait
    }
}

int main()
{
    double time;

    gettimeofday(&t1, 0);

#pragma omp parallel num_threads(4)
    {
#pragma omp single
        {
            recursive_task(2);
        }
    }

    gettimeofday(&t2, 0);

    time = (double)((t2.tv_sec - t1.tv_sec) * 1000000 + t2.tv_usec - t1.tv_usec) / 1000000;
    printf("%.4f\n", time);

    return 0;
}

Now this should run in about 1 second but in gcc this sometimes runs in about 2 seconds and very rarely (at least in my laptop) runs in 1 second so it does not always manage to schedule correctly and take advantage of the enough threads. This is a very strange inconsistency. I think there are some issues with gcc with openmp scheduler, like a bug or something. When using if(0) at second task it always seems to run in 1 second, as expected, but normally it should not be that huge difference just adding if(0).

On the other hand, with clang both with and without if(0) run in 1 second. I think there is some bug in gcc, can someone confirm that the bug presented above can also be reproduced and I am not crazy?

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Joachim
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: hpc_beginner

79221360

Date: 2024-11-25 01:08:29
Score: 1.5
Natty:
Report link

Here's a few possibilities that I can think of with the limited info:

1. In your Animator, you most likely have multiple states, each one for each state of your character. If you simply have a delay in your character going from falling to idle, then it's possible that you have exit time on your transitions, which is causing it to have delay between states. You should do this for every transition in your animator graph. Example (The arrow properties in image should be, respectively, false, and zero.

2. Ensure you have a transition going from each state and back, not just one way. It's pretty simple to make a small mistake with a large graph like the player's animations, so double check that you have a transition back from falling to grounded.

3. Debug your isGrounded boolean. Perhaps it's just not actually working correctly, and it's gone unnoticed? Simply Debug.Log(isGrounded); will do the trick.

4. Alternatively, if none of these work, please expand on your issues, what is exactly happening, is the isGrounded variable working correctly? Are you stuck in falling, and what does your animator graph look like?

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

79221354

Date: 2024-11-25 01:02:28
Score: 2
Natty:
Report link

The discrepancy between your C# implementation of the Welch's method and MATLAB's pwelch function when using a smaller window size (like hanning(512)) is likely due to differences in how the windowing is handled at the signal edges when segmenting the data; specifically, how MATLAB might be implicitly zero-padding the signal at the boundaries when calculating segments with a smaller window size than the segment length.

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

79221349

Date: 2024-11-25 00:57:27
Score: 2
Natty:
Report link

-fsanitize=undefined confirms there is no overflow.

This statement is false. (Speaking as a logician ;-) )

-fsanitize=xxx instruments the code with run-time checks. Of course, just compiling with -fsanitize=undefined does not provide any confirmation/infirmation on the potential overflow.

If you run the instrumented code, and it aborts or logs "UB: overflow", you can definitely state that there is an overflow. If you get no error, it just means that:

Cheers !

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

79221339

Date: 2024-11-25 00:46:24
Score: 0.5
Natty:
Report link

You should query on application with Key of Application

SELECT * FROM Module WHERE application = Key(Application, '8888ddd90-9594-43f3-87f2-8e27e34dbfc6') limit 10

Where 8888ddd90-9594-43f3-87f2-8e27e34dbfc6 is the PK of Application

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

79221334

Date: 2024-11-25 00:41:20
Score: 10 🚩
Natty: 4.5
Report link

Did you find a solution to this? I'm facing the same issue

Reasons:
  • RegEx Blacklisted phrase (3): Did you find a solution to this
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm facing the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find a solution to this
  • Low reputation (1):
Posted by: Kat

79221333

Date: 2024-11-25 00:41:20
Score: 2
Natty:
Report link

After you've renamed all of the manifests, directories, name of the app, etc., don't forget this little file: .idea/.name That's what feeds the name to the project name-and-widget, here:

picture of my Android Studio session

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: D. Goldhirsch

79221329

Date: 2024-11-25 00:38:20
Score: 1
Natty:
Report link

Now it's possible, you just have to add the file path in the config.toml:

[functions.hello-world]
# other entries
entrypoint = './functions/hello-world/index.js' # path must be relative to config.toml

entrypoint is available only in Supabase CLI version 1.215.0 or higher.

https://supabase.com/docs/guides/functions/quickstart#not-using-typescript

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

79221324

Date: 2024-11-25 00:28:18
Score: 1
Natty:
Report link

If you are using Bitbucket Cloud, you can use the Forge app described in this article:

Access and Share Repository Size Data Across All Projects

The app adds the size information in the repository overview for each user to see.

The app adds a Workspace Settings Menu page with the size of all repositories in a workspace and a download option to export the information in a CSV file.

I'm showing how the app works in this YouTube video.

Reasons:
  • Blacklisted phrase (1): this article
  • Whitelisted phrase (-1.5): you can use
  • No code block (0.5):
  • Low reputation (1):
Posted by: Caterina Curti

79221321

Date: 2024-11-25 00:26:16
Score: 11 🚩
Natty: 6
Report link

Have you managed to use Autogen with NVIDIA NIMs? if so, could you provide an update? Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (3): Have you managed
  • RegEx Blacklisted phrase (2.5): could you provide
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Marcelo

79221315

Date: 2024-11-25 00:24:15
Score: 4
Natty:
Report link

change it and fixed for my issue: https://github.com/CocoaPods/CocoaPods/issues/12671#issuecomment-2467142931

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

79221301

Date: 2024-11-25 00:14:13
Score: 2
Natty:
Report link

Enter the sign-in code shown on the sandbox sign-in interface in the field below to authorize the sandbox environment to connect to your account and load your app in development mode.

Sign-In Code

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

79221300

Date: 2024-11-25 00:13:12
Score: 0.5
Natty:
Report link

I let the code talk:

functions:
    TheNameOfFunction:
    name: 'TheNameOfFunction'
    handler: src/functions/func.default
    events:
      - s3:
          bucket: !Ref StreamS3
          event: s3:ObjectCreated:*
          existing: true
resources:
  Resources:
    Type: AWS::Lambda::Permission
    DependsOn:
      - TheNameOfFunctionLambdaFunction # --> `${FuncName}LambdaFunction`
      - StreamS3
    Properties:
      FunctionName:
        'Fn::GetAtt': ['TheNameOfFunctionLambdaFunction', 'Arn'] # --> `${FuncName}LambdaFunction`
      Action: 'lambda:InvokeFunction'
      Principal: 's3.amazonaws.com'
      SourceArn: !GetAtt MetricStreamS3.Arn

So the format goes as: ${FuncName}LambdaFunction

More info:

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

79221299

Date: 2024-11-25 00:13:12
Score: 0.5
Natty:
Report link

The -j flag of ip outputs in JSON format. You can parse that with jq:

ip -j link show enp3s0 | jq -r '.[].address'
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Adrian

79221288

Date: 2024-11-25 00:05:11
Score: 0.5
Natty:
Report link

This is essentially a docker/container image whereas the public repository contains code for the Azure VM images.

github-hosted runners execute the workflows in virtual machines hosted in Azure.

If you intend to use the same VM images repository, then you need to set the VM infrastructure in Azure and deploy your VM with images generated from the repository.

However, for containerized self-hosted runner you need to create your own docker images, the public github runner images repository can only provide you with the software that you may intend to install in your image.

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

79221285

Date: 2024-11-25 00:03:10
Score: 1.5
Natty:
Report link

Ok, found an explanation here https://note.nkmk.me/en/python-numpy-dtype-astype/ Scroll down to "The number of characters in strings"

numpy creates the array with the maximum number of characters allowed in an element = the longest element. In my case this is 3. That is what dtype='<U3' indicates when you print the array. To allow additional characters in an element specify the datatype as dtype = 'U#' where # is the number of characters desired. I want to substitute "high" for "low" so dtype = 'U4' will work as indicated in the code below:

import numpy as np

X = np.array(["low"]*10, dtype = 'U4')
X

This returns: array(['low', 'low', 'high', 'low', ...])

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: ThackeryW

79221279

Date: 2024-11-24 23:56:09
Score: 2
Natty:
Report link

This free plugin does exactly what you are looking for:

https://wordpress.org/plugins/sa-hosted-checkout-for-woocommerce/

It will replace your WooCommerce checkout with Stripe Checkout, bypassing the WooCommerce checkout completely.

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

79221273

Date: 2024-11-24 23:52:08
Score: 1.5
Natty:
Report link

You can use Langchain for building a RAG + Text to SQL LLM chat bot. Please see this Langchain tutorial.

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

79221272

Date: 2024-11-24 23:52:08
Score: 2.5
Natty:
Report link

As I copied the code to edit the answer I saw I had added a Container to put the field Container in. I removed that extra Container, and the 2 screens are displaying the same on the 13" skin in the Simulator. I will keep working with it to see if the odd behavior comes back.

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

79221269

Date: 2024-11-24 23:46:07
Score: 1
Natty:
Report link

So, you have different approaches here that could work. I believe it's important to understand what these approaches are designed for before making your choice.

OnValidate [bad choice]
It is triggered sporadically when serialized properties are changed or scripts recompile but it doesn't run consistently, making it unsuitable for smooth, frame-dependent operations. This is great to validate user data in the inspector!

OnDrawGizmos [Recommended for quick prototyping, with limitations]
Perfect for frame-dependent updates while the Scene view is active. On the other hand... it stops when the Scene view is not rendering, coupling the behavior with the editor's rendering process. This works great when you want to render operations your scripts are doing (raycasting, positioning, distances, trigger areas, ...). So... on a practical level it could perfectly satisfy your needs but it's not a great choice for a long-term solution right? Please check OnDrawGizmosSelected too.

ExecuteAlways [not the cleanest choice]
This is great for cases where a behavior designed for running constantly during play could/should also run while not playing. Let's say you're setting up a scene to render a Model rotating on the Y axis in loop: it could be useful to see the model rotating even when not playing, maybe while finishing up with the rest of the environment. --> ExecuteAlways

EditorCoroutines [Recommended for long term solutions]
Provides clean, consistent frame updates independent of Scene view rendering. Requires the Editor Coroutines package and to understand that some yield won't work as in standard Coroutines (WaitForSecRealTime) but... since you were using OnValidate [editor only callback method] and tried coroutines, I assume EditorCoroutines are perfect for your case. Oh, you need to download a pkg I believe.

AsyncMethods [ great alternative ]
Per editor frame using async/await... needs a little effort to get used to it if you never had but it could provide a great solution without having to download extra pkgs or forcing "dirty approaches". This approach is very versatile and it isn't really limited to very specific scenarios.

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

79221264

Date: 2024-11-24 23:37:06
Score: 2.5
Natty:
Report link

This is a bug in Expo Go! Because according to Expo documentation: https://docs.expo.dev/versions/latest/sdk/map-view/, MapView component is packaged with Expo Go. They have actualy highlighted that paragraph! I am about to report this as a bug.

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

79221261

Date: 2024-11-24 23:35:03
Score: 6.5 🚩
Natty: 4.5
Report link

A mi también me paso lo mismo pero si estas usando anaconda y tienes las versiones mas recientes el IN[] y el Out [] no te va a salir, de todas maneras eso no importa porque es un detalle visual a ti lo que te interesa es que las celdas te ejecuten la función de entrada y salida, solo es una pequeñez del programa

Reasons:
  • Blacklisted phrase (1): porque
  • Blacklisted phrase (1): todas
  • RegEx Blacklisted phrase (2.5): mismo
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: miguelangelcpr

79221252

Date: 2024-11-24 23:27:01
Score: 1
Natty:
Report link

Actually, I just found a way to execute multiple server actions in parallel, see https://github.com/icflorescu/next-server-actions-parallel.

Disclaimer: I'm also a contributor to the tRPC ecosystem, so I'm obviously a bit biased against creating unnecessary REST endpoints.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: Ionut-Cristian Florescu

79221248

Date: 2024-11-24 23:23:00
Score: 0.5
Natty:
Report link

For anyone bumping into this, server actions were considered by many a boilerplate-free alternative to tRPC, and not being able to execute them in parallel was far from ideal.

There are even a few (12 months old) issues in Next.js repo regarding this, so it's obviously a known pain-point for many people.

Well, it turns out you can actually invoke them in parallel, have a look at the repo here: https://github.com/icflorescu/next-server-actions-parallel

Reasons:
  • No code block (0.5):
Posted by: Ionut-Cristian Florescu

79221247

Date: 2024-11-24 23:22:00
Score: 3
Natty:
Report link

Add translate-y-full class to the drawer from the bottom and this will help you to solve your issue

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

79221240

Date: 2024-11-24 23:11:58
Score: 1
Natty:
Report link

When a server is used to run Virtual Machines, using para-virtualized network interfaces which are emulated by the Hypervisor is the simplest, but by far not the most efficient solution. Therefore, when a VM guest needs a performant network interface, SR-IOV approach is used, whereby the physical network card exposes a number of Virtual Functions (VFs), and the Hypervisor exposes to each VM one or more of these VFs as a full PCI device. From the point onward, the VM guest has direct access to the network card hardware resources carved out for the assigned VFs. Often, a single VM guest needs more than just one network interface, as would be the case for a virtual appliance functioning as router or firewall. Such VFs which represent a splinter of a physical network card as often referred to as "vNIC" (virtual network interface card) or "ENA" (elastic network adapter in the case of AWS). The number of such vNICs (and hence VFs) required is in proportion to the count of VMs that a server should suppport, which can reach 256 guests on a server with 2 sockets, 64 CPU cores each with HyperThreading - at 2 vNICs per VM on average, the number would reach 1,000 VFs. If the server is intended to support containers (such as Kubernetes), being lighter than full-fledged virtual machines allows even more containers on a server, which when combined with a requirement for performant networking, i.e. SR-IOV (direct container access to network card hardware queues), means many thousands of VFs need to be supported.

With respect to implementation, Synopsis has published an article addressing the flop count challenge you are concerned about, and they recommend using SRAM to store the configuration space of PCIe devices rather than straight flops.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Starts with a question (0.5): When a
  • Low reputation (1):
Posted by: Leonid Rosenboim

79221232

Date: 2024-11-24 23:07:57
Score: 2.5
Natty:
Report link

Configure logback https://logback.qos.ch/manual/configuration.html#definingProps and use system properties (-D) to set configuration parameters in the logback-spring.xml or on the logback.xml.

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

79221229

Date: 2024-11-24 23:06:57
Score: 2.5
Natty:
Report link

does the following satisfy your requirement?

cat test.py 
import polars as pl
import duckdb
data = pl.DataFrame({"a":[1,2,3,]})
duckdb.sql("COPY (select * from data) to 'test.csv'")
$ python test.py
$ cat test.csv 
a
1
2
3
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: ticktalk

79221223

Date: 2024-11-24 23:02:56
Score: 1.5
Natty:
Report link

try custom rewriting

pathRewrite: function (path, req) { return path.replace('/users-api', '/api/users') }
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: bakiiun

79221203

Date: 2024-11-24 22:37:52
Score: 2
Natty:
Report link

Try using mime version 2.5.2. instead. I had the same error while using mime 4.0.4 and after this the error was gone.

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

79221202

Date: 2024-11-24 22:36:52
Score: 1.5
Natty:
Report link

I actually found a solution and published a little package that enables you to execute multiple actions in parallel, have a look at the repo:
https://github.com/icflorescu/next-server-actions-parallel

Reasons:
  • Low length (1):
  • No code block (0.5):
Posted by: Ionut-Cristian Florescu

79221192

Date: 2024-11-24 22:28:50
Score: 0.5
Natty:
Report link

As mentioned in Apple's documentation, only these 3 fields are populated:

A closure that receives an NEHotspotNetwork object that contains the current SSID, BSSID, and security type. This call doesn’t populate other fields in the object.

So you won't get signalStrength

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

79221191

Date: 2024-11-24 22:26:50
Score: 2
Natty:
Report link

This turned out to be a duplicate of "AWS CloudFront access to S3 bucket is denied". The "Origin Access Identity" "Signing behavior" must be "Always sign requests". I had several origin access identities and I somehow picked the one with no signing. You can view and edit your Origin Access Identities in the cloudfront console at the top level under Security > Origin access.

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

79221190

Date: 2024-11-24 22:25:49
Score: 2
Natty:
Report link

I just want to add that this is still a problem in Nov 2024. M3 Air - Macos Sequoia

it wasn't easy to find this as a solution, so brining attention to it here.

run this : softwareupdate --install-rosetta

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

79221176

Date: 2024-11-24 22:17:48
Score: 1.5
Natty:
Report link

This doesn't work in my experience because the installation hangs up specifically when you're using an nvme drive with dual boot and a previous version of fedora already once installed. Even if you remove that defo It still sees that old fedora boot folder in the UEFI. In order to erase that folder you have to boot into the usb iso, use fdisk command to find the name of the bootable efi, create an empty efi directory, mount that bootable efi file to the efi directory you just made, and then use the ls command to verify it boots in fedora, then use the rm command to remove fedora folder. Now you should be able to go back to root and then unmount and reboot. now you should be able to reboot using the usb stick iso and install normally.

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

79221172

Date: 2024-11-24 22:15:47
Score: 1.5
Natty:
Report link

I just plowed headlong into this issue - I would have commented on the 'right' answer by Andy Chang, but not enough rep!

'overlapped' is another term for Asynchronous (Boppity Bop) and I can confirm that a single pipe, with both client & server using PipeOptions.Asynchronous operates full duplex without locking up.

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

79221164

Date: 2024-11-24 22:09:46
Score: 1
Natty:
Report link

You need to use either #global {} in the CSS or <div class="global"> in the HTML. Ids and classes are two different things, and using the wrong CSS selector will not work.

Using .global will make CSS try to find an element in the class global.

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

79221161

Date: 2024-11-24 22:05:46
Score: 3
Natty:
Report link

I had spelling mistake in my docker file in the COPY command and when I corrected it it work.

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

79221158

Date: 2024-11-24 22:00:44
Score: 0.5
Natty:
Report link

An update to @saptarshi-basu answer,

  1. Buffer.slice is now deprecated and replaced with Buffer.subarray

  2. The salt can also be added to the encrypted buffer array to help in the decryption process later

So a javascript implementation becomes

//--------------------------------------------------
//  INCLUDES
//--------------------------------------------------
    const crypto = require('crypto');
    const { Buffer } = require("buffer");
//--------------------------------------------------



//-----------------------------------------
//      module exports
//-----------------------------------------
    module.exports = {  encryptVal,
                        decryptVal
                    };
//-----------------------------------------



//--------------------------------------------------
//  CONSTANTS
//
//--------------------------------------------------
    const ENCRYPTION_CONSTANTS = {
        ALGORITHM:              'aes-256-gcm',  //--the algorithm used for encryption
        KEY_BYTE_LENGTH:        32,             //--the length of the key used for encryption
        IV_BYTE_LENGTH:         16,             //--the length of the initialization vector
        SALT_BYTE_LENGTH:       16,             //--the length of the salt used for encryption
        AUTH_TAG_BYTE_LENGTH:   16,             //--the length of the authentication tag
        INPUT_ENCODING:         'utf-8',        //--the encoding of the input data
        OUTPUT_ENCODING:        'base64url',    //--the encoding of the output data in base64url (url/cookies friendly)

        //OUTPUT_ENCODING:      'base64',       //--the encoding of the output data in base64
        //OUTPUT_ENCODING:      'hex',          //--the encoding of the output data in hex
    }
//--------------------------------------------------


//--------------------------------------------------


/**
 * This function is use to generate a random key
 * for the encryption process.
 * 
 * @returns {Buffer} the generated random key
 */
async function getRandomKey() {
    return crypto.randomBytes(ENCRYPTION_CONSTANTS.KEY_BYTE_LENGTH);
}



/**
 * This function is use to generate a key base
 * on the given password and salt for the 
 * encryption process.
 * 
 * @returns {Buffer} the generated random key
 */
async function getKeyFromPassword(gPassword, gSalt){
    return crypto.scryptSync(gPassword, gSalt, ENCRYPTION_CONSTANTS.KEY_BYTE_LENGTH);
}


/**
 * This function is use to generate a random salt
 * for the encryption process.
 * 
 * @returns {Buffer} the generated random salt
 */
async function getSalt(){
    return crypto.randomBytes(ENCRYPTION_CONSTANTS.SALT_BYTE_LENGTH);
}


/**
 * This function is use to generate a random salt
 * for the encryption process.
 * 
 * @returns {Buffer} the generated random salt
 */
async function getInitializationVector(){
    return crypto.randomBytes(ENCRYPTION_CONSTANTS.IV_BYTE_LENGTH);
}


/**
 * This function is use to encrypt a given value using
 * the given password.
 * 
 * @param {Buffer} gVal the value to be encrypted
 * @param {Buffer} gPassword the password to be used for encryption
 * 
 * @returns {Buffer} the encrypted value
 */ 
async function encryptVal(gVal, gPassword){

    try{
        const algorithm = ENCRYPTION_CONSTANTS.ALGORITHM;
        
        const iv = await getInitializationVector();
        const salt = await getSalt();
        const key = await getKeyFromPassword(gPassword, salt);

        const cipher = crypto.createCipheriv(algorithm, key, iv, {
            authTagLength: ENCRYPTION_CONSTANTS.AUTH_TAG_BYTE_LENGTH
        });

        const encryptedResults = Buffer.concat([cipher.update(gVal, ENCRYPTION_CONSTANTS.INPUT_ENCODING), cipher.final()]);

        return Buffer.concat([iv, salt, encryptedResults, cipher.getAuthTag()])
                 .toString(ENCRYPTION_CONSTANTS.OUTPUT_ENCODING);
                 
    }catch(err){

        //--log error to the system
        const errMsg = '--->>ERROR: `encryptVal()` error: '+err;
        console.log(errMsg);
    }

}


/**
 * This function is use to decrypt a given encrypted 
 * value using the given password.
 * 
 * @param {Buffer} gEncryptedVal the value to be decrypted
 * @param {Buffer} gPassword the password to be used for decryption
 * 
 * @returns {Buffer} the decrypted value
 */ 
async function decryptVal(gEncryptedVal, gPassword){

    try{
        const algorithm = ENCRYPTION_CONSTANTS.ALGORITHM;
        const encryptedBuffer = Buffer.from(gEncryptedVal, ENCRYPTION_CONSTANTS.OUTPUT_ENCODING); 
        
        const iv = encryptedBuffer.subarray(0, ENCRYPTION_CONSTANTS.IV_BYTE_LENGTH);
        const salt = encryptedBuffer.subarray(ENCRYPTION_CONSTANTS.IV_BYTE_LENGTH, ENCRYPTION_CONSTANTS.IV_BYTE_LENGTH + ENCRYPTION_CONSTANTS.SALT_BYTE_LENGTH);
        const encryptedData = encryptedBuffer.subarray((ENCRYPTION_CONSTANTS.IV_BYTE_LENGTH + ENCRYPTION_CONSTANTS.SALT_BYTE_LENGTH), -ENCRYPTION_CONSTANTS.AUTH_TAG_BYTE_LENGTH);
        const authTag = encryptedBuffer.subarray(-ENCRYPTION_CONSTANTS.AUTH_TAG_BYTE_LENGTH);

        const key = await getKeyFromPassword(gPassword, salt);

        const decipher = crypto.createDecipheriv(algorithm, key, iv, {
            authTagLength: ENCRYPTION_CONSTANTS.AUTH_TAG_BYTE_LENGTH
        });

        decipher.setAuthTag(authTag);

        return Buffer.concat([decipher.update(encryptedData), decipher.final()])
                     .toString(ENCRYPTION_CONSTANTS.INPUT_ENCODING);
    
    }catch(err){

        //--log error to the system
        const errMsg = '--->>ERROR: `decryptVal()` error: '+err;
        console.log(errMsg);
    }

}

You can try the functions above as:

    //--test encrypt and decrypt helper functions
    async function testEncryptDecrypt(){

        const txt = 'Hello World';
        const password = "opoo";

        const encryptedTxt = await encryptVal(txt, password);
        const decryptedTxt = await decryptVal(encryptedTxt, password);

        console.log('-->>OUTPUT: the encrypted text is: '+encryptedTxt);
        console.log('-->>OUTPUT: the decrypted text is: '+decryptedTxt);
    }

    testEncryptDecrypt();

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @saptarshi-basu
  • Low reputation (1):
Posted by: Oposinii

79221152

Date: 2024-11-24 21:53:41
Score: 6 🚩
Natty:
Report link

Unfortunately Lbank doesn't any api help for PHP,but you can check this link dude: https://git.fabi.me/flap/ccxt/-/blob/d34a0651b209ac77453f05c4ce31883f0cd2d6b8/php/lbank.php

Reasons:
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): check this link
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mohsen Dadmohammadi

79221147

Date: 2024-11-24 21:49:40
Score: 0.5
Natty:
Report link
  1. https://appstoreconnect.apple.com/business
  2. Select your business
  3. In Agreements check status for Paid Apps Agreement
  4. Check for warnings (for me were Tax Forms) and fill all missing data
Reasons:
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: P.O.W.

79221139

Date: 2024-11-24 21:44:38
Score: 0.5
Natty:
Report link

GeoJSON is always lon/lat as defined by the standard.

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

79221136

Date: 2024-11-24 21:41:37
Score: 4.5
Natty:
Report link

2024-11-24 16:21:15.336 8833 8833 com.conena.logcat.reader D View : [ANR Warning]onLayout time too long, this =DecorView@265b7e0[MainActivity]time =696 ms I get this message and don't know how to fix it

Reasons:
  • RegEx Blacklisted phrase (2): don't know how to fix
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Chris Martin

79221129

Date: 2024-11-24 21:35:36
Score: 2.5
Natty:
Report link
git show --all -- path/to/file
Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Max Cury

79221121

Date: 2024-11-24 21:30:35
Score: 1
Natty:
Report link

Finally fixed it, I think it was coming from a misconfiguration of Webstorm. I followed the doc on Jetbrain's website. In particular I took the time to properly configure Language Services for TypeScript and run configuration, I use ts-node on the produced JS code. There seems to be no need to use npx tsc --init, to generate the package.json and tsconfig.json one can simply create the files from the Project window.

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

79221117

Date: 2024-11-24 21:29:34
Score: 4
Natty:
Report link

Materialize and Feldera support mutual recursion.

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

79221108

Date: 2024-11-24 21:24:32
Score: 4
Natty: 4.5
Report link

I made an app to do the same for meta quest 3, check this out.

https://zoynctech.itch.io/room-scan-exporter-for-meta-quest-3

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

79221096

Date: 2024-11-24 21:16:31
Score: 2.5
Natty:
Report link

Hey I configured the source_table_name as '*' but when syncing to target database it says

[master-engine] - PushService - Push data sent to destination:002:002
[client-engine] - ManageIncomingBatchListener - The incoming batch 001-138 failed: Could not find the target table '*'
[master-engine] - AcknowledgeService - The outgoing batch 002-138 failed: Could not find the target table '*' 

how are you syncing those?

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

79221082

Date: 2024-11-24 21:10:29
Score: 1
Natty:
Report link

On Frontend, You will need to specify authMode.

import { generateClient } from "aws-amplify/api";
import type { Schema } from "~/amplify/data/resource";

const client = generateClient<Schema>();
const response = await client.queries.sendEmail({
  name: "Amplify",
},{
    authMode: "userPool"
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: shahzain

79221080

Date: 2024-11-24 21:08:29
Score: 5.5
Natty: 5.5
Report link

doest work , how is the uart_rx_intr_handler gonna be called?

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

79221079

Date: 2024-11-24 21:07:28
Score: 3
Natty:
Report link

I do not exactly get what you're trying to achieve, but an array in js could be filtered like this

let arr = [123,345,567,789]
    
let Search = 3
    
arr.filter(x=> x.toString().includes(Search))

// Result: [123,345]

Please let know if it helps or provide more information

Reasons:
  • RegEx Blacklisted phrase (2.5): Please let know
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Federico Crovetto

79221073

Date: 2024-11-24 21:00:28
Score: 2
Natty:
Report link

I had the same class in the /lib folder and deleted that and it worked.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Whitelisted phrase (-1): I had the same
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Benjamin Sunderland

79221072

Date: 2024-11-24 20:59:27
Score: 1
Natty:
Report link

Tried some things and found a couple ways to approximate it. wxdraw(terminal='png,file_name="par",gr3d(axis_3d=false,border=false,line_width=6,color=gray82 ,view=[111,0],implicit(1.04x^2+1.2y^2+9921z^2-1,x,-1,1,y,-1,1,z,-1,1) ,line_width=.3,color=black,makelist(parametric(sin(t)cos(%pip/8),sin(t)sin(%pip/8),cos(t),t,0,%pi+.1),p,0,8),makelist(parametric( sin(t%pi/16)cos(p),sin(t%pi/16)sin(p),cos(t%pi/16),p,0,%pi),t,0,13) ,proportional_axes='xyz))

enter image description here

and wxdraw(terminal='png,file_name="multi",gr3d(axis_3d=false,border=false,line_width=15,color=gray80,view=[66,0],implicit(1.2x^2+2y^2+9921z^2-1,x,-1,1,y,-1,1,z,-1,1),line_width=.5,color=black,xu_grid=12,yv_grid = 16,spherical(1,a,%pi-.1,2%pi+.21,z,0,%pi),proportional_axes='xyz));

enter image description here

If really wanted to could probably find a way to make dotted lines on the rear end or can do that in tex along with a better way to make the axis/dimensions text notation etc.than wxmaxima wxdraw does.

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

79221071

Date: 2024-11-24 20:59:27
Score: 0.5
Natty:
Report link

Using ESLint 9 and its flat configuration, env is no more valid. You have to add ...globals.jasmine in the globals object of the language options (in your eslint.config.mjs configuration file).

languageOptions: {
//...
  globals: {
  //...
  ...globals.jasmine
  }
},
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ARno

79221068

Date: 2024-11-24 20:57:27
Score: 1.5
Natty:
Report link

I fixed the issue by updating the CMAKE in SDK Tools in Android Studio, deleting the old build and re-building the app again. Also, please make sure you have the latest Visual C++ Redistributable installed.

enter image description here

Reasons:
  • Whitelisted phrase (-2): I fixed
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: mukunda

79221065

Date: 2024-11-24 20:56:26
Score: 0.5
Natty:
Report link

Just had the same problem: check the binding with

netsh http show sslcert

then correct the entries if needed:

netsh http add sslcert hostnameport=<servername>:443 certhash=<cerhash> appid={yourappid} certstorename=MY
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Situ

79221044

Date: 2024-11-24 20:46:24
Score: 0.5
Natty:
Report link

It's 2024. I hope this helps someone. I stumbled upon a solution thanks to posts here.

When using filter, you are then able to change the color of the "x".

input[type="search"]::-webkit-search-cancel-button {
  filter: invert(100%);
  color: yellow; 
}
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Whitelisted phrase (-1): hope this helps
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: angelblue05

79221033

Date: 2024-11-24 20:43:23
Score: 1
Natty:
Report link

The approach worked really well:

git clone

git rm --cache[filename] ##no space between cache and filename

git commit -m "Your helper message"

git push (push the change made to the git repository)

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

79221027

Date: 2024-11-24 20:35:22
Score: 1
Natty:
Report link

It seems like when saving Influencer it is trying to create a new record - and if Influencer is derived from User - then you are missing email, username, etc.

I think what would work is after committing the User record - re-read it back as the appropriate type (Influencer/Sponsor) - then fill in additional params.

I am not sure why you can’t just create an Influencer/Sponsor record in full at registration time rather than the 2-step process.. I must be missing something.

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

79221026

Date: 2024-11-24 20:35:22
Score: 1.5
Natty:
Report link

The SetClipboardViewer is an older protocol dating back to Windows 95. The newer version is the AddClipboardFormatListener

Here is a writeup showing how to use the AddClipboardFormatListener in C#:

Monitor for clipboard changes using AddClipboardFormatListener

Best of luck.

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

79221024

Date: 2024-11-24 20:35:22
Score: 2.5
Natty:
Report link

My suggestion will be to make sure you have turned on LSP in the settings of vscode. Simply go to settings and search for "LSP", you will find a checkbox containing "auto-completion".

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

79221018

Date: 2024-11-24 20:31:21
Score: 0.5
Natty:
Report link

I think some stuff changed since the answers for mongo 6 did not work for me, using mongo 8. So I made slight tweaks (here's a GitHub repository).

openssl rand -base64 756 > ./init/mongo/mongo-keyfile
chmod 400 ./init/mongo/mongo-keyfile
name: mongo-stack

services:
  mongo:
    image: mongo:8.0
    restart: unless-stopped
    command: ["--replSet", "rs0", "--keyFile", "/etc/mongo-keyfile"]
    container_name: starter-mongo
    environment:
      MONGO_INITDB_ROOT_USERNAME: root
      MONGO_INITDB_ROOT_PASSWORD: example
    volumes:
      - mongo-vol:/data/db
      - ./init/mongo/mongo-keyfile:/etc/mongo-keyfile:ro
    networks:
      - mongo-net
    ports:
      - 27017:27017
    healthcheck:
      test: mongosh --host localhost:27017 --eval 'db.adminCommand("ping")' || exit 1
      interval: 5s
      timeout: 30s
      start_period: 0s
      start_interval: 1s
      retries: 30

  mongo-init-replica:
    image: mongo:8.0
    container_name: mongo-init-replica
    depends_on:
      - mongo
    volumes:
      - ./init/mongo/init-replica.sh:/docker-entrypoint-initdb.d/init-replica.sh:ro
    entrypoint: ["/docker-entrypoint-initdb.d/init-replica.sh"]
    networks:
      - mongo-net

volumes:
  mongo-vol:
    driver: local

networks:
  mongo-net:
    name: starter-mongo-net
    driver: bridge
#!/bin/bash

echo ====================================================
echo ============= Initializing Replica Set =============
echo ====================================================

# Loop until MongoDB is ready to accept connections
until mongosh --host mongo:27017 --eval 'quit(0)' &>/dev/null; do
    echo "Waiting for mongod to start..."
    sleep 5
done

echo "MongoDB started. Initiating Replica Set..."

# Connect to the MongoDB service and initiate the replica set
mongosh --host mongo:27017 -u root -p example --authenticationDatabase admin <<EOF
rs.initiate({
  _id: "rs0",
  members: [
    { _id: 0, host: "localhost:27017" }
  ]
})
EOF

echo ====================================================
echo ============= Replica Set initialized ==============
echo ====================================================

Please note that I tried to run the entry point file directly from the mongo service but it simply refused to initiate the replica set for whatever reason. It had to be done from a separate container.

Reasons:
  • Blacklisted phrase (1): did not work
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
Posted by: usersina

79221008

Date: 2024-11-24 20:26:20
Score: 5.5
Natty:
Report link

I just found that the cause of the error is I misconfigured the router_id. It was default -> source to destination

and I have now error that

Error Message = ORA-00942: table or view does not exist. It should create the table on the destination right?

Reasons:
  • RegEx Blacklisted phrase (1): I have now error
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Mendbayar Alzakhgui

79221006

Date: 2024-11-24 20:26:20
Score: 2.5
Natty:
Report link

it is simple because during testing you used your website so it is auto-generated data or we have to contact SQL for the data processing...it shows the active traffic time from all users. they are not advanced to show the user data as per their requirements so,

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

79220997

Date: 2024-11-24 20:21:18
Score: 5
Natty: 5
Report link

i have a deer camra but it keeps going to the same thing how do I git the pitcher of itr neve cud figer it out can yo uple help me git the pitcher off this stopped camra

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): how do I
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hunter Graham

79220989

Date: 2024-11-24 20:13:16
Score: 3.5
Natty:
Report link

This algo fixes for me! thanks @SaifGo

cmd as admin:

wsl --update
netsh winsock reset
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1.5):
  • Has code block (-0.5):
  • User mentioned (1): @SaifGo
  • Low reputation (1):
Posted by: Marcos Vinicius Ferreira

79220979

Date: 2024-11-24 20:07:15
Score: 1
Natty:
Report link

To use z-index to put the box-shadow over the box, set the z-index of the box to 0, and the z-index of the box-shadow to 1, or any value greater than zero, like this:

.box {
 z-index:0;
}

.box-shadow {
 z-index:1;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: TheOneAndOnlySammy

79220976

Date: 2024-11-24 20:06:15
Score: 1.5
Natty:
Report link

Thanks for the information above. I have tried a new way to calculate it BUT in a real Pixel6 device, not an emulator.

val xdpi = displayMetrics.xdpi -> 409.432 
val ydpi = displayMetrics.ydpi -> 411.891

It is a value around 411

If I calculate the diagonalInches using this value instead of the density I get 6,4inches

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Laura Reyes

79220972

Date: 2024-11-24 20:05:15
Score: 0.5
Natty:
Report link

What worked for me was a simple restart, as suggested by the message.

Line in particular:

"The system may need to be restarted so the changes can take effect"

So, I restarted. 10 or so seconds after sign-in, a pop-up window appears: non-responsive Ubuntu installation screen

But in my case, this was a dud! So I proceeded to install a distribution the normal way, using:

  1. wsl --list --online to list the available distros.
  2. wsl --install -d <DistroName> where represents an option from the list.

using wsl commands to install a distribution

In my specific case, I wanted to install Ubuntu which apparently was already installed, but re-installs and launches anyway. Successful Ubuntu installation

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: mfm

79220971

Date: 2024-11-24 20:05:14
Score: 0.5
Natty:
Report link

std::array is probably the best fit for a modern fixed size contiguous memory container.

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

79220968

Date: 2024-11-24 20:01:14
Score: 2
Natty:
Report link

the solution is to uninstall opera mobile... learned my lesson after troubleshooting for 45 minutes..

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Gitago

79220953

Date: 2024-11-24 19:53:12
Score: 3.5
Natty:
Report link

Disappointing that people can't answer the actual question raised by the OP but provide alternative mechanisms instead.

While these may well work, they don't help people understand the underlying cause.

This particular issue appears to be the RetentionPolicyTagLinks parameter takes a specific object type so cannot handle a hash table as input, but perhaps someone can suggest methods to cast to different object types with PowerShell?

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

79220951

Date: 2024-11-24 19:52:12
Score: 0.5
Natty:
Report link
def handle_default_values(df):
    for column, dtype in df.dtypes:
        if dtype == 'int':
            df = df.withColumn(column, when(col(column).isNull(), lit(-1)).otherwise(col(column)))
        elif (dtype == 'float') or (dtype == 'double') or (dtype =='decimal(18,2)'):
            df = df.withColumn(column, when(col(column).isNull(), lit(0.0)).otherwise(col(column)))
        elif dtype == 'string':
            df = df.withColumn(column, when(col(column).isNull(), lit('UNK')).otherwise(col(column)))
        elif dtype == 'timestamp':
            df = df.withColumn(column, when(col(column).isNull(), to_date(lit('1900-01-01'))).otherwise(col(column)))
    return df
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: pugazhendhi

79220943

Date: 2024-11-24 19:49:11
Score: 2.5
Natty:
Report link

the new yt api requires login and this breaks all public sharing and embeds.

now yt videos are a walled garden you can only see if you are logged in.

so no privacy is allowed if you want to watch a yt video.

if you live in a country with censorship say goodbye to YT and freedom of thought.

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

79220939

Date: 2024-11-24 19:48:10
Score: 1.5
Natty:
Report link

The combination of the 2 FK-keys is a so-called "composite primary key" and as a such can be a primary key. A composite key in an SQL table is a primary key that consists of two or more columns combined to uniquely identify a record in the table. This is used when a single column cannot uniquely identify a row, but a combination of columns can.

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

79220937

Date: 2024-11-24 19:47:10
Score: 2
Natty:
Report link

add in ts code:

navigator.clipboard.writeText('pippo'); 

is javascrpit way, here can found docs: https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_copy_clipboard

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

79220924

Date: 2024-11-24 19:40:08
Score: 1.5
Natty:
Report link

I was able to get it to work. I used the code =SUMIFS(D2:D203, A2:A203, "Not Cooked", C2:C203, G2:G203). I'm not sure why switching the order of the criteria changed the output to one that worked, perhaps by starting with the criterion which applies to every row it allows for the second criterion to be one which has less rows, since there are less unique ingredients then there are ingredient entries next to the meals.

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

79220918

Date: 2024-11-24 19:37:08
Score: 3.5
Natty:
Report link

Thanks for the response. From what I can tell, there is no VS integration. I have been able to sign manually with SignTool.exe.

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

79220899

Date: 2024-11-24 19:30:06
Score: 2.5
Natty:
Report link

If you don’t need any returned value, the smallest HTTP Response is :

HTTP/1.1 204 No Content\r\n\r\n

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