79619775

Date: 2025-05-13 13:44:33
Score: 0.5
Natty:
Report link

What I found which fixed this problem when I hit it was to add the following to my AndroidManifest.xml file:

    <application
        android:name=".VariantApp"

where "VariantApp" is the name of the class that extends android.app.Application in my project.

In my case, at least, I had added a dependency on Koin for dependency injection and that caused the issue to appear.

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): What I
  • Low reputation (0.5):
Posted by: mcpierce

79619772

Date: 2025-05-13 13:42:33
Score: 0.5
Natty:
Report link

It looks like this has changed significantly since the original post 15 years ago, and especially with the "'Zero-cost' exceptions" in SuperNova's answer. For my current project, I care more about lookup speed and errors than 1 / 0 errors, so I'm looking into that. I found this blog post doing exactly what I wanted, but in Python 2.7. I updated the test to 3.13, (Windows 10, i9-9900k) with results below.

This compares checking key existence with if key in d to using a try: except: block

'''
The case where the key does not exist:
100 iterations:
with_try (0.016 ms)
with_try_exc (0.016 ms)
without_try (0.003 ms)
without_try_not (0.002 ms)

1,000,000 iterations:
with_try (152.643 ms)
with_try_exc (179.345 ms)
without_try (29.765 ms)
without_try_not (32.795 ms)


The case where the key does exist:
100 iterations:
exists_unsafe (0.005 ms)
exists_with_try (0.003 ms)
exists_with_try_exc (0.003 ms)
exists_without_try (0.005 ms)
exists_without_try_not (0.004 ms)

1,000,000 iterations:
exists_unsafe (29.763 ms)
exists_with_try (30.970 ms)
exists_with_try_exc (30.733 ms)
exists_without_try (46.288 ms)
exists_without_try_not (46.221 ms)
'''

where it looks like the try block has a very small overhead, where if the key exists, an unsafe check and try check are the same. Using in has to hash the key for the check, and again for the access, so it slows by ~30% with the redundant operation for real usage. If the key does not exist, the try costs 5x the in statement, which is the same cost for either case.

So, it does come back to asking if you expect few errors, use try and many use in

And here's the code

import time

def time_me(function):
    def wrap(*arg):
        start = time.time()
        r = function(*arg)
        end = time.time()
        print("%s (%0.3f ms)" % (function.__name__, (end-start)*1000))
        return r
    return wrap
    

# Not Existing
@time_me
def with_try(iterations):
    d = {'somekey': 123}
    for i in range(0, iterations):
        try:
            get = d['notexist']
        except:
            pass

@time_me
def with_try_exc(iterations):
    d = {'somekey': 123}
    for i in range(0, iterations):
        try:
            get = d['notexist']
        except Exception as e:
            pass
            
@time_me
def without_try(iterations):
    d = {'somekey': 123}
    for i in range(0, iterations):
        if 'notexist' in d:
            pass
        else:
            pass
       
@time_me
def without_try_not(iterations):
    d = {'somekey': 123}
    for i in range(0, iterations):
        if not 'notexist' in d:
            pass
        else:
            pass
            
    
    
# Existing
@time_me
def exists_with_try(iterations):
    d = {'somekey': 123}
    for i in range(0, iterations):
        try:
            get = d['somekey']
        except:
            pass
        
@time_me
def exists_unsafe(iterations):
    d = {'somekey': 123}
    for i in range(0, iterations):
        get = d['somekey']

@time_me
def exists_with_try_exc(iterations):
    d = {'somekey': 123}
    for i in range(0, iterations):
        try:
            get = d['somekey']
        except Exception as e:
            pass
            
@time_me
def exists_without_try(iterations):
    d = {'somekey': 123}
    for i in range(0, iterations):
        if 'somekey' in d:
            get = d['somekey']
        else:
            pass
            
@time_me
def exists_without_try_not(iterations):
    d = {'somekey': 123}
    for i in range(0, iterations):
        if not 'somekey' in d:
            pass
        else:
            get = d['somekey']
        
        
print("The case where the key does not exist:")
print("100 iterations:")
with_try(100)
with_try_exc(100)
without_try(100)
without_try_not(100)


print("\n1,000,000 iterations:")
with_try(1000000)
with_try_exc(1000000)
without_try(1000000)
without_try_not(1000000)

print("\n\nThe case where the key does exist:")
print("100 iterations:")
exists_unsafe(100)
exists_with_try(100)
exists_with_try_exc(100)
exists_without_try(100)
exists_without_try_not(100)



print("\n1,000,000 iterations:")
exists_unsafe(1000000)
exists_with_try(1000000)
exists_with_try_exc(1000000)
exists_without_try(1000000)
exists_without_try_not(1000000)
Reasons:
  • Blacklisted phrase (1): this blog
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tristan Muzzy

79619771

Date: 2025-05-13 13:42:33
Score: 3.5
Natty:
Report link

Is your engine configured to search the full web? CSE only provides a subset of the full web indexed by Google

https://support.google.com/programmable-search/answer/70392

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Andy

79619768

Date: 2025-05-13 13:41:33
Score: 0.5
Natty:
Report link

First i tried to run your code just as .py script with following modifications and its working:

# was missing
import time
#plt.pause(2)  # i commented this line, after pause plot not resuming any more
ani = FuncAnimation(fig, update, frames=consume, interval=20, save_count=N)
plt.show() # i added, without it animation not starting

But your question is about jupyter notebook, and here modifications to make it works:

import time
from IPython.display import HTML
#plt.pause(2)  # i commented this line, after pause plot not resuming any more
ani = FuncAnimation(fig, update, frames=consume, interval=20, save_count=N)
HTML(ani.to_jshtml()) # i added, without it animation not starting

Result: enter image description here

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

79619764

Date: 2025-05-13 13:39:32
Score: 0.5
Natty:
Report link

That's an old thread but here's my take on the topic

inline std::string hex(unsigned char c)
{
    char h[]{"0xFF"};
    sprintf(h, "0x%02X", c);
    return h;
}

std::cout << hex('\r')
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Damien LEFEVRE

79619762

Date: 2025-05-13 13:37:32
Score: 1.5
Natty:
Report link

Questions: Why would this CSP issue appear only in production?

Because on your dev env you either do not have a CSP specification at all, or the domain was already handled.

What is the best way to configure the CSP to allow this token request without compromising security?

I will forget about "best" and will answer the "how". CSP whitelists domains you trust. So if you trust ogin.microsoftonline.com - and you trust it with the login -, then whitelist it in CSP.

Is explicitly setting connect-src in the CSP header sufficient to fix this?

It could be. Set it, whitelist the domain(s) that you trust and see whether there are further issues.

Could a CDN or production web server (e.g., nginx, Apache, etc.) be altering or overriding the CSP?

In some systems they are overriden. If you are unsure, either ask someone who knows or look into the configuration.

Any help or experience with similar production-only CSP issues would be greatly appreciated!

You could do well to reproduce the issue locally, that is, have the same (wrong) CSP on your local temporarily to reproduce the issue and then fix it on your local. Once you succeed, it should work on live too. BUT: back up your settings, especially the CSP directives from live before you do any change.

Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): Any help
  • RegEx Blacklisted phrase (1.5): fix this?
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-2):
Posted by: Lajos Arpad

79619759

Date: 2025-05-13 13:35:31
Score: 3.5
Natty:
Report link

Quan Bui's answer fixed it. Add export to vm settings.

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

79619757

Date: 2025-05-13 13:35:31
Score: 4
Natty:
Report link

It's a known issue. There is a workaround and a fix is coming soon:

https://github.com/expo/expo/issues/36375#issuecomment-2866317180

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

79619746

Date: 2025-05-13 13:29:29
Score: 2
Natty:
Report link

To be able to run tensorflow models into AWS lambda functions, first transform them into tflite version. Tflite is a lightweight version of tensorflow, suitable for running in AWS lambda.

See the example below.

https://github.com/l3ardia/aws-lambda-tflite

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

79619745

Date: 2025-05-13 13:29:29
Score: 0.5
Natty:
Report link

Getting error with this solution:

Only valid with DatetimeIndex, TimedeltaIndex or PeriodIndex, but got an instance of 'Index'

Reasons:
  • Whitelisted phrase (-2): solution:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: amol kulkarni

79619744

Date: 2025-05-13 13:29:29
Score: 1
Natty:
Report link

-----BEGIN PRIVATE KEY-----

MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDCvuJ5RzcT7tK2

eCQ5YWwM+5YuMBqtzztrp61Yx9KDSYNC1e9+6kTixL4+vFWP9eSeTWOwFWOUu/6T

yKwIUVZ/fGzGPQEOWUB3PabT06UrFb4sEMMqtGuhuXRpWOxRjVa13RasJKgYVGKN

CAvsOISgx8cu8Hkms35Lj4q2H5YUN67UPlwEKS2ISGU+tv3NxRD1XfQpYzRbrFHV

kM3qCnLXmFuohF2egBcQBgdMVwQlVJkh+zKNI7Nh+fdpkex1eO3Z0uUUHX/tHqQ9

15+tUH9OcKPVKFkmpYonCbYBSNYiDf5RV23oKDa9HdMJyo6dKYu4nJMY6mzAXv8f

paKVeHBzAgMBAAECggEAEpvXhjaLiR28CBro0zbU8qn5CsbRSyR54r/uAjAYlIT/

bvEvERXk/opFkjcVh0u8IchMAJ+6mT7G2muazLIBAu4/x/LnrphRXv4xenJHM8Zr

Gp4rbWGPcK+znlFp8M0BqR/MMnzPjIDxEyreq3QnGuScIDHIUdi69mYWn2/bO75/

ldVEafESXQo+DV9gi9+C29mTjFXOqHy57+xg8Tb4DJ7xhbkbu/oEMDcCi5JTJQTr

WjbeHoD+KsswquW+ZlIGLYshr0h2l+wxdnYXZNpktD78IJF0+t0me6ei4rZEb93w

/Gjd3A86DjY5UvsjStEJBXSYOK4veFquRamldFhOoQKBgQDxQUcLvX1fyYHQn7pO

L/rl6G5BNnSFhKXkXdkN0k5O7Jy2z+Uk105z1RDJ+6HcSClgxrqqQzA7SKjfkQaN

lAI0QbefvQLZeP9M2Io9DXhcHzbomwF2mCSb7LiOXOFR+9Y5bxypMWigwZcDQ/Om

lQ+l7wYHmm8F7SMTJteSq1tZUQKBgQDOpemwz5VZNRHA/ajfgMpQvXnzRPZvyr7f

FevnfWDRlw7Z8szBnIMvZWVvkrSwvbrh1jHJ3xMDoPeP6yQt1iZuZNTJGsmT8l3U

g6OsfuCCMGx5f3IbmPMlmZoTOqun7UVmytpEwD4TUHLlJPJhNqY6tvL8fKcw3p6e

p7CmyW78gwKBgQC1l/8UNTOT0CeokzI2/CKMv6GN8KFQhwIfnQxuPOi4u51SdbXz

PyVMRwp2HrQ9DQwoTi3fTueVGCIU9iLKmqf2EalX0Xu9mjgA7dVQEz2PiedYuqQl

Umvr+gkJD5yCi186qAoYyJoKtu0mhhV2RCkdK4eMXZBIE7EdD1Wgjt8ZoQKBgQCV

BWax//CmxTOJZiOLEhhUA1/XQ+snkSD2RZu6c1sHqhSmrYZlNNYRruBohnZRYnFL

fSioeHsAyerdWWfcuis6vvIIGI43Z7eskkXNFi4XFI6VS4fhSPpHKi7HIS86yUuc

JjsjCzN4wDIq9urnmf5kJxyxYb876b6fkTQ+AtNLuwKBgQDUy1aDwe51HJ/0hgZd

GHAGz3Mcr5g8C3vkE7LEM79YrF/sv+dCsWO0e1sXiIbSczc2a65bDOfisc+xOa/a

DLkosV4GccoVJ/7DVWTkTSaYe2ZCIBiVppCvU2A/9Hpp/OfV+YY6jq8cdUQDzlxz

DVxu0gt5fyjV1fZ73XsEqcBeAg==

-----END PRIVATE KEY-----

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

79619731

Date: 2025-05-13 13:20:26
Score: 1
Natty:
Report link

in my ~/.config/fish/config.fish I have this snippet:

    function bang_bang
        echo $history[1]
    end
    abbr -a !! --position anywhere --function bang_bang
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Arizon

79619726

Date: 2025-05-13 13:18:25
Score: 0.5
Natty:
Report link

https://i.sstatic.net/BhqQFfzu.png creation

https://i.sstatic.net/8wnINKTK.png models

https://i.sstatic.net/CQYoXJrk.png navigation property

https://i.sstatic.net/0kJXyftC.png dbset making

https://i.sstatic.net/H3h5ntBO.png scaffolded itmes creation

https://i.sstatic.net/GkqwZUQE.png dto creation

https://i.sstatic.net/5Fxy0sHO.png put endpoint changes

here is a code for that:

builder.Services.AddSwaggerGen();

builder.Services.AddDbContext<IngatlanContext>(options =>
    options.UseSqlite(builder.Configuration.GetConnectionString("DefaultConnection")));

var app = builder.Build();

--------------------------------
public class IngatlanContext : DbContext
{
    public IngatlanContext(DbContextOptions<IngatlanContext> options) : base(options)
    {

    }
    public DbSet<Ingatlan> Ingatlanok { get; set; } = null!;
    public DbSet<Kategoria> Kategoriak { get; set; } = null!;
}

--------------------------------
public class IngatlanGetDto
{
    public int Id { get; set; }
    public string? Leiras { get; set; }
    public DateTime HirdetesKezdete { get; set; }
    public DateTime HirdetesVege { get; set; }
    public int Ar { get; set; }
    public bool Hitelkepes { get; set; }
    public string? KategoriaNeve { get; set; }
}

--------------------------------
Kategoria (1) - Ingatlan (N)
N: 
[ForeignKey("KategoriaId")]
public Kategoria? Kategoria { get; set; }
1:
[JsonIgnore]
public List<Ingatlan>? Ingatlanok { get; set; }
Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: orbanviktor

79619724

Date: 2025-05-13 13:17:25
Score: 2
Natty:
Report link

Tools->Options->Environment->General->UNCHECK 'Optimize rendering for screens with different pixel....'

None of the comments above worked for me. This immediately changed my experience back to what I am use to; what I want to do and not some interpretation thereof.

Screenshot of VS Tools screen

Reasons:
  • Whitelisted phrase (-1): worked for me
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: jneal

79619716

Date: 2025-05-13 13:13:24
Score: 0.5
Natty:
Report link

As engineersmnky commented. Changed form_with model: @order to form_with model: b fixed it!

 <tr>
      <% @orders.each do |b| %>
        <td> <%= b.recipient %></td>
        <td> <%= b.apartment %></td>
        <td><%= b.mailbox %></td>
        <td><%= b.id %></td>

    <%= form_with model: b do |form| %>


      <td><%= form.text_field :delivered, placeholder: "Entregue à" %></td>
      <td><%= form.submit placeholder: "Entregue!"%></td>
    <% end %>

</tr>
  <% end %>
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Cleber Reizen

79619715

Date: 2025-05-13 13:12:23
Score: 1.5
Natty:
Report link

Generally, you may need to export depot_tool.

git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
export PATH="/path/to/depot_tools:$PATH"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Avi Shihora

79619712

Date: 2025-05-13 13:10:23
Score: 1.5
Natty:
Report link

The .trigger("change") does not make vue and react code detect the change its a know cypress issue. A workaround is to trigger input instead:

      cy.get("input.my-slider").invoke("val", 70).trigger("input");
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30526088

79619709

Date: 2025-05-13 13:08:23
Score: 1.5
Natty:
Report link
  1. First go to this page: https://console.cloud.google.com/iam-admin/iam

  2. Find the principal with this suffix: @firebase-sa-management.iam.gserviceaccount.com

  3. Click the edit icon.

  4. Add this role: Storage Object Admin

  5. Click Save.

    The issue should be resolved. I've got my issue resolved.

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

79619704

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

When this issue first came up a few years ago I decided to take a different approach, and wrote a proxy that sits between your IMAP/POP/SMTP client and the OAuth email provider. This way, you don't need to modify your client code, and only have to handle interactive OAuth requests once per account. You can find it here: https://github.com/simonrob/email-oauth2-proxy.

Reasons:
  • Contains signature (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When this is
  • Low reputation (0.5):
Posted by: Simon

79619701

Date: 2025-05-13 13:01:21
Score: 2.5
Natty:
Report link

I've just found the option in ggsurvplot

axes.offset: logical value. Default is TRUE. If FALSE, set the plot axes to start at the origin.

which does exactly what you would like.

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

79619699

Date: 2025-05-13 13:01:21
Score: 1.5
Natty:
Report link

Thanks I resolved the issue it was the version number 1.8.0 in beta and I have changed it the stable version 1.7.7 and works fine

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-2): I resolved
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Zeinu kedir

79619696

Date: 2025-05-13 12:58:20
Score: 0.5
Natty:
Report link

Yes, you can use Docker to isolate and test potentially dangerous game mods or scripts, but with some limitations
Not 100% Secure for Malicious Code becouse it does not provide the same level of isolation as a full VM

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Oluwasusi Victor

79619694

Date: 2025-05-13 12:57:20
Score: 2
Natty:
Report link

The AdminJs team seems to be aware of this issue.

It seems it's likely caused by Nest v11. You can start your project with Nest v10 or subscribe to the issue and wait for a patch.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Please Help Me

79619693

Date: 2025-05-13 12:57:20
Score: 0.5
Natty:
Report link

MQ has no concept of a duplicate message.

You can put two "identical" messages on the queue if you like, but that's application-level logic. Once you have got a good return code from the send() operation, the message is (subject to transactionality and persistence options) there forever until someone removes it.

Even if you did something expensive like scan the existing messages on a queue before putting a new one, that would not help you if someone has already removed the "identical" message.

Reasons:
  • No code block (0.5):
Posted by: Mark Taylor

79619691

Date: 2025-05-13 12:56:19
Score: 2.5
Natty:
Report link

Thank you for your answers.

After a few hours spent on investigations, I found source of the problem. Configuration is OK but the problem is inside CI/CD. Locally that works fine, but in the CI/CD there are two versions at once - with CRA configuration and Vite configuration. I can see my updated and new files, but all deleted files still are visible inside pipeline. Even if I've removed postcss.config.js and rest of these old configs, they are still taken from the dev branch to which I am trying to merge my changes.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): I am trying to
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Kuba Bujak

79619682

Date: 2025-05-13 12:50:18
Score: 0.5
Natty:
Report link

When you lock your ACR behind a private endpoint, the one piece that breaks is your build‐and‐push job: a Microsoft-hosted agent (or your local laptop) simply can’t ever reach your registry’s private IP. You have two ways to get around that:

1) Build & push to a private ACR

A. Use ACR Tasks (server-side build)

ACR Tasks run inside Azure, so they don’t need your agent to talk to the registry—but they do need permission through your ACR’s firewall/private endpoint.

  1. In the Azure Portal, go to your Container Registry → Networking

  2. Under Private endpoints, click your ACR private link.

  3. Under Firewall, toggle on “Allow trusted services” (this lets ACR Tasks in).

  4. From your pipeline use the exact same snippet you have:

    
    - task: AzureCLI@2
      displayName: 'Build & Push with ACR Tasks'
      inputs:
        azureSubscription: '$(azureSubscription)'
        scriptType: bash
        scriptLocation: inlineScript
        inlineScript: |
          az acr build \
            --registry $(acrName) \
            --image func-images:$(Build.BuildId) \
            --image func-images:latest \
            --file $(functionAppPath)/Dockerfile \
            $(functionAppPath)
    
  5. Confirm in the Portal’s Tasks blade that the build jobs are succeeding.

B. Or run docker build & docker push on a self-hosted agent in your VNET

If you’d rather build locally in your pipeline, that agent needs network access to your private ACR.

  1. Spin up an Azure VM (or Container Instance) in the same VNet/subnet (so it can resolve your private DNS zone)

  2. Install the Azure DevOps agent on that VM and add it to a self-hosted pool (e.g. MyVNetAgents)

  3. In your YAML switch pools and do a classic Docker build/push:

    pool:
      name: MyVNetAgents
    
    steps:
    - task: AzureCLI@2
      displayName: 'Login to ACR & Build/Push'
      inputs:
        azureSubscription: '$(azureSubscription)'
        scriptType: bash
        scriptLocation: inlineScript
        inlineScript: |
          az acr login --name $(acrName)
          docker build \
            -f $(functionAppPath)/Dockerfile \
            -t $(acrName).azurecr.io/func-images:$(Build.BuildId) \
            $(functionAppPath)
          docker push $(acrName).azurecr.io/func-images:$(Build.BuildId)
    
    

    2) Let your Container App actually pull that image

    Your Function-in-a-Container App has exactly the same “private registry” problem when it starts up. You have two choices here too:

    A. Feed it credentials

    When you first created the Container App (or its Environment) you can supply --registry-server, --registry-username and --registry-password. The CLI then stores those for every update/pull.

    az containerapp env create \
      --name my-env \
      --resource-group $(resourceGroup) \
      --location westus \
      --registry-server $(acrName).azurecr.io \
      --registry-username <YOUR-ACR-SPN-APPID> \
      --registry-password <YOUR-ACR-SPN-SECRET>
    
    

    Then your existing update:

    - task: AzureCLI@2
      displayName: 'Deploy to Container App'
      inputs:
        azureSubscription: '$(azureSubscription)'
        scriptType: bash
        scriptLocation: inlineScript
        inlineScript: |
          az containerapp update \
            --name $(containerAppName) \
            --resource-group $(resourceGroup) \
            --image $(acrName).azurecr.io/func-images:$(Build.BuildId)
    
    

    B. Use a Managed Identity (recommended)

    1. Turn on system-assigned identity on your Container App:

      az containerapp identity assign \
        --name $(containerAppName) \
        --resource-group $(resourceGroup)
      
      
    2. Grant that identity the AcrPull role on your registry:

      az role assignment create \
        --assignee <the-principal-id-you-got-above> \
        --role AcrPull \
        --scope /subscriptions/.../resourceGroups/.../providers/Microsoft.ContainerRegistry/registries/$(acrName)
      
      
    3. Update your Container App exactly as before—the identity will automatically be used for pulls:

      az containerapp update \
        --name $(containerAppName) \
        --resource-group $(resourceGroup) \
        --image $(acrName).azurecr.io/func-images:$(Build.BuildId)
      
      

    3) DNS & network checklist

    • DNS: your build VM (or ACR Tasks) must resolve
      mycontainerregistry-ehbcbtcwhpeyf9c2.azurecr.io → <private-endpoint-IP>
      via your Azure Private DNS zone (e.g. privatelink.azurecr.io).

    • VNet integration: both your build host and your Container App Environment must be on subnets that have that DNS zone linked.

    • Firewall rules: if you ever switch to public endpoints, you can open “Allow Azure services” or explicitly allow the Azure DevOps service tag—but private endpoint + firewall = host must be inside the VNet.

    TLDR (Summary):

    1. Decide where your build lives:

      • hosted ACR Tasks (enable “trusted services”), or

      • self-hosted agent in your VNet.

    2. Build & Push your Docker image to ACR.

    3. Configure your Container App to pull—either supply creds or use MSI + AcrPull.

    4. Wire up your YAML exactly as above.

    Once your build agent can actually talk to the registry IP, and your App can pull it, everything will flow end-to-end again.

Reasons:
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Low reputation (0.5):
Posted by: Ash

79619678

Date: 2025-05-13 12:49:18
Score: 1.5
Natty:
Report link

Yes, BigQuery can technically handle 700B+ rows, however DBT should not handle that in one shot during a full_refresh. The best approach is partitioned, batched processing and that means breaking it down by day. Consider using DBT's microbatch strategy if your DBT version supports it, or implement a daily processing loop in your DAG orchestration.

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

79619677

Date: 2025-05-13 12:47:17
Score: 4
Natty:
Report link

See this example of running tensorflow models on AWS lambda functions.

https://github.com/l3ardia/aws-lambda-tflite

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

79619674

Date: 2025-05-13 12:44:16
Score: 10.5 🚩
Natty: 5.5
Report link

I have same configuration and I have exactly same issue. Do you have solution?

Reasons:
  • RegEx Blacklisted phrase (2.5): Do you have solution
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have exactly same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Tomáš Valy Valoušek

79619673

Date: 2025-05-13 12:44:15
Score: 3.5
Natty:
Report link

I recommend you create a Python API with the correct processing and consume it in your Kotlin app, if it must be due to the processing that occurs.

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

79619669

Date: 2025-05-13 12:42:15
Score: 1.5
Natty:
Report link

Run these following commands. Will help you remove those unwanted Zone.Identifier files.

git config core.protectNTFS false
git sparse-checkout init --cone
git sparse-checkout set ''
git checkout <branch_name>
git sparse-checkout disable
find . -name "*:Zone.Identifier" -type f -delete
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Aakash Pawan G P S

79619665

Date: 2025-05-13 12:40:14
Score: 0.5
Natty:
Report link

Yes! It is safe to use memcpy(buffer, my_string, strlen(my_string)); when copy from a char* string literal to a uint8_t[] buffer.

In C99, char and uint8_t are both character types, and do not have padding bits. memcpy works at the byte level and will copy only the meaningful data (i.e., bytes actually used by the string), no hidden or undefined padding will be introduced when copying a string this way.

In addition, from ISO/IEC 9899:201x Programming languages -- C, 6.2.6.1 Representations of types, General, paragraph 3:

Values stored in unsigned bit-fields and objects of type unsigned char shall be represented using a pure binary notation.

The key points: unsigned char is always a pure binary representation - no padding, no trap representations, no weirdness.

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

79619637

Date: 2025-05-13 12:22:09
Score: 2.5
Natty:
Report link

WhatsApp Flows expects a response from the endpoint within 3 seconds, and if that doesn't happen - an error "Failed to fetch response from endpoint" appears, even if you then return the correct JSON.

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

79619631

Date: 2025-05-13 12:20:08
Score: 1
Natty:
Report link

If you are using the getReactNativePersistence check, That's what is prollly giving the error. Try importing directy;

from "firebase/auth/react-native";
import { getReactNativePersistence } from 'firebase/auth'; 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Joseph Korm

79619627

Date: 2025-05-13 12:17:07
Score: 3.5
Natty:
Report link

KYS
you are a disgrace to your nation and should be anihilatexd

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

79619620

Date: 2025-05-13 12:15:06
Score: 1
Natty:
Report link

Create an arrow function when subscribing to the Observable, like this:

this.subscription = observable.subscribe((value) => this.update(value));

Or eliminate the function update by including the logic in the arrow function.

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

79619618

Date: 2025-05-13 12:15:06
Score: 0.5
Natty:
Report link
SELECT * FROM Name
JOIN Course 
ON Course.Id IN (SELECT [value] FROM STRING_SPLIT(Name.CourseId, ','))
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Johan Gov

79619611

Date: 2025-05-13 12:12:05
Score: 1.5
Natty:
Report link

Adding autocomplete property to v-select helped for me

<v-select
    multiple
    chips
    clearable
    autocomplete
/>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: grayman

79619604

Date: 2025-05-13 12:08:04
Score: 1.5
Natty:
Report link

1

Queues don't allow random, indexed access by concept so it is a good thing that the interface does not allow this either. If you need both kinds of access at the same time (which is a bad sign for design) then you could use a datatype that implements both List and Queue (e.g. LinkedList)

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

79619600

Date: 2025-05-13 12:06:04
Score: 2.5
Natty:
Report link

Managed to find an answer to my own question : negative sampling was poorly done (mainly random links) which led the model to always have the same percentage of trust for positive and negative links. I coded my own neg sampling function and made it generate links only inside the said "gamme". Now i have around 0.88 AUC.

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

79619589

Date: 2025-05-13 12:02:03
Score: 2
Natty:
Report link

Once can do this as below

thread No: (${__threadNum}) - loop - ${__jm__login__idx} ${__machineIP}

NOTE: Replace Login by name of your thread group

__threadNum - will print thread number

__jm__login__idx - will print loop number

__machineIP - will print IP of computer

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

79619573

Date: 2025-05-13 11:51:59
Score: 2
Natty:
Report link

this does not work !! it only stop the error , the action of pasting never executes if the error is triggered

On Error Resume Next


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

79619570

Date: 2025-05-13 11:48:58
Score: 13.5
Natty: 7.5
Report link

i have the same problem with you, did you fix it?

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

79619567

Date: 2025-05-13 11:46:57
Score: 1.5
Natty:
Report link

Using match() Function

match() is an inbuilt function in Julia which is used to search for the first match of the given regular expression in the specified string.

The match function in Julia is not intended to find multiple matches it only finds the first

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Martin Wangen-Eriksen

79619566

Date: 2025-05-13 11:46:57
Score: 3
Natty:
Report link

After getting use these functions will work:
.GetAwaiter().GetResult();

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

79619563

Date: 2025-05-13 11:45:57
Score: 0.5
Natty:
Report link

In Julia, the match() function returns only the first match of the regular expression, which is why match(r"\d+", "10, 11, 12") gives "10" and stops there. This is intended behavior and differs from eachmatch(), which returns all matches in the string. The captures field is empty because your pattern r"\d+" doesn't include any capture groups—capture groups are defined using parentheses, like r"(\d+)". Without parentheses, there’s nothing to capture beyond the full match itself, which is accessible via m.match. To retrieve all numbers from the string, eachmatch(r"\d+", ...) is the correct approach.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Manas Parashar

79619541

Date: 2025-05-13 11:25:52
Score: 2.5
Natty:
Report link

this will empty all rows from table even if u gets any issue regarding foreign key constraint......

this will not delete table.

DELETE FROM <table name>;

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

79619538

Date: 2025-05-13 11:23:50
Score: 2.5
Natty:
Report link

The MASM assembler can be installed in Visual Studio, .asm files need to be created, the code needs to be written, the solution needs to be built, and the solution needs to be debugged.

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

79619533

Date: 2025-05-13 11:19:49
Score: 0.5
Natty:
Report link

When we say query or command as Operation in mongodb:

Query: query operation basically means it doesn't change anything in DB. Just fetch the data without changing anything in DB

Command: Command is something where queries will have insert, update or delete.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When we
  • High reputation (-1):
Posted by: KushalSeth

79619509

Date: 2025-05-13 10:56:44
Score: 3.5
Natty:
Report link

I am experiencing the same problem.

Pentaho CE 10.2.0.0-222 / JDK 17.0.10

Action: Open file - Browse a subdir from root dir ("/")

Error:

Exception occurred
java.lang.NullPointerException: Cannot invoke "org.pentaho.di.repository.RepositoryDirectoryInterface.getName()" because "repositoryDirectoryInterface" is null
    at org.pentaho.di.plugins.fileopensave.providers.repository.model.RepositoryDirectory.build(RepositoryDirectory.java:43)
    at org.pentaho.di.plugins.fileopensave.providers.repository.RepositoryFileProvider.getFiles(RepositoryFileProvider.java:107)
    at org.pentaho.di.plugins.fileopensave.providers.repository.RepositoryFileProvider.getFiles(RepositoryFileProvider.java:69)
    at org.pentaho.di.plugins.fileopensave.controllers.FileController.getFiles(FileController.java:131)
    at org.pentaho.di.plugins.fileopensave.dialog.FileOpenSaveDialog$FileTreeContentProvider.lambda$getChildren$0(FileOpenSaveDialog.java:2464)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:74)
    at org.pentaho.di.plugins.fileopensave.dialog.FileOpenSaveDialog$FileTreeContentProvider.getChildren(FileOpenSaveDialog.java:2462)
    at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1434)
    at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:350)
    at org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(StructuredViewer.java:852)
    at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:626)
    at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:828)
    at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:604)
    at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:779)
    at org.eclipse.jface.viewers.AbstractTreeViewer.setExpandedState(AbstractTreeViewer.java:2526)
    at org.pentaho.di.plugins.fileopensave.dialog.FileOpenSaveDialog.lambda$createFilesBrowser$21(FileOpenSaveDialog.java:1273)
    at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:823)
    at org.eclipse.jface.util.SafeRunnable$1.run(SafeRunnable.java:129)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:174)
    at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:820)
    at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1193)
    at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:84)
    at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:263)
    at org.eclipse.jface.util.OpenStrategy.access$5(OpenStrategy.java:258)
    at org.eclipse.jface.util.OpenStrategy$1.lambda$1(OpenStrategy.java:428)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4029)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3645)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:823)
    at org.eclipse.jface.window.Window.open(Window.java:799)
    at org.pentaho.di.plugins.fileopensave.dialog.FileOpenSaveDialog.open(FileOpenSaveDialog.java:322)
    at org.pentaho.di.plugins.fileopensave.extension.FileOpenSaveExtensionPoint.callExtensionPoint(FileOpenSaveExtensionPoint.java:74)
    at org.pentaho.di.core.extension.ExtensionPointMap.callExtensionPoint(ExtensionPointMap.java:142)
    at org.pentaho.di.core.extension.ExtensionPointHandler.callExtensionPoint(ExtensionPointHandler.java:36)
    at org.pentaho.di.ui.spoon.Spoon.openFileNew(Spoon.java:4706)
    at org.pentaho.di.ui.spoon.Spoon.openFileNew(Spoon.java:4670)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:309)
    at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:153)
    at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:137)
    at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton.access$000(SwtToolbarbutton.java:44)
    at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton$1.widgetSelected(SwtToolbarbutton.java:92)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:252)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4256)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4054)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3642)
    at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1429)
    at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:8217)
    at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9586)
    at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:735)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at org.pentaho.commons.launcher.Launcher.main(Launcher.java:88)

Thanks in advance for any support
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (3): Thanks in advance
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Maxhouston

79619508

Date: 2025-05-13 10:56:44
Score: 1
Natty:
Report link

Depending on the tool's authentication mechanism, you often need to provide the API key in the HTTP request headers or as part of the query parameters in order to transmit it to tool calls on a Cloudflare remote MCP (Managed Components Platform) server. The most popular and safest approach is:

http Copy Edit Permission: Provide YOUR_API_KEY
Alternatively, in a curl file:

https://api.example.com/tool-call bash Copy Edit curl -H "Authorization: Bearer YOUR_API_KEY"
Ensure that the API key is never hard-coded into client-side scripts and is instead safely saved (for example, in environment variables).

On a lighter note, decoration games are a great way to unwind while creating lovely virtual environments if you're taking a vacation from coding.

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

79619483

Date: 2025-05-13 10:34:38
Score: 3.5
Natty:
Report link

The same trick worked for me, but I have now a more complex case now.

What if I had a second catkin package that depends on the one using the imported library, and I want this second package to use the library?

Because I can't install an imported library with CMake, I'm forced to install it as a file, e.g.:

First catkin package

cmake_minimum_required(VERSION 3.0.2)
project(first_ros_project)
find_package(catkin REQUIRED)
catkin_package(INCLUDE_DIRS include
               LIBRARIES ${PROJECT_NAME})
add_library(${PROJECT_NAME} SHARED IMPORTED)
set_target_properties(${PROJECT_NAME} PROPERTIES
        IMPORTED_LOCATION ${LIB_PATH}) # Assume this variable is filled in
install(FILES ${LIB_PATH}
        DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION})

Second catkin package:

cmake_minimum_required(VERSION 3.0.2)
project(second_ros_project)
find_package(catkin REQUIRED COMPONENTS first_ros_project)
add_executable(second_node src/second_node.cpp)
target_link_libraries(second_node ${catkin_LIBRARIES})

Compiling the second package gives me an error like this:

 Project 'second_ros_project' tried to find library 'first_ros_project'.
  The library is neither a target nor built/installed properly.  Did you
  compile project 'first_ros_project'? Did you find_package() it before the
  subdirectory containing its code is included?

This is because the target was not installed, just the library as a file.

Following this link it appears the only way is to make a custom Find*.cmake but I'm unsure how to do this correctly for a catkin package.

Reasons:
  • Blacklisted phrase (1): this link
  • Whitelisted phrase (-1): worked for me
  • RegEx Blacklisted phrase (3): Did you find
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: mcamurri

79619478

Date: 2025-05-13 10:30:36
Score: 2.5
Natty:
Report link
String requeteSQL="SELECT * FROM `client` WHERE NOM LIKE ?";
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: BAIDOURI KHALIL

79619474

Date: 2025-05-13 10:25:35
Score: 2
Natty:
Report link

To change default timezone in sql warehouse, configure this "timezone +08:00" in SQL Configuration Parameter, it worked for me.

Refer to:

https://learn.microsoft.com/en-us/azure/databricks/sql/language-manual/parameters/timezone

https://docs.azure.cn/zh-cn/databricks/admin/sql/

Reasons:
  • Whitelisted phrase (-1): it worked
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Joe Deng

79619468

Date: 2025-05-13 10:23:34
Score: 0.5
Natty:
Report link

Triple DES Encryption: Internal Workings and Modern Security Status

Triple DES (3DES) applies the original DES encryption algorithm three times in sequence to improve security. Here's how it works internally:

Internal Operation

Triple DES uses the Encrypt-Decrypt-Encrypt (EDE) pattern, not Encrypt-Encrypt-Encrypt. The process for a data block is:

  1. Encrypt with key K1

  2. Decrypt with key K2

  3. Encrypt with key K3

This specific pattern allows for backward compatibility with single DES when K1 = K2 = K3.

Key Options in 3DES

Triple DES supports three keying options:

Security Status Today

Triple DES is generally not recommended for new applications for several reasons:

  1. Performance: 3DES is significantly slower than modern alternatives like AES

  2. Block size limitations: 3DES uses a 64-bit block size (vs. 128-bit for AES), making it vulnerable to block collision attacks

  3. Effective security: Even with three keys, practical attacks reduce security below the theoretical maximum

  4. Sweet32 vulnerability: 3DES is vulnerable to birthday attacks when encrypting large amounts of data with the same key

Most security standards and organizations now recommend using AES instead, which offers:

That said, 3DES still provides adequate security for legacy systems when properly implemented with three distinct keys and within its security limits (encrypting less than 8MB of data with any single key).

Bottom Line:
3DES was a clever way to extend DES's life, but it's outdated and should not be used for new applications. AES is the modern, secure standard and is the best symmetric choice today.

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

79619462

Date: 2025-05-13 10:21:34
Score: 0.5
Natty:
Report link

I had the same problem after updating to Rails 7.2.

I always use the console with pry-rails so I just needed to update the gem to (0.3.11)

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Geovany Gameros

79619447

Date: 2025-05-13 10:12:31
Score: 2.5
Natty:
Report link

The issue was due to using Vitest's fake timers, which conflict with fastify.inject() behaviour. See here:

My discussion on Fastify's GitHub

My discussion on Vitest's GitHub

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

79619445

Date: 2025-05-13 10:10:30
Score: 1.5
Natty:
Report link

People might also be interested in the quill-delta-to-html package, which lets one directly turn Quill's deltas into HTML, for use with dangerouslySetHTML() :)

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

79619442

Date: 2025-05-13 10:10:30
Score: 2
Natty:
Report link

Store interfaces under

App\Contracts 

or

App\Interfaces
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ferid

79619438

Date: 2025-05-13 10:07:29
Score: 4
Natty:
Report link

Answered by @mahrez-benhamad in comments - it was a problem with the virtual environment itself. Switching to a later version solved the problem.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @mahrez-benhamad
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Cormac

79619433

Date: 2025-05-13 10:05:29
Score: 1.5
Natty:
Report link

To use "var" variables from send API 3.1 you should use this way:

{{var:variableName:""}}

If you need to use data variables it is another syntax:

[[data:contactPropertyName:defaultValue]]

Documentation reference: https://documentation.mailjet.com/hc/en-us/articles/16886347025947-Mailjet-Templating-Language#h_01H57492B40WF1791NNH25XG5X

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Daniel López

79619429

Date: 2025-05-13 10:03:28
Score: 0.5
Natty:
Report link

Haha, love how coding and birthday wishes blend so well here — I’ve actually done something similar for a friend who’s both a developer and Marathi-speaking. I created a small CLI greeting that said: puts "वाढदिवसाच्या हार्दिक शुभेच्छा, @navin_techie!" — it got a big smile! In Marathi culture, the emotional tone of wishes matters just as much as the creativity, especially when we use phrases like “संपूर्ण आयुष्य आनंदात आणि यशात जावो” (“May your whole life be filled with happiness and success”). Blending that with code makes it a fun and heartfelt gesture, especially among techies.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Franklin Alex

79619413

Date: 2025-05-13 09:53:20
Score: 8.5 🚩
Natty:
Report link

I encountered the same problem and don't know how to solve it.

Reasons:
  • Blacklisted phrase (1): how to solve
  • RegEx Blacklisted phrase (2): don't know how to solve
  • RegEx Blacklisted phrase (2): know how to solve
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: 大boss

79619406

Date: 2025-05-13 09:49:18
Score: 2
Natty:
Report link

Sorted with random as key , it will compare random.random() of each index.

[34, 12, 5] may have random.random() as [0.33773311433456343, 0.7769153781369283, 0.4401941953084012] as key that they compare. so 34 will have smallest key, and 12 have largest key.

Result will be [34,5,12]

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Nguyễn Tiến Dũng

79619399

Date: 2025-05-13 09:46:17
Score: 12 🚩
Natty: 4
Report link

Were you able to figure this one out? I'm facing the same issue.

Reasons:
  • RegEx Blacklisted phrase (3): Were you able to figure
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm facing the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Wouter Sioen

79619395

Date: 2025-05-13 09:44:16
Score: 0.5
Natty:
Report link

If someone is still looking for a solution, this one actually saved me:

        private void DataGridView1_CellPainting(object sender, DataGridViewCellPaintingEventArgs e)
        {
            DataGridView1.CurrentCell = null;
        }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Vise221

79619390

Date: 2025-05-13 09:43:15
Score: 0.5
Natty:
Report link

npm --dd seems to be an alias for npm --loglevel verbose, according to npm's GitHub repo

It seems that npm automatically interprets -dd as --dd.

npm -dd pack is therefore equivalent to npm --loglevel verbose pack.

Essentially, all this will do is giving you very verbose logs about your npm pack command.

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

79619387

Date: 2025-05-13 09:41:15
Score: 3.5
Natty:
Report link

For right now this functionality is not possible.

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

79619385

Date: 2025-05-13 09:40:15
Score: 0.5
Natty:
Report link

Based on this: https://github.com/dotnet/aspnetcore/issues/28547 and https://github.com/brave/brave-browser/issues/21364 it looks like Brave thinks closing the file browser is closing the browser window, so it stops debugging.

The solution for me was to stop the browser from automatically opening when debugging by setting "launchBrowser": false in launchSettings.json.

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

79619381

Date: 2025-05-13 09:38:14
Score: 5
Natty: 5.5
Report link

Check this, twig xdebug for Drupal : https://www.drupal.org/project/twig_xdebug

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

79619373

Date: 2025-05-13 09:34:12
Score: 2.5
Natty:
Report link

I recommend you to examine this template. In the template, the data entered on the sheet is regularly recorded on the other sheet. The template includes controls such as textbox, drop down list, button, etc.

enter image description here

Data transfer between sheets

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

79619364

Date: 2025-05-13 09:30:11
Score: 1.5
Natty:
Report link

First, if you are considering using the thread pool, do not focus on the creation of threads, but pay attention to the configuration of thread pool parameters.

Second, in JAVA, threads are mainly divided into two categories: User Threads and Daemon Threads. In the JAVA language, both threads and thread pools are user threads by default.

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

79619345

Date: 2025-05-13 09:23:09
Score: 2.5
Natty:
Report link

Setting "Appearance & behavior -> System settings -> default project directory" has the same effect. This will make the default checkout directory the same.

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

79619342

Date: 2025-05-13 09:21:08
Score: 2.5
Natty:
Report link

3. Color enhanced only saturation increase

4. Bilateral filter applied krna

5. Carton effect bnana

6. Image ko ko smooth krna

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

79619341

Date: 2025-05-13 09:21:08
Score: 2.5
Natty:
Report link

using axios can never show the file download progress in native browser download bar (till 13May 2025 latest version of axios)

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

79619336

Date: 2025-05-13 09:19:07
Score: 1
Natty:
Report link

sddfgd z;v[ gd0dug fgdzdugfp jghhdp[f fhgd9rrrh etyer808744517 f

header 1 header 2
cell 1 cell 2
cell 3 cell 4gfso gdhlkg;; gjzhfgz ghf; dfgu8ry8879e7 7645764 erygzsp[ fgysd0s fhgs
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Prnit HealthCare

79619333

Date: 2025-05-13 09:18:07
Score: 3.5
Natty:
Report link

There is extension for VS Code that can do similar thing

https://marketplace.visualstudio.com/items?itemName=galkowskit.go-interface-annotations

Example code with installed extension

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

79619331

Date: 2025-05-13 09:15:06
Score: 1.5
Natty:
Report link

Just found something:

iostat -md 5 | egrep -v "Linux|Device|^$"

But timestamp is missing.

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

79619330

Date: 2025-05-13 09:14:06
Score: 1
Natty:
Report link

To start a mobile app from a wear app (e.g., Wear OS), you need to establish communication between the wearable device and the mobile device. This can be done using the Data Layer API or MessageClient in Android. Here's how:

  1. Create a Data Layer: Use the DataClient or MessageClient to send data or messages from the wear app to the mobile app.

  2. Handle Communication on Mobile: On the mobile app, use a WearableListenerService to receive messages or data from the wear app.

  3. Launch the App: Once the data/message is received, use an Intent to launch the mobile app.

This process allows seamless interaction between the mobile and wear apps.

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

79619322

Date: 2025-05-13 09:10:04
Score: 1
Natty:
Report link

You can replace the old app with a new one on the Play Store/App Store:

  1. Replace the new app's package name with the old one everywhere. (If the old app's package name is com.abc.xyz then the new app's package name should be com.abc.xyz)
  2. Use the old app's keystore file to generate APK/Bundle.
  3. Upload new APK to old Play Store account.
Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Abhishek Sutariya

79619313

Date: 2025-05-13 09:06:03
Score: 2.5
Natty:
Report link

I see that you are able to configure Nessie with a REST-based catalog using ADLS. Can you please share your catalog configuration (values.yaml) as I am encountering an issue with my Nessie container? Below is the issue:

" ERROR [com.azu.sto.fil.dat.DataLakeFileSystemClient] (executor-thread-3) Status code 400, "<?xml version="1.0" encoding="utf-8"?><Error><Code>OutOfRangeInput</Code><Message>One of the request inputs is out of range.RequestId:f03566d4-a01e-0008-37e5-c38f04000000Time:2025-05-13T09:00:08.5406575Z</Message></Error>" │

│ 2025-05-13 09:00:08,539 ERROR [org.pro.ser.cat.ObjectStoresHealthCheck] (executor-thread-3) Failed to ping warehouse 'lakehouse', error ID a804fee6-741d-47d1-a354-519ee7c388c3: com.azure.storage.file.datalake.models.DataLakeStorageException: Status code 400, "<?xml version="1.0" encoding="utf-8"?><Error><Code>OutOfRangeInput</Code><Message>One of the request inputs is out of range. │

│ RequestId:f03566d4-a01e-0008-37e5-c38f04000000"

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you please share your
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: user30523714

79619311

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

The mass() and radius() methods in the Oracle tutorial are private, unused, and unnecessary. They were likely included just to show that enums can have methods, but they don't serve any purpose in the code. In real-world code, they should be removed or renamed and used properly.

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

79619309

Date: 2025-05-13 09:05:03
Score: 2
Natty:
Report link

The error was causing because I named the dataset beginning with a number. If you rename any of working dataset with say 5Dataset it will give this unspecific error.

Dataset Name : 5AzureSqlTable1

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

79619307

Date: 2025-05-13 09:04:03
Score: 1
Natty:
Report link

Firstly You need To Run This

flutter clean

then remove code from app/build.gradle.kts

  1. id("kotlin-android")
    
  2. kotlinOptions {
        jvmTarget = JavaVersion.VERSION_11.toString()
    }
    
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ganesh Panwar

79619304

Date: 2025-05-13 09:02:02
Score: 0.5
Natty:
Report link

As @IInspectable said, DWM maintains video surfaces for top-level windows, but not for child windows. Therefore, you can only clip the image of the parent window to the child window by yourself.

The following code captures the image of the child window by capturing the parent window screen and calculating the child window rectangle. The captured image will be displayed in the upper left corner of the screen for immediate viewing.

#include <iostream>
#include <vector>
#include <memory>
#include <Windows.h>
#include <dwmapi.h>
#include <dxgi1_2.h>
#include <d3d11.h>
#include <winrt/Windows.Foundation.h>
#include <winrt/Windows.Graphics.Capture.h>
#include <windows.graphics.capture.interop.h>
#include <windows.graphics.directx.direct3d11.interop.h>
#pragma comment(lib,"Dwmapi.lib")
#pragma comment(lib,"windowsapp.lib")
using namespace winrt;
using namespace winrt::Windows::Graphics::Capture;
using namespace winrt::Windows::Graphics::DirectX;
using namespace winrt::Windows::Graphics::DirectX::Direct3D11;

//Display the captured image(ignore padding) on the screen. Just for Debug
static void ShowImage(const BYTE* pdata, int width, int height, UINT RowPitch)
{
    std::cout << width << 'x' << height << '\n';

    HDC hdc = GetDC(0);
    HDC memDC = CreateCompatibleDC(hdc);
    HBITMAP bitmap = CreateCompatibleBitmap(hdc, RowPitch, height);
    SelectObject(memDC, bitmap);

    SetBitmapBits(bitmap, height * RowPitch * sizeof(RGBQUAD), pdata);

    BitBlt(hdc, 0, 0, width, height, memDC, 0, 0, SRCCOPY);

    DeleteObject(bitmap);
    DeleteDC(memDC);
    ReleaseDC(0, hdc);
}

static void ClipToChildWindow(BYTE* pdata, int parentWidth,int parentHeight, UINT RowPitch, HWND parent, HWND child) {

    RECT rect;
    GetClientRect(child, &rect);
    MapWindowPoints(child, parent, reinterpret_cast<LPPOINT>(&rect), 2);

    if (rect.left<0 || rect.top<0 || rect.right>parentWidth || rect.bottom>parentHeight) {
        //throw("The child window not be located inside the parent window");
        if (rect.left < 0) rect.left = 0;
        if (rect.top < 0) rect.top = 0;
        if (rect.right > parentWidth) rect.right = parentWidth;
        if (rect.bottom > parentHeight) rect.bottom = parentHeight;
    }

    const int width = rect.right - rect.left;
    const int height = rect.bottom - rect.top;
    std::vector<BYTE> image(width * height * sizeof(RGBQUAD));
    for (BYTE* src = pdata + (rect.left + rect.top * RowPitch) * sizeof(RGBQUAD),
        *end = src + height * RowPitch * sizeof(RGBQUAD),
        *dst= image.data();
        src < end;
        src += RowPitch * sizeof(RGBQUAD),dst+=width* sizeof(RGBQUAD)) {
        memcpy(dst, src, width * sizeof(RGBQUAD));
    }
    ShowImage(image.data(), width, height, width);
}

void CALLBACK CountdownTimerProc(HWND unnamedParam1, UINT unnamedParam2, UINT_PTR unnamedParam3, DWORD unnamedParam4) {
    static int time_left = 10;
    --time_left;
    printf("\rCountdown:%ds   ", time_left);
    if (time_left == 0) {
        PostQuitMessage(0);
    }
}

void CaptureChildWindow(HWND hwndTarget, HWND hwndChild)
{
    winrt::init_apartment(apartment_type::multi_threaded);
    
    winrt::com_ptr<ID3D11Device> d3dDevice;
    HRESULT hr = D3D11CreateDevice(
        nullptr, D3D_DRIVER_TYPE_HARDWARE, nullptr,
        D3D11_CREATE_DEVICE_BGRA_SUPPORT,
        nullptr, 0, D3D11_SDK_VERSION,
        d3dDevice.put(), nullptr, nullptr);
    if (FAILED(hr)) { std::cerr << "D3D11CreateDevice failed.\n"; return; }

    winrt::com_ptr<ID3D11DeviceContext> d3dContext;
    d3dDevice->GetImmediateContext(d3dContext.put());
    if (!d3dContext) { std::cerr << "Failed to get D3D context.\n"; return; }

    auto dxgiDevice = d3dDevice.as<IDXGIDevice>();
    winrt::com_ptr<IInspectable> inspectable;
    hr = CreateDirect3D11DeviceFromDXGIDevice(dxgiDevice.get(), inspectable.put());
    if (FAILED(hr)) { std::cerr << "CreateDirect3D11DeviceFromDXGIDevice failed.\n"; return; }
    IDirect3DDevice device = inspectable.as<IDirect3DDevice>();

    RECT rect{};
    hr = DwmGetWindowAttribute(hwndTarget, DWMWA_EXTENDED_FRAME_BOUNDS, &rect, sizeof(RECT));
    if (FAILED(hr)) { std::cerr << "DwmGetWindowAttribute failed.\n"; return; }
    winrt::Windows::Graphics::SizeInt32 frameSize{ rect.right - rect.left, rect.bottom - rect.top };

    auto interopFactory = get_activation_factory<GraphicsCaptureItem>().as<IGraphicsCaptureItemInterop>();
    GraphicsCaptureItem item = nullptr;
    hr = interopFactory->CreateForWindow(
        hwndTarget,
        __uuidof(ABI::Windows::Graphics::Capture::IGraphicsCaptureItem),
        reinterpret_cast<void**>(put_abi(item)));
    if (FAILED(hr) || !item) { std::cerr << "CreateForWindow failed.\n"; return; }

    auto framePool = Direct3D11CaptureFramePool::Create(
        device,
        DirectXPixelFormat::B8G8R8A8UIntNormalized,
        2,
        frameSize);
    auto session = framePool.CreateCaptureSession(item);
    session.IsCursorCaptureEnabled(false);

    winrt::com_ptr<ID3D11Texture2D> reusableStagingTexture;
    std::vector<BYTE> imageBuffer;

    // FrameArrived callback
    framePool.FrameArrived([=, &reusableStagingTexture, &imageBuffer, &frameSize, &framePool](auto& pool, auto&)
        {
            auto frame = pool.TryGetNextFrame();
            if (!frame) return;

            auto newSize = frame.ContentSize();

            if (newSize.Width != frameSize.Width || newSize.Height != frameSize.Height)
            {
                std::cout << "Frame size changed: " << newSize.Width << "x" << newSize.Height << "\n";
                frameSize = newSize;
                framePool.Recreate(
                    device,
                    DirectXPixelFormat::B8G8R8A8UIntNormalized,
                    2,
                    frameSize);
                reusableStagingTexture = nullptr;
                return;
            }
            
            auto surface = frame.Surface();
            struct __declspec(uuid("A9B3D012-3DF2-4EE3-B8D1-8695F457D3C1")) IDirect3DDxgiInterfaceAccess : IUnknown {
                virtual HRESULT __stdcall GetInterface(GUID const& id, void** object) = 0;
            };

            auto access = surface.as<IDirect3DDxgiInterfaceAccess>();
            winrt::com_ptr<ID3D11Texture2D> texture;
            HRESULT hr = access->GetInterface(__uuidof(ID3D11Texture2D), texture.put_void());
            if (FAILED(hr)) { std::cerr << "GetInterface(ID3D11Texture2D) failed.\n"; return; }

            // Check if staging texture needs to be rebuilt
            D3D11_TEXTURE2D_DESC desc;
            texture->GetDesc(&desc);
            bool needNewTexture = false;
            if (!reusableStagingTexture)
            {
                needNewTexture = true;
            }
            else
            {
                D3D11_TEXTURE2D_DESC existingDesc;
                reusableStagingTexture->GetDesc(&existingDesc);
                if (existingDesc.Width != desc.Width || existingDesc.Height != desc.Height)
                    needNewTexture = true;
            }

            if (needNewTexture)
            {
                desc.Usage = D3D11_USAGE_STAGING;
                desc.BindFlags = 0;
                desc.CPUAccessFlags = D3D11_CPU_ACCESS_READ;
                desc.MiscFlags = 0;
                hr = d3dDevice->CreateTexture2D(&desc, nullptr, reusableStagingTexture.put());
                if (FAILED(hr)) { std::cerr << "CreateTexture2D for staging failed.\n"; return; }
            }

            d3dContext->CopyResource(reusableStagingTexture.get(), texture.get());

            D3D11_MAPPED_SUBRESOURCE mapped{};
            hr = d3dContext->Map(reusableStagingTexture.get(), 0, D3D11_MAP_READ, 0, &mapped);
            if (FAILED(hr)) { std::cerr << "Map failed.\n"; return; }

            ClipToChildWindow((BYTE*)mapped.pData, frameSize.Width, frameSize.Height, mapped.RowPitch / 4, hwndTarget, hwndChild);

            /*This code is used to capture the full window image, include padding
            size_t totalBytes = mapped.RowPitch * desc.Height;
            if (imageBuffer.size() != totalBytes)
                imageBuffer.resize(totalBytes);
            
            memcpy(imageBuffer.data(), mapped.pData, totalBytes);
            ShowImage(imageBuffer.data(), desc.Width, desc.Height, mapped.RowPitch / 4);
            */
            d3dContext->Unmap(reusableStagingTexture.get(), 0);
        });

    session.StartCapture();

    MSG msg;
    UINT_PTR timerId = SetTimer(nullptr, 1, 1000, CountdownTimerProc);
    while (GetMessage(&msg, nullptr, 0, 0))
    {
        DispatchMessage(&msg);
    }
    KillTimer(nullptr, timerId);
    session.Close();
    framePool.Close();
}

int main() {
    HWND parent = FindWindowW(L"Notepad",nullptr);
    HWND child = FindWindowExW(parent,nullptr,L"NotepadTextBox", nullptr);
    if (!parent || !child) {
        std::cerr << "FindWindow failed";
        return -1;
    }
    CaptureChildWindow(parent, child);
    return 0;
}
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @IInspectable
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: 許恩嘉

79619293

Date: 2025-05-13 08:54:01
Score: 1
Natty:
Report link

Your code is compatible with all versions of Bootstrap 4, starting from v4.0.0 (released on January 18, 2018) up to the latest v4.6.x (released on November 18, 2021).

Please ensure that Bootstrap’s JavaScript plugins are correctly included and initialized. You can refer to the official documentation for proper setup and dependency order: Bootstrap 4.6 – Getting Started

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

79619289

Date: 2025-05-13 08:50:00
Score: 2
Natty:
Report link

You can run the below to get the size of the table in Bytes

enter image description here

spark.sql("describe detail delta-table-name").select("sizeInBytes").collect()
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jeevankrishna

79619286

Date: 2025-05-13 08:50:00
Score: 0.5
Natty:
Report link

@canton7's response answers the original question.

Dapper doesn't have interceptors, so to solve your real problem (add logging) you have two options:

1. Make own extension methods (bad option):

Make methods like .LoggingQueryAsync(...).
It looks simple at first, but have way too many downsides...

2. Implement IDbConnection method that Dapper calls (good option):

public class LoggingDbConnection : IDbConnection
{
    ...

    public IDbCommand CreateCommand()
    {
        return new LoggingDbCommand(this);
    }

    ...
}

Dapper have to call IDbConnection.CreateCommand() to do anything.

In LoggingDbCommand implement IDbCommand.ExecuteNonQuery(), IDbCommand.ExecuteReader(), IDbCommand.ExecuteReader(CommandBehavior) and IDbCommand.ExecuteScalar() to add logging.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @canton7's
  • Low reputation (0.5):
Posted by: Sinus32

79619280

Date: 2025-05-13 08:46:58
Score: 4.5
Natty:
Report link
options = {
  xaxis: {
    tooltip: {
      enabled: false
    }
  }
}

thanks @junedchhipa

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Hh_

79619272

Date: 2025-05-13 08:44:58
Score: 2.5
Natty:
Report link

In the .vs/<project>/v17 folder (this is VS2022), there's a file called DocumentLayout.json - it has the list of open tabs and whether they're pinned or not.

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

79619266

Date: 2025-05-13 08:41:57
Score: 3
Natty:
Report link

If the file was recently deleted, go to the folder where the file was located—not in Visual Studio Code, but directly on your desktop. From there, try to recover it.

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

79619258

Date: 2025-05-13 08:37:56
Score: 2.5
Natty:
Report link

Try checking for the relationship else the date format and data types.
Try using Measure and not Column DAX

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

79619257

Date: 2025-05-13 08:36:56
Score: 2.5
Natty:
Report link

there is no need to this line <= 0 because you are using PositiveIntegerField change <= 0 to <0

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

79619252

Date: 2025-05-13 08:34:55
Score: 0.5
Natty:
Report link

# Convert image to numpy array for pixel manipulation

img_array = np.array(image)

# Define region around the mouth to clean (based on observation)

# These values may need adjustment depending on precise image characteristics

cleaned_img_array = img_array.copy()

# Approximate region: rows 450 to 550, cols 250 to 400 (manual approximation)

# We'll blur this area slightly to reduce visibility of milk residue

y1, y2 = 450, 550

x1, x2 = 250, 400

# Apply a slight blur to the selected region

region = Image.fromarray(cleaned_img_array[y1:y2, x1:x2])

region = region.filter(ImageFilter.GaussianBlur(radius=2))

# Replace cleaned region in the original image

cleaned_img_array[y1:y2, x1:x2] = np.array(region)

# Convert back to PIL image

cleaned_image = Image.fromarray(cleaned_img_array)

# Apply retro-style filter: increase contrast, add warmth, fade effect

# Step 1: Increase contrast

enhancer = ImageEnhance.Contrast(cleaned_image)

contrast_image = enhancer.enhance(1.3)

# Step 2: Add warmth by increasing red and decreasing blue

r, g, b = contrast_image.split()

r = r.point(lambda i: min(255, i + 15))

b = b.point(lambda i: max(0, i - 10))

warm_image = Image.merge("RGB", (r, g, b))

# Step 3: Add a slight faded effect by lowering saturation

enhancer = ImageEnhance.Color(warm_image)

faded_image = enhancer.enhance(0.8)

# Step 4: Add grain by blending with random noise

noise = np.random.normal(0, 15, (faded_image.size[1], faded_image.size[0], 3)).astype(np.uint8)

noise_img = Image.fromarray(np.clip(np.array(faded_image) + noise, 0, 255).astype(np.uint8))

# Final retro image

final_image = noise_img

# Display the result

final_image.show()

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

79619232

Date: 2025-05-13 08:23:52
Score: 1
Natty:
Report link

you should pass the exception with the message

try:
    return crash_boy()
except Exception as e:
    logger.exception(f"OH GREAT, another crash: \n {e}")
    return 'WE HAD A CRASH BOIZ'
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ahmad Hussian

79619225

Date: 2025-05-13 08:18:51
Score: 0.5
Natty:
Report link

Changing all regular double quotes to single quotes and vice versa AND escaping the single quotes in the group name using \'

Result in PowerShell:

Get-WmiObject -Query "SELECT PartComponent FROM Win32_GroupUser WHERE GroupComponent = 'Win32_Group.Domain=""DOMAIN_NAME"",Name=""Opérateurs d\'assistance de contrôle d\'accès""'"
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Manuel K

79619220

Date: 2025-05-13 08:15:50
Score: 5
Natty: 5
Report link

Semantic-UI has been replaced by Fomantic-UI, is the way of using it still the same? ... Or is there a specific forum for Fomantic-UI that explains about Container Sizes?

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

79619215

Date: 2025-05-13 08:11:49
Score: 1.5
Natty:
Report link

work on PowerShell 2.0

Invoke-Expression (New-Object System.Net.WebClient).DownloadString($scriptUrl)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ornaras

79619214

Date: 2025-05-13 08:11:49
Score: 5
Natty:
Report link

Is there a way I can copy my Profile 2 information to another folder as a workaround ? Although it seems that's not working on windows.

Reasons:
  • Blacklisted phrase (1): Is there a way
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Is there a
  • Low reputation (1):
Posted by: David

79619203

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

Fixed by recreating the database. Sql alchemy won't change existing database. Alembic will work for this.

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