79405835

Date: 2025-02-01 23:21:34
Score: 1
Natty:
Report link

An effective strategy to detect SQL injection attempts is to rigorously validate the parameters received by the application. Each parameter should be checked according to rules specific to the application's domain. For example, parameters representing identifiers (such as those starting with id, e.g., idUser, idOrder) can be validated using a regular expression that allows only integer numbers. Similarly, other types of parameters should be validated based on their intended use. Es. Boolean parameters (true/false or 0/1). Alphanumeric codes with a predefined length or mask. Strings restricted to allowed characters to prevent malicious input. To systematically enforce this validation, a function could be included in every page to validate all (present and future) parameters according to this rule. This ensures a consistent security policy across the entire application.

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

79405829

Date: 2025-02-01 23:18:32
Score: 2
Natty:
Report link

Log error with console.log(error.stack) to show prisma error.

In my case , prisma load enviroment variables from .env.local at database operation. Set database env variables in .env.local too and resolved .

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

79405822

Date: 2025-02-01 23:12:31
Score: 0.5
Natty:
Report link

I think your mother-in-law network runs a DNS server on the router which does the resolving for you. So it's DNS, not mDNS. This is confirmed by failure to resolve the hostname when your phone uses private DNS. Your router, on another hand, doesn't resolve . local domain as belonging to local network.

When the devices obtain the IP address via DHCP from the router, the latter can specify the DNS servers to use. Yours may specify the provider's servers while mother-in-law's specifies its own.

Reasons:
  • No code block (0.5):
Posted by: Alexandr Zarubkin

79405821

Date: 2025-02-01 23:12:31
Score: 1
Natty:
Report link

When programming with jQuery, simply put the variable within brackets to send the string value of the variable as the key name.

var SomeElement = 'data1';

$.ajax({
    type: 'post',
    url: 'form/processor/page',
    data: { [SomeElement] : 'val1' },
    ...
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: Stan S.

79405820

Date: 2025-02-01 23:12:31
Score: 2
Natty:
Report link

There's a mobile application called Cosmo that integrates with Postman pretty well. Used it a couple times in a pinch when I didn't have my computer on me and needed to run some collections.

App store

Website: https://fetchcosmo.com/

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: John.c

79405810

Date: 2025-02-01 22:56:29
Score: 3
Natty:
Report link

I've tried all the methods with no luck then I randomly toggled prettier back to "singleQuote": true - and started working! Hope it helps!

Reasons:
  • Blacklisted phrase (1): no luck
  • Whitelisted phrase (-1): Hope it helps
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Radek

79405807

Date: 2025-02-01 22:54:28
Score: 0.5
Natty:
Report link

I have used this before:

var uidStr = Files.readString(Paths.get("/proc/self/loginuid"));

Example with jshell:

$ jshell
|  Welcome to JShell -- Version 21.0.2
|  For an introduction type: /help intro

jshell> Files.readString(Paths.get("/proc/self/loginuid"));
$1 ==> "226"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ron McLeod

79405793

Date: 2025-02-01 22:41:26
Score: 1
Natty:
Report link

pairwise() from the itertools module was added in Python 3.10:

from itertools import pairwise

for a, b in pairwise(["a", "b", "c"]):
    print(a, b)

# Ouput:
# a b
# b c
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jordi Calafat

79405790

Date: 2025-02-01 22:39:25
Score: 4
Natty: 4
Report link

Always set also seems to interact differently with set directives in .htaccess files.

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

79405785

Date: 2025-02-01 22:37:24
Score: 4.5
Natty:
Report link

Josepiso127 josepiso127 josepiso127

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

79405779

Date: 2025-02-01 22:35:22
Score: 4
Natty: 4
Report link

This fixed it for me: https://medium.com/@islamrustamov/one-of-the-many-react-natives-textinput-problem-on-android-e4c9915acbc6

Let me know if the issue persists!

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Alexander Bogdanov

79405771

Date: 2025-02-01 22:27:21
Score: 3
Natty:
Report link

You can view your web projects on localhost via your browser with the "Live Server" plugin in the VSCode editor.

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

79405769

Date: 2025-02-01 22:26:20
Score: 0.5
Natty:
Report link

I could do the publish+start+attach only from VSCode. However, it's not such a big pain, normal coding can be done in VS. VSCode is open next to it and if I need to debug on RPI, I switch to VScode and start the debug session.

This is my launch.json config in VSCode:

    {
        "name": "RPI 192.168.0.xx",
        "type": "coreclr",
        "request": "launch",
        "preLaunchTask": "publish",    <--- this contains the pscp copy part
        "program": "~/.dotnet/dotnet",
        "args": [
            "/testapp/app.dll"
        ],
        "cwd": "/testapp/",
        "stopAtEntry": true,
        "console": "internalConsole",
        "pipeTransport": {
            "pipeCwd": "${workspaceFolder}",
            "pipeProgram": "c:\\Program Files\\PuTTY\\plink.exe",
            "pipeArgs": [
                "-pw",
                "<your_password>",  <--- for local tests ok
                "[email protected]"
            ],
            "debuggerPath": "~/vsdbg/vsdbg"
        }
Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: smcoder

79405768

Date: 2025-02-01 22:25:20
Score: 1
Natty:
Report link

For me, I needed a file called myproject.py. (Could be an empty file.)

Otherwise running poetry install would throw:

Error: The current project could not be installed: No file/folder found for package myproject
Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Weston A. Greene

79405749

Date: 2025-02-01 22:11:18
Score: 3
Natty:
Report link

Sorry to tell you: this is not supported by all browsers. As the documentation on MDN shows: Firefox and Safari don't support this feature.

Firefox would need a PWA Extension (who installs this?).

iOS does not support this kind of installation - the user must do this manually - you could show some instructions to the users, as it is described here This seems to be valid independent of the browser in iOS - see this article

Reasons:
  • Blacklisted phrase (1): this article
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: frim p

79405745

Date: 2025-02-01 22:08:17
Score: 1
Natty:
Report link

u can use the !! instead if u want the program to throw null and only forces non null value

@Composable
fun MyComposeUI(camera: USBCamera?) {
    Button(onClick = { camera!!.setGain(10) }) {}    
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: MohiEddine

79405736

Date: 2025-02-01 21:57:14
Score: 0.5
Natty:
Report link

this will be my first help.

What causes that error in your project is that you specify a custom size for the image. At first, I tried to fix it from the style side, but since you specify a custom size for the image, it does not prioritize the style codes.

I have corrected your code a little bit with my own perspective :) Here you go

 <!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
    <title>Livestreams</title>

    <style>
        .tableTitle tr th {
            padding: 10px;
        }

        .songTitle {
            width: 420px;
        }

        .buttons button {
            margin-right: 15px;
        }
    </style>
</head>

<body>
    <div class="container">
        <div class="row mt-5">
            <div class="col-4">
                <div id="YouTubeVideoPlayer">
                    <img src="https://web.lovelady.com/siteImages/bunnyfuzz.jpg" style="width:400px; height:400px"
                        alt="placeholder">
                </div> <!-- YouTubeVideoPlayer -->
            </div>

            <div class="col-8">
                <div class="selectSong mb-3">
                    <label for="selectSong">Matching Songs: </label>
                    <select name='selectSong' id='selectSong' onchange='selectedSongFromHints(this) ;'>
                        <option value='Song suggestions:'>Songs matching "Cool "</option>
                        <option value='COOL WATER 0'>Cool Water (Marty Robbins cover)</option>
                        <option value='THAT AINT COOL 1'>That Ain't Cool</option>
                    </select>
                </div>
                <div class="songsTable mt-3">
                    <table class="table">
                        <thead>
                            <tr>
                                <th style="text-align: center;">Sav</th>
                                <th style="text-align: center;">Clr</th>
                                <th style="text-align: right;">Time</th>
                                <th class="songTitle">Song Title</th>
                                <th style="text-align: center;">Category</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr onclick='selectSongRow(this, 0) ;' id='perf_row_0'>
                                <th scope="row">
                                    <input type='checkbox' id='perf_saved_0' name='perf_saved_0' checked
                                        onclick='savePerfSong(this, 0);'>
                                </th>
                                <td style='text-align:center;' onclick='clearSongRow(0);'>&#10006;</td>
                                <td style="text-align: right;">
                                    <input type='text' id='perf_time_0' name='perf_time_0' style='text-align:right;'
                                        minLength='4' maxLength='7' size='7' value='0:20'
                                        onkeyup='changedPerfTime(this, 0);'>
                                </td>
                                <td><input type='text' id='perf_title_0' name='perf_title_0' style='text-align:left;'
                                        minLength='4' maxlength='80' size='50' value="You Don't Bring Me Flowers"
                                        onkeyup='changedPerfSong(this, 0);'></td>
                                <td><input type='text' id='perf_save_0' name='perf_save_0'></td>
                            </tr>
                            <tr>
                                <th scope="row">
                                    <input type='checkbox' id='perf_saved_0' name='perf_saved_0' checked
                                        onclick='savePerfSong(this, 0);'>
                                </th>
                                <td style='text-align:center;' onclick='clearSongRow(0);'>&#10006;</td>
                                <td style="text-align: right;">
                                    <input type='text' id='perf_time_0' name='perf_time_0' style='text-align:right;'
                                        minLength='4' maxLength='7' size='7' value=''
                                        onkeyup='changedPerfTime(this, 0);'>
                                </td>
                                <td>
                                    <input type='text' id='perf_title_0' name='perf_title_0' style='text-align:left;'
                                        minLength='4' maxlength='80' size='50' value=""
                                        onkeyup='changedPerfSong(this, 0);'>
                                </td>
                                <td><input type='text' id='perf_save_0' name='perf_save_0'></td>
                            </tr>
                            <tr>
                                <th scope="row">
                                    <input type='checkbox' id='perf_saved_0' name='perf_saved_0' checked
                                        onclick='savePerfSong(this, 0);'>
                                </th>
                                <td style='text-align:center;' onclick='clearSongRow(0);'>&#10006;</td>
                                <td style="text-align: right;">
                                    <input type='text' id='perf_time_0' name='perf_time_0' style='text-align:right;'
                                        minLength='4' maxLength='7' size='7' value=''
                                        onkeyup='changedPerfTime(this, 0);'>
                                </td>
                                <td>
                                    <input type='text' id='perf_title_0' name='perf_title_0' style='text-align:left;'
                                        minLength='4' maxlength='80' size='50' value=""
                                        onkeyup='changedPerfSong(this, 0);'>
                                </td>
                                <td><input type='text' id='perf_save_0' name='perf_save_0'></td>
                            </tr>
                        </tbody>
                    </table>

                </div>
                <div class="buttons mt-5 justify-align-center d-flex justify-content-center">
                    <button type="button" class="btn btn-secondary " id='completeButton' type='button'
                        onclick='markComplete(this, 773, false);'>Mark incomplete</button>
                    <button type="button" class="btn btn-success" id='incompleteButton' type='button' disabled
                        onclick='markComplete(this, 773, true);'>Mark complete</button>
                </div>
                <div class="form_and_streams mt-4">
                    <div class="formDiv">
                        <form action="POST" action="/YouTube/performed.php" class="table2 ">
                            <table class="table mt-5">
                                <tbody>
                                    <tr>
                                        <td>
                                            <input type='checkbox' name='filterFromDate' id='filterFromDate' checked>
                                            <label for='filterFromDate'>Earliest date</label>
                                        </td>
                                        <td><input type='text' name='fromDate' id='fromDate' size=10 value='06/20/2016'>
                                        </td>
                                        <td>
                                            <input type='checkbox' name='filterToDate' id='filterToDate'>
                                            <label for='filterFromDate'>Latest date</label>
                                        </td>

                                        <td><input type='text' name='toDate' size=10 value=''></td>
                                        <td>
                                            <input type='checkbox' name='omitCompleted' id='omitCompleted' checked>
                                            <label for='omitCompleted'>Omit if completed review</label>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </form>
                    </div>
                </div>
                <div class="livestream mt-4">
                    <table class="table">
                        <thead>
                            <tr>
                                <th scope="col">Started</th>
                                <th scope="col">Noted</th>
                                <th scope="col">Duration</th>
                                <th scope="col">Livestream Title</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td id='livestream_date_0'>2018-12-23 17:18</td>
                                <td id='livestream_songCount_0'></td>
                                <td id='livestream_elapsed_0'>0:20:09</td>
                                <td>
                                    <span
                                        onclick='selectVidId("n3tSP_imMI", 0, "livestream_row_0", "1280", "720");'>First
                                        Sunday</span>
                                </td>
                            </tr>
                            <tr>
                                <td id='livestream_date_1'>2018-12-24 18:16</td>
                                <td id='livestream_songCount_1'></td>
                                <td id='livestream_elapsed_1'>0:15:17</td>
                                <td>
                                    <span onclick='selectVidId("qtcQtqsaTU", 1, "livestream_row_1", "1280", "720");'>
                                        Live from the Lights Display</span>
                                </td>
                            </tr>
                            <tr>
                                <td id='livestream_date_2'>2019-01-06 07:31</td>
                                <td id='livestream_songCount_2'></td>
                                <td id='livestream_elapsed_2'>0:19:04</td>
                                <td><span onclick='selectVidId("c4y42xI6_o", 2, "livestream_row_2", "1280", "720");'>Jun
                                        26
                                        Follow the sun</span></td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>



    <script src='performed.js?modified=1738374550'></script>
    <script async src="https://www.youtube.com/iframe_api"></script>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.0/jquery.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
        integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
        crossorigin="anonymous"></script>
    <script>
        const CONST_IS_IPAD = '';
        const CONST_IS_ANDROID = '';
        const CONST_DEVICE_TYPE = 'unknown';
        const CONST_HIGHLIGHT = '#FDFF47';
        const CONST_LOG_WRITER = 'HTTP/1.1://web.lovelady.com/writeLog.php';
        const CONST_JS_APP_NAME = 'performed.php';
        const CONST_JS_LOG_NAME = '/usr/local/log/performed-2025-01.log';
        const CONST_KEYWORD_LOG_ERROR = 'logError';
        const CONST_NO_BACKUP = 'noBackup';
        const CONST_MAX_PLAYER_WIDTH = '640';
        const CONST_MAX_PLAYER_HEIGHT = '480';
        const URL_SRC = 'https://web.lovelady.com/YouTube/performed.php';
        let livestreamSongsComplete = true;
    </script>
</body>

</html>
Reasons:
  • Blacklisted phrase (1): youtube.com
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Raven

79405735

Date: 2025-02-01 21:55:14
Score: 2
Natty:
Report link

You can use preventDefault function of the onKeyDown event of input element if you know a character is not in english. How do you know it's not english? You can use my trick without using regular expressions: in such events, event variable is of type KeyboardEventHandler.
(event: KeyboardEvent<HTMLInputElement>) => { if(event.code.toLowerCase().includes(event.key.toLowerCase())) return null event.preventDefault() /* prevent event from typing the character in input field as it is not an english character*/ }
this block of code checks if the pressed key character ("s") is included within the key code ("keyS") which is in english just be careful to check the lowercase values as it may run into some exceptions without checking that.

Reasons:
  • Blacklisted phrase (1): How do you
  • Whitelisted phrase (-1.5): You can use
  • RegEx Blacklisted phrase (2.5): do you know it
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Saleh Alikhani

79405734

Date: 2025-02-01 21:55:14
Score: 2.5
Natty:
Report link

Go to Device Manager in Android Studio, click the three dots next to the device and click wipe data.

It resolved my issue atleast.

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

79405727

Date: 2025-02-01 21:51:13
Score: 4
Natty:
Report link

You can always access Command Line Arguments by Environment.GetCommandLineArgs()

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

79405723

Date: 2025-02-01 21:49:12
Score: 1.5
Natty:
Report link

I presume that your drawer's widgets will have buttons or listtiles for navigation. So, you just need to add a timer.cancel on the "onTap" function

Drawer
   ListView
      ListItem
         onTap() {
            timer.cancel(); // <-- this will cancel your timer
            Navigator.push();
         }
      ListItem
         onTap() {
            timer.cancel(); 
            Navigator.push();
         }

Cheers

Reasons:
  • Blacklisted phrase (1): Cheers
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Levi Abellar

79405721

Date: 2025-02-01 21:47:11
Score: 1.5
Natty:
Report link

Since the post is quite old and the pkg has been updated, let me quickly post an myself.

If u've been wondering where the Queue object gone, it become a entity called channel.

Small, well-written example to use it: https://stackoverflow.com/a/75625692/15185021

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hunor Portik

79405720

Date: 2025-02-01 21:44:11
Score: 2
Natty:
Report link

I confirm what @framilano did.

I did this tutorial https://quarkus.io/guides/aws-lambda.

When I actually added the lambda on AWS and created a FunctionURL for it, I started to get null pointers.

Then, I had an idea.

I tested my lambda to receive a JsonNode (jackson.databind).

This revealed that the object which was actually passed to my handleRequest() method was a APIGatewayV2HTTPEvent.

This is the logs on CloudWatch:

enter image description here

After I changed the object on handleRequest(), it worked properly.

Reasons:
  • Blacklisted phrase (1): this tutorial
  • Whitelisted phrase (-1): it worked
  • No code block (0.5):
  • User mentioned (1): @framilano
  • Low reputation (0.5):
Posted by: Juliano Suman Curti

79405715

Date: 2025-02-01 21:39:10
Score: 2.5
Natty:
Report link

Adding the path of Gradle in the previous answers is needed. In my case, I also needed to restart my computer.

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

79405709

Date: 2025-02-01 21:34:09
Score: 0.5
Natty:
Report link

Well thank you to everybody who answered! In the end I came up with a dirty but efficient solution. The whole problem is that during build time the environment variables are not accessible (unless you use the ARG and ENV parameters in your Dockerfile file, but I don't like to bloat it), therefore all the database initialization, for example Stripe initialization or whatever other services that you may have that require those environmental variables, are gonna fail in build time. The idea is, try to adapt the code so instead of throwing an error, it accepts and manages situations where those env variables are null or not defined. For example in the database(postgres) initialization file (db/index.ts):

import { drizzle } from 'drizzle-orm/postgres-js';
import postgres from 'postgres';

import * as users from '$lib/server/db/schemas/users'
import * as normalized from '$lib/server/db/schemas/normalized'
import * as availability from '$lib/server/db/schemas/availability';
import * as lessons from '$lib/server/db/schemas/lessons';
import * as bookings from '$lib/server/db/schemas/bookings';
import { env } from 'process';


function createDb() {
    const databaseUrl = env.DATABASE_URL;
    console.log('DATABASEURL: ', databaseUrl)
    if (!databaseUrl) throw new Error('DATABASE_URL is not set');
    
    // Skip DB connection during build
    if (process.env.NODE_ENV === 'build') {
        console.log('Build mode - skipping database connection');
        return null;
    }

    if (process.env.NODE_ENV === 'production') {
        console.log('Production mode - skipping database connection');
    }

    const client = postgres(databaseUrl);
    return drizzle(client, {
        schema: { ...users, ...normalized, ...availability, ...lessons, ...bookings }
    });
}

export const db = createDb();

Adn then wherever this db needs to be used, just handle the scenario where it might not be initialized properly:

import { eq } from "drizzle-orm";
import { db } from ".";
import { ageGroups, countries, currencies, languages, pricingModes, resorts, skillLevels, sports, timeUnits } from "./schemas/normalized";


export async function getAllSkiResorts() {
    if (!db){
        console.error('Database Not Initialized')
        return [];
    } 
    return await db.select().from(resorts);
}

export async function getSkiResortsByCountry(countryId: number) {
    if (!db){
        console.error('Database Not Initialized')
        return [];
    } 
    return await db.select().from(resorts).where(eq(countries.id, countryId))
}

export async function getAllCountries() {
    if (!db){
        console.error('Database Not Initialized')
        return [];
    } 
    return await db.select().from(countries);
}

Also in the Dockerfile, you could set the "build" environment var just to perform cleaner logic:

# Build stage
FROM node:22-alpine AS builder
RUN corepack enable && corepack prepare pnpm@latest --activate
WORKDIR /app
COPY package.json pnpm-lock.yaml ./
RUN pnpm install
COPY . .
# Set build environment
ENV NODE_ENV=build
RUN pnpm build

# Production stage
FROM node:22-alpine
RUN corepack enable && corepack prepare pnpm@latest --activate
WORKDIR /app
COPY package.json pnpm-lock.yaml ./
RUN pnpm install --production
COPY --from=builder /app/build ./build
# Set production environment
ENV NODE_ENV=production
CMD ["node", "build/index.js"]
EXPOSE 3000

you just need to test and try to see where in your app, there is code that might create conflict during build and then adapt the logic to handle non existing values during buildtime. I hope this does the trick for someone in the same situation that I was!!

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Erosique

79405707

Date: 2025-02-01 21:31:08
Score: 2
Natty:
Report link

{"object":"whatsapp_business_account","entry":[{"id":"540031869196964","changes":[{"value":{"messaging_product":"whatsapp","metadata":{"display_phone_number":"15551762468","phone_number_id":"564113223449477"},"contacts":null,"messages":null},"field":"messages"}]}]} ``

does that feature need to buy first? i just doing this on dev mode

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Deontae T Thompson

79405695

Date: 2025-02-01 21:24:07
Score: 1
Natty:
Report link

Just like the error message says, change the properties of the model.bim in the Solution Explorer:

enter image description here

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: David Browne - Microsoft

79405693

Date: 2025-02-01 21:22:06
Score: 1
Natty:
Report link

I post my answer, beacuse a I think that a lot of people are not aware that from Next.js v15 params attribute is considered as DYNAMIC API which can only be known during request - response lifecycle. That means, params needs to satisfy Promise type and to get params request for a page resource have to be made.

Related resources:

Async request API - next 15 breaking change

Request response lifecycle

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Mateusz W

79405691

Date: 2025-02-01 21:21:05
Score: 4
Natty: 4
Report link

There are multiple ways to setup it up, it appears, which makes it confusing. While other answers are not wrong, also try opening settings (File > Preferences > Settings), type "formatter" into the search and find "Editor: Default Formatter" setting. Is it set to use Prettier?

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

79405674

Date: 2025-02-01 21:03:01
Score: 2.5
Natty:
Report link

I am currently working on a native non blocking HTTP client library over at https://github.com/sfenzke/http-client.nvim. It doesn't have a response parser yet and the API ist still a little rough around the edges but I think this could be helpful for you in the future.

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

79405671

Date: 2025-02-01 21:00:00
Score: 4
Natty:
Report link

Looks like this post's answer could help you:

Numbered lists using python docx

hope so.

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

79405659

Date: 2025-02-01 20:50:58
Score: 1
Natty:
Report link

you can call the method inside the constructor like this

 UserWalletInfo(
          {super.key, required this.index, required this.userWalletModel})
          : super() {
        Get.put<WalletInfoViewModel>(WalletInfoViewModel()).init();
      }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: anas beeorder

79405653

Date: 2025-02-01 20:47:57
Score: 3.5
Natty:
Report link

Will need some code snippets to dig further... There are some similar answers including:

Questions to ask:

cnxn = boto3.connect()
process_data_for_a_while()
cnxn.upload(file)

If you do then maybe the cnxn is too long lived

Reasons:
  • Blacklisted phrase (1): Is there any
  • RegEx Blacklisted phrase (2.5): do you have the
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: smoot

79405641

Date: 2025-02-01 20:33:54
Score: 5.5
Natty: 6
Report link

any chance you can do a step by step on the solution that you came up with? I am trying to do the same and am not sure how to do that. Thank you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): I am trying to
  • Blacklisted phrase (1): trying to do the same
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: TheBotLord

79405637

Date: 2025-02-01 20:30:52
Score: 5
Natty: 5.5
Report link

Same problems in 2025. What's become the better against all of it

Reasons:
  • RegEx Blacklisted phrase (1): Same problem
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Margaret High Pipe

79405634

Date: 2025-02-01 20:27:51
Score: 5
Natty: 5.5
Report link

How can I make this pattern work in python

(.)\1(?!\1)

I want to use this pattern to find

"aa" in the string

"aabccc" but not "ccc"

Reasons:
  • Blacklisted phrase (0.5): How can I
  • RegEx Blacklisted phrase (1): I want
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How can I
  • Low reputation (1):
Posted by: KLee

79405632

Date: 2025-02-01 20:26:50
Score: 7 🚩
Natty: 5.5
Report link

I had the same issue. I want to apply pruning on a YOLOv8 model, but the number of parameters never decreases.
Have you found a solution, please?

Reasons:
  • Whitelisted phrase (-1): I had the same
  • RegEx Blacklisted phrase (2.5): Have you found a solution
  • RegEx Blacklisted phrase (1): I want
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: selma AZIZI

79405629

Date: 2025-02-01 20:23:49
Score: 3
Natty:
Report link

There are also RemoteGraphs. We can execute deployments as tools to use them within ReAct agent, which is an interesting concept.

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

79405628

Date: 2025-02-01 20:22:48
Score: 1.5
Natty:
Report link

Now it's 2025 and VS 17.12.4, but I still get this error. After hours I've seen that VS loses the setting "Xcode path" in Tools > Options > Xamarin > iOS Settings on VS application close.

This must be set to /Applications/Xcode.app

Then tried to pair again. This time the error "The Xcode license status couldn't be verified because Xcode has not been found on the default location of the connected Mac..." does not happen and the connection was successful.

So the Xcode path must be entered each time VS is started.

Maybe this helps someone.

Reasons:
  • RegEx Blacklisted phrase (1): I still get this error
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: uli1306

79405618

Date: 2025-02-01 20:13:47
Score: 0.5
Natty:
Report link

Earlier repo's Remote URL without .git suffix, like https://github.com/username/reponame, was constantly redirected to https://github.com/username/reponame.git with warning in SmartGit Output window. So it was convenient to add this suffix to Remote URL manually. But now .git suffix is out of date and breaks authorization.

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

79405611

Date: 2025-02-01 20:06:45
Score: 4
Natty: 4.5
Report link

var status: MutableStateFlow<Status?> = MutableStateFlow(null)

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Андрей Карагодин

79405608

Date: 2025-02-01 20:01:44
Score: 1.5
Natty:
Report link

From the official docs:

const child = page.getByText('Hello');
const parent = page.getByRole('listitem').filter({ has: child });
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
Posted by: Eduard Kolosovskyi

79405589

Date: 2025-02-01 19:50:42
Score: 3
Natty:
Report link

If anyone here facing same issue, isRewardedVideoAvailable always being false. I was initializing like this: LevelPlay.Init("appKey"); Changing initialization to this solved my problem:

LevelPlayAdFormat[] legacyAdFormats = new[] { LevelPlayAdFormat.REWARDED, LevelPlayAdFormat.INTERSTITIAL, LevelPlayAdFormat.BANNER };
LevelPlay.Init("appKey", adFormats: legacyAdFormats);
Reasons:
  • Has code block (-0.5):
  • Me too answer (2.5): facing same issue
  • Low reputation (1):
Posted by: ccaner37

79405588

Date: 2025-02-01 19:50:42
Score: 1.5
Natty:
Report link

The trick is to set the Notify setting in the grid properties:

enter image description here

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

79405583

Date: 2025-02-01 19:46:41
Score: 3.5
Natty:
Report link

useref just can call in client component.

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

79405576

Date: 2025-02-01 19:40:40
Score: 0.5
Natty:
Report link
UserFilter(logging.Filter):
   def filter(self, record) -> bool:
      record.app_name = str(getenv("app_name", "API"))
      return True

The set the env variable anywhere os.environ["app_name"] = "UTI"

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

79405572

Date: 2025-02-01 19:38:39
Score: 3.5
Natty:
Report link

I have used the below formula

index(B39:B58, MATCH(MAX(A39:A58), A39:A58, 0)) to tell me how the name in range B39:B58 with the highest value in range A39:A58. However, since this won't return values that are equal, who would I add a COUNTIF formula to this to return multiple names of they have the same value?

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

79405561

Date: 2025-02-01 19:32:37
Score: 10.5 🚩
Natty: 5.5
Report link

DID ANYONE FOUND A SOLUTION??? IT'S BEEN 7 YERAS!!!

Reasons:
  • Blacklisted phrase (1): ???
  • Blacklisted phrase (2): ANYONE FOUND
  • RegEx Blacklisted phrase (3): DID ANYONE FOUND A SOLUTION
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): DID ANYONE
  • Low reputation (1):
Posted by: Mammad

79405550

Date: 2025-02-01 19:21:31
Score: 4
Natty: 4
Report link

Just quit ExpoG and scan your QR again it helped me

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

79405536

Date: 2025-02-01 19:11:29
Score: 2
Natty:
Report link

I had this problem just now, and the issue was that I was referring to non-existent modules from an old pyproject.toml file that I had copied over to this new package in the [project.optional-dependencies]. So if you just get the dist-info folder created upon installation but not the actual package folder, check the pyproject.toml folder for errors, and specifically check to make sure that [project.optional-dependencies] does not list any modules that do not exist in your package.

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

79405534

Date: 2025-02-01 19:08:28
Score: 1.5
Natty:
Report link

There is a nice online tool https://yqnn.github.io/svg-path-editor/ Just copy the content of the Figures property and paste it to the Path textbox

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

79405527

Date: 2025-02-01 19:05:27
Score: 0.5
Natty:
Report link

a simple way is removing using that dispose memory stream:

// change bellow code 
// using (MemoryStream ms = new MemoryStream()){} 
// to
MemoryStream ms = new MemoryStream();
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Zolfaghari

79405521

Date: 2025-02-01 19:02:26
Score: 4
Natty:
Report link

Try bumping gradle to version 8.12.1. It solved similar issue in my case. Good luck.

https://docs.gradle.org/8.12.1/release-notes.html

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

79405518

Date: 2025-02-01 19:00:24
Score: 6.5 🚩
Natty: 4.5
Report link

[enter image description here][1]

[1]: https://i.sstatic.net/yiqYGB0w.png I want to know both ways the username …………………….

Reasons:
  • Blacklisted phrase (1): I want to know
  • Blacklisted phrase (1): enter image description here
  • RegEx Blacklisted phrase (1): I want
  • Low length (1.5):
  • No code block (0.5):
  • Filler text (0.5): ……………………
  • Low reputation (1):
Posted by: Andreea Ganea

79405515

Date: 2025-02-01 18:58:23
Score: 5.5
Natty: 4.5
Report link

Can you post a full chart of previous data and forecast? It can be only if prophet got a down trend

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you post
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can you post a
  • Low reputation (0.5):
Posted by: irumata

79405502

Date: 2025-02-01 18:51:22
Score: 1
Natty:
Report link

Thank you to you Ed Bayiates.

Your lines of code helped me to solve a similar problem I had. I extended your code a little cuz there was a small detail missing I needed. Now it makes sure lowest unused number will never be "0".

let k = [1,3,4];

function getLowestFreeNumber(){
let lowestUnusedNumber = -1;


  if (k.length === 0) {
    lowestUnusedNumber = 1;
    return lowestUnusedNumber;
  }

  k.sort((a, b) =>  a - b);

  for (let i = 0; i < k.length; ++i) {
     if (k[i] > 0 && k[i] != i + 1) {
      lowestUnusedNumber = i + 1;
      break;
    }
  }

  if (lowestUnusedNumber == -1) {
    lowestUnusedNumber = k[k.length - 1] + 1;
  }

  return lowestUnusedNumber;
}

console.log(getLowestFreeNumber())

I hope this few lines of code will help someone...

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Steven0age

79405493

Date: 2025-02-01 18:45:20
Score: 1.5
Natty:
Report link

ADB WIFI plugin is more stable than the built in one. For the first time, you must connect with the built in wifi debugger so as to get your phone in ADB WIFI list. After that, connect the device by pressing connect button on the ADB WIFI list.

enter image description here

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

79405490

Date: 2025-02-01 18:44:20
Score: 3
Natty:
Report link

It looks like you can just uninstall the CoPilot extensions and you'll be logged out

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

79405472

Date: 2025-02-01 18:35:18
Score: 1
Natty:
Report link

idk if this will help anyone, but I had this error on Stability Matrix on linux. The fix was to install opencv-python through the Stability Matrix interface. On the packages screen, you click the three dot menu for the package having the problem, then click python packages. From there you can install missing packages. i don't really know much about how python/conda/etc environments work on linux, because i did a whole lot of steps mentioned above and elsewhere in terminal, but it never did anything. I'm just posting this because no one has posted the fix to my problem anywhere, probably it's too obvious... anyway, just in case this might help someone down the road. Anyone that knows what they're doing, feel free to elaborate..

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

79405470

Date: 2025-02-01 18:34:17
Score: 5.5
Natty: 6
Report link

Pt.Br: Programando para web, o ft.FilePicker retorna a propriedade path=None, como faço para obter o conteúdo de um arquivo ou o path que o usuário selecionou através do FilePicker? En: Programming for the web, ft.FilePicker returns the property path=None, how do I get the content of a file or path of file that the user has selected through FilePicker?

Reasons:
  • Blacklisted phrase (1): how do I
  • No code block (0.5):
  • Ends in question mark (2):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Nilton Medeiros

79405466

Date: 2025-02-01 18:33:17
Score: 1
Natty:
Report link

At the end I use example from here: How can I draw a line in a-frame?

<!DOCTYPE HTML>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Dynamic Bézier Curve in A-Frame</title>
    <script src="https://aframe.io/releases/1.2.0/aframe.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js">            </script>
</head>
<body>
    <a-scene id="scene">
        <a-camera position="0 2 5"></a-camera>
        <a-entity id="bezierCurve"></a-entity>
    </a-scene>

    <script>
        document.addEventListener("DOMContentLoaded", function () {
            const scene = document.querySelector("#scene");
            const bezierCurveEntity = document.querySelector("#bezierCurve");

            // Dinamične kontrolne točke (može se dodavati ili uklanjati)
            let controlPoints = [
                new THREE.Vector3(-3, 0, 0),
                new THREE.Vector3(-2, 3, 1),
                new THREE.Vector3(3, -5, 2), // Dodana dodatna točka
                new THREE.Vector3(2, 3, 1),
                new THREE.Vector3(3, 0, 0)
            ];

            function updateCurve() {
                // Uklanjanje stare krivulje
                while (bezierCurveEntity.firstChild) {
                    bezierCurveEntity.removeChild(bezierCurveEntity.firstChild);
                }

                // Generiranje glatke krivulje pomoću Catmull-Rom interpolacije
                const curve = new THREE.CatmullRomCurve3(controlPoints);
                const curvePoints = curve.getPoints(50); // 50 točaka na krivulji

                const curveGeometry = new THREE.BufferGeometry().setFromPoints(curvePoints);
                const curveMaterial = new THREE.LineBasicMaterial({ color: 0xff0000 });
                const curveObject = new THREE.Line(curveGeometry, curveMaterial);

                // Dodavanje nove krivulje u scenu
                scene.object3D.add(curveObject);

                // Dodavanje kuglica na kontrolne točke
                controlPoints.forEach((point, index) => {
                    const sphere = document.createElement("a-sphere");
                    sphere.setAttribute("position", `${point.x} ${point.y} ${point.z}`);
                    sphere.setAttribute("radius", "0.2");
                    sphere.setAttribute("color", "red");
                    bezierCurveEntity.appendChild(sphere);
                });

                console.log("Krivulja i kuglice ažurirane!");
            }

            // Prvi prikaz krivulje
            updateCurve();
        });
    </script>
</body>
</html>
Reasons:
  • Blacklisted phrase (0.5): How can I
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: user1182625

79405465

Date: 2025-02-01 18:32:16
Score: 1
Natty:
Report link

Please use a translator from Russian, I don’t know English well!

для удаления приложения под текущим пользователем у меня работает подобная команда

Get-AppxPackage *WindowsCamera* | Remove-AppxPackage

для удаления приложения для всех пользователей нужно передать полное название программы полученное из параметра PackageName команды Get-AppxProvisionedPackage -online

полные названия приложения отличаются в зависимости от используемой вами команды Get-AppxPackage хранит полное название приложения в параметре с названием - PackageFullName (используя его мы получаем ошибку) Get-AppxProvisionedPackage -online хранит полное название приложения в параметре с названием - PackageName (надо использовать это название)

для одного приложения я использую подобную конструкцию

$appx = Get-AppXProvisionedPackage -Online | Where {$_.DisplayName -eq "Microsoft.WindowsCamera"}
write-host $appx.PackageName
Remove-AppxPackage -Package $appx.PackageName -AllUsers

для удаления списка приложений я использую подобный цикл

$apps = @(
    "Microsoft.549981C3F5F10",# Cortana
    "Microsoft.BingWeather",
    "Microsoft.GetHelp",
    "Microsoft.Getstarted",
    "Microsoft.Microsoft3DViewer",
    "Microsoft.MicrosoftOfficeHub",
    "Microsoft.MicrosoftSolitaireCollection",
    "Microsoft.MicrosoftStickyNotes",
    "Microsoft.MixedReality.Portal",
    "Microsoft.MSPaint",
    "Microsoft.Office.OneNote",
    "Microsoft.People",
    "Microsoft.SkypeApp",
    "Microsoft.Wallet",
    "Microsoft.WindowsAlarms",
    "microsoft.windowscommunicationsapps",
    "Microsoft.WindowsFeedbackHub",
    "Microsoft.WindowsMaps",
    "Microsoft.WindowsSoundRecorder",
    "Microsoft.Xbox.TCUI",
    "Microsoft.XboxApp",
    "Microsoft.XboxGameOverlay",
    "Microsoft.XboxGamingOverlay",
    "Microsoft.XboxIdentityProvider",
    "Microsoft.XboxSpeechToTextOverlay",
    "Microsoft.YourPhone",
    "Microsoft.ZuneMusic",
    "Microsoft.ZuneVideo"
)
# cycle of deleting an application for all users from the list
Get-AppxProvisionedPackage -Online | ForEach-Object {
        if ($apps -contains $_.DisplayName) {
        Write-Host Removing $_.DisplayName...
        Remove-AppxPackage -Package $_.PackageName -AllUsers
            }
        }
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • No latin characters (1.5):
  • Low reputation (1):
Posted by: Mifody

79405463

Date: 2025-02-01 18:31:16
Score: 1.5
Natty:
Report link

In my case my Tailwind config was named tailwind.config.js. Autocompletion started working when I renamed the file to tailwind.config.cjs and restarted NeoVim.

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

79405459

Date: 2025-02-01 18:28:15
Score: 2.5
Natty:
Report link

The code works fine. I didn't realize that the nextPageToken for each successive call is the same as the last call ie. when you loop through the fetching of data, nextPageToken stays the same; it only becomes nil on the last fetch.

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

79405449

Date: 2025-02-01 18:21:14
Score: 4.5
Natty:
Report link

weak_ptr has the member function expired() you can check with it is still valid.

https://www.youtube.com/watch?v=Tp5-f9YAzNk <- I have it from this video

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (1): this video
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: niki

79405448

Date: 2025-02-01 18:21:13
Score: 0.5
Natty:
Report link

I noticed the other Google App Script Web App that was working had a url structure different than this one with issues...

Problematic Web App URL: https://scripts.google.com/macros/s/{script_id}/exec

I tried to publish another app, initially with "Google Account logged in" can access the web app (not Anyone can access). When I published with this permission, the generated deployment URL was in different structure, like this (https://scripts.google.com/a/macros/{script_id}/exec), then I changed the permission to "Anyone" can access... and I tried to execute embed the web app with this new URL structure and it worked.

So What I understood, if anyone face this issue, must use different url structure to get the url with /a/macros/... instead of /macros/s/

So this URL: https://scripts.google.com/macros/s/{script_id}/exec (will cause issues if multiple goolge accounts logged in on mobile chrome browser...

and this URL: https://scripts.google.com/a/macros/{script_id}/exec should be working without URL changes.

For me it worked and saved my many hours of work on migrating web app to alternative platforms.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: faisal manzoor

79405447

Date: 2025-02-01 18:19:13
Score: 2.5
Natty:
Report link

In my case, the problem with QML engine was solved by installing these packages:

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

79405440

Date: 2025-02-01 18:15:12
Score: 1.5
Natty:
Report link

In my case, I just had to move my services.yaml config below symfony's _default configs. That made it work.

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

79405437

Date: 2025-02-01 18:15:12
Score: 3
Natty:
Report link

extension manager (dpkg) on checking installed extensions I have two extension(i.e dash to dock & Ubuntu dock) of dock enabled which causes this bug. On disabling one of the extension issue is solved.

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

79405423

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

Unfortunately, it doesn't work that way. It is true that the fourth parameter always contains the last status of the EditText and the second is always zero, but the first parameter is irregular, and so are the others (mostly).

I discovered this by doing some debugging experiments. Looks like Google really screwed this one up.

I'm going to try my luck with a TextWatcher instead. While it is true that InputFilter.filter really is supposed to give the text/leftover of the first three parameters that is to be inserted between the fifth and sixth parameter into the fourth, there is simply no way of knowing what values Google assigns to most of the parameters.

EDIT: Actually, the first parameter does seem to be some sort of potpourri of the input, so possibly there is a way to reconstruct the desired output. But this is probably highly case and version dependent.

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

79405422

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

When you draw the y_curve, rotate it in a different direction using the cosine of theta instead of the sine. Also, since you want to connect the lines, elevate the centre of the semicircle to be in between the two adjacent ones: (i + 0.5). Here's the line that shows the right y coordinates for me:

width = 10
spacing = 1
length = 10

for i in range(int(width // spacing)):
    theta = np.linspace(0, np.pi, 100)
    x_curve = length + (spacing / 2) * np.cos(theta)
    y_curve = (i + 0.5) * spacing + (spacing / 2) * np.cos(theta) # this is the line in qquestion
    print(f"X: {x_curve}\nY: {y_curve}")
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Low reputation (1):
Posted by: 3iM0ViY

79405421

Date: 2025-02-01 18:04:09
Score: 1
Natty:
Report link
<template>
  <button
    @click="searchBarOpen = !searchBarOpen"
  >
     {{ searchBarOpen ? 'Close search bar' : 'Open search bar }}
  </button>
  <input v-if="searchBarOpen"/>
<template>

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

const searchBarOpen = ref(false);
</script>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Max

79405414

Date: 2025-02-01 17:57:08
Score: 1
Natty:
Report link

Execute the following commands:

symfony console importmap:require bootstrap
symfony console importmap:require bootstrap/dist/css/bootstrap.min.css

This adds the bootstrap packages to your importmap.php file:

// importmap.php
return [
    'app' => [
        'path' => './assets/app.js',
        'entrypoint' => true,
    ],
    'bootstrap' => [
        'version' => '5.3.0',
    ],
    'bootstrap/dist/css/bootstrap.min.css' => [
        'version' => '5.3.3',
        'type' => 'css',
    ],
];

Then, import those files:

// assets/app.js
import 'bootstrap';
import 'bootstrap/dist/css/bootstrap.min.css';

References:

https://symfony.com/doc/current/frontend/asset_mapper.html#importing-3rd-party-javascript-packages
https://symfony.com/doc/current/frontend/asset_mapper.html#handling-3rd-party-css

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

79405405

Date: 2025-02-01 17:48:06
Score: 3.5
Natty:
Report link

It got resolved by upgrading newrelic agent

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

79405400

Date: 2025-02-01 17:44:05
Score: 5.5
Natty:
Report link

Although I'm new to Next.js, from the Next.js 13+ while scaffolding a new project, you'll have to decide between App Router vs Pages Router. With App Router you'll be given React.js server & client component - and this affects how you configure the routes for you App. While Pages Router leaves you with the old way of doing things in Next.js. For an in-depth explanation of this watch this video. Thanks.

https://www.youtube.com/watch?v=fNiLQi1RZrA

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (1): this video
  • RegEx Blacklisted phrase (1.5): I'm new
  • No code block (0.5):
  • Low reputation (1):
Posted by: Dae-mon

79405394

Date: 2025-02-01 17:38:03
Score: 1
Natty:
Report link

Large applications that can have their own memory management(malloc/free) and placement new can extract very good performance compared to those that use plain old new(). This is still needed today in systems which creates and destroys a few hundred thousand objects a minute. A similar example is of skbuff in the linux network stack.

STL containers, embedded systems are tiny examples where this is useful.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Bharath Shetty

79405378

Date: 2025-02-01 17:24:00
Score: 3
Natty:
Report link

Expo migrated from webpack to metro, currently you can achieve code splitting with Async Routes (available on web only atm)

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

79405376

Date: 2025-02-01 17:23:00
Score: 3.5
Natty:
Report link

C++ example based on Bazel

This is an example repository for C++ project based on Bazel and google test. And it also introduced how to code and test across platforms. I think it can match your needs.

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

79405375

Date: 2025-02-01 17:23:00
Score: 1.5
Natty:
Report link

I was also getting same error until I deleted .pnp.cjs file in home which was hidden . Make sure u can view hidden files

try

ls -a 

which will show all hidden files

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

79405371

Date: 2025-02-01 17:17:58
Score: 4
Natty:
Report link

Same problem here, I've added €75,- in funds to get to tier 3 just for o3-mini, but I get the same message. I guess it's phased out, hopefully later today.

Reasons:
  • RegEx Blacklisted phrase (1): Same problem
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ricardo van der Spoel

79405354

Date: 2025-02-01 17:01:55
Score: 4.5
Natty: 4.5
Report link

https://docs.expo.dev/develop/development-builds/create-a-build/

Or

eas build --platform android

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

79405347

Date: 2025-02-01 16:57:54
Score: 3.5
Natty:
Report link

Finally we have an API for that: BroadcastReceiver.getSentFromPackage

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
Posted by: Fedir Tsapana

79405344

Date: 2025-02-01 16:55:53
Score: 1
Natty:
Report link

"Am I imagining stuff and this is the correct behaviour?"

Yes, it is, both on Windows and Linux. Thanks to phd's comment I remembered why I thought it should ignore such folders: I created a virtual environment with python -m venv .v and git ignored it, so I thought that it ignored it because the name started with a period. I didn't take into account that venv itself created a gitignore file with a * which ignored the whole directory, hence it wasn't showing on git status. So yes, I am imagining stuff.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: postcoital.solitaire

79405340

Date: 2025-02-01 16:53:52
Score: 4
Natty:
Report link

Sorry that I found a solution seconds after posting this... Remapping Right Ctrl to CapLock solves the problem.enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: L. Francis Cong

79405339

Date: 2025-02-01 16:53:52
Score: 2.5
Natty:
Report link

Go to Developer Settings and disable multi-path networking. That solved it for me.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Karl Ehrlich

79405337

Date: 2025-02-01 16:52:52
Score: 3
Natty:
Report link

Thanks everyone for their solution.

In the end, instead of doing my SQL request when someone goes on the page, I made it when the :hover (css) of a div is trigger. Not the body, but something close to be that big. Body won't work, but the div did.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Benjamin Darmendrail

79405336

Date: 2025-02-01 16:51:51
Score: 2
Natty:
Report link

I finally found issue. I was literally 5 minutes before wiping my phone which would have bin a pain because of my banking apps and stuff. But I found a working solution!

Got to Developer Settings, and disable multi path networking.

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

79405326

Date: 2025-02-01 16:46:50
Score: 3.5
Natty:
Report link

The item you were attempting to purchase could not be found

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

79405321

Date: 2025-02-01 16:40:49
Score: 5.5
Natty: 6.5
Report link

What is this mean:

"Set this environment var: VISUAL

and where do I find that?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): What is this mean
  • Low reputation (1):
Posted by: Test Account

79405317

Date: 2025-02-01 16:36:47
Score: 1
Natty:
Report link

If anyone is looking for a module that simplifies the process of multi-window (React) apps;

Needed something similar that scales well. I just published a module that simplifies the process of opening and closing electron windows. Currently only supports React but it could easily be used as base for anything else.

https://github.com/Gridminder/electron-react-window

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Bram z

79405316

Date: 2025-02-01 16:36:47
Score: 1
Natty:
Report link

A better way I found to get rid of this issue in javascript is:

JSON.parse(JSON.stringify(String.raw`${your_string}`))
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mokrane

79405312

Date: 2025-02-01 16:33:47
Score: 2.5
Natty:
Report link

tg.sendData work only if the app opened via Keyboard button according to the documentation enter image description here

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

79405307

Date: 2025-02-01 16:31:46
Score: 1.5
Natty:
Report link

YOU CAN USE CHATGPT, STACK OVERFLOW IS OVERRATED ~CHATGPT(AGI)

Reasons:
  • Whitelisted phrase (-1.5): YOU CAN USE
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ayan Farooqui

79405305

Date: 2025-02-01 16:28:45
Score: 2.5
Natty:
Report link

I created a cmake build which uses LSQUIC, LIBUV, LIBURING, LIBEVENT, BORINGSSL and ZLIB, all compiled from scratch - no installed libraries needed.

Check it out at https://github.com/flipkickmedia/uwebsockets-cmake

Reasons:
  • Blacklisted phrase (0.5): Check it out
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Tom Shaw

79405303

Date: 2025-02-01 16:28:45
Score: 3
Natty:
Report link

Following are the quota requirements of I1v2 and EP1 enter image description here

enter image description here

Probably, you are stuck on availing the I1v2 quota in my thought

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

79405290

Date: 2025-02-01 16:18:44
Score: 1.5
Natty:
Report link

It seems I almost had it.

It was .on("change", function(d){....}):

document.getElementsByClassName('selectize-control multi')[0].parentElement.getElementsByClassName("selectized")[0].selectize.on("change",
    function(d){....})
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: dkysh

79405289

Date: 2025-02-01 16:18:44
Score: 1
Natty:
Report link

Crystal for Visual Studio does not support .NET Core -- only .NET Classic. So the highest you can go now is .NET 4.81.

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

79405288

Date: 2025-02-01 16:18:43
Score: 5.5
Natty: 7.5
Report link

par quoi remplacer _xlfn.DAYS pour éviter code erreur #NOM?

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

79405281

Date: 2025-02-01 16:15:42
Score: 3.5
Natty:
Report link

As Clemens wrote binding the converter directly on the background is the solution. Works great! Thanks a lot.

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

79405275

Date: 2025-02-01 16:13:42
Score: 0.5
Natty:
Report link

Fast deploying server for Android developers on Ktor with files, resources and database

https://github.com/KursX/kursx-server

sudo apt update && sudo apt install -y git && git clone https://github.com/KursX/kursx-server.git /opt/kursx-server

bash /opt/kursx-server/install.sh $IP $DOMAIN $TOMCAT_VERSION
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: KursikS