79501501

Date: 2025-03-11 16:52:55
Score: 11.5
Natty: 7
Report link

Were you able to resolve this? I have multiple data disks to add to this, any suggestions for the data disk and attachment code?

Reasons:
  • RegEx Blacklisted phrase (1.5): resolve this?
  • RegEx Blacklisted phrase (2): any suggestions
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: cloudseeker

79501499

Date: 2025-03-11 16:52:55
Score: 1
Natty:
Report link

We do something similar at my work where the code signing keys are generated in the HSM and we leverage a signing platform called GaraSign to do the actual signing. We don't have to RDP to the various servers to do the signing, although you could implement it that way. In our environment each developer can sign from their own workstation using the centralized key, and SSO from our AD Domain controls authentication and authorization. We don't allow many developers to sign anymore as we try to control that all from our CI/CD pipeline, although exceptions have been made for certain legacy use cases. Since we are a large company we have a few different HSMs that we use, Azure Key Vault being one of them but also Luna HSM.

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

79501489

Date: 2025-03-11 16:47:54
Score: 1.5
Natty:
Report link

1 - Assessment is the action to verify the token sent by reCAPTCHA and assess the risk. So only the token verification will be calculated (whatever with a BACKEND or with WAF)
https://cloud.google.com/recaptcha/docs/implementation-workflow
2 - The free 10,000 assessments are per organization. The limit aggregates use across all accounts and all sites.
https://cloud.google.com/recaptcha/docs/compare-tiers

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

79501488

Date: 2025-03-11 16:47:54
Score: 1
Natty:
Report link

Application gateway inserts six additional headers to all requests before it forwards the requests to the backend. These headers are x-forwarded-for, x-forwarded-port, x-forwarded-proto, x-original-host, x-original-url, and x-appgw-trace-id. X-original-host header contains the original host header with which the request arrived. This header is useful in Azure website integration, where the incoming host header is modified before traffic is routed to the backend. If session affinity is enabled as an option, then it adds a gateway-managed affinity cookie. For more info, please see this link: https://learn.microsoft.com/en-us/azure/application-gateway/how-application-gateway-works#modifications-to-the-request

The above is according to the Microsoft's Azure Application Gateway webpage. You can capture the X-Original-Host header and redirect to it in your Startup.cs; something like this:

app.Use(async (context, next) =>
{
  if (context.Request.Headers.GetValues("X-Original-Host") != null)
  {
    var originalHost = context.Request.Headers.GetValues("X-Original-Host").FirstOrDefault();
    context.Request.Headers.Set("Host", originalHost);
  }
  await next.Invoke();
});
Reasons:
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): see this link
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: SoftwareDveloper

79501479

Date: 2025-03-11 16:40:52
Score: 3.5
Natty:
Report link

The answer given was very helpful, however an easier way to turn on and off is buy just using the 'Stop If True' checkbox.

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

79501468

Date: 2025-03-11 16:34:51
Score: 3
Natty:
Report link

Sorry for late reply. The improvements were made on February 4, but released a bit later than you encountered the problem. If you try again, the problem should not occur.

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

79501465

Date: 2025-03-11 16:33:51
Score: 1.5
Natty:
Report link

after every row of code make sure to do Ctrl + Enter and i think check through the R library using data() to make sure the starwars dataset or tibble is there , I hope it works for you

Reasons:
  • Whitelisted phrase (-1): hope it works
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Peter

79501463

Date: 2025-03-11 16:32:51
Score: 1.5
Natty:
Report link

The vendor fixed (at least in part) their COM implementation in a recent release: the dynamic keyword now works as expected. So does the dynamic view when debugging the COM objects.

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

79501460

Date: 2025-03-11 16:30:50
Score: 2.5
Natty:
Report link

Apparently the latency is added because of mp4 container and its internal file structure. Instead of trying to tweak its properties I decide to make it simpler and now Im sending the actual jpeg frames. Final solution can be found here: https://github.com/bymoses/linux-phone-webcam

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

79501458

Date: 2025-03-11 16:30:50
Score: 1
Natty:
Report link

It really depends on your use case.

Pro JSON:

Contra JSON:

I would recommend ONLY using JSON columns if the data stored in it is only there to be read and saved in the database, while the rest would be handled by your programming language of choice. If you want data that is actually accessible via the DB itself, DO NOT use JSON.

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

79501456

Date: 2025-03-11 16:29:50
Score: 1.5
Natty:
Report link

That's a FinCEN SAR form. If you want to fill that out, your best bet is https://hummingbird.co

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

79501452

Date: 2025-03-11 16:28:50
Score: 4.5
Natty: 5
Report link

It looks like this param does not cover Direct buffer memory OOME.

See this post: -XX:+ExitOnOutOfMemoryError ignored on 'java.lang.OutOfMemoryError: Direct buffer memory'

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Hugo Martinez

79501448

Date: 2025-03-11 16:27:49
Score: 1
Natty:
Report link

Adding for search algorithm: Marshal.GetTypeLibGuidForAssembly works for "new" SDK style csproj C# Projects where there is no ProjectGuid specified in a AssemblyInfo.cs file (they moved it to the solution .sln file only).

Using GetCustomAttributes(typeof(GuidAttribute), false) was returning no results, even if <ProjectGuid> was specified in the .csproj.

The posts https://stackoverflow.com/a/62988275/2299427 and https://github.com/dotnet/msbuild/issues/3923 brought me to understand the project GUID is no longer in use.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Isaac Baker

79501442

Date: 2025-03-11 16:25:49
Score: 2.5
Natty:
Report link

You just need to change the connection string: "Foreign Keys=False"

    private static void LoadDbContext()

    {
        var connectionstring = "data source=D:\\Repos\\ERP_WPF\\ERP_WPF\\chinook.db;Foreign Keys=False";
        var optionsBuilder = new DbContextOptionsBuilder\<ChinookdbContext\>();
        optionsBuilder.UseSqlite(connectionstring);
        context = new ChinookdbContext(optionsBuilder.Options);
    }

https://stackoverflow.com/a/40289265/2064937

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Brummell

79501437

Date: 2025-03-11 16:23:49
Score: 3
Natty:
Report link

This is where I founded mine:

app/build/intermediates/apk

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

79501436

Date: 2025-03-11 16:23:49
Score: 0.5
Natty:
Report link

Use type parameters to eliminate code duplication:

// GetJson decodes the resource at url to T and returns the result.
func GetJson[T any](url string) (T, error) {
    req, err := http.NewRequest("GET", url, nil)
    // commented out error handling

    resp, err := myClient.Do(req)
    // commented out error handling

    defer resp.Body.Close()

    var target T
    err = json.NewDecoder(resp.Body).Decode(target)
    // commented out error handling

    return target, err
}

// GetJsons decodes each resource at urls to a T and returns
// a slice of the results.
func GetJsons[T any](urls []string) ([]T, []error) {
    errors := make([]error, len(urls))
    targets := make([]T, len(urls))
    var wg sync.WaitGroup
    wg.Add(len(urls))
    for i, url := range urls {
        go func() {
            defer wg.Done()
            targets[i], errors[i] = GetJson[T](url)
        }()
    }
    wg.Wait()
    return targets, errors
}

Example use:

hashmaps, errors := GetJsons[Map](urls)
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Tulsi Kennedy

79501434

Date: 2025-03-11 16:22:48
Score: 0.5
Natty:
Report link

SaveChanges was missing. That was the issue. It is now working. Result still returns -1 but it executes the CL program.

   context._formRepository.Add(item);
   context.SaveChanges();
   var result = context.Database.ExecuteSqlRaw("Call ProgramLibrary.CLProgram");
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Nakres

79501425

Date: 2025-03-11 16:19:47
Score: 2
Natty:
Report link

There is an example here using the go client but it could easily be adapted to the C# client. You will need to decide on a data store to store the lock and create an implementation of the C# client's ILock interface. For my case I am considering using this DistributedLock package but I haven't implemented it yet.

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

79501418

Date: 2025-03-11 16:17:46
Score: 8.5 🚩
Natty: 4
Report link

I have the same issue, only terrain shadow are deep dark while objects are fine; suggestion by aidangig does not affect these dark shadows on terrain but only other's shadows. by trying various parameters, terrain shadows act like Penumbra tint is checked... any suggestions are welcome, thanks :)

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): I have the same issue
  • RegEx Blacklisted phrase (2): any suggestions
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Arch N Game

79501414

Date: 2025-03-11 16:16:46
Score: 3
Natty:
Report link

Setting encapsulation=View.Encapsulation.None in the @Component header will also do the trick. It basically does what the ::ng-deep does, but for the whole SCSS file.

I prefer this over adding to the global, because that way is not as organized in terms of referencing things.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Component
  • Low reputation (1):
Posted by: Craig Warford

79501412

Date: 2025-03-11 16:14:45
Score: 1
Natty:
Report link

Simply:

all(np.diff(x) >= 0) 

If it should be strictly increasing, then use > instead of >=.

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

79501411

Date: 2025-03-11 16:14:45
Score: 1.5
Natty:
Report link

Try this template: https://github.com/jupyter-widgets/widget-ts-cookiecutter.

Run:

pip install cookiecutter
cookiecutter https://github.com/jupyter-widgets/widget-ts-cookiecutter.git
Reasons:
  • Whitelisted phrase (-1): Try this
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Yuelong Li

79501409

Date: 2025-03-11 16:13:45
Score: 1
Natty:
Report link
guard let clientID = FirebaseApp.app()?.options.clientID else {
    print("Error: Firebase Client ID not found")
    return
}

let config = GIDConfiguration(clientID: clientID)  // ✅ Correct way to set client ID
GIDSignIn.sharedInstance.configuration = config

this is latest way

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

79501397

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

According to the toolbar in your screenshot, you're currently using Python 3.9.
The problem can be solved by switching the Python version in the toolbar.
image1]

If the preferred environment is not found, you can add it by your own:

image2

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

79501383

Date: 2025-03-11 16:02:43
Score: 3
Natty:
Report link

Using Keras 3.8.0 and even 3.7.0 and tensorflow 2.18 causes this issue. This was fixed after I downgraded keras to 3.6.0.

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

79501382

Date: 2025-03-11 16:02:43
Score: 0.5
Natty:
Report link

This might be late, but it works for me (M3 chipset). This is for future use:
refer

1. https://developer.ibm.com/tutorials/mq-connect-app-queue-manager-containers/

2.https://community.ibm.com/community/user/integration/blogs/richard-coppen/2023/06/30/ibm-mq-9330-container-image-now-available-for-appl?utm_source=ibm_developer&utm_content=in_content_link&utm_id=tutorials_mq-connect-app-queue-manager-containers&cm_sp=ibmdev-developer--community

you needs to have

Reasons:
  • Whitelisted phrase (-1): works for me
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Nuwan Walisundara

79501357

Date: 2025-03-11 15:56:41
Score: 1.5
Natty:
Report link

Please execute de doctor inside your android folder

npx react-native doctor
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Marlaurita

79501355

Date: 2025-03-11 15:55:41
Score: 3.5
Natty:
Report link

he means n^3-n^2 which is different from just n^2

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

79501354

Date: 2025-03-11 15:54:41
Score: 2
Natty:
Report link

Similar issue.

The syntax you are using is GitLab's shorthand route used within GitLab's web interface to access raw file contents directly. But the official Rest interface fails as well:

curl --header "JOB-TOKEN: <token>" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/repository/files/<file>/raw?ref=<git-ref>"
Reasons:
  • RegEx Blacklisted phrase (1): Similar issue
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kristofer

79501350

Date: 2025-03-11 15:53:40
Score: 1.5
Natty:
Report link

Believe it or not, I found the answer after much digging. I needed to add the following to my index.html

<base href="/">

That was it. That caused the weird behaviour.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Username_null

79501322

Date: 2025-03-11 15:44:37
Score: 7 🚩
Natty:
Report link

your Rust code looks fine and the error is not related to the SurrealDB Rust SDK itself. Could you please provide more information?

Reasons:
  • RegEx Blacklisted phrase (2.5): Could you please provide
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: TheUnknown

79501321

Date: 2025-03-11 15:44:37
Score: 2
Natty:
Report link

I ran into the same AccessDeniedException. The problem was that I had not specified a filename for the --output parameter, only a path. It took me a while to figure that out. AccessDeniedException does not point you in the right direction for a solution.

It looks like you did not specify a filename either.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Albert-Jan

79501319

Date: 2025-03-11 15:44:37
Score: 3
Natty:
Report link

Try the image production url with HTTPS . http is not working with production environment.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Md . Rakibul Islam

79501312

Date: 2025-03-11 15:42:36
Score: 13 🚩
Natty:
Report link

did anyone got anything on this? Any solution / help would be greatly appreciated.

Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1.5): Any solution
  • RegEx Blacklisted phrase (3): did anyone got
  • RegEx Blacklisted phrase (3): help would be greatly appreciated
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did anyone
  • Low reputation (1):
Posted by: Ranvijay Patel Amarnath

79501303

Date: 2025-03-11 15:40:36
Score: 1.5
Natty:
Report link

Feel free to use my github action https://github.com/qoomon/actions--context is determines the current job and its id by requesting the github api for all current job of the current workflow and find the current job by matching the current runner name.

Reasons:
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: qoomon

79501300

Date: 2025-03-11 15:40:36
Score: 1
Natty:
Report link

I have tried to print a graph. Here´s my solution:

import matplotlib.pyplot as plt
import numpy as np
from matplotlib.patches import Arc

# Calculating the angle in radians
club_path = np.radians(5.89)  # Club Path
face_angle = np.radians(3.12)  # Face Angle

# Create a figure and an axis
fig, ax = plt.subplots()

# Axis limits
ax.set_xlim(-1, 1)
ax.set_ylim(-1, 1)

# Draw x- and y-axis
ax.axhline(0, color='black', linewidth=0.5, ls='--')
ax.axvline(0, color='black', linewidth=1.5, ls='--')

# Draw angles
club_vector = np.array([np.sin(club_path), np.cos(club_path)])
face_vector = np.array([np.sin(face_angle), np.cos(face_angle)])

ax.quiver(0, 0, club_vector[0], club_vector[1], angles='xy', scale_units='xy', scale=1, color='blue', label='Club Path (5.89°)')
ax.quiver(0, 0, face_vector[0], face_vector[1], angles='xy', scale_units='xy', scale=1, color='orange', label='Face Angle (3.12°)')

# Calculte angle between the to vectors
dot_product = np.dot(club_vector, face_vector)
norm_club = np.linalg.norm(club_vector)
norm_face = np.linalg.norm(face_vector)

# Calculating the angle in radians
angle_radians = np.arccos(dot_product / (norm_club * norm_face))
angle_degrees = np.degrees(angle_radians)

# Add angle in ledgend
ax.legend(title=f"Face to Path: {angle_degrees:.2f}°")

# Delete diagram frame
for spine in ax.spines.values():
    spine.set_visible(False)

# Delete x- and y-axis
ax.set_xticks([])
ax.set_yticks([])

# Print diagram
plt.show()

The plot looks like this:

enter image description here

Does anybody now how to extend the Arrow like this:

enter image description here

And does anybody now how I make a table which is clickable and the row is shown in the plot?

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-2): solution:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: 0x53olution

79501292

Date: 2025-03-11 15:34:34
Score: 3
Natty:
Report link

You have PowerFX enabled, so the standard %CustomFormData['URL']% notation will not work.

I believe you need to do something like CustomFormData.URL to get the same functionality.

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

79501291

Date: 2025-03-11 15:34:34
Score: 2.5
Natty:
Report link

You probably need to add

authenticator=snowflake_jwt;

to your connection string as mentioned in the documentation
https://github.com/snowflakedb/snowflake-connector-net/blob/master/doc/Connecting.md

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

79501285

Date: 2025-03-11 15:33:34
Score: 2.5
Natty:
Report link

CMD+SHIFT+DOT will generate <%= %>
CMD+SHIFT+COMMA will generate <% %>

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Hassan el ashram

79501282

Date: 2025-03-11 15:33:34
Score: 4.5
Natty: 4
Report link

@Chriag Sheth - NEVER use a static class to store user information. The reason is the static data is NOT user specific. Every user is going to be using the exact same dictionary. This means users are going to see and modify each others' data.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Chriag
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Mike Kurz

79501280

Date: 2025-03-11 15:31:33
Score: 2
Natty:
Report link

To me, @regilero's answer looks to be a pretty good overview of the proxy protocol, for example, pointing out rfc referneces for keep-alive unsolved issue like at https://github.com/chimurai/http-proxy-middleware/issues/472.

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

79501260

Date: 2025-03-11 15:27:33
Score: 1.5
Natty:
Report link
def remove_char(s):
    print(s[:-1]) #if you want to remove first letter use s[0:-1]
remove_char('Your_string_Here')
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gautam

79501251

Date: 2025-03-11 15:24:32
Score: 3.5
Natty:
Report link

If your file name is 'agno.py' rename it to something else.

Answer based on this comment https://github.com/agno-agi/agno/issues/2204#issuecomment-2676275023

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

79501246

Date: 2025-03-11 15:21:31
Score: 2.5
Natty:
Report link

It's prompted to use PyQt5 library, not PySide6 as PyQt5 is more modern.

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

79501245

Date: 2025-03-11 15:21:31
Score: 2.5
Natty:
Report link

Fixed by modifying the lifecycle rules to:

condition = {
  age = 1
}
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: abdo98

79501239

Date: 2025-03-11 15:17:30
Score: 2.5
Natty:
Report link

But this works well on my own Chrome:

> console.log(1); (() => {})();
VM97:1 1
undefined

What is your JS environment, please.

Reasons:
  • Blacklisted phrase (1): What is your
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user29964827

79501227

Date: 2025-03-11 15:12:29
Score: 1.5
Natty:
Report link

In my opinion the first break statement executes only when if condition is correct that is b==1 and exits the switch case not while(1), as well as the second break statement also exits only the switch case not while(1).

So, the conclusion is that the while(1) loop will be continue running indefinitely or in infinite loop until the explicit break statement out of the switch case is written.

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

79501226

Date: 2025-03-11 15:12:29
Score: 1
Natty:
Report link

Your syntax is not correct

data.forEach(consoleItem())  // this is wrong syntax 

Correct syntax is

data.forEach(consoleItem)   // this is correct

In forEach you dont need to call the function. It only require function as an argument.

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

79501223

Date: 2025-03-11 15:11:29
Score: 0.5
Natty:
Report link

From my understanding, making a defer that wait a certain timing. Either based on the trigger or the placeholder.

As @Matthieu Riegler explained, the main cause is that my application SSR does not render the same as the client side. Fow now I can't do anything about it.

So here my goal is to make the timing between the answer received from the server and the stability as low as possible.

I found a workaround which was to create my own defer.

In the component where I have a defer I added the following code inside the ngOnInit:

  constructor(
    private appRef: ApplicationRef, 
    private cd: ChangeDetectorRef
  ) {}

  ngOnInit() {

    this.appRef.isStable.pipe( first((isStable) => isStable) ).subscribe((isStable) => {
      setTimeout(() => {
        this.shouldShow = true;
        this.cd.markForCheck();
      },10000);
    });

  }

This is waiting for the application to be stable, once it is, it start a timer (in the example 10seconds), and then change the boolean that is used inside the html as a condition to show the elements.

<app-child /> 


@if(shouldShow){
 defered components
}@else{
  placeholder
}

It's not perfect since it's still doing the same, but the delay between is smaller as this is not waiting for the defered components to be rendered.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Matthieu
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Gregory Boutte

79501222

Date: 2025-03-11 15:10:28
Score: 4
Natty:
Report link

Autoconfiguration classes should not enable Component Scanning, as stated in the official Spring documentation.

See https://docs.spring.io/spring-boot/reference/features/developing-auto-configuration.html#features.developing-auto-configuration Note in paragraph “Location Auto-configuration Candidates”. The correct way should make use of @Import

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Import
  • Low reputation (1):
Posted by: Marco Cinus

79501218

Date: 2025-03-11 15:09:28
Score: 1.5
Natty:
Report link

Do the following:

  1. Make sure you have the latest chrome browser installed on your machine

  2. Make sure you have the latest Selenium Support and WebDriver referenced in your project

  3. Do not add any chromedriver options arguments or specify driver versions - keep everything simple and at its default

  4. Run your tests and they should work as Selenium Manager is built in which handles the latest browser driver download automatically

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

79501207

Date: 2025-03-11 15:05:27
Score: 1.5
Natty:
Report link

Try to directly backup and edit the lines around the line 63 of convert.py:

...
print(key, mapping)
assert key in mapping
...

And then give me the output, please.

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

79501199

Date: 2025-03-11 15:04:27
Score: 2.5
Natty:
Report link

When developing and there's no need for debugging, for example while working on markup, you could choose for 'Start without debugging'. Leaves all windows open, you can create files, and you can compile on the fly.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: Guido A.

79501179

Date: 2025-03-11 14:56:24
Score: 6.5 🚩
Natty: 6
Report link

which is the import for PlanApi java object?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): which is the
  • Low reputation (1):
Posted by: user29964778

79501172

Date: 2025-03-11 14:55:24
Score: 3.5
Natty:
Report link
        PickerHandler.Mapper.AppendToMapping("Background", (handler, view) =>
        {
            var border = new Android.Graphics.Drawables.GradientDrawable();
            border.SetShape(Android.Graphics.Drawables.ShapeType.Rectangle);
            border.SetStroke(4, Android.Graphics.Color.Red);
            border.SetCornerRadius(12);

            handler.PlatformView.Background = border;
        });

Is this the result are you looking for?

enter image description here

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Is this the
  • Low reputation (0.5):
Posted by: galex

79501160

Date: 2025-03-11 14:52:23
Score: 2.5
Natty:
Report link

SOLVED:

The issue was in package.json i had libcurl on version 4.1.0 cause i wanted to go with latest but that version doesnt seem to work with Windows (yet, or maybe never), do downgrading to 4.0.0 fixed it all.

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

79501155

Date: 2025-03-11 14:51:23
Score: 1.5
Natty:
Report link

Check this article from aws: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtime-environment.html. It states: "The Init phase ends when the runtime and all extensions signal that they are ready by sending a Next API request. The Init phase is limited to 10 seconds. If all three tasks do not complete within 10 seconds, Lambda retries the Init phase at the time of the first function invocation with the configured function timeout.". Consider all the lifecycle as it would not be a fixed delay, if SnapStart is activated, the function will be cached and the delay will be reduced.

Reasons:
  • Blacklisted phrase (1): this article
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ricardo

79501148

Date: 2025-03-11 14:48:22
Score: 9.5
Natty: 8
Report link

Did you figure out how to make the code work?

Reasons:
  • RegEx Blacklisted phrase (3): Did you figure out
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Heather

79501147

Date: 2025-03-11 14:48:22
Score: 0.5
Natty:
Report link

To "download" (checkout) a remote branch and incorporate it into your local copy as is, without merging with an existing branch:

  1. Fetch the remote branch
git fetch origin b1
  1. Checkout the remote branch as a new local branch (called b1 too):
git checkout -b b1 origin/b1
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: alexhg

79501146

Date: 2025-03-11 14:48:22
Score: 3
Natty:
Report link

you could use more like "constraint satisfaction", or "KNearestNeighbors" ...always remember, ML in this case would be less viable than simple search algorithms

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

79501142

Date: 2025-03-11 14:47:22
Score: 3
Natty:
Report link

in a table, you can in the preceeding row add a border-bottom: solid black 1px; and in the next row border-top: solid black 1px; it may be possible to do this with other elements ensuring the space between elements is 1px, then you will get a double line

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

79501138

Date: 2025-03-11 14:46:21
Score: 2
Natty:
Report link

I cannot comment, but I just want to leave my information here. The answer from VKolev doesn't work if the lists have the exact same number of elements, in that case you have to use loop.index0. Since in jinja, loop.index is 1-indexed and loop.index0 is 0-indexed.

{% for concepto in conceptos %}
<tr>
  <td>{{concepto.0}}</td>
  <td>{{operas[loop.index0]}}</td>
  <td>{{concepto.1}}</td>
  <td>{{operas[loop.index0]}}</td>
  <td>...</td>
</tr>
{% endfor %}
Reasons:
  • Blacklisted phrase (0.5): I cannot
  • RegEx Blacklisted phrase (1): cannot comment
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: sasjafor

79501137

Date: 2025-03-11 14:46:21
Score: 1
Natty:
Report link

This may sound really strange, but I have at least two cases when the similar issue with Access interop was fixed by double Office full/online repair.

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

79501135

Date: 2025-03-11 14:44:21
Score: 2.5
Natty:
Report link

try use the lib oracledb for node npm install oracledb

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rafael N. Siqueira

79501130

Date: 2025-03-11 14:42:20
Score: 2
Natty:
Report link

I have decided to share the answer I've come up with on my own in case someone else after me has the same question and hopes to find an answer here:

    document.querySelector("body").onscroll = function() {
    const main             = document.querySelector("main");
    const backgroundHeight = main.offsetWidth * (3.0/2.0);
    const screenHeight     = Math.max(window.screen.availHeight, window.innerHeight);
    const mainHeight       = main.offsetHeight;
    
    const factor = 1.0 - ((backgroundHeight - screenHeight) / (mainHeight - screenHeight));
    const yvalue = - main.getBoundingClientRect().top * factor;
    const xvalue = "center";
    main.style.backgroundPosition = xvalue + " " + yvalue + "px";
    }

const main = document.querySelector("main");

I do this because the background image I want the parallax effect to work on applies to the main element.

const backgroundHeight = main.offsetWidth * (3.0/2.0);

The formula I came up with to always align the background image's bottom with the page's bottom requires the height of the background image. For that I use main.offsetWidth (I set main to take up 100% of the width of the page so this works) multiplied with the height/width ratio of the background image. In the case of the parrot image I used as example, it's 3/2.

screenHeight = Math.max(window.screen.availHeight, window.innerHeight);

One also needs the height of the screen. The problem is that I cannot use a single value as sometimes it gives me a too small result. However, using the maximum of either window.screen.availHeight or window.innerHeight always seems to work to me.

mainHeight = const mainHeight = main.offsetHeight;

And one needs the height of the element you want to apply the parallax effect on.

const factor = 1.0 - ((backgroundHeight - screenHeight) / (mainHeight - screenHeight));

This is the formula I came up with thanks to a geometric sketch.

const yvalue = - main.getBoundingClientRect().top * factor;

I found out that "- main.getBoundingClientRect().top" seems to work better than "const scrolltotop = document.scrollingElement.scrollTop" I used before. main.getBoundingClientRect().top basically returns the distance from the top of the main element to the top of the screen and becomes a negative value once you have scrolled past main's top. This is why I added a minus but Math.abs() works too.

const xvalue = "center"; main.style.backgroundPosition = xvalue + " " + yvalue + "px";

Here you just insert the values into the background.

Right now this function is executed everytime you scroll. main, backgroundHeight, screenHeight and mainHeight stay constant while just scrolling so it would make sense to initialise those values in a separate function executed on load or on resize but not on scroll - unless main changes its size automatically or upon user interaction. I also learnt first-hand while testing that Chrome has massive performance issues with repositioning background images larger than 1000x1000 so please keep this in mind.

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

79501128

Date: 2025-03-11 14:42:20
Score: 3.5
Natty:
Report link

I've done it for my integration test, so maybe is a good idea

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Pipe San Martín

79501127

Date: 2025-03-11 14:41:20
Score: 2
Natty:
Report link

Many React devs prefer Hooks over Higher-order Components (HoCs), and for good reasons. But sometimes, direct usage of hooks for certain logic—like authentication redirects—can clutter components and reduce readability.

Full context and examples here https://frontend-fundamentals.com/en/code/examples/login-start-page.html

Common Hook approach:

function LoginStartPage() {
  const { isLoggedIn } = useAuth();
  const router = useRouter();

  useEffect(() => {
    if (isLoggedIn) router.push('/main');
  }, [isLoggedIn, router]);

  return <Login />;
}

HoC as an alternative:

export default withLoggedOut(LoginStartPage, '/main');

Wrapper Component as another alternative:

function App() {
  return (
    <AuthGuard>
      <LoginStartPage />
    </AuthGuard>
  );
}

But here's the thing:

Many React developers strongly dislike HoCs, finding them overly abstract or cumbersome. Yet, could the issue be how we use HoCs, rather than HoCs themselves?

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

79501112

Date: 2025-03-11 14:37:19
Score: 1
Natty:
Report link

Update: using git version 2.32.0.windows.2 this works as well - including sub-sub-projects!

git clone --recurse-submodules [email protected]:project/project.git

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

79501106

Date: 2025-03-11 14:35:19
Score: 1
Natty:
Report link

After updating docker desktop to the latest version, the Kubernetes failed to start error went away.

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

79501105

Date: 2025-03-11 14:35:19
Score: 2
Natty:
Report link

I had exactly the same issue and stumbled across your post.

Silly question: Why do you muck around with the gradient to get the normal ?

Why the division by the noise and the position messing around.

I thought that the gradient of a surface is the normal itself (you might be able to normalize)

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

79501102

Date: 2025-03-11 14:34:18
Score: 4
Natty:
Report link

You need to create a wrapper or method that will catch the exception and locate the element again as shown below:

enter image description here

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

79501093

Date: 2025-03-11 14:32:18
Score: 2
Natty:
Report link

This should solve the problem if you are getting this error:

psql -U <username> -d <dbname> -f filename.sql

either pgrestore or psql will work based on the file type/dump command you have used.

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

79501088

Date: 2025-03-11 14:29:15
Score: 7 🚩
Natty:
Report link

I have the same issue, and solved with the same solution. Very nice!

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Lilly

79501087

Date: 2025-03-11 14:29:15
Score: 2.5
Natty:
Report link

I m using ConnectionString but getting ConnectionRefused error.

System.Private.CoreLib: No connection could be made because the target machine actively refused it. ErrorCode: ConnectionRefused (ServiceCommunicationProblem).

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

79501084

Date: 2025-03-11 14:28:15
Score: 3
Natty:
Report link

Umm I think Your Question Is with Your Computer. I can delete any posts as I can. Actually Try Deleting Your cache and logging out. It should work.

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

79501077

Date: 2025-03-11 14:27:15
Score: 1
Natty:
Report link

set new CSS fit-content prop for max-width fit content CSS prop

<div class="wrapper">
  <div class="child">some content</div>
</div>



.wrapper {
    max-width: fit-content;
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: alexei rysev

79501072

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

I just created a wrapper on top of pandas for this purpose, if it helps anyone :)
You can achieve it this way:

pip install pandoras

import pandoras as pd
df = pd.DataFrame({"A": [1, 2, 3], "B": [4, None, 6]})
df.drop(columns=["B"], inplace=True). # or edit,apply,...
df.undo()
df.redo()

This is the repo for anyone interested in contributing:
https://github.com/al2m4n/pandoras

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

79501059

Date: 2025-03-11 14:21:13
Score: 3
Natty:
Report link

Invalidating cache worked for me.

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

79501055

Date: 2025-03-11 14:21:13
Score: 0.5
Natty:
Report link

Of course - set MailItem.SaveSentMessageFolder property. See https://learn.microsoft.com/en-us/office/vba/api/outlook.mailitem.savesentmessagefolder

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Dmitry Streblechenko

79501053

Date: 2025-03-11 14:20:13
Score: 1.5
Natty:
Report link

Maybe something like this?

var users = Users.ToAsyncEnumerable()
    .WhereAwait(async x => await IsGrantedAsync(x.Id, permissionName));

This uses the System.Linq.Async package as you cannot provide an asynchronous function to the Where method.

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

79501039

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

Các ký hiệu trên mainboard cho người mới bắt đầu

https://phanrangsoft.com/blog/cac-ky-hieu-tren-mainboard-cho-nguoi-moi-bat-dau/

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

79501031

Date: 2025-03-11 14:15:11
Score: 4
Natty:
Report link

I've found the source of error. With this configuration you should have deploy from gh-pages branch: enter image description here

Reasons:
  • 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: Dmitry Malugin

79501019

Date: 2025-03-11 14:10:10
Score: 0.5
Natty:
Report link

I prefer to write something like below:

EXISTS avoids creating a potentially large result set in memory and is often more efficient.

SELECT a.*
FROM TableA a
WHERE EXISTS (
    SELECT 1
    FROM TermsTable t
    WHERE a.Description LIKE '%' + t.Terms + '%'
)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kamran Khalid

79501013

Date: 2025-03-11 14:09:09
Score: 3
Natty:
Report link

For me the root cause was full C: drive

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
Posted by: walter33

79501010

Date: 2025-03-11 14:07:09
Score: 1
Natty:
Report link

Got this issue once, fixed by using :

sudo systemctl stop containerd.service

sudo systemctl start containerd.service

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

79501008

Date: 2025-03-11 14:06:09
Score: 1
Natty:
Report link

The issue was because I forgot to add the application name in the pom.xml inside the resources folder. The updated pom.xml is as follows.

spring:
  application:
    name: eurekaserver
  config:
    import: "configserver:http://localhost:8071"
  profiles:
    active: dev

management:
  endpoints:
    web:
      exposure:
        include: "*"
  health:
    readiness-state:
      enabled: true
    liveness-state:
      enabled: true
  endpoint:
    health:
      probes:
        enabled: true
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Lasal Hettiarachchi

79501003

Date: 2025-03-11 14:04:08
Score: 1.5
Natty:
Report link

I'd consider it javascriptic rather than Pythonic as js supports obj[attr]. But it leds to confusion.
Python is not a ambiguous language like Javascript.

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

79500997

Date: 2025-03-11 14:00:07
Score: 1
Natty:
Report link

2025 update

Probably your issue is because your apps are targeting SDK 35 (have edge-to-edge display), so you need to handle it.

Check react-native-edge-to-edge package out. More about it here

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jácint Varga

79500995

Date: 2025-03-11 14:00:07
Score: 2
Natty:
Report link

I installed texlive-latex-recommended and texlive-extra-utils with apt-get install.

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

79500993

Date: 2025-03-11 13:59:07
Score: 4
Natty:
Report link

You can set it up in Web.config file:enter image description here

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

79500992

Date: 2025-03-11 13:59:07
Score: 0.5
Natty:
Report link

Below is the corrected script:

z = 20
for i in range(3, 31):
    is_coprime = True
    
    for j in range(2, 30):
        if (i % j == 0) and (z % j == 0):
            is_coprime = False
            break
    
    if is_coprime:
        print(i)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Subir Chowdhury

79500987

Date: 2025-03-11 13:58:06
Score: 2.5
Natty:
Report link

You can refer to this answer. In my case, it was because Cloudflare Hotlink Protection blocked the request.

https://www.answeroverflow.com/m/133455545727215216

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

79500983

Date: 2025-03-11 13:58:06
Score: 0.5
Natty:
Report link

this is the correct method for doing it - https://geekyants.com/blog/implementing-right-to-left-rtl-support-in-expo-without-restarting-the-app

And this is my own implementaion no AI .

import { useFonts } from "expo-font";
import * as SplashScreen from "expo-splash-screen";
import { useEffect, useState } from "react";
import { I18nManager } from "react-native";
import { getLocales } from 'expo-localization';

import { AuthProvider } from "@/context/auth"; // Adjust the path as needed
import { Slot } from "expo-router";
import { SafeAreaProvider } from "react-native-safe-area-context";
import { GlobalProvider } from "@/context/GlobalContext";
import { NotificationProvider } from "@/context/NotificationContext";
import * as Notifications from "expo-notifications";


Notifications.setNotificationHandler({
  handleNotification: async () => ({
    shouldShowAlert: true,
    shouldPlaySound: true,
    shouldSetBadge: true,
  }),
});


export default function RootLayout() {
  const [key, setKey] = useState(0); // Track changes to force re-render
  const [loaded, error] = useFonts({
    Assistant: require("@/assets/fonts/Assistant.ttf"),
  });

  useEffect(() => {
    const setupRTL = () => {
      const deviceLocales = getLocales();
      const isDeviceRTL = deviceLocales[0]?.textDirection === 'rtl';

      // If the device RTL setting doesn't match our I18nManager setting
      if (isDeviceRTL !== true) {  //english device
        I18nManager.allowRTL(isDeviceRTL);
        I18nManager.forceRTL(isDeviceRTL);
        setKey(prev => prev + 1); // Force a re-render to apply layout changes
      } else { //Hebrew device/Arabic/RTL
        I18nManager.allowRTL(false);
        I18nManager.forceRTL(false);
        setKey(prev => prev + 1); // Force a re-render to apply layout changes
      }
    };

    setupRTL();
  }, []);

  useEffect(() => {
    if (loaded || error) {
      SplashScreen.hideAsync();
    }
  }, [loaded, error]);

  if (!loaded && !error) {
    return null;
  }

  return (
    <SafeAreaProvider key={key}>
      <NotificationProvider>
        <AuthProvider>
          <GlobalProvider>
            <Slot />
          </GlobalProvider>
        </AuthProvider>
      </NotificationProvider>
    </SafeAreaProvider>
  );
}

Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ניב ברששת

79500972

Date: 2025-03-11 13:54:05
Score: 1.5
Natty:
Report link

Thanks everyone for stopping by.

I figured it out, it's the firewall that blocked me from reaching to nuget, so I turned off the firewall then it work.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-2): I figured it out
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: 知識日常 Know Scratcher

79500966

Date: 2025-03-11 13:52:05
Score: 0.5
Natty:
Report link

An additional comment to add clarity and hopefully save folks some time - in the specification of Pearson3, shape is skew, loc is the mean, scale is the st.dev (rather than alpha, tau and beta terms).

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

79500965

Date: 2025-03-11 13:51:04
Score: 3
Natty:
Report link

It's now possible to update on-premises synced users via the Microsoft Graph API using API-driven inbound provisioning:

https://learn.microsoft.com/en-us/entra/identity/app-provisioning/inbound-provisioning-api-concepts

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

79500957

Date: 2025-03-11 13:47:03
Score: 1
Natty:
Report link

I've found the problem this morning.

In addition to the toml entry you also need to request API access for the app via the partners.shopify dashboard.

Navigate to

apps > [YOUR APP] > API access

and under 'Allow network access in checkout UI extensions, click Allow network access' you need to select 'Request Access'

With that updated I'm able to make API calls from my extension components

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

79500948

Date: 2025-03-11 13:43:02
Score: 2
Natty:
Report link

Same problem with my gitlab instance, with the exact same update path and result, but for downloading a file directly from a project repository.

    - curl -s -o file_to_download https://gitlab-ci-token:${CI_JOB_TOKEN}@${CI_SERVER_HOST}/path/of/my/project/raw/master/path/to/my/file
Reasons:
  • RegEx Blacklisted phrase (1): Same problem
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user29964512

79500942

Date: 2025-03-11 13:41:02
Score: 1
Natty:
Report link

Open the file build.gradle (Module: App) and implement into dependencies:

dependencies {
    // Outher dependencies...
    
    
    implementation ("com.google.code.gson:gson:2.10.1")
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Andre Simao

79500934

Date: 2025-03-11 13:38:01
Score: 0.5
Natty:
Report link

Here is an easy way of doing this:

import mlflow

id = 123456789 # replace with own run id

# get all runs as a pandas dataframe
runs = mlflow.search_runs(experiment_ids=[id]) 

# Number of runs is the number of rows in the dataframe
print(f'Experiment ID: {id} has {runs.shape[0]} runs')
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: shiftyscales