79644617

Date: 2025-05-29 20:59:09
Score: 2
Natty:
Report link

Para alterar o breakpoint de lg para md, altere a classe para md:table. Para impedir a pilha, remova block e aplique table sempre.

Se for trabahar com o CSS, pode alterar o padrão usando o Tailwind's @apply:

.custom-changelist-table {
@apply table md:table;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @apply
  • Low reputation (1):
Posted by: Ricardo Tavares

79644605

Date: 2025-05-29 20:47:06
Score: 1
Natty:
Report link
  1. Your chatbot javascript didn't load. Try install it in your HTML or index.js
  2. Your mime type for the CSS file needs to be implicitly support on the server. Try body-parser if you are using a Node.js server. But it depends on your server. You need to support appication/json.

Body-Parser: https://www.npmjs.com/package/body-parser

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

79644598

Date: 2025-05-29 20:41:04
Score: 5.5
Natty:
Report link

Are you sure you used npm i in the terminal?

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

79644589

Date: 2025-05-29 20:36:02
Score: 2
Natty:
Report link

You can do this easily from the console for an environment you have already created:

  1. Go to your EB environment => Configuration

  2. Then under Configure updates, monitoring, and logging, set this:

  3. Config updates settings

  4. Apply the changes.

  5. Then go back to Configuration => Instance traffic and scaling.

  6. Now you can update the Environment type to "Single instance":

  7. Capacity settings

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

79644576

Date: 2025-05-29 20:21:57
Score: 2
Natty:
Report link

I'm using the Mantine UI library in my project and I found some mock setup items in their docs that solved the issue for me. Similar to the accepted answer, but with a few other items too

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
Posted by: vancy-pants

79644572

Date: 2025-05-29 20:18:56
Score: 0.5
Natty:
Report link
serial.write(b'\x03')

This may not work (or not work all the time) as it depends on the default encoding. If this is NOT utf-8 then pyserial will complain with the message :

TypeError('unicode strings are not supported, please encode to bytes: {!r}'.format(seq))

To avoid this you have to encode your string as utf-8, so to send an escape sequence (e.g. ESC [ z ) you can do:

ESC_CHAR = chr(27)
text=f"{ESC_CHAR}[z".encode("utf-8"
serial.write(text)

You can of course compress this to one line or a variable for convenience.

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

79644560

Date: 2025-05-29 20:08:53
Score: 1
Natty:
Report link

node_modules is created based on the dependencies listed in `package.json`. Since you have deleted it the only option here is to visit every file in your project and install the dependencies.

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

79644552

Date: 2025-05-29 20:00:51
Score: 5.5
Natty:
Report link

Para centralizar elementos em um BoxLayout (seja no eixo X para um layout vertical, ou no eixo Y para um layout horizontal) usando o centro do elemento, você pode configurar o alinhamento dos componentes usando o método setAlignmentX (para centralização horizontal em um layout vertical) ou setAlignmentY (para centralização vertical em um layout horizontal). O valor Component.CENTER_ALIGNMENT (0.5f) garante que o componente fique alinhado ao seu centro.

Aqui está um exemplo de código para centralizar elementos em um BoxLayout vertical:

import javax.swing.*;
import java.awt.*;

public class CenteredBoxLayoutExample {
    public static void main(String[] args) {
        JFrame frame = new JFrame("Centered BoxLayout Example");
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setSize(300, 200);

        // Cria um painel com BoxLayout vertical
        JPanel panel = new JPanel();
        panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS));

        // Adiciona alguns botões como exemplo
        JButton button1 = new JButton("Botão 1");
        JButton button2 = new JButton("Botão 2");
        JButton button3 = new JButton("Botão 3");

        // Define o alinhamento horizontal no centro para cada botão
        button1.setAlignmentX(Component.CENTER_ALIGNMENT);
        button2.setAlignmentX(Component.CENTER_ALIGNMENT);
        button3.setAlignmentX(Component.CENTER_ALIGNMENT);

        // Opcional: Define a largura máxima para evitar que os botões se expandam
        button1.setMaximumSize(new Dimension(100, 30));
        button2.setMaximumSize(new Dimension(100, 30));
        button3.setMaximumSize(new Dimension(100, 30));

        // Adiciona os botões ao painel
        panel.add(Box.createVerticalGlue()); // Espaço flexível no topo
        panel.add(button1);
        panel.add(Box.createVerticalStrut(10)); // Espaço fixo entre botões
        panel.add(button2);
        panel.add(Box.createVerticalStrut(10));
        panel.add(button3);
        panel.add(Box.createVerticalGlue()); // Espaço flexível no fundo

        frame.add(panel);
        frame.setVisible(true);
    }
}
Explicação:

Alinhamento : O método setAlignmentX(Component.CENTER_ALIGNMENT) centraliza os componentes horizontalmente em um BoxLayout vertical. Para um BoxLayout horizontal, use setAlignmentY(Component.CENTER_ALIGNMENT) para centralizar verticalmente.
Controle de tamanho : Definir setMaximumSize evita que os componentes se expandam para preencher todo o espaço disponível, mantendo o alinhamento central visível.
Espaçamento : Box.createVerticalGlue() adiciona espaço flexível para distribuir os componentes de maneira uniforme, enquanto Box.createVerticalStrut(n) adiciona um espaço fixo entre os componentes.
Flexibilidade : O uso de Glue e Strut ajuda a manter os componentes centralizados mesmo quando a janela é redimensionada.
Reasons:
  • Blacklisted phrase (3): você
  • Blacklisted phrase (1): está
  • Blacklisted phrase (2): código
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Selvo Brancalhão

79644531

Date: 2025-05-29 19:48:47
Score: 1.5
Natty:
Report link

With uv, syncing is "exact" by default, which means it will remove any packages that are not present in the lockfile.

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

79644522

Date: 2025-05-29 19:39:45
Score: 1
Natty:
Report link

It's impossible at the moment.

As an alternative options you can

  1. Execute a second query for just the children objects

  2. Calculate the total number of child objects on the client side. E.g. using JsonPath

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

79644513

Date: 2025-05-29 19:28:41
Score: 1
Natty:
Report link

You need to set the contexts in the SlashCommandBuilder with setContexts.
To allow command on every channel you can try:

new SlashCommandBuilder().setContexts(InteractionContextType.PrivateChannel, InteractionContextType.BotDM, InteractionContextType.Guild)

Make sure to import InteractionContextType.

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

79644512

Date: 2025-05-29 19:28:41
Score: 1.5
Natty:
Report link

Thanks @kikon for the answer (upvoted it). The final resolution as he mentioned was the ticks still having space to e drawn even though we were not drawing them.

scales.y.grid.drawticks = false was the final option that did it for us.

Thanks!

scales: {
    x: {
      stacked: true,
      min: 0,
      max: total.value,
      beginAtZero: true,
      grid: { display: false, drawBorder: false },
      ticks: { display: false },
      border: { display: false },
      barPercentage: 1.0,
      categoryPercentage: 1.0,
    },
    y: {
      stacked: true,
      beginAtZero: true,
      grid: { display: false, drawBorder: false, drawTicks: false },
      ticks: { display: false },
      border: { display: false },
      barPercentage: 1.0,
      categoryPercentage: 1.0,
    },
  },
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): upvote
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @kikon
  • Self-answer (0.5):
Posted by: djneely

79644503

Date: 2025-05-29 19:18:38
Score: 1.5
Natty:
Report link

Is the line finished with "resp=0x00"? Maybe you tried to upload the sketch to Arduino Nano and selected "nanoatmega328new" as the processor, but your board uses the old "nanoatmega328P" processor.

Please try to change the processor, and it should upload without error.

If you use Arduino IDE you can just select a processor enter image description here

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is the
Posted by: yaroslawww

79644495

Date: 2025-05-29 19:12:36
Score: 3
Natty:
Report link

Just ran into this one after installing the latest/greatest for today; SSMS 21.1.3 & VS22 17.14.3. Same deal- Import Data not actively showing up (ie greyed out) within SSMS.

And as @feganmeister mentioned, one can still use the utility. Just set up a shortcut. There are two versions; 32/64 bit. I brought mine up from C:\Program Files\Microsoft SQL Server\160\DTS\Binn\DTSWizard.exe.

I did, in fact, try uninstalling VS22 SSDT and reinstalling...same result; no active Import Data option under Tasks. I just reinstalled SSMS. Same result- no active import data option.

I realise this is an older (6 years ago) issue, however, it might be still going on via the new installers. Cheers!

Reasons:
  • Blacklisted phrase (1): Cheers
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @feganmeister
  • Low reputation (1):
Posted by: user30611842

79644492

Date: 2025-05-29 19:11:35
Score: 6.5 🚩
Natty: 5
Report link

Same issue for me , GNO CGDA file ok, gcov result ok, BUT no code highlighted

is there someone help us to solve that issue?

seems there is not dependent of eclipse version...

Reasons:
  • RegEx Blacklisted phrase (1.5): solve that issue?
  • RegEx Blacklisted phrase (1): help us
  • RegEx Blacklisted phrase (1): Same issue
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: user30671588

79644489

Date: 2025-05-29 19:08:34
Score: 2
Natty:
Report link

Thanks Damola,

It does appear that KEY is a compatibility word in SQLite3, and MySQL indeed has it as an alias for INDEX and as a compatibility with "other" DBs.

I checked Microsoft sql and I couldn't find a bare KEY in their documentation, albeit, I didn't do an exhaustive search of their documentation or look at other DBs. So, it is a no-op, and I'll just use the CREATE INDEX statement to create an index. (If this "key is a no-op" had been documented, I wouldn't have had to post my query here)

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: derek terveer

79644487

Date: 2025-05-29 19:05:33
Score: 5.5
Natty: 7
Report link

This article describes time measurement for executed code: https://docs.zephyrproject.org/latest/kernel/timing_functions/index.html

Reasons:
  • Blacklisted phrase (1): This article
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Alexander Kozhinov

79644486

Date: 2025-05-29 19:05:33
Score: 0.5
Natty:
Report link

This is a thread's issue. onEnd callback runs on UI thread and setEditing must run on JS thread, so crash is happening because you try to call JS function from UI thread. To prevent this code from crashing JS code should be scheduled to be evaluated in the corresponding thread. So just change that line with state change to runOnJS(setEditing)(true)

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

79644483

Date: 2025-05-29 19:03:32
Score: 3.5
Natty:
Report link

in the table the user record is added, but it is not applied, that is, with the root it works without problems, with the others no, I did everything but nothing worked, in general I thought it was very simple but it turned out that no one knows the real answer)

Reasons:
  • Blacklisted phrase (1): but nothing work
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Маша Букина

79644475

Date: 2025-05-29 18:53:29
Score: 1.5
Natty:
Report link

First, you have to enable the Enrollment Attributes in Advanced settings. Then the priority level will be set in the Enrollment Rules section. The steps are listed below.

  1. Navigate to the Admin Menu and select Enrollment Rules.

  2. Click the plus (+) button to create a new rule or choose an existing rule to edit.

  3. In the rule settings, assign resources

  4. Within the same rule configuration, locate the Enrollment Attributes section.

  5. Here, you'll find the option to set the Priority level.

  6. Select the desired priority (e.g., Mandatory, Required, Recommended, or Optional).

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

79644470

Date: 2025-05-29 18:49:28
Score: 3
Natty:
Report link

For me the solution was make only one call, i was calling the same fragment twice.

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

79644468

Date: 2025-05-29 18:48:28
Score: 3
Natty:
Report link

Apache Phoenix does not natively support the MultiRowRangeFilter from HBase. This functionality can be achieved by executing multiple scans for each range separately in the application and then merging the results.

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

79644467

Date: 2025-05-29 18:48:28
Score: 1
Natty:
Report link

I have tried various “answers” to this solution, but have been dissatisfied. So, I’m submitting my code for folks to kick around. I’ve found the only way for me to achieve this smoothly is by being an absolutist!

Here is an example formatted by the CSS, below

div.quote {
   margin-top     : 0.5em; 
   padding-top    : 0.5em;
   border-top     : var(--border);
   border-bottom  : var(--border);
   padding-bottom : 0.5em;
   margin-bottom  : 1em;
   line-height    : 1.3em;
   position       : relative;
}

div.quoteText {
   margin-bottom:2em;
}


div.quoteText:before {
   content     : "“";
   font-size   : 5em; 
   color       : forestgreen;
   position    : relative; 
   top         : 0.5em;
   line-height : 0.5em;
}

div.quote div.byLine {
   float    : right; 
   position : relative; 
   top      : -0.5em; 
}

div.quoteText:after {
   content     : "”";
   font-size   : 5em; 
   color       : forestgreen;
   line-height : 0.5em;
   position    : absolute; 
   bottom      : 0px; 
   bottom      : 0.3em;
   line-height : 0em;
}
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: dreamitcodeit

79644462

Date: 2025-05-29 18:45:27
Score: 1
Natty:
Report link

I ended up here after a Google search. But I didn't find my answer here.

Instead, in my publish profile I needed to choose the x64 configuration. And when I did it worked.

enter image description here

Reasons:
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-1): it worked
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Jesse Sierks

79644458

Date: 2025-05-29 18:43:26
Score: 1
Natty:
Report link

You can use item delegate for this.

Please look at QStyledItemDelegate in the Qt documentation.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ars Masiuk

79644448

Date: 2025-05-29 18:37:25
Score: 2.5
Natty:
Report link

I was receiving the same error on Windows 11 w/ VS Code.

This solution worked for me!

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Bill

79644444

Date: 2025-05-29 18:34:24
Score: 2.5
Natty:
Report link

I know that this thread is 2 years old but it was modified a month ago so I am posting. Just go with basedpyright. it is open source and works just as good as pylance in most situations. Just installation on arch is bit sketchy so I had to use AI for help.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mięsny Jeż

79644441

Date: 2025-05-29 18:30:23
Score: 4
Natty:
Report link

New one

./gradlew signinReport

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: Rakesh Biswal

79644436

Date: 2025-05-29 18:26:22
Score: 0.5
Natty:
Report link

You can use React Link:

import { Link } from 'react-router-dom'; <"Link to="https://example.com/faq.html"> FAQ <"/Link">

*Remove double quotes (") inside tags. I added the, because without it the Link tag is not showing in my answer for unknown reason.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Tammy Miller

79644424

Date: 2025-05-29 18:16:19
Score: 2.5
Natty:
Report link

oops, silly mistake! <body> has a default nonzero margin, apparently… setting this to 0 fixed the problem!

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: алекси к

79644423

Date: 2025-05-29 18:15:19
Score: 2.5
Natty:
Report link
Adios Gringo, following your help, I managed to put it like this:
    ax.text(xs[i * nr_status] + 100, ys[i * nr_status] - 50, z=35, zdir=(0, 1, 1), ha='right', va='top', s=f"{dp}", color=xy_ticklabel_color, weight="bold", fontsize=7)

screenshot of a 3d bar chart showing text and bars

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

79644421

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

Addidng this did the trick for me:
#include <SFML/Window/Event.hpp>

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

79644418

Date: 2025-05-29 18:12:18
Score: 1
Natty:
Report link

In this situation 50-60ms is normal latency. However if you want to increase performance you may use JWT auth instead of Basic Auth.
Why basic auth increase latency?
Basic auth may introduce latency increase because credentials are sent to server in Base64 encoded string, server has to decode and validate credentials. Using JWT will reduce the performance overhead as server will not have query database again and again significantly reducing the latency. However you may use a workaround if you don't want to use JWT, on startup load all users in some static Map, you may use username as key and User Model as value, this will also help in reducing latency.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Yasin Ahmed

79644417

Date: 2025-05-29 18:12:18
Score: 1
Natty:
Report link

I just found this page today when I tried to solve same problem for MSVC 2022 in Win 10, so this is solution for 2025 year:

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

79644405

Date: 2025-05-29 18:08:16
Score: 3
Natty:
Report link

found it. For Advanced Timers I should Set MOE bit in BDTR Register. Here is the solution Link

Answer

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

79644404

Date: 2025-05-29 18:06:15
Score: 0.5
Natty:
Report link

I try this code on tests: 6 passed and 3 failed (test_sym_expr_eq_3, test_sym_expr_eq_6 and test_sym_expr_eq_7). I don't see how to manage theses cases. Have you any idea?

def syms(e):
    if isinstance(e,sympy.Symbol):
        return [e]
    rv=[]
    if isinstance(e,sympy.Number):
        return [e]
    for i in e.args:
        rv.extend(syms(i))
    return rv

def reps(a, b, symbols): # return mapping if coherent else None
    if len(a) == len(b):
        rv = {}
        for i,j in zip(a,b):
            if i in symbols or j in symbols:
                continue
            if isinstance(i,sympy.Number) and isinstance(j,sympy.Number): # numbers must be equal
                if i != j: return
                continue
            if rv.get(i,j)!=j: # symbols must be always the same
                return
            rv[i]=j
        return rv

def sym_expr_eq(a, b, symbols = []):
    a = sympy.sympify(a)
    b = sympy.sympify(b)

    d = reps(syms(a), syms(b), symbols)

    if (d):
        return a.xreplace(d) == b
    else:
        return a == b
Reasons:
  • Blacklisted phrase (1): any idea?
  • Whitelisted phrase (-2): try this code
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: P'tit Ju

79644374

Date: 2025-05-29 17:45:10
Score: 1
Natty:
Report link

Found the problem.

The original code is fine.

The problem is that I had to define the same key combination (Alt+Q in my case) on Extensions page under "Keyboard shortcuts".

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

79644362

Date: 2025-05-29 17:32:06
Score: 4
Natty:
Report link

HSDIKVHSDVWSDVKJS HVKJ SGVSD SHSDI DF

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

79644361

Date: 2025-05-29 17:31:06
Score: 1
Natty:
Report link

Lexicographical Sorting R

bool customCompare(const string &a, const string &b) {
    if (a.length() != b.length()) {
        return a.length() < b.length();
    }
    return a < b; // if lengths equal, compare lexicographically
}

vector<string> bigSorting(vector<string> unsorted) {
    sort(unsorted.begin(), unsorted.end(), customCompare);

    for (const string &s : unsorted) {
        cout << s << endl;
    }

    return unsorted;
}
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30431269

79644357

Date: 2025-05-29 17:28:05
Score: 1.5
Natty:
Report link

Here main problem is the "Let" part . Just write

let total_students = students.pop();

instead of

*let* total_stydents = students.pop();
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tirth Patel

79644343

Date: 2025-05-29 17:18:02
Score: 3
Natty:
Report link

@Alvin Zhao - Even I was facing the same issue , how to print the actual value of the secret in Powershell as it showing *. In Powershell script, added the below but still its showing *** values for the secret.

$keyVaultValue = Get-AzKeyVaultSecret -VaultName "xxx" -Name "DBPass" - AsPlainText

Write-Host "Value of Value": $keyVaultValue

--Output

$keyVaultValue - ***

2. Also tried the below facing same issue showing ***

#$secret = (Get-AzKeyVaultSecret -VaultName "XXX" -Name "DBPass").SecretValueText
Reasons:
  • Has code block (-0.5):
  • Me too answer (2.5): facing same issue
  • Low reputation (1):
Posted by: hitesh nagdev

79644342

Date: 2025-05-29 17:18:02
Score: 1
Natty:
Report link

https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/requestVideoFrameCallback

Baseline 2024, you should be able to see every frame

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-2):
Posted by: Dimava

79644338

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

Theres a symbol the the "Let" which will cause the error. Remove it and it will be fine. It something like this

let total_students = students.pop()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Richard Banguiz

79644337

Date: 2025-05-29 17:11:00
Score: 2.5
Natty:
Report link

following this helped me to install aws-msk signer package

https://github.com/aws/aws-msk-iam-sasl-signer-python/blob/main/docs/installation.rst

$ pip install aws-msk-iam-sasl-signer-python

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

79644329

Date: 2025-05-29 17:05:59
Score: 3
Natty:
Report link

you should activate your child dag before run the master that is triggering it.

Activate

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Gonzalo Torres-Quevedo Acquaro

79644323

Date: 2025-05-29 17:00:57
Score: 2
Natty:
Report link

Remove the quote, it should be like this:

LIKE %:code%
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ulises Suarez Huerta

79644320

Date: 2025-05-29 17:00:57
Score: 1
Natty:
Report link

If you are not using one of Stripe's SDKs (like Express Checkout Element) please make sure to set the correct params within the tokenizationSpecification object. For Stripe this would look like this:

  "gateway": "stripe"
  "stripe:version": "2018-10-31"
  "stripe:publishableKey": "YOUR_PUBLIC_STRIPE_KEY"

https://developers.google.com/pay/api/web/guides/tutorial#tokenization

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

79644304

Date: 2025-05-29 16:49:54
Score: 2
Natty:
Report link

Thanks a Lot Sir

Adding

karate.configure('ssl', { trustAll: true });

in karate-config.js file helped to resolve the issue.

Earlier the Numeric IP and IP with any Number like https://K3.myapp.bmt.com:8443 or https://12.55.214.256:778 were not working.

It was clearly an issue with the SSL and I was getting the following error

ERROR com.intuit.karate - javax.net.ssl.SSLPeerUnverifiedException: Certificate for https://K3.myapp.bmt.com:8443

Now this issue is resolved and the scripts are working fine.

Thanks a Ton Again

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Low reputation (1):
Posted by: Manoj Agnihotri

79644303

Date: 2025-05-29 16:48:53
Score: 1
Natty:
Report link

There is a simple way here:

Easy way to resize image with javascript

Usage:

var file=$('#image-box').prop('files')[0];
imgnry.file(file);
imgnry.max(true);
imgnry.width(800);
imgnry.quality(1);
imgnry.type('png');
imgnry.resize().then((img)=>console.log(img))
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
Posted by: Cymro

79644299

Date: 2025-05-29 16:46:52
Score: 4
Natty:
Report link

Создай скрипт, который реагирует по "watch" на какие-то конкретные изменения, включая запуск npm-команд (тоже можно сделать). Потом запускаешь вначале этот скрипт, а потом другие скрипты в любой последовательности. Это способ не прописывать в каждом, но вопрос, стоит ли это времени и лишнего тыка каждый день.

Reasons:
  • No code block (0.5):
  • No latin characters (2.5):
  • Low reputation (1):
Posted by: maxiosigma

79644289

Date: 2025-05-29 16:39:49
Score: 8 🚩
Natty:
Report link

Can you provide exact version you're using so I can simulate this?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you provide
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (0.5):
Posted by: TheNoobHunter66

79644281

Date: 2025-05-29 16:35:48
Score: 1
Natty:
Report link

Of course not long after posting this I finally figured out the issue. All I had to do was add these lines into my ssl conf.

# Proxy HTTP (broadcast) traffic to Reverb
ProxyPass        /apps/ http://127.0.0.1:8080/apps/
ProxyPassReverse /apps/ http://127.0.0.1:8080/apps/
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: pbrune

79644280

Date: 2025-05-29 16:35:48
Score: 1.5
Natty:
Report link

enter image description herePut the following into cells N1:N3 0, 11:00, 15:00

Put the following into cells O1:O3 Morning, Mid Day, Late Day

Put the following formula into cell K2 and drag down: =LOOKUP(F2,N$1:O$3)

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

79644278

Date: 2025-05-29 16:33:47
Score: 3.5
Natty:
Report link

Does it look like this?

enter image description here

Snippet:

    def __init__(self):
        # Initialize style before creating widgets
        style = tb.Style(theme='superhero')
        
        super().__init__()
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Adios Gringo

79644276

Date: 2025-05-29 16:31:47
Score: 0.5
Natty:
Report link

String Multiply(decent Number) R

void decentNumber(int n) {
    if(n == 0 || n ==1 || n==2 || n==4 || n== 7){
        cout << -1 << endl;
    }
    else if(n == 3 || n == 6){
        cout  << string(n, '5') << endl;
    }
    else if(n == 5){
        cout << string(5, '3') << endl;
    }
    else{
        int maxX = -1;  // To store the maximum value of x
        int maxY = -1;  // To store the corresponding y

        for (int y = 0; y <= n / 5; ++y) {  // y can range from 0 to 2
            if ((n - 5 * y) % 3 == 0) {  // Check if (n - 5y) is divisible by 3
                int x = (n - 5 * y) / 3;  // Calculate x
                if (x > maxX) {  // Maximize x
                    maxX = x;
                    maxY = y;
                }
            }
        }

        if (maxX == -1) {
            cout << "-1" << endl;
        } else {
            cout << string(maxX*3, '5') << string(maxY*5, '3')<< endl;
        }
    }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30431269

79644275

Date: 2025-05-29 16:31:47
Score: 0.5
Natty:
Report link

It may be due to incorrect transformation of result that comes from select connector. Add a transform message logic after select connector.

Here is an example:

%dw 2.0
output application/json
---
payload
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Karamchand

79644274

Date: 2025-05-29 16:31:47
Score: 2.5
Natty:
Report link

No, Zustand can not be used for backend. But redux can be used for backend.

Hope this answers your question.

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

79644272

Date: 2025-05-29 16:29:45
Score: 2
Natty:
Report link

Christian Scutaru presents a pure python solution for generation of Snowflake key pairs in his Medium article How to Automatically Generate a Key Pair for Snowflake. The complete code for the solution is available Github/cristiscu/key-pair-generator.

Reasons:
  • Whitelisted phrase (-1): solution is
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Dave Welden

79644268

Date: 2025-05-29 16:27:45
Score: 5
Natty: 5.5
Report link

Vim script in IdeaVim is supported now: https://github.com/JetBrains/ideavim/discussions/357

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

79644262

Date: 2025-05-29 16:24:43
Score: 1.5
Natty:
Report link

Alright, I found out the answer. When PAGE_MAPPING_ANON bit is set, page->mapping points to anon vma of the respective page. It has been documented (https://elixir.bootlin.com/linux/v5.11.22/source/include/linux/page-flags.h#L474). The mapping field points to different data structures based on the flag.

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

79644259

Date: 2025-05-29 16:23:43
Score: 1
Natty:
Report link

I’m using PM2 to run my Next.js app on a custom port and I want to keep the command generic.

sudo pm2 start npm --name <your-app-name> -- start -- -p <your-port>

Just replace those two placeholders with your own values.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Muhammad Shahzad

79644256

Date: 2025-05-29 16:20:42
Score: 1.5
Natty:
Report link

To access and disable the Outlook add-in, use one of these two methods.

  1. Use Outlook Desktop, click File... Manage Add-Ins. A browser will open OWA, and show a dialog with All Add-ins. Click 'My Add-Ins' and use the "..." menu to remove the custom add-in.

  2. Navigate to https://outlook.office.com/owa/?path=/options/manageapps in a new browser tab. The browser will open OWA, and show a dialog with All Add-ins. Click 'My Add-Ins' and use the "..." menu to remove the custom add-in.

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

79644252

Date: 2025-05-29 16:17:41
Score: 2
Natty:
Report link

If you want your video more views and engage subscriber then your video need to SEO,

SEO means search engine optimization. SEO can help you get more views get more audience in your channel

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Md Abdul Kader

79644241

Date: 2025-05-29 16:12:40
Score: 5
Natty: 5
Report link

I know this is a super old thread, but I just found out about the UPS RESTful API happening, because they told us last month that we needed to switch. Why they didn't tell us 2 YEARS ago, I don't know.

Anyway, @Jason Baginski, do you still have any information about the XML to JSON mapping you did? I'm going to need to do that as well. I managed to move us to the Stepping Stone URLs to keep using the web services with OAuth token, but now I need to go full RESTful. I have no issues talking to the REST APIs, getting the token and all that, but the JSON that comes back is WAY different than the SOAP XML and I need to map the JSON elements into my own class objects because we wrapped/abstracted the UPS API calls into our own central web service so our internal apps have a central point for talking to UPS through a local interface. The point is, I can't find half the data that used to be in easy to find XML elements. EstimatedDeliveryDate in the TrackResponse, for example. Where did that go?

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Jason
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Todd Piket

79644239

Date: 2025-05-29 16:11:39
Score: 1.5
Natty:
Report link
gcloud asset search-all-resources --scope=organizations/[yourorgid] --query="123.45.67.89" --asset-types='compute.googleapis.com/Instance' --read-mask='displayName,location,project'

Will give you the instance name, zone & project #
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Matt D

79644238

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

is it possible that the dest sheet that contains IMPORTRANGE periodically tries to refresh from the source sheet and this in turn is considered an OnChange event? Thanks!

No. Upon testing as well it doesn't work that way. The onChange event does not automatically trigger when an IMPORTRANGE formula refreshes its data in the destination sheet, it only triggers when:

An installable change trigger runs when a user modifies the structure of a spreadsheet itself—for example, by adding a new sheet or removing a column. See Installable Triggers.


This is also supported by the official documentation where it says:

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): is it
  • Low reputation (0.5):
Posted by: Gyul

79644231

Date: 2025-05-29 16:05:37
Score: 1
Natty:
Report link

As per the latest flutter framework the right way to add padding to a text button widget is:

 style: ButtonStyle(
            padding: WidgetStateProperty.all<EdgeInsets>(EdgeInsets.all(8.0)),
          )
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dr Rakesh Bhatt

79644221

Date: 2025-05-29 15:57:36
Score: 0.5
Natty:
Report link

Shuffling the data and then distributing it between train,dev and test sets would make them from the same distribution and in my opinion that would be better .

Reasons :

If the model is only expected to work in the same environments it was trained on, this reflects its real-world performance.

Each subset (train/dev/test) benefits from the full diversity of all 5 locations. This can help as deep learning models can be really data-hungry.

Hope it helps !!

Reasons:
  • Whitelisted phrase (-1): Hope it helps
  • No code block (0.5):
  • Low reputation (1):
Posted by: SSMj

79644220

Date: 2025-05-29 15:56:35
Score: 1.5
Natty:
Report link

This is finally solved as of today with the release of Angular 20 (because of the update to the critters sub-dependency).

Just update angular by following the guide: https://angular.dev/update-guide

And the subsequent builds will no longer give this warning.

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

79644212

Date: 2025-05-29 15:50:34
Score: 1.5
Natty:
Report link

According to this:

Replace the SQL Server Destination components in the Dataflow Tasks that are failing with OLE DB Destination components that point to the same SQL Server connection manager.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: B.Habibzadeh

79644211

Date: 2025-05-29 15:49:33
Score: 3
Natty:
Report link

The Azure Application Gateway issue resolved itself. I believe it was a network issue within the company I work.

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

79644203

Date: 2025-05-29 15:43:32
Score: 1.5
Natty:
Report link

chmod doesn't return output on success by default. Include the -v verbosity flag:

find . -type f -exec chmod 755 -v {} \;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: StormySan

79644198

Date: 2025-05-29 15:40:31
Score: 0.5
Natty:
Report link

This works for me, but xp_cmdshell is needed:

EXEC xp_cmdshell 'powershell -NoProfile -Command "(Get-Item $env:TEMP).FullName"';
Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: CyNETT

79644190

Date: 2025-05-29 15:36:30
Score: 5
Natty: 5.5
Report link

django-rosetta had po editor in admin https://django-rosetta.readthedocs.io/usage.html

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

79644168

Date: 2025-05-29 15:25:27
Score: 4
Natty:
Report link

check this answer if your IDE cant recgonize MediaSessionCompat class stackoverflow.com/a/52019860/7953908. And sync gradle again

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: YoWhatssup

79644166

Date: 2025-05-29 15:24:26
Score: 3.5
Natty:
Report link

Now you need to run "@Amazon Q preferences" in the slack channel desired.

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

79644157

Date: 2025-05-29 15:17:24
Score: 4
Natty: 4
Report link

Account being used needs to be domain admin

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

79644146

Date: 2025-05-29 15:10:22
Score: 2.5
Natty:
Report link

you need to add id within a time_range key, ti will look like this:

{

...,

time_range: {'since': 'YYYY-MM-DD', 'until': 'YYYY-MM-DD'},

...

}

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

79644145

Date: 2025-05-29 15:09:22
Score: 3.5
Natty:
Report link

print

When selecting Data Serialization and choosing the JSON option, no field appears to enter the JSON payload, as shown in the screenshot above.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: victor mendes

79644136

Date: 2025-05-29 15:00:19
Score: 0.5
Natty:
Report link

Adjust the offset (-0.05) to better position the text.

Snippet:

    ax.text(x, y, z - 0.05,  # you can adjust as needed
            label_point,
            size=10,
            ha="center",
            va='top',
            zdir='z',
            color=datalabels_color)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Adios Gringo

79644134

Date: 2025-05-29 14:59:19
Score: 3
Natty:
Report link

Can you please try utility commands like :

CFTUTIL CHECK to verify the Transfer CFT configuration and CFTUTIL LISTCAT

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Starts with a question (0.5): Can you please
  • Low reputation (1):
Posted by: adekunle adediran

79644126

Date: 2025-05-29 14:56:18
Score: 1
Natty:
Report link

My pattern is like:

JS

return values.map(c => DotNet.createJSObjectReference(c));

C#

x.Invoke<IJSInProcessObjectReference[]>(...)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Pawel Kupis

79644118

Date: 2025-05-29 14:53:17
Score: 1.5
Natty:
Report link

I found that simply connecting a domain I obtained through Cloudflare to an email delivery service like Brevo wasn't enough to avoid my emails being marked as spam. However, I did find a solution. The key was to use the domain from Cloudflare as a custom domain with an email server service (in my case, Sakura Mailbox, which is similar to a service like Zoho), and set up proper email authentication (such as signing) in the sending settings of that email service.
After that, I connected the custom domain on Cloudflare to services like Brevo or Resend, and used PocketBase to send emails through those services. This approach allowed me to send emails without them being treated as spam.

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

79644116

Date: 2025-05-29 14:53:17
Score: 2
Natty:
Report link

So, I managed to find the error, and it was a very stupid one. Spring did not detect my SecurityConfig file at all, and this is why none of my configurations worked.

To ensure everything is working, make sure that you put the SecurityConfig on the same level as your Application file! Then, everything should be working fine. :)

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

79644112

Date: 2025-05-29 14:51:16
Score: 3
Natty:
Report link

This was a bug that has been fixed.

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

79644109

Date: 2025-05-29 14:49:15
Score: 4.5
Natty:
Report link

It looks like this is due to a deprecation of https://www.googleapis.com/auth/photoslibrary.readonly

More info here https://developers.google.com/photos/support/updates

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

79644102

Date: 2025-05-29 14:46:14
Score: 1
Natty:
Report link

If you call auth functions from the server side, you can encounter this token synchronization issue.

NextAuth stores auth tokens in httpOnly cookies within the user's browser by default. When server side auth calls refresh the tokens, the updated tokens don't automatically sync with the browser's cookies. The refreshed token is stored in the memory for temporary use.

So the browser continues using the old, expired token stored in its httpOnly cookie. Then every time you check the token expiration, you see the same expired timestamp because the browser's cookie was never updated with the refreshed token from the server.

However, when you call auth functions from the client side, the updated tokens are automatically sent back with the response and properly update the browser's cookies.

You can check this by calling an auth function from client side after the token is expired.

https://next-auth.js.org/configuration/options#session

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

79644097

Date: 2025-05-29 14:42:13
Score: 5
Natty:
Report link

Ok, Thanks to Dragan and many many tests I actually did figure it out. This is where the problem was:

            <ScrollViewer
                Grid.Column="2"
                HorizontalScrollBarVisibility="Auto"
                VerticalScrollBarVisibility="Auto">
                <Frame
                    x:Name="_mainFrame"
                    Grid.Column="2"
                    Margin="0"
                    HorizontalAlignment="Stretch"
                    VerticalAlignment="Stretch"
                    NavigationUIVisibility="Visible" />                    
            </ScrollViewer>

The ScrollViewer broke the widths... As soon as I removed that, all works as expected.

Dragan, I would like you to get the credit for this solution - how do I do that?

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): how do I
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Danie Spreeth

79644084

Date: 2025-05-29 14:34:11
Score: 2
Natty:
Report link

Unfortunately No. i don't think its possible for you to squash a commit into a merge commit using git standard tool (rebase commit --amend ) without redoing the resolution manually. but you can recreate the merge from scratch this time very clean using --no-commit. Alternatively you can avoid this by fixing everything before committing the merge.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Anaka Emmanuel Rukevwe

79644074

Date: 2025-05-29 14:31:10
Score: 1
Natty:
Report link

I did all the above and none of them worked until I added

<IfModule mod_php.c>
    php_value upload_max_filesize 50M
    php_value post_max_size 60M
</IfModule>

LimitRequestBody 52428800

to my .htaccess

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

79644073

Date: 2025-05-29 14:31:10
Score: 1
Natty:
Report link

I was able to get the locked versions into the built wheel using the poetry-lock-package plugin. This plugin packages only the dependencies from poetry.lock, producing a separate wheel.

Here’s what I have added to my Azure pipeline to generate both the regular and locked wheels:

- script: |
    cd ${{ parameters.wheel_folder }}
    poetry build
    ls -l dist/
  displayName: "Build Poetry Wheel"

- script: |
    cd ${{ parameters.wheel_folder }}
    poetry-lock-package --wheel
    cp ./tsff-lock/dist/*.whl dist/

    # Verify contents
    ls -l dist/
  displayName: "Build Lock Package from poetry.lock and copy to dist/"

This will generate:

Reasons:
  • Blacklisted phrase (1): This plugin
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: yashaswi k

79644066

Date: 2025-05-29 14:28:09
Score: 4.5
Natty:
Report link

Please help me, i have a small worry with my node js code. I want to assign a class to a teacher, i try to test it on postman, it does'nt work, i don't understand what is really wrong with.

here is the teacher schema

import mongoose from "mongoose";
import { Schema } from "mongoose";

const professeurSchema = new mongoose.Schema({
nom: {type: String, required: true},
email: {type: String, required: true},
motPass: {type: String, required: true},
role: {type: String, enum: ["admin","professeur"], required: true},
imageUser: {type: String},
nomClasse: {type: Schema.Types.ObjectId, ref: "Classe"},
},
{
timestamps: true
});
const Professeur = mongoose.model("Professeur", professeurSchema);
export default Professeur;

Here is the class schema

import mongoose from "mongoose";
import { Schema } from "mongoose";


const classeSchema = new mongoose.Schema({
NomClasse: {type: String, required: true, unique: true},
AnnéeScolaireDébut: {type: Date, required: true},
AnnéeScolaireFin: {type: Date, required: true},
Cycle: {type: String, required: true},
NomProf: {type: Schema.Types.ObjectId, ref: "Professeur"},
},
{
timestamps: true
}
);
 const Classe = mongoose.model("Classe", classeSchema);
 export default Classe;
Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Please help me
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: franc gael tchakoumi tchakoute

79644060

Date: 2025-05-29 14:26:08
Score: 2
Natty:
Report link

import pyttsx3

engine = pyttsx3.init()

engine.setProperty('rate', 120)

text = "Allahumma inni As Aluka ridaka waljannata wauzubika min gazabika wannar"

engine.save_to_file(text, 'dua.mp3')

engine.runAndWait()

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

79644046

Date: 2025-05-29 14:16:05
Score: 1.5
Natty:
Report link

If the files were already committed to the git, you have to make a commit that deletes the files before .gitignore takes effect for those files

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

79644026

Date: 2025-05-29 14:06:01
Score: 1
Natty:
Report link

There is a simple way here:

Easy way to resize image with javascript

Usage:

var file=$('#image-box').prop('files')[0];
imgnry.file(file);
imgnry.max(true);
imgnry.width(800);
imgnry.quality(1);
imgnry.type('png');
imgnry.resize().then((img)=>console.log(img))
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
Posted by: Cymro

79644022

Date: 2025-05-29 14:05:01
Score: 1
Natty:
Report link

There is a simple way here:

Easy way to resize image with javascript

Usage:

var file=$('#image-box').prop('files')[0];
imgnry.file(file);
imgnry.max(true);
imgnry.width(800);
imgnry.quality(1);
imgnry.type('png');
imgnry.resize().then((img)=>console.log(img))
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
Posted by: Cymro

79644021

Date: 2025-05-29 14:04:01
Score: 1
Natty:
Report link

Could you provide more details (code) about your issue? I was also wondering if you've tried using a custom plugin to bypass the problem, something like:


class IgnoreUnknownFieldsPlugin(MessagePlugin):
    def unmarshalled(self, context):
        # Remove unknown elements before SUDS processes them
        if hasattr(context.reply, 'children'):
            known_elements = [el for el in context.reply.children if el.name in context.reply.__metadata__.sxtype.rawchildren]
            context.reply.children = known_elements

client = Client(spec_path, plugins=[IgnoreUnknownFieldsPlugin()], faults=False)
Reasons:
  • RegEx Blacklisted phrase (2.5): Could you provide
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: Mahrez BenHamad

79644019

Date: 2025-05-29 14:03:00
Score: 1
Natty:
Report link

If your goal is to publish the app on the Google Play Store, you'll need to remove the main activity from your Android Automotive OS version of the app (or, at the very least, remove its launcher intent filter). Activities are only permitted for use in Android Automotive OS media apps for sign-in and settings flows, and any activities used for those purposes must not be usable while driving if you include them.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
Posted by: Ben Sagmoe

79644008

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

Here you go:

magick "object.tif" -write MPR:orig -alpha extract \
  \( -size 3202x512 gradient:white-black -geometry +0+2212 \) -compose multiply -composite \
  \( -size 512x2724 -define gradient:direction=East gradient:white-black -geometry +2690+0 \) -compose multiply -composite \
  MPR:orig +swap -compose copyopacity -composite "object_masked.tif"

Based on this answer: https://stackoverflow.com/a/40383400/4199855

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Rodrigo Polo

79644004

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

There is a simple way here:

Easy way to resize image with javascript

Usage:

var file=$('#image-box').prop('files')[0];
imgnry.file(file);
imgnry.max(true);
imgnry.width(800);
imgnry.quality(1);
imgnry.type('png');
imgnry.resize().then((img)=>console.log(img))

}

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