79401350

Date: 2025-01-30 22:16:45
Score: 0.5
Natty:
Report link

In 2025:

i created a codesandbox with stenciljs to emulate the autofill with all the solutions from here https://codesandbox.io/p/devbox/stencil-component-custom-autofill-detection-k4474k

I used empty css animations:

@keyframes onAutoFillStart {
    from {/**/}
    to {/**/}
}

@keyframes onAutoFillCancel {
    from {/**/}
    to {/**/}
}

To handle the animation:

input:-webkit-autofill {
  animation: onAutoFillStart 1s;
  /* remove blue chrome background */
  -webkit-background-clip: text;
}

input:not(:-webkit-autofill) {
    animation: onAutoFillCancel 1s;
}

And detect the css animation in js:

handleAutofill = (event) => {
    if (event.animationName === 'onAutoFillStart') {
      this.isAutofilled = true;
    } else {
      this.isAutofilled = false;
    }
};

<input 
    type="search" 
    name={this.name} 
    value={this.value} 
    onAnimationStart={this.handleAutofill}
    />

Thanks for the attention

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: dutscher

79401349

Date: 2025-01-30 22:15:45
Score: 2
Natty:
Report link

VSCode C# Omnisharp - I have no idea how, but THIS FIX WORKED FOR ME

Reasons:
  • Whitelisted phrase (-1): WORKED FOR ME
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Pedro Contipelli

79401346

Date: 2025-01-30 22:14:44
Score: 2
Natty:
Report link

I have no idea how it works, but THIS FIX WORKED FOR ME

Reasons:
  • Whitelisted phrase (-1): WORKED FOR ME
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Pedro Contipelli

79401343

Date: 2025-01-30 22:13:44
Score: 2
Natty:
Report link

I have no idea how it works, but THIS FIX WORKED FOR ME

Reasons:
  • Whitelisted phrase (-1): WORKED FOR ME
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Pedro Contipelli

79401337

Date: 2025-01-30 22:08:43
Score: 2.5
Natty:
Report link

Glue recently released glue v5.0, and the SaaS connectors are not yet supported in this version. Please switch to Glue 4 and you will be fine.

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

79401335

Date: 2025-01-30 22:08:43
Score: 3
Natty:
Report link

You can do this with HTTP Response Headers, if your server side sets that header 'Content-Disposition': f'attachment; filename="{file_name}"' (this is in Python)

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

79401334

Date: 2025-01-30 22:08:43
Score: 3.5
Natty:
Report link

Janzi is correct, I just ran into this problem in some very old code.

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

79401332

Date: 2025-01-30 22:07:43
Score: 3
Natty:
Report link

Resolved. Create your own prefix selector. Sometimes if you keep it as "google" the system won't create a key.

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

79401328

Date: 2025-01-30 22:05:42
Score: 0.5
Natty:
Report link

The accepted answer does not work in some cases when the warnings are produced in child processes. In such cases, you can set the PYTHONWARNINGS environment variable to filter warnings from child processes.

os.environ["PYTHONWARNINGS"] = "ignore"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Joswin K J

79401327

Date: 2025-01-30 22:05:42
Score: 1
Natty:
Report link

I get a solution with this

// Replace with your own project number from console.developers.google.com.

// See "Project number" under "IAM & Admin" > "Settings" var appId = "1234567890";

var picker = new google.picker.PickerBuilder() ... .setAppId(appId) ... .build();

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

79401326

Date: 2025-01-30 22:04:41
Score: 4.5
Natty: 5.5
Report link

Is there a way to exclude the main page markdown to shown in the drop down in docusaurus?

For example: I have: myDir/index.md myDir/first.md myDir/second.md

if all the md file are generated and I can't manually list them in the sidebar, only can use autogenerated.

So how can I avoid the index.md content only shown in the myDir main page, not the myDir drop down?

Reasons:
  • Blacklisted phrase (0.5): how can I
  • Blacklisted phrase (1): Is there a way
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Is there a
  • Low reputation (1):
Posted by: Chelsea Liu

79401299

Date: 2025-01-30 21:44:38
Score: 2
Natty:
Report link
quarkus.datasource.devservices.reuse

Use this property in application.properties

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

79401295

Date: 2025-01-30 21:43:37
Score: 2.5
Natty:
Report link

To solve this problem I've manually downloaded the previous version (1.8-0) of the package from the CRAN archives. The problem with the new version must have been caused by some uncompatibility between the synthpop and mipfp package, because synthpop implements that package for the syn.ipf() function.

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

79401294

Date: 2025-01-30 21:43:37
Score: 1.5
Natty:
Report link

Thanks to https://stackoverflow.com/a/79090687/22588434 for pointing out using Graphics.Blit - it is much more efficient in the GPU.

I needed the following (for Unity 6 at least) to correctly vertically flip a RenderTexture (note both Vector2 parameters):

Graphics.Blit(srcTexture, destRenderTexture, new Vector2(1, -1), new Vector2(0, 1));

srcTexture is a Texture (RenderTexture, Texture2D, etc). destRenderTexture must be a RenderTexture, GraphicsTexture, or Material according to the latest docs.

If you need to get back a Texture2D, you can still use Graphics.Blit to do the flipping in the GPU to a RenderTexture, and then request an async gpu readback into a Texture2D. Such as:

AsyncGPUReadback.Request(destRenderTexture, 0, TextureFormat.RGBA32, request =>
    {
        // width/height must match destRenderTexture
        var texture2D = new Texture2D(width, height, TextureFormat.RGBA32, false);

        texture2D.LoadRawTextureData(request.GetData<float>());
        texture2D.Apply();
        
        // ... use texture2D
    });

Otherwise, if you just need a method to flip a given RenderTexture, I found this function on a github gist while researching the correct scale/offset parameters above: https://gist.github.com/mminer/816ff2b8a9599a9dd342e553d189e03f

/// <summary>
/// Vertically flips a render texture in-place.
/// </summary>
/// <param name="target">Render texture to flip.</param>
public static void VerticallyFlipRenderTexture(RenderTexture target)
{
    var temp = RenderTexture.GetTemporary(target.descriptor);
    Graphics.Blit(target, temp, new Vector2(1, -1), new Vector2(0, 1));
    Graphics.Blit(temp, target);
    RenderTexture.ReleaseTemporary(temp);
}
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Evan Ruiz

79401289

Date: 2025-01-30 21:42:37
Score: 3.5
Natty:
Report link

Your math is incorrect, you want setStopLoss(entryPrice * .95) in order to set it 5% below the entryPrice.

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

79401284

Date: 2025-01-30 21:39:37
Score: 2
Natty:
Report link

I tried what the post indicated The other answer ..., but it didn't work, the error kept appearing.

So I found this article, where I used "Option 2: Use a Docker Volume Instead of a Bind Mount", PostgreSQL: How to resolve “Permission denied” when bringing up service in Docker container — ep2

services:
  db:
    image: postgres:latest
    container_name: postgres_db
    environment:
      POSTGRES_USER: myuser
      POSTGRES_PASSWORD: mypassword
      POSTGRES_DB: mydatabase
    volumes:
      - pgdata:/var/lib/postgresql/data

volumes:
  pgdata:
    driver: local
Reasons:
  • Blacklisted phrase (1): this article
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: dixoen

79401280

Date: 2025-01-30 21:38:36
Score: 1.5
Natty:
Report link

It seems you are facing the same issue as https://github.com/Microsoft/vscode-remote-release/issues/7704. The command (via Command Palette) does work, but not the shortcut.

Based on one of the comments provided, Without WSL, the focus needs to be in the explorer, but with WSL the focus needs to be in the editor. This is a bit confusing.

The issue is still open in VS Code, so the error still occurs. In the meantime, you may upvote the issue, to improve the visibility to the team, and choose a different shortcut.

Reasons:
  • Blacklisted phrase (0.5): upvote
  • Has code block (-0.5):
  • Me too answer (2.5): facing the same issue
  • High reputation (-1):
Posted by: alefragnani

79401279

Date: 2025-01-30 21:37:36
Score: 2
Natty:
Report link

SELECT concat(Name,'(', Substr(Occupation,1,1),')' ) from OCCUPATIONS ORDER BY Name ASC; SELECT CONCAT ('There are a total of',' ',COUNT(Occupation),' ', lOWER(Occupation),'s.') FROM OCCUPATIONS GROUP BY Occupation ORDER BY COUNT(Occupation);

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

79401270

Date: 2025-01-30 21:32:35
Score: 3.5
Natty:
Report link

I had a similar issue. I ran the app with "flutter run" and got detailed error.

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

79401260

Date: 2025-01-30 21:24:33
Score: 0.5
Natty:
Report link

Unless someone has a better answer. I will just add the following to my scripts that need automatic names. Its a bummer that I can't get it to work as an imported function.

$filename = $home + [IO.Path]::DirectorySeparatorChar + (Get-Date).ToString("yyyy-MM-dd_") + [System.IO.Path]::GetFileName($MyInvocation.MyCommand.Path) -replace '\.[^.]+$','.csv'

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

79401256

Date: 2025-01-30 21:21:32
Score: 4.5
Natty:
Report link

Ask here: https://community.fabric.microsoft.com/t5/Power-BI-forums/ct-p/powerbi

I normally get fast answers.

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

79401254

Date: 2025-01-30 21:20:32
Score: 1.5
Natty:
Report link

What really helped at the end was setting "SnapsToDevicePixels".

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What
  • High reputation (-2):
Posted by: codymanix

79401248

Date: 2025-01-30 21:18:31
Score: 0.5
Natty:
Report link

I was a beginner with React and NextJS too. I opted for it because it seemed fairly well supported. It has been a learning curve but it is feature rich and VERY well supported and documented. I would recommend using it (not to mention, NextUI is beautiful and great examples on their website for getting started).

As for using it purely for a backend, it depends on your requirements. The most mine does backend-wise is I have a couple of api routes for getting the session token out of a cookie. I use Scala+AKKA-http as my server (with Hibernate + mySQL), meaning the database is not stored on the web side at all. If your system is quite complex (like mine), I would recommend not using NextJS for the server side too, and look at other languages that are designed to operate as a more complex backend webserver.

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

79401245

Date: 2025-01-30 21:17:31
Score: 3.5
Natty:
Report link

Any information about this problem ? i'm at the same point and no solution found on web

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: paul bression

79401239

Date: 2025-01-30 21:12:30
Score: 3.5
Natty:
Report link

enter image description here

Google computersings networksings media now all selectings camera & 2button subscribers slash

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

79401232

Date: 2025-01-30 21:08:29
Score: 2
Natty:
Report link

My question is, in the implementations of VLAs that store the array on the stack, do they store the size of the array somewhere at runtime?

Yes, if it is needed. Effectively, the compiler creates a variable whose name you do not know and stores the size of the array in it. (This is not specified by the C standard, but we can see the effects are equivalent: A user-declared automatic variable retains a run-time value, and that is just what is needed for the size of a variable length array.)

There are embellishments on this. If you define int A[2*n+3]; and then use A without applying sizeof to it, then, once the compiler has allocated stack space for it, it no longer needs to know the size of the array except to release the stack space. It is as if you wrote this code:

size_t SizeOfA = 2*n+3;
int A[SizeOfA];

… Some loop that uses a[i]…

foo(SizeOfA, A);

In that code, the compiler needs to keep SizeOfA at least until the call to foo, since it is passed as an argument. Similarly, if you wrote foo(sizeof A, A);, the compiler would need to keep its hidden hypothetical variable until the call to foo. But if you did not have the call to foo in that code, then optimization could discard the SizeOfA variable since it is never used. Similarly, the compiler can discard its hypothetical variable since it is never used (because it may have another way to release the stack space, per below).

If yes, where?

Likely the size of an array is treated as just one more thing the compiler has to keep track of in a routine, along with user variable, and it is subject to optimization just like anything else.

Also note that, if you have int A[2*n+3];, the compiler does not need to keep the size if it can recalculate it from n, which it can do if n does not change (or it keeps a copy). This would all be up to optimization and other software inside the compiler.

If not, how do you know at runtime how much to decrement the stack pointer once the array goes out of scope?

It is common to have a frame pointer that is a copy of the stack pointer made at the time the routine was started (or some fixed point relative to the start of the routine, such as just after doing some stack housekeeping). If we have a saved frame pointer, everything that the routine pushed onto the stack can be popped simply by copying the frame pointer to the stack pointer.

If we do not have a frame pointer, then the amount to adjust the stack pointer can be calculated from the hypothetical variable described above.

Things get more complicated if you have variable length arrays inside nested blocks that may or may not get executed, due to if statements or other control statements. You can still pop everything with a frame point, but are you going to keep everything that was allocated inside a nested block between the time the block is exited and the time the function returns? Or are you going to pop the variable length arrays when the block is exited? Do you do that by calculating space or by making copies of the stack pointer when such blocks are entered?

Reasons:
  • Blacklisted phrase (1): how do you
  • RegEx Blacklisted phrase (2.5): do you know a
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: Eric Postpischil

79401217

Date: 2025-01-30 21:01:27
Score: 2
Natty:
Report link

Or they could just fix Java.

I'm old C programmer just learning Java (using NetBeans IDE 23).

The textbook I'm using specifies that printf() was put in Java to make it easier to port C code to Java. So my first attempt at using printf instead of println was:

System.out.printf("%*s", 11, myLabel);

which gives a run-time exception trying to process the '*' width specifier.

Every Java reference I found online gives something similar to my code as an example.

No mention of having to kludge it, converting the character set to wide or UTF-8, or writing a fancy method to convert the specified format to a format string that will trick the parser into doing what it should be doing. I'm sorry, the Java printf format parser is broken. They know they are throwing an exception because they found a '*', how hard can it be to just process it as a width specifier? C had it figured out by at least 1988 (See K&R 2nd Edition). It is now 2025. Java needs to fix this.

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

79401216

Date: 2025-01-30 21:00:26
Score: 0.5
Natty:
Report link

in the implementations of VLAs that store the array on the stack, do they store the size of the array somewhere at runtime?

sizeof reports the sizes of VLAs, which are known only at runtime, so it must be possible to evaluate VLA sizes at runtime. Regardless of where a VLA is stored, then, if and as long as there is a potential for an lvalue designating that array to be the operand of a sizeof operator, either the VLA's size or an equivalent must be preserved somewhere in the program's state.

Moreover, during the lifetime of a VLA, the program must ensure that it does not use its storage for anything else. That does not necessarily require tracking a direct equivalent of its size, but certainly something related must be stored, if only as, say, the value of the stack pointer.

If yes, where?

It's unlikely that different implementations are wholly consistent about the details, but VLAs can be declared only at block scope, so with automatic storage duration. Given that, and the fact that there is no defined way to access an object containing their size, it is plausible that an implementation would satisfy a need to preserve VLA sizes with the same kind of storage that they would an automatic variable with register storage class. That does not necessarily mean a CPU register as the storage, but that's one possibility. The stack is another possibility. An indirect representation such as in the value of the stack pointer is another. On the other hand, where there is no chance that the size could be required by a sizeof expression, it might not be preserved in a recoverable manner at all.

If not, how do you know at runtime how much to decrement the stack pointer once the array goes out of scope?

In a typical stack-based machine, a called function does not rely on tracking the number of bytes of stack it is using so as to be able release that memory. Rather, it has the address of the start of its stack frame (the stack base), and on termination, it adjusts the stack pointer to equal its base pointer. The caller's own stack base will be restored as well, in a manner specific to machine architecture and calling convention.

Note: The same question also applies for alloca.

alloca() is a GNU extension, not part of standard C. It is distinguished from the VLA case by not engaging any special sizeof behavior that would require the size of the allocated object to be recoverable at runtime. However, it places the same requirement that the implementation needs to retain enough information to avoid using the allocated object's storage for anything else during that object's lifetime. That might be stored in any of the ways discussed for VLAs, but it is more likely to take a form that does not afford recovering the exact size.

Reasons:
  • Blacklisted phrase (1): how do you
  • RegEx Blacklisted phrase (2.5): do you know a
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-2):
Posted by: John Bollinger

79401214

Date: 2025-01-30 20:59:26
Score: 1
Natty:
Report link

Superwall dev rel here. Let me try to help.

Displaying the correct options on the paywall for active subscribers

You can show the correct subscription options based on the user's current plan. There a lot of ways to check that depending on your setup (using a purchase controller, your own logic, superwall delegate, etc) - but you could either make different paywalls depending on the plans, or pass a placement parameter to your paywall to change what shows (I have a YouTube video on that here: https://www.youtube.com/watch?v=7KT9FfKLByA)

when i tried to upgrade/downgrade using paywall it creates multiple active plan in play store instead of upgrade/downgrade plan

Right, if they are in the different subscription groups on the App Store - users can sub to more than one plan by design. I believe Google Play works similarly. Superwall itself doesn’t directly manage subscription upgrades or downgrades — that’s handled by the app stores' billing systems.

Let me know if I can help answer anything else 🚀

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Long answer (-0.5):
  • No code block (0.5):
Posted by: Dreaming In Binary

79401212

Date: 2025-01-30 20:59:26
Score: 0.5
Natty:
Report link

Pure JS (ES5) chaining solution... No regex, No jquery, No es6

function drop_n_cap(s) {
    function drop_em(v) { return v===' ' || v==='_' ? '' : v }
    function cap_em(v,i,a) { return ! a[i-1] ? v.toUpperCase() : v }
    return s.toLowerCase().split('').map(drop_em).map(cap_em).join('')
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: veganaiZe

79401211

Date: 2025-01-30 20:57:26
Score: 0.5
Natty:
Report link

It turns out if you're going to upload a binary file, you're not supposed to include as: :json as part of your command or else everything in your request will turn into text. This is what I ended up using:

post "/forms/#{myform.id}/attachments", params: { attachments: [ file0, file1 ] }, headers: valid_headers
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: goterpsgo

79401204

Date: 2025-01-30 20:55:25
Score: 1
Natty:
Report link

I'm not a Docker expert, but I’ve used it in a private application with PostgreSQL, Django, and React. From the beginning, I started using Docker and at the same time I configure all locally, and as I learned more about docker, I began relying less on running software directly on my system. In fact, at this point, I don’t even have Python or other development tools installed locally—I only use Docker.

So:

If you’re not an expert and don’t have the time to learn Docker, it’s better to develop everything locally. Save the steps to build your app somewhere, and once you're done, you can try moving everything to Docker. With this approach, I assume you’d prioritize development over containerization. If you do have time, start with Docker. Learn how to set up your entire workspace and develop from your Docker environment. This approach takes a lot of time initially, but once you’ve resolved all the issues, the rest of the process will be smooth—you’ll just need to focus on coding

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

79401201

Date: 2025-01-30 20:53:24
Score: 3.5
Natty:
Report link

This was a firewall issue. The container was being blocked via firewall setting

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

79401199

Date: 2025-01-30 20:53:24
Score: 1
Natty:
Report link

You can now do this with autodoc_inherit_docstrings and :undoc-members:.

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

79401197

Date: 2025-01-30 20:52:24
Score: 1.5
Natty:
Report link

Two very useful command shortcuts that haven't been mentioned in the previous responses are:

G (uppercase) to go to the end and g (lowercase) to go to the beginning.

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

79401192

Date: 2025-01-30 20:50:23
Score: 2.5
Natty:
Report link

If you set a breakpoint and run in debug mode you get that when you hover on a variable the value is shown.

If you are in the editor the variable name and type is shown.

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

79401184

Date: 2025-01-30 20:44:22
Score: 1
Natty:
Report link

Another way to change locale is from ConfigProvider:

import pt from "antd/locale/pt_BR";

<ConfigProvider locale={pt}>
    ...
 </ConfigProvider>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: David L

79401170

Date: 2025-01-30 20:38:21
Score: 1.5
Natty:
Report link

If you are using the new version of the clerk just make some changes in the .env.local and add the following code in it NEXT_PUBLIC_CLERK_AFTER_SIGN_OUT_URL=/sign-in but also make sure that you have done this as well <SignOutButton signOutOptions={{redirectUrl:"/sign-in"}}>

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

79401168

Date: 2025-01-30 20:37:20
Score: 4.5
Natty:
Report link

i am very new to godot; i implemented a jump function but despite during debugging it, function is called on enter pression, the graphic doesnt change...player remain fixed

Reasons:
  • RegEx Blacklisted phrase (1.5): i am very new
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Andrew Maiellaro

79401159

Date: 2025-01-30 20:32:18
Score: 2
Natty:
Report link

The problem was that I was using a outdated capacitor version, after upgrade to capacitor 3, it worked!

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Juny

79401155

Date: 2025-01-30 20:31:17
Score: 6 🚩
Natty: 4.5
Report link

I am using it with servlet(tomcat server an language is java).When I test logger in separate java file,it works but when I try to use it with servlet,it doesn't show up anymore.I am so lost now that I can't debug.is there anyway?

Reasons:
  • Blacklisted phrase (1): is there any
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Lyrain

79401149

Date: 2025-01-30 20:28:16
Score: 1.5
Natty:
Report link

The answer to your question is: Yes, PowerBI creates his own Olap cubes while importing data from external data sources. However this is different when using direct query, but to be honest direct query is not the right way to go for most cases.

Generally in PowerBI you can speak of Tabular OLAP (TOLAP).

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: André Pletschette

79401146

Date: 2025-01-30 20:27:16
Score: 1
Natty:
Report link

In my case, it was because of the domain/subdomain issue. I had two domains to work with the same credentials and have them both as origins, however my ServerDomain was set to the main domain so that it can work for both.

Later I realized that, in that situation I have to host the assetlinks.json file in the main domain as well.

Example: My server domain: example.com My origins are: subdomain1.example.com, subdomain2.example.com

I was hosting assetlinks.json file for both subdomains like:

subdomain1.example.com/.well-known/assetlinks.json

But it was missing in my main domain, which is still required because it is the main point:

example.com/.well-known/assetlinks.json after hosting it like this, my problem resolved.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Yiğit Can Atılgan

79401139

Date: 2025-01-30 20:23:15
Score: 1
Natty:
Report link

I followed vba code that made a change in an excel worksheet that I wanted displayed with:

Application.ScreenUpdating = True
Application.Wait Now + TimeValue("0:00:01") ' wait 1 second
Application.ScreenUpdating = False

If the vba code starts from a routine executed from a button on a worksheet different from the one I wanted displayed, I got to the worksheet ws to be displayed with

Dim sh1 As Worksheet: Set sh1 = Sheets("ws") 

sh1.Visible = True
sh1.Select
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Christopher Paul

79401134

Date: 2025-01-30 20:22:15
Score: 2.5
Natty:
Report link

For me, restarting php-fpm service along with apache worked on RHEL 9. sudo systemctl restart php-fpm sudo systemctl restart httpd

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

79401133

Date: 2025-01-30 20:22:15
Score: 3
Natty:
Report link

spl-token update-metadata MINTINGADRRESSHERE uri METADATAURLHERE

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

79401127

Date: 2025-01-30 20:17:14
Score: 0.5
Natty:
Report link

The problem was not that #root had overflow-x: hidden but that this style was global for almost all tags. So I had to remove it from the MUI Tabs component children element like this :

<main>
      <Tabs
        value={currentYear}
        onChange={handleYearChange}
        variant="scrollable"
        scrollButtons
        allowScrollButtonsMobile
        sx={{
          "& *": {
            overflowX: "unset",
          },
        }}
      >
        {renderTabs}
      </Tabs>
</main>
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: FlowRan

79401126

Date: 2025-01-30 20:17:14
Score: 2.5
Natty:
Report link

OK, I had to properfly sign the application. Info.plist was not correctly added to the package. Once the package has been propertly formatted and signed, my app was able to connect to remote network. Of course, I had to allow local network access via a dialog box that pops up at first run of the quick action

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

79401125

Date: 2025-01-30 20:17:14
Score: 0.5
Natty:
Report link

Have you tried "https://huggingface.co/microsoft/OmniParser" - the demo looks positive.

Text Box ID 0: Transactions Text Box ID 1: System A Text Box ID 2: System B Text Box ID 3: (REST/API) Text Box ID 4: Daily Transactions Text Box ID 5: (Feed/SFTP) Text Box ID 6: Customers Text Box ID 7: (SQL/JDBC) Text Box ID 8: System C

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • No code block (0.5):
  • Low reputation (1):
Posted by: anthony butcher

79401112

Date: 2025-01-30 20:11:12
Score: 1.5
Natty:
Report link

Whilst it isn't a direct fix, i have found a workaround utilising selectedindex, that way instead of comparing a unicode character it just checks if the item is selected. works flawleslly in my code

if (comboBox1->SelectedIndex == 0) z = x + y;

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

79401105

Date: 2025-01-30 20:10:11
Score: 1
Natty:
Report link

What you are describing is called as shell parameter expansion. This means that on evaluation time, bash searches the value of the variable and if not found, would assign the value at the right of :-.

In other words, if AIRFLOW_PROJ_DIR variable is defined (and its value is e.g. /home/me/airflow/project), then your expression would evaluate as /home/me/airflow/project/dags, otherwise, if not defined it will be evaluated as ./dags.

More on shell parameter expansion at: https://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): What you are
  • Low reputation (1):
Posted by: Brandon Lotero

79401091

Date: 2025-01-30 20:05:09
Score: 4.5
Natty:
Report link

printf uses eax for the return value

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

79401083

Date: 2025-01-30 20:02:08
Score: 1
Natty:
Report link

You can also leverage webauthn for ssh authentication from your browser. If you are interested i can recommend my ssheasy project on github https://github.com/hullarb/ssheasy This is a webassembly based ssh client running in the browser and this way it can make use of Web Authentication API. On the server side you only need a fairly recent version of OpenSSH server V8.4 or greater and enabling the [email protected] public key algorithm in its config as described here.

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

79401080

Date: 2025-01-30 20:00:08
Score: 0.5
Natty:
Report link

I solved it! The problem was this Log.Fatal(ex, "UnexpectedException"), when I change it to this Log.Fatal(ex.Message), then the message was logged to application insight.

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Viktor Spáčil

79401070

Date: 2025-01-30 19:58:07
Score: 1.5
Natty:
Report link

You can run this command in a script to force the result of a pipeline task:

- script: echo "##vso[task.complete result=SucceededWithIssues;]"

Possible task results are:

See more here: https://learn.microsoft.com/en-us/azure/devops/pipelines/scripts/logging-commands?view=azure-devops&tabs=bash#example-1

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

79401063

Date: 2025-01-30 19:55:07
Score: 1
Natty:
Report link

I faced this issue today on foreign project which was claimed as 'working'. Here is a fix:

try (CloseableHttpResponse response = httpClient.execute(request)) {
  ...
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Simon Logic

79401057

Date: 2025-01-30 19:51:06
Score: 3.5
Natty:
Report link

The problem was Python version

Polars doesn't work with Python 3.9, when I changed to Python 3.13 (latest at this moment) my code was executed successfully:

View: Success response

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

79401046

Date: 2025-01-30 19:46:04
Score: 1.5
Natty:
Report link

As always it is about the correct permissions. The documentation does not show all the permissions required. It was required to add the .Shared versions as well.

Got it to finally work by adding the .Shared consent. so not only Mail.Read and Mail.ReadBasic, but also Mail.Read.Shared and Mail.ReadBasic.Shared is required.

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

79401043

Date: 2025-01-30 19:45:04
Score: 2.5
Natty:
Report link

Reason for the error is version 8.0.0.200 of Net.IBM.Data.Db2-osx does not support ARM architecture.

Version 9.0.0.100 of Net.IBM.Data.Db2-osx has been recently released and now has ARM support.

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

79401033

Date: 2025-01-30 19:38:02
Score: 2.5
Natty:
Report link

I really don't understand this. Firstly, when you say up to settings.gradle do you mean stop before doing settings.gradle or stop after doing settings.gradle.

after that are you explaining that we have to refactor how we call assets in every file they've been used?

do i need to use expo-file-system?

I've spent a week trying to figure this out and yours is literally the only set of instructions i can find on how to make an asset bundle with expo.

Reasons:
  • Blacklisted phrase (0.5): i need
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: David Saperstein

79401024

Date: 2025-01-30 19:33:01
Score: 2.5
Natty:
Report link

I had this problem today.

This problem appears because the file has execute permission. I changed it to 0644 and it works.

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

79401012

Date: 2025-01-30 19:25:00
Score: 1
Natty:
Report link

I hope, you mean nop, no operation. C++ is abstracted from such things.

The only sure way is inline assembly.

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

79401009

Date: 2025-01-30 19:21:59
Score: 3.5
Natty:
Report link

Just upgraded to notebook 7.3.2 and every keyboard shortcuts work!!!

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

79401008

Date: 2025-01-30 19:21:59
Score: 1.5
Natty:
Report link

In my case issues was in com.android.tools:desugar_jdk_libs version So, I copy the latest version from https://mvnrepository.com/artifact/com.android.tools/desugar_jdk_libs and rebuild the app it starts working

Reasons:
  • Low length (1):
  • No code block (0.5):
Posted by: Talha Rasool

79401006

Date: 2025-01-30 19:21:59
Score: 1
Natty:
Report link
I=input().replace(" ","\n").split("\n")
J=I
for p in range(len(I)):
    if J[p]='\n'
    delete J[p]
print("This list may have empty lines")
print(I)
print"It has an absence of empty lines"
print(J)
  1. It replaces spaces with lines.
  2. It removes an element based on the position and not the value.
  3. It shows us the result without filtering.
  4. It again represents the list with filters applied.
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Racecar

79401002

Date: 2025-01-30 19:18:58
Score: 2
Natty:
Report link

Use the correct type names would be my vote. If you call dedupe a [bool], foo will be left justified. So your code is correct, compression is Boolean and should be left justified. The Ontap cmdlet is wrong, dedupe should be left justified. Just saying. I avoid using calculated properties. Ugly.

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

79400998

Date: 2025-01-30 19:17:58
Score: 3.5
Natty:
Report link

If you are using minikube, try: minikube service "service-name" --url

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

79400990

Date: 2025-01-30 19:15:57
Score: 2
Natty:
Report link

I was having the same error, even the reason for 'Renderer-Process-Gone' was coming undefined. Just did npm install electron@latest and sandbox = true.

The error was not being caught by mainWindow.webContents.on() rather by app.on()

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

79400989

Date: 2025-01-30 19:14:57
Score: 1
Natty:
Report link

Short answer, it depends on the tech. Node projects, for instance, have to be configured by JSON, but from there are different config flavors depending on your project architecture. Next.js servers will require additional configurations with their own set of rules. Typescript requires an additional configuration. So do the testing libraries and linters. Using Babel? Gonna need more config!

On top of this, there are different package managers that can be run on top of Node including NPM, Yarn, and PNPM, each with its own configuration preference. To confuse things more, there are certain architectures and libraries that will accept different types of configuration files, and might support, say, both YAML and JSON config files.

How to keep from being confused? Well, if your config files are missing your application won't work. It will at least throw an error and at worst refuse to run. The "decision" to be made will mostly be based on what the application supports and what you're most comfortable with. If I have a choice between YAML and JSON, I can appreciate that YAML might provide additional flexibility, but I'm more comfortable with JSON so I'll choose it every time. If I hit a roadblock where there's something I just CAN'T do using JSON...well I guess it's time to learn some YAML!

tl;dr: It depends! Basically it's project dependent.

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

79400986

Date: 2025-01-30 19:12:56
Score: 4.5
Natty:
Report link

SUM(CAST(billableDuration AS BIGINT))

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: pun god

79400973

Date: 2025-01-30 19:09:55
Score: 1.5
Natty:
Report link

Seems one way to solve this is to force $Installs to be an array, even if only one element is contained within it.

Using [array]$Installs =

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

79400963

Date: 2025-01-30 19:05:54
Score: 0.5
Natty:
Report link

As for the first approach, I can give you some steps related to Highcharts. Once you have your dynamically created icons, you can use ColorAxis to determine color range, see the API reference here: https://api.highcharts.com/highmaps/colorAxis

As for the traditional heatmap, again you can workout colors with ColorAxs, please see a sample demo here: https://www.highcharts.com/demo/maps/geoheatmap-europe

While Highcharts Maps doesn't directly provide satellite or physical map views, you can overlay Highcharts on maps from other libraries like Mapbox or Google Maps by synchronizing the data and using custom overlays.

Best regards,

Reasons:
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • Whitelisted phrase (-1.5): you can use
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Andrzej Bułeczka

79400953

Date: 2025-01-30 19:00:53
Score: 3.5
Natty:
Report link

You will need to create a Custom Resource Transformation on thar particular case (e.g. the AzureFile). You can read more on how to achieve it here https://github.com/kubernetes-sigs/kustomize/blob/master/examples/transformerconfigs/crd/README.md

Anyway it seems the Azure File is deprecated https://kubernetes.io/docs/concepts/storage/volumes/#azurefile

Reasons:
  • Blacklisted phrase (1): how to achieve
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Mauro

79400952

Date: 2025-01-30 19:00:53
Score: 0.5
Natty:
Report link

It seems I've found a solution: whenever I update something that I want to see on the screen while vba is still running, I execute

Application.ScreenUpdating = True 
Application.Wait (Now + TimeValue("0:00:01")) 
Application.ScreenUpdating = False 
Reasons:
  • Whitelisted phrase (-2): solution:
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Christopher Paul

79400948

Date: 2025-01-30 18:58:52
Score: 3
Natty:
Report link

Since C++17 filesystem library is available and you should use this library. It provides std::filesystem::exists() call

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

79400943

Date: 2025-01-30 18:54:51
Score: 5
Natty: 4
Report link

print("Hello World!")

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

79400930

Date: 2025-01-30 18:52:50
Score: 1.5
Natty:
Report link

When I called the spring boot service I "manualy" added the cookie. I used the CookieService from ngx-cookie-service.

  getNewKey() {
    this.subs.add(this.clientService.getNewKey().subscribe(key => {
      this.clients = key.clients;
      if (key.cookie) {
        var d: Date = new Date();
        d.setMonth(d.getMonth() + 12);
        this.cookieService.set(key.cookie.name, key.cookie.value, d);
      }
    })
    );
  }
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): When I
  • Low reputation (1):
Posted by: Beach Bum Bob

79400913

Date: 2025-01-30 18:46:48
Score: 1
Natty:
Report link

.editable {
  display: inline-block;
  min-width: 50px;
  max-width: 200px;
  border: 1px solid #ccc;
  padding: 5px;
  white-space: nowrap;
  overflow: hidden;
}
<div class="editable" contenteditable="true"></div>

enter code here
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Fenish Sakariya

79400910

Date: 2025-01-30 18:45:48
Score: 1.5
Natty:
Report link

Safe for what, is the question. If this is purely an internal-facing ID column, I don't think there's anything wrong with using any of BigQuery's hash functions. If this is for an external-facing API and you want to prevent someone from reverse-engineering the information used to generate the ID, then I'm not an expert, but I don't think using both hashes is any more secure than just using one.

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

79400908

Date: 2025-01-30 18:44:48
Score: 2
Natty:
Report link

You most likely did composer require intervention/image as opposed to composer require intervention/image-laravel // this is used in v3.

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

79400904

Date: 2025-01-30 18:40:47
Score: 1
Natty:
Report link

Set following environment variables in your docker file

# Set Selenium ChoremeDriver and Browser Path
ENV SE_CHROMEDRIVER=/chromedriverPath
ENV SE_AVOID_BROWSER_DOWNLOAD=true
ENV SE_BROWSER_PATH=/chromeBrowserPath
ENV SE_AVOID_STATS=true
ENV SE_OUTPUT=LOGGER
ENV SE_LANGUAGE_BINDING=java
RUN mkdir /tmp/cache-dir
ENV SE_CACHE_PATH=/tmp/driver
ENV SE_DRIVER=chromedriver
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Muhammad Aslam

79400898

Date: 2025-01-30 18:37:46
Score: 0.5
Natty:
Report link

You need to use the "hide-input-icon" property. According to the docs, the following example should do what you need:

<template>
    <VueDatePicker v-model="date" hide-input-icon />
</template>

<script setup>
import { ref } from 'vue';

const date = ref(new Date());
</script>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ñhosko

79400891

Date: 2025-01-30 18:35:46
Score: 3.5
Natty:
Report link

Use js although you may sacrifice efficiency of your algorithm you’ll be able to use your bot regardless

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

79400890

Date: 2025-01-30 18:34:45
Score: 5
Natty:
Report link

I come back just to share the actual asnwer. According to the Tekton documentation and this issue (https://github.com/tektoncd/pipeline/issues/7175) I thought that the traces where exported in thrift_http, but it is actually OTLP http. So I just changed the url to http://app-to-kafka-collector.otel.svc.cluster.local:4318 and it started to work :) If someone uses this in the future, please share it here! :)

Reasons:
  • RegEx Blacklisted phrase (2.5): please share
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: BigEndian32

79400887

Date: 2025-01-30 18:33:45
Score: 3.5
Natty:
Report link

Here is the article on medium for that, it uses react-native-config, and explains that you can still use expo and have environment avoiding EAS, answer is too late, but maybe someone new will need this:

https://medium.com/@prdjed/a-guide-to-managing-multiple-environments-in-react-native-with-react-native-config-8af705d4f8b4

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Петар Томовић

79400883

Date: 2025-01-30 18:31:44
Score: 1
Natty:
Report link

If you need it to prompt you for a password this works:

curl -su 'user' -X GET https://jfrog.dev.com/ui/v1/download?repoKey=key&path=path%252Ffile.ear -o /appl/webappl/server/file.ear
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Brian Kuepper

79400871

Date: 2025-01-30 18:25:43
Score: 0.5
Natty:
Report link

In terms of text size, use clamps. First, you need to know the width of your site. On a page (in Elementor) click the hamburger menu at the top left of the widgets panel - Site Settings - Layout. At the top you'll see Content Width. For this example, let's say it's 1300px

Next, on your page, select the text in Desktop size screen (normal) and set the px size of your text. For this example, let's say 25px

Then, go to Mobile layout, and set the size of text you want there. For this example, let's say 16px

So you now have these three values:1300px width, 25px maximum font size, 16px minimum font size.

Then use this calculator: https://clamp.font-size.app/

In Minimum Viewort, put in 360, Maximum Viewport = 1300 Minimum Font Size = 16, Maximum Font Size = 25

You'll now get the following calculation: font-size: clamp(1rem, 0.7846rem + 0.9574vw, 1.5625rem);

Delete the first part so you get: clamp(1rem, 0.7846rem + 0.9574vw, 1.5625rem);

In your Text editor, on Desktop, change the size value from px to the Pencil icon and paste the above clamp calculation in. Go to Mobile view, in the text editor, change the size value from px to the Pencil icon and delete any size shown there (16) and the clamp calculation will automatically appear.

(Whatever size you set in Desktop, it will trickle down through all screen sizes - laptop, tablet, mobile).

Your text is now fully responsive according to screen size.

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

79400869

Date: 2025-01-30 18:24:43
Score: 2.5
Natty:
Report link

Add location permission to your androidmanifest xml, grant the location permissions and enable location services. Flutter blue plus needs location to be enabled to scan BLE devices.

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

79400853

Date: 2025-01-30 18:18:42
Score: 0.5
Natty:
Report link

Nevertheless @ThomA has a point - at least one of your queries seems to return what you expect, maybe some comments would be helpful (well, at least this exercise was interesting for myself).

How does SQL Server handle decimal precision when the SUM() function is called?

As the docs say, if the input was DECIMAL then the output precision is always 38.

Does that mean I'm getting overflow somewhere in the scale so it's defaulting to (38,6)?

Yes, in some cases it may fallback to (38,6). In the docs you mentioned above it's the third scenario for multiplication and division cases.

Calculations

Let's say we are computing sum(qty*price) / sum(qty) with no explicit conversions.

When you multiply qty * price both of type (24,10) the output type will be

p = p1 + p2 + 1 = 24 + 24 + 1 = 49
s = s1 + s2 = 10 + 10 = 20
integral part = p - s = 49 - 20 = 29

Precision cannot be greater than 38, so in the final type it will be 38, not 49. The integral part here is 29 which is less than 32, thus it's the first scenario for multiplication and division and scale becomes

s = min(s, 38-(p-s)) = min(20, 38-(49-20) = min(20, 9) = 9

so the outcome of multiplication goes as (38,9). Even if it had precision less than 38, the SUM function would raise it to 38 anyways.

The divisor is sum(qty) where qty is of type (24,10) but the SUM(qty) output will be:

p = 38
s = original s

which is (38,10). So we are dividing (38,9) / (38,10). The output type of this equation will be:

p = p1 - s1 + s2 + max(6, s1 + p2 + 1) = 38 - 9 + 10 + max(6, 9 + 38 + 1) = 39 + 48 = 87
s = max(6, s1 + p2 + 1) = max(6, 9 + 38 + 1) = 48
integral part = 87 - 48 = 39

the integral part is 39 (> 32), and the scale is 48 (> 6), thus it's the third scenario, scale is set as 6 with no options and we get (38, 6). So, yes, there may occur some rounding if there is not enough space for storing the integral part; or the arithmetic overflow error will be raised. But explicit casting may prevent unexpected scale loss.

Here is db fiddle with some formula variations.

ps And thanks to @ThomA - I did not know about sys.dm_exec_describe_first_result_set.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @ThomA
  • User mentioned (0): @ThomA
  • Looks like a comment (1):
  • High reputation (-1):
Posted by: IVNSTN

79400850

Date: 2025-01-30 18:15:41
Score: 0.5
Natty:
Report link

I ran into the same issue. If stylelint-scss asks you to use list.nth, make sure every SCSS file that calls list.nth includes @use "sass:list";. If after making the change it still throws errors try restarting your development server and clearing the cache for good measure.

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

79400849

Date: 2025-01-30 18:15:41
Score: 1
Natty:
Report link

Yes, this is all very nice, except the original question was about month names for a specific calendar. Many of the ‘other’ calendars for specific cultures (.Net term for not the primary calendar of the culture) which are typically observed for religious reasons, have different month names. For example, on the Persian calendar the romanised month name for month 9 is Dey, whereas on the Hijri calendar it’s Ramadan. If you use ar-sa, as you suggest, you’ll just get the Arabic month name from the UmAlQura calendar. I know the same is true for Israel too, the primary calendar is Gregorian based with month names that differ from the Hebrew calendar. If I find the answer, I’ll post it here.

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

79400846

Date: 2025-01-30 18:14:41
Score: 3.5
Natty:
Report link

Did you set the capability on the client? options = ChromeOptions() options.set_capability('se:recordVideo', True)

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Derek Leggett

79400841

Date: 2025-01-30 18:12:40
Score: 1.5
Natty:
Report link

The run-time size of the array can be obtained using sizeof arr. This will result in the same value as i * sizeof *arr, and it could very result in the same code.

If not, how do you know at runtime how much to decrement the stack pointer once the array goes out of scope?

The size of the array is not needed to reset for this. A stack frame can be removed by simply restored the stack pointer to its previous value.

Reasons:
  • Blacklisted phrase (1): how do you
  • RegEx Blacklisted phrase (2.5): do you know a
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-2):
Posted by: ikegami

79400837

Date: 2025-01-30 18:11:40
Score: 1.5
Natty:
Report link

I have something related. Two Pizero2s A and B talking over LAN. They autostart a pair of python programs that pub/sub to each other.
If the power goes off to A and is then restarted (same ip/port), the subscriber on B does not see the newly revived publisher. As a test, when both running normally, I ssh in to A and sudo bootstrap. The connection is made and B gets the later messages. Something in the boot closedown seems to do something (signal?) to clean up the subscribe socket. I see the comment about port reuse and will investigate more.

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

79400822

Date: 2025-01-30 18:07:38
Score: 2
Natty:
Report link

I'm now pretty sure this isn't possible using only Plotly.NET as all it does is generate the HTML for the iframe as Joe pointed out.

The way the Python version works is by communicating with the Jupyter engine and send messages around (I haven't fully understood these layers though)

The way to do this I believe is:

With a bit of luck I might be able to find the code to serialize that data/layout in Plotly.NET too

(btw, I'm a big fan of LINQPad @joe and I've hacked around in it quite a lot)

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @joe
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: vlad2048

79400815

Date: 2025-01-30 18:05:38
Score: 1
Natty:
Report link

I have changed jpeg to png and problem solved.

 img.Image? decodedImage = decodeYUV420SP(inputImage);
 List<int> encodedBytes = img.encodePng(decodedImage);

previous was like that => img.encodeJpg(decodedImage, quality: 100);

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

79400806

Date: 2025-01-30 18:02:37
Score: 0.5
Natty:
Report link

The Newton method is a numerical method, but your f(x) and g(x) as they are remain symbolic. You need to evaluate them. With the following changes, the code ran in my computer. But since I don't see and expected output I cannot attest it runs as you expected.

# Compute the determinant of the matrix A
    det1 = A.det()
    ddet=diff(det1,x)
    
    # Defining Function
    def f(xvalue):
        return  det1.subs({x  : xvalue})

    # Defining derivative of function
    def g(xvalue):
        return ddet.subs({x : xvalue})
Reasons:
  • Blacklisted phrase (0.5): I cannot
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: J Suay

79400805

Date: 2025-01-30 18:02:37
Score: 2.5
Natty:
Report link

If you have a custom constructor, Lombok might not generate the builder method unless you specify @Builder on the constructor itself. Try rebuilding the Project: After making changes, clean and rebuild your project to ensure that Lombok's annotations are processed correctly.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Builder
  • Low reputation (0.5):
Posted by: Nagmat

79400802

Date: 2025-01-30 18:01:37
Score: 1
Natty:
Report link

What I found after a lot of digging around is that my nginx configuration was not taking into account the load balancer as a pool.

In my http block I needed to use upstream to identify the backend server addresses that are used for load balancing:

    upstream mauticWeb {
    least_conn;
    server ${MAUTIC_WEB_URL}:9000;
    }

and in my http --> server block wherever I needed to reach the backend php-fpm server I needed to use the upstream config.

server{
    ...
    location ~ ^(.+\.php)(.*)$ {
       ...
       fastcgi_keep_conn on;
       fastcgi_pass mauticWeb;
       ...
    }
    ...
}
Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): What I
  • Low reputation (0.5):
Posted by: Adam Wheeler

79400801

Date: 2025-01-30 18:01:37
Score: 2
Natty:
Report link

Not able to reproduce your issue. Not sure but i think you made mistake while defining precision of price and qty coloumn. I did this mistake while i was trying to reproduce your issue and it was giving me unexpected result but when i correct it then it start giving me result in DECIMAL(38,12) 237.50507826

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