79409263

Date: 2025-02-03 15:37:38
Score: 1.5
Natty:
Report link

With that syntax you're attempting to set an object to a number property.
To solve this use {'stat.dataCount': records.length} instead of
{'stat.dataCount': {$size: "$data"}}.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: hello-there-general-kenobi

79409256

Date: 2025-02-03 15:33:36
Score: 6
Natty: 7
Report link

why do we have to start the whatsapp client on multiple devices?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): why do we have to
  • Low reputation (1):
Posted by: Oriuwa Goodluck

79409251

Date: 2025-02-03 15:31:35
Score: 3
Natty:
Report link

Use this command for mac:

control ^ + -

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Syed Shayan Hasan

79409243

Date: 2025-02-03 15:27:34
Score: 0.5
Natty:
Report link

When Maxima fails to find a symbolic solution, you can always try to find a numeric solution instead:

(%i1) eq1:43=%pi/4*d*d*h$
(%i2) eq2:d1=d0-2*h$
(%i3) eq3:d0=9$
(%i4) eq4:d=(d0+d1)/2$
(%i5) solve(float([eq1,eq2,eq3,eq4]),[d,d1,h,d0]);
(%o5) [[d = 3.02775290957923, d1 = - 2.9444945848375452, 
h = 5.972247918593895, d0 = 9.0], [d = - 2.209973166368515, 
d1 = - 13.41994750656168, h = 11.20997375328084, d0 = 9.0], 
[d = 8.182220434432823, d1 = 7.364440868865648, h = 0.8177795655671762, 
d0 = 9.0]]
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Jaime Villate

79409226

Date: 2025-02-03 15:22:32
Score: 3
Natty:
Report link

In case someone else stumbles upon this thread, this seems to be a good alternative: https://github.com/velopack/velopack

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

79409219

Date: 2025-02-03 15:18:31
Score: 0.5
Natty:
Report link

You could add a Message step of type "Webhook" to call Braze /users/track API to attribute a custom user attribute, and then use this attribute for the Decision split block.

In the Webhook you have access to canvas entry properties which you can access like this:

{
  "attributes": [
    {
      "external_id": "{{${user_id}}}",
      "custom_property": "{{canvas_entry_properties.${custom_value}}}"
    }
  ]
}

and when triggering the Canvas via API passing it to the canvas_entry_properties like this

{
    "canvas_id": "<canvas id>",
    "recipients": [
        {
            "external_user_id": "<user id>",
            "canvas_entry_properties": {
                "custom_value": "Value"
            }
        }
    ]
}

enter image description here

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

79409217

Date: 2025-02-03 15:17:31
Score: 0.5
Natty:
Report link

This is work (_stream and _listener are private fields, initialising into task):

    public void Stop()
    {
        if (_listenTask != null)
        {
            _source.Cancel();

            try
            {
                _stream?.Close();
            }
            catch (Exception)
            { }

            try
            {
                _listener?.Stop();
            }
            catch (Exception)
            { }

            while (!(_listenTask.IsCanceled || _listenTask.IsCompleted || _listenTask.IsFaulted))
            {
                Thread.Sleep(1);
            }

            _listenTask = null;
            _source = null;
        }
    }
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user29484439

79409216

Date: 2025-02-03 15:16:31
Score: 3.5
Natty:
Report link

Thanks at all for your contributions. For resolving it definitifly I used $table->timestamps(2) instead of $table->timestamps() in migration file It finually work successful

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user15786446

79409214

Date: 2025-02-03 15:16:31
Score: 2
Natty:
Report link

I had the same error message if the storage account was not in the same region as the recovery vault.

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

79409205

Date: 2025-02-03 15:12:30
Score: 2
Natty:
Report link

You could do this easily with send money endpoint. If you send funds to an email which isn't signed up, the email address will receive an email notifying to sign up to redeem funds. If the funds haven't been redeemed (i.e. user signed up) in 30 days, the funds will be returned to sender's Coinbase account. And fake funding to wallet also

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: User Always keep believing in

79409189

Date: 2025-02-03 15:06:28
Score: 2
Natty:
Report link

I have this issue on my side with the right path of the collection and with the right import, and just a yarn install fix it.

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

79409171

Date: 2025-02-03 14:55:26
Score: 2.5
Natty:
Report link

You can use the DinosOffices. is a lib LibreOffice for Delphi. https://github.com/Daniel09Fernandes/DinosOffice

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

79409164

Date: 2025-02-03 14:54:26
Score: 1
Natty:
Report link

Not a stricktly the answer for width, but for heights - With focus on the terminal, Ctrl + Cmd + up /down worked on macOS.

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

79409161

Date: 2025-02-03 14:53:26
Score: 0.5
Natty:
Report link

When talking about reflection, the 2 mistakes that are most common...

  1. They want a library or compiler feature that does it all for them. Not everything is a plugin.
  2. They want to write
for (const auto& mbr : my_struct)
{
   // but what is the type of mbr now, it changes for every member
   // you cannot "loop" over things of different types.
}

But... While most programmers find 'for loop's a comfortable and familiar way of writing code it is in-fact a bit of an anti-pattern in modern C++. You should prefer algorithms and "visitation". Once you learn to give up on iteration, and prefer visitation (passing functions to algorithms), you find that the pattern I describe below is quite usable.

So what is the easy way... Given just three techniques you can roll your own reflection system in C++17 onwards in a hundred lines of code or so.

  1. You can easily "visit" every member of a tuple in a few line in C++. From - https://en.cppreference.com/w/cpp/utility/apply
template<typename... Ts>
std::ostream& operator<<(std::ostream& os, std::tuple<Ts...> const& theTuple)
{
    std::apply
    (
        [&os](Ts const&... tupleArgs)
        {
            os << '[';
            std::size_t n{0};
            ((os << tupleArgs << (++n != sizeof...(Ts) ? ", " : "")), ...);
            os << ']';
        }, theTuple
    );
    return os;
}

Understand this code before reading on...

What you need a system that makes tuples from structures. Boost-PFR or Boost-Fusion are good at this, if you want a quick-start to experiment on.

  1. The best way to access a member of a structure is using a pointer-to-member. See "Pointers to data members" at https://en.cppreference.com/w/cpp/language/pointer. The syntax is obscure, but this is a pre-C++11 feature and is a stable feature of C++.

  2. You can make a static-member function that constructs a tuple-type for your structure. For example, the code below makes a tuple of member pointers for "Point", pointers to the "offset" of the members x & y. The member-pointers can be determined at compile-time, so this comes with a mostly zero-cost overhead. member-pointers also retain the type of the object they point to and are type-safe. (Every compiler I have used will not actually generate a tuple, just generate the code produced, making this a zero-overhead technique... I can't promise this but it normally is) Example struct...

struct Point
{
    int x{ 0 };
    int y{ 0 };

    static consteval auto get_members() {
        return std::make_tuple(
            &Point::x,
            &Point::y
        );
    }
};

You can now wrap all the nastiness up in simple wrapper functions. For example.

// usage visit(my_point, [](const auto& mbr) { std::cout << mbr; });
// my_point is an object of the type point which has a get_members function.
template <class RS, class Fn>
void visit(RS& obj, Fn&& fn)
{
    const auto mbrs = RS::get_members();

    const auto call_fn = [&](const auto&...mbr)
    {
        (fn(obj.*mbr.pointer), ...);
    };
    std::apply(call_fn, mbrs);
};

To use all you have to do is make a "get_members" function for every class/structure you wish to use reflection on.

I like to extend this pattern to add field names and to allow recursive visitation (when the visit function sees another structure that has a "get_members" function it visits each member of that too). C++20 also allows you to make a "concept" of visitable_object, which gives better errors, when you make a mistake. It is NOT much code and while it requires you to learn some obscure features of C++, it is in fact easier than adding meta-compilers for your code.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Netty Unreal

79409142

Date: 2025-02-03 14:44:24
Score: 2
Natty:
Report link

Visual Studio 2022. Curiously this happens in an ATL with MFC project if the generated project_i.c is compiled prior to dllmain.cpp. The fix is to open the project file project.vcxProj in a text editor like Notepad++, find the ItemGroup containing the C/C++ files, and make sure dllmain.cpp is at the top.

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

79409138

Date: 2025-02-03 14:43:24
Score: 3
Natty:
Report link

What platform are you using? Technology has come a long way since you've asked that question. Variations you can create is pretty much unlimited with a platform like HyperVoice or 11labs. You can even clone your own voices with perfect resemblance.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What
  • Low reputation (0.5):
Posted by: cem akbulut

79409136

Date: 2025-02-03 14:43:24
Score: 2.5
Natty:
Report link

For anyone still needing this — I had a similar issue and shared my solution in this GitHub discussion: https://github.com/vercel/next.js/discussions/59488

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Rafael Gonçalves

79409129

Date: 2025-02-03 14:39:23
Score: 3
Natty:
Report link

The answer is that there is only one class in this tree, so no class name is displayed.

You can verify this in the source code: https://github.com/scikit-learn/scikit-learn/blob/160fe6719a1f44608159b0999dea0e52a83e0963/sklearn/tree/_export.py#L377

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

79409125

Date: 2025-02-03 14:38:22
Score: 1
Natty:
Report link

There is currently a bug in the Cloud SDK where proxy tokens are improperly cached.

To fix this, we currently recommend disabling the cache. E.g. like this:

.execute({ destinationName: 'DESTINATION', jwt: 'JWT', useCache: false })
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: bananabräd

79409124

Date: 2025-02-03 14:37:22
Score: 1.5
Natty:
Report link

Every mongodb document must contain an identifier described as _id (the error does tell you that
An error occurred while serializing the Identifiers property of class Resource);
you can solve the problem by changing the property id to ObjectId _id or by adding [BsonNoId] before each class you are defining.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: hello-there-general-kenobi

79409118

Date: 2025-02-03 14:35:22
Score: 2.5
Natty:
Report link

For modern browsers, consider structuredClone:

https://developer.mozilla.org/en-US/docs/Web/API/Window/structuredClone

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

79409113

Date: 2025-02-03 14:32:21
Score: 1
Natty:
Report link

Here's the working example originally suggested by brian d foy:

    use Mojo::URL;
    use Data::Dumper;
    
    my $url = "https://example.com/entry/#/view/TCMaftR7cPYyC3q61TnI6_Mx8PwDTsnVyo9Z6nsXHDRzrN5ftuXxHN7NvIGK34-z/366792786/aHR0cHM6Ly9lcGwuaXJpY2EuZ292LmlyL0ltZWlBZnRlclJlZ2lzdGVyP2ltZWk9MzU5NzQ0MzkxMDc2Mjg4";
    
    my $fragment = Mojo::URL->new($url)->fragment;
    my @parts = $fragment =~ m{([^/]+)}g;
    
    print $parts[1];
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Dan

79409104

Date: 2025-02-03 14:29:20
Score: 1.5
Natty:
Report link

A quick fix for it is to hit Ctrl + Shift + F once and hit Ok once, then quickly hit Ctrl + Shift + F once again and hit the Stop Find button before the initial search is complete.

After this, try again to Search normally should prompt the correct output and display all occurrences in the Entire Solution.

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

79409101

Date: 2025-02-03 14:28:20
Score: 1
Natty:
Report link

So by looking a bit more patiently in the documentation, i noticed this section:

sqlalchemy_session_persistence
Control the action taken by sqlalchemy_session at the end of a create call.

Valid values are:

None: do nothing

'flush': perform a session flush()

'commit': perform a session commit()

The default value is None.

Why the hell the default option is 'None'? I don't know. But just by setting it manually to 'commit' the data started being saved on database.

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: João Pedro Martins de Paula

79409098

Date: 2025-02-03 14:28:20
Score: 0.5
Natty:
Report link

As from Here:

A deadlock requires four conditions: mutual exclusion, hold and wait, no preemption, and circular wait.

It does not matter matter if you use a unique lock or normal lock, any waiting operation which fulfills the four conditions can cause a deadlock.

The current code does not fulfill the deadlock conditions
As @Mestkon has pointed out in the comments, in your code every thread currently uses only one mutex, thus it is impossible to fulfil the "hold and wait" condition. Thus no deadlock can happen.

Define a locking sequence
A usually simple practical approach is to define a locking sequence and use it everywhere.
For example if you ever need mutex1 and mutex2 at the same time, make sure to always lock mutex1 first, then mutex2 second (or always the other way around).
By that you can easily prevent the "circular wait" (mutex1 waiting for mutex2 and mutex2 waiting for mutex1) condition, thus no deadlock can happen.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Mestkon
  • Low reputation (0.5):
Posted by: Thibe

79409094

Date: 2025-02-03 14:27:20
Score: 0.5
Natty:
Report link

Using getActiveRange() as Parameter

Agreeing @TheMaster you cannot directly assign a parameter into the menu item, Using the getActiveRange() and getValues() method as a workaround would help.

To use this workaround you just need to highlight the range of the value and it returns an array as the value of the parameter additionally using .toast() to check the return values of the highlighted cells.

function onOpen(e) {
  SpreadsheetApp.getUi()
    .createMenu('foo')
    .addItem('bar', 'foobar')
    .addToUi();
}

function foobar(bar = SpreadsheetApp.getActiveRange().getValues()) {
  return SpreadsheetApp.getActiveSpreadsheet().toast(bar);
}

Reference:

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @TheMaster
  • Low reputation (0.5):
Posted by: Lime Husky

79409092

Date: 2025-02-03 14:25:19
Score: 2
Natty:
Report link

As suggested by @Rafael Winterhalter, the issue was resolved after injecting the ApplicationTraceContext class.

ClassInjector.UsingUnsafe.ofBootLoader().inject(Collections.singletonMap(
    new TypeDescription.ForLoadedType(ApplicationTraceContext.class),
    ClassFileLocator.ForClassLoader.read(ApplicationTraceContext.class)
));
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Rafael
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Jay_ran

79409077

Date: 2025-02-03 14:17:18
Score: 3
Natty:
Report link

put

min-height: 100vh;

it will automatically adjust

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

79409063

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

Importing a component but not using it in the template does not have major impact runtime performance. However, it increases the bundle size slightly, as the component is included in the final JavaScript build.

If you are using lazy loading (async components or dynamic imports), then unused components will not be loaded until needed, reducing the initial load time.

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

79409059

Date: 2025-02-03 14:11:16
Score: 1
Natty:
Report link

If you use GCM message format as descrived here: https://firebase.google.com/docs/cloud-messaging/concept-options,

You should add the following to your message block:

"apns": [ "payload": [ "aps": ["sound":"default"] ] ]

Based on format described here: https://developer.apple.com/documentation/usernotifications/generating-a-remote-notification

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

79409058

Date: 2025-02-03 14:11:16
Score: 0.5
Natty:
Report link

Ok, so not knowing Python at all I wrote some pseudocode in the question, and @phd has helpfully pointed out in the comments that it is actually the fully working answer:

git filter-repo --commit-callback 'if commit.original_id == b"123abc...": commit.parents.append(b"789def...")'

And the docs are here.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @phd
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Tom V

79409054

Date: 2025-02-03 14:08:16
Score: 2
Natty:
Report link

If you are willing to use other IDEs, JetBrains tools support direct integration with WSL.

I use IntelliJ, PyCharm, and CLion on Windows 11 daily, however, I run, debug, and compile code in WSL.

Setting up is extremely easy and the results are excellent. Just keep in mind that only WSL2 is supported.

https://www.jetbrains.com/help/idea/how-to-use-wsl-development-environment-in-product.html

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

79409050

Date: 2025-02-03 14:06:15
Score: 1
Natty:
Report link

You will require to add TestIntentShortcut.updateAppShortcutParameters() in either didFinishLaunchingWithOptions of AppDelegate or init method of App struct, whichever you are using.

Call to updateAppShortcutParameters method is important.

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

79409046

Date: 2025-02-03 14:04:14
Score: 9.5 🚩
Natty: 4.5
Report link

I facing the same problem ...Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@tailwindcss/vite' imported from /vercel/path0/node_modules/.vite-temp/vite.config.js.timestamp-1738589927080-ce4a4b3fc13ca.mjs

what should i do?

Reasons:
  • Blacklisted phrase (2): what should i do
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I facing the same problem
  • Ends in question mark (2):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Araf Ahmed

79409043

Date: 2025-02-03 14:03:13
Score: 2
Natty:
Report link

Your approach is generally sound, but the synchronous call to "adminClient.listTopics().names().get()" blocks the scheduler’s thread—due to Kafka’s retry and timeout mechanisms—when Kafka is down. This blocking prevents subsequent scheduled runs. To fix this, consider reducing Kafka timeouts, using asynchronous calls, or configuring your scheduler with a thread pool. For tests, you might also mock the AdminClient or adjust timeouts to avoid long blocking periods.

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

79409038

Date: 2025-02-03 14:01:13
Score: 2.5
Natty:
Report link
\[Name\](?<Name>[\s\S]*?)\[Age\](?<Age>[\s\S]*?)\[MobileNumber\](?<MN>[\s\S]*?)Billing address(?<BA>[\s\S]*?)Delivery address(?<DA>(?:\s*.*))
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Davoud

79409037

Date: 2025-02-03 14:01:13
Score: 0.5
Natty:
Report link

This way can be useful to set JVM:

File | Settings | Build, Execution, Deployment | Build Tools | Gradle

Gradle user home

C:/Users/.../.jdks/openjdk-22.0.2

and Gradle JDK jbr 17 Gradle -JVM

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

79409030

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

Quarkus doesn't replace the keys, only the values. My workaround was to use the resources plugin to replace the INIT_SQL_SCRIPTS_PATH placeholder with the proper path, depending on the environment.

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

79409028

Date: 2025-02-03 13:58:11
Score: 1.5
Natty:
Report link

You can wait creation of k8s secret with:

kubectl wait --for=create secret my-new-secret --timeout=30s
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ubbuyan

79409025

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

coordinate = [] for x in range(10): for y in range(10): coordinate.append((x,y)) print(coordinate)

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Lan Anh Nguyen C nhn

79409019

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

Turns out the WithSecurityInfo() method does exist and it does seem to work the way I had written it. The problem with this example was that it was called in the wrong spot. Security info needs to be added to the cluster - not the consumer.

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

79409014

Date: 2025-02-03 13:53:10
Score: 0.5
Natty:
Report link

May be you are using PowerShell instead of command prompt. In PowerShell, we need to enclose the argument in double quotes.

java "-Djavax.net.ssl.keyStore=xyz.jks"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Saikiran Gosikonda

79409009

Date: 2025-02-03 13:52:09
Score: 4
Natty: 5
Report link

Ctrl Q if you are using VS code to comment /uncomment Multiple lines of code

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

79409002

Date: 2025-02-03 13:49:08
Score: 2
Natty:
Report link

For tracking and segmentation, they are typically used together through the unified YOLO API. The tracking functionality is integrated into the main model interface rather than being offered as a separate API2. This allows for seamless integration of tracking with other features like instance segmentation.

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

79408996

Date: 2025-02-03 13:46:07
Score: 4.5
Natty:
Report link

Magic Export & Import plugin is free and fully compatible with Polylang.

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

79408992

Date: 2025-02-03 13:44:06
Score: 0.5
Natty:
Report link

The issue is that I am using macOS.

On macOS, which uses a case-sensitive file system, the import statement must exactly match the filename:

import App from './App.tsx';

in windows, we can:

import App from './App';

The solution is to explicitly include the file extension in the import statement on macOS.

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: yang yang

79408988

Date: 2025-02-03 13:43:06
Score: 1
Natty:
Report link

When you play a downloaded HLS (HTTP Live Streaming) file, you might still see .ts (Transport Stream) and .aac (Advanced Audio Codec) requests to the server because of how HLS works. Here's why:

HLS Structure: HLS breaks media into small chunks, typically .ts files for video and .aac files for audio. Even if you've downloaded the HLS content, the player might still reference the original manifest file (.m3u8), which points to these segments.

Caching or Re-downloading: Some players might re-request segments to ensure they have the latest or most complete version of the content. This can happen even if the files are already downloaded locally.

DRM or Encryption: If the content is encrypted or protected by DRM (Digital Rights Management), the player might need to contact the server to fetch decryption keys or verify licenses, triggering additional requests.

Network Fallback: Some players are designed to check for updates or better-quality streams by default, even when playing downloaded content. This can result in .ts and .aac requests being sent to the server.

Player Behavior: Certain media players might not fully support offline playback of HLS content and may still attempt to stream segments from the original source.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Starts with a question (0.5): When you
  • Low reputation (1):
Posted by: Youcine Premium

79408981

Date: 2025-02-03 13:41:05
Score: 2
Natty:
Report link

In my case running the command on windows 11:

wsl --update

helped

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

79408950

Date: 2025-02-03 13:28:01
Score: 4
Natty:
Report link

Since i am not allowed to write a comment yet, i will use this answer. I just wanted to ask, if you could provide code for you solution since i am stuck in an similar situation with the grpc authentication. Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (1.5): i am stuck
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Michael

79408936

Date: 2025-02-03 13:20:59
Score: 2.5
Natty:
Report link

I think its about precision. 5.0 is a numeric value so it shows upto 15 digits.

Maybe try TO_CHAR() function.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: emminity kurtköy

79408928

Date: 2025-02-03 13:17:58
Score: 1
Natty:
Report link

After some testing of Saullo G. P. Castro's answer I've found

I described both in the GIST of LuizFelippe mentioned in the comments of Saullo G. P. Castro's answer. However, the GIST seems to be inactive, so I decided to post an answer here given that I also do not have enough reputation for a comment yet.

Inefficient computation of the determinant of the factor L

There is a tiny improvement possible, which I found out during debugging and from the SuperLU documentation which states that the matrix L is unit lower triangular, i.e., its main diagonal is a vector of ones: image

So in principle, it should be possible to drop all the terms involving L because the sign will always be +1.0 and the logarithm of the respective product will be 0.0.

Bug in sign computation

Since only the row permutations but not the column permutations were included in the proposed code, there was a 50% chance for a wrong sign in the determinant (since the permutation matrices have a determinant of either +1 or -1 which leaves a 50/50 chance for a product of two such matrices to be +1 and -1, respectively). Even though there are tests mentioned in the GIST, this failed for me the first time I ran the code.

The column permutations can be included in the exact same way as the row computations, so the fixed code is given by the following. When the line marked with <-- 📣 is uncommented, this yields the original approach where the column permutations are not considered.

### Imports ###

import numpy as np
from scipy.sparse import linalg as spla

### Functions ###


def sparse_slogdet_from_superlu(splu: spla.SuperLU) -> tuple[float, float]:
    """
    Computes the sign and the logarithm of the determinant of a sparse matrix from its
    SuperLU decomposition.

    References
    ----------
    This function is based on the following GIST and its discussion:
    https://gist.github.com/luizfelippesr/5965a536d202b913beda9878a2f8ef3e

    """

    ### Auxiliary Function ###

    def minimumSwaps(arr: np.ndarray):
        """
        Minimum number of swaps needed to order a permutation array.

        """
        # from https://www.thepoorcoder.com/hackerrank-minimum-swaps-2-solution/
        a = dict(enumerate(arr))
        b = {v: k for k, v in a.items()}
        count = 0
        for i in a:
            x = a[i]
            if x != i:
                y = b[i]
                a[y] = x
                b[x] = y
                count += 1

        return count

    ### Main Part ###

    # the logarithm of the determinant is the sum of the logarithms of the diagonal
    # elements of the LU decomposition, but since L is unit lower triangular, only the
    # diagonal elements of U are considered
    diagU = splu.U.diagonal()
    logabsdet = np.log(np.abs(diagU)).sum()

    # then, the sign is determined from the diagonal elements of U as well as the row
    # and column permutations
    # NOTE: odd number of negative elements/swaps leads to a negative sign
    fact_sign = -1 if np.count_nonzero(diagU < 0.0) % 2 == 1 else 1
    row_sign = -1 if minimumSwaps(splu.perm_r) % 2 == 1 else 1
    col_sign = -1 if minimumSwaps(splu.perm_c) % 2 == 1 else 1
    # col_sign = 1 # <-- 📣 If this is uncommented, this produces the `perm_r`-only code
    sign = -1.0 if fact_sign * row_sign * col_sign < 0 else 1.0

    return sign, logabsdet

I implemented a more extensive test against numpy.linalg.slogdet (takes 5 to 10 minutes on an M4 MacBook Pro). It tests at least 10 matrices for every given row/column count between 50 and 1000 to ensure consistency and not just lucky shots. Since we do not want to test SuperLU's ability to solve random sparse matrices which can be ill-conditioned, a matrix that cannot be solved will be regenerated in a random fashion.

While this test passes ✅ with the suggested fix (the line with <-- 📣 is left commented), it fails ❌ on the first attempt when using the original code (the line with <-- 📣 is active).

### Tests ###

if __name__ == "__main__": 

    # Imports
    import numpy as np
    import scipy.sparse as sprs
    from scipy.sparse.linalg import splu as splu_factorize
    from tqdm import tqdm

    # Setup of a test with random matrices
    np.random.seed(42)
    # n_rows = np.random.randint(low=10, high=1_001, size=20)
    density = 0.5  # chosen to have a high probability of a solvable system
    n_rows = np.arange(50, 1001, dtype=np.int64)

    # Running the tests in a loop
    for index in tqdm(range(0, n_rows.size)):
        m = n_rows[index]
        num_tests_passed = 0
        num_attempts = 0
        failed = False

        while num_tests_passed < 10:
            # a random matrix is generated and if the LU decomposition fails, the
            # test is repeated (this test is not there to test the LU decomposition)
            num_attempts += 1
            matrix = sprs.random(m=m, n=m, density=density, format="csc")
            try:
                splu = splu_factorize(matrix)
            except RuntimeError:
                tqdm.write(
                    f"Could not factorize matrix with shape {m}x{m} and density "
                    f"{density}"
                )

                if num_attempts >= 100:
                    tqdm.write(
                        f"Could not generate a solvable system for matrix with shape "
                        f"{m}x{m}"
                    )
                    failed = True
                    break

                continue

            # first, the utility function is used to compute the sign and the log
            # determinant of the matrix
            sign, logabsdet = sparse_slogdet_from_superlu(splu=splu)
            # then, the sign and the log determinant are computed by NumPy's dense
            # log determinant function for comparison
            sign_ref, logabsdet_ref = np.linalg.slogdet(matrix.toarray())

            # the results are compared and if they differ, the test is stopped
            # with a diagnostic message
            if not (
                np.isclose(sign, sign_ref) and np.isclose(logabsdet, logabsdet_ref)
            ):
                print(
                    f"Failed for matrix with shape {m}x{m}: "
                    f"sign: {sign} vs. {sign_ref} and "
                    f"logabsdet: {logabsdet} vs. {logabsdet_ref}"
                )
                failed = True
                break

            # if the test is successful, the loop is continued with the next iteration
            del splu
            num_tests_passed += 1

        if failed:
            break
Reasons:
  • RegEx Blacklisted phrase (1.5): do not have enough reputation
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: MothNik

79408922

Date: 2025-02-03 13:12:57
Score: 3
Natty:
Report link

. . Download "file manager +" (i'ts free in google play) move to your file, select your file, go to the 3dotts, 'open with' and choose yor browser.

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

79408921

Date: 2025-02-03 13:12:57
Score: 3.5
Natty:
Report link

Clearly the complex data sets don't match up with the 3d models proposed by this code, sorry. Any decently versed coder would obviously know about this.

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

79408913

Date: 2025-02-03 13:09:56
Score: 5.5
Natty:
Report link

I an using spring boot 3.2.10 and io.micrometer:micrometer-tracing-bridge-otel, @Scheduled is sill using same traceId all the time. Help please. @Jonatan Ivanov

Reasons:
  • RegEx Blacklisted phrase (1.5): Help please
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @Scheduled
  • User mentioned (0): @Jonatan
  • Single line (0.5):
  • Low reputation (1):
Posted by: bir

79408903

Date: 2025-02-03 13:06:55
Score: 1.5
Natty:
Report link

I found this answer:

\PhpOffice\PhpWord\Settings::setOutputEscapingEnabled(true);
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Cymro

79408901

Date: 2025-02-03 13:06:54
Score: 4.5
Natty:
Report link

series-line. symbol = 'emptyCircle'

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: said al hendi

79408888

Date: 2025-02-03 13:02:53
Score: 3
Natty:
Report link

To download files directly on download folder without any permission you can go with Android Download manager

eia_flutter_download_manager

Thanks you!!!

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

79408887

Date: 2025-02-03 13:02:53
Score: 2
Natty:
Report link

I believe this issue might be caused by a glitch in Xcode. There is no functional difference between a manually packed XCFramework and one generated by Xcode, yet some manually packed frameworks fail to work as expected.

I encountered the exact same problem while trying to package vendor-provided static libraries into XCFrameworks. Some libraries worked perfectly on the first attempt, while others consistently failed. After some experimentation, I discovered that copying the modulemap from a working XCFramework to the non-working ones resolved the issue. Suddenly, everything started working as intended.

For reference, I’ve shared my working setup for the WechatOpenSDK XCFramework here: WechatOpenSDK. Feel free to check it out if you’re facing similar issues.

Reasons:
  • Blacklisted phrase (0.5): check it out
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): facing similar issue
  • High reputation (-1):
Posted by: Ji Fang

79408875

Date: 2025-02-03 12:58:52
Score: 2
Natty:
Report link

You can check your quota utilization percentage on the Google Cloud Developer Console, after selecting your API from the dropdown list (pay attention to the difference between Places API and Places API New). In the utilization graph menu (the rightmost column in the table), you can even set up a custom date range (default is 1 day).

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

79408871

Date: 2025-02-03 12:57:51
Score: 3.5
Natty:
Report link

put the fetch in a useEffect and store it in a state

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

79408868

Date: 2025-02-03 12:56:51
Score: 2
Natty:
Report link

Use task {}

inside refreshable , as the refreshable task gets cancelled after refresh is completed

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

79408852

Date: 2025-02-03 12:49:50
Score: 3
Natty:
Report link

In short, add the image name to your manifest android:icon="@mipmap/appicon" part from AndroidManifest.xml Upload the appicon and replace it with the image name

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

79408839

Date: 2025-02-03 12:43:49
Score: 0.5
Natty:
Report link

Your design looks pretty good overall, but here are a couple of things to check:

  1. Person Table:

Using Person_ID as the primary key is spot on. The Company_ID as a foreign key makes sense too, since each person is linked to a company. Company Table:

  1. Company_ID is correctly set as the primary key. However, the Invoice_ID being in the Company table is a bit unusual unless each company only gets one invoice. If it’s a one-to-one relationship, that’s fine, but if companies can have multiple invoices, you might want to move the Invoice_ID to the Invoice table itself. Invoice Table:

  2. The Invoice_ID as the primary key is good, and the Summary_ID and Detailed_ID as foreign keys make sense. Just a thought, though: since the invoice is broken into sections, you might want to make sure these two foreign keys are indeed related directly to the invoice. If you’re thinking of splitting the sections out to their own tables, that could change the structure a little. Summary and Detailed Tables:

  3. Summary_ID and Detailed_ID are fine as primary keys. Linking Detailed_ID to Person_ID makes sense, since the detailed section includes individual person details.

Your foreign keys look solid. Just make sure that if each company has multiple invoices, you’ll need to adjust the design a bit to reflect that properly (maybe move the foreign key to the Invoice table). If it’s only one invoice per company, you’re good to go.

Also, consider adding cascading rules for deletes/updates to maintain data integrity in case a record is removed or changed.

Otherwise, everything looks pretty fine from my point of view.

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

79408830

Date: 2025-02-03 12:42:49
Score: 3.5
Natty:
Report link

For projects using the Cosmos Virtual File System (abbr. VFS) directly, we recommend you use System.IO methods where possible.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: 김도영

79408824

Date: 2025-02-03 12:41:48
Score: 3.5
Natty:
Report link

Możesz wyjaśnić wszystkie punkty od początku, bo nie wiem co ci Ola wysłała.

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

79408822

Date: 2025-02-03 12:40:48
Score: 3.5
Natty:
Report link

Clearing my browser's cache fixed this for me.

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

79408818

Date: 2025-02-03 12:39:48
Score: 1
Natty:
Report link

As @sorin stated, it does not work for env variable at the same level, but it does work if you reuse a top level env variable in a lower level env variable definition:

env:
  SOME_GLOBAL_VAR: 1.0.0
jobs:
  build:
    name: My build
    env:
      SOME_BUILD_VAR: "${{ env.SOME_GLOBAL_VAR }}-build"
    steps:
      - name: My step
        env:
          SOME_STEP_VAR: "${{ env.SOME_GLOBAL_VAR }} ${{ env.SOME_BUILD_VAR}} step 1"
        run:
          ...
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @sorin
  • Low reputation (0.5):
Posted by: Flo

79408817

Date: 2025-02-03 12:38:48
Score: 1
Natty:
Report link

thanks to @C3row I got to the solution of this.

Qualtrics.SurveyEngine.addOnReady(function()
{
    /*Place your JavaScript here to run when the page is fully displayed*/

var base_element = document.querySelector(".QuestionOuter");
base_element.insertAdjacentHTML('afterbegin', '<div id="sticky_vid" style="position: sticky; top:0;" align="middle">');

var new_element = document.querySelector("#sticky_vid");

// Change the text below to add the element of your choice
new_element.innerHTML = `<div class="QuestionText BorderColor"><p align="left">
<br>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<br>
&nbsp;
<table border="1" cellpadding="1" cellspacing="1" style="width:1000px;">
    <thead>
        <tr>
            <th scope="col" style="padding: 1px;">Some text</th>
            <th scope="col" style="padding: 1px;">&nbsp;Project A</th>
            <th scope="col" style="padding: 1px;">Project B (some more info)</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <th scope="row" style="padding: 1px;">More text</th>
            <td style="padding: 1px;">Lorem ipsum dolor sit amet, consectetur adipiscing elit</td>
            <td style="padding: 1px;">ELorem ipsum dolor sit amet, consectetur</td>
        </tr>
        <tr>
            <th scope="row" style="padding: 1px;">Lorep 1</th>
            <td style="padding: 1px;">Lorem ipsum dolor sit amet, consectetur</td>
            <td style="padding: 1px;">orem ipsum dolor sit amet, consectetur</td>
        </tr>
        <tr>
            <th scope="row" style="padding: 1px;">Even more text&nbsp;</th>
            <td style="padding: 1px;">Required behavioral<br>
            adoption</td>
            <td style="padding: 1px;">Encroaching on the land&nbsp;and rights of local communities, labour right violations</td>
        </tr>
        <tr>
            <th scope="row" style="padding: 1px;">Some numbers</th>
            <td style="padding: 1px;">32</td>
            <td style="padding: 1px;">32</td>
        </tr>
    </tbody>
</table>
<br>
We now ask you several questions on these proposed projects.<br> </p>
&nbsp;</div>`
;

// This is important, otherwise, the element you add will be at the back
base_element.style.zIndex = 1;
new_element.style.zIndex = 10;

});

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @C3row
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: canIchangethis

79408804

Date: 2025-02-03 12:30:46
Score: 1
Natty:
Report link

As @lyzlisa stated, it does not work for env variable at the same level, but it does work if you reuse a top level env variable in a lower level env variable definition:

env:
  SOME_GLOBAL_VAR: 1.0.0
jobs:
  build:
    name: My build
    env:
      SOME_BUILD_VAR: "${{ env.SOME_GLOBAL_VAR }}-build"
    steps:
      - name: My step
        env:
          SOME_STEP_VAR: "${{ env.SOME_GLOBAL_VAR }} ${{ env.SOME_BUILD_VAR}} step 1"
        run:
          ...
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @lyzlisa
  • Low reputation (0.5):
Posted by: Flo

79408801

Date: 2025-02-03 12:29:45
Score: 2
Natty:
Report link

dokładnie to co ola wysłała mi. brakuje pkt 8. utwórz nową funkcję ktora zwolni pamięć tablicy dynamiucznej zaalokowanej na 1 polu zmiennej strukturalnej struktury "wektor". samodzielnie ustal argumenty i typ funkcji 9. zapisz zmienną strukturalną z punktu 2 do jednego pliku np. "w1.csv" używając funkcji z punktu 6. 10. na końcu programu zwolnij pamięć z obu zmiennych strukturalnych z punktu 2, używając funkcji z punktu 7

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

79408800

Date: 2025-02-03 12:28:45
Score: 4.5
Natty:
Report link

What are you trying to achieve? If you want to get your user name you need to add --get there are some example here

How do I show my global Git configuration?

also check the docs here

https://git-scm.com/book/be/v2/Customizing-Git-Git-Configuration

The syntax without the comma is the correct one

Reasons:
  • Blacklisted phrase (1): How do I
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What are you
  • Low reputation (0.5):
Posted by: Dinkelborg

79408796

Date: 2025-02-03 12:25:44
Score: 3.5
Natty:
Report link

Facing same issue

Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Failed to transform error_prone_annotations-2.36.0.jar (com.google.errorprone:error_prone_annotations:2.36.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=24, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): Facing same issue
  • Low reputation (1):
Posted by: Ch Altaf

79408795

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

Here if you booking.rate_per_hour is undefined or null or 0 it will not display "/hr" so firstly check if the booking.rate_per_hour get proper value or not

Additionally, see whether the component renders first and the booking receives the value; if so, it will take an undefined value, so you'll need to render that field again to get the proper output

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

79408776

Date: 2025-02-03 12:17:43
Score: 0.5
Natty:
Report link

big thanks to TomasVotruba found another solution by getting array with nodeFinder and then transformConcatToStringArray()

$array = $this->nodeFinder->findFirstInstanceOf($node, Array_::class);
$class_args = [];
$class_items = new Array_();
foreach ($array->items as $arrayItem) {
    $arr_key_name = $arrayItem->key->value;
    if($arrayItem->value instanceof Concat){
        $class_array = $this->NodeTransformer->transformConcatToStringArray($arrayItem->value);
        foreach ($class_array->items as $key_row => $row){
            if($row->value instanceof Variable)
                continue;
            if(count($class_array->items) > $key_row && $class_array->items[$key_row+1]->value instanceof Variable){
                $class_items->items[] = new ArrayItem(new Concat($row->value, $class_array->items[$key_row+1]->value));
                continue;
            }
            $class_items->items[] = new ArrayItem($row->value);
        }
        $class_args[] = new Arg($class_items);
        $new_function = new MethodCall($new_function, $arr_key_name, $class_args);
    }
}

<?php echo html()->button('<i class="fa ' . $actionBtnIcon . '" aria-hidden="true"></i> ' . $btnSubmitText)->type(['button'])->id(['confirm'])->class(['btn', 'btn-' . $modalClass, 'pull-right', 'btn-flat']) ?>

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Dmitry Vasilyev

79408775

Date: 2025-02-03 12:16:42
Score: 2
Natty:
Report link

I prefer using helper methods and setting cookies for parents of nested objects. Current_user Current_company Current_invoice ect...

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

79408764

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

Yes, there is a significant difference between setting an element's innerHTML directly and using the dangerouslySetInnerHTML property in React. These differences are primarily related to security, React's rendering behavior, and how the DOM is updated.

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

79408758

Date: 2025-02-03 12:10:40
Score: 2.5
Natty:
Report link

The hostname should be different cause the localhost inside of a docker container is referring to the docker container itself, and if you want to make sure that your Eureka is visible by other containers(your microservices) you can set up a network and bind you Eureka server to 8761:8761

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

79408757

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

It seems that it's coming from hline() when passing -CMFLib.* price parameters (which accepts an input int/float). Perhaps, you can export negative float values.

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

79408744

Date: 2025-02-03 12:06:39
Score: 1
Natty:
Report link

In trying to narrow down the problem, I realized that there's probably a problem with Java and the (latest? version of) MacOS. Indeed, the following snippet seems to indicate that not all Locale's work. In this case, Locale.FRANCE doesn't work (the “Cancel”, “No”, “Yes” buttons remain in English), whereas Locale.GERMANY does. The initial problem I described may be related to this.

import java.util.Locale;
import javax.swing.JOptionPane;

public class Test {
    public static void main(String[] args) {
        
        //Locale.setDefault(Locale.FRANCE); // Doesn't work
        Locale.setDefault(Locale.GERMANY); // Works !
        
        JOptionPane.showConfirmDialog(null, "Message");
    }

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

79408743

Date: 2025-02-03 12:05:38
Score: 11.5 🚩
Natty: 4.5
Report link

Has anyone found solution for this? i am facing same issue.

Reasons:
  • Blacklisted phrase (2): anyone found
  • RegEx Blacklisted phrase (3): Has anyone found
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i am facing same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Aswin Manoharan

79408723

Date: 2025-02-03 12:00:36
Score: 1
Natty:
Report link

you don't need to specify clientId in your case

Reasons:
  • Whitelisted phrase (-1): in your case
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: jovani

79408722

Date: 2025-02-03 12:00:35
Score: 5.5
Natty:
Report link

Bra att veta! Men en noob fråga, vad är my eclipse för något?

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

79408719

Date: 2025-02-03 11:59:34
Score: 4
Natty:
Report link

I have been looking into the same issue and found this discussion to be helpful.

https://github.com/TanStack/table/discussions/2233

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

79408718

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

You can also update your Test Project to target multiple frameworks by replacing

<TargetFramework>net6.0</TargetFramework>

with

<TargetFrameworks>net6.0;net8.0</TargetFrameworks>

When you do that, then a set of tests is created and run for each framework.

enter image description here

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

79408715

Date: 2025-02-03 11:58:33
Score: 0.5
Natty:
Report link

It's always better to use the plural form when doing that, because it corresponds to the table name, when you use the singualr form, rails assigns an alias so in your example it becomes,

INNER JOIN roles role ON role.user_id = users.id

See what happened there? it became an alias of the actual table name. Hope this answers your main question.

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Youssef Sobhy

79408712

Date: 2025-02-03 11:55:33
Score: 0.5
Natty:
Report link

Use Help > Install from Catalog... - this will bring up the Marketplace dialog you're looking for.

We renamed this menu item in MyEclipse several years ago due to different installation options available within MyEclipse. Hope this helps!

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Brian Fernandes

79408709

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

if i have a file descriptor duplicated (both point to the same resource), is that thread safe to perform close of each respective fd in different threads?

yes

There is a refcount used to release a resource at the last close, but is that access thread safe?

yes

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: KamilCuk

79408708

Date: 2025-02-03 11:54:32
Score: 4
Natty:
Report link

convert javascript to angular is to do so i created a project and deployed it on github you can directly see my Project from here https://aniketwork775.github.io/d3-chart/#/ and if you want my code you can access it with below link https://github.com/Aniketwork775/d3-chart/blob/main/src/app/tree-chart/vertical-layout/vertical-layout.component.ts

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

79408706

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

Follow the following examples retrieved from here

import matplotlib.pyplot as plt
import numpy as np

# Simple data to display in various forms
x = np.linspace(0, 2 * np.pi, 400)
y = np.sin(x ** 2)

plt.close('all')

# Four axes, returned as a 2-d array
f, axarr = plt.subplots(2, 2)

axarr[0, 0].plot(x, y)
axarr[0, 0].set_title('Axis [0,0]')

axarr[0, 1].scatter(x, y)
axarr[0, 1].set_title('Axis [0,1]')

axarr[1, 0].plot(x, y ** 2)
axarr[1, 0].set_title('Axis [1,0]')

axarr[1, 1].scatter(x, y ** 2)
axarr[1, 1].set_title('Axis [1,1]')

# Fine-tune figure; hide x ticks for top plots and y ticks for right plots
plt.setp([a.get_xticklabels() for a in axarr[0, :]], visible=False)
plt.setp([a.get_yticklabels() for a in axarr[:, 1]], visible=False)

enter image description here

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

79408699

Date: 2025-02-03 11:51:31
Score: 3
Natty:
Report link

Please, follow below link for solve ionic splash screen issue and if still got issue let me know. https://stackoverflow.com/a/78987491/19523891

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Utsav Sheta

79408693

Date: 2025-02-03 11:49:31
Score: 3.5
Natty:
Report link

Glassfish-web.xml file is not available in my project. I have server.xml file, how can I configure to access files outside web context

Reasons:
  • Blacklisted phrase (0.5): how can I
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: techie

79408691

Date: 2025-02-03 11:46:30
Score: 2.5
Natty:
Report link

You can find some info on how to download a chart as an image in the following link: https://www.restack.io/docs/superset-knowledge-superset-download-image-api Hope it works!

Reasons:
  • Whitelisted phrase (-1): Hope it works
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: David Fuentes Martín

79408690

Date: 2025-02-03 11:46:30
Score: 1
Natty:
Report link

To resolve the "Table doesn't exist" error during the MySQL upgrade I think you should follow below steps:

Run a Repair on Corrupted Tables: Use the mysqlcheck command to repair any corrupted tables before upgrading. Run the following command because this will check and repair any issues with the tables across all databases.

mysqlcheck -u root -p --all-databases --repair

Check for Missing Tables: Ensure that the table causing the error isn't missing or dropped. If it's important and missing, try restoring it from a backup, and if the tables are still corrupted and cannot be repaired using the above steps, in that case you can try Stellar Repair for MySQL because it’s a reliable tool that can fix corrupt .frm and .ibd files, and recover all your data without any loss.

Tip: Once the issue is resolved and the tables are repaired, rerun the pre-checks and proceed with the upgrade.

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

79408684

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

I know this sounds silly but my problem is that i forgot that my phone is connected via USB to the pc and i forgot about it, i removed it and it worked

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

79408677

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

I have posted the same question myself, where my view snaps after the keyboard fully opens.

Unexpected behavior with imePadding causing it to be applied after the keyboard animation

Turns out this only happens when i'm running the app from android studio. When i build it for the app store its smooth and okay.

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

79408675

Date: 2025-02-03 11:41:28
Score: 4.5
Natty: 5.5
Report link

does skibidi.py work

rrrrrrrrrrrrrrrrrrrrrrrrrrrrr

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Filler text (0.5): rrrrrrrrrrrrrrrrrrrrrrrrrrrrr
  • Low reputation (1):
Posted by: user29481431

79408674

Date: 2025-02-03 11:39:27
Score: 5.5
Natty:
Report link

This is a common problem and often arises due to incompatible VS code and/or WSL version.

It might be that you are using an old version of VS Code. Can you share which versions of VS code and WSL are you using.

Please try upgrading to the latest version and checking whether this issue remains.

ALSO : Can you double check if the file exists in this location?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you share
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Naveed Ahmed

79408664

Date: 2025-02-03 11:36:26
Score: 3
Natty:
Report link

Open RDLC report

  1. select "the group" under "Row Groups"
  2. Expand "Group->Page Break" in "Properties" window
  3. set "ResetPageNumber" property to "True"
Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Haroon ur Rasheed

79408661

Date: 2025-02-03 11:35:26
Score: 1.5
Natty:
Report link

The OMDb API does not provide a full list of all movies in its database. Instead, it allows you to search for movies based on keywords, titles, or IMDb IDs. You can retrieve data using the API's search functionality, but it will only return paginated results.

If you need a large movie dataset, you may consider:

  1. IMDb Datasets (IMDb Datasets)
  2. TheMovieDB API (TMDB)
Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Shubham Sharma

79408660

Date: 2025-02-03 11:35:26
Score: 3
Natty:
Report link

because you use wrong manual calculation formula instead of using 100-(prev/current*100) u should use ((current-prev)/prev)*100. then it will be same with Pandas .pct_change()

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