79269176

Date: 2024-12-10 17:36:00
Score: 1
Natty:
Report link

One method without using the index and by linearly interpolating on the additional days:

display(df)

df

df2 = pd.DataFrame({
    'A': None, 
    'B': pd.date_range('1/1/2010', periods = 7, freq = '1B') })

dico = {b:a for (a, b) in zip(df["A"], df["B"])}

df2["A"] = df2.apply(lambda row: dico.get(row["B"], np.nan) , axis=1).interpolate()
display(df2)

df2

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

79269174

Date: 2024-12-10 17:36:00
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:

set up a simple single formula in Analysis Workbook that pulls all relevant data from Data Workbook, and then 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:

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. 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) 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! make sure that whatever automation mechanism you are creating is opening the Data workbook before you are ordering pivot cache refreshing. Notes:

Pivot tables do not support named ranges as source so you cannot directly reference the data workbook's Excel table in it. It also won't work if you try to create a named range in analysis workbook that references table in data workbook. You have to pull the data via formula in Analysis workbook. Without named range as data source for pivot table you are left with "fixed" number of rows to define which is not good, so the trick for that is to reference whole columns - luckly pivot tables are good with trimming empty rows so this actually is done without any latency in processing input data. This way you are successfully faking dynamic named range as source for pivot table (in terms of rows)

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

79269173

Date: 2024-12-10 17:36:00
Score: 3.5
Natty:
Report link

In a multi-sensor system, you are working to minimize the calibration error E(x, y), where x and y are calibration parameters. The calibration error is modeled as: E(x, y) = x2 7y2 - 2xy + 3x + 4y - 15. Determine the critical points and classify them as minima or maxima. How will minimizing this calibration error improve the accuracy of your sensor readings?

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

79269163

Date: 2024-12-10 17:32:59
Score: 0.5
Natty:
Report link

The answer posted above works perfectly but here is another approach I found

apex.jQuery("span[data-style]").each(
  function()
  { 
    apex.jQuery(this).
      parent().parent().attr( 'style'
                   , apex.jQuery(this).attr('data-style')
                   ); 
  }
);

The only difference being that you are targeting the "grandparent" element by including an extra use of .parent()

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

79269151

Date: 2024-12-10 17:27:58
Score: 1.5
Natty:
Report link

The question is about identifying shared objects in Python's multiprocessing.managers.SyncManager when used by remote processes.

Simple Explanation: When you use SyncManager in Python to manage shared objects, the objects you share (e.g., dictionaries, lists) can be used across processes, even remotely. Each shared object is assigned a unique ID or "key" when it is created.

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

79269143

Date: 2024-12-10 17:25:57
Score: 4
Natty: 6
Report link

The same happened to me, your solution works, thanks!!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Eileen Pardo Hernández

79269141

Date: 2024-12-10 17:24:56
Score: 0.5
Natty:
Report link
I needed to add event in the code. It's more or less the same. But took me some time to figure out.
   



  

rule.addTarget(new
         cdk.aws_events_targets.CodeBuildProject(codeBuildProject, {
              event: cdk.aws_events.RuleTargetInput.fromObject({
                environmentVariablesOverride: [
                  {
                    name: 'TAG',
                    value: tag,
                    type: 'PLAINTEXT',
                  },
                 ],
              }),
             }));

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

79269133

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

I will just add on that I made sure targetframework was .net9.0 in all projects. It didn't build, just complained about The current .NET SDK does not support targeting .NET 9.0. Either target .NET 6.0 or lower, or use a version of the .NET SDK that supports .NET 9.0.

Just changing base and build in the DockerFile from 6.0 to 9.0 fixed the problem. The error message wasn't even close to what the issue was.

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

79269127

Date: 2024-12-10 17:20:55
Score: 3.5
Natty:
Report link

Greeting Grasshopper;

I think what you are looking for is a windowing function also called 'over'

Take a peek at this and see if this is what you are looking for. https://learn.microsoft.com/en-us/sql/t-sql/queries/select-over-clause-transact-sql

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

79269125

Date: 2024-12-10 17:20:55
Score: 1
Natty:
Report link

I was able to resolve this by specifying output.type="text" to the stat_cor command. This successfully exported the negative sign as a text box, instead of an object that did not display in powerpoint. Code below:

   stat_cor(label.y.npc="top", label.x.npc = "left",
   size=7,
   method="pearson",  output.type = "text")
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: gsm

79269124

Date: 2024-12-10 17:20:55
Score: 0.5
Natty:
Report link

The url that works is in the format of:

[api]/[ControllerName]

I was trying urls that were variations of:

[api]/[ControllerName]/[MethodName]

NOTES:

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

79269119

Date: 2024-12-10 17:18:54
Score: 1.5
Natty:
Report link

For anyone who has recently encountered this issue, according to this article from Microsoft System.Text.Json started supporting serialization of the derived classes since .NET7.

You can achieve this by adding attribute annotations to the main class

[JsonDerivedType(typeof(DerivedExtensionA))]
public abstract class Extension
Reasons:
  • Blacklisted phrase (1): this article
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Roozbeh

79269116

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

I have the same issue in nodejs

const jspdf = require('jspdf');
const file = new jspdf.jsPDF("p", "mm", "a4");

and it worked as intended

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (0.5):
Posted by: merrais

79269100

Date: 2024-12-10 17:09:52
Score: 5
Natty:
Report link

It appears the RcppGallery already has the answer, thanks to the author: https://gallery.rcpp.org/articles/dynamic-dispatch-for-sparse-matrices/

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: mskb

79269094

Date: 2024-12-10 17:05:50
Score: 1
Natty:
Report link

I encountered this issue when trying to fetch from a local repo:

git fetch /my/local/path my_branch

This syntax gets rid of the warning:

git fetch file:///my/local/path my_branch

But I would prefer a way to tell git to not store anything in my config about this local path.

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

79269093

Date: 2024-12-10 17:05:50
Score: 0.5
Natty:
Report link

To clear the Material-UI DatePicker input when the value is invalid, make sure to pass null to the value prop when the input doesn't meet your validation criteria. For example:

<DatePicker
  value={isValidDate ? selectedDate : null}
 ...
/>

This approach ensures the DatePicker input resets appropriately

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

79269088

Date: 2024-12-10 17:03:50
Score: 2.5
Natty:
Report link

Android Gradle plugin is not the same as gradle. Use [https://docs.gradle.org/current/userguide/compatibility.html][1]. Be sure that gradle versions and Java versions match up. Update your Path and JAVA_HOME in System Environmental Variables and then restart your computer.

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

79269085

Date: 2024-12-10 17:02:49
Score: 2
Natty:
Report link

For any one who stumbles across this, solution was to use Spring Custom Scopes.

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

79269083

Date: 2024-12-10 17:02:49
Score: 1
Natty:
Report link

The problem can be solved - as CodingWithMagga has suggested - by using the rate_func option in the animate command. Here is how you can modify the command:

animations = [circle.animate(rate_func=linear, run_time=0.01).move_to(new_pos) for circle, new_pos in zip(circles, new_positions)]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: eeqesri

79269080

Date: 2024-12-10 17:01:49
Score: 3
Natty:
Report link

I have the same difficult to understand Informatica API documentation. Thanks to ask about that.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Gilson Carciofi

79269067

Date: 2024-12-10 16:59:48
Score: 1
Natty:
Report link

In my case, I was working on a different project than the one my service account had permissions for, the following command was enough:

gcloud config set project [PROJECT_ID_SA]
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Cristian Q

79269061

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

We managed to fix it in SB 3.1 by creating a TomcatConnectorCustomizer implementation based on the one given by Hakan54 here https://stackoverflow.com/a/78347946/5468484.

But, since we upgraded to SB 3.2, we movev the solution to use SSL bundles. It is much cleaner and works perfectly. https://spring.io/blog/2023/06/07/securing-spring-boot-applications-with-ssl

So, if ou are using SB >= 3.2, go for the second solution. If you are stuck in <3.2, go for the first one.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Alexandre Hermida

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