79211858

Date: 2024-11-21 15:32:36
Score: 0.5
Natty:
Report link

This seems to be the best solution, which will probably also work on MacOs and Linux, assuming environment variable SSH_AUTH_SOCK is set there:

  agent: process.env.SSH_AUTH_SOCK ?? "\\\\.\\pipe\\openssh-ssh-agent",
  agentForward: true,
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Sander_P

79211857

Date: 2024-11-21 15:32:36
Score: 2
Natty:
Report link

this also happened to me when stated study flutter with Mac OS and Android Studio. the reason is keymap for completion on IDE conflict to Mac OS. You should change below keymap with other one on IDE or disable it on Mac OS.

Preferences/Setting->Keymap->Code Completion->Basic

keymap

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

79211849

Date: 2024-11-21 15:30:36
Score: 1.5
Natty:
Report link

Please, for the love of everything sacred never use a button as a link.

They are semantically wrong. They don't allow right click and open in a new tab. They confuse screen readers. They are terrible.

It is easy enough to style a link like a button if that is what you are trying to achieve.

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

79211846

Date: 2024-11-21 15:29:36
Score: 4.5
Natty:
Report link

Before providing any suggestions at least make sure that they are correct. I have seen multiple posts suggesting to use email report extension. But this does not work. There is no option to provide the FROM EMAIL. so it does not work. Stop pasting useless answers and wasting people's time.

Reasons:
  • RegEx Blacklisted phrase (2): any suggestions
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ashish bhatt

79211844

Date: 2024-11-21 15:28:35
Score: 2
Natty:
Report link

IronPythonSetup


import System and

import System.Runtime

worked for me.

Abcdefg

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

79211837

Date: 2024-11-21 15:27:35
Score: 3
Natty:
Report link

Uninstalled ComplexUpset (CRAN install) and reinstalled from GitHub - issue resolved and package now works.

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

79211835

Date: 2024-11-21 15:26:34
Score: 0.5
Natty:
Report link

Have a look at https://docs.pydantic.dev/latest/concepts/pydantic_settings/#other-settings-source

It allows you to customize your config sources. For env > yaml:

from typing import Tuple, Type

from pydantic import BaseModel

from pydantic_settings import (
    BaseSettings,
    PydanticBaseSettingsSource,
    SettingsConfigDict,
    YamlConfigSettingsSource,
)


class Settings(BaseSettings):
    foo: int
    bar: str

    model_config = SettingsConfigDict(yaml_file='config.yml')

    @classmethod
    def settings_customise_sources(
        cls,
        settings_cls: Type[BaseSettings],
        init_settings: PydanticBaseSettingsSource,
        env_settings: PydanticBaseSettingsSource,
        dotenv_settings: PydanticBaseSettingsSource,
        file_secret_settings: PydanticBaseSettingsSource,
    ) -> Tuple[PydanticBaseSettingsSource, ...]:
        return (init_settings, env_settings, YamlConfigSettingsSource(settings_cls),)
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Nokados

79211830

Date: 2024-11-21 15:25:34
Score: 1.5
Natty:
Report link

The official documentation of Simple Triggers shows that there are no available trigger specifically for Google Drive.

Here is a screenshot showing the Availability type of triggers on the documentation:

documentation


References

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

79211829

Date: 2024-11-21 15:25:34
Score: 2
Natty:
Report link

Any indexed data structure can be used to store the elements. Unlike the LRU, the MRU does not need to hold the history. Keep an MRU variable with an index of the last used cache entry. Update it on hit and on replacement. Pick the MRU element when need to replace an element.

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

79211827

Date: 2024-11-21 15:24:34
Score: 0.5
Natty:
Report link

It appears that you are experiencing resource contention issues on your Databricks cluster, which is affecting the performance of your pandas aggregations. This issue is likely due to the way Databricks allocates compute resources among users and tasks. When another user is running intensive Spark I/O operations, it can consume a significant portion of the cluster's resources, leaving fewer resources available for your pandas operations. This can lead to extended run times and even cause the kernel to die and the notebook to detach.

Here are a few suggestions to mitigate this issue:

Resource Allocation and Quotas: Ensure that your cluster is configured with appropriate resource quotas and limits. You can request more quotas for your cluster or namespace if needed. Refer to the Tuning Pod Resources document for guidance on how to request and tune resources.

Cluster Configuration: Consider configuring your cluster to have dedicated resources for different types of workloads. For example, you can set up separate clusters for Spark and pandas operations to avoid resource contention.

Job Scheduling: Schedule your pandas aggregations to run during off-peak hours when the cluster is less likely to be under heavy load from other users.1

Monitoring and Optimization: Use the Container Resource Allocation Tuning dashboard to monitor CPU and memory usage. Adjust the resource requests and limits based on the observed usage patterns to ensure that your application has the necessary resources to perform efficiently.1

Cluster Scaling: If your workload requires more resources than currently available, consider scaling up your cluster by adding more nodes or increasing the size of existing nodes.

Alternative Approaches: If rewriting the code to leverage PySpark is not feasible due to overhead, you might explore other distributed computing frameworks that are more lightweight and better suited for smaller datasets.

By implementing these strategies, you can improve the performance and reliability of your pandas aggregations on Databricks, even when other users are running intensive operations.

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

79211824

Date: 2024-11-21 15:23:33
Score: 6 🚩
Natty:
Report link

Do you know how to increase with not adjustable option - Applied account-level quota value

Reasons:
  • RegEx Blacklisted phrase (2.5): Do you know how
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Joseph

79211820

Date: 2024-11-21 15:22:32
Score: 1.5
Natty:
Report link

Preventing SQL injection in Python with MySQL is essential for maintaining the security of your application. Here are the best practices to mitigate SQL injection risks:

A) Use Parameterized Queries Parameterized queries ensure that user input is treated as data, not executable code. Use a library like mysql-connector or PyMySQL for this purpose.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: SANAY U J

79211802

Date: 2024-11-21 15:17:31
Score: 2.5
Natty:
Report link

SELECT DISTINCT users.name, users.email From users jOIN orders ON users.id = orders.user_id Where orders.status = 'completed';

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

79211792

Date: 2024-11-21 15:15:30
Score: 2
Natty:
Report link

For those who wonder how the ForEach loop needs to be set up, you need a temp variable and a final variable.

full

Make sure that the ForEach is set to sequential or the content of your variables will be totally random!

foreach

This is how I set up my first (final) variable. In my case I used a semi colon as a separator since my items are email addresses.

final variable

The second variable is the temp variable that will temporarily keep the value until the next iteration, as because ADF just doesn't allow a variable to reference itself :(.

temp variable

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

79211791

Date: 2024-11-21 15:15:30
Score: 2.5
Natty:
Report link

You can set an HTTPS address of your localhost as a valid URL for a Telegram web app application; it just needs to be an HTTPS address.

For example, in Next.js, you can launch your application with the --experimental-https flag, which will generate a self-signed certificate. After that, you can set the address https://127.0.0.1:3000 for your web application in @BotFather, and it will work just fine.

Reasons:
  • No code block (0.5):
  • User mentioned (1): @BotFather
  • Low reputation (1):
Posted by: hardcodeHenry

79211790

Date: 2024-11-21 15:15:30
Score: 1.5
Natty:
Report link

I just find a way which don 't apply the memset optimization

        for i in 2..buffer_size {
            ptr::write_volatile(buffer.offset(i as isize),0x42); // opti memset not apply
        }

Reduce bin size to 0x2a

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

79211780

Date: 2024-11-21 15:13:30
Score: 1.5
Natty:
Report link

En el pom.xml cambié la versión de spring-cloud 2023.0.3 por la 2021.0.1 y se quitó el error. <spring-cloud.version>2021.0.1</spring-cloud.version>

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

79211776

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

You can verify if Docker is correctly setting the variables by printing them. You can use this command to confirm:

docker exec -it <container_id> printenv | grep ConnectionStrings

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sanderson Corrêa

79211772

Date: 2024-11-21 15:12:30
Score: 1.5
Natty:
Report link

As the person responsible for reporting the unwanted behaviour with Special Keys last year, I'm happy to take responsibility for the change that led to your current issue.

The fix done by the team solved a long-standing issue with unwanted behaviour affecting many developers / users when the use of special keys was disabled.

Specifically, problems can occur if special keys are disabled during development work. For example, unticking Allow special keys prevents the use of Ctrl+Break to stop code. This is intentional.

However it has the unintended side effect of preventing breakpoints and the use of Stop from pausing execution.

This means you cannot debug code for problems with the special keys option unticked. For full context to this issue, please see my article: https://isladogs.co.uk/breakpoint-special-keys/

By comparison, your usage seems very marginal / unusual

I'm confident wha\t you are seeing has nothing to do with Windows 11. That observation may be coincidental with the fix being applied in Access version 2305 (released on 1 June 2023)

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

79211771

Date: 2024-11-21 15:11:29
Score: 1.5
Natty:
Report link
SELECT DISTINCT users.name, users.email
FROM users
JOIN orders ON users.id = orders.user_id
WHERE orders.status = 'completed';
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Anshul Sharma

79211761

Date: 2024-11-21 15:08:28
Score: 10
Natty: 7
Report link

I have the same problem. can you please add an example of the query on the gateway, and how the Stiching.graphql file has been configured? Thanks in advance. Maurizio

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (3): Thanks in advance
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Maurizio Romano

79211759

Date: 2024-11-21 15:08:28
Score: 1.5
Natty:
Report link

Yes, you can nest a button in an SVG by embedding HTML elements within a tag. This allows you to include standard HTML within an SVG. Here's a simple example to illustrate this:

.

Remember to adjust the x, y, width, and height attributes as needed to position and size the button appropriately within your SVG.

If you have any specific requirements or further question

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

79211755

Date: 2024-11-21 15:08:28
Score: 0.5
Natty:
Report link

It only seems to work if the same name as the issuer is used in the OTP URL and a corresponding XML file with this name is stored in the APK files (see user3620439's list)

So for the dropbox icon this would be:

qrencode -t utf8 'otpauth://totp/dropbox?secret=4444444&digits=6&issuer=dropbox'
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: MDeuerlein

79211752

Date: 2024-11-21 15:07:27
Score: 1
Natty:
Report link

I've just handled this exact situation by combining both the Google Places (new) API, and the Google Address Validation API.

The Address Validation API handles PO Boxes (at least in the US.) So, I simultaneously do a Places request to get partial, autocomplete matches and an Address Validation request to check for exact matches. Usually a PO box with a zip code is enough to get an exact match.

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

79211745

Date: 2024-11-21 15:04:26
Score: 0.5
Natty:
Report link

I landed here from Google. Same error message but a different fact pattern.

My development environment is Visual Studio on Windows, and the output executable needs to run on Windows and Linux. The Linux executable is built using WSL (Ubuntu).

Here's the relevant block from my CMakeLists.txt

add_executable (
    myExecutable
    "sourcefile1.cpp"
    "sourcefile2.cpp"
    ...
)

The build worked fine on Windows but not Linux.

The problem turned out to be a file that was recently added. One of the letters in the name was upper case on the filesystem, but CMakeLists included it as lower case (sourcefile2.cpp vs. sourceFile2.cpp).

And the problem was only in one out of more than a hundred files. CMake error message was still the same "No source given to target"

Reasons:
  • RegEx Blacklisted phrase (1): Same error
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Dr Phil

79211739

Date: 2024-11-21 15:03:26
Score: 2.5
Natty:
Report link

Hey The type asdFn is not defined. TypeScript does not recognize asdFn and also make changes in your ts config file

{ "compilerOptions": { "strict": true } }

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

79211730

Date: 2024-11-21 15:01:25
Score: 3.5
Natty:
Report link

touch ~/.curlrc && echo '-w "\n"' >> ~/.curlrc

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

79211727

Date: 2024-11-21 15:01:25
Score: 4
Natty:
Report link

I think you want to override the https://github.com/GoogleCloudPlatform/terraform-google-analytics-lakehouse/blob/main/versions.tf file. In that case you'll have to create one versions.tf in your parent module (that will override the one of the child module).

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

79211720

Date: 2024-11-21 14:58:24
Score: 0.5
Natty:
Report link

You are not awaiting in the initial for loop so setRouteHeader is called multiple times simultaneously. This causes the find and update operations to overlap causing what you have observed here. To fix it wrap the for loop in an asynchronous function and add await before calling setRouteHeader then call this asynchronous function

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

79211711

Date: 2024-11-21 14:56:24
Score: 1
Natty:
Report link

Just removed audio_service package it worked for me.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: AliSubhan

79211701

Date: 2024-11-21 14:54:23
Score: 1.5
Natty:
Report link

is this engineering graphics where you are drawing various projections of an object from different directions? if yes then follow the following schematic

orthographic projection

    bottom

right | front | left | rear

      top

and these would all be connectable easily with just straight lines drawn from the frame of the object

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): is this
  • Low reputation (1):
Posted by: Aditya Chouhan

79211691

Date: 2024-11-21 14:50:22
Score: 2.5
Natty:
Report link

is the custom base url is set in Artifactory? curl -u<:> https://<artifactory_url>/artifactory/api/system/configuration/platform/baseUrl

similar to the google configuration (https://jfrog.com/help/r/jfrog-platform-administration-documentation/saml-sso-configuration-with-google) the saml service provider name should be the entity ID from Keycloak. and in Keycloak setting you need to change the ACS URL should be in this format : /ui/api/v1/auth/saml/loginResponse/<saml_display_name> and SP Identity is the

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): is the
  • Low reputation (1):
Posted by: Nitzan Mann

79211685

Date: 2024-11-21 14:50:22
Score: 3
Natty:
Report link

I have been wondering if the machine code instruction fscale and ldexp(x,n) are the same thing.

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

79211678

Date: 2024-11-21 14:48:21
Score: 3.5
Natty:
Report link
  1. Set local virtual environments named .venv:

windows:

python -m venv .venv

linux:

python3 -m venv .venv
  1. Activate the virtual environment:

windows:

.venv\Scripts\activate

linux:

source .venv/bin/activate
  1. Deactivate the virtual environment:

windows:

deactivate

linux:

deactivate
  1. Install the required packages:

command:

 pip install -r requirements.txt

Please check this link. https://github.com/acmicpc0614/Discord-Bot-init-Python

Reasons:
  • Blacklisted phrase (1): Please check this
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): check this link
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Brave

79211671

Date: 2024-11-21 14:48:21
Score: 2.5
Natty:
Report link

It might be Whitenoise, check if you have it as a dependency: https://github.com/evansd/whitenoise/issues/556

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

79211669

Date: 2024-11-21 14:47:20
Score: 4
Natty:
Report link

My issue ended up being not having my company's self signed certificate in my JDK's cacerts: https://stackoverflow.com/a/68596094/27576792

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

79211663

Date: 2024-11-21 14:46:20
Score: 3
Natty:
Report link

It might be Whitenoise, please check this issue: https://github.com/evansd/whitenoise/issues/556

Reasons:
  • Blacklisted phrase (1): please check this
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: TJL

79211659

Date: 2024-11-21 14:45:19
Score: 1.5
Natty:
Report link
git checkout your-branch
git rebase main
git add <file>
git rebase --continue
git push origin your-branch --force
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Smash 257

79211634

Date: 2024-11-21 14:39:17
Score: 5.5
Natty: 5.5
Report link

I have it disable two buttons at once, can I make it disable only the desired button?

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

79211632

Date: 2024-11-21 14:38:17
Score: 2.5
Natty:
Report link

We use init to initialize an instance of a class, and self refers to the instance itself, allowing us to set or access its attributes. Together, they ensure that each instance has its own unique data and behavior.

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

79211628

Date: 2024-11-21 14:37:17
Score: 1
Natty:
Report link

I suggest considering LM-Kit.NET, a native .NET SDK that offers fast LLM inference and function calling support without the need for external server applications or experimental assemblies.

You can find a simple function calling demo in the lm-kit demo GitHub repository, which illustrates how to implement function calling using LM-Kit.NET. Direct link: https://github.com/LM-Kit/lm-kit-net-samples/tree/main/console_net6/function_calling

A Community Edition is available that includes all current features of the toolkit

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Loïc Carrère

79211623

Date: 2024-11-21 14:36:16
Score: 2.5
Natty:
Report link

Yes, you're right. The Azure App Service load balancing option SiteLoadBalancing.LeastRequests employs the "Least Active Requests" strategy. This approach ensures that new incoming requests are routed to the instance currently handling the fewest active requests.

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

79211617

Date: 2024-11-21 14:35:16
Score: 3
Natty:
Report link

If you put this code inside a test class... and set two breakpoints at the arrange and assert calls, you will be able to use the diagnotics window in VS2022 to inspect the details

Microsoft documentation for VS2022

struct ExampleStruct
{
    public int ID;
    public List<ExampleStruct> children;
}

public class StackOverflowStructQ
{
    [Fact]
    public void Method_Condition_Expectation()
    {
        // Arrange
        ExampleStruct es = new() { ID = 1, children = [] };

        // Act

        // Assert
        Assert.NotNull(es.children);
    }
}

The when the first breakpoint is hit - "take a snapshot" from the Diagnostics window.

You should be able to drill down and see "Referenced Objects". This means the reference is stored in the struct, but the object it references is stored on the heap.

So try and keep your structs lightweight. If you need to reference objects which will ultimately reside on the heap, probably best to use a class?

Reasons:
  • Blacklisted phrase (1): StackOverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: PureAlpha

79211615

Date: 2024-11-21 14:34:15
Score: 2
Natty:
Report link

Adding the attribute splitStatements="true" to the sql tag resolved the issue. Thanks to the tip provided by @siggemannen.

Updated code

<changeSet author="me" id="poc" runAlways="true" runOnChange="true" >
 <sql splitStatements="true">
  BEGIN
      DECLARE @MyVariable INT;
      SET @MyVariable = 10;
  END;
 </sql>
</changeSet>
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • User mentioned (1): @siggemannen
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Rick

79211595

Date: 2024-11-21 14:31:15
Score: 2
Natty:
Report link

The latest version of Office 365 allows for this with the CreateBookmarks argument.

Microsoft Documentation: https://learn.microsoft.com/en-us/office/vba/api/word.document.exportasfixedformat

Example VBA Code:

ActiveDocument.ExportAsFixedFormat _
    OutputFileName:= "#######Filepath#########", _
    ExportFormat:=wdExportFormatPDF, _
    CreateBookmarks:=wdExportCreateHeadingBookmarks
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Danny

79211579

Date: 2024-11-21 14:25:13
Score: 1.5
Natty:
Report link

I just had the same issue and error message with VScode (I'm on Windows 10, vscode 1.95.3). I restarted my machine (Start menu -> power button -> Restart option) and that fixed the issue for me.

Mentioning in case anyone else runs into this issue, don't skip restarting just because it didn't work for the author.

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

79211567

Date: 2024-11-21 14:22:12
Score: 2.5
Natty:
Report link

enter code hereFacebook(+-code Recovery+-)enter code here

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

79211564

Date: 2024-11-21 14:21:12
Score: 3
Natty:
Report link

make sure to have jjwt-api and jjwt-impl dependencies versions are matching. Also do mvn clean & install.

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

79211553

Date: 2024-11-21 14:17:10
Score: 1.5
Natty:
Report link

Our application has met the same issue. In order to fix this, you can modify the microsoft edge policies in GPEdit:

GPEdit -> Computer Configuration -> Administrative Templates -> Microsoft Edge -> Restrict exposure of local IP address by WebRTC -> Enabled -> Allow public and private interfaces over http default route.

Additional information here https://admx.help/?Category=EdgeChromium&Policy=Microsoft.Policies.Edge::WebRtcLocalhostIpHandling

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

79211551

Date: 2024-11-21 14:17:09
Score: 9 🚩
Natty: 5.5
Report link

using configuration via INI file is perfect when runniung python script during runtime. When starting my script in rc.local I get KeyError and script is aborted:

Nov 21 14:59:54 RaspiJura4 rc.local[916]: fileConfig('logging.ini') Nov 21 14:59:54 RaspiJura4 rc.local[916]: File "/usr/lib/python3.11/logging/config.py", line 71, in fileConfig Nov 21 14:59:54 RaspiJura4 rc.local[916]: formatters = _create_formatters(cp) Nov 21 14:59:54 RaspiJura4 rc.local[916]: ^^^^^^^^^^^^^^^^^^^^^^ Nov 21 14:59:54 RaspiJura4 rc.local[916]: File "/usr/lib/python3.11/logging/config.py", line 104, in _create_formatters Nov 21 14:59:54 RaspiJura4 rc.local[916]: flist = cp["formatters"]["keys"] Nov 21 14:59:54 RaspiJura4 rc.local[916]: ~~^^^^^^^^^^^^^^ Nov 21 14:59:54 RaspiJura4 rc.local[916]: File "/usr/lib/python3.11/configparser.py", line 979, in getitem Nov 21 14:59:54 RaspiJura4 rc.local[916]: raise KeyError(key) Nov 21 14:59:54 RaspiJura4 rc.local[916]: KeyError: 'formatters'

Is there any idea how to solve this? Best regards Pit

Reasons:
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • Blacklisted phrase (1): Is there any
  • Blacklisted phrase (1): how to solve
  • RegEx Blacklisted phrase (1.5): how to solve this?
  • Contains signature (1):
  • Long answer (-1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Filler text (0.5): ^^^^^^^^^^^^^^^^^^^^^^
  • Filler text (0): ^^^^^^^^^^^^^^
  • Low reputation (1):
Posted by: Pit

79211538

Date: 2024-11-21 14:14:08
Score: 2
Natty:
Report link

It's because age is probably an integer. Try message = name + "is" + str(age)

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

79211536

Date: 2024-11-21 14:13:08
Score: 3
Natty:
Report link

The issue has been identified, and the fix will be included in the next patch. The release is scheduled to be available within the next two weeks. Please stay tuned for the update, and thank you for your patience!

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

79211523

Date: 2024-11-21 14:10:08
Score: 1
Natty:
Report link

In each communication point you pass the current time and the step length as argument to the fmi2DoStep function. This error message means that in the following step, the time of the communication point t_{i+1} is not exactly equal to t_{i} + delta_t. So, most likely this is a truncation error of the master algorithm.

You could replace the computation of the next communication point by a getReal call to receive the communication time computed by the FMU after each doStep call. If you cannot modify the master algorithm, you have to contact the support to let the developers fix it.

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

79211520

Date: 2024-11-21 14:10:08
Score: 0.5
Natty:
Report link

To speed up your app you can follow below steps:

Combine API Requests:

Discuss with your backend developer to merge the APIs into a single request that returns all the required data in one response, or reduce it from 4 to 2 or something like that. For example, if one API fetches homepage details and another fetches user details, pass user-specific parameters in a single request and get everything at once.

Optimize Frontend Loading:

If combining APIs isn't possible, prioritize loading essential data first. Use shimmer placeholders or similar for sections dependent on secondary APIs. Fetch secondory prioritized data in background using asynchronous updates (e.g., StreamBuilder or FutureBuilder).

Caching:

Cache static or semi-static data to reduce repeated API calls.

UI Optimization:

Simplify widget trees for complex designs and avoid unnecessary rebuilds

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

79211512

Date: 2024-11-21 14:08:06
Score: 6.5 🚩
Natty:
Report link

did anyone solve this (NOBRIDGE) ERROR Error: Exception in HostFunction: Unable to convert string to floating point value: "large"

Reasons:
  • RegEx Blacklisted phrase (3): did anyone solve this
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did anyone solve this
  • Low reputation (1):
Posted by: Solomon Snow

79211508

Date: 2024-11-21 14:07:06
Score: 1
Natty:
Report link

What worked for me: Pycharm Settings -> Build, Execution, Deployment -> Python Debugger -> Drop into debugger on failed test:

Screenshot

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • Has code block (-0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: plutasnyy

79211490

Date: 2024-11-21 14:03:05
Score: 3
Natty:
Report link

In my case it was a broken shared folder. Issue disappeared after rebooting the server.

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

79211485

Date: 2024-11-21 14:02:04
Score: 3
Natty:
Report link

For me, the issue was probably that I had a number of very old virtual environments lying around that I hadn't used in years. Deleting all of them solved the problem.

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

79211479

Date: 2024-11-21 14:01:04
Score: 1.5
Natty:
Report link

You can partition your Hudi table based on time intervals (e.g., year, month, day) to optimize storage and query performance. This enables efficient querying of data within specific time ranges.

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

79211477

Date: 2024-11-21 14:01:04
Score: 1
Natty:
Report link
.mat-stepper-horizontal-line,
.mat-horizontal-stepper-header::after,
.mat-horizontal-stepper-header::before {
  top: 27px !important;
  border-top-width: 5px !important;
  transition: background-color 0.3s ease, width 0.3s ease;
}
.mat-step-header[ng-reflect-state="done"]::after,
.mat-step-header[ng-reflect-state="done"]+ .mat-step-header[ng-reflect-state="done"]::before {
  background: green !important;
  transition: background-color 0.5s ease, width 0.5s ease; 
}
.mat-step-header[ng-reflect-state="done"] + .mat-stepper-horizontal-line {
  background: green;
  transition: background-color 0.5s ease; 
}
.mat-step-header[ng-reflect-selected="true"]::before,.mat-step-header[ng-reflect-state="done"]::before{
  background: green;
}
Angular 15
Please check this it will help you out 
Reasons:
  • Blacklisted phrase (1): Please check this
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mallikarjuna Muraboina

79211468

Date: 2024-11-21 13:59:03
Score: 1
Natty:
Report link

a short answer: you shouldn't try to bypass without authorization. Try to reach out their customer service. sometimes they can offer an access through API

"Based on factors such as information security and protecting the value of website content, this site gives permission to stop access to uncertified robots, crawlers and other unnatural human access behaviors."

"How to remove restrictions Please stop non-human access to this website in the network environment, record the following blocked connection information, provide contact information to contact our customer service, and request us to lift the access restrictions. In addition, if you have business needs and need a certified crawler to access this website in a non-human way, please contact our customer service and we will have a business window to explain the cancellation to you."

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

79211451

Date: 2024-11-21 13:54:02
Score: 1.5
Natty:
Report link

It is not possible for an item to have 3 different prices in its record in Xero.

When you use an item in a request eg to create a bill in Xero you can specify the price in the request as part of the body in the UnitAmount field.

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

79211448

Date: 2024-11-21 13:53:01
Score: 8.5 🚩
Natty:
Report link

Can you share you solution for that problem?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you share you solution
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Can you share you solution for that
  • Low reputation (1):
Posted by: Ivica Tasic

79211446

Date: 2024-11-21 13:53:00
Score: 3
Natty:
Report link

What prevents you from doing the following?

var options = await dbContext.Options.ToListAsync();

//Machine to seed:
Machine machine = new(){ description="MyTestMachine" }
OptionMachine opt = new(){ Machine = machine, Option = options[0], price = 500M };
machine.Options.Add(opt)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): What
  • Low reputation (0.5):
Posted by: Sancho Panza

79211445

Date: 2024-11-21 13:52:00
Score: 2.5
Natty:
Report link

I have enabled the DevOps Platform integration in Sonarqube, but still it is not reflecting on my MR.

Any changes that i have to make in mu gitlab-ci.yaml file

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

79211438

Date: 2024-11-21 13:52:00
Score: 0.5
Natty:
Report link

You could convert them to to sets and use the bitwise operator/logical(&) to effectively combine to 2 lists and meet your criteria.

def find_common_elements(list1 :list, list2:list):
    set1 = set(list1)
    set2 = set(list2)
    
    return list(set1 & set2)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mippy

79211436

Date: 2024-11-21 13:50:59
Score: 4
Natty:
Report link

After delete cache folder, it's OK.

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

79211433

Date: 2024-11-21 13:50:59
Score: 0.5
Natty:
Report link
  1. Remove old version (whole folder): C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.VCLibs
  2. Install specific version of MVS -> 2022 LTSC 17.2.0
  3. In configuration select: ""C++ Universal Windows Platform.."
  4. in C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.VCLibs\14.0\Appx\Debug\x64, you should have desired version of Microsoft.VCLibs.140.00.Debug

the second option is:

  1. Remove old version (whole folder): C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.VCLibs
  2. Install specific version of MVS -> 2022 LTSC 17.2.0
  3. In configuration don't select any extra packages which you don't need
  4. After finish installation export your configuration export configuration
  5. Open configuration in text editor and add this package: "Microsoft.VisualStudio.ComponentGroup.MSIX.Packaging", "Microsoft.VisualStudio.ComponentGroup.WindowsAppSDK.Cs"
  6. Open MVS Installer again and import configuration import configuration
  7. Install
  8. in C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.VCLibs\14.0\Appx\Debug\x64, you should have desired version of Microsoft.VCLibs.140.00.Debug
Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Marek Biolik

79211424

Date: 2024-11-21 13:45:58
Score: 1
Natty:
Report link

LinkedIn's API rate limit is indeed challenging, especially for apps displaying analytics using Pages Data Portability. The main issue is that the rate limit is application-wide, not user-specific. This means:

Whether your app has 1 user or 1,000 users, the limit remains the same. If one user exhausts the quota, all other users are blocked until the quota resets.

Use LinkedIn for OAuth Only: Instead of fetching analytics, limit LinkedIn usage to authentication and explore other data sources for insights.

Feedback to LinkedIn It would be helpful if LinkedIn introduced pay-as-you-go plans or user-specific rate limits. This would make the API more suitable for real-world, multi-user applications.

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

79211422

Date: 2024-11-21 13:45:58
Score: 1.5
Natty:
Report link

A solution is to implement the bridge between your renderer and Node can be done through the preloader and IPC. I still don't know why the considerably less tedious way to do it - as listed in the question - does not work, but not a lot of traction on the question to find that out.

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Fluxian

79211420

Date: 2024-11-21 13:45:58
Score: 2
Natty:
Report link

Too new to make a comment. line 10 of the listed Makefile: CC = avr-gcc

avr-gcc is your compiler. So that's what you need to use.

you might look at winavr to provide this compiler for MsOS, or on linux install avr-gcc.

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

79211413

Date: 2024-11-21 13:44:58
Score: 1
Natty:
Report link

Use an ADS client that is connected to the EtherCAT masters AmsNetId and Port number 65535.

Prepare a byte buffer[] that has a length that is equal to 2*ConfiguredSlaveCount. (2 is the size of ST_EcSlaveState).

If you don't know your configured slave count you can read it as an uint from the same ADS client at index group 0x6 subIndex 0x0.

Do a Client.Read operation supplying this buffer to index group 0x9 and subIndex 0x0. Your buffer will be filled with data that describes an ST_EcSlaveState for each of your configured slaves. A description of the struct can be found here: https://infosys.beckhoff.com/english.php?content=../content/1033/tcplclib_tc2_ethercat/57122443.html&id=

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

79211405

Date: 2024-11-21 13:42:58
Score: 1.5
Natty:
Report link

😭 I found a way and it's working as intended. I am still not sure if it's right method (since I am new to vhost customization and all) but here you go:

I just edited the vhost files for my example.com for port 80 (vhost.conf) in litespeed folder.

What I changed in the file was a simple line of code:

extprocessor 30000 {
  type                    proxy
  address                 https://127.0.0.1:30000
  env             NODE_ENV=production
  maxConns                5 
  initTimeout             20
  retryTimeout            20
  respBuffer              0
}

I just changed the address 127.0.0.1:30000 to address https://127.0.0.1:30000

Now, example.com is:

https://example.com is

  1. Firefox - working without problems
  2. Edge/Brave/Chrome - working without problems

http://example.com:30000 is

https://example.com:30000 is

this was done with nodejs using:

https.createServer(options, app).listen(30000, ()=>{
console.log("Running at port 30000");
});

and in options:

const options = {
    key: fs.readFileSync(path.resolve("example.com.key")),
    cert: fs.readFileSync("example.com.crt"),
    ca: fs.readFileSync(path.resolve("example.com-ca.crt"))
};

ca file(s) might not be available under your control panel's ssl folder. Mine works even when I omit the ca key-value pair.

P.S. Last night copilot broke my brain after serving me an answer where the code asked http and https to listen to port 30000, and then copilot itself said one port cannot be assigned to two different things. 😭 I quit copilot then and there.

Reasons:
  • RegEx Blacklisted phrase (1.5): I am new
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Loves chicken

79211399

Date: 2024-11-21 13:40:57
Score: 1.5
Natty:
Report link

VS Code has an auto-wrapping feature that wraps lines at a certain column width. This is useful when you're working with long lines of code or comments.

Press Alt + Z (Windows/Linux) or Option + Z (macOS) to toggle Word Wrap. This will automatically break long lines to fit within the editor window, making them easier to read without changing the code.

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

79211388

Date: 2024-11-21 13:37:56
Score: 1
Natty:
Report link

You asked why, and there's no way to do this without a wall of text, so here's your wall of text: I'm not about to find out where, because quite frankly your method to get to the result is very convoluted, but somewhere in your network of filters and lookups, the cell containing -20, is being processed by a function that is either instructed to read it as text ("-20"), or the function itself is text-based in origin, and will therefore read and store any input as text. This all happens as an array in memory.

Secondly, you've stumbled upon the hidden, secret difference between an array and a range. Simply put, an array can only exist in memory to be remembered and manipulated, or transfered to a new array, and finally, by the function, one or any or all of these arrays can then be written to a range of cells. A range can't do any of that, it's more like a piece of paper you printed the result onto. If your function doesn't actually print data to cells, it's not a range, but an array. If you cannot see the range in your sheet, it doesn't exist.

RELEVANT: You (smartly) put EffectiveScore in Name Manager, so you could ezpz refer to it. It is essential to understand that EffectiveScore is calculated and stored as an array in memory. It doesn't exist as a range before you enter =EffectiveScore in a cell, and the function prints over 3 rows: 100, 80, 100.

Before you do that, this is what is stored in memory: 100, 100+"-20", 100. You may not see them as this, because you're thinking "I'm just doing math here, lol", but + and - are functions, just like SUM(). Unlike the SUM() function though, they are instructed to convert/read all inputs as numbers. When you enter =SUM(EffectiveScore), the range of EffectiveScore doesn't exist yet, so the SUM function uses the array stored in memory, which includes -20 stored as text. It skips that because "text isn't math, lmao", and writes 300 to your cell. When you add the +, you're instructing the SUM() function to read all inputs as numbers. Now it becomes 100, 100+-20, 100, which equals 280.

You can get the same effect by doing =SUM(NUMBERVALUE(EffectiveScore)).

It's the same thing that happens here: =1=1 will return TRUE, because both are 1, and both are numbers. ="1"=1 will return FALSE, even though both are 1, the first is a text string, and the other a number. =NUMBERVALUE("1")=1 will return TRUE, because NUMBERVALUE() converts it's text-string-intestines to a number. =0+"1"=1 will return TRUE because as previously exlained, the + function converts text "1" to a number: 1.

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

79211383

Date: 2024-11-21 13:36:56
Score: 1
Natty:
Report link

This is answered in the Go FAQ “Why is my nil error value not equal to nil?”

Basically, since the interface has a type, it is not nil.

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

79211382

Date: 2024-11-21 13:35:55
Score: 1.5
Natty:
Report link

If BLAS threading cannot be controlled and persists with multithreading, consider using explicit parallel processing to ensure proper thread control. For example:

library(parallel)

cl <- makeCluster(1) # Single core

clusterExport(cl, list("explained_variance_aov", "data"))

results <- parLapply(cl, paste0("PC", 1:3000), function(pc) { explained_variance_aov(pc, data, "covar") })

stopCluster(cl)

results <- do.call(rbind, results)

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

79211381

Date: 2024-11-21 13:35:55
Score: 4.5
Natty:
Report link

SD_MMC.remove("/"+ file.name());

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: علی روستایی

79211376

Date: 2024-11-21 13:33:54
Score: 2.5
Natty:
Report link

struct Struct { int foo; // Field to be cleared char bar; // Other fields // May have padding for alignment purposes };

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Bogireddy Varun kumar reddy

79211372

Date: 2024-11-21 13:32:54
Score: 0.5
Natty:
Report link

You may also want to change the version of the OpenAI api, at least for me it was a blocker to not able to use structured outputs.

I changed env variable from 2024-03-01-preview to 2024-08-01-preview, and it worked.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Mehmet Burak Sayıcı

79211368

Date: 2024-11-21 13:32:54
Score: 0.5
Natty:
Report link

Turns out I was simply using a wrong command line to run the playbook: ansible-playbook -i inventory.yml tasks/main.yml instead of ansible-playbook -i inventory.yml playbook.yml.

After that the error messages became much clearer and my final playbook looks like:

---
- name: Play
  hosts: all
  become: true
  roles:
    - /home/marco/play/roles/ics-ans-orca-driver
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Marco Montevechi Filho

79211367

Date: 2024-11-21 13:31:53
Score: 1.5
Natty:
Report link

Alright, i found the issue. To avoid the problem I had to add a backlink to the ToMany property in order to make it work properly :

@Entity()
class MyObject {

@Backlink('holderObject') // This was missing
final insideObjects = ToMany<InsideObject>();

MyObject({
 this.name,
});

...
}

Here the foc info from objectbox :

When using @Backlink it is recommended to explicitly specify the linked to relation using to. It is possible to omit this if there is only one matching relation. However, it helps with code readability and avoids a compile-time error if at any point another matching relation is added (in the above case, if another ToOne is added to the Order class).

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Backlink
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Xababa Dalabama

79211360

Date: 2024-11-21 13:29:53
Score: 3.5
Natty:
Report link

django-q2 is a fork of django-q that works for Django >= 4.2, check it out here: https://pypi.org/project/django-q2/

Reasons:
  • Blacklisted phrase (0.5): check it out
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jtoby

79211344

Date: 2024-11-21 13:25:52
Score: 1.5
Natty:
Report link

For me this happened after switching the macbook from Intel to M4 (RN 0.72)

I had to enable Rosetta destination and run on a Rosetta iPhone to make the build work in Xcode:

enter image description here]1 enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • High reputation (-2):
Posted by: Florin Dobre

79211340

Date: 2024-11-21 13:23:51
Score: 2.5
Natty:
Report link

Using your account in this link you may click the “Enable” button to start using Claude Sonnet 3.5.

image

Here’s additional public documentation link for Anthropic Code Cookbook: Check out example code for a variety of complex tasks, such as RAG from various web sources, making SQL queries, function calling, multimodal prompting, and more.

Reasons:
  • Blacklisted phrase (1): this link
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: McMaco

79211330

Date: 2024-11-21 13:18:50
Score: 3.5
Natty:
Report link

For iOS 15 and later see Warpling's answer here: https://stackoverflow.com/a/79118419/19705384

In summary:

viewController.sheetPresentationController?.prefersPageSizing = false
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Joe Thomson

79211329

Date: 2024-11-21 13:18:50
Score: 2
Natty:
Report link

Hi Im trying to replicate this although my .tif doesnt seem to be loading properly as i get this error message:

class       : SpatRaster 
dimensions  : 5972, 5020, 1  (nrow, ncol, nlyr)
resolution  : 100, 100  (x, y)
extent      : 2863300, 3365300, 3211800, 3809000  (xmin, xmax, ymin, ymax)
coord. ref. : ETRS89-extended / LAEA Europe (EPSG:3035) 
source      : U2018_CLC2018_V2020_20u1.tif 
name        : U2018_CLC2018_V2020_20u1 
Warning message:
In class(object) <- "environment" :
  Setting class(x) to "environment" sets attribute to NULL; result will no longer be an S4 object

Any advice would be greatly appreciated!

Reasons:
  • Blacklisted phrase (1): appreciated
  • RegEx Blacklisted phrase (1): i get this error
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: AlexValentine

79211321

Date: 2024-11-21 13:16:49
Score: 3.5
Natty:
Report link

It seems that clearing events from a 'secondary' calendar is currently not possible, even for users with elevated roles like Calendar Admin or similar.

While you can delete, create, and modify calendars or events, attempting to clear all events from a secondary calendar using the following endpoint:

https://www.googleapis.com/calendar/v3/calendars/_calendar_id_/clear

where _calendar_id_ is a value like an email, e.g., [email protected]) results in the following error:

{
  "error": {
    "errors": [
      {
        "domain": "global",
        "reason": "invalid",
        "message": "Invalid Value"
      }
    ],
    "code": 400,
    "message": "Invalid Value"
  }
}

If anyone has insights, a guide, or tips on how to clear events from a secondary calendar, your help would be greatly appreciated!

Reasons:
  • Blacklisted phrase (1): appreciated
  • RegEx Blacklisted phrase (3): help would be greatly appreciated
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Andrea Rossi

79211317

Date: 2024-11-21 13:16:49
Score: 1
Natty:
Report link

I'd suggest a few steps:

  1. try running the same step after a few seconds (sometimes 2s is not enough to element to load)
  2. check if you are interacting with the correct window/tab
  3. verify if there are no "spaces" in the text try using contain: bot.FindElementByXPath("//div[contains(text(), 'IMECall')]").Click
  4. check for iframes (I had many problems with that when I was learning to use selenium with vba) check if there is a tag "iframe" in devtools. if the element is inside a frame:

bot.SwitchToFrame bot.FindElementByTag("iframe")

bot.FindElementByXPath("//div[text()='IMECall']").Click

bot.SwitchToDefaultContent ' Return to the main page

there are other steps, but those would be my first guesses

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

79211310

Date: 2024-11-21 13:15:49
Score: 2.5
Natty:
Report link

In ~\AppData\Roaming\Sublime Text\Packages\Anaconda\.python-version
inputs your python version (my is 3.12).

After then was no message

But ...

I think this is beter.

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

79211309

Date: 2024-11-21 13:14:49
Score: 0.5
Natty:
Report link

The urls is deprecated if you still want it you need to enable it. You should only use url to get the current url.

Mention in the UPGRADE file: https://github.com/sulu/sulu/blob/2.6/UPGRADE.md#deprecated-urls-variable-in-return-value-of-sulu_content_load

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

79211301

Date: 2024-11-21 13:11:48
Score: 5
Natty: 4
Report link

dears, thanks for sharing knowledge. I noticed that when using concat OR & in excel, the double quotes in source cells if any, gets repeated when we copy paste the result to plain text or notepad. But if you just copy paste into a word document then the values show up perfectly fine.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (2): thanks for sharing
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kamalakannan V

79211298

Date: 2024-11-21 13:11:48
Score: 1
Natty:
Report link

The Premium Reporting API provides a PAT (Personal Access Token) exactly for this use case, letting you access their API from a server side, without having a user going through the 3-legged login dance.

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

79211279

Date: 2024-11-21 13:06:46
Score: 3
Natty:
Report link

You can define your command the same as the Kernel file on bootstrap/app.php using withSchedule method

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

79211276

Date: 2024-11-21 13:05:46
Score: 0.5
Natty:
Report link

I'm afraid the Data Visualization extension doesn't support rotating sprites. What you could do instead is, add custom HTML or SVG elements on top of the Viewer canvas, and use the Viewer SDK to make sure these elements stay "attached" to a specific XYZ position in the model space. We do this in the APS Digital Twin demo:

enter image description here

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

79211268

Date: 2024-11-21 13:02:46
Score: 2
Natty:
Report link

Working fine:

int ID= await dbConnection.QueryFirstOrDefaultAsync(new CommandDefinition(sql, command.Item, cancellationToken: cancellationToken));

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

79211264

Date: 2024-11-21 13:01:45
Score: 9 🚩
Natty: 5.5
Report link

Hey Is there anyone who can guide me...actually I would like to know how to create a customer or supplier using the Twinfield API. Could you please guide me on the following:

What API endpoint or URL should I use for creating a customer or supplier in Twinfield? What XML structure should I use in the request body to create a customer or supplier? Are there any specific parameters (such as company ID, customer/supplier code, etc.) I need to include in the request? What type of response should I expect after creating a customer or supplier? Any insights or examples would be greatly appreciated! Thanks for your help!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): guide me
  • Blacklisted phrase (1.5): I would like to know
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): Is there any
  • Whitelisted phrase (-0.5): Thanks for your help
  • RegEx Blacklisted phrase (2.5): Could you please guide me
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Saurav

79211260

Date: 2024-11-21 13:00:44
Score: 0.5
Natty:
Report link

For a windows based build agent use call activate <env_name>:

- script: |
    conda install --yes --quiet --name myEnvironment ruff
    call activate myEnvironment
    ruff format .
  displayName: Activate environment and run ruff

It's the equivalent to mentioned source activate myEnvironment for unix.

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

79211258

Date: 2024-11-21 13:00:44
Score: 1.5
Natty:
Report link

IMO, the best way to investigate your problem is to perform a large amount of requests and took a heapdump. You analyse the heapdump with Memory Analyzer You open the "Histogram" view You add the column "Retained Heap" You sort on "Retained Heap" column.

Now you have a better view of the object and memory repartition. You can find the origin of different objects with a right click > List objects > with incomming references.

You can add a screenshot to have more help.

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

79211255

Date: 2024-11-21 12:59:44
Score: 0.5
Natty:
Report link

Incremental counting answered here depends on the grid items being in order and cannot deal with the irregular order caused by grid-auto-flow: dense and individual grid-row / grid-column.

Even if human isn't interested in pixel coordinates, script can convert them into grid indexes!

//// returnedArray[elmIdx] = {row: rowIdx, column: colIdx}
function measureGridIndexes(elms) {

  const coords = {row: [], column: []};  // The two will be very sparse arrays
  for (const [elmIdx, elm] of elms.entries()) {
    const x = elm.offsetLeft, y = elm.offsetTop;
    coords.row[y] ??= [];  // An array of element indexes at the same Y pixel coordinate
    coords.row[y].push(elmIdx);
    coords.column[x] ??= [];  // X ditto
    coords.column[x].push(elmIdx);
  }

  const gridIdxs = [];
  /// .flat() densifies a sparse array
  for (const [rowIdx, elmIdxs] of coords.row.flat(0).entries()) {
    for (const elmIdx of elmIdxs) {
      gridIdxs[elmIdx] = {row: rowIdx};
    }
  }
  for (const [colIdx, elmIdxs] of coords.column.flat(0).entries()) {
    for (const elmIdx of elmIdxs) {
      gridIdxs[elmIdx].column = colIdx;
    }
  }

  return gridIdxs;

}

Demo: https://codepen.io/phroneris/pen/RwXOJZZ

Note, however, that this code only considers integer item coordinates.

And of course, this does not address cases where the position is further customized with individual margin, position, etc.
I wish no website would do such styling, which would throw away the advantages of grid layout...

Reasons:
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Phroneris