79121857

Date: 2024-10-24 12:28:45
Score: 1
Natty:
Report link

I know this is an old question. But for me, I had the same issue using DBeaver. I discovered it was because I had not ticked the box: Show all databases. Show all databases in DBeaver

Maybe there is something similar in pgadmin.

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

79121850

Date: 2024-10-24 12:25:43
Score: 6 🚩
Natty: 5.5
Report link

how to use it in ansible for sonarqube D.sonar.login?

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): how to use it in
  • Low reputation (1):
Posted by: prem jadhav

79121843

Date: 2024-10-24 12:24:42
Score: 1
Natty:
Report link

Wow, solved it! Using strace and ChatGPT. It's still dumb (even on 4o), so I didn't get an answer from it, but at least I got a hint.

The problem was that my network namespace did not have the lo interface up. Everything was solved by adding one line to the script:

sudo ip -n $NET_NS link set lo up
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: МАН69К

79121842

Date: 2024-10-24 12:23:39
Score: 11 🚩
Natty:
Report link

Can you share the solution if you find anything because i have same issue?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you share the solution
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i have same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Can you share the solution
  • Low reputation (1):
Posted by: susmitha odugu

79121836

Date: 2024-10-24 12:21:39
Score: 0.5
Natty:
Report link

As per the https://autofac.readthedocs.io/en/latest/integration/netcore.html#quick-start page, the simplest, and most correct method is this:

// Generate a ServiceCollection to directly add elements to.
var serviceCollection = new ServiceCollection();

// Add the HTTP Client as per the extension.
serviceCollection.AddHttpClient();
serviceCollection.AddHttpClient<IUserService, UserService>();
serviceCollection.AddHttpClient<IPostService, PostService>();

// Build the ContainerBuilder.
var containerBuilder = new ContainerBuilder();

// Populate the builder from the ServiceCollection.
containerBuilder.Populate(serviceCollection);

// Continue with the AutoFac registrations after this point.
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Perringaiden

79121834

Date: 2024-10-24 12:21:39
Score: 1
Natty:
Report link

Angular example I have the tinymce, there is a link to documentation where you will find your way based on the version https://www.tiny.cloud/docs/tinymce/5/content-appearance/.

My version is 5. I just added content_style: 'table { outline: none !important }', to my init config.

Note: my target was to remove outline from the tables in 'read' mode

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

79121833

Date: 2024-10-24 12:20:38
Score: 1.5
Natty:
Report link

Here's my code and it worked well, could you pls help check it?

<table>
    <tr class="text-nowrap">
        <td>user1</td>
        <td>Admin</td>
        <td>
            <button class="btn btn-outline-primary" data-bs-toggle="modal" data-bs-target="#RoleModal" data-id="user1" data-role="admin">
                open modal
            </button>
        </td>
    </tr>
    <tr class="text-nowrap">
        <td>user2</td>
        <td>Guest</td>
        <td>
            <button class="btn btn-outline-primary" data-bs-toggle="modal" data-bs-target="#RoleModal" data-id="user2" data-role="guest">
                open modal
            </button>
        </td>
    </tr>
</table>

<div class="modal fade" id="RoleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h1 class="modal-title fs-5" id="exampleModalLabel">Modal For Role</h1>
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
            </div>
            <div class="modal-body">
                <div class="row mb-3">
                    <div class="col-md-5">
                        <label class="col-form-label">Role</label>
                    </div>
                    <div class="col-md-7">
                        <select asp-for="Role" class="form-select" required>
                            <option value="admin">admin</option>
                            <option value="guest">guest</option>
                        </select>
                    </div>
                </div>
            </div>

        </div>
    </div>
</div>

@section Scripts {
    <script>
        $('#RoleModal').on('show.bs.modal', function (event) {
            var button = $(event.relatedTarget);
            var userRole = button.data('role');
            console.info(button);
            console.info(userRole);
            $('#Role').val(userRole);
        });

    </script>
}

enter image description here

Reasons:
  • Whitelisted phrase (-1): it worked
  • RegEx Blacklisted phrase (3): could you pls help
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: Tiny Wang

79121822

Date: 2024-10-24 12:16:37
Score: 2.5
Natty:
Report link

Just go to firebase project and see sdk instruction then invalid cache and restart, everything work fine

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

79121820

Date: 2024-10-24 12:16:37
Score: 0.5
Natty:
Report link

Run this in your project terminal,

sudo gem install cocoapods
pod setup

then run this,

cd ios
pod install
cd ..

Close the editor and reopen and then run your project. I hope this will solve the problem.

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

79121819

Date: 2024-10-24 12:15:37
Score: 4
Natty: 4
Report link

Google doesn't support a back of pass. All you can do is use the details section of the pass. See https://developers.google.com/wallet/retail/loyalty-cards/resources/template#details-template

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

79121816

Date: 2024-10-24 12:14:36
Score: 2.5
Natty:
Report link

I encountered a similar error on another resource.

Recently (21-10-2024) a new version of the azapi provider has been released (2.0.1) try setting the version to 1.15.0.

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

79121797

Date: 2024-10-24 12:08:35
Score: 3.5
Natty:
Report link

You have to use a measure, as they are not column measures but apply to the entire table.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ignacio Dávila

79121795

Date: 2024-10-24 12:08:35
Score: 1.5
Natty:
Report link

My solution is this:

SELECT * FROM mytable WHERE LOWER(metadata->>"$.title") = lower("hello world")

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Andrea Tadioli

79121794

Date: 2024-10-24 12:08:35
Score: 2.5
Natty:
Report link

Also for anyone stumbling over this with a fully dynamic case, I was stumbling through awkwardly nested MAP_CAT calls per the other answer here and realized I was just blanking on the fact that OBJECT_AGG existed.

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

79121788

Date: 2024-10-24 12:06:34
Score: 3
Natty:
Report link

Try these links?

<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>


<div class="card" style="width: 18rem;">
  <img src="https://picsum.photos/id/684/600/400" class="card-img-top" alt="">
  <div class="card-body">
    <h5 class="card-title">Card title</h5>
    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    <a href="#" class="btn btn-primary">Go somewhere</a>
  </div>
</div>

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

79121787

Date: 2024-10-24 12:06:34
Score: 2
Natty:
Report link

For anyone who comes across this question and cares for a solution, I now found a work-around in this github repo. It's apparently a (not-so-well) known issue in .NET MAUI with the WebView SDK.

So, answering my own question, it's currently not possible to exclude them via the .csproj file. It is possible to exclude them from the build however.

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

79121778

Date: 2024-10-24 12:04:34
Score: 3
Natty:
Report link

I am using Google Chrome Stable 130 also found that Referrer-Policy doesn't work for inline styles. But with the same code and configuration, Firefox is perfectly fine

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

79121775

Date: 2024-10-24 12:03:33
Score: 0.5
Natty:
Report link

You can use isNaN:

!isNaN(Number(value))
Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Alexander Shirokov

79121770

Date: 2024-10-24 12:02:33
Score: 1
Natty:
Report link

Very late contribution but I got into similar problem today.

In my case, the fixture somefixture was paramatrized with pytest.param(a_param, marks=[pytest.mark.myplatform]. So it was collected as well.

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

79121745

Date: 2024-10-24 11:53:31
Score: 2
Natty:
Report link

vue-tiny-validate can't validete array of objects !!!!

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

79121744

Date: 2024-10-24 11:52:31
Score: 0.5
Natty:
Report link

If anybody runs into this, I created a commonMain source root under src and moved the enum in there.

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

79121742

Date: 2024-10-24 11:51:30
Score: 3.5
Natty:
Report link

Oh my God, I've killed a day to find a solution. Thank you so much for this hint @Daria. This solution worked! But I don't understand why I had to break the aio http library and what is the problem with SSL if my project worked for a month, and then this happens from there - aiogram api.telegram.org:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1006)

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • No code block (0.5):
  • User mentioned (1): @Daria
  • Single line (0.5):
  • Low reputation (1):
Posted by: Георгий Третий

79121740

Date: 2024-10-24 11:50:30
Score: 5
Natty: 5
Report link

I hope this example can help you.: https://github.com/chainstacklabs/raydium-sdk-swap-example-typescript

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

79121732

Date: 2024-10-24 11:50:30
Score: 1.5
Natty:
Report link

I found the problem. This is very stupid -

I changed the line

 const app = await NestFactory.create(AppModule, { cors: true });

on

 const app = await NestFactory.create(AppModule);

It rewrote the Origin header

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Данияр Булдаков

79121730

Date: 2024-10-24 11:49:29
Score: 5
Natty:
Report link

Please take a look at https://www.run.ai/guides/distributed-computing/parallel-computing-with-python to find a simple solution.

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

79121720

Date: 2024-10-24 11:46:27
Score: 13.5 🚩
Natty: 6
Report link

Were you able to fix it? If so, could you please share the solution with me? I’d really appreciate it!

Reasons:
  • Blacklisted phrase (3): Were you able to fix it
  • RegEx Blacklisted phrase (2.5): could you please share the solution
  • RegEx Blacklisted phrase (1.5): fix it?
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Oumaima Mjb

79121716

Date: 2024-10-24 11:45:26
Score: 4
Natty:
Report link

how do we do this in log4j2, how should we write log4j2.properties

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): how do we
  • Low reputation (1):
Posted by: Pranjal Jain

79121699

Date: 2024-10-24 11:41:25
Score: 0.5
Natty:
Report link

If someone have problem with hex. See this example

console.log(BigInt("0x1456b678a3e50b2e").toString()); // 1465559358017702702
console.log(BigInt(0x1456b678a3e50b2e).toString()); // 1465559358017702656

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

79121686

Date: 2024-10-24 11:37:23
Score: 3
Natty:
Report link

line is variable of loop. in qweb report.
Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Prakash Bhadiyatar

79121683

Date: 2024-10-24 11:35:23
Score: 4
Natty:
Report link

https://www.youtube.com/watch?v=VODC59XYGvo xzzxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxzxzxzXzxzxz xzx zx zxz xzxzxzx

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Low length (1):
  • No code block (0.5):
  • Filler text (0.5): xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  • Low reputation (1):
Posted by: Muhammad .ul. Bakir

79121677

Date: 2024-10-24 11:34:22
Score: 0.5
Natty:
Report link
var startTimeSpan = TimeSpan.Zero;
var callIntervalInSeconds = 1;
var oneSecondThread = new Timer((e) =>
{
    Console.WriteLine("test!");
}, null, startTimeSpan, TimeSpan.FromSeconds(callIntervalInSeconds));

This will print "test!" once every second.

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

79121676

Date: 2024-10-24 11:34:22
Score: 4
Natty: 6
Report link

when security stops at your door and won't let you into your own house!!! my god!!! THANK YOU!!!

Reasons:
  • Blacklisted phrase (0.5): THANK YOU
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): when
  • Low reputation (1):
Posted by: lujan99

79121670

Date: 2024-10-24 11:32:21
Score: 1
Natty:
Report link

Try updating cocoapods to latest version by uninstalling existing and installing new version

brew remove cocoapods

brew remove --cask cocoapods //if you use cask

brew install cocoapods

After that you will have the latest version of cocoapods.

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

79121665

Date: 2024-10-24 11:29:20
Score: 9
Natty: 8
Report link

Have you found the solution? Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2.5): Have you found the solution
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Alexander

79121658

Date: 2024-10-24 11:28:20
Score: 0.5
Natty:
Report link

Please Use

az login --user-device-code

you will have URL as follows

az url

open link in browser enter the code next to URL Close the browser Type az login (UID, PWD) you will be prompt the subscription to select and you are done

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

79121621

Date: 2024-10-24 11:15:17
Score: 3.5
Natty:
Report link

Also ran into this issue, sadly. As far as I can tell, it is a bug on Micrometer side, so reported there: https://github.com/micrometer-metrics/micrometer/issues/5604

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

79121615

Date: 2024-10-24 11:12:16
Score: 2
Natty:
Report link

The answer given by Jan Itor is correct. With your code, the composition is happening only once, so the layout inspector is not showing any recomposition at all.

In short, rendering a composable involves three phases, namely, Compostion, Layout and Draw, and if only layout is changed, re-compostion will be skipped.

The second link (which is provided by Jan Itor) has another link to a very short blog, which is explaining the same thing with a very short video. If someone wants to grasp it quickly, here is the link - https://medium.com/androiddevelopers/jetpack-compose-debugging-recomposition-bfcf4a6f8d37, watching only the video can also work.

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Blacklisted phrase (1): here is the link
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Sachin Gupta

79121610

Date: 2024-10-24 11:11:16
Score: 2.5
Natty:
Report link

I faced the same issue, using old version(20231117) of openai-whisper worked for me.

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

79121603

Date: 2024-10-24 11:10:16
Score: 3
Natty:
Report link

You can't just use file like an object in python, you must import the class to use it in your file1 :

from .file2 import mytest

After that you can use it in your file1

def f0():
    mytest.f1("5")

But it will throw an error because in your class constructor, you call f2() before f1() so n isn't instantiated.

  Traceback (most recent call last):
  File "C:\Dev\tmp\file1.py", line 1, in <module>
    from file2 import mytest
  File "C:\Dev\tmp\file2.py", line 1, in <module>
    class mytest:
  File "C:\Dev\tmp\file2.py", line 10, in mytest
    f2()
  File "C:\Dev\tmp\file2.py", line 8, in f2
    print("test f2 : " + n)
                         ^
NameError: name 'n' is not defined

Btw you shouldn't call functions in your class constructor.

I doesn't understand why you need global variable, can you explain it please ?

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • RegEx Blacklisted phrase (2.5): can you explain
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Malfeitor

79121586

Date: 2024-10-24 11:05:15
Score: 2.5
Natty:
Report link

spark.conf.set("spark.sql.legacy.timeParserPolicy", "LEGACY")

configuraciones de la session también lo resuelve

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

79121569

Date: 2024-10-24 10:59:13
Score: 0.5
Natty:
Report link

You can detect Long press by using below code

override fun onAccessibilityEvent(event: AccessibilityEvent?) {
    if (event?.eventType == AccessibilityEvent.TYPE_VIEW_LONG_CLICK) {
        // LongPress Detected here
    }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Bhargav Ghodasara

79121566

Date: 2024-10-24 10:59:13
Score: 2
Natty:
Report link

For Windows users, the best option that worked for me was to end the dart task from the Task Manager. Here's a screenshot below: end all the dart task

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Covenant T. Junior

79121547

Date: 2024-10-24 10:54:12
Score: 2.5
Natty:
Report link

Solution to the issue was casting oracle values as number in source.

What's interesting is that another solution that worked was to specify N number of rows to fetch in source (worked even without cast function).

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

79121545

Date: 2024-10-24 10:53:10
Score: 11 🚩
Natty: 5.5
Report link

did you ever solve this issue ?

Reasons:
  • RegEx Blacklisted phrase (3): did you ever solve this
  • RegEx Blacklisted phrase (1.5): solve this issue ?
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (1):
Posted by: user1617562

79121544

Date: 2024-10-24 10:53:09
Score: 3
Natty:
Report link

Have you done php artisan config:cache? If so try running php artisan config:clear in your terminal. Also if you are using php artisan serve you need to kill that process and start it again to see the changes in .env file.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: M Umar Habib

79121531

Date: 2024-10-24 10:51:09
Score: 2
Natty:
Report link

Read the question carefully. What, specifically, is the question asking for? Make sure your answer provides that – or a viable alternative. The answer can be “don’t do that”, but it should also include “try this instead”. Any answer that gets the asker going in the right direction is helpful, but do try to mention any limitations, assumptions or simplifications in your answer. Brevity is acceptable, but fuller explanations are better.

Reasons:
  • Whitelisted phrase (-1): try this
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user27966322

79121530

Date: 2024-10-24 10:51:09
Score: 1.5
Natty:
Report link

You are right. useState() and useRef() might seem like a react-specific solution. But, if you see in vanilla js, you would have needed to write custom logic and update it. React, however, automatically re renders it and tracks those changes.

Without something like useState(), you would lose the previous state on every re-render because React components are re-executed each time they update.

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

79121523

Date: 2024-10-24 10:45:08
Score: 2.5
Natty:
Report link

There is also a new option "typescript.preferences.autoImportSpecifierExcludeRegexes", which could help.

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

79121521

Date: 2024-10-24 10:44:08
Score: 2
Natty:
Report link

My simple solution to this was to drop the updated file in the Windows Startup folder, along with a batch file that copies it to the Word\Startup folder and then self-destructs. Next time the user reboots their PC, the file is updated, and since it runs at startup, Word is very unlikely to be open in time to interfere. You can also just call a batch file / installer that then asks the user to close all open instances of Word before copying the file.

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

79121511

Date: 2024-10-24 10:40:07
Score: 3
Natty:
Report link

ExcelUtils excelUtils = new ExcelUtils(url, sheet); Change the sheet to sheet 1 to avoid the problem. Actually, the sheet was not present, which is why it displays an error.

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

79121504

Date: 2024-10-24 10:38:06
Score: 1
Natty:
Report link

when you use libs it's like that you just keep the dependencies string away from gradle anlong with that dependencie version.

shortly if you intend to only use one module project which will have only one gradle file then there is no benefits for using libs.

but if the project is multimodule (will have a. build.gradle.kts file for each module) libs are very helpful here since they help you centralize all your dependecies and versions in one place and call them from any gradle file.

and with that you can a void a lot of problems like using different versions of the same dependency by mistake also when u need to update a version for example you wont have to do it for all modules and your build folders will looks much cleaner .

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Starts with a question (0.5): when you use
  • Low reputation (0.5):
Posted by: Mohamed Mabrouki

79121493

Date: 2024-10-24 10:36:05
Score: 4
Natty: 5
Report link

If you ever did find a solution to this problem it would be great to read. thanks

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

79121492

Date: 2024-10-24 10:35:03
Score: 6.5 🚩
Natty:
Report link

What is the version of SQL Server? And what is the Cumulative Update you have.

We are also facing the same issue. It looks like this started after the CU28 of SQL Server 2019.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): also facing the same issue
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): What is the
  • Low reputation (1):
Posted by: Atiqrahman

79121487

Date: 2024-10-24 10:35:03
Score: 1
Natty:
Report link

On Firebase:

Also, make sure you have added the Team ID & App Store ID as well.

On Xcode:

I had faced the same issue on iOS and the authentication key(p8) file was missing & also the team IDs and App Store Ids were missing, adding which solved the problem for me.

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

79121481

Date: 2024-10-24 10:34:02
Score: 1
Natty:
Report link

The link in accepted answer is not working, so I am adding my solution of the problem.

Using xUnit 2.8.1 and visual studio runner.

When I tried to disable parallelization in xunit.runner.json, it did not work. Neither with just

"parallelizeTestCollections": false

nor when adding

"maxParallelThreads": 1

my solution was to use the assembly attribute

[assembly: CollectionBehavior(MaxParallelThreads = 1, DisableTestParallelization = true)]
Reasons:
  • Blacklisted phrase (1): did not work
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Matus

79121477

Date: 2024-10-24 10:32:02
Score: 0.5
Natty:
Report link

Script/Alphabet - Unicode Range

Basic Latin - U+0000 to U+007F

Latin-1 Supplement U+0080 to U+00FF

Cyrillic U+0400 to U+04FF

Greek and Coptic U+0370 to U+03FF

Arabic U+0600 to U+06FF

Hebrew U+0590 to U+05FF

Devanagari U+0900 to U+097F

CJK Unified Ideographs U+4E00 to U+9FFF

Hiragana U+3040 to U+309F

Katakana U+30A0 to U+30FF

Hangul Syllables U+AC00 to U+D7AF

Thai U+0E00 to U+0E7F

Tamil U+0B80 to U+0BFF

Bengali U+0980 to U+09FF

Georgian U+10A0 to U+10FF

Armenian U+0530 to U+058F

Ethiopic U+1200 to U+137F

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

79121475

Date: 2024-10-24 10:32:02
Score: 2.5
Natty:
Report link

it may be too late to answer, but if you are still interested, this is what you are looking for:

https://github.com/LudovicRousseau/pyscard

Greetings.

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

79121474

Date: 2024-10-24 10:32:02
Score: 2.5
Natty:
Report link

Adding @preconcurrency in front of import HealthKit will save you from headaches when sending HK objects up and down as many of HK's moving parts are not @Sendable.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @Sendable
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: kafran

79121470

Date: 2024-10-24 10:31:59
Score: 7 🚩
Natty: 4.5
Report link

Can't comment yet because of lack of reputation, so I have to write here, it's not an answer but an extension of the question. I am currently trying to figure out the same thing. Is this still unavailable?

Claude suggested me to add the following to my keybindings, which sounds like it should do the trick, but doesn't

    {
        "key": "shift+enter",
        "command": "workbench.action.debug.evalSelectionInDebugConsole",
        "when": "debuggersActive && editorTextFocus && editorLangId == 'python'"
    }

any ideas?

Reasons:
  • Blacklisted phrase (1): not an answer
  • Blacklisted phrase (1): any ideas
  • RegEx Blacklisted phrase (1): Can't comment
  • RegEx Blacklisted phrase (1.5): reputation
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Can't
  • Low reputation (1):
Posted by: Georg Raiser

79121468

Date: 2024-10-24 10:30:59
Score: 4
Natty: 4
Report link

It was recently fixed in iOS 18 without any bigger announcement…

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

79121465

Date: 2024-10-24 10:28:58
Score: 1
Natty:
Report link
SELECT i.name AS index_name,COL_NAME(ic.object_id, ic.column_id) AS column_name,ic.is_included_column

FROM sys.indexes i INNER JOIN sys.index_columns ic ON i.object_id = ic.object_id AND i.index_id = ic.index_id WHERE i.object_id = OBJECT_ID('your_table_name');

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

79121462

Date: 2024-10-24 10:27:58
Score: 0.5
Natty:
Report link

Please review your observations.

Please review your observations as while running the same code over here, it worked the same way you have been looking for.

Please see below the test run results.

a. On loading the App

Browser display - On loading the App

b. On typing hello

Browser display - On typing hello

c. On clicking the button soon after the typing

Browser display - On clicking the button

d. On deleting the input

Browser display - On deleting the input

Reasons:
  • Whitelisted phrase (-1): it worked
  • Probably link only (1):
  • No code block (0.5):
Posted by: WeDoTheBest4You

79121461

Date: 2024-10-24 10:27:58
Score: 1
Natty:
Report link

The problem is related to pip's proxy witch you should delete it as follows:

  1. Open your file explorer then in address bar type %AppData% and press enter. These steps leads to address: C:\Users....\AppData\Roaming.
  2. In opened Roaming folder, open pip folder and delete any file inside it. These files are related to the proxy made for your python pip installer. This step removes pip's proxy and you will have no more ProxyError.

Hint: probably, pip's proxy file is a text file witch if you open it, you can see proxy address. Any time you connect with a proxy, it is possible to face with such problem and so you must do these steps.

Good Bye.

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

79121458

Date: 2024-10-24 10:26:58
Score: 1.5
Natty:
Report link

In my case, the problem was with ESET Antivirus. The 'Eset Network Access Protection' extension was blocking my localhost access. I just disabled it."

On MacOS (Sequoia) : System Settings > General > Login Items & Extensions > NetworkExtensions > "info icon"

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

79121456

Date: 2024-10-24 10:26:58
Score: 0.5
Natty:
Report link

By default, the model does not automatically save the weights of the best- performing epoch. You need to explicitly configure this behavior using a callback like modelcheckpoint in libraries like keras or TensorFlow.

I am attaching gist file for your reference

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

79121455

Date: 2024-10-24 10:26:58
Score: 3
Natty:
Report link

I don't believe that you're importing exists here. The package has no affiliation to 'craft_structure'. Please see here for available functionality.

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

79121451

Date: 2024-10-24 10:25:57
Score: 1
Natty:
Report link

X and Y <=> forall Y, A -> B -> Y

We have a R, R satisfies:

A -> B -> R

forall Y, A -> B -> R -> Y

we name R as product type.

X or Y <=> forall Y, (A -> Y) -> (B -> Y) -> Y

We have a R, R satisfies:

A -> R

B -> R

forall Y, (A -> Y) -> (B -> Y) -> R -> Y

we name R as sum type.

exist X, P(X) <=> forall Y, (forall X, P(X) -> Y) -> Y

We have a R, R satisfies:

forall X, P(X) -> R

forall Y, (forall X, P(X) -> Y) -> R -> Y

we name R as existential type.

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

79121437

Date: 2024-10-24 10:20:56
Score: 4.5
Natty: 4.5
Report link

is this syntax correct?

UPDATE tabWebArt SET ArtImgLink = null WHERE ArtImgLink = '-'

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): is this
  • Low reputation (1):
Posted by: Bimbo

79121436

Date: 2024-10-24 10:20:56
Score: 2
Natty:
Report link

How complicated answers !! It's easy to get the email adress this way :

_

curl -s 'https://api.github.com/repos/$owner/$project/commits' | jq '.[0] | .commit.author.email'

It will output the email address of the last commiter .

For example, you can this way extract the 15 email of the 15 last commiters of chromium project :

curl -s 'https://api.github.com/repos/chromium/chromium/commits?per_page=15' | jq '.[] | .commit.author.email'

Kind regards

nbanba

Reasons:
  • Blacklisted phrase (1): regards
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): How
  • Low reputation (0.5):
Posted by: nbanba

79121426

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

The actual problem was a wrong interface number. My only guess is that there is some sort of error correction that differs in behavior on Windows and on Linux. On Linux it corrected the interface number from 0 to 1 (which was the actual interface I was sending data through) so the program worked but on Windows it corrected the endpoint number in the wrong interface and this is why it said endpoint 0x82 in the log and this is also why it did not work.

Reasons:
  • Blacklisted phrase (1): did not work
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Coffee Spoon

79121422

Date: 2024-10-24 10:16:54
Score: 0.5
Natty:
Report link

You have to use $ to access the parts value, like this:

String jsltExpression = "let parts = split(.id, \"/\") { \"result\": $parts[1] + $parts[3] }";

You can try jslt expression in the playground (https://www.garshol.priv.no/jslt-demo), it gives you more feedback on errors.

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

79121419

Date: 2024-10-24 10:15:54
Score: 3
Natty:
Report link

Ensure "Manage Stock" is enabled for the grouped and simple products, and that the grouped product's stock status is set to "In Stock."

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

79121408

Date: 2024-10-24 10:11:53
Score: 1.5
Natty:
Report link

NativePHP's built-in binaries now include the zip extension by default 🎉

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

79121405

Date: 2024-10-24 10:09:52
Score: 1.5
Natty:
Report link

I had the same issue when I was setting up the project on a new server, in my case ofcourse the system was missing the hosting bundle.

I installed Hosting Bundle 8.0 and tried restarting IIS server, it did not work.

As the application hosted was in .Net 6 I had to install Hosting Bundle 6.0 as well. After restarting IIS, the issue was resolved.

Reasons:
  • Blacklisted phrase (1): did not work
  • Whitelisted phrase (-1): I had the same
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: raw_hitt

79121392

Date: 2024-10-24 10:06:51
Score: 1.5
Natty:
Report link

Thanks for the link Pang

When using AddScoped, it's by design...

There is an example just below in the documentation: https://learn.microsoft.com/en-us/aspnet/core/fundamentals/dependency-injection?view=aspnetcore-8.0#disposal-of-services

A brief excerpt from this example:

public class Service1 : IDisposable
...
builder.Services.AddScoped<Service1>();
...
public class IndexModel : PageModel
{
  private readonly Service1 _service1;
  public IndexModel(Service1 service1)
  {
    _service1 = service1;
  }
  public void OnGet()
  {
    _service1.Write("IndexModel.OnGet");
  }
}
...
Console:
Service1: IndexModel.OnGet
Service1.Dispose    
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: VictorNS

79121374

Date: 2024-10-24 10:00:50
Score: 3.5
Natty:
Report link

I am sure you found a solution to this but I came across your post as I was having a similar issue.

I do not know if this helps you: https://nextjs.org/docs/app/api-reference/functions/fetch#troubleshooting

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

79121372

Date: 2024-10-24 10:00:50
Score: 1.5
Natty:
Report link

For Ubuntu (20.04):

sudo apt install clang
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Shaiful Islam

79121371

Date: 2024-10-24 09:59:49
Score: 1.5
Natty:
Report link

When a transaction is edited in Xero, there is a journal to reverse the original transaction and then a new journal for the revised details.

You would group the journals by source id and the current position is the net value of all the journals. The most recent journal has the current details for the transaction in terms of date and account codes etc. Journals are strictly sequential so the highest journal is the most recent, you can also check the updated date

Reasons:
  • No code block (0.5):
  • Starts with a question (0.5): When a
  • Low reputation (0.5):
Posted by: sallyhornet

79121368

Date: 2024-10-24 09:58:49
Score: 1.5
Natty:
Report link

For Ubuntu install:

sudo apt install libxcb-cursor0 libxcb-cursor-dev
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Shaiful Islam

79121367

Date: 2024-10-24 09:58:49
Score: 1
Natty:
Report link

In Angular 17:

import { ChangeDetectionStrategy, Component } from '@angular/core'; 
@Component({
selector: 'app',
standalone: true,
imports: [],
changeDetection: ChangeDetectionStrategy.OnPush,
template: ``
})
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Long Tran

79121366

Date: 2024-10-24 09:58:49
Score: 3
Natty:
Report link

I recommend using Force Update Helper package instead. The implementation is simple & also supports Firebase Remote Config Fetch.

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

79121360

Date: 2024-10-24 09:56:49
Score: 1.5
Natty:
Report link

just testing this function and have a question why result TO_BYTES is giving me slightly diffrent value.

select hash_md5('8009304000003022'), CAST (TO_BYTES (hash_md5('8009304000003022'), 'base16') as BYTE (16));

I have number of HASH_MD5 values loaded to TD as BYTE(16) and would like to join using this function.

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

79121356

Date: 2024-10-24 09:55:48
Score: 1
Natty:
Report link

It turns out I almost had it right, but there was an issue in the generator expression in the custom target. As suggested here, I had to change the whitespace with $<SEMICOLON> So the add_custom_target becomes

add_custom_target(Merge${target}Libraries
        COMMAND libtool -static -o ${destination} "$<GENEX_EVAL:$<JOIN:${TARGET_DEPENDENCIES},$<SEMICOLON>>>"
        COMMAND_EXPAND_LISTS
        DEPENDS ${target})
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Marco Giglio

79121351

Date: 2024-10-24 09:54:48
Score: 1
Natty:
Report link

When Martin wrote this book, REST (REpresentational State Transfer) and SPA (Single Page Application) were not very popular yet. I think he was looking at a Server-Side Rendering architecture, like JSP/JSF, where a fully generated view is sent to the client, not its state. In this architecture, controllers are indeed part of the presentation layer, as they are responsible for displaying data and handling user interface events. Therefore, it was more logical to place security functionality in the service layer. However, in the REST architecture, the role of the controller in forming the user interface has significantly decreased. The presentation layer has almost completely moved to the client's browser, and controllers are left only with processing HTTP requests. In REST architecture, controllers can no longer be part of the presentation layer, they have created a new layer - API, into which security functionality fits harmoniously.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When
Posted by: Andrey Smelik

79121340

Date: 2024-10-24 09:51:47
Score: 3
Natty:
Report link

No, it is not supported. You may need other tools to transform the data.

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

79121333

Date: 2024-10-24 09:49:47
Score: 0.5
Natty:
Report link

Since one-hot encoding uses hashing, there is a probability of collisions where different words are assigned the same index. The probability of collision increases with the vocabulary size. However, a larger vocabulary can also improve the representation of distinct words. Jason Brownlee suggests using a vocabulary size about 25% larger than the number of unique words to balance collision risk and representation quality. By increasing the vocabulary size in the provided code, the numerical representation of the text changes, resulting in different encoded values.Please refer this gist

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

79121331

Date: 2024-10-24 09:49:47
Score: 2.5
Natty:
Report link

Integrating Microsoft Dynamics into an iOS app can be a powerful way to enhance your application's functionality, allowing users to access CRM data and features directly from their mobile devices.

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

79121328

Date: 2024-10-24 09:49:47
Score: 2
Natty:
Report link

Thanks to all! I kind of solve the problem with the dirty trick according to a comment by Srikant in the following link.

https://stackoverflow.com/questions/74979674/gensim-install-in-python-3-11-fails-because-of-missing-longintrepr-h-file
(check the reply by user @Srikant)

But I need to find the location of my python.exe in my conda environment.
Then I copied longintrepr.h to the include folder in the environment folder.
That is

~/anaconda3/envs/my311/include

DavidW also suggested to either upgrade my Cython or downgrade my python.
Thanks! I will try that later.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Farn Wang

79121326

Date: 2024-10-24 09:48:47
Score: 3.5
Natty:
Report link

Fixed it, actually I was decrypting data which was encrypted using a different kms key!

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

79121321

Date: 2024-10-24 09:47:46
Score: 1
Natty:
Report link

function isFragment(NodeType) {
    const isSymbol = typeof NodeType === 'symbol'
    if (isSymbol && NodeType.toString() === 'Symbol(react.fragment)') {
      return true
    }

    return false
}

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

79121318

Date: 2024-10-24 09:45:46
Score: 1
Natty:
Report link

If it doesn't work like this:

export PATH=$PATH:"/Users/your-username-here/fvm/default/bin"

try put the ":$PATH" at the end:

export PATH="/Users/your-username-here/fvm/default/bin:$PATH"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ion Capita

79121316

Date: 2024-10-24 09:44:46
Score: 4
Natty:
Report link

Late in thread ..but if any one is still facing the issue like I did, please upgrade to Node 20 (it says > 18.20 but I upgraded to 20 anyway)

Reasons:
  • RegEx Blacklisted phrase (1): I did, please
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Shekhar Priyadarshi

79121311

Date: 2024-10-24 09:43:45
Score: 1
Natty:
Report link

After I deployed the Azure B1 VM (HKD 1000/month for each instance) and git committed my code to the Azure App service, the web page showed the default Azure page.

However, when I changed the pricing plan to a more expensive Production Premium server (>HKD 400/month for each instance) and deployed 2 such VMs to prevent single-point failure. Now, the page does not show the default Azure page and everything is good.

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

79121310

Date: 2024-10-24 09:43:43
Score: 6.5 🚩
Natty: 4
Report link

I have the very same thing happening to the form that's embedded on Cargo website. Could someone advice on how to make it work? When I tried adding the script function suggested by @davidm_uk, I got an error about 'broken code'.

Reasons:
  • RegEx Blacklisted phrase (2.5): Could someone advice
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @davidm_uk
  • Single line (0.5):
  • Low reputation (1):
Posted by: Adam Tarasewicz

79121302

Date: 2024-10-24 09:42:43
Score: 4
Natty: 4.5
Report link

This solved my problem. I faced the same issue with Qt MinGW debugger. https://answers.microsoft.com/en-us/windows/forum/all/error-0x8002801d-mainly-library-not-registered/fe913e59-6b93-42d0-a059-e511ad6163cd

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

79121298

Date: 2024-10-24 09:41:42
Score: 2
Natty:
Report link

for those who are looking here later, there is an npm package that can be used separately from the child process, I'll leave the link for the get-windows package below

npm packet get-windows

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

79121287

Date: 2024-10-24 09:38:41
Score: 1
Natty:
Report link

Finally yeah!

https://github.com/vercel/next.js/discussions/49832#discussioncomment-11038857

"use client";
import { ThemeProvider } from "next-themes";
import Navbar from "./Navbar";
import { useEffect, useState } from "react";

interface Props {
  children: React.ReactNode;
}
const BaseLayout = ({ children }: Props) => {
  const [mounted, setMounted] = useState(false);

  useEffect(() => {
    setMounted(true); // Only render the ThemeProvider after mounting
  }, []);

  if (!mounted) {
    return <>{children}</>; // Render without theme provider initially (avoids mismatch)
  }
  return (
    <ThemeProvider attribute="class" enableSystem={false}>
      <Navbar />
      <main className="pt-16">{children}</main>
    </ThemeProvider>
  );
};

export default BaseLayout;
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Win Min Aung

79121283

Date: 2024-10-24 09:37:41
Score: 3.5
Natty:
Report link

Make sure your readOnly property is set to true in TextFormField.

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

79121280

Date: 2024-10-24 09:37:41
Score: 0.5
Natty:
Report link

if your'e using react-native-video, to prevent background music from being paused on android pass the following prop

disableFocus={true} // Prevents background music from being paused

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

79121272

Date: 2024-10-24 09:34:40
Score: 2
Natty:
Report link

You can refer below link to get a better understanding of <x-***> layouts. Layouts are generally found in the project\resources\views\layoutsdirectory.

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