79144580

Date: 2024-10-31 11:50:48
Score: 1
Natty:
Report link

LimitRange and ResourceQuota are both applied at namespace level - means a constraint in namespace A does not work in a namespace B.

The difference is that LimitRange is a constraint for individual (descrete) Containers and Pods of this namespace.

In contrast ResourceQuota is a constraint for the sum of all kinds of objects of the same namespace - a Pod is one kind of an object. Means the ResourceQuota for CPU is a constraint for all the Pods together within this namespace.

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

79144567

Date: 2024-10-31 11:45:46
Score: 0.5
Natty:
Report link

As per document the Partition option it will parse the partitioned file path and add it as column in destination.

enablePartitionDiscovery - For files that are partitioned, specify whether to parse the partitions from the file path and add them as extra source columns.

How should I configure the partitions and the data load activity to get maximum throughput?

To load the data in faster and efficient way you can try below options:

enter image description here

You can refer this document for more information on how to optimize copy activity

Reasons:
  • Blacklisted phrase (1): this document
  • Blacklisted phrase (1): How should I
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: Pratik Lad

79144562

Date: 2024-10-31 11:44:46
Score: 1
Natty:
Report link

If you call an unmanaged function and this function returns -before- the callback has been used. Then the garbage collector can reclaim the callback since as far as .Net is concerned : it doesn’t exist at all it can garbage collect it.

There’s multiple ways you can go about it.

  1. if your callback can be a static function then you can follow the unmanaged caller example.
  2. If it can’t be static, (say you have a bunch of runtime arguments). Then while the callback will not be garbage collected when pinvoked, it can be garbage collected -after- the function returns. The arguments you pass to the pinvoked function definitely can be collected as well. So if you got some state class passed as an argument, you need to preserve them from being garbage collected through a GCHandle.

Unfortunately it’ll be tough to debug without knowing what exactly has been garbage collected. I suggest creating a GCHandle to the delegate then freeing it after the delegate has been called if the delegate is a callback called.

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

79144559

Date: 2024-10-31 11:43:46
Score: 3
Natty:
Report link

I use AWS MediaConnect to send SRT streams instead, and then push that to AWS MediaLive. I'm not an RTMP fan, as SRT is more robust for connections and SRT gateways

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

79144551

Date: 2024-10-31 11:41:45
Score: 3
Natty:
Report link

You just have to enable createUserWithEmailAndPassword in your Firebase authentication. here are screenshots: enter image description here

enter image description here

enter image description here

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

79144549

Date: 2024-10-31 11:40:45
Score: 2
Natty:
Report link

There are a few things you can try to resolve this issue:

  1. Check if the SQL Server Browser service is running. The SQL Server Browser service listens for incoming requests for Microsoft SQL Server resources and provides information about SQL Server instances installed on the computer.
  2. Make sure that TCP/IP connections are enabled for your SQL Server instance and make sure that TCP/IP is enabled. Both of these you can check from the SQL Server Configuration Manager.
  3. Check your firewall settings. Make sure that the SQL Server port is open on the firewall. The default port for SQL Server is 1433, but this can be configured during installation.
  4. Verify the connection string in your .NET application. Make sure that the Data Source value is correct and includes the correct port number. You can also try using the IP address of the SQL Server instead of the server name.

If you're running your .NET application in a Docker container, make sure that the container is connected to the correct network and can communicate with the SQL Server instance. You can also try exposing the SQL Server port on the host machine and mapping it to the container port using the -p option when running the Docker container.

Best regards, Hesham

Reasons:
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hesham Essam

79144534

Date: 2024-10-31 11:36:44
Score: 4.5
Natty:
Report link

Thanks to @mb21 the issue was detected: Simply use fetch-depth: 2

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • Has code block (-0.5):
  • User mentioned (1): @mb21
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: GH-MK

79144529

Date: 2024-10-31 11:35:43
Score: 2
Natty:
Report link

WPF controls that are able to bind to ObservableCollection already have this code as they keep the collection of controls displayed on screen in sync with the changes in ObservableCollection. Try looking ot "OnMapChanged" method here https://github.com/dotnet/wpf/blob/main/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Controls/ItemContainerGenerator.cs

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

79144510

Date: 2024-10-31 11:30:42
Score: 0.5
Natty:
Report link

I reply to this thread of mine with a different issue for the same snippet. After several revisions of the code, it now works as expected, however PHP produces a warning which I would like to resolve.

The part in question is the following:

if (is_shop()) {
        $output = flrt_selected_filter_terms();

        foreach ($output as $value) {
            $x = $value['values'][0];
            $y = get_term_by('slug', $x, $value['e_name']);
            $z = $y->name;

            $new_breadcrumb = new bcn_breadcrumb($z, NULL, array('home'), get_site_url() . '/e-shop/' . $value['slug'] . '-' . $value['values'][0], NULL, true);
            array_splice($breadcrumb_trail->breadcrumbs, -4, 0, array($new_breadcrumb));
        }
    }

It looks as when the bcn object is created, PHP complains:

PHP Warning:  foreach() argument must be of type array|object, bool given
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: fesarlis

79144507

Date: 2024-10-31 11:29:42
Score: 2
Natty:
Report link

gitlab seem to have changed both their documentation and their web UI, so the above guidelines no longer apply. I've found the most recent info at https://old.reddit.com/r/gnome/comments/1ebc8aw/notifications_toggle_for_issue_on_gnomeshell/. For muting notifications for a particular issue, click the vertically arranged triple-dot icon located to the right of the issue title, and in the menu that pops up, disable Notifications.

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

79144506

Date: 2024-10-31 11:28:42
Score: 0.5
Natty:
Report link

This is what I have discovered from here:

Binding against the AD has a serious overhead, the AD schema cache has to be loaded at the client (ADSI cache in the ADSI provider used by DirectoryServices). This is both network, and AD server, resource consuming - and is too expensive for a simple operation like authenticating a user account.

While it does not explain the behaviour of why the try-catch does not catch the error, it did point me to a workable solution using PrincipalContext instead.

This works without any delay or error:

private bool AuthenticateUser(string userName, string password)
{
    using (PrincipalContext context = new PrincipalContext(ContextType.Domain, "EnterYourDomain"))
    {
        return context.ValidateCredentials(userName, password);
    }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Alan

79144502

Date: 2024-10-31 11:27:41
Score: 1.5
Natty:
Report link
  1. Learn Basics of JavaScript. [here]
  2. Learn Angular Basics [here]
  3. Start Working on a simple project that you already created in some other language.
  4. Learn typescript then. [here]

Resources

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

79144490

Date: 2024-10-31 11:20:40
Score: 5.5
Natty:
Report link

This is not an answer. Since I don't have have enough reputation to comment, I'm posting this as an answer. Once you see this, reply to this answer/edit the question so that I can delete it

I wanted to tell you to share a sample project where this issue is reproducible

Reasons:
  • Blacklisted phrase (1): not an answer
  • Blacklisted phrase (1): to comment
  • RegEx Blacklisted phrase (1.5): enough reputation to comment
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user27894462

79144485

Date: 2024-10-31 11:19:39
Score: 3.5
Natty:
Report link

Instead of manually working out a form validation I strongly recommend to rely on libraries, like Yup for instance.

Take a look at the official React Bootstrap documentation, you'll find great examples to validate your form. There's also plenty of great documentation out there like this article, good luck!

Reasons:
  • Blacklisted phrase (1): this article
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: c7nj7n

79144463

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

I solved my problem differently. Since my PivotTable was actually a tabular format, I instead filled-up a table object with formulas so I could apply slicers and have the data refreshed automatically. Thanks everybody!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-2): I solved
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Corrado Barbero

79144453

Date: 2024-10-31 11:07:36
Score: 0.5
Natty:
Report link

On macOS if using pyenv find the location where the target python version binary is located. In my case it was ~/.pyenv/versions/3.7.16/bin/python3.7
Then do:
virtualenv venv -p=~/.pyenv/versions/3.7.16/bin/python3.7

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

79144451

Date: 2024-10-31 11:07:36
Score: 1
Natty:
Report link

In my case, I had to replace the imported AlertDialog class from:

import androidx.appcompat.app.AlertDialog;

to:

import android.app.AlertDialog;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Dankim

79144450

Date: 2024-10-31 11:07:35
Score: 4
Natty:
Report link

There was something wrong with the ports. Not with the code itself

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

79144447

Date: 2024-10-31 11:05:35
Score: 0.5
Natty:
Report link

The following worked:

mp.jwt.verify.publickey.location=https://www.gstatic.com/iap/verify/public_key-jwk
mp.jwt.verify.publickey.algorithm=ES256
mp.jwt.verify.issuer=https://cloud.google.com/iap
mp.jwt.verify.audiences=/projects/xxxxx/global/backendServices/xxxxxx
mp.jwt.token.header=x-goog-iap-jwt-assertion

Notice algorithm=ES256

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

79144446

Date: 2024-10-31 11:05:35
Score: 4.5
Natty:
Report link

It is probably a bug, I opened https://issues.redhat.com/browse/ISPN-16808.

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

79144445

Date: 2024-10-31 11:05:35
Score: 2
Natty:
Report link

Here is the reason of the behavior and how to correct it.

It is because the BaseComponents/ArraySelector.razor doesn’t have @using Microsoft.AspNetCore.Components.Web (that’s where events like @onclick are defined, specifically in class EventHandlers). That’s because the Components/_Imports.razor file doesn’t have an effect on the folder BaseComponents. One can either add the @using to the component, or to a BaseComponents/_Imports.razor file or (probably the best option) move the _Imports.razor file to the root of the project.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @using
  • User mentioned (0): @onclick
  • User mentioned (0): @using
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Bert

79144444

Date: 2024-10-31 11:04:34
Score: 4.5
Natty: 5.5
Report link

Does anyone know how to get the next value of a sequence that has been created from a stored procedure in SQL?

The above talks about oracle sql commands but I can't find anywhere the equivalent SQL syntax.

This is what I was told would work on SQL but I believe it's oracle based.

select Seq_name.nextval from DUAL;

Reasons:
  • RegEx Blacklisted phrase (2): Does anyone know
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user28074454

79144439

Date: 2024-10-31 11:01:33
Score: 2.5
Natty:
Report link

You have to set the environment variable in conf.py like so: os.environ["DEFAULT_PSW"] = "some_value"

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

79144434

Date: 2024-10-31 11:00:32
Score: 2
Natty:
Report link

Try From terminal use below command for the same.

sudo apt-get install python3-pandas
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ajay Anil Zori

79144426

Date: 2024-10-31 10:57:30
Score: 8 🚩
Natty: 5.5
Report link

This has also started happening to me Microsoft Visual Studio Professional 2022 (64-bit) - Current Version 17.10.6

Does anyone know why / how to fix?

Example of issue

Reasons:
  • RegEx Blacklisted phrase (2): Does anyone know
  • RegEx Blacklisted phrase (1.5): how to fix?
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Fletcher

79144411

Date: 2024-10-31 10:53:28
Score: 1
Natty:
Report link

something like this (using vals and arr from your example)?


    the_letter <- 'B'
    
    
    picklist <- Map(vals, f = \(val) ifelse(val == the_letter, 1, TRUE))
    do.call(`[`, c(list(x = arr), picklist))

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

79144408

Date: 2024-10-31 10:52:27
Score: 2.5
Natty:
Report link

The content section in browser is your request body actually. But if you want to use an HTML form to insert data, you need generic views from rest framework generics module, not simple APIView.

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

79144401

Date: 2024-10-31 10:51:27
Score: 3
Natty:
Report link

After your performClick() WaitforIdle() // add this

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

79144397

Date: 2024-10-31 10:49:26
Score: 3
Natty:
Report link

Toolbox window allows to place your Tables/Views to form. Ensure that in Options/Windows Forms Designer/Automatically Populate Toolbox is true

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

79144388

Date: 2024-10-31 10:46:26
Score: 0.5
Natty:
Report link

Currently, you’re storing the input values in $0 and $1, but the line i(r0, r1).r2 may not properly assign the return value to $2

Change this line:

System::Call "$INSTDIR\NSISRegistryTool::Add(i, i) i(r0, r1).r2"

By:

System::Call "$INSTDIR\NSISRegistryTool::Add(i $0, i $1) i .r2"

https://nsis-dev.github.io/NSIS-Forums/html/t-309400.html

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

79144383

Date: 2024-10-31 10:45:25
Score: 2
Natty:
Report link

I believe it is the camera hardware that is pausing the video feed during ptz movements. I can't reproduce with other Logitech cameras for example.

Which camera do you use by curiosity?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: François Beaufort

79144382

Date: 2024-10-31 10:44:25
Score: 3.5
Natty:
Report link

You might be interested in the following packages:

It should cover most important metrics.

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

79144380

Date: 2024-10-31 10:43:25
Score: 1.5
Natty:
Report link

Adding

server: {
    host: '127.0.0.1'
}

to the vite config fixed it for me

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

79144377

Date: 2024-10-31 10:43:25
Score: 0.5
Natty:
Report link

It looks like the behavior has changed since early 2018. On Julia 1.10.5 an error is reported.

julia> g() = (const global y = 1)
ERROR: syntax: `global const` declaration not allowed inside function around REPL[1]:1
Stacktrace:
 [1] top-level scope
   @ REPL[1]:1

julia> 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: TradingDerivatives.eu

79144372

Date: 2024-10-31 10:42:24
Score: 3
Natty:
Report link

With JSON function it works for me and in your Power automate PerseJSON tu use it enter image description here

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

79144370

Date: 2024-10-31 10:42:24
Score: 2.5
Natty:
Report link

In my case, the problem was mixed use of jakarta and javax packages. I remove jakarta and use only javax packages, and problem is gone.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Juliano José da Silva

79144368

Date: 2024-10-31 10:41:24
Score: 4
Natty: 4
Report link

This has been quite challenging. I have worked through the errors generated and addressed each in turn. The Embedded map works fine now on most browsers, however...

Analytics and Recaptcha are now blocked, they weren't before.

Is there a single fix for this any where?

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

79144356

Date: 2024-10-31 10:36:22
Score: 2
Natty:
Report link

This works for the examples of exclusions you gave:

Get-SmbShare -Special $false
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ryebank

79144355

Date: 2024-10-31 10:36:22
Score: 4.5
Natty: 4.5
Report link

Same happen to me today, I tried deploying package in SQL Server and setup the schedule but when I executed this error below came:

There was an exception while loading Script Task from XML: System.Exception: The Script Task "ST_36ae893a14204fac97ce8ce3b4ce8ebb" uses version 16.0 script that is not supported in this release of Integration Services. To run the package, use the Script Task to create a new VSTA script. In most cases, scripts are converted automatically to use a supported version, when you open a SQL Server Integration Services package in %SQL_PRODUCT_SHORT_NAME% Integration Services.

Can someone already fix this issue?

Reasons:
  • RegEx Blacklisted phrase (1.5): fix this issue?
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Larry Encomienda

79144351

Date: 2024-10-31 10:34:21
Score: 3
Natty:
Report link

The problem is that needs to be blank, not forward-slash. We've just had the same problem with an assembly that worked on Windows, but not when we came to use it on Linux. This was with assembly-plugin version 2.2-beta-5.

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

79144346

Date: 2024-10-31 10:32:21
Score: 3
Natty:
Report link

You can refer this repo where I just tried to execute simple test in github actions with dockerfile.

Additional note : I faced chrome crashing error when I passed headless and disable gpu but after passing no-sandbox option, issue not occurred.

You can check with Actions run details in same repo

Reasons:
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: NayeemJohn

79144335

Date: 2024-10-31 10:29:20
Score: 1.5
Natty:
Report link

I know lambda functions are prohibited by PEP8, but when I locally need it, I sometimes use

torch_geom = lambda t, *a, **kw: t.log().mean(*a, **kw).exp()  # Geometric mean
torch_harm = lambda t, *a, **kw: 1 / (1 / t).mean(*a, **kw)  # Harmonic mean
...

I find that it is a neat little way of getting what I want with a syntax matching that of pre-existing functions like torch.mean etc...

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ego-thales

79144332

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

You can't use cy.log() inside a beforeLoad and onLoad event handler. Instead you must use Cypress.log().

See this page of the documentation

cy.visit('https://teams.microsoft.com', {
  onBeforeLoad: (win) => {
    Cypress.log({displayName: 'visit', message: '🔄 Page starting to load'});
  },
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: E.Swallow

79144330

Date: 2024-10-31 10:28:20
Score: 2.5
Natty:
Report link

For me, using Laravel 11 with Inertia, I was forgetting to run npm run dev.

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

79144323

Date: 2024-10-31 10:26:19
Score: 1
Natty:
Report link

Using MainActor.assumeIsolated is good solution because awakeFromNib is a UI related function so It will be surely run on Main Thread. Don't call addContentView in Task because it will run asynchronous

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

79144318

Date: 2024-10-31 10:24:16
Score: 9 🚩
Natty: 5
Report link

having similar issue, however the sendgrid act like everything was passed fineenter image description here The real email wasnt updated bcs not able to fresh the dynamic template. I belive i can try in some time later. Any help?

Reasons:
  • Blacklisted phrase (1): Any help
  • Blacklisted phrase (1): enter image description here
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): having similar issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Semen Pasku

79144317

Date: 2024-10-31 10:23:16
Score: 1
Natty:
Report link

In order to communicate with the backend securely, the SSL certificate of the backend needs to be imported into the WSO2 keystore.

To accomplish this, follow Importing SSL certificates to a keystore, a section in WSO2 documentation that provides the step-by-step process of importing the certificate correctly into the keystore used by WSO2.

Importing SSL certificates to a keystore

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

79144316

Date: 2024-10-31 10:23:16
Score: 0.5
Natty:
Report link

finally i found the answer, we can use read method to do it

def read(self, cr, uid, ids, fields=None, context=None, load='_classic_read'):
    res = super(inspection, self).read(cr, uid, ids, fields, context=context, load=load)
    if len(res) == 1:
        cr.execute('select id from inspection_category')
        categories = [int(c[0]) for c in cr.fetchall()]
        for ce in categories:
            res[0]['category_id_'+str(ce)] = True
    return res
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Fares Izem

79144314

Date: 2024-10-31 10:22:15
Score: 1.5
Natty:
Report link

It will affect the speed of filtering on a "title" field. For example, if you want to introduce some combinations of vector and keyword search, aka you have some keyword (brand name) in a title, and you want to filter it with Qdrant's filtering mechanisms, it makes sense to index the payload field. (more here: https://qdrant.tech/articles/vector-search-filtering/)

Indexing the payload field won't affect the speed of vector search, though, which you're performing now, as I got it:)

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

79144312

Date: 2024-10-31 10:21:15
Score: 1.5
Natty:
Report link

I would suggest checking out ToQueryString to compare the differences between queries in .NET 6 and .NET 8. Then compare the query execution plans by using something like SQL Management Studio (Depending on the database).

Check answer: https://stackoverflow.com/a/77750594/6866338 for more information, on how to set the CompatibilityLevel to change the way that EF Core generates it's queries.

Also maybe an interesting Github issue that might help: https://github.com/dotnet/efcore/issues/32394

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

79144298

Date: 2024-10-31 10:19:15
Score: 1.5
Natty:
Report link

You can update your table with append mode using many of the google sheets extensions from the marketplace.

Like THIS one for example from OWOX Analytics (also with the overwrite option) or another one from Max Makhrov, a Google Sheets / Apps Script Expert.

Both of them come 100% free for Upload data from Sheets to BigQuery so far.

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

79144295

Date: 2024-10-31 10:18:14
Score: 3
Natty:
Report link

Ladybug has a lot of bugs. Downgrade to koala to make it work unless they fix ladybug.

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

79144269

Date: 2024-10-31 10:07:11
Score: 4
Natty: 4
Report link

Use command like first define clear then use the command saying command=clear

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

79144263

Date: 2024-10-31 10:06:10
Score: 2
Natty:
Report link

I faced the same problem but disabling antivirus didn't help. However, after visiting my Avast Antivirus table I noticed that the server.php file had been quarantined. I therefore restored and added it as an exception. And now my server is up with no errors

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

79144242

Date: 2024-10-31 10:00:09
Score: 3.5
Natty:
Report link

I had not added portainer to the public network , it was just part of ingress network and agent-portainer network. When I added to public network it became accessible

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

79144239

Date: 2024-10-31 09:59:09
Score: 2
Natty:
Report link

Look, Firebase is asking you a google account because Google cloud is made by google and firebase is based on google cloud, just like how vercel is based on AWS (Amazon Web services). So, it is not possible to deploy on google cloud without a google account, and same goes for firebase as it also having gemini and more of techincal google stuff/products. So you need to sign up for those products

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

79144228

Date: 2024-10-31 09:57:08
Score: 3
Natty:
Report link

The solution turns out to be nice and obvious [in retrospect]... and tested in Firefox, Chromium, Edge, and Polypane.

pen updated....

I also note that Kevin Powell has published a partially related video: https://www.youtube.com/watch?v=Vzj3jSUbMtI

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

79144226

Date: 2024-10-31 09:57:08
Score: 1
Natty:
Report link

I actually figured it out. The issue was permissions. The owner of ws1 didn't have any permissions on anything in ws2. We tried with Viewer to no avail, but Contributor on the Lakehouse was the thing that made it work.

So, to sum up the shortcut will have the same permissions as the user who owns the item that the shortcut is made from. I hope this will help others who runs into this problem.

Reasons:
  • Whitelisted phrase (-1): hope this will help
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: cdj_unitit

79144223

Date: 2024-10-31 09:56:08
Score: 0.5
Natty:
Report link

The error message you’re encountering suggests that the id field in your Validation model is not being set correctly when you try to create a new instance. Since you’ve specified that the id field is a BigAutoField, it should auto-increment and not require a manual value.

Here are some things to check and consider:

  1. Review the Validation Model Your Validation model appears to be set up correctly to auto-generate an id. However, if you have previously altered the table schema directly in the database or if there were issues with migrations, it could lead to unexpected behavior. Make sure your database schema aligns with your model definitions.

  2. Database Migration Ensure that your migrations are properly applied. Sometimes, after altering models, you may need to recreate your migrations. Run the following commands:

bash code: python manage.py makemigrations python manage.py migrate

  1. Check for Existing Data If you've previously inserted data into the validation table without the id column being set correctly, it could cause issues. You might want to check the existing records in the validation table. You can reset the id sequence using the following SQL command in pgAdmin:

SQL code: SELECT setval('validation_id_seq', (SELECT MAX(id) FROM validation));

Make sure the sequence name is correct. If validation_id_seq is not the correct name, you can find the actual sequence name using the following query:

SQL code: SELECT * FROM pg_sequences WHERE schemaname = 'public';

  1. Verify Model Creation When you create an instance of the Validation model, ensure you are not inadvertently overriding the id field. Here’s the relevant part of your register_view:

python code: Validation.objects.create(user=user, token=token, expired=timezone.now() + timezone.timedelta(hours=1))

This code should work fine if the Validation model is set up correctly. If you are still encountering issues, consider trying this alternative way of creating the object:

python code: validation_instance = Validation(user=user, token=token, expired=timezone.now() + timezone.timedelta(hours=1)) validation_instance.save()

  1. Check the Database Directly If issues persist, connect to your database using pgAdmin and inspect the validation table structure. Ensure that the id column is defined as a BigSerial (or equivalent) type, which auto-increments.

  2. Clean the Database (if necessary) If the validation table has data that conflicts with your model definition, and if it's feasible, you may want to delete any conflicting rows or even drop the table and recreate it. Note: This is destructive, so make sure you have backups or are working in a development environment.

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

79144221

Date: 2024-10-31 09:55:08
Score: 2.5
Natty:
Report link

I came across this thread as I needed JPEG quality estimation myself. After some tests with the Python port of the ImageMagick heuristic that @eddygeek posted here earlier, I ultimately went for a slightly different approach based on least squares matching of an image's quantization tables with the "standard" JPEG tables. See code here:

https://github.com/KBNLresearch/jpeg-quality-demo/blob/main/jpegquality-lsm.py

This also reports a metric that characterizes how similar the image's quantization tables are to the "standard" tables, which is useful as a measure of confidence (in general the quality estimates will become less reliable as the quantization tables deviate more from the standard tables).

See below blog post for an in-depth discussion of the method, and some tests I did with it (including a comparison with the ImageMagick heuristic):

https://www.bitsgalore.org/2024/10/30/jpeg-quality-estimation-using-simple-least-squares-matching-of-quantization-tables

My tests showed this can give quite different results than the ImageMagick heuristic, but the quality estimates are very close (and mostly identical) to those provided by the FotoForensics service.

Note that the code code requires a recent (if I'm not mistaken 8.3 or more recent) version of Pillow, see the note at the end of the blog post.

For some additional context, this blog post covers some of the problems I ran into with the ImageMagick heuristic (and this also led me to create my alternative implementation).

Reasons:
  • Blacklisted phrase (1): this blog
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • No code block (0.5):
  • User mentioned (1): @eddygeek
  • Low reputation (0.5):
Posted by: johan

79144217

Date: 2024-10-31 09:54:07
Score: 4.5
Natty:
Report link

https://github.com/langchain-ai/langchain/issues/26026

Seems like this is a known problem but not resolved

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

79144214

Date: 2024-10-31 09:53:07
Score: 2
Natty:
Report link

useFieldArray should be used with a name structured as "services". Then, register each item in the array as services[i].id, where i is the index. React server actions expect data in a form-compatible format, so use JSON.stringify() to serialize the array and handle deserialization on the server.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Md Mohosin Ali Shah

79144213

Date: 2024-10-31 09:53:07
Score: 1.5
Natty:
Report link

Problem solved by commenting out below line in nginx.conf:

listen       [::]:80;
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Mahbub Rahman

79144210

Date: 2024-10-31 09:53:07
Score: 1.5
Natty:
Report link

After months of troubleshooting, sleepless nights, countless open tabs, and help from ChatGPT, I finally found a solution to this messed up Exception error in Flutter for Android emulators! Although fixing it led to a new (and thankfully simpler) issue, this initial hurdle was by far the most challenging. Here's the full process I followed to resolve it: Step 1: Run Flutter Doctor Start by running flutter doctor to diagnose your environment and identify any missing components or issues. This command helps you understand which dependencies need to be installed or configured.

Step 2: Install cmdline-tools One of the key steps was to install Android’s cmdline-tools, as it was missing from the SDK.

  1. Download cmdline-tools from the official Android SDK page or through your Android SDK manager.
  2. Place the downloaded cmdline-tools folder in the following location within your SDK directory: makefile

C:\Users\YourUsername\AppData\Local\Android\Sdk\cmdline-tools\latest 3. Ensure that the bin directory within cmdline-tools is added to your system’s Path environment variable: makefile

C:\Users\YourUsername\AppData\Local\Android\Sdk\cmdline-tools\latest\bin Step 3: Accept Android Licenses After setting up cmdline-tools, navigate to the bin directory and accept the Android SDK licenses. Use the command: bash flutter doctor --android-licenses This step ensures that all necessary Android licenses are accepted, which is critical for running Android emulators and building apps. Step 4: Configure Java Ensure your Java Development Kit (JDK) version is compatible with both Flutter and Android:

  1. Install JDK 17 (which is compatible with Flutter). You can download it from the Oracle JDK page or use open-source options like Adoptium.
  2. Set the JAVA_HOME environment variable to point to your JDK 17 installation, e.g., C:\Program Files\Java\jdk-17.
  3. Edit your Path to ensure that the JDK 17 bin directory is the first Java path listed. To verify, restart your command prompt and run: bash

java -version This should return Java 17. Step 5: Run Flutter Again After setting up cmdline-tools, accepting licenses, and configuring Java, try running your Flutter code on the Android emulator. With everything correctly set up, the emulator should run without the original connection error.

The major Issue Im facing currently is this: ERROR: JAVA_HOME is set to an invalid directory: =C:\Program Files\Java\jdk-22

Please set the JAVA_HOME variable in your environment to match the location of your Java installation. Running Gradle task 'assembleDebug'... 243ms Error: Gradle task assembleDebug failed with exit code 1

And I've tried everything

Reasons:
  • Blacklisted phrase (1): ve tried everything
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: shizzleclover

79144209

Date: 2024-10-31 09:53:04
Score: 7.5 🚩
Natty:
Report link

I faced the same issue, also need help, have you fixed the issue? enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • RegEx Blacklisted phrase (1.5): fixed the issue?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Allan Hua

79144207

Date: 2024-10-31 09:52:04
Score: 1
Natty:
Report link

This is based on @mike-rosoft's answer, in case someone still ends up here. The Timeout property is not available anymore from the LookupClient object in later versions of DnsClient. Instead, use this:

        using DnsClient;

        var lookupOptions = new LookupClientOptions(new[] { IPAddress.Parse("8.8.4.4"), IPAddress.Parse("8.8.8.8") })
        {
            Timeout = TimeSpan.FromSeconds(5)
        };
        var lookup = new LookupClient(lookupOptions);
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @mike-rosoft's
  • Low reputation (0.5):
Posted by: Aileron79

79144206

Date: 2024-10-31 09:52:04
Score: 2.5
Natty:
Report link

You can convert row data to column in PHP using functions like array_map() or looping through arrays to restructure the data. By the way, a diploma for IT can deepen your skills in tasks like these!

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

79144201

Date: 2024-10-31 09:51:03
Score: 0.5
Natty:
Report link
<!DOCTYPE html>
<html>
    <head>
        <script language="javascript" type="text/javascript">
           var button = document.getElementById("txt");
           var color = document.getElementById("word").style.color

             function changeColor(color) {
                  color = "blue";
                     };
                button.onclick = changeColor();
        </script>
    </head>
<body>
<h1 id="word">Hello world</h1>
<button id="txt" onclick="changeColor()">Click here</button>
</body>
</html> 
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: bob

79144194

Date: 2024-10-31 09:50:03
Score: 2
Natty:
Report link

Another option is to check the subscription expiryTime. Currently, when a new subscription is created, and the user is eligible for a Free Trial, the expiryTime will initially be the Free Trial end date and not the subscription end date. Once the subscription passed the Free Trial end date the expiryTime will be updated to the actual subscription expiry date.

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

79144185

Date: 2024-10-31 09:47:03
Score: 2.5
Natty:
Report link

As viewed with @sweeper in comments, the built-in version of kotlinc-jvm used by the 2024 Intellij version is 1.9.24 that seemes to have a different compilation behavior for the delegation.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @sweeper
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Benjamin Jalon

79144182

Date: 2024-10-31 09:46:02
Score: 0.5
Natty:
Report link

flag = True

start = input('Для начала работы введите команду start \n') if start.lower() == 'start': while True:

 print("Я Ваш помощник. Выберите математический оператор: [+] [-] [*] [/] [sin] [cos] [tan] [cotan]")

operator = input("Введите оператор: ")

if operator in ["sin", "cos", "tan", "cotan"]:
    number = float(input("Введите число: "))
    if operator == "sin":
        print("Результат sin:", math.sin(math.radians(number)))
    elif operator == "cos":
        print("Результат cos:", math.cos(math.radians(number)))
    elif operator == "tan":
        print("Результат tan:", math.tan(math.radians(number)))
    elif operator == "cotan":
        if math.tan(math.radians(number)) != 0:
            print("Результат cotan:", math.tan(math.radians(number)))
        else:
            print("Ошибка: cotan не определен для этого значения.")
else:
    number1 = float(input("Введите первое число: "))
    number2 = float(input("Введите второе число: "))

    if operator == "+":
        print("Результат суммы:", number1 + number2)
    elif operator == "-":
        print("Результат вычитания:", number1 - number2)
    elif operator == "*":
        print("Результат умножения:", number1 * number2)
    elif operator == "/":
        if number2 != 0:
            print("Результат деления:", number1 / number2)
        else:
            print("Ошибка: деление на ноль невозможно.")
    else:
        print("Неверный оператор. Попробуйте снова.")
   

print("Выход из программы.")
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • No latin characters (0.5):
  • Low reputation (1):
Posted by: user28073512

79144178

Date: 2024-10-31 09:45:02
Score: 1.5
Natty:
Report link

In case you're using ops4j/pax.url, the configuration in settings.xml is slightly different from maven-resolver-transport-http:

<server>
    <id>my-server</id>
    <configuration>
        <httpHeaders>
            <httpHeader>
                <name>Authorization</name>
                <value>Bearer TOKEN</value>
            </httpHeader>
        </httpHeaders>
    </configuration>
</server>

source: https://github.com/ops4j/org.ops4j.pax.url

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

79144175

Date: 2024-10-31 09:45:02
Score: 2.5
Natty:
Report link

I've been running into the same problem. Only solution I found uses git branches as "sub-environments" to "inherit" packages from the "master" environment.

Solution can be found here.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Guillem Barta Gonzalez

79144170

Date: 2024-10-31 09:43:01
Score: 2
Natty:
Report link

Every time when I launch a job, it seeks 0th Offset. So, I am getting messages from beginning. Is this a bug?

Since Aug 2020, you could use partitionOffsets on the builder to tell the reader that it should start reading from the offset stored in Kafka for the consumer group ID

return new KafkaItemReaderBuilder<String, String>()
    .partitions(0)
    .consumerProperties(props)
    .name("customers-reader")
    .saveState(true)
    .topic("test-consumer")
    .partitionOffsets(new HashMap<>()) // <--- here
    .build();

see this link

Reasons:
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): see this link
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Zaroual Mohamed

79144169

Date: 2024-10-31 09:43:01
Score: 1
Natty:
Report link

Instead of using sys.path.append you can directly navigate using %cd. This approach is simpler and keeps the code cleaner:

%cd App/TheTransporter-main/
!./TheTransporter --version

(In a single code block)

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

79144168

Date: 2024-10-31 09:43:01
Score: 1.5
Natty:
Report link

Remember to config "typeRoots" in tsconfig.json

{
    "compilerOptions": 
    {
        "typeRoots": ["./src/types", "./node_modules/@types"], 
    }
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Thương Trịnh Vân

79144167

Date: 2024-10-31 09:43:01
Score: 4
Natty: 4
Report link

My issue in Windows 11 got fixed when I gave permission to write to users.

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

79144166

Date: 2024-10-31 09:42:00
Score: 14
Natty: 7
Report link

I am facing the same issue with the new project i just created. Did you manage to find any solution?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): Did you manage to find any solution
  • RegEx Blacklisted phrase (2): any solution?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Abdullah Jaspal

79144154

Date: 2024-10-31 09:39:00
Score: 2
Natty:
Report link

The SHA-512 for the integrity field in package-lock.json guarantees package security and consistency across all the deployments. Otherwise there will be lots of security break-ins for your deployments

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

79144141

Date: 2024-10-31 09:33:58
Score: 2
Natty:
Report link

When it comes to online betting games, security is a top priority. Ensuring that the platforms you use implement strong encryption and authentication measures is essential. Sites like https://casinos-mate.com/ are known for their reliable security practices, protecting users' personal data and financial information. As a developer, you should focus on integrating robust security protocols into the design of betting platforms. This includes SSL certificates, two-factor authentication, and regular security audits to keep the system secure from potential threats.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When it
  • Low reputation (1):
Posted by: Car Hai bhai

79144123

Date: 2024-10-31 09:29:57
Score: 4
Natty:
Report link

Api endpoints not working in my browser only

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

79144121

Date: 2024-10-31 09:29:57
Score: 1
Natty:
Report link

All the solutions didnt work for me.

I got it to work in the end, by hiding all borders of the table, and making a cell-class with borders. All Cells get the class with borders. Except the ones in the Rows that should be displayed without borders.

Hope that helps someone.

Reasons:
  • Whitelisted phrase (-1): Hope that helps
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: jakob Ruedisser

79144119

Date: 2024-10-31 09:27:57
Score: 1.5
Natty:
Report link

Update your env.ts in the sanity file like this first

export const apiVersion = process.env.NEXT_PUBLIC_SANITY_API_VERSION || '2024-09-30'

export const dataset = assertValue( process.env.SANITY_STUDIO_DATASET || process.env.NEXT_PUBLIC_SANITY_STUDIO_DATASET, 'Missing environment variable: SANITY_STUDIO_DATASET or NEXT_PUBLIC_SANITY_STUDIO_DATASET' )

export const projectId = assertValue( process.env.SANITY_STUDIO_PROJECT_ID || process.env.NEXT_PUBLIC_SANITY_PROJECT_ID, 'Missing environment variable: SANITY_STUDIO_PROJECT_ID or NEXT_PUBLIC_SANITY_PROJECT_ID' )

function assertValue(v: T | undefined, errorMessage: string): T { if (v === undefined) { throw new Error(errorMessage)

}

return v }


And in your env.local and the .env file write :

SANITY_STUDIO_DATASET=production

SANITY_STUDIO_PROJECT_ID=*********

NEXT_PUBLIC_SANITY_STUDIO_DATASET=production

NEXT_PUBLIC_SANITY_PROJECT_ID=**********

After thoses changes you will not get that error again

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Filler text (0.5): *********
  • Filler text (0): **********
  • Low reputation (1):
Posted by: Mohamed ali Hammami

79144111

Date: 2024-10-31 09:26:57
Score: 2
Natty:
Report link

I'm a beginner with pyautogui and I had same issue that pyautogui.hotkey not working as expected but I found out that you can do pretty much the same thing with keyDown and keyUp

# Press Windows + Up Arrow
pyautogui.keyDown("winleft")   # Press Windows key
pyautogui.press("up")          # Press Up Arrow key
pyautogui.keyUp("winleft")     # Release Windows key

and then you can write your own hotkey function

# my hotkey function
def press_hotkey(key1, key2):
    pyautogui.keyDown(key1)        # Press first key
    pyautogui.press(key2)          # Press second key
    pyautogui.keyUp(key1)          # Release first key
Reasons:
  • RegEx Blacklisted phrase (2): I'm a beginner
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ahmed Salah

79144109

Date: 2024-10-31 09:25:57
Score: 3
Natty:
Report link

Moved column object into a custom hook where I got the access to t hook from i18n. Futher refactor required but at lteast it works.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Александр Прошанов

79144105

Date: 2024-10-31 09:24:56
Score: 1
Natty:
Report link

In my case, the cause is one chrome plugin.

You can enter incognito window by cmd + shift + N, check if the problem disappear

incognito window is a envriment without chrome plugins

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

79144097

Date: 2024-10-31 09:21:56
Score: 1
Natty:
Report link

Android Studio 2024(Koala) - (Rename package from A.B.Name to A.B.C.Name)

Things changed slightly between versions - so this will probably only be relevant for Android Studio - Koala

  1. Make a complete backup of your project as it is (I tried multiple times before finding a working solution)

  2. Create a new package in the main folder with the name you would like to use: (Convention is to use your website address in reverse) Add your new package

  3. Select the main directory for your new package:

Pick main directory

  1. Type your new package name and press enter.

Enter new package name

  1. Select the contents of your existing package and drag it to the new one:

Drag existing contents to new package

  1. Confirm the move:

Confirm the move

  1. If you have multiple folders, after the move it might come up with the same move window again and selecting ok might show an error. Just close this window.

Close move window

  1. Next delete the old package (the old package should be empty by now)

Delete old package

  1. Next select the top folder of the project

Select top folder

  1. Click on Edit->Find->Replace in Files

Find and replace

  1. Type your old package name at the top (you might need to use escape characters), your new package name and then select replace all

Replace old package name

  1. Clean your build next

Clean project build

  1. Invalidate the cache and restart

Invalidate cache

Invalidate and restart

  1. Finally if you are using a development device, delete the previous installation from the old device before running debug again.
Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Assay

79144090

Date: 2024-10-31 09:19:55
Score: 4.5
Natty:
Report link

I keep getting errors like this one: instagram keeps logout

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

79144086

Date: 2024-10-31 09:18:54
Score: 2.5
Natty:
Report link

Simply go to this Link "https://central.sonatype.com/artifact/com.github.mhiew/android-pdf-viewer/versions" and download .aar file from here and paste in libs folder. then add this in biuld.properties files "android.enableJetifier=true" after that you just simply add this library "implementation("com.github.barteksc:pdfium-android:1.9.0") don't forget to add this line in proguardrules" sync and use the library.

Reasons:
  • Blacklisted phrase (1): this Link
  • No code block (0.5):
  • Low reputation (1):
Posted by: Waqas Mughal

79144077

Date: 2024-10-31 09:14:53
Score: 4.5
Natty: 4.5
Report link

Considering that an AI model should generalize on the inputs, in this case, where you metadata is about which machine the time series come from (supposing you are maybe using simply an ID for each machine) how would the model to generalize on unknown machines?

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

79144076

Date: 2024-10-31 09:14:53
Score: 0.5
Natty:
Report link

On my case, Gradle 8.4, AGP 8.3.0
I MUST make the 'Application.mk' ahead of 'Android.mk', like this

ndkBuild {
            path file('src/main/wrapper/jni/Application.mk')
            path file('src/main/wrapper/jni/Android.mk')
        }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: tombear

79144067

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

If you are using Vite, you can use css modules while retaining semantic classnames. See here

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

79144063

Date: 2024-10-31 09:12:52
Score: 0.5
Natty:
Report link

The following works well for Obsidian users, and will probably work well for Notion and similar tools...

In general you're in editing mode. When you copy in this mode, you're copying plain text. There is no "paste as Markdown text" in Teams (though it'd be a great feature!)

show obsidian editing mode

If you switch to "reading mode" and then copy, you're copying HTML can be pasted into Teams.

enter image description here

It works pretty well. Some code fence blocks don’t seem to come through perfectly, but overall not bad.

Reasons:
  • Probably link only (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Andrew E

79144050

Date: 2024-10-31 09:09:52
Score: 1
Natty:
Report link

this can be done in a one liner:

printf "%-30s %s\n" "NODE_NAME" "POD_ALLOCATION" && kubectl get nodes -o name | xargs -I {} bash -c 'count=$(kubectl get pods --all-namespaces --field-selector spec.nodeName=$(echo {} | cut -d/ -f2) -o json | jq ".items | length"); capacity=$(kubectl get {} -o jsonpath="{.status.capacity.pods}"); printf "%-30s %s/%s\n" "$(echo {} | cut -d/ -f2)" "$count" "$capacity"'
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: vrabbi

79144044

Date: 2024-10-31 09:08:51
Score: 2.5
Natty:
Report link

You can remove next/core-web-vitals, and it will work. I spent four hours because of this.

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

79144039

Date: 2024-10-31 09:06:50
Score: 4
Natty: 5
Report link

thanks guys for sharing this informations

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

79144034

Date: 2024-10-31 09:03:49
Score: 1.5
Natty:
Report link

You can also make a bash script, for example:

#!/usr/bin/env bash

cat path/to/localfile.xml | xml2json | jq .

and then import the output json to your node project.

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

79144030

Date: 2024-10-31 09:02:49
Score: 1.5
Natty:
Report link

Try setting SDKROOT explicitly to the system SDK:

export SDKROOT=$(xcrun --sdk macosx --show-sdk-path)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: yared ts

79144018

Date: 2024-10-31 08:58:48
Score: 0.5
Natty:
Report link

I think i found a solution here:

These are the steps to do:

git clone https://github.com/shazamio/shazamio-core.git
cd shazamio-core
git switch --detach 1.0.7 (OR git switch --detach 1.0.7)
python -m pip install .
pip install shazamio

Then the installation was possible on Mac

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

79144017

Date: 2024-10-31 08:58:48
Score: 4
Natty: 5
Report link

https://developers.google.com/ar/devices

Device must be supported and it is not on the list

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