79500930

Date: 2025-03-11 13:37:01
Score: 4
Natty:
Report link

When disabling trimming for android in release mode the aab file works as expected.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: dennis_ler

79500925

Date: 2025-03-11 13:35:00
Score: 3
Natty:
Report link

I was having a similar problem while creating an example for my new book (currently in beta) Mastering Building Web Assembly Apps using Rails.

I am using Rails8 which creates a new app using Propshaft and Importmaps by default to manage static assets and JS libraries respectively. I tried creating a controller with an action to provide WASM module as an asset but it didn't work thus i had to modify my WASM module's .js gluecode.

The whole instructions are in the book available for free to read. May be it might of any help to you.

Reasons:
  • Blacklisted phrase (1): any help
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Chetan Mittal

79500908

Date: 2025-03-11 13:28:59
Score: 1
Natty:
Report link

I also had problems with Java 21.
Try downgrading to Java 17 to test.
These commands may be useful:

echo %JAVA_HOME%
java --version
flutter configure --jdk-dir YOUR_JDK_17
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: JTO Informatique

79500900

Date: 2025-03-11 13:25:58
Score: 3.5
Natty:
Report link

I created a playbook of installing Remix and Deploying it in CPANEL. I polished it with Chatgpt. Here is the link.

The playbook has been tested and works seemlessly. However I used Node version 20.18.2.

https://chatgpt.com/canvas/shared/67d037cf49648191abffff0809e8f043

Reasons:
  • Blacklisted phrase (1): Here is the link
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Peter Anderson

79500883

Date: 2025-03-11 13:20:57
Score: 0.5
Natty:
Report link

This was happening for me, and I hadn't attached the sqs arn to my s3 bucket. You can get this by running show pipes; .

After adding it, and rewriting the files back to s3, they were all picked up correctly

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

79500878

Date: 2025-03-11 13:18:56
Score: 6.5 🚩
Natty: 5
Report link

thank you @nnatter It's working

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (2):
  • No code block (0.5):
  • User mentioned (1): @It's
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Amir Souissi

79500876

Date: 2025-03-11 13:16:56
Score: 0.5
Natty:
Report link

I answered a similar question for a PostgreSQL database.

I adapted it to your table names in a fiddle, it may need adaptations to run under Redshift (thus I don't post it as is here)
but it holds all the principles:

  1. identify sure starts of a span
  2. for each date, tell which subsequent date would be the next out of its 30-day span if it was itself a span start.
  3. then recurse over all potential span starts, marking the "surely valid" as valid then hoping to its successor indicated by step 2.
Reasons:
  • No code block (0.5):
Posted by: Guillaume Outters

79500874

Date: 2025-03-11 13:16:56
Score: 3.5
Natty:
Report link

Fixed the problem eventually, it was all about configuring http rewrite.

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

79500866

Date: 2025-03-11 13:12:55
Score: 0.5
Natty:
Report link

When using typescript, you can pass the props type to the forwardRef as the second generic param. To use your example:

export const Services = () => {
  const servicesRef = useRef(null);

  return (
      <div>
        <ServicesList ref={servicesRef} />
      </div>
  );
};



export const ServicesList = forwardRef<HTMLTableSectionElement, PropsWithChildren<{}>>((props, ref) => {
  return (
      <section className="my-24 md:my-32" ref={ref}>
        {props.children}
      </section>
  );
});
Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: Blee

79500853

Date: 2025-03-11 13:09:54
Score: 3
Natty:
Report link
  1. Open your Xcode project.

  2. Go to Signing & Capabilities under your project’s TARGETS.

  3. Check Automatically manage signing to let Xcode handle certificates and profiles.

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

79500852

Date: 2025-03-11 13:08:54
Score: 4.5
Natty:
Report link

I want text field for each line item in the cart and entered value should be displayed for order in admin . How we can achieve this.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sandy

79500849

Date: 2025-03-11 13:07:53
Score: 1
Natty:
Report link

I fixed it by adding { provide: APP_CONFIG, useValue: {} }, to the providers for my test.

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

79500848

Date: 2025-03-11 13:07:53
Score: 1.5
Natty:
Report link

Can someone help further the modify the Azure Data Factory expression for the following T-SQL code: SELECT DeltaTable. * FROM dlt.DeltaTable LEFT OUTER JOIN dbo.TableName AS tgt ON dlt.DeltaTable.signature = tgt.signature
WHERE tgt.signature IS NULL;

You will probably get the error when you directly add the expression. as below

To resolve this error, follow the below steps:


@concat('SELECT ',pipeline().parameters.DeltaTable,'.\* FROM ',pipeline().parameters.DeltaTable,' LEFT OUTER JOIN ',pipeline().parameters.TargetTable,' ON ',pipeline().parameters.DeltaTable,'.signature = ',pipeline().parameters.TargetTable,'.signature WHERE ',pipeline().parameters.TargetTable,'.signature IS NULL')

Output:

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • RegEx Blacklisted phrase (3): Can someone help
  • Long answer (-1):
  • Has code block (-0.5):
  • Starts with a question (0.5): Can someone help
  • Low reputation (1):
Posted by: Shraddha Pore

79500846

Date: 2025-03-11 13:06:53
Score: 12.5
Natty: 7.5
Report link

I'm facing the same issue. Did you solve this by any chance? what was the cause and how to fix it? thanks

Reasons:
  • Blacklisted phrase (0.5): thanks
  • RegEx Blacklisted phrase (3): Did you solve this
  • RegEx Blacklisted phrase (1.5): how to fix it?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I'm facing the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Adriano Godinho

79500842

Date: 2025-03-11 13:05:52
Score: 3
Natty:
Report link

Mine was zoomed out, I went to File- Runtime- Actual size, and its now okay. Shared just incase one comes to look for a solution as I have

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

79500838

Date: 2025-03-11 13:03:52
Score: 4.5
Natty: 5
Report link

since it should adjust on screen size you should be able to use the onchange=[(e) => set screen.width(e.target.value)} however i am unsure of this solution but implementing the onchange e handler should maybe work?

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

79500831

Date: 2025-03-11 13:01:51
Score: 1.5
Natty:
Report link

I cannot add a comment to Vishal's answer, but it is a valid workaround!

I made a simple helper function:

export async function reportLog(test: any, title: string, ...args: string[]) {
    await test.step(title + ": " + args.join(", "), () => {});
}

Used like: await reportLog(test, "An arbitrary 'step' comment!", "This is a comment!");

Which outputs in the 'step' flow: Example output in the 'step' flow

Alternative ways to add info to the report is annotations, console.log, attachments (as shown by unickq) and expect.

Annotations put the info at the report head:

test.info().annotations.push({ type: 'Info', description: 'An annotation' });

Example of annotations

Whereas attachments and console.log() are added to the 'Attachments' box in the report foot.

Expect can be used if you want a 'failure' red X in the report, but the caveat is that it will also appear in your 'Errors' box.

expect.soft(true, "This is a good outcome!").toBeTruthy();
expect.soft(false, "This is a bad outcome!").toBeTruthy();

Will result as: Example of using 'Expect'

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: KattenFodder

79500829

Date: 2025-03-11 13:00:50
Score: 9 🚩
Natty: 6.5
Report link

I recently have the same problem and I have not changed anything in my auth or Livewire component.

I use Laravel 12 myself, but my code is otherwise similar.

Have you found a solution yet?

Reasons:
  • RegEx Blacklisted phrase (2.5): Have you found a solution yet
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): have the same problem
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Arvid de Jong

79500821

Date: 2025-03-11 12:58:49
Score: 0.5
Natty:
Report link

Adding on @Vikas's answer, you can implement more granular control in your S3 bucket CORS policy like this:

[
    {
        "AllowedHeaders": [
            "*"
        ],
        "AllowedMethods": [
            "POST",
            "GET",
            "PUT"
        ],
        "AllowedOrigins": [
            "https://*.example.com",
            "http://localhost:*",
            "https://*.test.example.com"
        ],
        "ExposeHeaders": [
            "ETag",
            "Content-Length",
            "Content-Type"
        ],
        "MaxAgeSeconds": 3600
    }
]
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Vikas's
  • Low reputation (0.5):
Posted by: SKJ

79500820

Date: 2025-03-11 12:58:49
Score: 2
Natty:
Report link

I've worked out what the problem was here. I had the .alert(isPresented:) on the Connect Sheet but of course, the connect sheet was itself set to hide (via the 'show' boolean). This meant that the alert only became visible if I re-triggered the view to allow me to login again.

Before, the boolean was set correctly but there was no view to show the alert. I've fixed it by attaching the alert to a view that is permanently visible.

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

79500816

Date: 2025-03-11 12:57:49
Score: 4
Natty:
Report link

you are waiting 60 seconds for your content? I would say the problem is in your api instead of frontend, can you in anyway batch your requests, so you are sending more requests in order to receive smaller responses?

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

79500803

Date: 2025-03-11 12:52:47
Score: 2.5
Natty:
Report link

I doubt it's possible, just add a link to the sharepoint slides in the PBI button, with a fancy button maybe to make it look nicer.

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

79500802

Date: 2025-03-11 12:52:47
Score: 3
Natty:
Report link

@Jesse Chisholm's answer is great. I would just add the following:

menuHeader.IsHitTestVisible = false;

This allows mouse clicks on the textbox to be handled by parent (menuitem) and also avoids the mouse cursor change.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Jesse
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Eric L

79500799

Date: 2025-03-11 12:51:47
Score: 0.5
Natty:
Report link

Using CASE WHEN col1 = 'b' THEN 1 ELSE 0 END to flag 'b' values, aggregating these flags per FKey with COUNT(), and applying a HAVING clause filters groups where 'b' appears more than once.

SELECT FKey
FROM your_table
GROUP BY FKey
HAVING COUNT(CASE WHEN col1 = 'b' THEN 1 END) > 1;

output:

FKey
-----
11
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kamran Khalid

79500792

Date: 2025-03-11 12:48:47
Score: 0.5
Natty:
Report link

Here's a tweak for @Motine's excellent answer, because I discovered that it no longer worked after updating to selenium-webdriver 4.26. For 4.26 (and presumably later versions, though I haven't tested it!):

module Capybara::Node::Actions
  alias_method :original_attach_file, :attach_file

  def attach_file(*args, **kwargs)
    implement_hacky_fix_for_file_uploads_with_chromedriver
    original_attach_file(*args, **kwargs)
  end

  def implement_hacky_fix_for_file_uploads_with_chromedriver
    return if @hacky_fix_implemented
    Capybara.current_session
    capybara_selenium_driver = session.driver
    selenium_webdriver = capybara_selenium_driver.browser
    bridge = selenium_webdriver.send(:bridge)
    bridge.add_commands({upload_file: [:post, "session/:session_id/file"]})
    @hacky_fix_implemented = true
  end
end
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Motine's
  • Low reputation (0.5):
Posted by: Michael Smart

79500791

Date: 2025-03-11 12:48:47
Score: 2
Natty:
Report link

i have faced same issue just day before yesterday until now, (upto 3 days), but i finally fixed it by updating Vs code version( to 1.98.1) & vscode-icons extension. then, i uninstall and install that extension multiple times along with restarting the vscode.

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

79500785

Date: 2025-03-11 12:45:46
Score: 2.5
Natty:
Report link

Just be aware of python version in my case was v3 so you need to run with apt-get install python3-pip

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

79500771

Date: 2025-03-11 12:42:45
Score: 4.5
Natty:
Report link

Looks like we found a solution by setting up consent mode, following these instructions:
https://www.youtube.com/watch?v=MqAEbshMv84

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Typo

79500770

Date: 2025-03-11 12:42:45
Score: 2.5
Natty:
Report link

Came along this thread having similar issue and it helped me to understand my problem.
But it still was not a solution to my problem..
So here is my "solution" for docker rootless with data on a CIFS share.

In my case, the volume was mounted as CIFS share on host.
Mounting it in context of docker rootless user fixed it for me.

First we need to know UID and GID of the user docker rootless is running as.

# UID
id -u {USERNAME}

# GID
id -g {USERNAME}

Now we add uid and gid to mount options of our cifs share in /etc/fstab e .g.

# just a simplified example
//host/share /media/user/share cifs uid=1000,gid=1000 0 0

After remount the cifs share is running in same user namespace as docker rootless and should work as expected.

For systemd mount unit just extend your Options as follows

# just a simplified example
...
[Mount]
What=//host/share
Where=/media/user/share
Type=cifs
Options=uid=1000,gid=1000
TimeoutSec=30
...
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): having similar issue
  • Low reputation (1):
Posted by: S952mwUM

79500758

Date: 2025-03-11 12:38:44
Score: 2
Natty:
Report link

I added wire:ignore to the alert container, and this resolved the issue:

<div id="alert-container" wire:ignore>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Matilda Smets

79500756

Date: 2025-03-11 12:37:44
Score: 4
Natty:
Report link

it was extension Indent Rainbow that has been enabled

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

79500748

Date: 2025-03-11 12:34:43
Score: 5
Natty:
Report link

Df["x"] = df1.y

Why I am getting this error while assigning a column as new column

Reasons:
  • Blacklisted phrase (1): I am getting this error
  • RegEx Blacklisted phrase (1): I am getting this error
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ashok Kumar Bhutia

79500741

Date: 2025-03-11 12:32:42
Score: 3
Natty:
Report link

The only approach I've seen is to have a separate copy of the deployment settings file for each environment

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

79500733

Date: 2025-03-11 12:30:42
Score: 2.5
Natty:
Report link

Have you tried a UI component library? For example, shadcn ui? Depending on your frontend framework/requirements. This is worth exploring? It's touted for its web accessibility.

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Emmanuel Akala

79500730

Date: 2025-03-11 12:28:41
Score: 2.5
Natty:
Report link

Late to the party but I ended up using host.minikube.internal

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

79500722

Date: 2025-03-11 12:25:39
Score: 1.5
Natty:
Report link

In my initial post, I wrote:

However, I am wondering if there might not be a better way to do this argument validation. Potentially using a third party library. I guess my point is that I am feeling that I might be reinventing the wheel and that people smarte than me likely faced this issue before and probably implemented a better solution.

I found that I could use either attrs, pydantic, or beartype to do what I wanted so I implemented solutions using each to test them and decide for myself what seems to make more sense for my project. typeguard was another alternative which I haven't tested.

Below are the three implementations.

attrs

import attrs

@attrs.define
class GetAttrs:
    id: str | list[str] = attrs.field(
        validator=attrs.validators.or_(
            attrs.validators.instance_of(str),
            attrs.validators.deep_iterable(
                member_validator=attrs.validators.instance_of(str),
                iterable_validator=attrs.validators.instance_of(list),
            ),
        )
    )
    id_type: str = attrs.field(validator=attrs.validators.instance_of(str))
    ctry_code: str = attrs.field(default = "", validator=attrs.validators.matches_re(r"[A-Z]{3}$|^LOCAL$|^$"))
    is_alive: bool = attrs.field(default = False, validator=attrs.validators.instance_of(bool))

    def get(self, **kwargs):
        # doing some stuff
        object1 = Object(kwargs)
        # doing some other stuff to get data
        return data


GetObj = GetAttrs(id=["id1", "id2"], id_type="myidtype")
GetObj.get(kv1={"k1": 1, "k2": 2}, kv2="test")

My main issue with this solution is that I have to pass kwargs to the method get() and not at the instanciation of GetAttrs. From what I found, I could pass kwarg at the instanciation of GetAttrs but it does not seems super clean. However, I good point is that as I am now planning to use attrs in my modules, using it here would not lead to multiplication of third party libraries.

pydantic

from typing import Literal
from pydantic import Field, validate_call

type Liststr = list[str]

@validate_call
def get_pydantic(id: str | Liststr,
                 id_type: str,
                 ctry_code: str = Field(default="", pattern=r"^[A-Z]{3}$|^LOCAL$|^$"),
                 is_alive: bool = False,
                 **kwargs ):
    # doing some stuff
    object1 = Object(kwargs)
    # doing some other stuff to get data
    return data

    get_pydantic("id"=["id1", "id2"], id_type="myidtype", kv1={"k1": 1, "k2": 2}, kv2="test")

Works quite well and I have no real concern with this solution. However, the decorator @validate_call is a very tiny part of pydantic, which does many other things, so it might make sense to use something dedicated to argument validation with a bit less scope.

beartype

from typing import Annotated, Literal, Union
import re
from beartype import beartype
from beartype.cave import  IterableType
from beartype.vale import Is

IsCtry = Annotated[str, Is[lambda string: re.fullmatch(r"[A-Z]{3}$|^LOCAL$|^$", string)]]

@beartype
def get_beartype(id: Union[str, IterableType[str]],
                 id_type: str, 
                 item_type: str,
                 ctry_code: IsCtry = "",
                 is_alive: bool = False,
                 **kwargs
                 ):
    # doing some stuff
    object1 = Object(kwargs)
    # doing some other stuff to get data
    return data

get_beartype(id=["id1", "id2"], id_type="myidtype", kv1={"k1": 1, "k2": 2}, kv2="test")

Works quite well and I found it quite elegant. I do not see any strong issue and as I want to use attrs in my module, I have the impression that I don't have the strong overlap with it that pydantic might have. So I have decided to use it as my solution.

Hope that helps anyone who might have a similar problem. Further any feedback on how thos implementations could be improved is very welcome.

Reasons:
  • Whitelisted phrase (-1): Hope that helps
  • Whitelisted phrase (-1): solution is
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): have a similar problem
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Aristide

79500720

Date: 2025-03-11 12:24:39
Score: 0.5
Natty:
Report link

You can try the above Solution if you Package.json file is corrupted or not working but if its ok. then just simply go to terminal and write,

cd my-react-app

hope that helps :)

Reasons:
  • Whitelisted phrase (-1): hope that helps
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jatin Rathi

79500719

Date: 2025-03-11 12:24:39
Score: 1.5
Natty:
Report link

i found this solution for my case where i want to calculate orders with only one product, so i changed it like that and it works

Number of orders with one id product = 
CALCULATE(
    DISTINCTCOUNT(Orders[order number]), 
    FILTER(
        SUMMARIZE(Orders, Orders[order number]), 
        CALCULATE(
            DISTINCTCOUNT(Orders[Id_product]), 
            ALLEXCEPT(Orders, Orders[order number])
        )=1
    )
)
Reasons:
  • RegEx Blacklisted phrase (1): i want
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mateusz Brzuszkiewicz

79500715

Date: 2025-03-11 12:23:38
Score: 4.5
Natty:
Report link

same issue here, network_access enabled in extension toml setting, but still got error

Reasons:
  • RegEx Blacklisted phrase (1): same issue
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Iqbal DP

79500714

Date: 2025-03-11 12:23:38
Score: 4
Natty:
Report link

We can make use of the fs module. Here's the link to use it.

Configuration example for SSL implementation using fs module

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

79500708

Date: 2025-03-11 12:21:38
Score: 2.5
Natty:
Report link

This very fact that you cannot initialize a class member of the same type as the class on the stack, is something that should have been fixed a long time ago. The C++ standard should have tackled this issue, instead of debating of useless features, such construct is essential to become an integral part of C++. I cannot understand why a compiler cannot calculate the size of Foo, in a two pass or three pass compilation and linkage.

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sven Van de Velde

79500707

Date: 2025-03-11 12:20:37
Score: 2.5
Natty:
Report link

Old thread, but stumbled upon this when having a similar problem, hoping someone in the future may see this aswell:

I just had the error: Error: Renderer 'undefined' is not imported. Please import it first.

The Problem at the end was, that i was using

import * as echarts from 'echarts';

but also

import { EChartsOption, SeriesOption } from 'echarts';

The second line was throwing everything off. So use the "namespace" echarts and dont import anything other than * as echarts.

Reasons:
  • Has code block (-0.5):
  • Me too answer (2.5): having a similar problem
  • Low reputation (0.5):
Posted by: Endunry

79500692

Date: 2025-03-11 12:16:36
Score: 5
Natty: 4.5
Report link

Чи можна пробачити зраду?

Зрада — це слово, яке болить навіть тоді, коли його лише вимовляєш. Воно асоціюється з болем, розчаруванням, втратою довіри. Але чи завжди зраду потрібно карати осудом? Чи можна її пробачити?

Кожна людина хоча б раз у житті переживала момент зради — від друзів, близьких, коханих. Це рана, яка довго не гоїться. Але життя складне й неоднозначне. Іноді зрада — це не просто злий умисел, а наслідок слабкості, страху або помилки. Тоді виникає інше питання: якщо людина щиро кається, чи варто дати їй шанс?

Пробачити — не означає забути. Це радше внутрішній вибір: не дозволити болю керувати собою, а дати можливість зцілитися. Прощення не звільняє зрадника від відповідальності, але звільняє нас від тягаря ненависті. Пробачити — це вияв сили, а не слабкості.

Однак пробачення можливе лише тоді, коли є щирість, усвідомлення провини та бажання змінитися. Якщо зрада повторюється — це вже не помилка, а свідоме зневажання почуттів. У такому разі прощення стає самообманом.

Отже, зраду можна пробачити, але не кожну і не завжди. Усе залежить від обставин, щирості людини та нашої здатності розрізнити слабкість від зневаги. Іноді прощення — це шлях до внутрішнього миру, а іноді — крок назад. Важливо не тільки пробачати інших, а й не зраджувати себе.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: имм

79500674

Date: 2025-03-11 12:09:34
Score: 2
Natty:
Report link

Was wondering the same thing and came across this question.

Apparently Sentry is using an AsyncLocalStorage based on the Node's async_hooks API. (on previous versions, the Domain API was used).

I'm sure someone smarter than me can give a more detailed explanation but from what I understood this API allows you to get the ID of the current execution context (which would be the callback passed to the withScope method in your example). Internally Sentry will then associate this newly created scope with the execution context's ID. Now, when captureException is called within the same execution context, Sentry can use the ID to look up the scope automatically without you having to explicitely pass it to that method.

Reasons:
  • Blacklisted phrase (2): Was wondering
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: LakeToya

79500671

Date: 2025-03-11 12:09:34
Score: 0.5
Natty:
Report link

You assert that a link is equal to a relation.

But you should assert that a relation is equal to a relation.

assertEquals(IanaLinkRelations.SELF, ex.getSelfLink().getRel());
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Geba

79500666

Date: 2025-03-11 12:07:34
Score: 0.5
Natty:
Report link

for anyone still encountering this issue, inserting the debug urls at the top of the list works

if settings.DEBUG:
    import debug_toolbar
    urlpatterns.insert(0,path(r'__debug__/', include(debug_toolbar.urls)),)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: caleo

79500661

Date: 2025-03-11 12:05:33
Score: 2.5
Natty:
Report link

Mh.. It looks like fetchAllWorklogs is not being mocked properly in your test, which is why Jest isn't tracking calls to it.

You are mocking JiraUtils but not fetchAllWorklogs directly. Modify your mock to explicitly mock fetchAllWorklogs:

import * as JiraUtils from "../src/services/JiraUtils";

jest.mock("../src/services/JiraUtils", () => {
  const actual = jest.requireActual("../src/services/JiraUtils");
  return {
    ...jest.genMockFromModule("../src/services/JiraUtils"),
    getIssuesWithWorklogs: actual.getIssuesWithWorklogs, // Keep this function real
    fetchAllWorklogs: jest.fn() // Ensure fetchAllWorklogs is properly mocked
  };
});

And since fetchAllWorklogs is called asynchronously inside a then, ensure your test is waiting for it. Add await in expect() to ensure it has had time to execute:

await new Promise((resolve) => setTimeout(resolve, 100)); // Ensures async execution completes
expect(JiraUtils.fetchAllWorklogs).toHaveBeenCalledWith(result[2].id);

Can you add this and check if it logs anything?

console.log("Mock calls:", JiraUtils.fetchAllWorklogs.mock.calls);
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Studio Wai

79500649

Date: 2025-03-11 12:00:32
Score: 0.5
Natty:
Report link

You need to personalize a Contact Us form for your website to enhance customer interaction and user experience. An ecomexpert can personalize the form based on your business needs and brand using advanced customization processes. An ecomexpert can include features like dropdowns, file upload, and condition logic in the form to enhance its usability using advanced customization processes.

A properly fitting contact form should have the minimum fields like name, email, subject, and message but can include order-specific questions, feedback surveys, or support questions. Adding automation through chatbots or auto-reply will enhance it. Integrating with CRM tools like HubSpot, Salesforce, or email marketing tools will make it automate even more.

For ecom expert websites, one can apply dynamic features such as order inquiry tracing, product question tracing, and real-time customer support. An adjustable speed-load form gives an uninterrupted experience to the user regardless of the platform.

Security too is of first priority. A spam protection service is offered by an ecomexpert using CAPTCHA and verification techniques. An organized and neat contact form is extremely useful to build customer faith and interest and thus drive improvement in conversion rate. Investment in business by professionals enables your contact form to be optimized for the user experience as well as enables your business to grow.

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

79500642

Date: 2025-03-11 11:57:31
Score: 2.5
Natty:
Report link

After the installation of the Uniface IDE, got to the start menu and search for license activation. In the opening window enter the Entitlement ID getting with the confirmation mail of the Rocket® Uniface

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

79500634

Date: 2025-03-11 11:54:30
Score: 0.5
Natty:
Report link

Use multi-cursor selection for copying code while ignoring what is folded in.

Press Ctrl + Shift and without releasing them start to highlight text that you want to copy with your mouse.

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

79500625

Date: 2025-03-11 11:52:29
Score: 3.5
Natty:
Report link

Are you using the Access token value or the ID token value? It won't work with Access Token. Try using ID token value that you get after successful oauth.

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
Posted by: dishant makwana

79500610

Date: 2025-03-11 11:47:29
Score: 1.5
Natty:
Report link

This command just produces flags like these `-I/usr/include/python3.10 -I/usr/include/python3.10 -Wno-unused-result -Wsign-compare -g -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -g -fwrapv -O2 -Wall` - you can set up your parameters (e.g. path to include dir of Python installation %userprofile%\AppData\Local\Programs\Python\Python310\include). a python3-dev package should be installed to run it on Linux, I'm not sure if it's available on Windows.

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

79500609

Date: 2025-03-11 11:47:28
Score: 2.5
Natty:
Report link

I found that this is bugs or limitation in extjs . after open more than 3 modal windows on top one another, this happen on chrome,firefox , opera , edge .

please note that prompt /alert also count as another windows

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

79500595

Date: 2025-03-11 11:43:28
Score: 1.5
Natty:
Report link

To clarify things, IAS does authentication, AMS does authorization, XSUAA does both authentication and authorization, which will eventually be replaced by IAS+AMS.

Currently, SAP Cloud SDK Java has a beta support for using IAS. (JS does not support IAS and is aware of this feature request.)

AMS has its own library. And assuming you are a CAP Java user, it is already feasible to integrate a CAP application with AMS. Check https://cap.cloud.sap/docs/releases/oct24#tool-support-for-ams for tool support when using AMS in CAP project.

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

79500583

Date: 2025-03-11 11:40:27
Score: 2
Natty:
Report link

Quite old question, but this was my fix as of 2025:

npm install -D tsx

in package.json:

{
    "scripts": {
        "test-old": "mocha -r ts-node/register tests/**/*.test.ts",
        "test": "mocha -r tsx tests/**/*.test.ts",
    }
}

ts-node/register did not work, but tsx saved the day. Thanks to Jazcash

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): did not work
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Alex

79500582

Date: 2025-03-11 11:40:26
Score: 5.5
Natty:
Report link

Having the same issue, but my ticket got closed and was told it's a duplicate ticket of a ticket 8 years old. As if the same issue and fix from 8 years ago is going to be valid.

I'd expect the lovely people on this site with down vote your issue and this will also get closed. They get a little power trip with the Admin button.

Reasons:
  • RegEx Blacklisted phrase (2): down vote
  • No code block (0.5):
  • Me too answer (2.5): Having the same issue
  • Low reputation (0.5):
Posted by: DaveYme

79500566

Date: 2025-03-11 11:35:25
Score: 1.5
Natty:
Report link
#!/bin/bash
echo "Enter a grade"
read grade
if [ $grade == "A" ]
then
  basic=6000
elif [ $grade == "B" ]
then
  basic=5000
else
  basic=4000
fi
echo "Your basic is $basic"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gotluru Tejasree

79500564

Date: 2025-03-11 11:34:25
Score: 1.5
Natty:
Report link
@for (item of ('common.arrayOf Something' | translate); track item) {
  <li class="title-18 normal">{{item}}</li>
}

I do it like this

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

79500552

Date: 2025-03-11 11:29:24
Score: 2
Natty:
Report link

In my case I have to uncheck the option under Xcode > Settings... > Text Editing > Wrap lines to editor width

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

79500542

Date: 2025-03-11 11:25:23
Score: 1
Natty:
Report link

https://github.com/djunsheep/CRANextra/blob/main/README.md

add the following to the .Rprifile and Rprofile.site

# fixing the CRANextra warnings when installing packages
# the following two chucks of scripts will/may run from start of R
local({
  r <- getOption("repos")  # Get the current repositories
  r <- r[names(r) != "CRANextra"]  # Remove CRANextra
  options(repos = r)  # Update the repositories
})

# the cloudyr project
# https://cloudyr.github.io/drat/
if (!require("drat")) {
    install.packages("drat")
    library("drat")
    drat::addRepo("cloudyr", "http://cloudyr.github.io/drat") # Add coudyr to repositories
}
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: flowoverstack

79500539

Date: 2025-03-11 11:23:23
Score: 2
Natty:
Report link

if someone has the video size problem in full-screen mode in Chrome Android context;

the problem may come from default page zoom ; parameters / content parameter / Accessibility / default page zoom. set it back to 100% (or around 91%) and it should be good.

and a faster way, not modifying parameters, is to show the web page in 'version for computer' (parameter three dots) and from there, put the video in full-screen mode.

friendly

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

79500529

Date: 2025-03-11 11:19:22
Score: 0.5
Natty:
Report link

A similar question was asked here.

https://community.shopify.com/c/shopify-design/sorting-number-in-natural-order-in-collections/m-p/1850181

Since the values are likely being treated as strings the order isn't based on numeric values (but string values).

This is verbose code I've just smashed out that for production would need to be cleaned up, added whitespace control and made more efficient - but should be easier to read for this thread.

{% assign myArray = "11,7,4,3,12,9,2,8,6,10,1,5" | split:"," %}
{% assign myNewArray = "" %}
{% assign zeroFill = "00000000" %}

{% for i in myArray %}
  {%  assign thisFill = zeroFill | slice:i.size, zeroFill.size %}
  {%  assign newValue = thisFill | append:i | append:"," %}
  {%  assign myNewArray = myNewArray | append:newValue %}
{%  endfor %}

{% assign  myNewArray = myNewArray| split:"," | sort %}

{%  for i in myNewArray %}
{{  i | abs  }}<br />
{%  endfor %}

Does that help?

I also touch on something similar here.
https://freakdesign.com.au/blogs/news/sort-products-in-a-shopify-collection-by-metafield-value-without-javascript

He adds zeros to each number in order to work around the issue.

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

79500510

Date: 2025-03-11 11:09:20
Score: 2.5
Natty:
Report link

I cannot reproduce on Mathlib (which was the Lean project I happened to have open when I read your question)

buzzard@brutus:~/mathlib/Mathlib$ cat > A.lean
namespace inner
buzzard@brutus:~/mathlib/Mathlib$ cat > B.lean
namespace inner
buzzard@brutus:~/mathlib/Mathlib$ cat > C.lean
import Mathlib.A
import Mathlib.B

I can open C.lean without any errors. Indeed this pattern is commonplace in mathlib. Are you sure you've diagnosed your problem correctly?

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Kevin Buzzard

79500503

Date: 2025-03-11 11:07:19
Score: 2.5
Natty:
Report link

Try to rename the project name and update the name in the package.json file.

package.json file

{ "name": "update name of project here", }

now start the server.

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

79500497

Date: 2025-03-11 11:06:19
Score: 2
Natty:
Report link

If you are building an app in Flutter and any of these solutions doesn't work then run -
- flutter clean
- flutter pub get

or trying to clean gradle -
- cd android
- ./gradlew clean

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

79500494

Date: 2025-03-11 11:05:19
Score: 1.5
Natty:
Report link

Use background-attachment: scroll for Safari: As you are already applying a media query to change the background-attachment for mobile devices (background-attachment: scroll), it seems that this is not being applied to all mobile browsers effectively.

Use transform for smoother parallax effect: Instead of relying on background-attachment: fixed, you can achieve a parallax effect using transform and translate3d, which is more stable across browsers.

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

79500490

Date: 2025-03-11 11:04:18
Score: 3
Natty:
Report link

The issue was the size of the SVG I tried to include, it was too big, I had to resize from 471 to 50.

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

79500489

Date: 2025-03-11 11:04:18
Score: 1
Natty:
Report link

wampserver use different php.ini for cli and web

for cli , if you need to edit the php.ini under bin/php/phpX.XXXX/php.ini

so if the program is for cli, simply uncomment the intl.dll

for web , you can edit under apache folder

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

79500488

Date: 2025-03-11 11:04:18
Score: 2.5
Natty:
Report link

Well I finally found the answer myself. I had to open a code window and click on the Tools menu. This revealed a list containing References... Macros... Options... and (wait for it) Oldname Properties... and when I clicked on this last one it opened a rather boring page with a number of text boxes, the first one being labelled Project Name. This contained the old name, so I entered the new name.

Seemed a rather silly place to hide this information, but then it is a Microsoft Application so one shouldn't be too surprised.

By the way, when I clicked on the link in the email I received from Stack Overflow, it led me to a login page where none of my saved passwords worked. Eventually I tried going to https://stackoverflow.com and found I was automatically logged in straight away! I'll never understand web security...

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

79500486

Date: 2025-03-11 11:03:18
Score: 2.5
Natty:
Report link

Solved with @Zacharias answer.
For me the problem was at webserver level. I had the Referrer-Policy header set to strict-origin. By definition that header value makes the webserver to use only the origin and only if HTTPS. Changing that header to 'same-origin' solved the problem in dev environment (because i was on HTTP)

Reasons:
  • No code block (0.5):
  • User mentioned (1): @answer
  • Low reputation (1):
Posted by: Raffaele Bertani

79500478

Date: 2025-03-11 10:59:17
Score: 1
Natty:
Report link

Once your model loads once in Panda3D it gets stored in the model cache; if the textures failed to load, there may now be a version of the model cached without loaded textures. Open the egg file in a text editor and save it again; that will update the modification timestamp on the file, and Panda will re-load it from disk. Then you can check if the same errors are still displayed.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
Posted by: rdb

79500474

Date: 2025-03-11 10:57:17
Score: 0.5
Natty:
Report link

Add to .vscode/settings.json:

"python.testing.unittestArgs": [],
"python.testing.unittestEnabled": true,

In root of your project create a .env file:

MANAGE_PY_PATH=manage.py

if you don't want create .env file in root, add to .vscode/settings.json:

"python.envFile": "${workspaceFolder}/-your-folder-/.env"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: sav21age

79500472

Date: 2025-03-11 10:56:17
Score: 0.5
Natty:
Report link

I encountered a similar problem recently. In a solution file, I have my library project and a web API project. In both projects, I installed a nuget package of a different project I own. I had a problem of locally referencing that project in the web API.

This was because I had referenced the nuget package in the library, I couldn't use a local reference in the web API. This is not mentioned in any of the error messages. I knew it was a problem only on the web API because the assembly path updates when I add the reference to other projects.

So it should also help if you look into your references if any are causing conflicts with your library DLL. It might be that other referenced libraries/projects you have in the new web app is using a different version of the library DLL.

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

79500471

Date: 2025-03-11 10:55:16
Score: 0.5
Natty:
Report link

Correct way to mock sftp-list operation where attributes can be available inside foreach loop:

\<flow doc:name="Flow" \>

\<file:list doc:name="List" config-ref="File_Config" directoryPath="/tmp/"/\>

\</flow\>

\<munit-tools:mock-when processor="file:list"\>

\<munit-tools:with-attributes\>

   \<munit-tools:with-attribute attributeName="doc:name" whereValue="List"/\>

\</munit-tools:with-attributes\>

\<munit-tools:then-return\>

   \<munit-tools:payload value="#\[\[MunitTools::createMessage( &quot;ITEM-1&quot;,  &quot;text/plain&quot;, { property : 'ATTRIBUTE-1'}, null) , MunitTools::createMessage( &quot;ITEM-2&quot;,  &quot;text/plain&quot;, { property : 'ATTRIBUTE-2'}, null)\]\]" /\>

 \</munit-tools:then-return\>

 \</munit-tools:mock-when\>
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: PSAFOL

79500469

Date: 2025-03-11 10:54:16
Score: 1.5
Natty:
Report link

You can doit by using the Null-coalescing assignment operator ??=

$ExistingVar = 'set by script'

$MyPath ??= $env:PWD
$MyVar ??= 'default value'
$ExistingVar ??= 'Cannot set this string to not null vars'

echo $MyPath
echo $MyVar
echo $ExistingVar
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: LittleEaster

79500464

Date: 2025-03-11 10:52:15
Score: 5.5
Natty: 4
Report link

guethis is guest yser user guestst

Reasons:
  • Contains signature (1):
  • Low length (2):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: guest

79500451

Date: 2025-03-11 10:47:14
Score: 3.5
Natty:
Report link

It is very true. I had to downgrade to visual studio 2015 and work with 4.5.2 framework. Viewer added easily. I followed advise on stackoverflow to copy .vb, designer and resx into my current project (2015), added the items, excluded from project and added only the .vb form file. All controls appeared correctly. It is advisable to approach that if a control is not dependent on a reference library.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dan K

79500447

Date: 2025-03-11 10:46:14
Score: 2
Natty:
Report link

If you're using the http-server package from npmjs, there is a way to have a catch-all redirect to itself again for SPAs like Angular: https://www.npmjs.com/package/http-server#catch-all-redirect

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

79500429

Date: 2025-03-11 10:39:12
Score: 1
Natty:
Report link

You can also simply do:

tree.tk.call('.'+tree_name, 'tag', 'add', tag_name, f'{{{iid}}}')

Note that to do this you also have to add the option name=tree_name when defining the Treeview object.

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

79500427

Date: 2025-03-11 10:38:12
Score: 1
Natty:
Report link

You're on the right track with setting up a one-to-many relationship in PostgreSQL using Spring Data JDBC. The issue you're facing is common when using LEFT JOIN, It duplicates the parent row for each child, which isn't ideal since you're using a Set<ChildEntity>.
Since Spring Data JDBC automatically maps child entities when fetching a parent, you don’t need to manually join tables. Instead of using LEFT JOIN, just fetch the parent entity directly or fetch separately the child records separately.
SELECT * FROM parent_table WHERE position_id = ?; or SELECT * FROM child_table WHERE parent_table_id = ?;

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

79500421

Date: 2025-03-11 10:36:11
Score: 0.5
Natty:
Report link

why wouldn't contains() or endswith() be indexed as well?

NOTE: contains() and endswith() are NOT indexed because they require scanning every row, making them slow. SharePoint does not support reverse or full-text indexing in Graph API, which would be needed for contains() and endswith(),

Recommended way is to use startswith() for fast Graph API queries For more details Refer this QnA.

startswith() is indexed because SharePoint stores data in sorted and indexed structure, allowing quick lookups without scanning the entire dataset, which makes more efficient compared to contains() and endswith() .

Generated the access token and used the same $filter query with startswith():

GET https://graph.microsoft.com/v1.0/sites/<site-id>/lists/<list-id>/items?$filter=startswith(fields/FileLeafRef, 'query')

enter image description here

Reference:

Microsoft QnA Blog on startswith

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): why wouldn't
  • Low reputation (0.5):
Posted by: Pratik Jadhav

79500420

Date: 2025-03-11 10:36:11
Score: 0.5
Natty:
Report link

After below changes, I am able to access individual API and also via ocelot gateway using docker.

- Removed ports definition from docker-compose.yml
- In ocleot.json included service name as host and port as 8080
- Exposed only 8080 as port from API's docker file

Final ocelot.json

{
"Routes": [
{
"DownstreamPathTemplate": "/api/products",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "productservice",
"Port": 8080
}
],
"UpstreamPathTemplate": "/products",
"UpstreamHttpMethod": [ "Get" ]
},
]
}

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

79500416

Date: 2025-03-11 10:35:11
Score: 3.5
Natty:
Report link

Please check the documentation
https://git-extensions-documentation.readthedocs.io/en/release-5.1/remote_feature.html#pull-changes

pull options

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

79500405

Date: 2025-03-11 10:30:10
Score: 1.5
Natty:
Report link

How can I change the CSV output such a way that it removes the trailing zeros and does not use exponential notation (without explicitly using Decimal(18,2) data type)?

Follow the below steps to get the expected output:

Step1: Please try using the following expression to achieve the expected results. replace(toString(toDecimal(Data)),'.00','') enter image description here

Step2: I have used the same sample data that you provided. enter image description here

Step3: Use the following expression in the derived column as required. replace(toString(toDecimal(Data)),'.00','') enter image description here

Step4: Output is as expected as per your requirement. enter image description here

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How can I
  • Low reputation (1):
Posted by: Jagadish S

79500400

Date: 2025-03-11 10:29:10
Score: 3
Natty:
Report link

The colored "odoo" logo is in ~/odoo/addons/web/static/img/logo.png if that is what you where looking for.

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

79500393

Date: 2025-03-11 10:26:09
Score: 0.5
Natty:
Report link

From shelve documentation, i can see use Shelf.close() if you want to close a shelf; use flag='r' ensures read-only mode and flag='c' allows creation if it doesn't exist. Other flag modes are w open an existing shelf; n always create a new, empty shelf, open for reading and writing.

https://docs.python.org/3/library/shelve.html

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Coco Q.

79500386

Date: 2025-03-11 10:24:09
Score: 1.5
Natty:
Report link

What worked for me with physical device

Just Invalidate caches in android studio

File >> Invalidate Chaces

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

79500381

Date: 2025-03-11 10:23:08
Score: 0.5
Natty:
Report link

In my case the issue was a wrong build command for meson. I.e:

meson setup build --reconfigure -Db_coverage=true -Dc_args=-Og,-w

Is wrong, and should instead be:

meson setup build --reconfigure -Db_coverage=true -Dc_args=-Og

Adding an extra -w causes meson to pass that -w to a default C compiler as a test, which causes the compiler to return an exception. Meson then decides that the compiler doesn't work - and announces that the compiler for "c" is not specified for the host machine.

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

79500371

Date: 2025-03-11 10:19:08
Score: 3.5
Natty:
Report link

My recommend is Mongoose to management mongodb in nest.js project.

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

79500364

Date: 2025-03-11 10:16:07
Score: 1
Natty:
Report link

the watermark logo is being set to a fixed size (100px 100px) using background-size, which can cause it to appear too large on smaller screens, especially on mobile devices. To make the watermark more responsive and avoid it being too big on smaller screens, you can use media queries and relative sizing.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user23665954

79500357

Date: 2025-03-11 10:14:06
Score: 1
Natty:
Report link

Every day, I look forward to my quick mental workout on Wordle Today (https://wordletoday.cc/). It’s the perfect way to start my morning—simple, fun, and just the right amount of challenge.

Today’s puzzle had me stumped at first, but after a few strategic guesses ("CRANE," "SLICE," "THIEF"), I finally cracked it with "OLIVE"! That moment when all the tiles turn green is so satisfying.

If you haven’t tried Wordle Today yet, I highly recommend it. It’s a great way to sharpen your mind and have a little fun. Plus, it’s free and easy to play!

What was your Wordle Today experience? Share your results below! 🎉Every day, I look forward to my quick mental workout on Wordle Today (https://wordletoday.cc/). It’s the perfect way to start my morning—simple, fun, and just the right amount of challenge.

Today’s puzzle had me stumped at first, but after a few strategic guesses ("CRANE," "SLICE," "THIEF"), I finally cracked it with "OLIVE"! That moment when all the tiles turn green is so satisfying.

If you haven’t tried Wordle Today yet, I highly recommend it. It’s a great way to sharpen your mind and have a little fun. Plus, it’s free and easy to play!

What was your Wordle Today experience? Share your results below! 🎉

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Emily zhou

79500356

Date: 2025-03-11 10:14:06
Score: 2
Natty:
Report link

Experiencing the same issue with .net 9 :-(

process seems hard to solve, it needs a notification system

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

79500334

Date: 2025-03-11 10:09:05
Score: 3
Natty:
Report link

Tailwind CSS new version is currently not working. Add the different version of Tailwind. It will work

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

79500331

Date: 2025-03-11 10:09:05
Score: 3
Natty:
Report link

I tried doing this, but every time I force quit the app and reopen it, the authentication does not persist

class SupabaseService {
  Future initialize() async {
    await Supabase.initialize(
      url: supabaseUrl,
      anonKey: supabaseKey,
    );
  }
}

// register the service
await locator<SupabaseService>().initialize(); 

// .. some code

if (!locator.isRegistered<SupabaseClient>()) {
    locator.registerLazySingleton<SupabaseClient>(
      () => Supabase.instance.client,
    );
}

I had managed to make it persist by using local storage and saving the sessionString and recovering it. But now that I have upgraded my flutter and supabase version, the persistSessionString no longer exists

String? sessionString =
      locator<SupabaseClient>().auth.currentSession?.persistSessionString;
// Add to local storage

// Get session string from local storage and recover session
await locator<SupabaseClient>().auth.recoverSession(sessionString);

Anyone got any ideas?

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

79500317

Date: 2025-03-11 10:05:04
Score: 2.5
Natty:
Report link

You can try to use:

'php_class_name' => self::class

Using this undocumented vc_map attribute allowed me to use completely different classname inside custom namespace.
source: https://stackoverflow.com/a/52983111/16246216

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

79500309

Date: 2025-03-11 10:03:04
Score: 0.5
Natty:
Report link

If the labels are not showing up then it means maybe fluent bit’s kubernetes filter is not configured correctly. For this you need to manually enrich the events using a custom Lua filter if the default kubernetes metadata collection isn’t sufficient.

Regarding your query, whether it requires direct calls to the Kubernetes API server via Lua scripts. Yes, Lua plugin would require direct API calls to the k8s API server to fetch Job labels. But the Fluent Bit Lua filter plugin has some limitations, like the Lua plugin does not include the necessary HTTP modules to fetch job metadata from the k8s API. To resolve this you need to enrich the data through an external processor. Refer to this How to configure Fluent Bit to collect logs for your K8s cluster blog by Giulia Di Pietro, which will be helpful to resolve the issue.

Note: If you intend to use Lua to interact with kubernetes API directly you will need to implement HTTP requests within Lua however this may require additional modules that aren't included by default fluent bit’s Lua plugin.

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

79500306

Date: 2025-03-11 10:02:04
Score: 1
Natty:
Report link

The formula should be dynamic based on your input value.

Change your formula to

formula = (x * 0.5/n) ** 2 + (y * 1.0/n) ** 2 - 1

This works fine

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

79500303

Date: 2025-03-11 10:02:04
Score: 1.5
Natty:
Report link

If you used pyproject.toml file

You may prefer list those filters in pyproject.toml file :

[tool.pytest.ini_options]
filterwarnings = [
    "ignore::DeprecationWarning"
]
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: fferses

79500302

Date: 2025-03-11 10:01:02
Score: 7.5 🚩
Natty:
Report link

did u got an solution for this

Reasons:
  • RegEx Blacklisted phrase (3): did u got an solution
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did
  • Low reputation (1):
Posted by: user2346947

79500301

Date: 2025-03-11 10:01:02
Score: 1.5
Natty:
Report link

After researching and testing more, I managed to solve this problem by acquiring Power Automate Premium license from my company and after that removing and importing the package again. This way all flows were turned on automatically after importing was done.

To my understanding majority of the flows required Premium license because they used Dataverse as the trigger.

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