79269059

Date: 2024-12-10 16:57:48
Score: 2.5
Natty:
Report link

First of all, for your case, you may want to use global dependencies which are covered in fastapi's documentations (link).

About testing, you may wanna go through this issue in sqlalchemy's repo or If you just want an example:

from typing import AsyncGenerator, Generator

import pytest
from httpx import ASGITransport, AsyncClient
from sqlalchemy import create_engine, event, text
from sqlalchemy.exc import SQLAlchemyError
from sqlalchemy.ext.asyncio import async_sessionmaker, create_async_engine
from sqlalchemy.orm import Session, SessionTransaction

from api.config import settings
from api.database.registry import *  # noqa: F403
from api.database.setup import (
    async_database_url_scheme,
    get_session,
    sync_database_url_scheme,
)
from api.main import app

pass  # Trick to load `BaseDatabaseModel` the last, since all database models must be imported before base model.
from api.database.models import BaseDatabaseModel  # noqa: E402


@pytest.fixture
def anyio_backend() -> str:
    return "asyncio"


@pytest.fixture
async def ac() -> AsyncGenerator:
    transport = ASGITransport(app=app, raise_app_exceptions=False)
    async with AsyncClient(transport=transport, base_url="https://test") as c:
        yield c


@pytest.fixture(scope="session")
def setup_db() -> Generator:
    engine = create_engine(
        sync_database_url_scheme.format(
            settings.DATABASE_USERNAME,
            settings.DATABASE_PASSWORD,
            settings.DATABASE_HOST,
            settings.DATABASE_PORT,
            "",
        )
    )
    conn = engine.connect()
    # Terminate transaction
    conn.execute(text("commit"))
    try:
        conn.execute(text("drop database test"))
    except SQLAlchemyError:
        pass
    finally:
        conn.close()

    conn = engine.connect()
    # Terminate transaction
    conn.execute(text("commit"))
    conn.execute(text("create database test"))
    conn.close()

    yield

    conn = engine.connect()
    # Terminate transaction
    conn.execute(text("commit"))
    try:
        conn.execute(text("drop database test"))
    except SQLAlchemyError:
        pass
    conn.close()
    engine.dispose()


@pytest.fixture(scope="session", autouse=True)
def setup_test_db(setup_db: Generator) -> Generator:
    engine = create_engine(
        sync_database_url_scheme.format(
            settings.DATABASE_USERNAME,
            settings.DATABASE_PASSWORD,
            settings.DATABASE_HOST,
            settings.DATABASE_PORT,
            "test",
        )
    )

    with engine.begin():
        BaseDatabaseModel.metadata.drop_all(engine)
        BaseDatabaseModel.metadata.create_all(engine)
        yield
        BaseDatabaseModel.metadata.drop_all(engine)

    engine.dispose()


@pytest.fixture
async def session() -> AsyncGenerator:
    # https://github.com/sqlalchemy/sqlalchemy/issues/5811#issuecomment-756269881
    async_engine = create_async_engine(
        async_database_url_scheme.format(
            settings.DATABASE_USERNAME,
            settings.DATABASE_PASSWORD,
            settings.DATABASE_HOST,
            settings.DATABASE_PORT,
            "test",
        )
    )
    async with async_engine.connect() as conn:
        await conn.begin()
        await conn.begin_nested()
        AsyncSessionLocal = async_sessionmaker(
            autocommit=False,
            autoflush=False,
            expire_on_commit=False,
            bind=conn,
            future=True,
        )

        async_session = AsyncSessionLocal()

        @event.listens_for(async_session.sync_session, "after_transaction_end")
        def end_savepoint(session: Session, transaction: SessionTransaction) -> None:
            if conn.closed:
                return
            if not conn.in_nested_transaction():
                if conn.sync_connection:
                    conn.sync_connection.begin_nested()

        def test_get_session() -> Generator:
            try:
                yield AsyncSessionLocal
            except SQLAlchemyError:
                pass

        app.dependency_overrides[get_session] = test_get_session

        yield async_session
        await async_session.close()
        await conn.rollback()

    await async_engine.dispose()

Let me explain the piece of code that I have written:

If you need more detail about what I have done, please let me know.

Reasons:
  • RegEx Blacklisted phrase (2.5): please let me know
  • RegEx Blacklisted phrase (1): I have done, please
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: thisisjab

79269055

Date: 2024-12-10 16:56:48
Score: 1.5
Natty:
Report link

I had the same issue (changes to html not reflected when running project in Visual Studio debugger). Although the IIS server was running, the computer was not connected to the internet. After connecting to the internet, the updates were available.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Enduro

79269051

Date: 2024-12-10 16:55:47
Score: 3
Natty:
Report link

Try downgrading your Xcode to 15.x.x version for now, the issue happens on Xcode 16.

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

79269050

Date: 2024-12-10 16:54:47
Score: 3.5
Natty:
Report link

Some of us CANT use jquery... ie like Defense Contractors... and using a package is not the answer to a problem that should be known in the language itself.

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

79269049

Date: 2024-12-10 16:54:47
Score: 2
Natty:
Report link

Answering my own question, I was able to install the RPM using "rpm":

rpm -ivh --nodeps xorg-x11-apps-7.7-21.el8.x86_64

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

79269048

Date: 2024-12-10 16:54:46
Score: 4
Natty:
Report link

This working EntityFramework6\Add-Migration

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

79269037

Date: 2024-12-10 16:49:45
Score: 1
Natty:
Report link

Here's a simple code for a virtual coin flip in Python:

import random

def flip_coin():
    result = random.randint(0, 1)
    if result == 0:
        return "Heads"
    else:
        return "Tails"

print(flip_coin())
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gori Saxena

79269022

Date: 2024-12-10 16:45:44
Score: 3
Natty:
Report link

In my regex I dropped the colon (:) in the url https// instead of https://.

If anyone else comes across this you have something to check now.

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

79269015

Date: 2024-12-10 16:44:43
Score: 0.5
Natty:
Report link

After a lot of trial & error and a lot of Grace I worked out following workaround that really works regardless of OneDrive synchronization status.

Explainer of the situation: When OneDrive for Desktop is synchronizing an Excel workbook (let's call it Data Workbook), and that workbook is trying to be accessed from another workbook (let's call it Analysis Workbook) via PowerQuery or even directly by regular pivot table (not even PowerPivot) - Excel will regularly throw out error The process cannot access the file because it is being used by another process. That happens because the import/reading mechanism wants exclusive access to the Data Workbook (even though it is reading it only). You can't do a thing about it.

Workaround: You have to "fool" the import mechanism into thinking it is not accessing another workbook. There is a good enough solution for this which can be applied and automated in most situations:

  1. set up a simple single formula in Analysis Workbook that pulls all relevant data from Data Workbook, and then
  2. set up import mechanism to use that as a source.

This successfully circumvents any and all issues with OneDrive. Details on the example of using regular pivot table as the data consumer in Analysis workbook:

  1. Let's say your data workbook is My Data.xlsx, and an Excel table in that data workbook is the source of your data, and that table is named source_data. For the sake of simplicity, I'm presuming all workbooks are in the same folder.
  2. in Analysis workbook, add a worksheet "ds_trick", and in A1 cell place formula ='My Data.xlsx'!source_data[#All] (no matter how large the source data table is, it is going to fit into this worksheet because the formula is in A1 and there cannot be more rows in Data workbook's worksheet then in the Analysis workbook worksheet so you are safe on that side)
  3. Let's say that this data table fills columns from A to N. Change the pivot table data source to 'ds_trick'!$A:$N. Notice that you are not specifying the rows in this reference - you are referencing whole columns!
  4. make sure that whatever automation mechanism you are creating is opening the Data workbook before you are ordering pivot cache refreshing.

Notes:

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

79269014

Date: 2024-12-10 16:44:43
Score: 0.5
Natty:
Report link

I've done even a different approach of other answers and added environment variable

export NODE_OPTIONS='--network-family-autoselection-attempt-timeout=500'
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: morhook

79269013

Date: 2024-12-10 16:43:43
Score: 3.5
Natty:
Report link

The solution I fond is to use taylor expansions for the first moment of functions of random variables. The details can be found here: vignette_taylor_series

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

79269010

Date: 2024-12-10 16:41:42
Score: 4
Natty:
Report link

Hello i am new to AI stuff and also going through this example of using transformer block for time series classification.

Aside from the padding issue, may i ask why it use "channels_first" rather than "channels_last" in GlobalAveragePooling2D layer?

I have a 2D data like yours and reshape it to (batch, height, width, 1). "channel_first" give me a high accuracy to 9X% but not "channel_last".

The Keras example use 1D data, using "channel_last" but also result in a poor accuracy. But according to the definition "channels_last" should be correct

Reasons:
  • Blacklisted phrase (1): may i ask
  • RegEx Blacklisted phrase (1.5): i am new
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Jerson

79269003

Date: 2024-12-10 16:40:41
Score: 0.5
Natty:
Report link

I had this issue and (it feels like a hack) was able to resolve it by limiting overflow:

html {
  overflow-x: hidden;
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: fafrd

79269001

Date: 2024-12-10 16:40:41
Score: 2
Natty:
Report link

everyone! The simplest and easiest way to implement a date-time picker is by using the input element with the datetime-local type. I highly recommend trying it out. Creating a custom component or using third-party libraries can be quite complicated due to compatibility issues with the latest Angular versions.

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

79268985

Date: 2024-12-10 16:34:40
Score: 2
Natty:
Report link

Try use:

npx create-electron-app my-new-app -- —-template=webpack
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Paul Alfonso Cuéllar Prieto

79268968

Date: 2024-12-10 16:28:38
Score: 2
Natty:
Report link

This feature is relatively new and can be utilized by adding a new header comment to your plugin - Requires Plugins.

You can learn more about how to use it in the official WordPress.org announcement.

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

79268966

Date: 2024-12-10 16:27:38
Score: 0.5
Natty:
Report link

Create a Snowflake TASK to execute the COPY INTO command and execute that task from your process. This runs the COPY INTO commands serially as needed, eliminating the concurrency issue. Per the EXECUTE TASK documentation:

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: Brandon

79268963

Date: 2024-12-10 16:26:37
Score: 3.5
Natty:
Report link

The problem was solved by adding Str::random(16) to the keys :key="'ad-profile-'.$item->id.'-tab4-'.Str::random(16)"

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Тарас Гаврилюк

79268955

Date: 2024-12-10 16:24:37
Score: 3.5
Natty:
Report link

SOLUCIÓN PROBADA

https://www.cloudways.com/blog/increase-media-file-maximum-upload-size-in-wordpress/#:~:text=1.%20Update%20.htaccess%20File

Vaya a este sitio, y haga la primera opción. Cargar al htaccess. No necesitas hacer nada más

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Juan Pablo Pérez Toro

79268931

Date: 2024-12-10 16:15:34
Score: 2.5
Natty:
Report link

To help the guys coming after us, instead of implementing your own 'Stack2', take a look at the 'UnboundStack' from ux_improvements

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

79268920

Date: 2024-12-10 16:11:33
Score: 2.5
Natty:
Report link

Check the hash that you got, if its e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 then you have a network stability issue. That hash corresponds to an empty file, you need to switch to a different network connection. This kind of thing can be caused by funky firewalls etc issues, so just find an alternative way to connect.

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

79268919

Date: 2024-12-10 16:11:33
Score: 1
Natty:
Report link

In my case I had a syntax error in my k8s pre-start hook that was causing the SIGWINCH message.

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

79268913

Date: 2024-12-10 16:08:32
Score: 2
Natty:
Report link

I know this is an old question, but I happened here and thought of another alternative. You could return the mime type of the media file, so clients interested in that could just display it. The metadata could be added as a custom response header (with a JSON value if you prefer) so that metadata aware clients could extract the relevant information for the exact image returned without a race condition or double lookup.

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

79268911

Date: 2024-12-10 16:07:31
Score: 4.5
Natty: 4
Report link

I upgraded my laravel 8 backend for SPA (vue.js, sanctum) to laravel 11, and post request /broadcasting/auth returns HTML response instead of json like { auth: "..." }

In previous version Broadcast::routes has been called from BroadcastServiceProvider, but not is it under the hood of laravel framework in ApplicationBuilder.php, and previously I've added sanctum middleware like this Broadcast::routes(['middleware' => ['auth:sanctum']]);

How should I do it in laravel 11?

Reasons:
  • Blacklisted phrase (1): How should I
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Eugene B.

79268903

Date: 2024-12-10 16:03:30
Score: 0.5
Natty:
Report link

panelTitle is the one which is changing color of Details, features, changelog labels in extensions panel . Let me know if this is what you looking for.

Modifications in settings.json :

"workbench.colorCustomizations": {
"editorGroupHeader.foreground": "#f40808",  
"textLink.foreground": "#f40808",          
"editor.foreground": "#f40808",             
"panelTitle.inactiveForeground": "#f40808",
"panelTitle.activeForeground":"#f40808"

}

and got this result :

enter image description here

enter image description here

You can refer to this for further information : https://code.visualstudio.com/api/references/theme-color

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

79268898

Date: 2024-12-10 16:02:29
Score: 0.5
Natty:
Report link

Add empty lines in your Source file. It worked for me, I had the same problem.

Reasons:
  • Whitelisted phrase (-1): It worked
  • Whitelisted phrase (-1): I had the same
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: phil00

79268891

Date: 2024-12-10 16:00:29
Score: 3.5
Natty:
Report link

I also need need this. It is so inconvenient to loop all the symbol.

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

79268882

Date: 2024-12-10 15:57:28
Score: 1
Natty:
Report link

In the end, it was due to a component higher up in the web page's structure with the style height: 100vh;. For a normal page, this worked; the page was globally not scrollable, and my sidebar's div was made scrollable, as well as the main content div, which could be scrolled within as well.

However, for printing, it is important that height of content is not limited or set in a hardcoded pixels value.

TLDR: Make sure the container's height is set to height: auto; with @media print { ... }

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

79268870

Date: 2024-12-10 15:51:24
Score: 7 🚩
Natty:
Report link

This is stated clearly in the documentation. Please check this link.

https://api.flutter.dev/flutter/dart-async/FutureOr-class.html#:~:text=FutureOr%20class%20abstract,resolved%20to%20the%20internal%20type.

Reasons:
  • Blacklisted phrase (1): Please check this
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): check this link
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: MotoMatt5040

79268858

Date: 2024-12-10 15:47:22
Score: 5.5
Natty:
Report link

I am having the same error. It seems like NextJS v14.2 have changed the types definitions and @clerk/nextjs is not able to catch up.

I would say, give it a few days until clerk team release a minor update to fix this linting error.

Reasons:
  • RegEx Blacklisted phrase (1): I am having the same error
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having the same error
  • Low reputation (1):
Posted by: Alaa ElSaman

79268855

Date: 2024-12-10 15:45:22
Score: 1.5
Natty:
Report link

Actually I want to post my solution here, thanks for the help from ZaidMalek.

As for the official documentation on Routing, it seems that we need to add the route of api.php in bootstrap/app.php. So the code in app.php would be:

<?php

use Illuminate\Foundation\Application;
use Illuminate\Foundation\Configuration\Exceptions;
use Illuminate\Foundation\Configuration\Middleware;

return Application::configure(basePath: dirname(__DIR__))
    ->withRouting(
        web: __DIR__.'/../routes/web.php',
        api: __DIR__.'/../routes/api.php', 
        commands: __DIR__.'/../routes/console.php',
        health: '/up',
    )
    ->withMiddleware(function (Middleware $middleware) {
        //
    })
    ->withExceptions(function (Exceptions $exceptions) {
        //
    })->create();
Reasons:
  • Blacklisted phrase (0.5): thanks
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Taiwan No.1

79268854

Date: 2024-12-10 15:45:22
Score: 1
Natty:
Report link

The key conceptual difference is that localStorage only supports strings, while IndexedDB supports objects, arrays, and binary data like Uint8Array. This is critical if you’re dealing with large files (like images or PDFs) since binary data in localStorage requires Base64 encoding, which increases file size and complexity. IndexedDB avoids this by storing binary data directly.

Another big difference is that localStorage is synchronous, whereas IndexedDB is asynchronous, allowing for non-blocking storage operations. When working on the Scanbot Web SDK, we stored large image files using IndexedDB + Web Workers to offload heavy processing to a background thread, keeping the app responsive.

Why have two stores? localStorage is simple and fine for small key-value data (like app settings), but IndexedDB is a full client-side database. It’s meant for larger, structured, and binary data, offering better performance, capacity, and indexing.

If you’re interested in working with binary data in IndexedDB or web workers, check out this guide we wrote: https://scanbot.io/techblog/storage-wars-web-edition/. (Full disclosure: I work at Scanbot SDK, but I think this approach can help others deal with large files in the browser.)

Reasons:
  • Blacklisted phrase (1): this guide
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: j-s-g-shvaa

79268852

Date: 2024-12-10 15:44:21
Score: 1.5
Natty:
Report link

FYI at least as of December 2024 you absolutely can use the Events API to implement slash commands. You still set up the Slash Command on your Slack App via Settings -> Slash Commands. Use the events URL as the Request URL like /slack/events. If you are using bolt.js, you can listen for slash commands using app.command()

https://tools.slack.dev/bolt-js/concepts/commands

Bolt.js will handle the verification for you.

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

79268847

Date: 2024-12-10 15:43:21
Score: 2
Natty:
Report link

I ran the "db.system.sessions.drop()" command and restarted the server. It rebuilt the collection, and the expireAfterSeconds parameter has the correct type.

So far it seems like dropping the collection solved the problem with on bad side effects.

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

79268833

Date: 2024-12-10 15:38:20
Score: 2
Natty:
Report link

You can check this post on how to obtain the approvalId and then how to pass it in the body of the request: Approving Azure pipeline using API

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

79268822

Date: 2024-12-10 15:37:19
Score: 1.5
Natty:
Report link

Thanks your suggestion solved the problem. First I removed the semicolon (;) after &cpstream and I added the following code:

#define FKG_FORCED_USAGE 1
#include <sphelper.h>
#undef FKG_FORCED_USAGE

After this I added

CoInitializeEx(nullptr, COINIT_MULTITHREADED);

to the beginning of main. Now my solution compiles and produces a wav file.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Tansel Tunc

79268786

Date: 2024-12-10 15:26:16
Score: 2.5
Natty:
Report link

You do have a reference to

Another package must have a dependency on version 3.0.1.0 Try and update the package to version 3.0.1.0

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Niall O'Dwyer

79268775

Date: 2024-12-10 15:22:15
Score: 1.5
Natty:
Report link

Easiest way to do this would be to call window.print() when the button is clicked. That will open up the print dialog and the user can save it to PDF themselves.

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

79268767

Date: 2024-12-10 15:20:14
Score: 1.5
Natty:
Report link

It is very easy with jsign:

jsign --storetype YUBIKEY --storepass 123456 application.exe
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: MazeGen

79268765

Date: 2024-12-10 15:19:14
Score: 0.5
Natty:
Report link

For me to make this work, I had to:

Configure the IAM Role used for the connection to include following policies:

Add VPC endpoints for the following services (with the subnet used in the GLUE connection toggled on - find this by creating a errornous connection in Glue, and you can see it there - dno if you can find it other places)

Configure the Amazon Redshift Inbound and Outbound rules according to: https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-connect-redshift-home.html - the Set up Amazon VPC section.

Since I've played around with this for almost the entire day, I might have toggled other stuff too, but at least I needed these settings :)

And for the life of me, I don't get why permissions in cloud providers have to be this complicated - I get they need to stay secure, but I have probably today introduced multiple vulnerabilities in my cloud setup, just playing around with stuff I had no clue about what actually did, just trying to get this connection to work.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Kristian Kaa

79268758

Date: 2024-12-10 15:18:14
Score: 2.5
Natty:
Report link

My best answer would be to open a ticket with JetBrains. If you give them your example project, they may be able to fix this problem. I'd also make sure they don't try to merge it into IDEA-235305 (like they did with IDEA-363863), which hasn't even been looked at since 2019. They also said this was fixed in IDEA-302560, but it obviously wasn't.

(I would love to have a REAL fix for you, but I don't have enough reputation to even comment on your question. Otherwise, I'd say, "This is happening to me too!" I really want to add this testFixtures thing to my work projects, but if IntelliJ is going to barf on resolving them, that's dead in the water.)

Reasons:
  • RegEx Blacklisted phrase (1.5): I don't have enough reputation
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: DirkNiblick

79268748

Date: 2024-12-10 15:15:13
Score: 3
Natty:
Report link

well what I did, was using access 2010 - not just the run time, I held down the shift key while clicking on the .mdb file and held it down until the database was fully loadded. That got me into the Access App. From there i was able to look at the form definitions and that in turn showed me the code. Is that what you are after??

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

79268745

Date: 2024-12-10 15:15:13
Score: 2
Natty:
Report link

in settings.json:

  1. Open Settings (JSON):

Press Ctrl + Shift + P (Windows/Linux) or Cmd + Shift + P (Mac), then search for Preferences: Open Settings (JSON). Add This Line:

  1. Add This Line: "editor.renderIndentGuides": false
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Kashif Khan

79268733

Date: 2024-12-10 15:12:12
Score: 3.5
Natty:
Report link

Content-Type: application/xml;charset=utf-8; pass in request header

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

79268726

Date: 2024-12-10 15:11:12
Score: 1
Natty:
Report link

Is this what you are looking for?

> da.df %>% 
    filter(LC %in% lc.dc$LC)
  DA LC
1 44  A
2 22  C
3 34  B
4 22  B
5 55  A
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Is this
  • High reputation (-2):
Posted by: Jilber Urbina

79268723

Date: 2024-12-10 15:09:10
Score: 6.5 🚩
Natty: 6.5
Report link

I am creating a plugin for Wordpress, using bootstrap 5.2.3.

I also look for a visual modification of the select box when using the 'multiple' attribute.

I have tried up to now these plugins, with no results: virtual-select bootstrap-multiselect select2 with select2-boostrap-5-theme css

Nowadays, is there any non-paid plugin that can modify the select box?

Thanks in advance for your help

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): is there any
  • RegEx Blacklisted phrase (3): Thanks in advance
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: aruseusx

79268722

Date: 2024-12-10 15:09:10
Score: 3.5
Natty:
Report link

Squeeze pigeon sword south easy gaze security frost tobacoo extract chicken north

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

79268719

Date: 2024-12-10 15:08:10
Score: 0.5
Natty:
Report link

You could use:

df.replace(100, np.nan).style.background_gradient(cmap ='RdYlGn', axis=1)\
                       .highlight_null(color='white')

If the "100" values are of no use.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Bohdan Pylypenko

79268716

Date: 2024-12-10 15:08:10
Score: 2
Natty:
Report link

Got the same problem and solved it few minutes ago. If your are running @ntohq/buefy-next v.0.1.4, it didnt work for me with newest Bulma version. Downgrading the bulma to [email protected] solved the problem. "Last publish 5 months ago" in Buefy version for Vue 3 was a tip. Good luck!

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jakub Kuźma

79268713

Date: 2024-12-10 15:06:10
Score: 0.5
Natty:
Report link

I had the same issue following an update to Visual Studio. I saw that the .NET Runtime Optimization Service was running the background. After it had completed and I cleaned and rebuilt my solution, the errors had gone. I think you may just have to wait for the Runtime Optimization to complete and then it should work.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • No code block (0.5):
  • Low reputation (1):
Posted by: Rob Macleod

79268707

Date: 2024-12-10 15:04:09
Score: 1
Natty:
Report link

On my system,

[drivers home]/variants/RASPBERRY_PI_PICO/pinmode_arduino.h

does NOT actually have the

#include "PinNamesTypes.h"

line, whereas the

[drivers home]/cores/arduino/as_mbed_library/pinmode_arduino.h

does include this line. If I put

[drivers home]/variants/RASPBERRY_PI_PICO/

in front of

[drivers home]/cores/arduino/as_mbed_library/

in my include search, then I do not get the missing PinNamesTypes.h error.

To address your final concern, I have gotten my pico to program the ssd1306 with the u8g2 library on the Arduino IDE. I have also gotten Arduino code ported to Vs Code via the platformio extension.

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

79268705

Date: 2024-12-10 15:04:09
Score: 1
Natty:
Report link

I create a simple Github project available via composer https://github.com/bigb06/PHPCypherFile

PHPCypherFile provides a robust solution for encrypting large files securely without significant memory overhead. It combines the power of RSA for public/private key encryption and AES-256-CBC for symmetric encryption, ensuring both performance and security.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Nicolas Chevallier

79268703

Date: 2024-12-10 15:03:08
Score: 2.5
Natty:
Report link

When you use orWhere('status' , new) in this case it will check in wins where is 'new' and it will ignore all the other conditions like app_id == 730 and user_id == 5865535.

This is what I think, to solve this you may not use orWhere in this case

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When you use
  • Low reputation (1):
Posted by: ahmed al-raii

79268699

Date: 2024-12-10 15:02:08
Score: 1.5
Natty:
Report link

I've been experiencing the same error. I have made two changes to generate the docs:

The second step I did because after changing the relative import statements I've been experiencing a further error described in this question.

Remark: I wanted to submit this as a comment, but I do not have enough "reputation". I hope this answer helps although I cannot explain the details.

Details

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • RegEx Blacklisted phrase (1.5): reputation
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: HenryShines

79268683

Date: 2024-12-10 14:57:07
Score: 0.5
Natty:
Report link

Guides: Indentation

Search your settings for "guide". Uncheck the box "Editor > Guides: Indentation" and uncheck the box. See screenshot below.

indentation guides enable/disable

Sticky scroll

The sticky scroll feature shows what you see at the top of your screenshot. To disable that one, search your settings for "sticky scroll enable" and uncheck the checkbox. See screenshot below.

sticky scroll enable/disable

Reasons:
  • Probably link only (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Peter Pointer

79268669

Date: 2024-12-10 14:55:04
Score: 6 🚩
Natty:
Report link

I'm having the same issue with jpeg.dll but i have everything set up...

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: gabbodam99

79268661

Date: 2024-12-10 14:52:03
Score: 1
Natty:
Report link

i think you just need to initialize value of selectedProjectId

ngOnInit(): void { selectedProjectId = 0  }
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hager Khaled

79268654

Date: 2024-12-10 14:50:02
Score: 0.5
Natty:
Report link

For CI builds it's better to use the below at the image level if possible, or inside the build:

sudo sed -i 's/openssl_conf = openssl_init/#openssl_conf = openssl_init/g' /etc/ssl/openssl.cnf
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: NotI.mportant

79268650

Date: 2024-12-10 14:48:59
Score: 12 🚩
Natty: 5.5
Report link

I have the same problem, the user permissions were reviewed but I still get the same error. The report executes a job from the visual studio and is executed successfully but from an application the following message does not appear:

An error has occurred during report processing. (rsProcessingAborted) Query execution failed for dataset 'dataset1'. (rsErrorExecutingCommand) For more information about this error navigate to the report server on the local server machine, or enable remote errors

could someone help me?

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (3): could someone help me
  • RegEx Blacklisted phrase (1): I still get the same error
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Me too answer (0): get the same error
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: RGoncalves

79268644

Date: 2024-12-10 14:47:58
Score: 0.5
Natty:
Report link

I had the same issue and was able to solve it by adding the following in the .vscode/settings.json

{
  "rust-analyzer.cargo.features": ["proc-macro"]
}
Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: bigg-S

79268639

Date: 2024-12-10 14:45:58
Score: 3.5
Natty:
Report link

update maven dependencies that solved the issue

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

79268631

Date: 2024-12-10 14:41:57
Score: 3
Natty:
Report link

There is a service from Megaport (https://www.megaport.com/solutions/cross-cloud/) called MRC that can help you with this transfers and reduce cloud egress fee.

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

79268623

Date: 2024-12-10 14:38:56
Score: 1.5
Natty:
Report link

you can't do asynchronous operation in the run.js file. If you want to check the customer tag, you can proceed from the documentation here.

With cart -> buyerIdentity -> customer -> hasAnyTag, you can check whether the tag you want exists in the user or not. You need to use graphQL input for this. You can check the documentation here.

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

79268622

Date: 2024-12-10 14:38:56
Score: 1
Natty:
Report link

Found this on Github. Worked for me

import pandas as pd

import camelot

FileName="Filepath"

DF3=camelot.read_pdf(FileName,multiple_tables=True,options="--pages 'all'", lattice= True)

print DF3

Reasons:
  • Whitelisted phrase (-1): Worked for me
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Bharath Kumar B

79268616

Date: 2024-12-10 14:37:55
Score: 2.5
Natty:
Report link

Actually, the encoded value seems to be a base64 encoded, and if decoded it gives what I need. What is interesting is that I don't have to use a decoder in the subsequent activities. It seems that ADF just 'shows' encoded values in the output. But if used later in a variable or another activity, it is a properly decoded value. Very unexpected, and strange.

Reasons:
  • Blacklisted phrase (0.5): I need
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Dmitriy Ryabin

79268609

Date: 2024-12-10 14:35:55
Score: 1.5
Natty:
Report link

There is an easier step,

  1. git clone <your_repository_to_import> from above the monorepo
  2. under your monorepo, yarn lerna import <path_your_repository_to_import>
  3. git push

The project at https://github.com/pingleware/bestbooks is a prime example of converting a multirepo to a monorepo,

  1. git clone https://github.com/pingleware/bestbooks

import https://github.com/pingleware/bestbooks-core

  1. git clone https://github.com/pingleware/bestbooks-core
  2. cd bestbooks
  3. yarn lerna import ../bestbooks-core
  4. git push
  5. rm -rfd ../bestbooks-core
Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Patrick Ingle

79268608

Date: 2024-12-10 14:34:53
Score: 6 🚩
Natty: 6
Report link

Was there any change regarding connecting data from Trimble into Autodesk construction cloud?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Was there any
  • Low reputation (1):
Posted by: user28717626

79268607

Date: 2024-12-10 14:34:53
Score: 3.5
Natty:
Report link

There's currently no built in way to do that in Kedro. We've got several open issues requesting something similar (https://github.com/kedro-org/kedro/issues/2410). Feel free to comment on those, it helps with prioritisation.

Reasons:
  • Blacklisted phrase (1): to comment
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: mtheisen

79268605

Date: 2024-12-10 14:33:49
Score: 6 🚩
Natty:
Report link

Hello my friend do you find a solution for this

Reasons:
  • RegEx Blacklisted phrase (2.5): do you find a
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mohammad Mirzae

79268602

Date: 2024-12-10 14:32:49
Score: 1.5
Natty:
Report link

I was able to install the griddb-c-client on WSL, by downloading the griddb-c-client_5.7.0_amd64.deb file from https://github.com/griddb/c_client/releases/download/v5.7.0/griddb-c-client_5.7.0_amd64.deb and saving it in my home folder, typically located on C:\USERS<login>. In my case it’s 270274. Then, I ran the following command on a WSL to install the package:

griddbusr@REI023154:/mnt/c/Users/270274$ sudo dpkg -i griddb-c-client_5.7.0_amd64.deb

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

79268596

Date: 2024-12-10 14:31:48
Score: 3
Natty:
Report link

you can use flutter_screenutils instead, it is perfect.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Ahmed Elhenidy

79268589

Date: 2024-12-10 14:26:47
Score: 1.5
Natty:
Report link

Copy the entire sheet, then change its formulas to values.

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

79268588

Date: 2024-12-10 14:26:46
Score: 2
Natty:
Report link
"rules": {
    "comment-no-empty": true,
    "no-invalid-double-slash-comments": true
}
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Игорь Майоров

79268587

Date: 2024-12-10 14:25:46
Score: 3
Natty:
Report link

Just put the app URL "https://localhost:7001" in the Web Origins field. Should solve it.

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

79268584

Date: 2024-12-10 14:25:46
Score: 3.5
Natty:
Report link

Today again stops working, above solution doesn't work any more.. Just love the environment of RN CLI...

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

79268571

Date: 2024-12-10 14:21:45
Score: 1
Natty:
Report link

Here is my benchmark.

public class LinqBenchmarks {enter image description here private int[] _numbers;

    [GlobalSetup]
    public void Setup()
    {
        _numbers = Enumerable.Range(1, 1000).ToArray();
    }


    [Benchmark]
    public int FirstOrDefaultCondition()
    {
        return _numbers.FirstOrDefault(n => n == 800);
    }

    [Benchmark]
    public int WhereFirstOrDefault()
    {
        return _numbers.Where(n => n == 800).FirstOrDefault();
    }

}

Benchmark So it looks like the Where(n => n ==800).FirstOrDefault() is faster than the FirstOrDefault(n => n == 800). Please see the image in benchmark.

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: virender singh

79268570

Date: 2024-12-10 14:21:45
Score: 0.5
Natty:
Report link

You can try something like this to check if the value is red or not:

SELECT item.Item_ID AS ItemName,
    CASE 
        WHEN EXISTS (SELECT 1 FROM Options optns WHERE optns.Item_ID = item.Item_ID AND optns.Color = 'Red') THEN 'Y'
        ELSE 'N'
    END AS IsRedOrNot FROM Items item;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Arf_code

79268559

Date: 2024-12-10 14:15:44
Score: 3
Natty:
Report link

After combing the documentation available up to now, I have not found any parameter, argument or method allowing to fill the Charts sections. As far as I can guess, it's not something implemented or usable yet.

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

79268554

Date: 2024-12-10 14:14:44
Score: 2.5
Natty:
Report link

Yes, a native GA4 to BQ backfilling isnt available. We've built a tool at databackfill.com that helps solve this problem. Absolutely, the analytics data API has limitations, but we've focused on making the backfill process as straightforward as possible through a simple UI - no coding or API scripts needed.

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

79268552

Date: 2024-12-10 14:13:43
Score: 2
Natty:
Report link

So, this might help someone out there. I experienced this and tried everything from the above. But what worked for me is delete all the entries in Add Content Root of "each" modules enter image description here

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: pvma

79268549

Date: 2024-12-10 14:12:43
Score: 3
Natty:
Report link

Have you tested creating specific firewall rules? Define the rules specifically for the tags or networks associated with your Cloud Run instance, and set the rules to allow outbound traffic to the MySQL database IP and port 3306 (for MySQL). Let's go.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Apichet Janya

79268548

Date: 2024-12-10 14:12:43
Score: 2
Natty:
Report link

You probably want to change ClipBinsAtEnds from defaults, see itk::Histogram docs. Possibly like histogramFilter->GetOutput()-> SetClipBinsAtEnds(true); // or maybe false?

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Dženan

79268544

Date: 2024-12-10 14:11:42
Score: 0.5
Natty:
Report link

Try this

const isValidUrl = urlString=> {
  try { 
      return Boolean(new URL(urlString)); 
  }
  catch(e){ 
      return false; 
  }

}

Reasons:
  • Whitelisted phrase (-1): Try this
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Renan Silva

79268543

Date: 2024-12-10 14:10:42
Score: 2
Natty:
Report link

If the files(dependencies) comes from thridparty, maybe you can use Gradle Artifact Transform API to delete the unexpect files.

see: https://docs.gradle.org/current/userguide/artifact_transforms.html

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: linjiang

79268539

Date: 2024-12-10 14:09:42
Score: 1
Natty:
Report link

if kerberos is enabled, then show in keytab your algorithms! For example , the FreeIpa support ONLY aes256-cts-hmac-sha1-96,aes128-cts-hmac-sha1-96

Generate keytab TRUE!!

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

79268536

Date: 2024-12-10 14:08:41
Score: 6 🚩
Natty: 6
Report link

but for delete the checkbox without use .clearformats there is a solution?

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

79268532

Date: 2024-12-10 14:07:40
Score: 1.5
Natty:
Report link

In my case, just set "Automatically manage signing" solve problem.

Flutter 3.24.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision dec2ee5c1f (4 weeks ago) • 2024-11-13 11:13:06 -0800
Engine • revision a18df97ca5
Tools • Dart 3.5.4 • DevTools 2.37.3

enter image description here

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

79268527

Date: 2024-12-10 14:06:40
Score: 0.5
Natty:
Report link

I decided to come up with a little Trait that allows for indexing with a TryInto<usize> instead of just usize. This simplifies the logic a lot:

fn main() {
    let vec = vec![1, 2, 3];
    let mask = [-1, 1];
    
    for i in 0..vec.len() {
        let left = vec.get_index(i as i32 + mask[0]).unwrap_or(&0);
        let right = vec.get_index(i as i32 + mask[1]).unwrap_or(&0);
        
        println!("Sum: {}", left - right);
    }
}

pub trait Indexable<I> {
    type Item;
    fn get_index(&self, index: I) -> Option<&Self::Item>;
}

impl<T, I> Indexable<I> for Vec<T>
where
    I: TryInto<usize>,
{
    type Item = T;
    fn get_index(&self, index: I) -> Option<&Self::Item> {
        let Ok(num) = index.try_into() else {
            return None;
        };
        self.get(num)
    }
}

playground

This is similar to a wrapper but it allows for more flexiblity. You could technically even create a wrapper type around Option<&mut T> so you can change an index without bound-checks even:

vec.get_index(index as i32).and_set(3);
assert_eq!(Some(3), vec.get(index));

Simliar to the entry()-Method in HashMap. Anyways, thank you all for the great ideas!

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

79268525

Date: 2024-12-10 14:05:40
Score: 1.5
Natty:
Report link

For arch linux, most prefer using yay for AURs, there is an AUR for VSCode.

$ yay -S visual-studio-code-bin

This fixed my issues

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

79268524

Date: 2024-12-10 14:05:40
Score: 0.5
Natty:
Report link

Ok so after a lot of frustration I got this to work BUT as for why it works I'm a little vague.

My parent post ID was saved as a numeric in the child post. The child post is editable by the user who fills out a cf7 form and submits it. On submit a hook is fired and data is saved etc. The aim was to also have a single field in the parent post (in the backend) update to register that the user has submitted the form by changing the value of a status field.

My child form loads the post date into an array using

$submission = WPCF7_Submission::get_instance();
$data = $submission->get_posted_data();

Then I assign and access the elements with ;

$parentid= $data['parentid']; //as parentid is saved to the child post

This for some reason does not want to pass the id to the variable (even though for every other variable i have it works just fine.

instead I have to directly assign the parentid variable outside of the array using;

$parentid = get_post_meta( $post_id, 'parentid', true );
$postfield = 'post_status';
$newvalue = 'new status setting';
update_post_meta($parentid, $postfield, $newvalue);

it works but i would still like to know why and what was going wrong?

it feels like i'm missing something very simple trying to add 2+2 but instead having to do 1+1+1+1!

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Stu

79268521

Date: 2024-12-10 14:05:39
Score: 7 🚩
Natty: 6.5
Report link

what will be validation code for html tags. Because some time we got email with html tags in text area and i don't want to submit form with this type of tag. please help me for this

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): please help me
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): what
  • Low reputation (1):
Posted by: Sapna

79268511

Date: 2024-12-10 14:03:38
Score: 2
Natty:
Report link

On Windows 11, Enable autohide and press the Windows key like you're going to search for something. This will display the taskbar. You can also press the Win+T if you don't want the search window to open.

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

79268495

Date: 2024-12-10 13:59:36
Score: 0.5
Natty:
Report link

The font you have chosen doesn't have any lowercase letters.

If you change news to NEWS. It will show.

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

79268494

Date: 2024-12-10 13:59:36
Score: 1.5
Natty:
Report link

Can't know for sure but I'm assuming the script is failing because of missing privileges.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Starts with a question (0.5): Can't
  • Low reputation (1):
Posted by: Waaazzzuuuuup

79268492

Date: 2024-12-10 13:58:36
Score: 1
Natty:
Report link

Instead of just asking for

_TaskInfo[taskindex]

prepend it with a namespace

TwinCAT_SystemInfoVarList._TaskInfo[taskindex]
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jacek Domański

79268489

Date: 2024-12-10 13:57:35
Score: 4
Natty: 4.5
Report link

Has this been answered? I am also having this issue

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Brian Choo

79268485

Date: 2024-12-10 13:55:35
Score: 2.5
Natty:
Report link

Added the fix but still getting the same vulnerability 'Android Bad Practices: Missing Google Play Services Updated Security Provider'

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

79268474

Date: 2024-12-10 13:51:34
Score: 2
Natty:
Report link

I wrote the same code using Visual Studio 2022, copied it from the object inspector, then pasted it into Visual Studio Code.

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

79268456

Date: 2024-12-10 13:45:32
Score: 2.5
Natty:
Report link

This can be done in the Delphi IDE

Increase Font Size Ctrl+Num +

Decrease Font Size Ctrl+Num -

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

79268451

Date: 2024-12-10 13:45:32
Score: 1
Natty:
Report link

As @dmitry543 said is all right, however in point 3. you can just tell your Angular to use hash locations:

provideRouter(routes, withHashLocation())

so, you do not need to configure Spring Boot to forward any thing.

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