79187382

Date: 2024-11-14 04:17:55
Score: 2
Natty:
Report link

This is due to Backward compatibility with #pymqe module.

Run in Cmd -> "C:\Program Files\IBM\MQ\bin\setmqenv" -n Installation1

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

79187378

Date: 2024-11-14 04:15:55
Score: 0.5
Natty:
Report link

If you're letting Google manage the signing of the app, you only need an upload key and then you need to sign the bundle using the same upload key and upload the bundle

Go to Android studio's 'Build' - 'Generate Signed Bundle / Apk' - Choose ' Android App Bundle' - If you already have a key choose it or create new and sign the bundle then upload it

Upload and release keys are different. Once you choose google play signing you always sign your bundle with upload key and you don't have to worry about release key anymore. Play will check the signature of the uploaded bundle to make sure it's signed using the same upload key and if it is, they will use release key they've with them

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

79187377

Date: 2024-11-14 04:14:54
Score: 2.5
Natty:
Report link

This solution works correctly to avoid these warnings in general, my error was hermes.framework and it worked correctly

https://stackoverflow.com/a/70625475/24289057

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Juan Giron

79187372

Date: 2024-11-14 04:10:53
Score: 3
Natty:
Report link

It is duplicate listen await app.listen(3000); await app.listen(3000);

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

79187366

Date: 2024-11-14 04:06:53
Score: 1.5
Natty:
Report link

The permanent storage increases would classify as non-consumable in-app purchases in this situation because each transaction provides a distinct, permanent benefit. If the storage increase were to diminish after a certain period of time it would classify as consumable.

Additionally, choosing to classify these types of purchases could make it easier for users to access these benefits across multiple devices depending on how your app is designed.

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

79187358

Date: 2024-11-14 04:02:51
Score: 4.5
Natty: 5
Report link

I'm building an app for my college graduation project.

I need to get users goodreads data with OAuth, and the rating of the books etc.

How can I do that? Can I get a legacy api or an api just for my project, the prof insists that I find a way to do it.

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Blacklisted phrase (1): can I do
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Rasheed

79187357

Date: 2024-11-14 04:01:51
Score: 2
Natty:
Report link

I know this is 6 years later, but I see people still struggling with this. Also there is a very simple answer to this question, there is no need for all those hacks posted above. The issue causing this is the value prop, once you remove the value prop your native behavior will be back.

Why? Because once we use value, this becomes a controlled TextInput meaning every keystroke triggers onChangeText and it becomes controlled by React. This can break the native behavior.

only having onChangeText and updating the state is uncontrolled manner, which is controlled by the native platform therefore allowing you to double tap for a period -- also increase performance since not everything rerenders on every keystroke. Do not use value unless you really need it.

Reasons:
  • Blacklisted phrase (0.5): Why?
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Bauss

79187352

Date: 2024-11-14 04:00:51
Score: 0.5
Natty:
Report link

On iOS, you can use a packet-sniffing app called Hodor, which allows you to capture Flutter's network packets directly without modifying any code. It also supports capturing TCP and UDP traffic.

https://apps.apple.com/en/app/id1608857736

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

79187351

Date: 2024-11-14 03:59:50
Score: 2
Natty:
Report link

We have created workflows directly in the Standard Logic app in the Azure portal. Can someone please help how to get the code for backup purposes?

To get the json workflow of Standard Plan Workflow, follow below steps:

Firstly, open Logic app --> then click on Workflows --> Then click on required workflow:

enter image description here

In Workflow, --> Click on Developer --> Then on code:

Here you will get the code of Workflow:

enter image description here

Reasons:
  • RegEx Blacklisted phrase (3): please help
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-2):
Posted by: RithwikBojja

79187345

Date: 2024-11-14 03:52:49
Score: 2
Natty:
Report link

JWT is also a beautiful approach. If WS is embedded with a running application and you can reuse the same JWT token.

You can pass in some other details in the JWT also

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

79187341

Date: 2024-11-14 03:49:49
Score: 1.5
Natty:
Report link

I tried the navigator.wakeLock.request('screen') api,

but it is not a stable solution.(especially on mobile devices)

With many tests, the most stable solution is to enable video playing in the background.(without user notice, won't be annoying)

Here is the library to this job - https://github.com/richtr/NoSleep.js

And here is my demo : https://ajlovechina.github.io/ledbanner/

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

79187340

Date: 2024-11-14 03:48:48
Score: 0.5
Natty:
Report link

The best method to check if array is associative according to AI and AI deems it as a bulletproof method is

return is_array($array) && array_keys($array) !== range(0, count($array) - 1);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Evan TOder

79187329

Date: 2024-11-14 03:41:47
Score: 1.5
Natty:
Report link

Just set app.route with strict_slashes=False, like this:

@app.route('/my_endpoint', methods = ['POST'], strict_slashes=False)
def view_func():
    pass
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sebastian Holguin Rivera

79187327

Date: 2024-11-14 03:39:46
Score: 0.5
Natty:
Report link

On iOS, you can use a packet-sniffing app called Hodor, which allows you to capture Flutter's network packets directly without modifying any code. It also supports capturing TCP and UDP traffic.

https://apps.apple.com/en/app/id1608857736

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

79187321

Date: 2024-11-14 03:37:46
Score: 1
Natty:
Report link

I believe I have solved it. I had been trying ALTER TABLE IMPORT TABLESPACE, but what I had missed what that I needed to run CHOWN to make the user mysql the owner of the copied ibd files. Once I did CHOWN, I could then import the tablespace and it appears to be working.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-2): I have solved
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Peter Clark

79187314

Date: 2024-11-14 03:33:45
Score: 3.5
Natty:
Report link

Full source code for a project implementing this exact feature is available here: https://github.com/Cartucho/android-touch-record-replay

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

79187305

Date: 2024-11-14 03:25:44
Score: 1.5
Natty:
Report link

had the same issue, except instead of path I had to use val for file mounts.

macOS Sonoma 14.6.1 Nextflow version 24.10.0 build 5928 Docker version 27.3.1, build ce12230

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

79187304

Date: 2024-11-14 03:25:44
Score: 4
Natty:
Report link

1.You can define _DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR as an escape hatch.

2.Or update the msvcp140.dll

reference: https://developercommunity.visualstudio.com/t/Visual-Studio-17100-Update-leads-to-Pr/10669759?sort=newest

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Tang

79187300

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

I found a number of posts with similar issues: How to change legend position in ggplotly in R Theme(position.legend="none") doesn't work with coord_flip() How to change legend position in ggplotly in R Eventually, I found that legend.position always 'right' in ggplotly, except when legend.position = 'none' so it seems there is no way to fix my issue if I use ggplotly instead of ggplot. Please correct me if I am wrong https://github.com/plotly/plotly.R/issues/1049

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Ann

79187299

Date: 2024-11-14 03:18:42
Score: 1
Natty:
Report link

I have a go file which can run command in a nginx Pod, is that what you want?

go.mod

module my.com/test
                                                    
go 1.20 

require (                                                            
        k8s.io/api v0.28.4                            
        k8s.io/client-go v0.28.4                                           
        k8s.io/kubectl v0.28.4                              
) 

main.go

package main

import (
    "bytes"
    "fmt"

    v1 "k8s.io/api/core/v1"
    "k8s.io/client-go/kubernetes"
    "k8s.io/client-go/tools/clientcmd"
    "k8s.io/client-go/tools/remotecommand"
    "k8s.io/kubectl/pkg/scheme"
)

func executeCommandInPod(kubeconfigPath, pod, namespace, command string) (string, string, error) {
    // Build kubeconfig from the provided path
    config, err := clientcmd.BuildConfigFromFlags("", kubeconfigPath)
    if err != nil {
        return "", "", fmt.Errorf("failed to build kubeconfig: %v", err)
    }

    // Create a new clientset based on the provided kubeconfig
    clientset, err := kubernetes.NewForConfig(config)
    if err != nil {
        return "", "", fmt.Errorf("failed to create clientset: %v", err)
    }

    // Get the pod's name and namespace
    podName := pod
    podNamespace := namespace

    // Build the command to be executed in the pod
    cmd := []string{"sh", "-c", command}

    // Execute the command in the pod
    req := clientset.CoreV1().RESTClient().Post().
        Resource("pods").
        Name(podName).
        Namespace(podNamespace).
        SubResource("exec").
        VersionedParams(&v1.PodExecOptions{
            Command: cmd,
            Stdin:   false,
            Stdout:  true,
            Stderr:  true,
            TTY:     false,
        }, scheme.ParameterCodec)

    executor, err := remotecommand.NewSPDYExecutor(config, "POST", req.URL())
    if err != nil {
        return "", "", fmt.Errorf("failed to create executor: %v", err)
    }

    var stdout, stderr bytes.Buffer
    err = executor.Stream(remotecommand.StreamOptions{
        Stdout: &stdout,
        Stderr: &stderr,
        Tty:    false,
    })
    if err != nil {
        return "", "", fmt.Errorf("failed to execute command in pod: %v", err)
    }

    return stdout.String(), stderr.String(), nil
}

func main() {
    stdout, stderr, err := executeCommandInPod("/tmp/config", "nginx-0", "default", "ls /")
    fmt.Println(stdout, stderr, err)
}
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: linlin

79187298

Date: 2024-11-14 03:18:42
Score: 1
Natty:
Report link

Maybe you need make this:

DispatchQueue.main.async {
            sender.isLoading = false
            sender.setTitle("Rephrase", for: .normal)
            sender.setNeedsLayout()  //  refreshes the change
        }

Another cause can you check is the alpha visibility in the spinner

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

79187268

Date: 2024-11-14 03:00:38
Score: 2.5
Natty:
Report link

Thank you @Thomas Boje / @Joachim Sauer,

    @Override
    public void run(String... args) throws Exception {
        final ObjectMapper jackson = new ObjectMapper();
        
        final ObjectNode objectNode = jackson.createObjectNode();
        String text = "Simplified Chinese 简体中文";

        // Enable escaping for non-ASCII characters, which is disabled by default
        jackson.configure(JsonGenerator.Feature.ESCAPE_NON_ASCII, true);
        
        //no need to escape by ourselves, jackson will handle it after we enable the ESCAPE_NON_ASCII feature.
        //final String escapedInUnicodeText = StringEscapeUtils.escapeJava(text);
        //System.out.println(escapedInUnicodeText);
        //output is: Simplified Chinese \u7B80\u4F53\u4E2D\u6587
        
        objectNode.put("text", text);
        System.out.println(jackson.writeValueAsString(objectNode));
        //output is  {"text":"Simplified Chinese \u7B80\u4F53\u4E2D\u6587"}
    }
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Thomas
  • User mentioned (0): @Joachim
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: ildvzg68472

79187267

Date: 2024-11-14 03:00:38
Score: 1.5
Natty:
Report link

If Courier New looks too thin, you probably need Courier10 Pitch BT, the font that addresses this shortcoming of Courier/Courier New.

Text example,

example

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

79187262

Date: 2024-11-14 02:58:38
Score: 3.5
Natty:
Report link

It's NVIDIA's GeForce Experience In-Game Overlay - take a look at this answer: https://superuser.com/questions/1448490/how-to-find-source-of-traffic-to-socket-io-on-win-10-desktop

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

79187256

Date: 2024-11-14 02:55:37
Score: 2.5
Natty:
Report link

It is quite possible that the file_path value “/plan/in/{webcountyval}%20parcels.dbf” was incorrect. The extra ‘/’ at the beginning may not be needed. Anyway, instead of spending any more nightmarish moments trying to get the URL with a SAS token to work, I found a workaround, which is easier to work with and maintain (see AI Overview provided by Google search).

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

79187253

Date: 2024-11-14 02:54:37
Score: 1
Natty:
Report link

if you want to apply filter to raised button you can do as below:

   .mat-mdc-raised-button {
      border-radius: 25px  !important;
    }
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Karol Be

79187245

Date: 2024-11-14 02:52:37
Score: 0.5
Natty:
Report link

There's no magic to it; it's actually based on time slicing. The reason why your physical machine has only 10 physical threads, but you see a significant improvement in response time when your JVM threads exceed 10, is because your service load is I/O-bound—it's an I/O-intensive program. I/O does not consume CPU time slices because modern operating systems handle I/O asynchronously (this is independent of the programming language you're using; at the lower level, it's triggered by interrupts rather than the CPU waiting in a busy loop).

You could consider changing your service load to something like a for loop, for example, running for 10^9 iterations. In this case, when the number of concurrent requests exceeds your physical threads, you'll see that increasing the number of JVM threads beyond the number of physical threads doesn't help with response time. In fact, as the thread count increases, the response time may gradually increase because the number of physical threads hasn't increased, and adding virtual threads introduces the overhead of context switching.

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

79187230

Date: 2024-11-14 02:39:34
Score: 0.5
Natty:
Report link

Google leads me here. @user35915's answer helped me a lot, adding details here. Hope this could help others.

Setup these two commands

command 2
>enable b 3
>c
command 3
>disable b 3
>c

Which means, when 2 is hit, enable 3, then continue. And when 3 is hit, disable 3, then continue.

The disable b 3 in latter command ensures 3 is hit at most once whenever it's enabled.

Append continue to commands saves me from typing c manually. If some detailed observation is needed, I would add commands before c, or even remove c (to stop program there). Like this,

command 3
>disable b 3
>bt
>c
Reasons:
  • Blacklisted phrase (1): helped me a lot
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Catau

79187227

Date: 2024-11-14 02:38:34
Score: 1.5
Natty:
Report link

The MultipartEncoder was the only thing that worked for me to send up fields and a file using a descriptor [to gitlab]. I tried the data and files approaches, to be conservative with my external dependencies; but they balked...

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

79187226

Date: 2024-11-14 02:38:34
Score: 9.5
Natty: 7.5
Report link

I want to apply to all classes in my project. Not just OrderModel, Orders. Do you have any idea?

Reasons:
  • Blacklisted phrase (1): any idea?
  • RegEx Blacklisted phrase (1): I want
  • RegEx Blacklisted phrase (2.5): Do you have any
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Binh Tieu

79187224

Date: 2024-11-14 02:37:33
Score: 0.5
Natty:
Report link

Your getYouTubeThumbnail function works as intended with regular youtube links, however it may run into problems when extra params are added after the videoID.

Using url.split("v=")[1] retrieves the portion of the URL that comes after "v=".

const getYouTubeThumbnail = (url: string) => {
  const videoId = url.split("v=")[1]?.split("&")[0]; // Gets the part after "v=" and splits by "&" to remove additional parameters
  return `https://img.youtube.com/vi/${videoId}/hqdefault.jpg`;
};

by applying .split("&")[0], it separates any additional parameters that may follow the video ID and captures only the first segment, ensuring that you obtain just the video ID.

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: David Adokuru

79187211

Date: 2024-11-14 02:29:32
Score: 0.5
Natty:
Report link

In python, a fast way to get the number of entities is: print(collection.num_entities)

But this method is not accurate because it only calculates the number from persisted segments, by quickly picking the number from etcd. Every time a segment is persisted, the basic information of the segment is recorded in Etcd, including its row number. collection.num_entities sums up row numbers of all the persisted segments. But this number doesn't count the deleted items. Let's say a segment has 1000 rows, and you call collection.delete() to delete 50 rows from the segment, the collection.num_entities always shows 1000 rows for you. And collection.num_entities doesn't know which entity is overwritten. Milvus storage is column-based, all the new data is appended to a new segment. If you use upsert() to overwrite an existing entity, it also appends the new entity to a new segment, and creates a delete action at the same time, the delete action is executed asynchronously. A delete action doesn't change the original number of this segment recorded in etcd because we don't intend to update etcd frequently(large amount of update action to etcd will show down the entire system performance). So, the collection.num_entities doesn't know which entity is deleted since the original number in etcd is not updated. Furthermore, collection.num_entities doesn't count non-persisted segments.

collection.query(output_fields=["count(*)"]) is a query request, executed by query nodes. It counts deleted items, and all segments including non-persisted. And collection.query() is slower than collection.num_entities.

If you have no delete/upsert actions to delete or overwrite the existing entities in a collection, then it is a fast way to check the row number of this collection by collection.num_entities. Otherwise, you should use collection.query(output_fields=["count(*)"]) to get the accurate row number.

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

79187207

Date: 2024-11-14 02:26:31
Score: 1
Natty:
Report link

You need to show the exact definition of the type you want to dig in using Reflection, but I can tell you the most typical mistakes leading to missing member information and the ways to overcome them.

Reasons:
  • Blacklisted phrase (1): how do you
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Sergey A Kryukov

79187198

Date: 2024-11-14 02:18:30
Score: 1.5
Natty:
Report link

From Persistent commit signature verification now in public preview announced by GitHub on November 13, 2024:

Persistent commit signature verification solves these issues by validating signatures at the time of the commit and storing the verification details permanently [...] Now, any commit with a verified status can retain that status, even when the signing key is rotated or removed.

Persistent commit signature verification is applied to new commits only. For commits pushed prior to this update, persistent records will be created upon the next verification, which happens when viewing a signed commit on GitHub anywhere the verified badge is displayed, or retrieving a signed commit via the REST API.

Emphasis added by me (cocomac)

While I haven't tried it myself yet, I think this means the verification can stay even if the GPG key is removed.

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

79187186

Date: 2024-11-14 02:13:28
Score: 4
Natty: 4
Report link

Out of curiosity, what OS are you using?

If it's Windows, is it the "classic" or the new Outlook?

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

79187174

Date: 2024-11-14 02:06:27
Score: 3.5
Natty:
Report link

Holy if statements put them in a case :sob:

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

79187173

Date: 2024-11-14 02:06:27
Score: 0.5
Natty:
Report link

I didn't find it using the way mentioned in the main answer, but you can find the topic id in another way.

  1. Open Console and use Inspector
  2. Navigate to your topic element which is in the left sidebar
  3. The elements should have a data-thread-id attribute which is what we're looking for here

enter image description here

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

79187159

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

The accepted answer is no longer up to date.

There is now the (seemingly undocumented) Microsoft.VisualStudio.TestTools.UnitTesting.DiscoverInternalsAttribute which can be added to your assembly to allow the test adapter to discover internal test classes and methods.

I discovered this by looking at the source code:

https://github.com/microsoft/testfx/blob/main/src/TestFramework/TestFramework/Attributes/Lifecycle/Initialization/DiscoverInternalsAttribute.cs

The XmlDoc states:

/// <summary>
/// The presence of this attribute in a test assembly causes MSTest to discover test classes (i.e. classes having
/// the "TestClass" attribute) and test methods (i.e. methods having the "TestMethod" attribute) which are declared
/// internal in addition to test classes and test methods which are declared public. When this attribute is not
/// present in a test assembly the tests in such classes will not be discovered.
/// </summary>
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Django-S

79187158

Date: 2024-11-14 01:55:24
Score: 1.5
Natty:
Report link

This is a pretty old question, but I thought the following would work:

if (!Navigator.of(context).canPop())

or

if (!Navigator.of(globalKey.currentContext!).canPop()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: mmm

79187157

Date: 2024-11-14 01:54:22
Score: 9.5 🚩
Natty:
Report link

Have you been able to solve this problem? I am also getting the error with same logs here. Please do let me know if anyone found the solution.

Reasons:
  • Blacklisted phrase (1.5): Have you been able to
  • Blacklisted phrase (2): anyone found
  • RegEx Blacklisted phrase (1.5): solve this problem?
  • RegEx Blacklisted phrase (1): I am also getting the error
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Anish Shrestha

79187146

Date: 2024-11-14 01:47:20
Score: 3
Natty:
Report link

https://stackoverflow.com/a/38561012/6309278

I'm assuming you have gaps in your excel file, read in more data and remove blanks using dropna(how=all), see link above for an answer on how to read in more data.

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

79187144

Date: 2024-11-14 01:46:17
Score: 13 🚩
Natty:
Report link

I have the same issue for whole day. Did you manage to solve it?

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • RegEx Blacklisted phrase (3): Did you manage to solve it
  • RegEx Blacklisted phrase (1.5): solve it?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: michalgrzegorczyk-dev

79187142

Date: 2024-11-14 01:45:17
Score: 3.5
Natty:
Report link

Norton updated and now it lets me install packages without moving to quarantine. Will monitor and reopen if file becomes issue.

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

79187133

Date: 2024-11-14 01:34:16
Score: 2
Natty:
Report link

What version of las file are you using? I had tons of problems adding extra dimentions with las 1.2. Try changing your header to las 1.4.

out_las.header.version = laspy.header.Version(1, 4)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: ScubaDiving

79187132

Date: 2024-11-14 01:34:16
Score: 0.5
Natty:
Report link

Android's security model makes implementing VPNs a bit more challenging. The core issue is that VPN implementations would (normally) need to be able to see the other applications' packets in cleartext so they can be encrypted and/or encapsulated into the VPN. On Linux, root or the kernel can do this easily, but on Android, normal apps don't get any special root privileges.

Google anticipated this issue and created an API for implementing VPNs. See: https://developer.android.com/develop/connectivity/vpn

So, yes, now 3rd party VPNs can be offered as installable applications, and you could develop one yourself if you wanted to.

From my understanding, L2TP is a Layer 2 protocol...

It's a layer 4[-ish] protocol running over IP/UDP. It primarily exists to tunnel PPP, which is an L2[-ish] protocol. PPP itself is used mostly for IP (via its IPCP sub-layer) but PPP in the past has been used for tunneling other things as well. As a historical note L2TP was actually used by some vendors & carriers to tunnel Ethernet directly (Ethernet -> L2TP -> UDP -> IP), in addition to PPP (IP -> PPP -> L2TP -> UDP -> IP).

So, practically speaking, the Android issue isn't really about access to lower layers (L2TP would appear just as any IP/UDP app), but rather being able to plug in to Android as a VPN so as to get access to packets from the applications that want to use the tunnel. And the API I linked to above solves that problem.

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

79187129

Date: 2024-11-14 01:31:13
Score: 7 🚩
Natty: 4.5
Report link

Did you manage to find a fix @Byofuel? I'm having exactly the same issue with firebase version 11.0.1 and @stripe/firestore-stripe-payments version 0.0.6. It also suddenly stopped working without any code changes.

Reasons:
  • RegEx Blacklisted phrase (3): Did you manage to find a fix
  • Low length (0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I'm having exactly the same issue
  • Contains question mark (0.5):
  • User mentioned (1): @Byofuel
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • High reputation (-1):
Posted by: Diogo Capela

79187126

Date: 2024-11-14 01:29:13
Score: 1
Natty:
Report link

@samhita has a great answer that was also considered as a solution.

What I've done is basically the same just using SQL instead of python. This was built inside our ETL tool so I could use local variables as you see below.

So the solution that I went with was as follows:

  1. Load the .sql file into a Snowflake table directly from S3. I dumped it into a raw string table like so, create or replace TABLE RAW_SQL ( DATA VARCHAR(16777216) ); sample of raw sql data
  2. Next was to use SQL scripts to pull out each of the DROP / CREATE / INSERT statements and run them individually. I discovered that the INSERT values actually do fit in the varchar(max) 🤦🏻‍♂️, I was wrong about that.
  3. Here is an example of the SQL to parse the INSERT INTO statement select replace(replace(concat(i,v),'`',''),$$'0000-00-00 00:00:00'$$ ,'null') as sql from (-- get insert and corresponding values clause (next row) select data as i,lead(data) over(order by row_id) as v from (-- get ordered list of stmts select data, row_number() over(order by 1) as row_id from raw_sql where data like any('INSERT INTO%','VALUES (%') ) ) where contains(i,'INSERT INTO')

You can see I had to do some cleanup of the incoming data (the replaces) but just put together the INSERT and VALUES clause and then EXECUTE IMMEDIATE.

execute immediate $$${sql}$$

Where {sql} is a variable that holds the sql statement in a string.

Maybe it's not pretty but it works! :D

Thanks to everyone for your help and responses!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @samhita
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: s.bramblet

79187122

Date: 2024-11-14 01:24:12
Score: 1.5
Natty:
Report link

What I do is: when I'm done laying out the GUI, I save the FormBuilder file, and generate the file containing the inherited class. Then I copy the inherited class file to a separate working file. I then edit the working file to subclass the main class from the inherited class file. I can then edit the working file as necessary to add event handlers etc. but it picks up the FB GUI instructions.

If the GUI needs changes, I change it with FormBuilder, save the FB file and regenerate the inherited class file. This, then, remains subclassed in the working file. The GUI is updated, but the working file is unaffected.

This has worked well for me.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • No code block (0.5):
  • Starts with a question (0.5): What I
  • Low reputation (0.5):
Posted by: Den

79187110

Date: 2024-11-14 01:17:10
Score: 1
Natty:
Report link

You're on the right track by thinking of preventDefault(). But in order to use it properly, you need to call it on the event object within the submit event handler. This will prevent the form default submit action from occurring.

So you should have written this code/line instead.

 event.preventDefault()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ali Asghar

79187097

Date: 2024-11-14 01:10:08
Score: 5
Natty:
Report link

I have same issue. Look like dblink is not table to utilize public IP to make connections. I see this even when using same connection string as psql on console. Workaround is you need to use private ip to connect. I believe this is a bug in AWS, not sure in what though.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Merlin Moncure

79187094

Date: 2024-11-14 01:05:07
Score: 1.5
Natty:
Report link

You must flush the buffered writer.

func main() {
    f, _ := os.Create("bebra.txt")
    defer f.Close()
    w := bufio.NewWriter(f)
    fmt.Fprint(w, "bebra")
    w.Flush() // Add this line!
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Rahul Ligma

79187092

Date: 2024-11-14 01:03:06
Score: 0.5
Natty:
Report link

The function preventDefault() is a property of event, so the function call you need is:

event.preventDefault()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Ray Wallace

79187089

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

Thanks for your question! You're very close.

To get the masker to properly mask the white box, you need to make the white box itself "masked." To do that, add the following line of code:

this.whiteBox.makeMasked(nc.masks.MainMask);

This will display the bottom-left corner of the white box.

Why is this necessary?

By default, a mask only displays what is being masked — essentially, the portion that is covered by the mask. However, if you want the mask to hide the area it covers, revealing the remaining visible area of the object (in this case, the white box), you can invert the mask.

To do this, pass the optional invertMask parameter as true to the makeMasked() function:

this.whiteBox.makeMasked(nc.masks.MainMask, true); // true = invert mask, show what is NOT covered

Explanation:

The first version (makeMasked(nc.masks.MainMask)) will display only the part of the white box that is covered by the mask. The second version (makeMasked(nc.masks.MainMask, true)) inverts the mask so that the area outside the mask is visible, and the area inside the mask is hidden.

Let me know if you need further clarification!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (0.5): Why is this
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Matt C

79187085

Date: 2024-11-14 00:56:04
Score: 3
Natty:
Report link

After many attempts to resolve this, I realized I was having a server issue regarding permissions. The website on the server was changed to use a user pool.

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

79187083

Date: 2024-11-14 00:55:04
Score: 1
Natty:
Report link

what i'm probably going to do is

this isn't perfect, as requests arriving in our application 'out of order' may overwrite each other, but i think it's a fairly low risk for our specific scenario

i've got an implementation that seems to run, but i have yet to test it against the actual 3rd party integration

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): what i
  • Low reputation (1):
Posted by: user3624874

79187073

Date: 2024-11-14 00:50:03
Score: 0.5
Natty:
Report link

I added a comment on this question with some links to resources about Dynamic Type. I replicated your UI using that approach in the following gist so you can see what that might look like. Gist

You may want to implement different UI, or differences in your existing UI, based on the size class of the user's device. Ensuring things look right on the various devices is a big part of the UI side of app development.

You may want to consider fetching the consent agreement's text from a service as simplified HTML. If you do that, you can create an NSAttributedString using the HTML. The HTML can style the text as blue, and I think you can still set the font using Dynamic Type approach from the gist (I didn't verify this). If you're fetching HTML for the consent agreement, you'll be able to change the text without recompiling your app.

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

79187055

Date: 2024-11-14 00:41:01
Score: 2.5
Natty:
Report link

Thank you @chehrlic for a solution that worked.

Using on windows, adding the preprocessor OS check for windows and changing the style to 'windowsvista' if true, solved the immediate problem.

main.c

#include <QStyleFactory>

// if windows, set this style
#ifdef Q_OS_WIN
    if (QStyleFactory::keys().contains("windowsvista")) {
        a.setStyle(QStyleFactory::create("windowsvista"));
    }
#endif
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Has code block (-0.5):
  • User mentioned (1): @chehrlic
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: denver-coder

79187050

Date: 2024-11-14 00:35:00
Score: 1
Natty:
Report link

I am assuming you have not created any Chakra UI provider component to wrap your application.

Please create a provider.js file in your project (anywhere you want, I will create it on the root). Normally it's components/ui/provider

Add these to the provider.js

'use client';

import { ChakraProvider } from '@chakra-ui/react';

export function Provider({ children }) {
  return <ChakraProvider>{children}</ChakraProvider>;
}

Include above provider in you layout.js file

import { Provider } from './provider';

export default function RootLayout({ children }) {
  return (
    <html suppressHydrationWarning>
      <body>
        <Provider>{children}</Provider>
      </body>
    </html>
  );
}

Now try to run the application. Let me know if you get any errors. Check this documentation and git repo for any concern.

Reasons:
  • Blacklisted phrase (1): this document
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: darkknight

79187045

Date: 2024-11-14 00:32:57
Score: 6 🚩
Natty: 6.5
Report link

Did you manage to set up the PageView event correctly for both web and server-side tracking? I’m curious if you were able to integrate both browser pixel tracking and CAPI without duplicating the events. Could you also share what your code looks like for the custom HTML (page_view event in web GTM) tag with the event_id included? It would be very helpful to see how you implemented it. Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (3): Did you manage to
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: kras

79187044

Date: 2024-11-14 00:29:56
Score: 3.5
Natty:
Report link

I just ran into this problem too! Maybe an error on the provider's side...

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

79187037

Date: 2024-11-14 00:23:55
Score: 1.5
Natty:
Report link

Thanks to the comments above, especially the one from @jcalz, I've simplified my code by removing Omit<T, K> in favor of just T. This gets rid of the error while keeping the same intent.

export type AugmentedRequired<T extends object, K extends keyof T = keyof T> = T &
  Required<Pick<T, K>>;

type Cat = { name?: boolean };
type Dog = { name?: boolean };

type Animal = Cat | Dog;

type NamedAnimal<T extends Animal = Animal> = AugmentedRequired<T, 'name'>;

export function isNamedAnimal<T extends Animal = Animal>(animal: T): animal is NamedAnimal<T> {
  // Error is on NamedAnimal<T> in this line
  return 'name' in animal;
}
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @jcalz
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Julia McNeill

79187036

Date: 2024-11-14 00:22:55
Score: 2.5
Natty:
Report link

Answer is in the docs https://mui.com/material-ui/api/accordion/

If you want to stop the gap between accordions when expanded type add "disableGutters" within in the <Accordion tag e.g. <Accordion disableGutters key={listId} defaultExpanded sx={{ backgroundColor: "#c12", color: "white" }}

that removes the default gutter gaps between accordions

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

79187033

Date: 2024-11-14 00:19:54
Score: 1.5
Natty:
Report link

Okay Guys this problem is now solved I think I found out something the cookie parse should be use before access the token

import cookieParser from 'cookie-parser';

dotenv.config();

const authenticateToken = async (cookieParser,req, res, next) => { const token = req.cookies.accessToken; // Retrieve token from cookies

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: IDRISSA MAÏGA

79187001

Date: 2024-11-13 23:53:49
Score: 4
Natty:
Report link

Según mis avanzados conocimientos recomiendo q pruebes a espabilar

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

79186991

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

As Xellos mentioned in the comments the problem is in the inline assembly which is not written in a relocatable manner. As LIU Hao mentioned here, changing call syscall_hooker_cxx (at attach/text_segment_transformer.cpp:83) to syscall_hooker_cxx@PLT resolves the issue.

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

79186980

Date: 2024-11-13 23:43:47
Score: 1.5
Natty:
Report link

Maybe it's a thing about the useEffects? Have you tried passing mapRegion to useEffect that is responsible for getting user's permission?

I have a similliar functionality, but i just pass the params of a Region I want to show to a user on the map. Here's the code, maybe You can get something out of it for Yourself.

Map.tsx

import React from 'react';
import { View, Text } from 'react-native';
import MapView, { Marker, Region } from 'react-native-maps';
import pinIcon from '../assets/icons/pinicon.png';

// Define the expected type for postLocation prop
type PostLocation = {
  latitude: number;
  longitude: number;
};

const Map = ({ postLocation }: { postLocation: PostLocation }) => {
  const { latitude, longitude } = postLocation;

  if (!latitude || !longitude) {
    return (
      <View style={{ justifyContent: 'center', alignItems: 'center', width: '100%', height: '100%' }}>
        <Text>Location data not available.</Text>
      </View>
    );
  }

  const region: Region = {
    latitude: latitude,
    longitude: longitude,
    latitudeDelta: 0.01,
    longitudeDelta: 0.01,
  };

  return (
    <MapView
      style={{ width: '100%', height: '100%' }}
      region={region} // Use region to dynamically update the map
      showsUserLocation={false}
    >
      <Marker
        coordinate={{ latitude, longitude }}
        title="Animal Location"
        image={pinIcon}
      />
    </MapView>
  );
};

export default Map;

MapViewScreen.js

 const { postData } = useLocalSearchParams();
  const post = JSON.parse(postData); // Parse post data from string

  // Define post location with latitude and longitude parsed as numbers
  const postLocation = {
    latitude: parseFloat(post.latitude),
    longitude: parseFloat(post.longitude),
  };

<Map postLocation={postLocation} />

Also, just thinking out loud, untill you find a proper solution, if moving a map slightly makes it refresh, maybe you can make it move slightly for example 0,0001 lat after it should render, so its unseeable for the user, but it refreshes the markers? Goodluck

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Paweł Owczarek

79186972

Date: 2024-11-13 23:39:46
Score: 1
Natty:
Report link

I've found Crystal Designer can refuse to connect to the datasource even though you provide the correct details, user and password if the database is password protected/encrypted. This only seems to happen in the designer, when opened from an application (say .net) it works fine.

To overcome this in your development environment do this (may differ depending on your version of MS Access):

  1. Open MS Access
  2. Select Open and then browse
  3. Select your database and click the drop down arrow beside the Open button and click open exclusive.
  4. Enter your database password when prompted.
  5. Go File->Info
  6. Click the Decrypt Database and enter your password when prompted.

Close the database, and then try again to connect in Crystal reports. Once you are finished with the designer, you can re-encrypt/password protect your database again.

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

79186959

Date: 2024-11-13 23:28:44
Score: 1
Natty:
Report link

I've faced the same problem. When you start your app on WSL via launch profile then VS actually starts your app just by running dotnet run on WSL. Just start app and then execute ps ax on WSL and you will see process with the next command: /usr/bin/dotnet /mnt/c/<path_to_your_executable_on_Windows>

Finally, I did the next:

  1. Launch app directly from WSL via dotnet run by specifying path to dll on Windows. As the result I have access to stdin since app will be running using linux console.
  2. Attach to process on WSL via Visual Studio. More details can be found here https://learn.microsoft.com/en-us/visualstudio/debugger/debug-dotnet-core-in-wsl-2?view=vs-2022#attach-to-a-running-wsl-process
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Roman Brych

79186956

Date: 2024-11-13 23:26:44
Score: 0.5
Natty:
Report link

From my experience, most vendors have the CreateDate set in their metadata. So you could try:

exiftool -CreateDate FILE/OR/FOLDER/PATH

If you want the output stripped of the field name and only output the raw value, use the -s3 option:

exiftool -s3 -CreateDate FILE/OR/FOLDER/PATH
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Benjamin W. Bohl

79186953

Date: 2024-11-13 23:24:41
Score: 6.5 🚩
Natty: 6.5
Report link

@NSRL Can you please share the alternative function that you used? I downgraded my botorch version to 0.10.0 but it didn't work.

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you please share
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @NSRL
  • Low reputation (1):
Posted by: Arefe Asadi

79186946

Date: 2024-11-13 23:19:40
Score: 2
Natty:
Report link

I ran into this problem a few months ago and came across this issue, which reminded me that you have to create the venv inside the functions folder. I was creating the venv at the root of my project, and so even though I was able to activate it and install the deps, firebase does not see any of them when you try and deploy.

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

79186940

Date: 2024-11-13 23:16:39
Score: 0.5
Natty:
Report link

this worked for me

<link rel="stylesheet" th:href="@{css/mycss.css}"/>
Reasons:
  • Whitelisted phrase (-1): this worked for me
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: J Maine

79186931

Date: 2024-11-13 23:11:38
Score: 1
Natty:
Report link

Install php-loader:

npm install php-loader --save-dev

Update webpack.config.js:

module: {
  rules: [{ test: /\.php$/, use: 'php-loader' }]
}

Require PHP in JS:

var fileContent = require('./file.php');

Ensure PHP is installed.

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

79186907

Date: 2024-11-13 22:55:35
Score: 1
Natty:
Report link

You must use the builtins __builtin_assume

#include <cassert>

bool no_alias(int* X, int* Y);

void foo(int *A, int *B, int *N) {
    int* p = N;
    if (no_alias(A, N)) {
        __builtin_assume(p != A);
    }
    for (int k = 0; k < *p; k++) {
        A[k] += B[k];
    }
}

And maybe add the compilation option -fstrict-aliasing (gcc, strict-aliasing, and horror stories)

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

79186903

Date: 2024-11-13 22:53:35
Score: 1
Natty:
Report link

If you have Excel 365 you could use:

=SORTBY(SEQUENCE(ROWS(B2:B9)), -(B2:B9 + C2:C9/100))

enter image description here

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

79186901

Date: 2024-11-13 22:53:35
Score: 0.5
Natty:
Report link

My solution:

pyspark

import IPython

IPython.start_ipython()

This also work for many other shells (like Django shell)

enter image description here

Reasons:
  • Whitelisted phrase (-2): solution:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: patfinder

79186896

Date: 2024-11-13 22:49:34
Score: 2
Natty:
Report link

The solution to this problem was to whether disable the SSR mode key in the nuxt config by making it false or by rechecking the behavior of rendering some of the components that they're CSR without wrapping them in a ClientOnly component tag.

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

79186894

Date: 2024-11-13 22:49:34
Score: 1.5
Natty:
Report link

If you're all hung up on brevity, then this answer will suffice:

IFNULL(MIN(ID), 0)

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

79186891

Date: 2024-11-13 22:46:33
Score: 2
Natty:
Report link

What about dirent?

I think this term comes from node, it's short for directory entry. https://www.gnu.org/software/libc/manual/html_node/Directory-Entries.html

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What
  • High reputation (-2):
Posted by: minseong

79186859

Date: 2024-11-13 22:29:28
Score: 0.5
Natty:
Report link

The issue is resolved. When running in spark, adding the following in the spark-submit command

--conf spark.hadoop.io.compression.codecs=org.apache.hadoop.io.compress.GzipCodec,org.apache.hadoop.io.compress.DefaultCodec,org.apache.hadoop.io.compress.BZip2Codec,org.apache.hadoop.io.compress.SnappyCodec 
--packages org.apache.hadoop:hadoop-aws:3.2.0
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: TripleH

79186856

Date: 2024-11-13 22:27:28
Score: 0.5
Natty:
Report link

I decided to look in my own computer's applicationHost.config, used by IIS Express which is what Visual Studio runs, to see if there were any clues, and I found, in the <security> section,

<requestFiltering>
  <verbs allowUnlisted="true" applyToWebDAV="false" />
</requestFiltering>

I added that to web.config on the server and my requests started to work. They continued to work after I rolled back all the other changes I'd tried.

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

79186850

Date: 2024-11-13 22:25:27
Score: 1
Natty:
Report link

Yes, that location should work fine for PEAR packages, but ensure the PEAR path is correctly configured in your php.ini file under include_path for proper functionality.

To set a custom ruleset in PHPStorm: Go to File > Settings > Editor > Inspections. Find and enable PHP CodeSniffer & PHP MessDetector in the list, then set your ruleset file under the configuration for each tool.

For Magento ECG standards, clone the repository and point the ruleset path in PHPStorm to the ruleset.xml file from the cloned directory.

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

79186845

Date: 2024-11-13 22:23:26
Score: 2
Natty:
Report link

So they changes them all to

PhosphorIconsThin for Thin or Light Icons

PhosphorIcons or PhosphorIconsRegular for Regular Icons

PhosphorIconsFill for Filled Icons

PhosphorIconsDuotone for Duotone Icons

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

79186823

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

Thank you so much. with selectNow, Not blocked. My program was in while (true) {...;readCount = selector.select();...;}, but to short the code for post in this group, make one call to see if it can go through. I am working based on a very old app, it was NIO no-block with org.xsocket. call selector.select(), so I took it, but upgraded the dependencies, replace org.xsocket with java.nio. your are great!! Thank you again,

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • No code block (0.5):
  • Low reputation (1):
Posted by: Daxin

79186819

Date: 2024-11-13 22:07:23
Score: 1.5
Natty:
Report link

You need to right click on the workflow.json file and click Overview, this will show you the full URL you need to use. You need to ignore the URL they provide in the terminal when you start the app as it doesn't include all the necessary parameters.

I found the answer watching this video.

Reasons:
  • Blacklisted phrase (1): this video
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: InvalidSyntax

79186816

Date: 2024-11-13 22:05:23
Score: 0.5
Natty:
Report link

Okay so I managed to fix my own issues with the help of chatGPT:

I had a few typos in there, notably in the update_params() function where I updated the derivatives instead of updating the actual layers.

Bias Update Issue: There's a potential issue in your update_params function for updating the biases:

db1 = b1 - alpha * db1

This line should be:

b1 = b1 - alpha * db1

Similarly, check db2 to ensure:

b2 = b2 - alpha * db2

Since the wrong variables are being updated, the biases remain unchanged during training, preventing effective learning.

What really changed the game though was these next two points:

Weight Initialization: Ensure that your weight initialization does not produce too large or too small values. A standard approach is to scale weights by ​sqrt(1/n), where:

n is the number of inputs for a given layer.

W1 = np.random.randn(10, 784) * np.sqrt(1 / 784)
W2 = np.random.randn(10, 10) * np.sqrt(1 / 10)

This prevents issues with vanishing/exploding gradients.

This was a game changer along with this:

Data Normalization: Make sure your input data X (pixels in this case) are normalized. Often, pixel values range from 0 to 255, so you should divide your input data by 255 to keep values between 0 and 1.

X_train = X_train / 255.0

This normalization often helps stabilize learning.

And there you have it. I am able to get 90% accuracy within 100 iterations. I'm going to now test different activation functions and find the most adequate. Thank you chatGPT.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Ambaka Le Gregam

79186814

Date: 2024-11-13 22:05:23
Score: 1
Natty:
Report link

You don't have closing parenthesis for your print statements i.e. ) => print(file_lines[first_word_index:])

If you're writing code in vscode, try using Python extension by microsoft and pylint or flake8 to give you linting errors as you write code; it'll make it a lot easier to find these sort of things.

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

79186810

Date: 2024-11-13 22:04:22
Score: 1.5
Natty:
Report link

It turns out the actual culprit was LOMBOKS @Getter & @Setter. I removed all of them on my beans and replaced them with getters and setters and no errors. I don't know what happened in upgrading. But wow was that infuriating.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Donald Groezinger

79186809

Date: 2024-11-13 22:04:22
Score: 0.5
Natty:
Report link

You missed a ) on line 21. So compiler is failing because of that.

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

79186808

Date: 2024-11-13 22:03:22
Score: 2
Natty:
Report link

WearOS is not the same as Android Enterprise, some EMMs have some capabilities to control weareables and can push a limited set of policies, controls and configurations to devices.

Android Enterprise does only work on Android 5.0 and later.

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

79186804

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

You are missing the classy-classification package.
Try running:

pip install classy-classification
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: DKSadx

79186802

Date: 2024-11-13 22:01:21
Score: 2.5
Natty:
Report link

Instead of uploading the file to the server after each save,
try the Deploy for Commits plugin for PhpStorm to selectively download only the comments you need.

You can select multiple commits at once.

enter image description here

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

79186795

Date: 2024-11-13 21:55:20
Score: 2
Natty:
Report link

For iOS 16.7 - just simple restart device fix this problem for me.

For iOS 18.1 - I had Background App Refresh disabled on my phone.

After I enabled it in Settings -> General -> Background App Refresh - everything worked fine

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

79186790

Date: 2024-11-13 21:53:19
Score: 2
Natty:
Report link

Guys i would never stress enough the importance of doing the script above with administrator privileges. I was doing everything listed by the users above but the green turtle kept appearing and the performance were poor. Run VBoxManage modifyvm --nested-hw-virt on from C:\Program Files\Oracle\VirtualBox.

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

79186789

Date: 2024-11-13 21:52:19
Score: 3
Natty:
Report link

Try the Deploy for Commits plugin for PhpStorm.

It should definitely simplify all the options described in the latest answers from other participants.

enter image description here

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

79186772

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

When you are using CompositionalLayout do not set both

collectionView.isPagingEnabled = true

in setup of your collection and

let section = NSCollectionLayoutSection(group: group)
section.orthogonalScrollingBehavior = .paging

in UICollectionViewCompositionalLayout setup.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When you are
Posted by: Mehrdad

79186760

Date: 2024-11-13 21:41:16
Score: 2
Natty:
Report link

I encountered the problem when using the CLIP model. unset LD_LIBRARY_PATH solved my problem, reference.

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

79186756

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

So the issue was actually in the filepath, it specifies "univ" instead of "univ.db". It confused me because despite the blunder, the connection was still being established so I was looking for the problem elsewhere. When creating the database it created univ and univ.db, whatever univ is, it doesn't have the tables I created.

conn = DriverManager.getConnection("jdbc:sqlite:C:/sqlite/univ.db");
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: g3njac

79186752

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

It turns out I was missing the publish_video permission in my access token.

Once I included that permission, the video publishing process worked as expected.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Luboš Hájek

79186748

Date: 2024-11-13 21:37:15
Score: 3
Natty:
Report link

This post provide a nice explanation on how to do it with animate.css.

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