79431795

Date: 2025-02-12 02:47:13
Score: 2.5
Natty:
Report link

I had encounter same issue after add an COM into my project. Check "Use our IL Assembler." on .NET DllExport1.7.4 UI solve this issue.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: 黃化育

79431786

Date: 2025-02-12 02:41:12
Score: 1.5
Natty:
Report link

In my Anaconda enviroment i had an outdated version of R , and using conda install -c conda-forge r-base wasn't working until I upgraded my conda so here are the steps

  1. Open Anaconda Prompt
  2. Enter conda update conda
  3. Enter conda install -c conda-forge r-base

After completing these 3 steps, i was able to install packages with no problem

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

79431763

Date: 2025-02-12 02:25:08
Score: 5.5
Natty: 4.5
Report link

See a similar issue described in https://github.com/dotnet/aspnetcore/issues/53979

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Me too answer (2.5): See a similar issue
  • Single line (0.5):
  • High reputation (-1):
Posted by: Laisvis Lingvevicius

79431762

Date: 2025-02-12 02:23:07
Score: 10 🚩
Natty: 5
Report link

im trying to do something similar in my app, and was wondering if you figured out a way to do this?

Thanks in advance!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (2): was wondering
  • RegEx Blacklisted phrase (3): Thanks in advance
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: user29544369

79431746

Date: 2025-02-12 02:06:04
Score: 0.5
Natty:
Report link

Steps to Set Write-Protection Password

1.Connect to the Tag:

Establish a connection with the NTAG213 using your NFC-enabled device.

2.Read the Current Configuration:

Use the READ command to check the current configuration of the tag, especially the memory pages related to password protection.

3.Write the Password:

Use the WRITE command to set the password on the tag. The password is stored in a specific memory page (typically page 43 for NTAG213).

4.Set the PACK (Password Acknowledgment):

Write the password acknowledgment (PACK) to the appropriate memory location (usually page 44). This is a 2-byte value used for authentication.

5.Configure the AUTH0 Register:

Set the AUTH0 byte to define the starting page number from which the password protection should be enabled. This is done by writing to the correct configuration page (usually page 42).

6.Enable the Password Protection:

Configure the ACCESS byte to enable write protection. This byte allows you to set features like password protection for write operations.

Example Commands

Write Password:

Command: A2 2B PWD0 PWD1 PWD2 PWD3 Here, PWD0 to PWD3 are the bytes of your password. Write PACK:

Command: A2 2C PACK0 PACK1 00 00 PACK0 and PACK1 are the 2-byte password acknowledgment. Set AUTH0:

Command: A2 2A AUTH0 00 00 00 AUTH0 is the page number from which protection starts. Considerations Security: Choose a strong password and keep it secure. Testing: After setting the password, test the protection by attempting to write to a protected page without providing the password. By following these steps, you can effectively set a write-protection password on an NXP NTAG213 tag. Make sure to refer to the NTAG213 datasheet for detailed information on memory layout and command specifics.

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

79431743

Date: 2025-02-12 02:02:03
Score: 1.5
Natty:
Report link

In my Anaconda enviroment i had an outdated version of R , and using conda install -c conda-forge r-base wasn't working until I upgraded my conda so here are the steps

  1. Open Anaconda Prompt
  2. Enter conda update conda
  3. Enter conda install -c conda-forge r-base

After completing these 3 steps, i was able to install packages with no problem

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

79431733

Date: 2025-02-12 01:58:02
Score: 3.5
Natty:
Report link

My name is Denville Joe Nelson and I need to change it because my name is not Shane my name is Denville Joe Nelson

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Denville Nelson

79431730

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

The async fixture is never awaited and the order needs to be (mock,input,output,fixture)

async def test_get_generator_output(mock_save_df_to_db, input_df, output_df, request):
    generator_output = evaluator.get_generator_output(
        input = input_df,
        request = await request
    )
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Addi O

79431728

Date: 2025-02-12 01:57:02
Score: 4
Natty:
Report link

nigga! you are nigga you dont know how to code

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

79431725

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

Depending on the version of your primeng, it's a known issue. primeng v 4x does not onfocus when forceselection=true. Issue fixed in higher versions, since 5.x.

check: https://github.com/primefaces/primeng/issues/4298

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

79431720

Date: 2025-02-12 01:45:00
Score: 0.5
Natty:
Report link

Instead of

from xml import etree

def f(x: etree._Element):
    ...

use

from xml.etree.ElementTree import Element

def f(x: Element):
    ...
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Elijas Dapšauskas

79431719

Date: 2025-02-12 01:45:00
Score: 0.5
Natty:
Report link

In your specific use case you should instead of

from xml import etree

def f(x: etree._Element):
    ...

use

from xml.etree.ElementTree import Element

def f(x: Element):
    ...
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Elijas Dapšauskas

79431716

Date: 2025-02-12 01:44:00
Score: 0.5
Natty:
Report link

In my project the problem was by this lib of hilt

//    implementation (libs.androidx.hilt.work)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Suhaib Raadan

79431707

Date: 2025-02-12 01:40:59
Score: 2.5
Natty:
Report link

Welp, after a struggle of try/errors, i found out that the problem was the AVD SDK version.

I was using one with SDK 35, but seems that Metro Bundler of React Native 0.72.x connects only in AVD with SDK <= 33.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Артур Олмос

79431697

Date: 2025-02-12 01:35:58
Score: 3.5
Natty:
Report link

I used corr_matrix = housing.corr(numeric_only=True) to address the error I got from "corr" function "could not convert string to float: 'INLAND'". that helpful thank you.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Tannazsta

79431679

Date: 2025-02-12 01:31:57
Score: 3.5
Natty:
Report link

I received this response from Apple. I just wanted to post it here in case anyone else is encountering this:


Thanks for sharing your post and the code. The error message you're encountering on the console, "[ERROR] Could not create a bookmark: NSError: Cocoa 4097 "connection to service named com.apple.FileProvider", is a known issue. It's related to the FileProvider framework and is scheduled to be resolved in a future version of iOS. Rest assured, this error:

It's primarily a debug-time message and can be safely ignored. We appreciate you bringing this to our attention. If you encounter any other issues, please don't hesitate to reach out.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (2): Thanks for sharing
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: KatM

79431676

Date: 2025-02-12 01:28:56
Score: 3
Natty:
Report link

I'm just curious why there is a need for autowiring static class. BTW I found one of stack overflow link which might answer your question. Please refer this.

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

79431675

Date: 2025-02-12 01:27:56
Score: 4.5
Natty:
Report link

Looks like it's not work the bother. https://learn.microsoft.com/en-us/answers/questions/2155927/when-users-sign-in-to-my-app-i-cant-get-their-goog

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: Mark Evans

79431656

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

You can display both the monthly and yearly prices on the checkout page by adding the yearly price in "Upsells" in the monthly price edit page. So, it means that you have created both prices beforehand.

See the details here: https://docs.stripe.com/payments/checkout/upsells

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

79431654

Date: 2025-02-12 01:14:53
Score: 0.5
Natty:
Report link

To center a table in a code chunk using Quarto, you can place tbl-align at the beginning of the code chunk. Here is an example with julia code:

#| label: tbl-my-sample-table
#| tbl-cap: This table should be centered.
#| tbl-align: center

display(df_some_data_frame)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: mikeliux

79431619

Date: 2025-02-12 00:35:47
Score: 1.5
Natty:
Report link

It's possible to get the direct children of the folder with the https://www.googleapis.com/drive/v3/files endpoint. Example:

https://www.googleapis.com/drive/v3/files?q='folderId' in parents

You wont be able, however, to get the whole tree from this, you would need to query the contents of the subfolders on demand.

Source: https://developers.google.com/drive/api/guides/search-files

Source: https://developers.google.com/drive/api/guides/ref-search-terms#file-properties

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

79431613

Date: 2025-02-12 00:28:45
Score: 0.5
Natty:
Report link

The liveserver used by your development environment (editor), reloads the webpage when any file in your project directory tree is modified or created.

Run your code without liveserver, if you don't want your page to reload when you save the canvas.

Or save the file somewhere outside (i.e. above) the project directory.

Reasons:
  • No code block (0.5):
Posted by: Ray Wallace

79431611

Date: 2025-02-12 00:25:45
Score: 1
Natty:
Report link

NOTE: If you have used the device on another computer. You may need to do the following :

  1. Connect to the new computer.
  2. Go into developer settings.
  3. Turn off USB or Wifi Debugging.
  4. Turn on USB or Wifi Debugging again.

You will be prompted to accept debugging on the new Mac address. Accept this always.

I found when debugging on different machines, this can sometimes be a required step on certain phones.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Peter Suwara

79431603

Date: 2025-02-12 00:17:43
Score: 1
Natty:
Report link

Looks like in addAllDifferent you are not allowed to add linear expressions, even though signature of the function allows it.

Source: https://github.com/google/or-tools/blob/6fc19304dfad3f5105da74c898a2aa0f8b450120/ortools/sat/cp_model_checker.cc#L279

So you have to introduce additional variables, mark them as equal to those expressions, and then use these for constraints :(

Posting the explicit code, even though you can simplify this by writing your own addAllDifferent

fun main() {
    Loader.loadNativeLibraries()

    val model = CpModel()

    val x = model.newIntVar(1, 100, "x")
    val y = model.newIntVar(1, 100, "y")
    val z = model.newIntVar(1, 100, "z")
    val a11_var = model.newIntVar(1, 100, "a11")
    val a12_var = model.newIntVar(1, 100, "a12")
    val a13_var = model.newIntVar(1, 100, "a13")
    val a21_var = model.newIntVar(1, 100, "a21")
    val a23_var = model.newIntVar(1, 100, "a23")
    val a31_var = model.newIntVar(1, 100, "a31")
    val a32_var = model.newIntVar(1, 100, "a32")
    val a33_var = model.newIntVar(1, 100, "a33")

    val a11 = LinearExpr.sum(arrayOf(x, y))
    val a12 = LinearExpr.weightedSum(arrayOf(x, y, z), longArrayOf(1, -1, -1))
    val a13 = LinearExpr.sum(arrayOf(x, z))
    val a21 = LinearExpr.weightedSum(arrayOf(x, y, z), longArrayOf(1, -1, 1))
    val a23 = LinearExpr.weightedSum(arrayOf(x, y, z), longArrayOf(1, 1, -1))
    val a31 = LinearExpr.weightedSum(arrayOf(x, z), longArrayOf(1, -1))
    val a32 = LinearExpr.sum(arrayOf(x, y, z))
    val a33 = LinearExpr.weightedSum(arrayOf(x, y), longArrayOf(1, -1))

    model.addEquality(a11_var, a11)
    model.addEquality(a12_var, a12)
    model.addEquality(a13_var, a13)
    model.addEquality(a21_var, a21)
    model.addEquality(a23_var, a23)
    model.addEquality(a31_var, a31)
    model.addEquality(a32_var, a32)
    model.addEquality(a33_var, a33)

    val allVars = arrayOf(
        a11_var, a12_var, a13_var,
        a21_var, x, a23_var,
        a31_var, a32_var, a33_var)

    model.addAllDifferent(allVars)

    model.minimize(a32)

    val solver = CpSolver()
    val status = solver.solve(model)

    if (status == CpSolverStatus.OPTIMAL) {
        val xVal = solver.value(x)
        val yVal = solver.value(y)
        val zVal = solver.value(z)
        println("(x, y, z)=($xVal, $yVal, $zVal)")

        val a11Val = solver.value(a11_var)
        val a12Val = solver.value(a12_var)
        val a13Val = solver.value(a13_var)
        val a21Val = solver.value(a21_var)
        val a23Val = solver.value(a23_var)
        val a31Val = solver.value(a31_var)
        val a32Val = solver.value(a32_var)
        val a33Val = solver.value(a33_var)
        println("$a11Val \t $a12Val \t $a13Val")
        println("$a21Val \t $xVal \t $a23Val")
        println("$a31Val \t $a32Val \t $a33Val")
    } else {
        println(status)
        println(solver.solutionInfo)
    }

}

Output

(x, y, z)=(5, 1, 3)
6    1   8
7    5   3
2    9   4
Reasons:
  • Blacklisted phrase (1): :(
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Anita

79431602

Date: 2025-02-12 00:16:43
Score: 2.5
Natty:
Report link

Format the cell as "Custom", choosing 0 from the drop down menu, then click beside the 0 in the Type field and add three zeros. Click ok.

You will now have a 4 digit number. If you enter 1 in this cell, 0001 will appear.

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

79431592

Date: 2025-02-12 00:05:41
Score: 1
Natty:
Report link

It's a little contrived, but what we do is to utilize the '@Library' line at the start of some pipelines to point to a known 'dead' commit. It should load as a valid library as long as it has a 'vars' folder in there (but can otherwise be empty).

This of course presumes that you have the ability to maintain a 'feature branch' in the offending library repo, which might be a bridge too far for the admins.

I will throw out there that my preferred approach would be to work with the company/admins to improve the library for all. Perhaps only a small subset of the utilities are truly 'global' for implicit load and the rest can be broken out to one or more explicit load libraries, for instance.

I'll also say here on the topic of long load times: I did stumble upon a newbie mistake I made here where I was trying to cram too many different types of things in one repo. This resulted in me utilizing the convenient 'library is in subfolder' option in the library's configuration to (I thought) ignore the rest of the folders in the repo containing the library. Turns out in fact this 'subfolder' library configuration ended up cloning the whole repository every time it was loaded :(.

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

79431588

Date: 2025-02-12 00:02:41
Score: 2.5
Natty:
Report link

cube /[follow]:/mouse] counter.per 10/fps/sqare100.fpr/50fpr.:set.hollow]>send.google/cm:launch/when/searched/: speed/;runner.com send info to/[jadedpossum66.gmail.com}//tab'.comthrough/tabenter link description here

Reasons:
  • Blacklisted phrase (0.5): enter link description here
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Abel Hendrix

79431587

Date: 2025-02-12 00:02:40
Score: 4.5
Natty: 4
Report link

How to make top level into another window

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How to
  • Low reputation (1):
Posted by: Usain Bolt

79431583

Date: 2025-02-11 23:58:39
Score: 2.5
Natty:
Report link

instalei o poetry sem problemas e agora qualquer comando que eu dou ele aparece essa mensagem

Could not parse version constraint: poetry

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: diário da duda

79431579

Date: 2025-02-11 23:53:38
Score: 3.5
Natty:
Report link

For those who have a similar problem that I have;

I recently added a new column (Col_A) to a table and then a new index using the new column and a previously existing column ( indx=Col_A,Col_B).

I started to get "No more data to read from socket error" when I try to select a third column directly or via group function while using values corresponding with the new index:

select Col_C from [table] where Col_A= [value1] and Col_B=[value2]

select distinct Col_C from [table] where Col_A= [value1] and Col_B=[value2]

select count(*) from [table] where Col_A= [value1] and Col_B=[value2] and Col_C =[value3]

All these variations caused the aforementioned error and forces me to reconnect my editor to the oracle db.

it was fixed when I added Col_C into the index or created a new index which includes Col_A,Col_B and Col_C.

So this is not a definitive solution but an example that indicates a problem with index creation/update process of the oracle db and the effects it might have on constructing select sentences. This might provide your DB Admin a more precise starting point in solving the issue.

I hope this might be of help to someone who is having a similar problem as I am. Cheers.

Reasons:
  • Blacklisted phrase (1): Cheers
  • Long answer (-1):
  • No code block (0.5):
  • Me too answer (2.5): have a similar problem
  • Me too answer (0): having a similar problem
  • Low reputation (0.5):
Posted by: AntiqTech

79431577

Date: 2025-02-11 23:53:38
Score: 2.5
Natty:
Report link

This happened to me one time when I had to migrate to a new server my Django project, and forgot to collect the "static" files.

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

79431567

Date: 2025-02-11 23:46:37
Score: 3
Natty:
Report link

Solved by registering these services in both Client's and Server's Program.cs.

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

79431558

Date: 2025-02-11 23:41:36
Score: 2
Natty:
Report link

I have recently implemented this feature by following the steps outlined below.

Please ensure that the following permissions are enabled in your B2C application.

1- User-PasswordProfile.ReadWrite.All

2- UserAuthenticationMethod.ReadWrite.All

Generate a token by making a request to the endpoint provided below in order to interact with the Graph API. Graph API Token Endpoint

Call the endpoint provided below to update the user data. Password Reset Endpoint with headers

The request body should include the new password in the "Password" field. Password Reset Endpoints with body

For additional guidance, please refer to the resources provided below.

https://learn.microsoft.com/en-us/graph/api/user-update?view=graph-rest-1.0&tabs=http

https://learn.microsoft.com/en-us/graph/api/resources/passwordprofile?view=graph-rest-1.0

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Muhammad Zeeshan

79431548

Date: 2025-02-11 23:30:34
Score: 2
Natty:
Report link

Check: https://pgmooncake.com/

is an OSS postgres extension that implements native columnstore in postgres, targeting advanced analytics, with performance on par with specialized databases like clickhouse.

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

79431541

Date: 2025-02-11 23:23:33
Score: 1
Natty:
Report link

May be late but an answer, for anyone else that end up here.

The value is in microseconds and the year y shifted -369 years.

Your original value -> 13258124587568466
-> 2390-02-18 12:23:07.568466
-> 2021-02-18 12:23:07.568466 <- ¿your actual datetime?

    timestamp_microseconds = 13383785473626492
    timestamp_seconds = timestamp_microseconds / 1_000_000
    var date = new Date(0);
    date.setUTCSeconds(timestamp_seconds);
    console.log(date.toString());

    // 369 - yr gap 
    date_delta_years = 369
    date.setFullYear(date.getFullYear()-date_delta_years)
    console.log(date.toString());

    // 2394-02-11 22:11:13.626492
    // 2025-02-11 22:11:13.626492 <- When I created the cookie log to check.

    // Your original value -> 13258124587568466
    // 2390-02-18 12:23:07.568466
    // 2021-02-18 12:23:07.568466 <- Probably your actual datetime.

Reasons:
  • Blacklisted phrase (1): ¿
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user29605080

79431522

Date: 2025-02-11 23:09:30
Score: 1.5
Natty:
Report link

Is it possible? Yes. However, putting aside the fact that copying a binary poses a security risk, you should not be storing anything inside the /tmp/ folder. As the name suggests, it is a temporary folder and is not persistent storage. It gets cleared on a reboot

So, the potential workarounds are:

  1. Containerize the function app. You can create a custom container and deploy your function inside that, giving you full control over the runtime environment

  2. Continue to copy the binary to /tmp/

  3. Use a premium or dedicated plan instead of consumption plan. The filesystem for these plans are writable and persistent.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is it
  • Low reputation (0.5):
Posted by: Monkey D Luffy

79431517

Date: 2025-02-11 23:04:29
Score: 2
Natty:
Report link

I fixed the problem by removing the volume app_dist!

Reasons:
  • Whitelisted phrase (-2): I fixed
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sun Water

79431514

Date: 2025-02-11 23:02:29
Score: 0.5
Natty:
Report link

Updated @Alon's answer to handle nested modals:

from typing import Any, Type, Optional
from enum import Enum

from pydantic import BaseModel, Field, create_model


def json_schema_to_base_model(schema: dict[str, Any]) -> Type[BaseModel]:
    type_mapping: dict[str, type] = {
        "string": str,
        "integer": int,
        "number": float,
        "boolean": bool,
        "array": list,
        "object": dict,
    }

    properties = schema.get("properties", {})
    required_fields = schema.get("required", [])
    model_fields = {}

    def process_field(field_name: str, field_props: dict[str, Any]) -> tuple:
        """Recursively processes a field and returns its type and Field instance."""
        json_type = field_props.get("type", "string")
        enum_values = field_props.get("enum")

        # Handle Enums
        if enum_values:
            enum_name: str = f"{field_name.capitalize()}Enum"
            field_type = Enum(enum_name, {v: v for v in enum_values})
        # Handle Nested Objects
        elif json_type == "object" and "properties" in field_props:
            field_type = json_schema_to_base_model(
                field_props
            )  # Recursively create submodel
        # Handle Arrays with Nested Objects
        elif json_type == "array" and "items" in field_props:
            item_props = field_props["items"]
            if item_props.get("type") == "object":
                item_type: type[BaseModel] = json_schema_to_base_model(item_props)
            else:
                item_type: type = type_mapping.get(item_props.get("type"), Any)
            field_type = list[item_type]
        else:
            field_type = type_mapping.get(json_type, Any)

        # Handle default values and optionality
        default_value = field_props.get("default", ...)
        nullable = field_props.get("nullable", False)
        description = field_props.get("title", "")

        if nullable:
            field_type = Optional[field_type]

        if field_name not in required_fields:
            default_value = field_props.get("default", None)

        return field_type, Field(default_value, description=description)

    # Process each field
    for field_name, field_props in properties.items():
        model_fields[field_name] = process_field(field_name, field_props)

    return create_model(schema.get("title", "DynamicModel"), **model_fields)

Example Schema

schema = {
    "title": "User",
    "type": "object",
    "properties": {
        "name": {"type": "string"},
        "age": {"type": "integer"},
        "is_active": {"type": "boolean"},
        "address": {
            "type": "object",
            "properties": {
                "street": {"type": "string"},
                "city": {"type": "string"},
                "zipcode": {"type": "integer"},
            },
        },
        "roles": {
            "type": "array",
            "items": {
                "type": "string",
                "enum": ["admin", "user", "guest"]
            }
        }
    },
    "required": ["name", "age"]
}

Generate the Pydantic model

DynamicModel = json_schema_to_base_model(schema)

Example usage

print(DynamicModel.schema_json(indent=2))
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Alon's
  • Low reputation (1):
Posted by: Corey McCrea

79431502

Date: 2025-02-11 22:53:27
Score: 1
Natty:
Report link

Yes! You can use the API function (in Python) gmsh.model.getClosestPoint(dim, tag, coord)

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: saustinp

79431497

Date: 2025-02-11 22:51:26
Score: 11
Natty: 8.5
Report link

What if I want 2.3913 -> 2.5

4.6667 -> 5.0

2.11 -> 2.5

0.01 - > 0.5

Can someone help me?

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Can someone help me
  • RegEx Blacklisted phrase (1): I want
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Starts with a question (0.5): What if I
  • Low reputation (1):
Posted by: Bala

79431491

Date: 2025-02-11 22:48:25
Score: 0.5
Natty:
Report link

The accepted answer helps the OP in a specific case.
To answer a question defined in title and tags, that is to find a last modified date of a file by its URI using JavaScript, we can use an example from MDN:

function getHeaderTime() {
  console.log(this.getResponseHeader("Last-Modified")); // A valid GMTString date or null
}

const req = new XMLHttpRequest();
req.open(
  "HEAD", // use HEAD when you only need the headers
  "your-page.html",
);
req.onload = getHeaderTime;
req.send();

https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest_API/Using_XMLHttpRequest#get_last_modified_date

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

79431479

Date: 2025-02-11 22:40:24
Score: 1
Natty:
Report link

https://learn.microsoft.com/en-us/visualstudio/ide/how-to-save-and-open-files-with-encoding?view=vs-2022#set-the-default-encoding

Starting in Visual Studio 2022 version 17.13 Preview 1, you can set the default encoding for saving files.

To set the default, choose Tools > Options > Environment, Documents. Next, select Save files with the following encoding, and then select the encoding you want as the default.

visual studio options window - showing save files with a specific encoding setting

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

79431472

Date: 2025-02-11 22:35:23
Score: 3.5
Natty:
Report link

This is resolved. Apparently this is a Microsoft limitation where the SQL Server certificate is not trusted with On-Premises Data Gateways: https://learn.microsoft.com/en-us/power-query/connectors/sql-server#limitations

I added my server to the "SqlTrustedServers" configuration in the Gateway config file and it resolved my issue. Gateway Config

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

79431468

Date: 2025-02-11 22:31:23
Score: 1
Natty:
Report link

I was stuck in this situation and found the following solution ..

  1. In git terminal change the case of the file locally using the 'mv' command

    mv MYfileNAME.abc MyFileName.abc

  2. Commit the change but don't push

    git commit -m "Changed case of file MyFileName.abc"

  3. Pull again

    git pull

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

79431461

Date: 2025-02-11 22:27:22
Score: 3.5
Natty:
Report link

I think FireDucks is worth giving a consideration for large datasets. Please take a look at this blog.

Reasons:
  • Blacklisted phrase (1): this blog
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Gloryson

79431446

Date: 2025-02-11 22:15:20
Score: 1
Natty:
Report link

For anyone else wondering, here is the Tools > References library you need to add to use WinHTTP in VBA.

Microsoft WinHTTP Services, version 5.1 
C:\Windows\system32\winhttpcom.dll
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jedi-X

79431442

Date: 2025-02-11 22:12:19
Score: 1.5
Natty:
Report link

After making sure that I have correct roles for my account, instead of gcloud auth login, I needed to do:

gcloud auth application-default login
Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Melih

79431436

Date: 2025-02-11 22:10:18
Score: 1.5
Natty:
Report link

After making sure that I have correct roles for my account, instead of gcloud auth login, I needed to do:

gcloud auth application-default login
Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Melih

79431427

Date: 2025-02-11 22:05:17
Score: 3.5
Natty:
Report link

Trigger the event emitter in AfterViewInit().

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

79431419

Date: 2025-02-11 22:00:16
Score: 2
Natty:
Report link

Thanks to Gerry Schmitz I was able to load content outside of the dialog's content area using scaling.

double size = 1.05;

ScaleTransform adjustsize = new ScaleTransform
{
    ScaleX = size,
    ScaleY = size,
};

scrollViewer.RenderTransform = adjustsize;
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Stack Overflow User

79431417

Date: 2025-02-11 21:59:16
Score: 1.5
Natty:
Report link

I had a similar problem when using ShadowJar. What fixed it for me was adding the code below to my build.gradle

shadowJar {
        mergeServiceFiles()
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Roberto Morais Jr.

79431413

Date: 2025-02-11 21:57:15
Score: 0.5
Natty:
Report link

As of February 2025, using Python 3.13.2, I have a python implementation of a combination subset of C# and Java's StringBuilder classes in a GitHub repo that implements some but not all of those language's StringBuilder APIs.

Study the main program and/or the README to see how it works.

The class uses an underlying python list[str].

Reasons:
  • No code block (0.5):
Posted by: IntelligenceGuidedByExperience

79431396

Date: 2025-02-11 21:49:14
Score: 1
Natty:
Report link

I found this on the internet (Yes, I know it's Java but I think it's the same concept that can be applied with C# too):

"Integers are numbers that have no fractional part. In Java, integers are represented in a 32-bit space. Furthermore, they are represented in 2's complement binary form, which means that one bit of these 32 is a sign bit. So, there are 231-1 possible values. So, there is no integer greater than the number 231-1 in Java."

Link: doc Java (Sorry I found a link in Italian)

So according to this concept, when you try to multiply by -1, the result should be 2147483648, but this value cannot be represented because it exceeds the maximum allowed value, consequently it is ignored leaving the usual result.

Finally I found for C# Math.negateExact();

it is practically like Java:

Link: doc Microsoft

I hope I helped you.

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

79431390

Date: 2025-02-11 21:46:13
Score: 1.5
Natty:
Report link

No, it is not possible for the time being to use a custom domain. The only alternative is to use a url shortening service, such as Bitly or Rebrandly, which allow custom domains, then you can embed the original Google Form URL.

User will see the custom-domain url and then be redirected to the original Google url upon clicking.

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

79431389

Date: 2025-02-11 21:46:13
Score: 1
Natty:
Report link

The answer is:

def filter_sort_explicit(df, c, l):
    """
    a function that filters a [df] on [c]olumn by explicitly specificying the order of the values (in that column) in a [list]
    """
    return df.filter(pl.col(c).is_in(l)).sort(pl.col(c).cast(pl.Enum(l)))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: likethevegetable

79431374

Date: 2025-02-11 21:40:12
Score: 1
Natty:
Report link

Please make sure the element is visible.

In Facebook\WebDriver the 'see' command actually checks visibility.

You may want to scroll to the element first.

$I->scrollTo($yourElementSelector);

Upside to the PhpBrowser is that it is quick.

On the other hand the Facebook webdriver support JavaScript.

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

79431373

Date: 2025-02-11 21:40:12
Score: 1
Natty:
Report link

You may have to make multiple requests to textract to get the entire result. The response from textract may have a NextToken entry. You have to use your original job_id and the NextToken to get the next set of results. And you need to keep repeating that until there is no NextToken.

Have a look at the getJobResults function here:

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

79431372

Date: 2025-02-11 21:39:11
Score: 0.5
Natty:
Report link
this might the answer:

    WITH json_data AS (
    SELECT PARSE_JSON('{
        "docId": 123,
        "version": 1,
        "docName": "Test doc",
        "attributtes": [
            {"key": "eff_date", "value": ["22-09-2024", "12-08-2022"]},
            {"key": "renew_flag", "value": ["Y"]}
        ],
        "created_by": "CCVVGG"
    }') AS data
)
SELECT 
    data:docId::INT AS docId,
    data:version::INT AS version,
    data:docName::STRING AS docName,
    data:created_by::STRING AS created_by,
    eff_dates.value::STRING AS eff_date,  -- Flatten eff_date values
    renew_flag.value::STRING AS renew_flag
FROM json_data,
LATERAL FLATTEN(input => data:attributtes) attr
LEFT JOIN LATERAL FLATTEN(input => attr.value:value) eff_dates ON attr.value:key::STRING = 'eff_date'
LEFT JOIN LATERAL FLATTEN(input => attr.value:value) renew_flag ON attr.value:key::STRING = 'renew_flag'
WHERE attr.value:key::STRING IN ('eff_date', 'renew_flag');
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Roshan Sharma

79431371

Date: 2025-02-11 21:39:11
Score: 1
Natty:
Report link

This is latest recommended approach from GCP docs here: https://cloud.google.com/run/docs/authenticating/public#terraform

resource "google_cloud_run_service_iam_binding" "default" {
  location = google_cloud_run_v2_service.default.location
  service  = google_cloud_run_v2_service.default.name
  role     = "roles/run.invoker"
  members = [
    "allUsers"
  ]
}
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
Posted by: stefan2718

79431361

Date: 2025-02-11 21:32:09
Score: 4
Natty: 5
Report link

Thank you! Just what I was looking for in trying to create a hierarchy check

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user3788592

79431352

Date: 2025-02-11 21:30:08
Score: 2.5
Natty:
Report link

In my case I had the x-amazon-apigateway-integration object sitting outside the method object. This doesn't break the OpenAPI spec but does break the CDK deployment. Simple typo.... a few days lost.

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

79431348

Date: 2025-02-11 21:28:07
Score: 4
Natty: 6.5
Report link

!curl -fsSL https://ollama.com/install.sh | sh works for me, thanks!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Whitelisted phrase (-1): works for me
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user616701

79431346

Date: 2025-02-11 21:27:06
Score: 5.5
Natty:
Report link

I have the same issue and got fixed after install XQuartz from https://www.xquartz.org. After installation, restart your Mac. And then

install.packages("tcltk")

install.packages("plot3D")

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (0.5):
Posted by: SummerXia

79431345

Date: 2025-02-11 21:27:06
Score: 1
Natty:
Report link

There is a prosibility to let the system throw an exception in this case:

checked(int.MinValue * -1)

will throw the exception
instead of:

unchecked(int.MinValue * -1)

will give the result of -2147483648 and no exception.
See also the link to learn.microsoft given in the answer of Rand-Random

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

79431342

Date: 2025-02-11 21:26:06
Score: 1
Natty:
Report link

By default the url that gitlab generates is on http protocol you need to change that to https and it should work.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: mekbib.awoke

79431340

Date: 2025-02-11 21:24:06
Score: 0.5
Natty:
Report link

This may not be the solution for everyone but the answer comes down to how cross compilation and linking works. What I am attempting to do here is create a static binary, there are two commands that can be used:

RUSTFLAGS="-Ctarget-feature=-crt-static" - dynamic linking of the c runtime.

RUSTFLAGS="-Ctarget-feature=+crt-static" - fully static compilation of C runtime.

There is also a separate issue here, the use of openssl-dev - this requires glibc to compile by default, you need to set this up to be compiled statically. I haven't got to the bottom of this yet but the three solutions I have found (2 work, 1 I haven't tried yet).

  1. Copy all certs and openssl object files to the scratch container - works.
  2. Compile and use static file in openssl OS distro - not tried.
  3. Use Cargo vendored openssl implementation

I am planning on writing a medium article where I added all my problems and findings, just think it might help others when I post this.

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

79431334

Date: 2025-02-11 21:21:04
Score: 5
Natty:
Report link

check out this website

enter link description here

Reasons:
  • Blacklisted phrase (0.5): enter link description here
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ifiokabasi Emmanuel

79431331

Date: 2025-02-11 21:20:04
Score: 1
Natty:
Report link

I had exactly the same error when trying to install cocoapods using the official instructions.
Trying to install ruby via brew wasn't much use either. What worked for me was brew install cocoapods

Reasons:
  • Blacklisted phrase (0.5): exactly the same error
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: IanF

79431323

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

I think this has to do with children margin and padding, make sure to specify margins and paddings, there is a great extension to show you borders so that you can see which one is pushing others or transforming them, the tool name : CSS outline you can fine i in google extensions.

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

79431312

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

With plm 2.6-5, both (balanced and unbalanced data) work on my end.

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

79431302

Date: 2025-02-11 21:07:01
Score: 0.5
Natty:
Report link

The implementation that Spring builds upon doesn't expose receiving pings to user code and just automatically responds with a pong when receiving a ping.
It's the same as this question for JSR 356: Receiving pings with Java EE Websocket API

However... looking at this Chrome bug, it seems that browsers don't necessarily send ping requests.
So you could send pings from the server, implement something equivalent in JS or just rely on the client reconnecting when the connection drops.

There's some discussion here: Sending websocket ping/pong frame from browser

Reasons:
  • No code block (0.5):
Posted by: scrhartley

79431301

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

Update - Mongoose Performance Issue and Fix

After upgrading Mongoose from version 6.12.9 to 8.10.0, queries executed inside AWS Lambda using the Serverless Framework became four times slower. However, the same queries remained fast when executed outside the framework (e.g., locally, in a manually deployed Lambda, or using the native MongoDB driver).

Extensive debugging revealed that the issue was not caused by Mongoose itself but rather by how it was bundled inside the Lambda function when using esbuild. Moving Mongoose to an AWS Lambda Layer restored optimal query performance. The fix was to explicitly exclude mongoose and mongodb in the esbuild configuration (exclude: ["mongoose", "mongodb"]). This ensured that the Lambda function used the version from the Lambda Layer instead of bundling its own copy, which resolved the performance issue.

Possible Cause

My theory is that this might be due to dynamic imports within the Mongoose module, which were affected by esbuild's tree shaking when packaging the Lambda function. Could this be the case? If so, is there a way to overcome this so Mongoose doese not need to be moved to an AWS Lambda Layer?

Alternative Solutions Tried

Upgrading esbuild and serverless-esbuild and including mongoose and mongodb in the esbuild bundle did not resolve the issue:

"esbuild": "^0.24.2"

"serverless-esbuild": "^1.54.6"

So far now, if anyone is facing this issue, simply move Mongoose to an AWS Lambda Layer.

I will continue to update if Mongoose replies with a fix.

Reasons:
  • Blacklisted phrase (1): is there a way
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: totomers

79431300

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

You can use "injectedJavaScript" prop available which would allow you to run block of javascript to manipulate website.

https://github.com/react-native-webview/react-native-webview/blob/master/docs/Guide.md#communicating-between-js-and-native

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: 404nnotfoundd

79431295

Date: 2025-02-11 21:04:00
Score: 11.5
Natty: 8.5
Report link

@adam Were you able to find a solution for this?

Reasons:
  • RegEx Blacklisted phrase (1): Were you able to find a solution
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @adam
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Normall

79431289

Date: 2025-02-11 20:54:58
Score: 2
Natty:
Report link

My use of quoting quotes was causing the issue. If I change

test='"x"'

to instead be

test='x'

Then the argument accepts the variable.

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

79431288

Date: 2025-02-11 20:54:58
Score: 1.5
Natty:
Report link

Is SELECT ... INTO #temptable the only fast operation in SQL Server?

No.

Is there a way to make the UPDATE as fast as SELECT INTO?

No.

Reasons:
  • Blacklisted phrase (1): Is there a way
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: T N

79431277

Date: 2025-02-11 20:48:56
Score: 3.5
Natty:
Report link

Thats it u need add Databricks as application exemple

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

79431273

Date: 2025-02-11 20:47:56
Score: 1.5
Natty:
Report link

I had a similar issue and was able to resolve it by checking the network configuration in Docker-Compose. Make sure Neo4j is running in the correct network and accessible from other containers.

A useful approach is to set NEO4J_URI as bolt://neo4j:7687 if “neo4j” is the service name in your docker-compose.yml. Also, checking the container logs (docker logs ) can provide more insights into potential errors.

I documented a similar case here: https://ollama.com/IBLAG/Certification

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

79431269

Date: 2025-02-11 20:45:55
Score: 3
Natty:
Report link

For those of you having the same issue with "node:fs", here is a next.config.(m)js that works :

const nextConfig = {
  // Your config
  webpack: (config, { nextRuntime }) => {
    if (nextRuntime !== "nodejs") {
      const { IgnorePlugin } = require("webpack");
      const ignoreNode = new IgnorePlugin({ resourceRegExp: /node:.*/ });
      config.plugins.push(ignoreNode);
    }
    return config;
  },
};

module.exports = nextConfig;
Reasons:
  • Has code block (-0.5):
  • Me too answer (2.5): having the same issue
  • Low reputation (1):
Posted by: Thomas Heniart

79431263

Date: 2025-02-11 20:43:54
Score: 5
Natty:
Report link

On Similar note, in a mat-container if we have a menu and on click anywhere inside the menu the menu closes. how to address such menu's?

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

79431259

Date: 2025-02-11 20:43:54
Score: 1
Natty:
Report link
Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Lalit Patel

79431258

Date: 2025-02-11 20:41:53
Score: 1
Natty:
Report link

Also, the writers of all these ARM documents are experts, so they occasionally don't take the time to define and explain the most simple basic things. It's part of the human condition that once you become an expert at something, you forget what it was like to be a novice, so you can't remember that novices need to know the "novice" things first. Expert teachers think differently; they remember what it was/is like to "not know," so they explain things from the ground up.

I ran into the same problem reading the "ARM® Cortex®-R Series Version: 1.0 Programmer’s Guide." It's crazy, but yeah, they don't explain these terms either in that document.

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

79431249

Date: 2025-02-11 20:36:52
Score: 1.5
Natty:
Report link

each service should have its own dockerfile. This could be contributing to or responsible for the problem. The command "npm start" never runs because that CMD directive is overwritten by the final CMD directive, so it never runs. So although it all builds successfully, both containers in this configuration are running your dotnet application and the angular service has port 4200 exposed but nothing is running on that port in that container.

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

79431248

Date: 2025-02-11 20:36:52
Score: 1
Natty:
Report link

You can also add your ajax action name in the filter "wcml_multi_currency_ajax_actions".

add_filter('wcml_multi_currency_ajax_actions', function($actions) {
    $actions[] = 'get_wc_products';
     return $actions;
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Iván Cuella

79431246

Date: 2025-02-11 20:33:52
Score: 2.5
Natty:
Report link

When you kill the app, Xcode will disconnect from your app and stop catching logs, performances data and anything. Even you reopen the app from your phone or simulator that won’t reconnect to Xcode. The only way to reconnect to your Xcode is rebuild and run the app again(cmd + r). But the lifecycle also restarts.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When you
  • Low reputation (1):
Posted by: Tyler

79431245

Date: 2025-02-11 20:32:51
Score: 2
Natty:
Report link

So I reached out to PayPal and they are performing maintenance on their servers. No concerns from them about it being an old system, no suggestions that I should upgrade. So completely on their end and the upgrades should take a few weeks then back to normal. Also provided an alternate IP to access that would not have a problem. (and it works perfectly)

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

79431235

Date: 2025-02-11 20:30:51
Score: 0.5
Natty:
Report link
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Lalit Patel

79431228

Date: 2025-02-11 20:28:49
Score: 4
Natty: 4
Report link

Check here : https://cloud.google.com/docs/authentication/set-up-adc-local-dev-environment it resolved my local issue.

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

79431226

Date: 2025-02-11 20:27:48
Score: 1
Natty:
Report link

I found out the issue was adding the big block of middleware to the bootstrap/app.php file. I think a lot of them are just added by default now. I did have to added my own middleware like this though and everything worked like usual again

        $middleware->api(append: [
            'consumer-login' => \App\Http\Middleware\CanFrontendLogin::class,
            'admin-login' => \App\Http\Middleware\CanAdminLogin::class
        ]);
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: jordan dolan

79431217

Date: 2025-02-11 20:17:46
Score: 2.5
Natty:
Report link

Normally when an app with vite goes blank, it means there's an error on the client side,look for the console on the browser! i can't see any errors on your snippets, it might be inside other components!

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

79431210

Date: 2025-02-11 20:14:46
Score: 1
Natty:
Report link

Deleting the config file

.spyder-py3

From the system and restarting Spyder worked for me. I did try restarting kernel but again it kept looping around with IOStream.flush timeout error again.

if its mac this file should be in ~/Users/user/.config/.spyder-py3 or just as ~/Users/user/.spyder-py3

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

79431209

Date: 2025-02-11 20:13:45
Score: 2
Natty:
Report link

I added rabbitmq.conf file with these configs:

max_message_size = 536870912
frame_max = 536870912

and it can now accept larger messages.

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

79431207

Date: 2025-02-11 20:11:45
Score: 3
Natty:
Report link

You can download all changesets from planet.osm.org. The file https://planet.openstreetmap.org/planet/changesets-latest.osm.bz2 is updated once a week, then you can filter the changeset using the osmium-tool, e.g. https://github.com/osmcode/osmium-tool/blob/master/man/osmium-changeset-filter.md

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Timothy Dalton

79431206

Date: 2025-02-11 20:11:45
Score: 3
Natty:
Report link

just reply the first template message you sent. Then you're able to send other message types.

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

79431202

Date: 2025-02-11 20:09:44
Score: 4.5
Natty:
Report link

@s-mabdurrazak I followed this approach, but since i'm using officer to create a docx, it seems it's not working as expected. I ended up with an htm filem I ignore the reasons

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @s-mabdurrazak
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Mikael

79431200

Date: 2025-02-11 20:08:43
Score: 4.5
Natty: 4
Report link

I had this problem too, did you manage to find out more details about it?

Public Sub save_book()
    ' fasctinating.. cannot use .protect methods when
    ' using thisworkbook.save
    Application.SendKeys "^s", True
    DoEvents
End Sub

The above code will press keyboard short-cut CTRL+S. DoEvents allows the operating system to recognise the save before moving to the next part of your VBA code.

Not sure if excel allows you to change keyboard short-cuts though!

Reasons:
  • RegEx Blacklisted phrase (3): did you manage to find out
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Nathan Bachetti

79431193

Date: 2025-02-11 20:07:43
Score: 3
Natty:
Report link

What helped me the most debugging this was to enable git tracing

in cmd line set GIT_TRACE=1

in powershell or pwsh $env:GIT-TRACE=1

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Starts with a question (0.5): What help
  • Low reputation (1):
Posted by: TheBigBear

79431186

Date: 2025-02-11 20:05:42
Score: 1
Natty:
Report link

quote from https://learn.microsoft.com/en-us/ef/core/performance/advanced-performance-topics?tabs=with-di%2Cexpression-api-with-constant

When EF receives a LINQ query tree for execution, it must first "compile" that tree, e.g. produce SQL from it. Because this task is a heavy process, EF caches queries by the query tree shape, so that queries with the same structure reuse internally-cached compilation outputs. This caching ensures that executing the same LINQ query multiple times is very fast, even if parameter values differ.

So, in short, yes.

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

79431184

Date: 2025-02-11 20:04:42
Score: 1
Natty:
Report link

I was able to fix this by correcting the file extension on my favicon link. I had favicon.svg in /static, but my app.html still had

<link rel="icon" href="/%sveltekit.assets%/favicon.png" />
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dave Nash

79431175

Date: 2025-02-11 19:56:40
Score: 2
Natty:
Report link

recoil.js - Uncaught TypeError: Cannot destructure property 'ReactCurrentDispatcher' of 'import_react.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' as it is undefined. at CountRenderer (App.jsx:857:17) CountRenderer @ App.jsx:857

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