79485161

Date: 2025-03-05 00:09:16
Score: 0.5
Natty:
Report link

I was using Mudblazor, and isolated CSS identifiers are only generated on plain html markup. Therefore, you have to wrap your styled components in a <div class="test-class"> etc.

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

79485159

Date: 2025-03-05 00:07:16
Score: 1.5
Natty:
Report link

To use EKM for a Bigquery table

You need to create a KMS key with EKM key & use this KMS key for the table's encryption.

When creating a KMS key, please choose Protection Level as External, then click continue, it asks for uri, then provide your EKM key's uri & create this kms key.

Later follow this guide to use this KMS key on the bigquery table for CMEK encryption

Reasons:
  • Blacklisted phrase (1): this guide
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Akshay Pichala

79485148

Date: 2025-03-04 23:59:14
Score: 2.5
Natty:
Report link

genType does not support going from TypeScript to ReScript, but there is a community project to convert types from TypeScript to OCaml, Reason, and ReScript.

https://github.com/ocsigen/ts2ocaml/blob/main/docs/rescript.md

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Josh Derocher-Vlk

79485144

Date: 2025-03-04 23:56:13
Score: 1.5
Natty:
Report link

Include

import re

In all files where you need to use re.

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

79485132

Date: 2025-03-04 23:49:12
Score: 0.5
Natty:
Report link

Following up with a previous answer.

There was research being done in 2018 on forwarding custom audio to the Xiaomi Redmi Note 3:

https://xdaforums.com/t/direct-audio-playback-through-alsa.3806297/

More info can be found there.

First of all, you need your card name. You can get it from /proc/asound/cards. For example:

0 [msm8976tashalit]:
msm8976-tashali - msm8976-tashalite-snd-card
                  msm8976-tashalite-snd-card

card name will be "msm8976-tashalite-snd-card". Next thing is paths. You need to figure out how codec needs to be prepared. This info lies in mixer_paths.xml in /system/etc or /vendor/etc. Search for paths called deep-buffer-playback, low-latency-playback, compress-offload-playback, etc. Put values from there to "device" section. And a device number. See /proc/asound/pcm. Example:

00-09: (Compress1) :  : playback 1

Device number is 9. Volume is hard one because android changes it with software, so you can't see any difference when dumping control vars (at least in my case). Use AlsaMixer and guess... This blog post can help you: https://arunraghavan.net/2016/01/audio-devices-and-configuration/

Reasons:
  • Blacklisted phrase (1): This blog
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: VisualPlugin Rōblox

79485130

Date: 2025-03-04 23:49:11
Score: 4
Natty:
Report link

Ihave stumbled across rsa challenge in ctf where the public exponent isn't coprime with euler's totient is there anyway to determine the ciphertext

Reasons:
  • Blacklisted phrase (1): is there any
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: BENKROUIDEM Nassireddine

79485127

Date: 2025-03-04 23:45:10
Score: 1
Natty:
Report link

Your command and entrypoint configuration might be causing issues. You're using both entryPoint and command with /bin/bash, which might cause the container to exit immediately. Try either. Also you might need to verify the container's memory setting.

From aws side, Your EC2 instance need enough memory for both containers. Check if your ECS instance has the required IAM roles Verify your security groups allow the specified ports

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

79485119

Date: 2025-03-04 23:40:09
Score: 2
Natty:
Report link

You need to download the Meta Quest Developer Hub Once downloaded and signed in, you can go to the top left "Device Manager" and add your quest 3 (your Quest 3 has to be plugged into your mac for this to work).

Once you have that all synced up with the Hub, if you refresh your run device list in unity it should now show up as a device

I used this video as a reference

Reasons:
  • Blacklisted phrase (1): this video
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Jacob Metcalf

79485118

Date: 2025-03-04 23:40:09
Score: 3
Natty:
Report link

Run the following command - npm install react-bootstrap bootstrap

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

79485114

Date: 2025-03-04 23:38:09
Score: 0.5
Natty:
Report link

I solve it using partial import endpoint. This is a sample using python keycloak.

new_users = keycloak_admin.partial_import_realm(
        "realm_name",
        {
            "ifResourceExists": "FAIL",
            "users": [
                {
                    "id": "cbe0c97f-4552-4ef4-8b25-358060737016",
                    "username": "[email protected]",
                    "email": "[email protected]",
                    "enabled": True,
                    "firstName": "Example",
                    "lastName": "User",
                    "emailVerified": True,
                    "attributes": {"userRole": ["patient"]},
                    "credentials": [
                        {
                            "type": "password",
                            "value": "StrongP@ssword123",
                            "temporary": False,
                        }
                    ],
                }
            ],
        },
    )

enter image description here

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

79485111

Date: 2025-03-04 23:37:09
Score: 1
Natty:
Report link
  1. Just remove/delete the 'color' aesthetic

  2. this will be as below;

     ggplot(data = x) +
       geom_bar(
         mapping = aes(x = month, y = numb_fish, fill = LifeStage), stat = "identity") +
       labs(title = "Monthly Data",y = "Total") + 
       scale_x_date(date_breaks = "1 month", date_labels = "%b -%y")
    
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Henry Kaweesa

79485109

Date: 2025-03-04 23:35:08
Score: 1
Natty:
Report link

This is because str[0:1] uses slicing while str[0] uses indexing. Slicing never raises an error when the index is out range but indexing does raise an error. When you run str[0], the error raised is an IndexError, because it is an issue caused by the indexing.

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

79485104

Date: 2025-03-04 23:30:08
Score: 3
Natty:
Report link

Add FROM --platform=linux/x86-64 (Your Image base: python:3.10,ubuntu:20.04, ....) into your Dockerfile

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

79485099

Date: 2025-03-04 23:26:07
Score: 3
Natty:
Report link

Figured out that this works if I submit it to flink with flink run -py test.py

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

79485093

Date: 2025-03-04 23:22:05
Score: 6 🚩
Natty:
Report link

I am getting the same issue as well. Using Tesseract V5.5.0. Made the DPI 300. Verified the boxes. Manually adjusted the boxes using jTessBoxEditor. Similar issue was previously mentioned by other users in an older version. https://groups.google.com/g/tesseract-ocr/c/qjpVWmdP9GE Maybe this thread can give you more info on it.

Reasons:
  • RegEx Blacklisted phrase (1): Similar issue
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am getting the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Joseph Sabu

79485091

Date: 2025-03-04 23:21:05
Score: 1
Natty:
Report link

EmEditor v25 has been released, adding support for stacked custom bars. Now, opening a new custom bar will not close the previous one on the same side. See release notes.

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

79485084

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

Maybe you can check here. This looks like specifically for the capture device.

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

79485082

Date: 2025-03-04 23:16:03
Score: 1.5
Natty:
Report link

Had to add this to my settings.json and then get all the fully qualified imports correctly done. Like this: from code.jobber.jobber_api import JobberAPI NOTE:"Pylance quick fix add imports sucks and does not honor this. Ifg anyone knows how to fix VS code to import the full path by default. Please let me know

{
    "azureFunctions.deploySubpath": ".",
    "azureFunctions.scmDoBuildDuringDeployment": true,
    "azureFunctions.projectLanguage": "Python",
    "azureFunctions.projectRuntime": "~4",
    "debug.internalConsoleOptions": "neverOpen",
    "azureFunctions.projectLanguageModel": 2,
    "python.pythonPath": "/usr/bin/python",
    "python.autoComplete.extraPaths": [
      "${workspaceFolder}/Code/db",
      "${workspaceFolder}/Code/models",
      "${workspaceFolder}/Code/jobber",
      "${workspaceFolder}/Code",
      "${workspaceFolder}/Code/google",       
      "${workspaceFolder}/Code/tests",
      "${workspaceFolder}/Code/mailer_lite",
      "${workspaceFolder}/Code/apify",
      "$./Code/db",
      "$./Code/models",
      "$./Code/jobber",
      "$./Code",
      "$./Code/google",       
      "$./Code/tests",
      "$./Code/mailer_lite",
      "$./Code/apify"
    ],
    "python.analysis.extraPaths": [
        "${workspaceFolder}/Code/db",
        "${workspaceFolder}/Code/models",
        "${workspaceFolder}/Code/jobber",
        "${workspaceFolder}/Code",
        "${workspaceFolder}/Code/google",       
        "${workspaceFolder}/Code/tests",
        "${workspaceFolder}/Code/mailer_lite",
        "${workspaceFolder}/Code/apify",
        "$./Code/db",
        "$./Code/models",
        "$./Code/jobber",
        "$./Code",
        "$./Code/google",       
        "$./Code/tests",
        "$./Code/mailer_lite",
        "$./Code/apify"
    ],
Reasons:
  • Blacklisted phrase (1): anyone knows
  • RegEx Blacklisted phrase (2.5): Please let me know
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Steve Coleman

79485077

Date: 2025-03-04 23:12:03
Score: 2
Natty:
Report link

Below code will definitely get the JWT token

Amplify.Auth.getPlugin(AmplifyAuthCognito.pluginKey).fetchAuthSession().then( (value) { print(value.userPoolTokensResult.value.accessToken.toJson()); });

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

79485067

Date: 2025-03-04 23:07:01
Score: 2
Natty:
Report link

There is no module called fab2. I'm assuming you meant to use fabric2.

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

79485064

Date: 2025-03-04 23:06:01
Score: 3
Natty:
Report link

ok this worked (pasted in vimrc file):

if has("python3") py3 sys.path.insert(0, '/Users/user/coding/data_analysis/lib/python3.13/site-packages') endif

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

79485053

Date: 2025-03-04 23:00:00
Score: 1.5
Natty:
Report link

As pointed out in the comments by @Alek, the way to see the entrypoint for a given image is:

docker inspect -f '{{.Config.Entrypoint}}' myimage

See https://forums.docker.com/t/how-can-i-determine-entrypoint-cmd-are-on-an-image/1243

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @Alek
  • High reputation (-1):
Posted by: GreenGiant

79485051

Date: 2025-03-04 22:58:00
Score: 1.5
Natty:
Report link

This is neither an update nor an error in your code. The progress bar is the progress of loading the whatever model you have at model.safetensors.

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

79485035

Date: 2025-03-04 22:47:57
Score: 3.5
Natty:
Report link

In the unlikely event that readers may be as dense as I was on this matter, the deal is that the Generated Files filter that you see in the project doesn't actually have the stuff in it. You can see the results easily in file explorer.

enter image description here

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

79485023

Date: 2025-03-04 22:36:55
Score: 1
Natty:
Report link

Trying to detect changes in slots using useSlots together with computed did not work for me, and I had to have support for changes upon mount. Accessing $slots directly in the template worked much better and seemed to update instantly, in my case I rendered a class if a named slot was present.

<div :class=”{ ’some-class’: $slots.footer }”>

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

79485017

Date: 2025-03-04 22:32:54
Score: 1
Natty:
Report link

I want to make this design more flexible and avoid tightly coupling the parameters to specific implementations.

You've described a situation where the parameters are intrinsic to those specific implementations:

token for FCMNotifier, and topicArn for SNSNotifier

Can you have an FCMNotifier without a token? Can you have an SNSNotifier without a topicArn?

So let's say you do crack this design problem and you're able to figure out a way to abstract away the specific parameters to each notifier. Whatever solution you come up with, the first thing each notifier implementation has to do is verify that the things it needs to function are specified. IOW, the FCMNotifier has to deal with whatever abstraction you've created and extract a valid token from it, and the SNSNotifier has to do the same for a topicArn.

On the other side of this communication, whatever populates the abstraction has to know that it's not just dealing with generic parameters for some generic notifier. No, it has to know it wants an SNSNotifier and so I have to provide a topicArn. It will want to know that it hasn't made a silly mistake and formatted some parameter incorrectly, so it will probably need some kind of utilities specific to each parameter type that can verify, yup, this is a valid topicArn, you're good to go!

Keep in mind that the value of abstractions is that they allow you to deal with things at a conceptually higher level if that's all you care about. For example, if we're having a conversation about stars and I pick some example star to make a point about stars in general, I could pick the Sun, but neither you nor I care that it's the Sun, and we can ignore all the things about the Sun that make it unique.

If we're talking about the Sun specifically, though, and you say, "Let's not use the Sun as the Sun per se, but rather as an example of stars in general," that doesn't make any sense because we're trying to make a point that is actually specific to the Sun. So making sure we carefully have the discussion such that we never rely on anything about the Sun that isn't generic to all stars … isn't going to work. We're trying to use an abstraction where the conversation doesn't call for one.

It seems to me you're doing the same thing. Design all of the specific notifiers you need first and then look at all of them and ask, "What do these have in common that can be pulled up to an interface? What in my codebase is going to use these are generic notifiers, and what do those callers need from this interface?"

The things in the codebase providing parameters to the notifiers are not examples of callers that want to talk about stars in general, they want to talk about the Sun. Don't force them to use the abstraction.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: severoon

79485001

Date: 2025-03-04 22:21:51
Score: 4
Natty:
Report link

The Spreadsheet object now has a getSheetById() method.

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Finn Smith

79484998

Date: 2025-03-04 22:17:50
Score: 5
Natty:
Report link

I'm facing the same issue. It seems that there is no easy way out of this. The only clean way is to create a custom domain, associate it with the new routes and the old routes, and communicate it out to clients for use instead of using the migrated domain.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm facing the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: rthtor

79484979

Date: 2025-03-04 22:06:47
Score: 4
Natty:
Report link

kill -9 $(lsof -i tcp:3000 -t)

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: b-rack

79484978

Date: 2025-03-04 22:05:47
Score: 0.5
Natty:
Report link

In addition to the answer supplied by @filippo-lauria, you should check for the existence of errors:

...
 <label for="{{ form.firstname.id_for_label }}">First Name:</label>
   {{ form.firstname }}
   {% if form.firstname.errors %}
       {{ form.firstname.errors }}
   {% endif %}
 ...

As of Django 5.1, you will get template errors without this check if errors don't exist.

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @filippo-lauria
Posted by: Jesuisme

79484975

Date: 2025-03-04 22:02:46
Score: 1
Natty:
Report link

For that reason we have implemented our own compiler plugin "lombokt" in case anyone is interested: https://github.com/bivektor/lombokt

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Cagatay Kalan

79484965

Date: 2025-03-04 21:57:45
Score: 0.5
Natty:
Report link

I was close - reread the setuptools/build_meta.py source. Discovered that all of the individual words in the argv list used by the backend invoked by build need to have the --config-setting=--build-option={the-argv-word}.

So my example command line in the OP should have been this:

python3  -m build  --wheel  '--config-setting=--build-option=-v' \
  '--config-setting=--build-option=egg_info' \
  '--config-setting=--build-option=--tag-build'  \
  '--config-setting=--build-option=post20240119000000'

As oyvind answered, to supply the global options to the backend, use --config-setting. eg.

--config-setting=--global-option=--no-user-cfg

My PEP 517 builds are now using the above pattern. IHTH someone else.

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

79484962

Date: 2025-03-04 21:57:45
Score: 0.5
Natty:
Report link

Kotlin supports Lombok on Java classes for some time but doesn't support it declared on Kotlin classes. We have implemented our own compiler plugin to support a limited set of Lombok annotations on Kotlin classes here: https://github.com/bivektor/lombokt

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Cagatay Kalan

79484961

Date: 2025-03-04 21:56:45
Score: 1.5
Natty:
Report link

Another option also could be to assess the following in your spec, instead:

expect(value_1 >= value_2).to be_truthy
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Julien

79484944

Date: 2025-03-04 21:51:44
Score: 3
Natty:
Report link

Well after a bit more digging, seems it was an issues with the python version I was running. I was running python 3.10 and after a little research I upgraded to python 3.13.2 and the sample that is listed in the 3.13.2 docs runs without errors....

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

79484937

Date: 2025-03-04 21:49:43
Score: 2.5
Natty:
Report link

Why would interfaces be immune to the problems that cyclic dependencies introduce? All of the problems caused by cyclic dependencies happen irrespective of the specifics of how those dependencies are introduced.

The linked post says:

Are there good cycles?

Some cycles are valid, helpful, and do not affect maintainability or reliability: String and Object, File and Folder, Node and Edge. Usually, such circles sit within one package and do not contribute into circular dependencies between packages.

This is flat wrong. Cyclic dependencies are never "good," at best you could say that some very few examples could be regarded as a necessary evil, but that's as far as I'd go. I'm not sure the examples provided are even good ones, either.

Let's look at the examples given. Look at File and Folder. Folders form a tree structure into which files are placed. Think about if you have a binary tree that stores integers…can you think of any good reason that Integer should know what TreeNode it's placed in? Why should the story be any different for File? It isn't. Files should exist without any knowledge of the folder they're in. Think about hard links in Unix where you can create two handles to the same file. Which folder is it in?

Your instinct might be to object here on the basis of: What if I have a file, and I want to know what folder it's in? Again, I point to the tree example, what if I have an integer and I want to know what node it's in? Should I ask the integer? No, I should ask the tree, and it will go ahead and locate the node for me. Similarly, I should ask the FileManager of the file system to give me that information.

Node and Edge are another example. What is the role of a node? To encapsulate some content within a graph structure. What is the role of an edge? To connect nodes. Why should a node ever know about the existence of an edge? If your design for a graph introduces the concept of an edge as a first-class citizen by making it a class, then go all the way and structure that design with rigor. Otherwise, don't introduce the concept of edges as first-class citizens and use the design most do, just have nodes reference each other directly.

In such a design, a Graph would be a collection of edges with each edge having two nodes. (Could a node have zero or one node? Depends on the context of how the graph will be used.) The Graph class would also probably want to be able to look up edges by node, which implies that it would also keep edges indexed by the nodes they connect. Node never needs to know about Edge.

I've saved the hardest example for last, Object and String. This is an absolutely unavoidable example, but not because of anything design element to do with the objects conceptually, rather because of practical reasons. When Java was introduced, various OO design principles were compromised in order to make Java performant. That's why Object knows about String, and it's the only reason. It's also why Object has equals and hashCode methods. If Java were to be redesigned today from the ground up, it's unlikely that it would have any of these methods and they would instead be captured by interfaces that other classes could implement, e.g.:

interface Stringifiable {
  String toString();
}

interface Equatable<E extends Equatable<E>> {
  boolean equals(E equatable);
}

interface Hashable<E> extends Equatable<E> {
  long hashCode();
}

The Object class could provide static utility methods that current reside in java.util.Objects that would help provide implementations of these methods, and the platform could even provide standard annotations as part of the JDK that allow the compiler to just call those default utility methods to save you having to implement the methods yourself.

Of course, this is all only possible in retrospect, it can't be added now because it would break backwards compatibility. But it would look something like this:

@Stringifiable @Equatable @Hashable
class Foo {
  // blah blah blah
}

Now the compiler would know to go ahead and add those methods. This approach could work for cloneable, serializable, etc, too. (Arguably those two were mistakes and shouldn't be provided by the JDK at all, at least not as core things, but that's neither here nor there.) The point is that introducing cyclic dependency is pretty much always not good, the question is, can it be avoided? In early Java, it couldn't as a matter of practicality.

The core reason that cyclic dependencies are always bad from a principled standpoint is that classes should only ever encapsulate data and behaviors that are intrinsic to the type being defined, meaning "free from context." If you examine the API of a class or crack it open and look at its insides, is everything inside it inherent to that thing itself, or does it reference bits of its outside context?

Every time you design a class that encapsulates some of its context, you reduce the generalizability of that type because it can no longer exist outside that context. This is why Integer shouldn't have a reference to the TreeNode that contains it, because it means that Integer no longer makes sense in any other context where there isn't a TreeNode. A hacky approach to this is to say, "Well, let's just set that field to null." If this makes sense, then it means that Integer must also store a null reference to everything that might ever contain it: array, a graph node, a tree node, nodes that are in data structures that may not have been conceived of yet. Obviously this is bad.

With this in mind, now it should be clear why cyclic dependencies are always bad. There's no way a cycle between two classes can exist without violating this principle. If we stick to proper design, and A has a reference to B, that means B is intrinsic to A. If that's the case, then A cannot be both a separate class and intrinsic to B. If they are intrinsic to each other, then they both APIs belong in the same class. If they're not, then the dependency should only go one direction (at most).

Reasons:
  • Blacklisted phrase (1): I want to know
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Why would in
  • Low reputation (1):
Posted by: severoon

79484936

Date: 2025-03-04 21:48:43
Score: 0.5
Natty:
Report link

My app was printing lots of logs - about 5k in 2-3 seconds, and once every few runs not all logs were printed.

I was using Log.d to print them, which seems to be optimised out under some conditions.

Replacing Log.d with Log.wtf, which is not optimised out, solved my issue.

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

79484924

Date: 2025-03-04 21:44:42
Score: 3
Natty:
Report link

I personally came across this error when I had conflicting sync and reactive dependencies (mongodb). Removing either fixed the issue.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Byron Lloyd - Wakeman

79484923

Date: 2025-03-04 21:44:42
Score: 1
Natty:
Report link

I ran into the same error while finetuning a glow-tts model, and I had to update the config.json file. In the datasets parameter, I added:

"formatter": "ljspeech",
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: brandav

79484921

Date: 2025-03-04 21:43:42
Score: 0.5
Natty:
Report link

It's not a pipeline responsibility to do anything with a controller or agent, especially to update and restart it. It's a job for an external configuration management tool. A job can't run without the controller, so your idea is impossible to implement.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Alexander Pletnev

79484917

Date: 2025-03-04 21:41:41
Score: 2
Natty:
Report link

Just wanted to add ... I ran into this same issue and the accepted answer was exactly what I needed, but it took me ages to realize it because there seems to be a fair delay between when you upload the policy and when it takes effect.

I kept thinking something I'd done had fixed this, only to have it break again 10 minutes later. Turns out I was jumping the gun and reverting the working fix to try other things before it had time to actually kick in.

Reasons:
  • Blacklisted phrase (0.5): I need
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jocelyn

79484912

Date: 2025-03-04 21:39:40
Score: 4
Natty: 4
Report link

Click on my profile for more information <3

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

79484911

Date: 2025-03-04 21:39:40
Score: 1
Natty:
Report link

You will need to specify the path to your OpenSSL config. To do this you can set the environment variable of the openssl.cnf file as follows:

Variable name: OPENSSL_CONF

Variable value: C:\Program Files\Git\usr\ssl\openssl.cnf

Also try to run cmd or powershell as admin.

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

79484908

Date: 2025-03-04 21:37:39
Score: 0.5
Natty:
Report link

Currently, PyTorch's pdist() doesn't have a built-in function to compute only specific rows of the distance matrix. This is PyTorch GitHub repository: https://github.com/pytorch/pytorch/issues this would be a better place to discuss and find a solution

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

79484892

Date: 2025-03-04 21:28:38
Score: 3
Natty:
Report link

Had this issue - uninstalling jupyter extensions solved it for me

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

79484879

Date: 2025-03-04 21:22:36
Score: 1
Natty:
Report link

Have you tried the business on behalf of flow https://developers.facebook.com/docs/marketing-api/business-manager/guides/on-behalf-of? This is the only clear Meta documentation I've seen in my searches for how a partner should gain access to client assets (e.g. ad accounts, pages). The partner would need to have its own business manager and developer account.

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

79484866

Date: 2025-03-04 21:12:34
Score: 2.5
Natty:
Report link

Debugging works fine when started without Turbopack/Turborepo. This is a Turborepo bug, and it is being resolved.

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

79484860

Date: 2025-03-04 21:07:33
Score: 2
Natty:
Report link

From the comment:

@Saddles Removing the ? solved it! I'm not familiar with that operator, and just copied it from the documentation - do you happen to know why that might have been causing issues? (I feel like this should be an answer, since it seems likely to me that others might run into a similar issue with adapting the provided example, could you please write it up into one and then I can mark it as best?)

Change:

  const protection = s.getProtections(SpreadsheetApp.ProtectionType.SHEET)[0];
  if (protection?.canEdit()) {
    protection.remove();
  }

To:

  const protection = s.getProtections(SpreadsheetApp.ProtectionType.SHEET)[0];
  if (protection.canEdit()) {
    protection.remove();
  }

TL;DR

As per remove():

  // Remove sheet protection from the active sheet, if the user has permission to
  // edit it.
  const sheet = SpreadsheetApp.getActiveSheet();
  const protection = sheet.getProtections(SpreadsheetApp.ProtectionType.SHEET)[0];
  if (protection?.canEdit()) {
    protection.remove();
  }

The example works. However, it's likely that the Optional chaining syntax isn't being detected when the script runs, causing the TypeError: protection.remove is not a function.

I recommend making sure that Enable Chrome V8 runtime is enabled in the project by going to its Project Settings, and if the issue doesn't clear by itself, even after the removal of ? in the code, submit a bug report to let Google know about the unusual behavior that's going on.

Reasons:
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Saddles
  • Looks like a comment (1):
Posted by: Saddles

79484854

Date: 2025-03-04 21:05:32
Score: 3.5
Natty:
Report link

Probably your API key only enable Places API (New), while the library your using uses Places API (Legacy) endpoints.

https://developers.google.com/maps/documentation/places/web-service/place-autocomplete

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

79484852

Date: 2025-03-04 21:05:32
Score: 2
Natty:
Report link

Verify Language Mode in VS Code

Make sure VS Code is recognizing the file as a TypeScript React file. You can manually set the language mode by clicking on the language mode indicator in the bottom-right corner and selecting "TypeScript React".

After clicking on it, you can select the option "Configure File Association for '.tsx'...", then select Typescript JSX

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

79484851

Date: 2025-03-04 21:04:31
Score: 5
Natty: 5
Report link

For some reason, when OneTimeSetUp quit working...I changed it to Setup. Rebuilt...reran. Worked. Then changed it back. Maybe that could help?

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

79484849

Date: 2025-03-04 21:03:31
Score: 1
Natty:
Report link

OOP concepts, if used at all in this example, are only trivially used. So my answer to this question would be none, there are no OOP concepts demonstrated here.

You could argue that the existence of the Greeting class itself "demonstrates" an OOP concept, but only trivially so since it encapsulates no state and has no behaviors defined at the instance level (other than those inherited by Object). Similarly, you could argue that Greeting inherits from Object, but it's not really a "demonstration" of inheritance or polymorphism because it's a bit of a stretch to say that any caller could ever meaningfully leverage either of those concepts with the Greeting class.

Let's contrive an example where Greeting could be used polymorphically, for example, just to make the point. Since it only has a static main method, the only polymorphic uses of it would be if some other class was responsible for managing a bunch of random objects. Perhaps it is using these objects as thread locks, so it doesn't matter what type the object is so long as multiple threads all use the same one.

But since this isn't specific to Greeting, that means this particular class isn't a very good demonstration of that polymorphism. It's a demonstration of synchronizing on an object, which is not an OOP concept, but doesn't leverage polymorphism in any way.

So how can we change this example? We could say that a class is collecting main classes. We're writing some kind of startup manager that can invoke a main method so users can indirectly invoke a main method through this one class that might bring some benefits or extra capabilities, and to do its job, it needs to collect a bunch of classes that define a main method for some reason? In that case, since main(…) is a static method, the only thing this startup class could do is collect a bunch of main classes as Objects. This would be a trivial example of polymorphism, but it's still not that good because we might want to collect an instance of a main class, but the author of that main class adds a private constructor to prevent it from being instantiated. In that case, it's still a valid main class, but the idea of collecting instances won't work for this example, so we'd have to change our design to collect the Class objects of the main classes instead.

When it's even difficult to contrive any example of how this could be a demonstration of an OOP concept, I'd say it doesn't really demonstrate any of them. However, talking through why would probably score you some points in an interview setting.

Reasons:
  • Blacklisted phrase (1): how can we
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: severoon

79484836

Date: 2025-03-04 20:55:29
Score: 0.5
Natty:
Report link
df = df.sort_values(by=['store_nbr', 'product_sku', 'date'])
df['price_change'] = df.groupby(['store_nbr', 'product_sku'])['retail'].apply(lambda x: x != x.shift()).values
df['date_price_change'] = df['date'].where(df['price_change']).ffill()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: jgonz1

79484834

Date: 2025-03-04 20:54:29
Score: 1
Natty:
Report link

Instead of using module.exports = { } use

export default { /*Config Contents*/ };

This may possibly cause internal issue with pm2's loader, in which case

export { /*Config Contents*/ };

Should suffice.

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

79484831

Date: 2025-03-04 20:52:28
Score: 1
Natty:
Report link

Here is a formula that can scale the data exponentially so that it gives an apparent smoother scaling between smallest and largest.

=ARRAYFORMULA(if($E$39:$E$59="",,($E$39:$E$59 * 10^((RANK($E$39:$E$59, $E$39:$E$59, 1)-1)/10))))

In E39 to E59 are the original values. This formula should be placed in F39 which is the cell to the right of the topmost value. It works out the rank position for each value and multiply the original value by this exponent. It loses touch with the original values, but it gives a better looking chart in my opinion.

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

79484815

Date: 2025-03-04 20:46:27
Score: 3.5
Natty:
Report link

when you set property, make sure that value is case sensitive. for this property, proper value TRUE or FALSE. any other case would be ignored and not processed.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): when you
  • Low reputation (1):
Posted by: Sergey Chaban

79484813

Date: 2025-03-04 20:45:27
Score: 1.5
Natty:
Report link

this recipe worked for me conda install conda-forge::libgdal conda install conda-forge::r-sf

i tried withour success installing udunits2, r-base and sf individually, but with the recipe above worked fine.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Felipe

79484812

Date: 2025-03-04 20:44:26
Score: 5
Natty: 4.5
Report link

For the community edition i was not able to access dbfs:Filestore. Thus i uploaded the local file to catelog->vloumes and loaded the data from the same path and it works.

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

79484810

Date: 2025-03-04 20:44:25
Score: 6 🚩
Natty: 4
Report link

Was this ever resolved? This was last year and I still only can access the predict method outside of the databricks playground.

Reasons:
  • RegEx Blacklisted phrase (1.5): resolved?
  • RegEx Blacklisted phrase (0.5): Was this ever resolved
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Was this
  • Low reputation (1):
Posted by: Montreaux Rodgers

79484806

Date: 2025-03-04 20:42:25
Score: 3
Natty:
Report link

There is the Burnikel-Ziegler algorithm. I implemented it in C++ recently in one of my personal projects from the Python version. Cf. https://github.com/python/cpython/issues/128709

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: P'tit Ju

79484789

Date: 2025-03-04 20:34:23
Score: 12 🚩
Natty: 6.5
Report link

Were you able to solve this? I am currently getting the same error.

Reasons:
  • Blacklisted phrase (1): you able to solve
  • RegEx Blacklisted phrase (1.5): solve this?
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): getting the same error
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Pam G

79484787

Date: 2025-03-04 20:33:22
Score: 2
Natty:
Report link

Use pnpm instead of npm, you will save 100 hours a month believe me. Otherwise nextjs project creation is too slow.

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

79484777

Date: 2025-03-04 20:23:20
Score: 1
Natty:
Report link

you have two #header selectors and on the second one you still have margin added to it i would remove it

#header{ 
    margin-right: 10px;
    margin-left: 10px;
    font-size: xx-large;

}

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

79484763

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

Don't use this Red Hat Dependency Analytics kind of extension in vscode

check your package.json file it must not have any dependencies like "YourAppName":"file:"

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: 6040_Harsh Dewangan

79484758

Date: 2025-03-04 20:09:17
Score: 11 🚩
Natty: 6.5
Report link

I have a similar problem, and haven't seen this sort of thing addressed in guides to repeated measures multilevel models.

Did you find a solution?

Reasons:
  • Blacklisted phrase (1): I have a similar problem
  • RegEx Blacklisted phrase (3): Did you find a solution
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have a similar problem
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: J K

79484757

Date: 2025-03-04 20:09:17
Score: 2
Natty:
Report link

Using just one table wouldn't work as when the stored procedure was executed three times, the table was being cleared each resulting in the data being cleared from the table on each execution. This made the days unavailable for future retrievals so I created three tables to hold the three sets of data and this solved the problem

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

79484751

Date: 2025-03-04 20:05:16
Score: 1
Natty:
Report link

Since hosted services are registered as singleton, one good approach may be to create a separate singleton class to hold the shared data. So your background service (MyService) can inject this class and update its state. Then you can use anywhere in your API to read this data.

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

79484740

Date: 2025-03-04 20:01:15
Score: 1
Natty:
Report link

The solution to the leap year problem I found was to change 02/29/YYYY to 02/28/YYYY. This is not a perfect solution, but it was the only thing I could think of.

Here is the foreign key I made to join to the calendar table

date_fk = 
IF(
    [Date].[MonthNo] = 2
    && [Date].[Day] = 29
    ,DATE([Date].[Year],2,28)
    ,[Date].[Date]
)

I welcome anyone to come up with a "solution" that does not require me to alter the data in the table. If anyone knows how to do this within a cumulative total measure itself that would be better.

Reasons:
  • Blacklisted phrase (1): anyone knows
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: LT_AKR

79484735

Date: 2025-03-04 19:59:14
Score: 7.5 🚩
Natty: 5
Report link

I believe the correct equation should be:total += Y[ctr]/N * (np.cos(xctr2np.pi/N) + 1jnp.sin(xctr2*np.pi/N)). enter image description here

Does anyone know why the error increasing along the x-axis? Can anyone help to correct it? If using build in reverse FFT(ifft) function, this error tread diapered. But I need this manually compute reversed FFT method.

Reasons:
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (2): Does anyone know
  • RegEx Blacklisted phrase (3): Can anyone help
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: user22248229

79484729

Date: 2025-03-04 19:57:13
Score: 1
Natty:
Report link

.VIpgJd-ZVi9od-ORHb-OEVmcd{left:0;top:0;height:39px;width:100%;z-index:10000001;position:fixed;border:none;border-bottom:1px solid #6B90DA;margin:0;box-shadow:0 0 8px 1px #999}.VIpgJd-ZVi9od-xl07Ob-OEVmcd{z-index:10000002;border:none;position:fixed;box-shadow:0 3px 8px 2px #999}.VIpgJd-ZVi9od-SmfZ-OEVmcd{z-index:10000000;border:none;margin:0}.goog-te-gadget{font-family:arial;font-size:11px;color:#666;white-space:nowrap}.goog-te-gadget img{vertical-align:middle;border:none}.goog-te-gadget-simple{background-color:#FFF;border-left:1px solid #D5D5D5;border-top:1px solid #9B9B9B;border-bottom:1px solid #E8E8E8;border-right:1px solid #D5D5D5;font-size:10pt;display:inline-block;padding-top:1px;padding-bottom:2px;cursor:pointer}.goog-te-gadget-icon{margin-left:2px;margin-right:2px;width:19px;height:19px;border:none;vertical-align:middle}.goog-te-combo{margin-left:4px;margin-right:4px;vertical-align:baseline}.goog-te-gadget .goog-te-combo{margin:4px 0}.VIpgJd-ZVi9od-l4eHX-hSRGPd,.VIpgJd-ZVi9od-l4eHX-hSRGPd:link,.VIpgJd-ZVi9od-l4eHX-hSRGPd:visited,.VIpgJd-ZVi9od-l4eHX-hSRGPd:hover,.VIpgJd-ZVi9od-l4eHX-hSRGPd:active{font-size:12px;font-weight:bold;color:#444;text-decoration:none}.VIpgJd-ZVi9od-ORHb .VIpgJd-ZVi9od-l4eHX-hSRGPd,.VIpgJd-ZVi9od-TvD9Pc-hSRGPd{display:block;margin:0 10px}.VIpgJd-ZVi9od-ORHb .VIpgJd-ZVi9od-l4eHX-hSRGPd{padding-top:2px;padding-left:4px}.goog-te-combo,.VIpgJd-ZVi9od-ORHb *,.VIpgJd-ZVi9od-SmfZ *,.VIpgJd-ZVi9od-xl07Ob *,.VIpgJd-ZVi9od-vH1Gmf *,.VIpgJd-ZVi9od-l9xktf *{font-family:arial;font-size:10pt}.VIpgJd-ZVi9od-ORHb{margin:0;background-color:#E4EFFB;overflow:hidden}.VIpgJd-ZVi9od-ORHb img{border:none}.VIpgJd-ZVi9od-ORHb-bN97Pc{color:#000}.VIpgJd-ZVi9od-ORHb-bN97Pc img{vertical-align:middle}.VIpgJd-ZVi9od-ORHb-Tswv1b{color:#666;vertical-align:top;margin-top:0;font-size:7pt}.VIpgJd-ZVi9od-ORHb-KE6vqe{width:8px}.VIpgJd-ZVi9od-LgbsSe{border-color:#E7E7E7;border-style:none solid solid none;border-width:0 1px 1px 0}.VIpgJd-ZVi9od-LgbsSe div{border-color:#CCC #999 #999 #CCC;border-right:1px solid #999;border-style:solid;border-width:1px;height:20px}.VIpgJd-ZVi9od-LgbsSe button{background:transparent;border:none;cursor:pointer;height:20px;overflow:hidden;margin:0;vertical-align:top;white-space:nowrap}.VIpgJd-ZVi9od-LgbsSe button:active{background:none repeat scroll 0 0 #CCC}.VIpgJd-ZVi9od-SmfZ{margin:0;background-color:#FFF;white-space:nowrap}.VIpgJd-ZVi9od-SmfZ-hSRGPd{text-decoration:none;font-weight:bold;font-size:10pt;border:1px outset #888;padding:6px 10px;white-space:nowrap;position:absolute;left:0;top:0}.VIpgJd-ZVi9od-SmfZ-hSRGPd img{margin-left:2px;margin-right:2px;width:19px;height:19px;border:none;vertical-align:middle}.VIpgJd-ZVi9od-SmfZ-hSRGPd span{text-decoration:underline;margin-left:2px;margin-right:2px;vertical-align:middle}.goog-te-float-top .VIpgJd-ZVi9od-SmfZ-hSRGPd{padding:2px;border-top-width:0}.goog-te-float-bottom .VIpgJd-ZVi9od-SmfZ-hSRGPd{padding:2px;border-bottom-width:0}.VIpgJd-ZVi9od-xl07Ob-lTBxed{text-decoration:none;color:#00C;white-space:nowrap;margin-left:4px;margin-right:4px}.VIpgJd-ZVi9od-xl07Ob-lTBxed span{text-decoration:underline}.VIpgJd-ZVi9od-xl07Ob-lTBxed img{margin-left:2px;margin-right:2px}.goog-te-gadget-simple .VIpgJd-ZVi9od-xl07Ob-lTBxed{color:#000}.goog-te-gadget-simple .VIpgJd-ZVi9od-xl07Ob-lTBxed span{text-decoration:none}.VIpgJd-ZVi9od-xl07Ob{background-color:#FFF;text-decoration:none;border:2px solid #C3D9FF;overflow-y:scroll;overflow-x:hidden;position:absolute;left:0;top:0}.VIpgJd-ZVi9od-xl07Ob-ibnC6b{padding:3px;text-decoration:none}.VIpgJd-ZVi9od-xl07Ob-ibnC6b,.VIpgJd-ZVi9od-xl07Ob-ibnC6b:link{color:#00C;background:#FFF}.VIpgJd-ZVi9od-xl07Ob-ibnC6b:visited{color:#551A8B}.VIpgJd-ZVi9od-xl07Ob-ibnC6b:hover{background:#C3D9FF}.VIpgJd-ZVi9od-xl07Ob-ibnC6b:active{color:#00C}.VIpgJd-ZVi9od-vH1Gmf{background-color:#FFF;text-decoration:none;border:1px solid #6B90DA;overflow:hidden;padding:4px}.VIpgJd-ZVi9od-vH1Gmf-KrhPNb{width:16px}.VIpgJd-ZVi9od-vH1Gmf-hgDUwe{margin:6px 0;height:1px;background-color:#aaa;overflow:hidden}.VIpgJd-ZVi9od-vH1Gmf-ibnC6b div,.VIpgJd-ZVi9od-vH1Gmf-ibnC6b-gk6SMd div{padding:4px}.VIpgJd-ZVi9od-vH1Gmf-ibnC6b .uDEFge{display:none}.VIpgJd-ZVi9od-vH1Gmf-ibnC6b-gk6SMd .uDEFge{display:auto}.VIpgJd-ZVi9od-vH1Gmf-ibnC6b-gk6SMd .fmcmS{padding-left:4px;padding-right:4px}.VIpgJd-ZVi9od-vH1Gmf-ibnC6b,.VIpgJd-ZVi9od-vH1Gmf-ibnC6b-gk6SMd{text-decoration:none}.VIpgJd-ZVi9od-vH1Gmf-ibnC6b div,.VIpgJd-ZVi9od-vH1Gmf-ibnC6b:link div,.VIpgJd-ZVi9od-vH1Gmf-ibnC6b:visited div,.VIpgJd-ZVi9od-vH1Gmf-ibnC6b:active div{color:#00C;background:#FFF}.VIpgJd-ZVi9od-vH1Gmf-ibnC6b:hover div{color:#FFF;background:#36C}.VIpgJd-ZVi9od-vH1Gmf-ibnC6b-gk6SMd div,.VIpgJd-ZVi9od-vH1Gmf-ibnC6b-gk6SMd:link div,.VIpgJd-ZVi9od-vH1Gmf-ibnC6b-gk6SMd:visited div,.VIpgJd-ZVi9od-vH1Gmf-ibnC6b-gk6SMd:hover div,.VIpgJd-ZVi9od-vH1Gmf-ibnC6b-gk6SMd:active div{color:#000;font-weight:bold}.VIpgJd-ZVi9od-l9xktf{background-color:#FFF;overflow:hidden;padding:8px;border:none;border-radius:10px}.VIpgJd-ZVi9od-l9xktf-OEVmcd{background-color:#FFF;border:1px solid #6B90DA;box-shadow:0 3px 8px 2px #999;border-radius:8px}.VIpgJd-ZVi9od-l9xktf img{border:none}.VIpgJd-ZVi9od-l9xktf-fmcmS{margin-top:6px}.VIpgJd-ZVi9od-l9xktf-VgwJlc{margin-top:6px;white-space:nowrap}.VIpgJd-ZVi9od-l9xktf-VgwJlc *{vertical-align:middle}.VIpgJd-ZVi9od-l9xktf-VgwJlc .DUGJie{background-image:url(https://www&google.com/images/zippy_minus_sm.gif)}.VIpgJd-ZVi9od-l9xktf-VgwJlc .TdyTDe{background-image:url(https://www&google.com/images/zippy_plus_sm.gif)}.VIpgJd-ZVi9od-l9xktf-VgwJlc span{color:#00C;text-decoration:underline;cursor:pointer;margin:0 4px}.VIpgJd-ZVi9od-l9xktf-I9GLp{margin:6px 0 0}.VIpgJd-ZVi9od-l9xktf-I9GLp form{margin:0}.VIpgJd-ZVi9od-l9xktf-I9GLp form textarea{margin-bottom:4px;width:100%}.VIpgJd-ZVi9od-l9xktf-yePe5c{margin:6px 0 4px}.VIpgJd-ZVi9od-aZ2wEe-wOHMyf{z-index:1000;position:fixed;-webkit-transition-delay:.6s;transition-delay:.6s;left:-1000px;top:-1000px}.VIpgJd-ZVi9od-aZ2wEe-wOHMyf-ti6hGc{-webkit-transition-delay:0s;transition-delay:0s;left:-14px;top:-14px}.VIpgJd-ZVi9od-aZ2wEe-OiiCO{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;width:104px;height:104px;border-radius:50px;background:#FFF url(https://www.gstatic.com/images/branding/product/2x/translate_24dp.png) 50% 50% no-repeat;-webkit-transition:all .6s ease-in-out;transition:all .6s ease-in-out;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}.VIpgJd-ZVi9od-aZ2wEe-OiiCO-ti6hGc{-webkit-transform:scale(.5);transform:scale(.5);opacity:1}.VIpgJd-ZVi9od-aZ2wEe{margin:2px 0 0 2px;-webkit-animation:spinner-rotator 1.4s linear infinite;animation:spinner-rotator 1.4s linear infinite}@-webkit-keyframes spinner-rotator{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(270deg);transform:rotate(270deg)}}@keyframes spinner-rotator{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(270deg);transform:rotate(270deg)}}.VIpgJd-ZVi9od-aZ2wEe-Jt5cK{stroke-dasharray:187;stroke-dashoffset:0;stroke:#4285F4;-webkit-transform-origin:center;transform-origin:center;-webkit-animation:spinner-dash 1.4s ease-in-out infinite;animation:spinner-dash 1.4s ease-in-out infinite}@-webkit-keyframes spinner-dash{0%{stroke-dashoffset:187}50%{stroke-dashoffset:46.75;-webkit-transform:rotate(135deg);transform:rotate(135deg)}100%{stroke-dashoffset:187;-webkit-transform:rotate(450deg);transform:rotate(450deg)}}@keyframes spinner-dash{0%{stroke-dashoffset:187}50%{stroke-dashoffset:46.75;-webkit-transform:rotate(135deg);transform:rotate(135deg)}100%{stroke-dashoffset:187;-webkit-transform:rotate(450deg);transform:rotate(450deg)}}.VIpgJd-yAWNEb-L7lbkb html,.VIpgJd-yAWNEb-L7lbkb body,.VIpgJd-yAWNEb-L7lbkb div,.VIpgJd-yAWNEb-L7lbkb span,.VIpgJd-yAWNEb-L7lbkb iframe,.VIpgJd-yAWNEb-L7lbkb h1,.VIpgJd-yAWNEb-L7lbkb h2,.VIpgJd-yAWNEb-L7lbkb h3,.VIpgJd-yAWNEb-L7lbkb h4,.VIpgJd-yAWNEb-L7lbkb h5,.VIpgJd-yAWNEb-L7lbkb h6,.VIpgJd-yAWNEb-L7lbkb p,.VIpgJd-yAWNEb-L7lbkb a,.VIpgJd-yAWNEb-L7lbkb img,.VIpgJd-yAWNEb-L7lbkb ol,.VIpgJd-yAWNEb-L7lbkb ul,.VIpgJd-yAWNEb-L7lbkb li,.VIpgJd-yAWNEb-L7lbkb table,.VIpgJd-yAWNEb-

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: darbin behnam wood

79484721

Date: 2025-03-04 19:55:13
Score: 0.5
Natty:
Report link

This is caused by the TailwindCSS linter misinterpreting your mixin as a call to the Tailwind theme() function. If you are using VS Code, this issue shows how you can disable the error by modifying your settings:

{
  "tailwindCSS.lint.invalidConfigPath": "ignore"
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Luke Caswell Samuel

79484719

Date: 2025-03-04 19:54:13
Score: 1.5
Natty:
Report link

Make sure all objects start at the top of the section and have the same heights.

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

79484714

Date: 2025-03-04 19:51:12
Score: 3.5
Natty:
Report link

Here are some links to documentation for using the Acumatica API:

Configuring the REST API

Sign In to the Service

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

79484710

Date: 2025-03-04 19:50:11
Score: 6 🚩
Natty: 5.5
Report link

Did you guys find a solution for the scrolling behavior similar to Instagram?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: E Coutret

79484694

Date: 2025-03-04 19:41:09
Score: 3
Natty:
Report link

O erro é exatamente devido as repostas anteriores, você precisa especificar o service antes de fazer a chamada do método. Seja no controller:

    @Get('list')     
    async getAll(): Promise<CreateUserDto[]> {
        return this.service.getAll();
    }

//Observe que antes do método getAll(), estou especificando a instancia do service que é cujo o método pertence.

ou no próprio service ao chamar outro método externo:

 public getAll = async ():Promise<CreateUserDto[]> => {
        return this.repository.getAll();
    }
Reasons:
  • Blacklisted phrase (3): você
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jefferson Felipe

79484693

Date: 2025-03-04 19:41:09
Score: 1
Natty:
Report link

I think this is by design.

Security-related configuration settings generally lock themselves for safety reasons. For example, while we can disable Community Extensions using the SET allow_community_extensions = false, we cannot re-enable them again after the fact without restarting the database. Trying to do so will result in an error:

https://duckdb.org/docs/stable/operations_manual/securing_duckdb/overview#locking-configurations

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

79484692

Date: 2025-03-04 19:41:09
Score: 2
Natty:
Report link

Ok so I was experimenting around and found out that if you for example write:

cd("dir:/foldername")

Julia doesn't accept this and tells you that '/foldername' is an invalid escape sequence.

So in order to solve this just use '\\' instead of '/'

cd("dir:\\foldername")

And now if you check pwd() it will tell you that your current working directory is "dir:\\foldername"

So as a beginner it might be a little confusing but it's easy.

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

79484682

Date: 2025-03-04 19:36:08
Score: 1.5
Natty:
Report link

If you use https://bndtools.jfrog.io/bndtools/update-latest in Eclipse >> Help >> Install new software >> Work with.

Be sure to uncheck 'Only show the latest versions of software available'

Available Software with 'Only show the latest versions of software available' unchecked

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

79484677

Date: 2025-03-04 19:35:08
Score: 1.5
Natty:
Report link

Just remove

  1. "user_data_dir = os.path.expanduser("~\AppData\Local\Google\Chrome\User Data").replace("\","/")
  2. chrome_options.add_argument(f"--user-data-dir={user_data_dir}")"
  3. service = Service(executable_path="chromedriver.exe")

Those are not needed for the latest Selenium and keep everything to the basic defaults

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

79484675

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

I will write it here as well, hoping that it will see more people.

I tried everything but nothing helped. And you know what helped? CLEARING COOKIES!!! Just delete csrf_token from your cookies in the browser. That's it.

Hope it will save a couple of hours for you)

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Globus

79484664

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

I tried a few things like install/reinstalling python extensions but the only thing that actually worked for me was to delete the app completely and cleanup https://code.visualstudio.com/docs/setup/uninstall#_clean-uninstall and then do a re-install.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Brian Bolt

79484661

Date: 2025-03-04 19:26:05
Score: 8 🚩
Natty: 6
Report link

I'm having the same issue when deploying an Azure Document Intelligence resource using Terraform. If I create it manually within the Azure Portal, it shows up with the proper endpoint URL (https://.cognitiveservices.azure.com"), instead it's showing https://.api.cognitive.microsoft.com

Does anyone know how to resolve this when deploying via Terraform?

Reasons:
  • RegEx Blacklisted phrase (2): Does anyone know
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same issue
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: dsman

79484656

Date: 2025-03-04 19:22:04
Score: 3.5
Natty:
Report link

The problem was the micronaut-security-csrf enabled by default on DELETE requests.

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

79484654

Date: 2025-03-04 19:20:03
Score: 5
Natty: 3
Report link

and i dont have admin rights on my pc now what do i do my laptop locked 2 hours and it removed the admin rights am fucked up now

Reasons:
  • Blacklisted phrase (2): fuck
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: sven svensoon

79484652

Date: 2025-03-04 19:20:02
Score: 7 🚩
Natty: 5.5
Report link

I am trying to do the same thing and i want to know if you successfully deployed it on cpanel.

Reasons:
  • Blacklisted phrase (1): i want to know
  • Blacklisted phrase (1): I am trying to
  • Blacklisted phrase (1): trying to do the same
  • RegEx Blacklisted phrase (1): i want
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Michael Solomon

79484634

Date: 2025-03-04 19:10:00
Score: 1.5
Natty:
Report link

setting => editor.stablePeek

check the box :)

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

79484611

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

I tried everything but nothing helped. And you know what helped? CLEAR COOKIES!!! Just delete csrf_token from your cookies in the browser. That's it.

Hope it will save a couple of hours)

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Globus

79484608

Date: 2025-03-04 18:54:56
Score: 1.5
Natty:
Report link

If the line itself is bigger than available memory, you may use ReadBlock(Char[], Int32, Int32).

But if your data is of that magnitude, you will be very careful about out of memory errors.

Consider compiling your program in the x64 architecture, so your program can use more memories.

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

79484607

Date: 2025-03-04 18:53:56
Score: 2
Natty:
Report link

If you are not particularly interested in the why or how or even having possibly superfluous elements, the flake in this project helped me successfully dx serve the example app.

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

79484606

Date: 2025-03-04 18:53:56
Score: 0.5
Natty:
Report link

System: MacOS 15.3.1

In my case it was a very stupid mistake, I guess if you don't pass the path the os doesn't try to read the file

Failed:

test.py

Worked

./test.py
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Pall Arpad

79484599

Date: 2025-03-04 18:50:55
Score: 2
Natty:
Report link

Remove the ChromeDriverManager code bit as this is not required for the latest Selenium and remove options.add_argument("--user-data-dir=/tmp/selenium-user-data").

Run it in incognito mode and see if that works.

You need to keep everything basic and at its default.

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

79484597

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

I can't say anything specifically about ECMAScript, but there is a Python wrapper around Google's re2 library. https://pypi.org/project/google-re2/

There are a few "gotchas" on the pip page, but for the most part you can just "import re2 as re" and replace the re package. It is much faster for certain expressions. I went from matches taking so long they had to be cancelled to half a second.

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

79484596

Date: 2025-03-04 18:49:55
Score: 2
Natty:
Report link

Shift + mouse wheel press worked for me (I have a pretty old MINGW32 version -- rxvt --help says it is 2.7.2).

Reference: https://mingw-users.narkive.com/et4tDCOd/copy-paste-on-mingw-msys

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

79484585

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

I found a solution, here:

To disable multi-factor authentication:

  1. Go to Azure Active Directory Properties page (https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/Properties).
  2. On the bottom of the page, choose Manage Security defaults, and in the Enable Security defaults pane, set Enable Security defaults toggle to No.

enter image description here

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

79484584

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

Simply GO HERE

https://nodejs.org/en/download

and it is totally spelled out and automated.

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

79484581

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

If your simulation does not need to model any of the higher-layer functionality of DSRC (like channel hopping and service advertisements), you should be okay with using the INET Framework's 802.11 model in 802.11p mode. See the Veins_INET subproject - e.g., at https://github.com/sommer/veins/blob/veins-5.2/subprojects/veins_inet/examples/veins_inet/omnetpp.ini#L14 - for how to do that.

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

79484570

Date: 2025-03-04 18:33:52
Score: 1.5
Natty:
Report link

I found the issue. There was a history table that tracked changes to the table I was inserting into and had replicated the fields from the main table, with trigger that inserted all of the data from the main table row whenever a row is created, changed, or deleted. I had updated the character limit in the main table but not the history table, and so the triggered query to the history table was what was failing. I was able to update the history table to match the updated fields in the main table and the query went through successfully.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: B. Allred

79484563

Date: 2025-03-04 18:30:51
Score: 0.5
Natty:
Report link

The only way I found of disabling sounds caused by native Windows dialogs (for example, when deleting a file) is to switch to VSCode's built in dialogs, which are always silent.

Add this to user preferences JSON:

"window.dialogStyle": "custom"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Tikolu

79484560

Date: 2025-03-04 18:30:50
Score: 5
Natty: 4.5
Report link

Any updates on this issue? I would also like to know if we can disable or better yet, edit the "final status" response message.

Reasons:
  • Blacklisted phrase (1): Any updates on
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Shawn

79484554

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

It is possible via the console if you move the assets into a new bucket & delete the old one.

How to:

  1. Create your new S3 bucket
  2. Go to old S3 bucket & select all objects
  3. Under actions there is a move (or copy) option
  4. Move them
  5. Delete the old bucket

enter image description here

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