79494936

Date: 2025-03-08 19:46:52
Score: 2
Natty:
Report link

The app UTM http://mac.getutm.app/ uses qemu for emulation. I am able to run an amd64 (x86/x64) VM with an AlmaLinux 9 OS minimal ISO on my arm64 silicon MacBook Pro. However I'm not getting passed the installation, it keeps installing and configuring forever. Of course emulation is slower than virtualisation, but it's so extremely slow that it's unusable :-(

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

79494918

Date: 2025-03-08 19:35:50
Score: 2
Natty:
Report link

One option that requires a tiny bit of extra management is to use a combination of the original answer with project variables in the csproj file.

<Project>
    ...
    <PropertyGroup>
        <!-- mixed inclusive minimum and exclusive maximum version -->
        <EntityFrameworkCoreVersion>[8.0.12,9.0)</EntityFrameworkCoreVersion>
    </PropertyGroup>
    ...
</Project>

and then use the variable to set the version for any packages like this:

<PackageReference Include="Microsoft.EntityFrameworkCore" Version="$(EntityFrameworkCoreVersion)" />

Now, if you use the package manager gui, nuget will still replace $(EntityFrameworkCoreVersion) with the new version (ex: 8.0.13)

However, (and this is the tiny bit of work part) instead of using the package manager gui to update the version(s)...just change the variable inside the csproj file instead.

Full Example: (after you already have it setup with package variables as explained above)
1. Open package manager to observe packages that have updates (in this case 8.0.12 > 9.0.0)
2. Edit the csproj project variable(s) to include the new version in the project variable (ex: [8.0.13,9.0)
3. Save csproj and you're done
4. Next time you look for updates, it will only show greater than 8.0.13, but less than (exclude) 9.0.0

<Project Sdk="Microsoft.NET.Sdk">

    <PropertyGroup>
        <TargetFramework>net8.0</TargetFramework>
        <ImplicitUsings>enable</ImplicitUsings>
        <Nullable>enable</Nullable>
        <EntityFrameworkCoreVersion>[8.0.12,9.0)</EntityFrameworkCoreVersion>
    </PropertyGroup>

    <ItemGroup>
        <PackageReference Include="Microsoft.EntityFrameworkCore" Version="$(EntityFrameworkCoreVersion)" />
        <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="$(EntityFrameworkCoreVersion)" />
        <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="$(EntityFrameworkCoreVersion)" />
    </ItemGroup>

</Project>

It really isn't much more additional/manual work, you can still update many packages at once.

You can also do this with central package management as well by using a Directory.Packages.props file. VS will look for this file in the folder hierarchy all the way to the root folder of the drive your project/solution resides on and a single change to this file will update all projects in a solution vs. just one project. However, I'm not sure when it was introduced...I think it has to be an sdk style project which I think was introduced in VS 2019???

Reasons:
  • Blacklisted phrase (1): ???
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Mike

79494915

Date: 2025-03-08 19:33:50
Score: 1
Natty:
Report link

To answer some of my questions that were left unanswered:

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

79494910

Date: 2025-03-08 19:30:49
Score: 1.5
Natty:
Report link
  1. Syntactically speaking, there is no dependency between the Car class and the Gas class (Car depends on ISource), and therefore there is no realization relationship or aggregation relationship between Car and Gas.

  2. If we speak from the point of view of semantics, then as @Pepijn Kramer correctly noted, Car should not aggregate ISource, such a relationship would be appropriate between, say, Car and IEngine.

Reasons:
  • No code block (0.5):
  • User mentioned (1): @Pepijn
Posted by: nik0x1

79494900

Date: 2025-03-08 19:23:48
Score: 1
Natty:
Report link

Yes, you can do this by using the rollbackOnFailure and returnEditResults properties. The documentation have more details and limitations.

If you want the valid changes to be saved, you can turn off the rollbackOnFailure .

https://developers.arcgis.com/rest/services-reference/enterprise/apply-edits-feature-service-layer/#request-parameters:~:text=true%20%7C%20false-,rollbackOnFailure,-(Optional)

If you want to see the result per feature, set both returnEditResults and rollbackOnFailure to true.
https://developers.arcgis.com/rest/services-reference/enterprise/apply-edits-feature-service-layer/#request-parameters:~:text=true%20%7C%20false-,returnEditResults,-(Optional)

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

79494880

Date: 2025-03-08 19:06:45
Score: 3
Natty:
Report link

After trying different things , at the end i found out that this is an issue that issue is realated to the latest version of node so falling back to older version is a solution like node v20.18

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

79494873

Date: 2025-03-08 19:01:44
Score: 2
Natty:
Report link

I know this is an old question. But to anybody who's facing it, this might help you

You only saw the first part of the log; if you scroll down to almost the end of the log file, you'll see a more specific log pointing you toward the answer.

For example, if you use @Column instead of @JoinColumn in your @ManyToOne relationship, you get the same error. But if you look at the complete log, you'll see why it happened.

Error creating bean with name 'userRepository' defined in com.so.repository.UserRepository defined in @EnableJpaRepositories declared on Application: Cannot resolve reference to bean 'jpaSharedEM_entityManagerFactory' while setting bean property 'entityManager'
.
.
.
Caused by: org.hibernate.AnnotationException: Property 'com.so.domain.UserComment.user' is a '@ManyToOne' association and may not use '@Column' to specify column mappings (use '@JoinColumn' instead)
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): get the same error
  • Low reputation (0.5):
Posted by: Rujal Manandhar

79494866

Date: 2025-03-08 18:56:44
Score: 1.5
Natty:
Report link

we can take advantage of the base parameter of the URL constructor

window.location.href = (new URL("/newQS?string=abc", window.loaction)).href
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: RoboProgramer2012

79494862

Date: 2025-03-08 18:52:43
Score: 1.5
Natty:
Report link

Your issue is caused by undefined behavior due to improper memory usage:

  1. Uninitialized str_of_evens → It contains garbage data, which causes strcat() to behave unpredictably
  2. Using atoi() on a single character → atoi() expects a null-terminated string, but you're passing a single character
  3. Buffer overflow in sum_to_strchar sum_to_str[3]; is too small for storing two-digit numbers safely

I'm attaching the corrected version:

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define MAX_INPUT_LENGTH 255

int main(void) {

    char user_input[MAX_INPUT_LENGTH];
    char *p;
    printf("Welcome to the Credit Card Validator!!\n");
    printf("INSTRUCTIONS: At the prompt, please provide a CC number.\n");

    char example_card_num[] = "4003600000000014";

    int card_num_length = strlen(example_card_num);

    int skip_flag = 0;
    int sum_of_values = 0;
    char value_at_index;

    char str_of_evens[20] = {0};
   
    for (int i = card_num_length - 1; i >= 0; i--) {
        char sum_to_str[4] = {0};

        switch (skip_flag) {
            case 0:
                value_at_index = example_card_num[i];

                sum_of_values += value_at_index - '0';

                skip_flag = 1;
                break;
            case 1:
                value_at_index = example_card_num[i];
                
                int multiplied_value = (value_at_index - '0') * 2;
                
                sprintf(sum_to_str, "%d", multiplied_value);
                
                strncat(str_of_evens, sum_to_str, sizeof(str_of_evens) - strlen(str_of_evens) - 1);            
               
                skip_flag = 0;

                break;
        }
    }
    char value_at_index_two;
    for (size_t i = 0; i < strlen(str_of_evens); i++) {
        value_at_index_two = str_of_evens[i];
        sum_of_values += value_at_index_two - '0';
    }

    printf("~~~~~~~~~~~\n");

    printf("Sum of Values 01: %d\n", sum_of_values);

    return 0;
}
    
Reasons:
  • RegEx Blacklisted phrase (2.5): please provide
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Alphin Thomas

79494857

Date: 2025-03-08 18:49:42
Score: 3.5
Natty:
Report link

I'm getting the same results. You should definitely report this as a bug here.

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

79494855

Date: 2025-03-08 18:47:42
Score: 2.5
Natty:
Report link

You should not use atoi on a non string array char variable because there is no guarantee of it to be null terminated, so atoi would yield unpredictable results.

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

79494853

Date: 2025-03-08 18:46:41
Score: 8.5
Natty: 7.5
Report link

Have you found the solution for this?

Reasons:
  • RegEx Blacklisted phrase (2.5): Have you found the solution for this
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Tamil Selvan

79494850

Date: 2025-03-08 18:44:40
Score: 6 🚩
Natty: 5
Report link

I don't have enough reputation to vote or comment, but thank you Freddie32. You helped me a lot.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (1): helped me a lot
  • RegEx Blacklisted phrase (1.5): I don't have enough reputation
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Fabien A

79494848

Date: 2025-03-08 18:42:39
Score: 0.5
Natty:
Report link

resolved it by updating the localstack version

 public void beforeAll(ExtensionContext context) throws IOException, InterruptedException {
    localStack = new LocalStackContainer(DockerImageName.parse("localstack/localstack:4.1.1"))
        .waitingFor(Wait.forListeningPort()
            .withStartupTimeout(Duration.ofMinutes(5)))
        .withServices(SQS);
    localStack.start();
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: riteshmaurya

79494842

Date: 2025-03-08 18:36:38
Score: 3.5
Natty:
Report link

Same problem

Android Studio (version 2024.2)

Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)

Reasons:
  • RegEx Blacklisted phrase (1): Same problem
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: m. a

79494838

Date: 2025-03-08 18:31:37
Score: 1
Natty:
Report link

I just changed the name keyword argument usage:

<%= icon(name: 'fa-arrow-down', width: '10px', height: '10px') %>

to

<%= icon(name: 'arrow-down', width: '10px', height: '10px') %>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Javier Botero

79494837

Date: 2025-03-08 18:31:37
Score: 2
Natty:
Report link

Thank you Steve for coming back to share your solution! Very helpful. I ran into a similar problem and about pulled my hair out even trying to identify the culprit - worked on one page, not another.

I just wanted to share one other mention, sourced from the official documentation on anti-forgery in ASP.NET Core: https://learn.microsoft.com/en-us/aspnet/core/security/anti-request-forgery?view=aspnetcore-9.0#antiforgery-in-aspnet-core

If you simply have a form with method="post" in one of your Razor pages, even without an action and even if not otherwise used for anything, it will automatically create the hidden input you referenced. Didn't have to add anything to Program.cs or form attribute additions.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Travis

79494831

Date: 2025-03-08 18:28:36
Score: 1
Natty:
Report link

To inlude and exclude files as defined in tsconfig.json at the time of starting the server, You have to use files option with ts-node as described in ts-node npmjs

use one of the following command to start the server:

npx ts-node --files ./src/index.ts

or

npx nodemon --exec "ts-node --files" ./src/index.ts

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

79494827

Date: 2025-03-08 18:26:36
Score: 2
Natty:
Report link

Please follow the Apple's tutorial on requesting App Store reviews.

Also, be aware that reviews on the App Store are version specific, as mentioned on this thread.

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

79494825

Date: 2025-03-08 18:24:35
Score: 1
Natty:
Report link

In my case, the nestjs cli was missing in the vm so I ran docker pull nestjs/cli and it worked. Pull the nestjs cli image and try running docker compose up --build. If the issue still remains, put RUN install -g @nestjs/cli to your docker file. It must be running fine now.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ahmad Raza Khokhar

79494824

Date: 2025-03-08 18:22:35
Score: 2
Natty:
Report link

Try below in your src/polyfills.ts or you might need to use your angular.json file to add this. I am not sure though because this is a straight forward thing. Anyway read this as well. https://frontendinterviewquestions.medium.com/can-we-use-jquery-in-angular-d64e7d4befae https://www.geeksforgeeks.org/how-to-use-jquery-in-angular/


import * as $ from 'jquery';
(window as any).$ = $;
(window as any).jQuery = $;


Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Shashika Silva

79494821

Date: 2025-03-08 18:20:35
Score: 0.5
Natty:
Report link

To fix it I have to create my subsegment and add the trace ID in the right format, this documentation helps me to find this missing part.

this is the final code:

    protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
    {
        string traceId = AWSXRayRecorder.Instance.GetEntity()?.TraceId ?? "Not Available";
        AWSXRayRecorder.Instance.BeginSubsegment($"HttpRequest-{request.RequestUri}");

        try
        {
            _logger.LogInformation("XRayTracingHandler - Sending request to {Url}", request.RequestUri);

            var entity = AWSXRayRecorder.Instance.GetEntity();
            if (entity != null)
            {
                if (!request.Headers.Contains("X-Amzn-Trace-Id"))
                {
                    var subsegmentId = entity.Id;
                    var sampled = AWSXRayRecorder.Instance.IsTracingDisabled() ? "0" : "1";
                    var traceHeader = $"Root={traceId};Parent={subsegmentId};Sampled={sampled}";

                    request.Headers.Add("X-Amzn-Trace-Id", traceHeader);
                }
            }

            var response = await base.SendAsync(request, cancellationToken);
            AWSXRayRecorder.Instance.AddAnnotation("HttpRequest", request.RequestUri?.ToString() ?? "Unknown");
            AWSXRayRecorder.Instance.AddAnnotation("HttpStatus", response.StatusCode.ToString());

            return response;
        }
        catch (Exception ex)
        {
            _logger.LogError(ex, "XRayTracingHandler - Exception occurred");
            AWSXRayRecorder.Instance.AddException(ex);
            throw;
        }
        finally
        {
            AWSXRayRecorder.Instance.EndSubsegment();
        }
    }
Reasons:
  • Blacklisted phrase (1): this document
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Marco Nuñez

79494808

Date: 2025-03-08 18:10:33
Score: 1.5
Natty:
Report link

I came to this question since I want to do the same: include some static functions; not all. I didn't find an answer anywhere, but discovered a way regardless; on my own.

  1. Check EXTRACT_STATIC and HIDE_UNDOC_MEMBERS
  2. Ensure EXTRACT_ALL is unchecked
  3. Ensure each static func you want included has a special comment header (i.e. starts with /**)
  4. (Of course) the file must have @file at the top

IMO this is inconsistent (and therefore annoying) behavior of doxygen. In general, doxygen includes a declaration that has the special comment header (as well as in a file with @file). But, static funcs are treated differently. You have to tell it to include all static funcs. But, that includes static funcs that have no doc comments! Annoying. So, have to tell it to ignore any declaration that has no documentation (special header block). Note that if you want to include declarations (i.e. non-static) that have no docs, then you won't want to make that change and then this procedure won't work for you. But, if want undocumented declarations included then you probably want all static funcs included. In fact, you probably want to check EXTRACT_ALL.

Note that EXTRACT_ALL is inconsistent with EXTRACT_STATIC. EXTRACT_ALL overrides HIDE_UNDOC_MEMBERS, but EXTRACT_STATIC does not. Come on doxygen!

Note: In the doxygen GUI frontend (doxywizard), the settings are under Expert tab, Build topic.

As this is a older question I'm sure the OP has moved along a long time ago. But, doxygen is still used today.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • No code block (0.5):
  • User mentioned (1): @file
  • User mentioned (0): @file
Posted by: steve

79494804

Date: 2025-03-08 18:01:32
Score: 2
Natty:
Report link

React batches state updates inside event handlers to optimize performance.In React 18+, when multiple state updates occur inside an event handler, React batches them together and performs only one re-render instead of multiple

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

79494803

Date: 2025-03-08 18:00:32
Score: 0.5
Natty:
Report link

You can customize styling by using linkStyle with a comma separated list of link ids

For example

linkStyle 0,1,2,4,5,8,9 stroke-width:2px,fill:none,stroke:red;

Also there is a similar issue here

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

79494799

Date: 2025-03-08 17:58:31
Score: 1.5
Natty:
Report link

The current documentation of Vercel mentions to create a folder named api in the root directory. Then move the index.js (if you don't have this file you should rename your server starting file to this name) to the api folder. Then create a vercel.json file in the root directory and add the following code:

{ "version": 2, "rewrites": [{ "source": "/(.*)", "destination": "/api" }] }

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

79494770

Date: 2025-03-08 17:34:26
Score: 3
Natty:
Report link

It looks like the issue might be related to authentication. The logs show an 'Unauthenticated' error, which could be slowing things down. Try checking authentication with gcloud auth and make sure the VM's service account has the right permissions. Also, have you tested the network to see if there are any delays?

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Alessandro Chitarrini

79494765

Date: 2025-03-08 17:29:24
Score: 4
Natty:
Report link

Verified that the file exists

You’re verifying the wrong file. It’s looking for the AppDelegate from React Native Navigation. Did you follow all the iOS steps for installation?

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

79494759

Date: 2025-03-08 17:27:24
Score: 1.5
Natty:
Report link
CTRL+ALT+F : fold current level
CTRL+ALT++SHIFT+F : unfold current level
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hakan

79494749

Date: 2025-03-08 17:23:23
Score: 2
Natty:
Report link

Did you check highlight settings on your VSCode?
You can open Setting tab by clicking Ctrl+,.

And search the keyword highlight and check settings, please.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (0.5):
Posted by: VietThanh Sai

79494743

Date: 2025-03-08 17:19:22
Score: 0.5
Natty:
Report link

Yes the SAM CLI can be used to develop lambda authorizers with caveats. The SAM CLI was created for developing general purpose Lambda functions -- not authorizers. Because of this not all SAM features are usable for authorizer development. Also, SAM commands that do work may output spurious errors. Specifically this behavior is due to the fact that authorizers have different input parameters (events) and return values than general purpose Lambda functions.

Hear is how to work around these differences:

  1. The example event in the "events" folder will need to be replaced by an appropriate event type for the specific configuration of API Gateway you are using. There are three different event schemas:

    1. HTTP API Gateway Version 1, REST API Gateway Request Authorization

    2. HTTP API Gateway Version 2

    3. REST API Gateway Token Authorization

  2. Running a local server with the "sam local start-api" command does not work. This is because the event that start-api composes is not the appropriate type for an authorizer.

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

79494739

Date: 2025-03-08 17:18:21
Score: 7
Natty: 7.5
Report link

What if it says refused to connect?

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What if it
  • Low reputation (1):
Posted by: sdfghjkiuytre

79494738

Date: 2025-03-08 17:17:21
Score: 1
Natty:
Report link
    type modelName = Uncapitalize<Prisma.ModelName>
    const key = "someTable" as modelName
    const result = await db[key].findMany()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: jsDev

79494736

Date: 2025-03-08 17:16:20
Score: 4
Natty:
Report link

It's already 2025, and it seems they haven't resolved this issue. Those are the current available Realtime Dimensions & Metrics: https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-api-schema

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

79494732

Date: 2025-03-08 17:14:20
Score: 3
Natty:
Report link

You can use nointerpolation keyword, from doc can be found here: https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-struct

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

79494722

Date: 2025-03-08 17:09:19
Score: 0.5
Natty:
Report link

//@version=5

indicator("Neuro-Quantum Trading Nexus", overlay=true, max_lines_count=500, max_labels_count=500, precision=6)

// ======== Quantum Core ======== //

var int MAX_NEURONS = 256

var array<float> synaptic_weights = array.new_float(MAX_NEURONS, 0.0)

var matrix<float> neural_states = matrix.new<float>(MAX_NEURONS, MAX_NEURONS)

quantum_entanglement(array<float> src, int depth) =>

sum = 0.0

e = math.e

for i = 0 to math.min(depth, array.size(src)) - 1

    val = array.get(src, i)

    phase_shift = math.sin(math.atan(math.abs(val)) \* math.pi / e)

    sum += phase_shift \* math.log(math.abs(val) + 1e-10)

security(syminfo.tickerid, "D", sum / depth)

// ======== LSTM Network ======== //

var int memory_cells = 64

var array<float> lstm_memory = array.new_float(memory_cells, 0.0)

var array<float> attention_scores = array.new_float(memory_cells, 0.0)

lstm_attention(float input) =>

src_array = array.from(input, volume)

forget_gate = 1 / (1 + math.exp(-quantum_entanglement(src_array, 2)))



for i = 0 to memory_cells - 1

    array.set(lstm_memory, i, array.get(lstm_memory, i) \* forget_gate + input \* 0.01)



max_score = -math.inf

sum_scores = 0.0

for i = 0 to memory_cells - 1

    score = math.abs(array.get(lstm_memory, i) - close) \* volume

    array.set(attention_scores, i, score)

    if score \> max_score

        max_score := score



if max_score != 0

    for i = 0 to memory_cells - 1

        normalized = array.get(attention_scores, i) / max_score

        array.set(attention_scores, i, normalized)

        sum_scores += normalized



output = 0.0

if sum_scores != 0

    for i = 0 to memory_cells - 1

        output += array.get(lstm_memory, i) \* (array.get(attention_scores, i) / sum_scores)

output

// ======== Market Analysis ======== //

var matrix<float> market_tensor = matrix.new<float>(3, 3, 0.0)

multidimensional_analysis() =>

ft = math.sum(ta.change(close) \* math.cos(math.pi \* bar_index / 14), 14)

volume_sum = ta.sum(volume, 50)

entropy = -math.sum((volume / volume_sum) \* math.log(math.abs(volume / volume_sum + 1e-10))

d2 = ta.ema(ta.ema(close, 3) - ta.ema(close, 5), 3)



matrix.set(market_tensor, 0, 0, ft)

matrix.set(market_tensor, 0, 1, entropy)

matrix.set(market_tensor, 0, 2, d2)



ft \* entropy \* d2 - ft \* volume - entropy \* close

// ======== Prediction System ======== //

quantum_predict() =>

eigen_value = 0.0

for i = 0 to 2

    for j = 0 to 2

        eigen_value += matrix.get(market_tensor, i, j) \* math.pow(-1, i + j)



wave_function = math.sin(math.atan(eigen_value) \* math.pi)

probability_density = math.pow(wave_function, 2)

uncertainty = math.abs(ta.vwap(close) - close) / ta.atr(14)

(probability_density \* wave_function) / (uncertainty + 1e-10)

// ======== Trading Logic ======== //

var float buy_zone = na

var float sell_zone = na

svm_boundary() =>

alpha = 0.02

margin = ta.ema(quantum_predict() - multidimensional_analysis(), 3)

math.abs(margin) \> alpha ? margin : 0

boundary = svm_boundary()

if boundary > 0.618

buy_zone := low - ta.atr(14) \* 0.236

label.new(bar_index, low, "QUANTUM\\nBUY ZONE", color=color.rgb(0, 255, 0, 80), textcolor=#FFFFFF, style=label.style_label_up, size=size.large)

if boundary < -0.618

sell_zone := high + ta.atr(14) \* 0.236

label.new(bar_index, high, "ANTI-MATTER\\nSELL ZONE", color=color.rgb(255, 0, 0, 80), textcolor=#FFFFFF, style=label.style_label_down, size=size.large)

// ======== Visuals ======== //

plotshape(boundary > 0.618, style=shape.triangleup, location=location.belowbar, color=#00FF00, size=size.huge)

plotshape(boundary < -0.618, style=shape.triangledown, location=location.abovebar, color=#FF0000, size=size.huge)

hline(buy_zone, "Buy Frontier", color=#00FF00, linestyle=hline.style_dotted)

hline(sell_zone, "Sell Event Horizon", color=#FF0000, linestyle=hline.style_dotted)

// ======== Risk Management ======== //

var bool black_hole_warning = false

q_pred = quantum_predict()

black_hole_warning := q_pred > 3 * ta.stdev(q_pred, 100)

bgcolor(black_hole_warning ? color.new(#FFA500, 90) : na)

```

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Filler text (0.5): ========
  • Filler text (0): ========
  • Filler text (0): ========
  • Filler text (0): ========
  • Filler text (0): ========
  • Filler text (0): ========
  • Filler text (0): ========
  • Filler text (0): ========
  • Filler text (0): ========
  • Filler text (0): ========
  • Filler text (0): ========
  • Filler text (0): ========
  • Filler text (0): ========
  • Filler text (0): ========
  • Low reputation (1):
Posted by: pooriya rezaei

79494719

Date: 2025-03-08 17:05:18
Score: 2.5
Natty:
Report link

301 status code means the page has permanently moved. Its important to get this right, as you want any link juice to pass through to new page, so do hire an SEO agency to this. Otherwise what we have seen at our agency is that the link equity or link juice wont pass through.

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

79494712

Date: 2025-03-08 16:56:16
Score: 2.5
Natty:
Report link

This issue occurs when you are using a different package manager than npm. I was facing similar problem when my project was created with pnpm but I was trying to install the packages with npm.

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

79494701

Date: 2025-03-08 16:49:15
Score: 2.5
Natty:
Report link

Expanding on what has already been said. shift + tab should do the trick for you. The Code Snippets - Rstudio User Guide mentions that markdown snippets lack tab code completion. You'll need to type the entirety of the snippet name before shift + tab will insert the snippet. In this case my_quarto_columns

Reasons:
  • Blacklisted phrase (1): Guide me
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: odellma

79494697

Date: 2025-03-08 16:44:14
Score: 3
Natty:
Report link

A couple of recommendations:

1. save only old changed values

2. use FOR EACH STATEMENT trigger (not FOR ROW)

3. capture the context: transaction, statement etc

--

There is my solution - https://github.com/PGSuite/PGHist,

you can generate a trigger and view/copy it

Reasons:
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: PGSuite

79494695

Date: 2025-03-08 16:43:14
Score: 0.5
Natty:
Report link

I managed to understand that it depends on two TensorFlow libraries.

  • site-packages/tensorflow/libtensorflow_cc.so.2

  • site-packages/tensorflow/libtensorflow_framework.so.2

I think you are probably pushing your dependent libraries, which is not necessary. It's generally better to give the users of your repo instructions on how to install those libraries for themselves. For example, here.

It's normal practice to include the site-packages into a .gitignore. In fact, if this is part of a Python virtual environment, add that to your .gitignore. Instead you can generate a requirements file (requirements.txt) using pip. This article should show how.

I also found this about using gitignore files.

Reasons:
  • Blacklisted phrase (1): This article
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: SimonS

79494691

Date: 2025-03-08 16:42:14
Score: 3.5
Natty:
Report link

It's a bug in the gradle plugin: https://github.com/microsoft/vscode-gradle/issues/1651

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

79494689

Date: 2025-03-08 16:40:13
Score: 1
Natty:
Report link

For Grails 6.2.x:

grails.events.annotation.gorm.Listener comes from 'org.grails:grails-events-transform:5.0.2', this does change for Grails 7.0.0-M3

https://github.com/grails/grails-async/blob/5.1.x/grails-events-transform/src/main/groovy/grails/events/annotation/gorm/Listener.groovy

org.grails.datastore.mapping.engine.event.PreUpdateEvent comes from 'org.grails:grails-datastore-core:8.1.2'
https://github.com/grails/grails-data-mapping/blob/8.1.x/grails-datastore-core/src/main/groovy/org/grails/datastore/mapping/engine/event/PreUpdateEvent.java

org.grails.datastore.mapping.engine.event.ValidationEvent comes from comes from 'org.grails:grails-datastore-core:8.1.2'
https://github.com/grails/grails-data-mapping/blob/8.1.x/grails-datastore-core/src/main/groovy/org/grails/datastore/mapping/engine/event/ValidationEvent.java

run ./gradlew dependencies and verify that you have these dependencies list and add them if they are missing.

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

79494688

Date: 2025-03-08 16:39:13
Score: 2
Natty:
Report link

Instead of creating multiple headers, you can just create one table header, and if you want to show two columns, then using flex and other methods, you can display the heading UI looks like there are two different columns headings. suggest change screenshot

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

79494681

Date: 2025-03-08 16:33:12
Score: 3
Natty:
Report link
header 1 header 2
cell 1 cell 2
cell 3 १३४५६७८९००*"':4

:-<

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

79494677

Date: 2025-03-08 16:32:11
Score: 4.5
Natty:
Report link

enter image description hereSorry everyone... the code is correct. It was a weird projection issue. One I rotated the plot a bit the original code produced the desired plot. Thanks...

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: earnric

79494667

Date: 2025-03-08 16:26:10
Score: 1
Natty:
Report link

A few things I ended up doing:

  1. I removed my custom spark config, due to my ignorance I was unsure if I was doing anything counterintuitive. So took advice from @suvayu and decided to attack the other side of the problem

  2. The solve to this, was making the data smaller.... i knew that strings are larger on than int but i did not realized that it would smash the size of the dataset

This is an example of a function that I used for one table to significantly shrink the size of the of the table.

demographics_df = (
    spark.table("demographics")
    .withColumn("race", explode(col("races")))  # Explode races array
    .withColumn("ethnicity", explode(col("ethnicities")))  # Explode ethnicities array
    .withColumn("race_primary_display", col("race.standard.primaryDisplay"))  # Extract race
    .withColumn("ethnicity_primary_display", col("ethnicity.standard.primaryDisplay"))  # Extract ethnicity
    .withColumn(
        "gender_recoded",
        when(col("gender.standard.primaryDisplay") == "Male", lit(1))
        .when(col("gender.standard.primaryDisplay") == "Female", lit(2))
        .when(col("gender.standard.primaryDisplay") == "Transgender identity", lit(3))
        .otherwise(lit(None)) 
    )
    .withColumn(
        "race_recoded",
        when(col("race_primary_display").isin(["African", "African American", "Liberian"]), lit(1))
        .when(col("race_primary_display").rlike("(?i)(Cherokee|Mohawk|Algonquian|American Indian)"), lit(2))
        .when(col("race_primary_display").rlike("(?i)(Chinese|Vietnamese|Thai|Japanese|Taiwanese|Filipino)"), lit(3))
        .when(col("race_primary_display").rlike("(?i)(Chamorro|Fijian|Kiribati|Marshallese|Palauan|Samoan|Tongan)"), lit(4))
        .when(col("race_primary_display").isin(["Caucasian", "European", "White Irish", "Polish", "Scottish"]), lit(5))
        .when(col("race_primary_display").rlike("(?i)(Arab|Middle Eastern|Iraqi|Afghanistani)"), lit(6))
        .otherwise(lit(None)) 
    )
    .withColumn(
        "ethnicity_recoded",
        when(col("ethnicity_primary_display").rlike("(?i)(Hispanic|Mexican|Puerto Rican|Cuban|Dominican)"), lit(1))
        .when(col("ethnicity_primary_display").isin(["Not Hispanic or Latino"]), lit(2))
        .otherwise(lit(None)) 
    )
)

Last tip is to configure repartition so that each partition is < 500 MB so it took some guess work but 200 was correct for me.

df_indexed = df_indexed.repartition(200)

So while this may not been the solution people are looking for at least using this syntax you cannot exceed the memory you physically have on your machine. I guess the next question:

Is there a package that allows you do statistics and on data that is larger than your system memory? Not by chunking the dataset and averaging the results but rather, iteratively calculating the variance and only carrying forward the necessary values instead of requiring the whole dataset.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @suvayu
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: jcruzer

79494665

Date: 2025-03-08 16:25:10
Score: 1.5
Natty:
Report link

You have to pass the startTime and endTime like following:

This API lets you get data for last 7 days.

So Let's say Today's date is 2025-03-07,

For past 7th day's data : ?startTime=2025-02-28T00:00:00&endTime=2025-03-01T00:00:00

For past 6th day's data : ?startTime=2025-03-01T00:00:00&endTime=2025-03-02T00:00:00

For past 5th day's data: ?startTime=2025-03-02T00:00:00&endTime=2025-03-03T00:00:00

For past 4th day's data: ?startTime=2025-03-03T00:00:00&endTime=2025-03-04T00:00:00

For past 3rd day's data: ?startTime=2025-03-04T00:00:00&endTime=2025-03-05T00:00:00

For past 2nd day's data: ?startTime=2025-03-05T00:00:00&endTime=2025-03-06T00:00:00

For past 1 day's data: ?startTime=2025-03-06T00:00:00&endTime=2025-03-07T00:00:00

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

79494664

Date: 2025-03-08 16:25:10
Score: 3
Natty:
Report link

gst-launch-1.0 souphttpsrc location=https://streams.kcrw.com/e24_mp3 iradio-mode=true ! icydemux ! decodebin ! audioconvert ! autoaudiosink

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

79494650

Date: 2025-03-08 16:17:08
Score: 2
Natty:
Report link

Thanks to this bro : Lombok error fixed (java: cannot find symbol)

From pom.xml in plugins section delete this:

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-compiler-plugin</artifactId>
    <configuration>
        <annotationProcessorPaths>
            <path>
                <groupId>org.projectlombok</groupId>
                <artifactId>lombok</artifactId>
            </path>
        </annotationProcessorPaths>
    </configuration>
</plugin>
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: jaguel

79494647

Date: 2025-03-08 16:15:08
Score: 0.5
Natty:
Report link

I saw some other solutions and installing a big hug tool a MS VS C++ build tools is NOT a good solution.

The latest version Python supported by this plugin on Windows is 3.11.9, I just downgraded and this is ok.

Uninstall previous versions (here using Chocolatey)

choco uninstall python312 python3 python

Then install 3.11.9

choco install python311
Reasons:
  • Blacklisted phrase (1): this plugin
  • Has code block (-0.5):
Posted by: Loenix

79494638

Date: 2025-03-08 16:09:07
Score: 3.5
Natty:
Report link

enter image description hereI have the similar issue for AGP (Android Gradle Plugin)

Error "The project is using an incompatible version (AGP 7.4.2) of the Android Gradle plugin. Latest supported version is AGP 7.2.2"

It occurs in my case when I imported a project from GitHub, my android studio AGP version doesn't match the one form Github.

To Solve this:

  1. Go to File → Project Structure.

  2. Select the AGP version from the list.

Reasons:
  • No code block (0.5):
  • Me too answer (2.5): I have the similar issue
  • Low reputation (0.5):
Posted by: Qadir Khan

79494631

Date: 2025-03-08 16:05:06
Score: 1
Natty:
Report link

In describe(), the last expression is cat("\n------------------------------\n"), which returns NULL as cat() returns NULL invisibly

You can 1) Use walk() instead of map()

  1. add invisible() after cat("\n------------------------------\n")

  2. add return(s) in describe()

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Filler text (0.5): ------------------------------
  • Low reputation (0.5):
Posted by: Coco Q.

79494621

Date: 2025-03-08 15:54:04
Score: 1
Natty:
Report link

install using expo or npm

expo install react-native-safe-area-context

App.js

import { SafeAreaProvider } from 'react-native-safe-area-context';

<SafeAreaProvider>App Content</SafeAreaProvider>

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

79494614

Date: 2025-03-08 15:50:03
Score: 3
Natty:
Report link

I was also facing same issue. I had a spelling mistake on linkedIn property. I had typed linkedin insted of linkedIN.

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

79494607

Date: 2025-03-08 15:46:02
Score: 2.5
Natty:
Report link
  1. Installing appium server global:-

npm install -g appium

  1. Appium version:-

appium -v

  1. To start appium server, open cmd prompt and write:-

appium

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

79494601

Date: 2025-03-08 15:42:01
Score: 4.5
Natty:
Report link

s,mhfwkjfh wdnfjfnjefnb jkwenfhjkehfef jnfjfhnjm,dcn

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

79494599

Date: 2025-03-08 15:41:01
Score: 3
Natty:
Report link

What you are looking for is onFocus like this:

$("#mySelect").on("focus", function(){});

This fires when select is clicked before any option was chosen.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Starts with a question (0.5): What you are
  • Low reputation (1):
Posted by: PhilRoss

79494591

Date: 2025-03-08 15:33:59
Score: 5.5
Natty:
Report link

You can try installing the GIT from this link : https://git-scm.com/downloads

Reasons:
  • Blacklisted phrase (1): this link
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Alok Kumar Maurya

79494580

Date: 2025-03-08 15:25:58
Score: 3.5
Natty:
Report link

strong textemphasized textemphasized text

-



Fresh

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

79494578

Date: 2025-03-08 15:22:57
Score: 0.5
Natty:
Report link

When working with single files, I recommend using the modern approach of C# Script:

dotnet tool install -g csharprepl
echo Console.WriteLine(args[0]); > file.csx
echo Console.WriteLine("Press CTRL + D to exit."); >> file.csx
csharprepl file.csx -- "Hello world!"

Limitations

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

79494568

Date: 2025-03-08 15:14:55
Score: 3
Natty:
Report link

In my case, setting my phone and my PC in the same WIFI environment saves the problem.

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

79494565

Date: 2025-03-08 15:13:55
Score: 0.5
Natty:
Report link

C++20 now allows for floating point values as template arguments

#include <iostream>

template <float x>
void foo(){
    std::cout << x << std::endl;
}

int main(){
    foo<3.0f>();
}

The above would compile with -std=c++20

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

79494556

Date: 2025-03-08 15:05:54
Score: 2.5
Natty:
Report link

Change z-index in table th to 4

TLDR,

I am new to StackOverflow, so this answer might be a bit weird.

The z-index for table th is set to 50.

Yet in JS the th rows have z-index reset to cell.style.zIndex = "5"; as in line 64

This causes a clash in z-indices.

A simple fix would be to set the z-index in table th to 4. This is less than the tbody td elements and yet is more than other th td preventing an overlap.

Also I would recommend instead to seperate the tables in 2 parts and scroll lock then together by setting javascript scrollTop to reduce complexity.

Reasons:
  • Blacklisted phrase (1): StackOverflow
  • RegEx Blacklisted phrase (1.5): I am new
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Rouvik Maji

79494546

Date: 2025-03-08 14:54:51
Score: 1.5
Natty:
Report link

Bvi in Debian stable couldn't do it as well so as suggested here (and somewhere else on SF) I converted my file into textual hex representation with xxd myFile.bin > myFile.txt, edited it and converted it back with xxd -r myFile.txt > myEditedFile.bin. Octal cat myFile.bin | tr '\NNN' '\NNN' > myEditedFile.bin can be of help as well.

Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user5720647

79494531

Date: 2025-03-08 14:43:49
Score: 0.5
Natty:
Report link

Yes there is. It is called esquisse

### Loading the package
install.packages("esquisse")
library(esquisse)

### Load enviroment with data
esquisser(palmerpenguins::penguins)

### Thats it

For an intro:

https://dreamrs.github.io/esquisse/articles/get-started.html

Saved me a lot of time and it automatically creates the code for your plot.

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

79494518

Date: 2025-03-08 14:31:47
Score: 3
Natty:
Report link
header 1 header 2
re 500
cell 3 cell 4

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: سدات المصطفى

79494516

Date: 2025-03-08 14:23:45
Score: 1.5
Natty:
Report link

You're trying to list all files and folders(including hidden ones) in default terminal in vscode. First change it to Git Bash. To do so, click on the +icon on the top right corner of the default terminal and then choose the bash.

Now write the ls -la command on bash again and it will work. But make sure you changed your direction using cd command into the correct directory that you're working with.

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

79494512

Date: 2025-03-08 14:18:44
Score: 1.5
Natty:
Report link

You can use FlyEnv instead of XAMPP as it has many great features that can no be found in XAMPP like multiple PHP versions.

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

79494504

Date: 2025-03-08 14:13:44
Score: 3.5
Natty:
Report link

Automapper package version maybe the problem.

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

79494473

Date: 2025-03-08 13:53:40
Score: 2
Natty:
Report link

simply change its name to icon.ico and add it in app folder

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

79494468

Date: 2025-03-08 13:47:39
Score: 2.5
Natty:
Report link

Every player has an invisible part located by their torso called HumanoidRootPart, that can be used as an inner hitbox or to track the player's position. To access it on a LocalScript, one can use Game.Players.LocalPlayer.Character.HumanoidRootPart then just get the position like on a normal part.

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

79494464

Date: 2025-03-08 13:45:38
Score: 1.5
Natty:
Report link

As @codeandcloud suggested Mark this as checked so others may find it useful.

mat-mdc-option {flex-direction: row-reverse} in your global scss file.

Note: that this is a temporary solution

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

79494456

Date: 2025-03-08 13:34:37
Score: 3.5
Natty:
Report link

Yes, I got the same error...maybe you can try mpv.

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

79494452

Date: 2025-03-08 13:31:36
Score: 1.5
Natty:
Report link

_|WARNING:-DO-NOT-SHARE-THIS.--Sharing-this-will-allow-someone-to-log-in-as-you-and-to-steal-your-ROBUX-and-items.|_BDA6644A1B256F70D575FE139FD9D6287AC16D118F4453E6476D2BA5AD01C5229CAA04ADB06707C94935D29402EDA42819DE1AE3DCCB854F4F769EE77302F76FC9DEEEED14BF4CE40B0CBA4BB20757204F16D6CC6986E5554302E76B83EDA0A766D96C5CE028E55AD9181DE58E646EA1639E3194AFC104DDFA671BB51B19F521485C1D3A406705D1E168D3D438B75A0839E7A77DBD12A19D248CE8242047F0BE5C85E2DA9EB6F5A221DB0AEC44BD905AF05A220E2B3EDA358BC847CD0DD649CE7C1B81D79B0DA97C28722EA979047F9EADEDDA66D3386D195F4DB9580356B0BB3D3D3FDD5A8AC19B555F04E72D360EE9BBC652B4C0909BAAC8E95D1D8920ADFED46DF5A735E334C763BAFE864576A63E283FB2C14C4C12D37714123CC572E4BD40B2C22C32F208E75BE8C94BAE9E4977FCABD9DFAD0C8A527D2C3D3F9F6B15437DC13E41D39FB38247B6E7ED664B05DC982F20B70CD3E063BBE49ABF8B2D79374A2E563F7B2C7888130DCA44DBE7188A889C68E49222BAAB89E6DC8D670C8B025C2F5C805D9EA2E0DDC7FC9155C8F8B869ED1555196B15F93AC5712644AF519035CDFA39298230C5CBA1EFD4C52F2128058A149EE0E0C05774AF5A30A0D8855C7A99CC57CCF3C6F7DC437950D9489AA5C202C6C4CC5374E16479EDE48F89722B82CE4323D57C9605BFFD12B51CEC609BA0B9F3FE165264D45C3920A82CB52EF83C78669C737C47EF34F20CF265C21F7F8C53706F39421B5E348769F44416050556122DB2757A690B66761F95F9A6D144877602AE9716C403F9C1454173495D48DB6896D57506C7C81C4690C3858AC1835FDC78B366289659DBE1BD8FECD415786E284D88BDE990A82AB7854AE0EE446B5774D465CEFCA59A0D1BD6010EF5D49AE7256AE9B86F4F168DE80ED8DF66FB0E7D7CF6F0288BA6F5FFF0FD886E30EED2454844B2DA7A861C2704AAEC1BADCB249911179840110C37E361E6A23A20BC9FF94C9615AB681720EE89B4A9BE4B0776C082FF2A4912694CA4C1F416B06865C10267346360476A2700491285257A662256768A0CCBB5D4F20E202FDA74ED8E842E573FBF06CAF17E5C4CB46A13FF40936C94896A

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hiền Nguyễn

79494446

Date: 2025-03-08 13:28:35
Score: 5.5
Natty:
Report link

If I make changes manually, DATE function is triggered and it works fine. But if the changes is not made by me and it is made automatically based on some condition, onEdit() is not triggered.

Can anyone help how can I achieve my requirement? I need the date/time to capture automatically whenever there is any change in a cell of google sheet. This is image of my Google sheet. enter image description here

Find below my function.

----------------------------------------------------------------------------
function onEdit(e){

  if( e.range.getSheet().getName() === "TEST" ) { 
    if(e.range.columnStart === 3 && e.range.rowStart >= 2){
       if(e.value === "SORT" || e.value ==="lONG"){
           e.range.offset(0,1).setValue(new Date());       
        }
      }
    }
}
Reasons:
  • Blacklisted phrase (0.5): how can I
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): enter image description here
  • RegEx Blacklisted phrase (3): Can anyone help
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Pawan Choudhary

79494436

Date: 2025-03-08 13:19:33
Score: 2
Natty:
Report link

The following routine inserts/removes the results of a couple of formulas. Those formulas return a table that contains only three columns (that you noted) and where the value in ON BUY is <=1.

Sub email_range()
Dim OutApp As Object
Dim OutMail As Object
Dim pop As Range
Dim strl As String
Dim sOnBuy As String

Set OutApp = CreateObject("Outlook.Application")
Set OutMail = OutApp.CreateItem(0)
'''Based on your comment, we know that your table starts with A1
Set pop = Cells(1, 1).CurrentRegion
'''get/store the address for the On Buy header column
With pop.Cells(1, 1).Offset(0, pop.Columns.Count + 1)
    .Formula2 = "=ADDRESS(1,MATCH(""ON BUY""," & pop.Rows(1).Address & ",0))"
    sOnBuy = .Value
    .delete
End With

'''create the table that you'll insert into the email
With pop.Cells(1, 1).Offset(0, pop.Columns.Count + 1)
    '''use a formula to return the table headers
    '''and based on the criteria (On Buy<=1)
    .Formula2 = "=VSTACK(FILTER(" & pop.Rows(1).Address & ",(" & _
        pop.Rows(1).Address & "=""Item"")+(" & _
        pop.Rows(1).Address & "=""Description"")+(" & _
        pop.Rows(1).Address & "=""On Buy"")" & _
        "),FILTER(FILTER(" & _
        pop.Address & ",(" & _
        pop.Rows(1).Address & "=""Item"")+(" & _
        pop.Rows(1).Address & "=""Description"")+(" & _
        pop.Rows(1).Address & "=""On Buy"")" & _
        "), " & sOnBuy & ":" & Left(sOnBuy, 3) & pop.Rows.Count & "<=1))"
    Set pop = .CurrentRegion
End With
With pop
    .Copy
    .PasteSpecial xlPasteValues
    '''apply table formatting
    ActiveSheet.ListObjects.Add(xlSrcRange, pop, , xlYes).name = "emailTable"
End With

strl = "<BODY style = font-size:12pt;font-family:Calibri>" & _
"Hello all, <br><br> Can you advise<br>"

On Error Resume Next

With OutMail

.To = "[email protected]"
.CC = ""
.BCC = ""
.Subject = "Remove"
.display
.HTMLBody = strl & RangetoHTML(pop) & .HTMLBody

End With

pop.delete

On Error GoTo 0

Set OutMail = Nothing
Set OutApp = Nothing
End Sub
Reasons:
  • RegEx Blacklisted phrase (2.5): Can you advise
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dave Lett

79494429

Date: 2025-03-08 13:14:32
Score: 1
Natty:
Report link

I had the same problem with Java Maven, Spring Boot when I tried a demo application. I use Netbeans. The class path error continued despite adding "<mainClass>fully.qualified.MainClass</mainClass>" in the pom.xml as suggested.

Then I right clicked on the project > Set Configuration > Customize...

And in the Customize window, Select Main Class. This solved the problem and the project started to run without class path error.

Set project configuration selection

select main class window

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

79494424

Date: 2025-03-08 13:07:31
Score: 2.5
Natty:
Report link

une autre solution :

select count(*) as cnt from @PRD.RAW_STAGE.CSV_STAGE/controle.csv.gz;

est une requête qui renvoie 0 si le fichier n'existe pas ou est vide...

il suffit d'interroger le résultat de façon classique...

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

79494419

Date: 2025-03-08 13:02:29
Score: 10 🚩
Natty: 4
Report link

any update on this? i am also having similar issue , when i try to do peerConnection.addTrack on screenshare, the existing remote video feed goes dead, i am able to peerConnection.replaceTrack where video is replaced by screen and vice versa, but i want both video and screen feed at the same time, please help

Reasons:
  • Blacklisted phrase (1): update on this
  • RegEx Blacklisted phrase (3): please help
  • RegEx Blacklisted phrase (1): i want
  • RegEx Blacklisted phrase (1): i want both video and screen feed at the same time, please
  • Has code block (-0.5):
  • Me too answer (2.5): i am also having similar issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jazz Destructor

79494415

Date: 2025-03-08 13:01:28
Score: 4.5
Natty:
Report link

A fix has been found and submitted as: Enthought Traits PR1841.

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: David Banas

79494411

Date: 2025-03-08 12:59:27
Score: 0.5
Natty:
Report link

After receiving helpful comments, I managed to solve the issue with deleting items using the Supabase Go client. I'll share the solution for others who might encounter the same problem.

Working Solution

The key insight was using the `Filter` method correctly. Based on the comment from @
mkopriva, the correct syntax is:

.Filter("id", "eq", id)  
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Ryo Matsuzaka

79494406

Date: 2025-03-08 12:56:27
Score: 1.5
Natty:
Report link

I had the same issues, the mirroring was not functioning properly.

You need to turn on all USB debugging related settings in Developer Options.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Akter Uddin

79494403

Date: 2025-03-08 12:56:27
Score: 2.5
Natty:
Report link

Wibuku_1.0.9_apkcombo.app.xapk

1 INSTALL_FAILED_INTERNAL_ERROR: Permission Denied

2 App not installed

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

79494402

Date: 2025-03-08 12:52:26
Score: 2.5
Natty:
Report link

Yes, you guys were right.

The problem was an accidently import of main.py in commands.py.

The 'get' command works perfectly.

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

79494401

Date: 2025-03-08 12:52:26
Score: 1
Natty:
Report link

Install .NET sdk 9.0.2

Set TargetFramework to 9.0

<PropertyGroup>
  <TargetFramework>net9.0</TargetFramework>
  <Nullable>enable</Nullable>
  <ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

Update all package version to 9.0.2

Make sure you have VS Studio 2022 (17.13.2) or higher

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

79494400

Date: 2025-03-08 12:51:25
Score: 0.5
Natty:
Report link

In PyPugJS, when you want to add an HTML5 data attribute without a value, you need to set it to "true" rather than leaving it empty


div(uk-grid="true")
  div

This will generate


<div uk-grid>
  <div></div>
</div>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Coco Q.

79494393

Date: 2025-03-08 12:45:24
Score: 1.5
Natty:
Report link

According to the documentation, this PLC model must be programmed using Delta's DIADesigner software, it is not a version of Codesys, but it seems to meet some IEC 61131-3 guidelines, such as programming in ST, Ladder and SFC, so you may be able to program in ST (Structured Text) on it as well, but adaptations may be necessary because the functions are not always exactly the same between different IDEs, even though they are defined in the same language.

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

79494391

Date: 2025-03-08 12:44:24
Score: 1
Natty:
Report link

You can go to your file directory:

cd /home/<your username>/<folder name>

Then type:

cat filename.extension

It works in my environment WSL Ubuntu.

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

79494387

Date: 2025-03-08 12:42:23
Score: 0.5
Natty:
Report link

What i did was to first off all publish the package:

php artisan log-viewer:publish

Then change this:

'pattern'       => [
        'prefix'    => Filesystem::PATTERN_PREFIX,    // 'laravel-'
        'date'      => Filesystem::PATTERN_DATE,      // '[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]'
        'extension' => Filesystem::PATTERN_EXTENSION, // '.log'
    ],

to:

    'pattern'       => [
        'prefix'    => 'laravel-',
        'date'      => '[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]',
        'extension' => '.log',
    ],

Worked well for me. Also make sure to change your LOG_CHANNEL in your .env from stack to daily

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): What i
  • Low reputation (1):
Posted by: Dan Ogbo

79494385

Date: 2025-03-08 12:42:23
Score: 3.5
Natty:
Report link

I've found some info here: https://quirksmode.org/css/selectors/selector_parent.html But I don't quite understand how does it work (or maybe it's not supported yet)

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

79494381

Date: 2025-03-08 12:36:22
Score: 6
Natty: 7
Report link

What happens on page refresh? Even if you're authenticathed already?

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

79494375

Date: 2025-03-08 12:32:20
Score: 0.5
Natty:
Report link

you should also be able to use Rc::unwrap_or_clone.

Something like:

            EntryManagerAction::Add(text) => {
                let mut manager = Rc::unwrap_or_clone(self);
                manager.add_entry(text);
                manager.into()
            },
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: user2987504

79494364

Date: 2025-03-08 12:22:19
Score: 0.5
Natty:
Report link

Very simple solution is there

if you write

https://localhost in Authorized JavaScript origins you will get Error 400: redirect_uri_mismatch

Just Write

http://localhost in Authorized JavaScript origins you will not get any Error

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

79494358

Date: 2025-03-08 12:18:17
Score: 4.5
Natty: 4.5
Report link

There's a new plugin that allows you to directly print the complete executable SQL without configuring MyBatis. https://www.youtube.com/watch?v=kATvDdN6Gx4

https://plugins.jetbrains.com/plugin/26550-mybatis-log-ultra

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Listener2016

79494357

Date: 2025-03-08 12:17:17
Score: 3
Natty:
Report link

this worked for my react project: create a scss file and add the following code :

$accordion-button-icon: none;

$accordion-button-active-icon: none;

@import "bootstrap/scss/bootstrap";

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @import
  • Low reputation (1):
Posted by: Hashem sughair

79494355

Date: 2025-03-08 12:15:17
Score: 0.5
Natty:
Report link

Your issue seems to be related to systematic degradation in accuracy over time when running bulk processing, and it’s great that you’ve already tried switching models to rule out model-specific issues. Here are a few potential causes and mitigation strategies:

Potential Causes

  1. Hidden Throttling or Rate Limiting

  2. Token Usage and Context Carryover

  3. Prompt Compression Due to Model Memory Constraints

  4. Concept Drift or Model Adaptation Over Time

  5. Server-Side Caching Issues

Next Steps

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

79494354

Date: 2025-03-08 12:14:16
Score: 4
Natty:
Report link

not sure you have interest of the article

https://reactnative.dev/docs/communication-android

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

79494347

Date: 2025-03-08 12:09:15
Score: 3.5
Natty:
Report link

Always remember to clear the list before adding multiple items to a adapter's list

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

79494346

Date: 2025-03-08 12:09:15
Score: 1
Natty:
Report link

Look at the temporal.io open-source project. Each remote computer can use its own task queue. It is also possible to manage each remote computer's lifecycle.

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