79634113

Date: 2025-05-22 15:58:07
Score: 1
Natty:
Report link

For {httr2} you may also need to set ssl_verifyhost, hence

library(httr2)
req <- request("https://example.com") |>
  req_options(ssl_verifypeer = 0) |>
  req_options(ssl_verifyhost = 0)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: monomeric

79634111

Date: 2025-05-22 15:56:06
Score: 0.5
Natty:
Report link

The Viewer Response event doesn't get triggered on > 4xx response codes. And WAF will return the default block response to the client if neither WAF nor the protected resource (CloudFront in this case) is configured with a custom response. So I don't this is going to work as you're expecting.

Your best bet - if you need it to be dynamic - is probably to configure CloudFront with a custom reponse for a 403 status code, create a behaviour (with caching disabled) for that path then connect your function to the Origin Request event for that behaviour. And you'll need to tweak the function to always return the dynamic 403 response because it won't have an origin response to work with.

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

79634109

Date: 2025-05-22 15:55:05
Score: 3
Natty:
Report link

More then 20 languages besides English, along with multilingual mode. You can find whole list the bot’s configuration page

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

79634106

Date: 2025-05-22 15:52:04
Score: 3
Natty:
Report link

This does not work when you make a bootstrap validation, the hidden and disabled is considered OK, by the placeholder

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

79634104

Date: 2025-05-22 15:50:03
Score: 3
Natty:
Report link

I believe the purpose is to allow default arguments which just happens to be the following section of the docs you linked.

https://docs.groovy-lang.org/latest/html/documentation/#_default_arguments

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

79634095

Date: 2025-05-22 15:47:02
Score: 3
Natty:
Report link

I have been struggling with the same linkage issue while trying to use QCustomPlot, and the following setup in my CMakeLists.txt helped resolve it:

find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Widgets PrintSupport)
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Widgets PrintSupport)

...

target_link_libraries(QCustomPlot_temp PRIVATE
    Qt${QT_VERSION_MAJOR}::Widgets
    Qt${QT_VERSION_MAJOR}::PrintSupport
)

Using Qt${QT_VERSION_MAJOR} ensures compatibility with both Qt5 and Qt6, and properly links the required modules. Hope this helps someone else facing the same issue!

And this links also helps:

https://doc.qt.io/qt-6/qtprintsupport-index.html

Reasons:
  • Blacklisted phrase (1): this link
  • Whitelisted phrase (-1): Hope this helps
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): facing the same issue
  • Low reputation (0.5):
Posted by: sam

79634093

Date: 2025-05-22 15:44:01
Score: 3
Natty:
Report link

Well, I faced the same problem when I tried to migrate an MS SQL DB based project to Postgres running in a Docker Container. Whatever I tried, nothing seemed to work until finally I removed all projects from the solution except the StartUp Application (the main project). Even if this could not compile, now adding Docker via Docker compose worked right out of the hat. And then re-adding the formerly removed projects/modules worked like a charm. This is definitely worth a try.

Reasons:
  • Blacklisted phrase (1): worked like a charm
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: AlexM

79634092

Date: 2025-05-22 15:40:59
Score: 2
Natty:
Report link

var timeZone = TzdbDateTimeZoneSource.Default.ZoneLocations!.FirstOrDefault(x => x.CountryCode == CultureInfo.CurrentCulture.Name[^2..]); if (timeZone is not null) { var timeZoneInfo = TimeZoneInfo.FindSystemTimeZoneById(timeZone.ZoneId); foreach (var order in orders) { order.OrderDate = TimeZoneInfo.ConvertTimeFromUtc(order.OrderDate.DateTime, timeZoneInfo); } }


https://otcmarketsgroup.cmail19.com/t/i-l-fhduttl-iydyuiltth-j/

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

79634089

Date: 2025-05-22 15:39:59
Score: 0.5
Natty:
Report link

As https://trino.io/docs/current/client.html calls out, there is not an officially supported REST API to execute queries against. Of course, this is interesting as the official clients (like ODBC, JDBC, Python, etc) in fact use the "underlying" REST API to do that very thing. Some insight to what's happening, including with the new spooling protocol, can be found at https://www.starburst.io/blog/trino-spooling-protocol/.

Commercial vendor Starburst (disclaimer: I'm a dev advocate there) does has REST APIs for the management of the cluster itself as detailed at https://galaxy.starburst.io/public-api, https://docs.starburst.io/starburst-galaxy/developer-tools/api/, and https://docs.starburst.io/latest/api/index.html.

If you really want to work directly against the REST API to execute your queries, https://trino.io/docs/current/develop/client-protocol.html is the most definitive documentation. Couple that with the Trino spooling protocol blog post I put in the first paragraph to try to build the mental picture of what's happening.

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

79634084

Date: 2025-05-22 15:37:58
Score: 3
Natty:
Report link

This doesn't move it but you can hold ctrl while it's being displayed and it will make it transparent so you can better see what's underneath.

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

79634082

Date: 2025-05-22 15:37:58
Score: 1.5
Natty:
Report link

I recently had the same problem and figured out how you can get the same result with a different approach. You need to move the column footer elements into the Summary band on the report.

enter image description here

The problem would seem that this will come after the page numbers (or whatever else you have in the page footer). Fortunately, this isn't the case so long as you uncheck the Summary on New Page option. This is found in the root report element.

enter image description here

This will have the summary put only on the last page, right at the end of the data.

enter image description here

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Curtis Snowden

79634081

Date: 2025-05-22 15:36:57
Score: 2.5
Natty:
Report link

Hello i have same situation and i have been trying to find problem all day but i cant find. My macOS version is 15.3.1

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

79634066

Date: 2025-05-22 15:23:53
Score: 3
Natty:
Report link

If you look at the hosting bundle download page it states which aspnetcorev2.dll corresponds to which hosting bundle : https://dotnet.microsoft.com/en-us/download/dotnet/9.0

Your example looks like v9.0.4:
enter image description here

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

79634062

Date: 2025-05-22 15:21:52
Score: 1.5
Natty:
Report link

install bootstrap icons : npm install bootstrap-icons add in angular.json file :

"node_modules/bootstrap-icons/font/bootstrap-icons.css",
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Omar

79634060

Date: 2025-05-22 15:21:52
Score: 1
Natty:
Report link

I just had a similar problem. It used to work on my system, and then it stopped working.

A complete reinstall of WSL is a drastic step. As a first trouble shooting step, I would suggest you start a bash shell independently of visual studio. In my case, I had (foolishly) put something in my .profile which was prompting for su password at login.

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

79634057

Date: 2025-05-22 15:19:51
Score: 3
Natty:
Report link

Using https://jakearchibald.github.io/svgomg/ you can simplify the SVG and then it's work like a charm! But I don't know the real specifications to fix it when export from illustrator

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

79634053

Date: 2025-05-22 15:18:51
Score: 1
Natty:
Report link

The general conclusion is that using java.lang.Class in this way is a code smell; you should be using a factory instead. Class is a very bad class (heh) to attempt to understand generics with. So let's explain all this by using a different example. It is important to keep in mind that the compiler does not know what a List is. It's just.. a class. With a type variable. So is java.lang.Class. Hence, the compiler treats them the same way. It is not going to reason differently about the generics based on knowledge that Class is a bit bizarre ^1.

For our example, we'll use java.util.List, and for the things this list stores, we need a dimensional axis of types, so we'll use java.lang.Object, which is the supertype of java.lang.Number, which is the supertype of java.lang.Integer and java.lang.Double. For the purposes of this example we'll state that no other numbers exist in the core libraries at this point. Note that Number is not final.

Why are generics invariant by default?

Let's start simple:

List<? extends Number>

How do you read that out loud?

I often hear those newer to java, or even experts, read that out loud as "A List of things that extend Number" and that is wrong. That is not what that says. After all, java is covariant (at least, outside of generics it is), so when I write Number n; in java, that means 'n' is a reference that references Number or anything that is an instance of a subtype of Number. In fact, Number is abstract. If the explanation about the difference between the 2 kinds of 'list of numbers' is:

// Note, this is wrong! Used as an illustration!
List<? extends Number> - a List of instances of Number or subtypes of Number.
List<Number> - a List of instances of specifically Number, not subtypes

Then that'd be ridiculous. The second list cannot possibly have any members; class Number is abstract! new Number() is a compiler error. By definition, every instance of Number is actually an instance of a subtype of it.

So, that's the wrong interpretation. What's right? Well, the question mark gives it away. The correct interpretation is I do not know. That's how you read that. You read that as: "A List of... I do not know! - all I know is, whatever this list's elements are, they are constrained to be instances of some unknown type (meaning: They are all an instance of that type or a subtype of that type), and I know that, whatever the type is that forms this upper bound, it's either Number, or some subtype of it".

That's a lot of words. An easier way to think about it is this:

It is any of these 3 things; any of these are fine and are all of type List<? extends Number>:

So, which one is it? You do not know! - and the compiler knows you don't know. The compiler will force you into interacting with this expression only in ways that are guaranteed to be make sense regardless of which of those 3 it is.

Take, for example, add. What can you add to a list where you don't know which of the above 3 constructors made that list?

How about Number n = 5 /* an integer */; list.add(n);?

No, the compiler will not allow this. After all, that is invalid if the list is a List<Double>. After all, that would shove an integer into a list that says it cannot contain integers. A violation.

In fact, nothing is the answer. There's nothing you can add to a List<? extends Number>. Except the null literal which happens to be every type at once, but list.add(null); is generally quite the useless statement.

This is why generics are invariant. Because the basic rules of logic dictate it. It's a law of the universe, essentially.

PECS

j.l.Class is a bit of an oddball. If we look at the methods available to List, we see loads of places where the type parameter is used as type of a method parameter. add(T elem), obviously. There's also addAll(Collection<? extends T> elems), and also .sort(Comparator<? super T> comparator). And many more.

But j.l.Class isn't like that. None of the methods available on j.l.Class take the type param as parameter. A few employ the type param as return type, though.

This is where 'PECS' comes in: Producing Extends, Consuming Super.

To explain that, we go back to lists's addAll. Why is its argument Collection<? extends T> and not just Collection<T>? Because, well, think about it. a Collection<? extends Number> can be Collection<Number>, Collection<Integer>, or Collection<Double>. However, copying all elements of any of those 3 into a List<Number> is totally fine. Nothing is broken. Hence why it is written that way: If it wasn't, you couldn't call list.addAll(someListOfIntegers) if list is List<Number> and that's incorrect/inconvenient; That call should work. And indeed it does. The key clue here is that the addAll method only requires that the incoming parameter 'produces' (returns) the typeparameter (for example, list.get(0) would 'produce'). It does not at any time have to 'consume' it (for example, list.add(elem) 'consumes' a type parameter). Hence PECS: Only producing? Then use extends.

To explain CS, we look at sort. Sort only consumes! We ask that comparator only to consume our type param. The only method we are going to call on it is int whichOneIsHigher(T elem1, T elem2) - we are not asking this comparator to produce values of type T, it'll only tell us 'higher / lower / the same'. Hence, if we have a comparator that can compare any 2 objects, we can use it to sort a list of numbers. However, if we have a comparator that can only compare Integer instances, and we have a List<Number>, we can't sort our list. After all, what if our list contains a few Double instances? Our comparator has no idea how to handle them, so, that's a type error. Hence, a Comparator<Number> can work, a Comparator<Object> can also work. We only ask the object we call to 'consume', so, CS: Only consume? Use super.

java.lang.Class is an oddball in that its entire API consists solely of production. None of its methods consume. Hence, it is hard to explain in obvious terms what the difference is between the type Class<? extends Something> and Class<Something>. Nevertheless, the compiler does not know that and will not treat these types as equal.

Why your code does not work

Handler<? extends Something> handler = new Handler<>();

handler = new Handler<Something>(); // will not compile

Read these things out loud correctly and it should be obvious. You've claimed that your field handler has the type of: "A Handler instance that handles.. I do not know. All I know is, it is a handler of either Something, or some subtype of Something.".

Given that you do not know, handler = new Handler<Something>() is not valid. After all, what if other code thinks it's a handler of Shoes? It might ask the handler to produce a Shoe. And given that you've made a handler of Something, it could produce a Shawl and the code that thought this handler could only ever produce shoes is now broken. That's a type violation and the compiler therefore will not let you.

How do you fix it? Depends; you haven't provided enough information to know what's right. Possibly it's this:

public class Handler<S extends Something> {
    
    void registerHandler(Class<? extends S> someClass) {
        // do something    
    }
}

--And--

Handler<Something> handler = new Handler<>();

    void doStuff() {
        handler.registerHandler(Shoe.class);
    }

NB: Class considered harmful

It's extremely rare you want a Class<T> as a field at all. Almost always the intent is to call newInstance. This doesn't work, because it is not possible to capture the notion of 'has a no-args, public constructor' in the type system. I am free to make a class that doesn't have one of those constructors and you won't know the code is broken until you run it. The point of the type system is to tell you your code is broken before you run it. i.e. as you write it.

The solution is factories. This is the general solution to the concept of 'A type itself has various properties I would ordinarily capture in an interface'. One common property is 'You can make instances of this type by passing these parameters to it'. It's so common, these things that capture 'things the type itself can do' are called 'factories'. But the principle is more abstract than that.

This is an example of broken design that's somewhat common:

class Animal {
  abstract String noise();
}

class Dog {
  @Override String noise() {
    return "BARK!";
  }
}

This is broken because the notion 'dogs bark' is inherent to the type and not to any particular dog. In other words, this method has no business being an instance method. Why can I only call 'noise' on an actual dog? If I ask you 'what noise does a dog make?', you tell me 'a bark'. You don't tell me: "Well, I do not know. Which specific dg are you talking about? Fido, or rover?".

Whereas if I ask you: "What is the name of a dog?", you cannot answer this question. That is only answerable if I bring you or otherwise point at a specific dog. What is the name of that dog?", then you can answer.

The better design is this:

abstract class PetAnimal {
  private final String name;

  public PetAnimal(String name) {
    this.name = name;
  }

  public String getName() {
    return this.name;
  }
}

abstract class AnimalFactory<A extends Animal> {
  abstract A create(String name);
  abstract String noise();
}

class Dog extends PetAnimal {
  public Dog(String name) {
    super(name);
  }
}

class DogFactory extends AnimalFactory<Dog> {
  public static final INSTANCE = new DogFactory();
  private DogFactory() { /* prevent instantiation */ }

  @Override public Dog create(String name) {
    return new Dog(name);
  }

  @Override public String noise() {
    return "BARK!";
  }
}

We now have the type safety we wanted: There is no way this code can fail without the compiler being aware of it (i.e. knowing at write time) due to a constructor with the wrong parameters. And I can ask the question "What noise do dogs make?" without needing a dog. (I would need the factory though, but that's trivial; DogFactory.INSTANCE).


[1] To make 'bizarre' a bit more specific: That Class essentially only ever 'produces' and thus, as per PECS, there is no meaningful difference to you and me with full knowledge of this between Class<Something> and Class<? extends Something>.

Reasons:
  • Blacklisted phrase (1): How do you
  • Whitelisted phrase (-1): solution is
  • RegEx Blacklisted phrase (1.5): fix it?
  • RegEx Blacklisted phrase (2.5): do you fix it
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-2):
Posted by: rzwitserloot

79634052

Date: 2025-05-22 15:17:50
Score: 1
Natty:
Report link

Yes, you can do in one-liners.

Snippet:

for i, row in df.iterrows():
    date, n_apple, n_cherry, n_banana = row[['date', 'apple', 'cherry', 'banana']]
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Adios Gringo

79634044

Date: 2025-05-22 15:15:49
Score: 0.5
Natty:
Report link

I had a similar issue with Digital Ocean droplet while using Python project, it was Out Of Memory error, this thread helped me: https://www.digitalocean.com/community/questions/python-script-gets-killed

The main advice is to check the system logs

nano /var/log/syslog

and if it's OOM error, you need to either use the swap memory and follow the previous answer.

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

79634042

Date: 2025-05-22 15:14:49
Score: 0.5
Natty:
Report link

Recent builds can be accessed via the Docker Desktop dashboard GUI. They're also available on the command line via:

docker buildx history logs

https://docs.docker.com/reference/cli/docker/buildx/history/

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

79634041

Date: 2025-05-22 15:14:49
Score: 3
Natty:
Report link

With Sactum authentication on the Laravel API and a react js frontend app making requests using axios, i had a similar struggle. It was working well then after several changes it stopped and i started getting the error "CSRF Token Mismatch". Possibly as a result of updates, am not sure. My problem was solved by adding this line right after the imports on the component "axios.defaults.withXSRFToken = true;". Now works like a cham.

Reasons:
  • Blacklisted phrase (1): thX
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mike

79634038

Date: 2025-05-22 15:13:48
Score: 1
Natty:
Report link

It is not a constraint, it is uniq index:

ALTER TABLE my_table 
ADD UNIQUE KEY key1 (LAST_NAME, COURSE) USING BTREE;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sergey Soltanov

79634035

Date: 2025-05-22 15:11:47
Score: 1
Natty:
Report link

For Storybook 8+ it only works if I put the following in manager-head.html

<link rel="icon" type="image/x-icon" href="favicon.ico" />

The documentation says to place the icon in: .../prj-name/.storybook/static/favicon.ico However, it only worked if I put the image in the root of the project

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

79634031

Date: 2025-05-22 15:11:47
Score: 0.5
Natty:
Report link

Maybe define a toString method that returns the email property to the EmailData class?

@Override
public String toString() {
    return this.email;
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: Mr. Polywhirl

79634017

Date: 2025-05-22 15:00:42
Score: 7.5 🚩
Natty: 5.5
Report link

I tried the first 3 answers. The API still can't start. My VS version is enter image description here. Any ideas? Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): Any ideas
  • Blacklisted phrase (1): enter image description here
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Zhen Overberg

79634012

Date: 2025-05-22 14:57:41
Score: 2.5
Natty:
Report link

As of now (May 2025) UXP Developer Tools are not available for Illustrator.

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

79634010

Date: 2025-05-22 14:56:40
Score: 1
Natty:
Report link

/storage/emulated/0/.sketchware/mysc/601/app/src/main/res/layout/main.xml:22: error: attribute angle (aka com.night.club:angle) not found.
/storage/emulated/0/.sketchware/mysc/601/app/src/main/res/layout/main.xml:22: error: attribute colors (aka com.night.club:colors) not found.
/storage/emulated/0/.sketchware/mysc/601/app/src/main/res/layout/main.xml:22: error: attribute maxFPS (aka com.night.club:maxFPS) not found.
/storage/emulated/0/.sketchware/mysc/601/app/src/main/res/layout/main.xml:22: error: attribute simultaneousColors (aka com.night.club:simultaneousColors) not found.
/storage/emulated/0/.sketchware/mysc/601/app/src/main/res/layout/main.xml:22: error: attribute speed (aka com.night.club:speed) not found.
error: failed linking file resources.

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

79634008

Date: 2025-05-22 14:55:40
Score: 1
Natty:
Report link

Contrast looks for recognized industry standard patterns , it doesn't just check whether you're doing CSRF validation. DWR's structure makes CSRF protection non-standard. if your app does not use a specific header(like x-csrf-token) , or if it (your app) sends the token as parameter , or if it validates the token incorrectly or too late (in the request lifecycle), so contrast will likely flag it .

so here is what you can do :
1- you can store csrf token in session, embed it in the page (in a js variable) , then send it via every ajax/dwr request .
contrast expects this kind of setup(it matches secure framework like spring).

i dont how to implement it in java . but u can do like this :
1- generate token in server side , send it to client (like in login as a variable) , then in fronted store it in a js variable.
2-Add the token as a custom header(like x-csrf-token) in DWR (before request sent).
3-Now in server side validate it .

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

79634007

Date: 2025-05-22 14:55:40
Score: 3
Natty:
Report link
 let js_code: String = format!(r#"
        document.open();
        document.write(`{}`);
        document.close();
    "#,safe_html);   
    tab.evaluate(&js_code, true)?;  

具体细节:

    //转义html
    fn escape_js_template(html: &str) -> String {
        html.replace('\\', r"\\")  // 转义反斜杠
            .replace('`', r"\`")   // 转义反引号
            .replace('$', r"\$")  // 防止 `${}` 误解析
    }

    let html = r#"<doctype html>
    <html>
    <head><title>标题</title></head>
    <body>主体
    `ffffff`
    <a href="http://www.baidu.com">百度</a>
    </body>
    </html>"#;
    let safe_html = escape_js_template(html);
    let js_code: String = format!(r#"
    document.open();
    document.write(`{}`);
    document.close();
"#,safe_html);
   
    tab.evaluate(&js_code, true)?;  
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • No latin characters (3):
  • Low reputation (1):
Posted by: 唐子洋

79634006

Date: 2025-05-22 14:55:40
Score: 3.5
Natty:
Report link

When the caller isn't the organizer, use Events: update with proper authorization and exclude the resource from the attendees list.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When the
  • Low reputation (1):
Posted by: Pelorus Technologies

79634004

Date: 2025-05-22 14:54:39
Score: 1
Natty:
Report link

According to an Oracle JDBC developer, the problem stems from parsing the Spring JDBC INSERT statement.

https://github.com/spring-projects/spring-framework/blob/612dc573d12d04d8d88ea101f90bc1df9f3e343c/spring-jdbc/src/main/java/org/springframework/jdbc/core/StatementCreatorUtils.java#L274

Spring JDBC calls getParameterMetadata() when setting a parameter to null.
Setting the following property to “true”, prevents Spring from using the ParameterMetadata API:

spring.jdbc.getParameterType.ignore=true

This property can be set either in spring.properties or as a System property.

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

79634003

Date: 2025-05-22 14:53:39
Score: 2.5
Natty:
Report link

GottesmanJones is a renowned landscape architecture firm known for its innovative and sustainable design solutions. With a focus on ecological integrity, urban livability, and creative site planning, GottesmanJones transforms outdoor spaces into functional, beautiful environments. From parks and schools to commercial and residential developments, the firm integrates nature with design to foster healthy communities. Their expertise in native planting, stormwater management, and environmental stewardship sets them apart in the industry.

http://gottesmanjones.com/

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

79634000

Date: 2025-05-22 14:53:39
Score: 1.5
Natty:
Report link

Just an advice: Make sure to remove "Contributors" from the Repository Permissions and add it again and apply some rules, just so it gets re-added. That took some time for me to figure it out!

  1. Go to: Settings -> Repositories -> All Repositories -> Security

  2. Remove the group by clicking the tiny trash bin

  3. Add the group again

  4. Set the permissions (allow to contribute and stuff)

  5. Profit!

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

79633992

Date: 2025-05-22 14:49:38
Score: 0.5
Natty:
Report link

If you use eslint flat config file, you can use the "ignores" property in eslint.config.js file.

e.g.)

// eslint.config.mjs
export default [
    {
        ignores: ['src/generated'],
    },
];

https://eslint.org/docs/latest/use/configure/migration-guide#ignoring-files

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: JaeHye0k

79633988

Date: 2025-05-22 14:48:38
Score: 4
Natty:
Report link

this is bot he can do anything bc hes great so yea you better not mess with him


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

79633984

Date: 2025-05-22 14:46:37
Score: 0.5
Natty:
Report link

I have managed to make it work like the following: That might not be the most effective solution but for now I make it work. Thank you so much guys for your hints. It works like I wanted it to.

 def highest_score(self):
        try:
            with open("score.csv", "r") as file:
                data = file.readlines()[0]
                highscore = int(data)
                if self.score > highscore:                
                    with open("score.csv", 'w') as file:
                        file.write(str(self.score))
                    self.text_score.write(f"Game over!\nYour highest score is: {self.score}", align="center", font=("Arial", 20, "normal"))
                else:
                    with open("score.csv", 'w') as file:
                        file.write(str(highscore))
                    self.text_score.write(f"Game over!\nYour highest score is: {highscore}", align="center", font=("Arial", 20, "normal"))
                                 
        except FileNotFoundError:
            with open("score.csv", 'w') as file:
                file.write(str(self.score))
                self.text_score.write(f"Score: {self.score}", align="center", font=("Arial", 20, 'normal'))
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: DAVE LOVE

79633978

Date: 2025-05-22 14:44:36
Score: 1.5
Natty:
Report link

I am running into this too..
With map = { }

It seems to be xxx = {}

thats failing, if you remove that block it will work.. I suspect Freeradius is parsing wrong.

If you remove the rest closing bracket it works.. which makes no sense.. but it does..

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

79633971

Date: 2025-05-22 14:42:36
Score: 2
Natty:
Report link

Solved it, the app is working fine with AsyncStorage.

I had to manually uninstall the app from my phone, and let Expo Go install it again from scratch. An installation should be needed from scratch every time we add a native module (such as AsyncStorage) to the app.

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

79633967

Date: 2025-05-22 14:39:35
Score: 0.5
Natty:
Report link

Everything Rene said is correct, but I'd like to add a few things. In general: the more physics you add to the model, the better things will get in terms of avoiding "unphysical" behavior.

  1. If all parts of the model (Fluid properties in Medium, and state equations) support two-phase, the liquid will start to boil, increase in volume, and in that way avoid the negative pressure. This process can be fast and violent and cause numerical difficulties with low tolerances.

  2. In reality, and good models for cavitation, dissolved gases in the liquid bubble out before boiling in many relevant situations (hydraulic oils). That makes the onset of cavitation less violent, and is a common way of modeling cavitation in hydraulic circuits. Good hydraulics libraries, like the one from Modelon, can (if cavitation is enabled) capture these effects.

  3. In other cases: when you hit 0 pressure, you are always outside the region of validity of the model.

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

79633965

Date: 2025-05-22 14:38:35
Score: 2.5
Natty:
Report link

(Temporarily) disabling GitLens extension when resolving merge conflicts for a lot of files solved it.

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

79633963

Date: 2025-05-22 14:38:35
Score: 2
Natty:
Report link

In Ubuntu, I do Ctrl+b then [ key. It will let you use your normal navigation keys to scroll around. Press q to quit scroll mode. I assume you might need to do the same in Mac as well.

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

79633962

Date: 2025-05-22 14:37:34
Score: 1
Natty:
Report link

It seems I made a typo in the connection string:

scaffold-DbContext 'Server=Servername; Database=pubs;Integrated Security=true;    TustServerCertificate=true' Microsoft.EntityFrameworkCore.SqlServer   

The Northwind sample db I was trying to scaffold was named 'pubs' not pub. For anyone else trying to follow this tutorial, locally, you will need to have the TustServerCertificate attribute set to true for development purposes. The server is often your computer name unless it is named otherwise and If you're using windows authentication you'll need to have the 'Intergrated Security' attribute set to true.

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

79633958

Date: 2025-05-22 14:33:33
Score: 2
Natty:
Report link

The column type appears to be text, try to convert to number to have the proper axis representation.

Edit:

To be sure, next time add usable test data instead of images.

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

79633949

Date: 2025-05-22 14:26:31
Score: 2.5
Natty:
Report link

I haven't worked with MasterCard, but recently i've done this with RedSys and I wasn't using an embedded HTML but a PHP form on my server. I recommend you to go this way.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Pablo Nicolas Oshiro Mondoñedo

79633947

Date: 2025-05-22 14:26:31
Score: 4
Natty:
Report link

I find a useful md file. You can refer to this.

https://gist.github.com/robbie-cao/1b8e786b1dfac3003e23bcc8e7867a6a

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

79633945

Date: 2025-05-22 14:25:30
Score: 1.5
Natty:
Report link

You need WSL's latest version!

Docker needs invoke-rc.d to install correctly, which in turn needs systemd, which in turn needs newer versions of WSL to be present. For me, I just had to update WSL :

wsl --update

Check that systemd is installed correctly inside your WSL distro:

systemctl

Then reinstall docker as usual.

Symptoms of having this problem:

You are seeing this line when installing docker (toward the end of installation a few lines before the end):

invoke-rc.d: could not determine current runlevel

Doing the systemctl command gives you this:

System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down

Docker daemon won't start after doing sudo service docker restart, and trying to run a container or sudo docker info will show:

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: user20085

79633944

Date: 2025-05-22 14:25:30
Score: 2.5
Natty:
Report link

However, all the examples I could find of using the TakePicture activity supply a Uri using the FileProvider API, not the MediaStore API, so I am worried this may be a incorrect or poorly supported approach.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Владимир Визгалин

79633942

Date: 2025-05-22 14:24:30
Score: 4
Natty:
Report link

font-family: inherit; font-weight: 500;

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: Oleh Kuper

79633934

Date: 2025-05-22 14:19:29
Score: 3
Natty:
Report link

While this is an old post, we ran into this issue today. The following from dtSearch has some good pointers: https://support.dtsearch.com/faq/dts0197.htm

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

79633929

Date: 2025-05-22 14:14:27
Score: 2
Natty:
Report link

Easily manage user access with Okta redirection based on attributes. User authentication should be based on a user's role or group after logging in. This ensures a personalized experience, streamlines navigation, and enhances security by guiding users only to the pages they’re authorized to access. Efficient and smart access control!

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

79633917

Date: 2025-05-22 14:07:25
Score: 3
Natty:
Report link

Nvm, I tried many different ways and it came out that we just need a time.sleep(0.5)before(or after i forgot) every textDocument/definition is called. The problem is fixed but the way clangd acted is very weird.

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

79633916

Date: 2025-05-22 14:07:25
Score: 0.5
Natty:
Report link

Thanks to this comment I found out there was indeed this configuration:

            <plugin>
                <groupId>org.sonatype.plugins</groupId>
                <artifactId>nexus-staging-maven-plugin</artifactId>
                <version>1.6.13</version>
                <configuration>
                    <serverId>ossrh</serverId>
                    <nexusUrl>https://oss.sonatype.org/</nexusUrl>
                </configuration>
            </plugin>

but it was located in the parent pom.xml.
Everything works as intended now.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Astor Bizard

79633915

Date: 2025-05-22 14:06:25
Score: 0.5
Natty:
Report link

Where is this part coming from? What guide are you following?

ios: {
  ...
  infoPlist: { ... }
  entitlements: {
    "com.apple.developer.associated-domains": ["applinks:www.motomeet.app"],
  },
}

In the documentation of AppLinking I can see that in order to configure it, you should use associatedDomains like this:

ios: {
  ...
  infoPlist: {...},
  associatedDomains: [`applinks:motomeet.app`]
}

Then you can test your Universal Link even directly from "Notes" app. If you have already hosted the AASA file and your site is reachable, you can just write on notes www.motomeet.app and try to open it.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Where is this
  • Low reputation (0.5):
Posted by: Martinocom

79633907

Date: 2025-05-22 14:01:24
Score: 1
Natty:
Report link

Probably not idiomatic, but possibly easier:

json.obj.get("attributename").map(_.str)
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
Posted by: Jeremy

79633901

Date: 2025-05-22 13:57:23
Score: 3
Natty:
Report link

If you use any JetBrains IDE's, just right click root folder->Local History ->Show history... then right click on the top right option and click Revert...

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

79633890

Date: 2025-05-22 13:49:20
Score: 1.5
Natty:
Report link

As explained in the man page, a "stdin" approach is the way to go :

$ echo "rm TEST_.dat.gpg" | sftp -b - -oPort=22 $FTP_USER@$FTP_SVR

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

79633888

Date: 2025-05-22 13:49:19
Score: 8.5 🚩
Natty: 5.5
Report link

did you found any solution to react-Native voice error

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): did you found any solution to
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (1):
Posted by: A 1421

79633886

Date: 2025-05-22 13:47:19
Score: 1
Natty:
Report link

I am now building the query dynamically from the service based on the parameters. This causes the query to now use indices more often, but not yet in all cases. Here is the EXPLAIN ANALYZE of the new query:

Sort  (cost=19.00..19.00 rows=1 width=443) (actual time=0.037..0.038 rows=0 loops=1)
  Sort Key: ba.external_id
  Sort Method: quicksort  Memory: 25kB
  ->  Hash Right Join  (cost=6.23..18.99 rows=1 width=443) (actual time=0.021..0.022 rows=0 loops=1)
        Hash Cond: (process_cell.external_id = ba.process_cell_external_id)
        ->  Seq Scan on process_cell  (cost=0.00..12.00 rows=200 width=64) (never executed)
        ->  Hash  (cost=6.21..6.21 rows=1 width=411) (actual time=0.015..0.016 rows=0 loops=1)
              Buckets: 1024  Batches: 1  Memory Usage: 8kB
              ->  Index Scan using idx_ba_organization_id_external_id on business_asset ba  (cost=0.42..6.21 rows=1 width=411) (actual time=0.015..0.015 rows=0 loops=1)
                    Index Cond: (organization_id = '4970f599-44ab-4bab-aee4-455b995fd22b'::uuid)
"                    Filter: (((external_id ~~* concat('%', 'FA'::text, '%')) OR (description ~~* concat('%', 'FA'::text, '%')) OR (properties_yaml ~~* concat('%', 'FA'::text, '%'))) AND ((external_id ~~* concat('%', 'FF'::text, '%')) OR (description ~~* concat('%', 'FF'::text, '%')) OR (properties_yaml ~~* concat('%', 'FF'::text, '%'))))"
Planning Time: 1.388 ms
Execution Time: 0.071 ms

One example for the generated query is:

SELECT ba.*, process_cell.owners
        FROM business_asset ba
        LEFT JOIN process_cell
          ON ba.process_cell_external_id = process_cell.external_id
    
WHERE ba.organization_id = :organizationId
  AND (ba.external_id ILIKE CONCAT('%', replace(replace(:searchTerm0, '%', '\%'), '_', '\_'), '%') OR ba.description ILIKE CONCAT('%', replace(replace(:searchTerm0, '%', '\%'), '_', '\_'), '%') OR ba.properties_yaml ILIKE CONCAT('%', replace(replace(:searchTerm0, '%', '\%'), '_', '\_'), '%'))
  AND (ba.external_id ILIKE CONCAT('%', replace(replace(:searchTerm1, '%', '\%'), '_', '\_'), '%') OR ba.description ILIKE CONCAT('%', replace(replace(:searchTerm1, '%', '\%'), '_', '\_'), '%') OR ba.properties_yaml ILIKE CONCAT('%', replace(replace(:searchTerm1, '%', '\%'), '_', '\_'), '%'))
ORDER BY ba.external_id
LIMIT :pageSize OFFSET :offset;

As you can see it now only uses filters if the according parameters are set. Otherwise it now generated the lookups for the keywords instead of looping inside of the query.

From what I can see I still have to optimize the index usage on `process_cell`. I am happy to receive any feedback on my question and the result and what next steps would be useful. Also if I missinterpret something, please hit me up.

Reasons:
  • RegEx Blacklisted phrase (1): I missinterpret something, please
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: maistai

79633883

Date: 2025-05-22 13:44:17
Score: 3.5
Natty:
Report link

The "?dl=1" part in the Dropbox URL causes this bug.

@pradhanhitesh with @janfasnacht provided a conventient solution with a custom function load_model, as long as the bug persists upstream, available on GitHub:

https://github.com/pradhanhitesh/LayoutParser-Install?tab=readme-ov-file#11-downloading-detectron2-via-layout-parser

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @pradhanhitesh
  • User mentioned (0): @janfasnacht
  • Low reputation (1):
Posted by: kappa_t

79633880

Date: 2025-05-22 13:43:17
Score: 0.5
Natty:
Report link

It looks like there is a syntax issue. The correct syntax would be

th:attr="abc=${param.error} ? '123'"

Notice where the } is closing. More info on conditional expressions.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: atish.s

79633879

Date: 2025-05-22 13:42:17
Score: 1
Natty:
Report link

I'm answering my own question after playing around with the TRESTRequest:

procedure TForm2.btnGETPOSTClick(Sender: TObject);
var
  JSONValue : TJSONValue;
  strResponse : string;
begin
  RestClient1.BaseURL := edtURL.Text;
//I found this nifty "AddAuthParameter" proc and got it working thusly
  RestRequest1.AddAuthParameter('apikey','123456789A',pkHTTPHEADER);

  RestRequest1.Execute;
  try
    strResponse := RestResponse1.Content;
    memResp.Text := strResponse;
  finally

  end;
end;
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: jetblackrogue

79633874

Date: 2025-05-22 13:41:16
Score: 1
Natty:
Report link

Hardcoded but does the job.

Just select what you want and then s<char>. And since you do the selection, anything can be surrounded.

Replicate this for every pair of char and closing-char. Like for [

{
    "before":["s", "["],
    "after": ["c", "[", "<C-r>", "\"", "]"]
},
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: solisoares

79633871

Date: 2025-05-22 13:39:16
Score: 1
Natty:
Report link
-- 假设 bytea 数据包含的是文本日期表示
SELECT to_date(convert_from(your_bytea_column, 'UTF-8'), 'YYYY-MM-DD') 
FROM your_table;

-- 或者如果知道特定编码
SELECT to_date(convert_from(your_bytea_column, 'LATIN1'), 'DD/MM/YYYY') 
FROM your_table;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: mingtai zhao

79633864

Date: 2025-05-22 13:36:15
Score: 3
Natty:
Report link

Backlinks are links from other websites to your site. In SEO, they act like votes of trust—more high-quality backlinks can boost your site's search engine ranking. Read More...

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

79633863

Date: 2025-05-22 13:34:14
Score: 1.5
Natty:
Report link

I do not believe APIPA addresses are routable unless you are somehow on that same APIPA network range. Generally speaking IP Addresses starting with a 169 are APIPA addresses and are like a self assigned DHCP address that are not good enough for most networking tasks.

https://en.wikipedia.org/wiki/Link-local_address

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

79633859

Date: 2025-05-22 13:32:14
Score: 1.5
Natty:
Report link

You duplicate the input stream but not its content. As @John posted, you can use a ContentCachingRequestWrapper. I combined it to a component extending OncePerRequestFilter and a storage with @RequestScope to retrieve it in any service. This leads to a lighter solution, given in https://stackoverflow.com/a/79633806/7251133.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Whitelisted phrase (-1.5): you can use
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @John
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Florian H.

79633857

Date: 2025-05-22 13:32:14
Score: 2
Natty:
Report link

from docx2pdf import convert

# Convert the Word document to PDF

word_path = "/mnt/data/خطة أسبوعية لتطوير التحدث B1.docx"

pdf_path = "/mnt/data/خطة أسبوعية لتطوير التحدث B1.pdf"

convert(word_path, pdf_path)

pdf_path

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

79633856

Date: 2025-05-22 13:31:13
Score: 1.5
Natty:
Report link

@Aslesha Thanks for the suggestions. But before attempting to use them, I wanted to see if there some hidden file parameters which was the basis of this question. So, I created a totally new, small test video and uploaded it to Azure; it worked. As a result, I created from scratch a duplicate of the original video. I was able to successfully deploy it and view if from the public website like the test video.

It appears that a modified, renamed duplicate of a video has parameters that makes Azure have a conflict with the original in the public view.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): it worked
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @Aslesha
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Marc George

79633855

Date: 2025-05-22 13:31:13
Score: 7 🚩
Natty: 5.5
Report link

I'm a little late, but I wonder if you have solved this problem?

Reasons:
  • RegEx Blacklisted phrase (1.5): solved this problem?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: 建山已几

79633853

Date: 2025-05-22 13:29:11
Score: 11
Natty: 8
Report link

I have the same issue. Have you found a solution??

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • RegEx Blacklisted phrase (2.5): Have you found a solution
  • 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: Dmitriy Green

79633849

Date: 2025-05-22 13:28:11
Score: 0.5
Natty:
Report link

I used boolean masking.

Script:

import numpy as np

a = 0.5 
b = 0.6

M = np.zeros((16, 16))  # empty matrix

np.fill_diagonal(M, 0.9)  # diagonal elements
 
M[0, [1, 3]] = a   
M[3, [0, 2]] = b  
M[5, [4, 6]] = a   
 

print(M)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Adios Gringo

79633847

Date: 2025-05-22 13:26:11
Score: 1
Natty:
Report link

Try

git clone https://git.yoctoproject.org/yocto-kernel-tools.git

But from same computers i have:

Making sure you're not a bot!

Loading...

Why am I seeing this?

You are seeing this because the administrator of this website has set up Anubis to protect the server against the scourge of AI companies aggressively scraping websites. This can and does cause downtime for the websites, which makes their resources inaccessible for everyone.

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Александр Рудалёв

79633844

Date: 2025-05-22 13:23:10
Score: 2
Natty:
Report link

I figured it out. i just need to make the other columns a percentage of the first.

Reasons:
  • Whitelisted phrase (-2): I figured it out
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mrs M

79633839

Date: 2025-05-22 13:20:09
Score: 1.5
Natty:
Report link

Naturally, I found the answer to this shortly after posting on StackOverflow. Turned out to be a syntax error in how I was formatting my templates. Here's what ended up working:

{% for entry in bills %}
<tr><td>
<form action="{% url 'select_software' bill_num=entry.Row page=1"><button type="submit">Select</button></form></td> [...]</tr>
{% endfor %}
Reasons:
  • Blacklisted phrase (1): StackOverflow
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Jeff D.

79633827

Date: 2025-05-22 13:16:07
Score: 0.5
Natty:
Report link
"NOT IN" is used two times.

The following query :

SELECT student_id, years
FROM tmp_pays
WHERE student_id IN (
    SELECT student_id
    FROM tmp_pays
    WHERE years NOT IN (2010, 2011, 2012, 2013)
)

returns :

STUDENT_ID  YEARS

125 2010

125 2011

125 2012

125 2013

125 2014
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: eisnard

79633825

Date: 2025-05-22 13:16:07
Score: 1.5
Natty:
Report link

I managed to solve this issue by updating the CORS parameters using:

CORS(app, origins="*", allow_headers=["Content-Type", "Authorization"], expose_headers="Authorization")
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: T. Yousef

79633823

Date: 2025-05-22 13:14:07
Score: 1.5
Natty:
Report link

As already noted, New-PSDrive doesn't do that. When you run net use afterwards, you can't see those mapped drives either. At the time of this writing, probably the best cmdlet to use is New-SMBMapping, which does actually map the drives properly. Again, to test that, after running the cmdlet, try using the net use command and see whether the drives have been mapped.

Currently, my problem is that, while those drives do show up in net use, they don't seem to show up in Windows File Explorer. I'm trying to figure that out.

As for why it doesn't work when mapping drives as a privileged user, think of it like this: When you open the Command Prompt or PowerShell as a privileged user, your default location becomes C:\Windows\System32 instead of your home folder. Why is that? Well it's because you're no longer functioning as your own logged-in user. You're functioning as the administrator. So when you map your drives that way, even with net use, you're doing so in the administrator's context, not yours. To map drives in your own context, you need to do it as you.

Reasons:
  • RegEx Blacklisted phrase (0.5): Why is that
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: WNets

79633822

Date: 2025-05-22 13:14:07
Score: 2
Natty:
Report link

First check your python version then download Windows installer (64-bit) with that version and repair your version.
After successfully repair then i modify

Last step will be to open control panel and uninstall your python

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

79633821

Date: 2025-05-22 13:14:06
Score: 4
Natty:
Report link

To answer your questions:

Reasons:
  • Blacklisted phrase (1): how do I
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): Is there any
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): See this link
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: shiro

79633819

Date: 2025-05-22 13:11:06
Score: 2.5
Natty:
Report link
<button class="button" (click)="$event.target.closest('.parent').classList.toggle('open')"></button>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Павел

79633815

Date: 2025-05-22 13:10:04
Score: 16.5 🚩
Natty: 6.5
Report link

Hey I am also facing the same issue with jodit have you find out any solution for it?.

Reasons:
  • Blacklisted phrase (1): I am also facing the same issue
  • Blacklisted phrase (1.5): any solution
  • Blacklisted phrase (2): have you find
  • RegEx Blacklisted phrase (2): Hey I am
  • RegEx Blacklisted phrase (2): any solution for it?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am also facing the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ashutosh Tiwari

79633811

Date: 2025-05-22 13:06:02
Score: 9 🚩
Natty: 5
Report link

can anyone tell If I had to reverse the process means I have csv file and need to convert it into image please reply ASAP

Reasons:
  • Blacklisted phrase (1.5): please reply
  • RegEx Blacklisted phrase (2.5): can anyone tell
  • RegEx Blacklisted phrase (1): I had to reverse the process means I have csv file and need to convert it into image please
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): can anyone
  • Low reputation (1):
Posted by: Ansh

79633808

Date: 2025-05-22 13:04:01
Score: 2.5
Natty:
Report link

I found resolution. Need's to use exec ....(as Mike stated in the documentation) and for container in docker compose file need to insert stop_grace_period:.. and stop_signal: SIGTERM. In default config docker compose use SIGINT and this signal kills all processes with interruption so our jobs are lost. You need to explicitly set stop_signal: SIGTERM so that the sidekiq ends with gracefully shut down.

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

79633799

Date: 2025-05-22 13:01:00
Score: 3.5
Natty:
Report link

You can test it with posman first. Maybe it's a CSRF issue of web browsers.

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

79633794

Date: 2025-05-22 12:58:58
Score: 11 🚩
Natty: 4.5
Report link

@Miyonu Did you find a solution for this? I have the same issue, but for me it happens on all Android versions prior to Android 12. From Android 12 onwards, the app launches and works normally.

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • RegEx Blacklisted phrase (3): Did you find a solution
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Contains question mark (0.5):
  • User mentioned (1): @Miyonu
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: NorthFred

79633782

Date: 2025-05-22 12:53:53
Score: 6.5 🚩
Natty:
Report link

"Markup Register Variable References" and possibly "Markup Inferred Variable References" as given by the answer below appear to be relevant.

How do I switch Ghidra to showing canonical register names instead of aliases?

Reasons:
  • Blacklisted phrase (1): How do I
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Mark Morgan Lloyd

79633781

Date: 2025-05-22 12:53:53
Score: 1
Natty:
Report link

Here’s how you can safely render your HTML string:

const myObject = "<span style='color: red;'>apple</span>tree";

return (
  <div dangerouslySetInnerHTML={{ __html: myObject }} />
);

Optional: JSX Alternative

return (
  <div>
    <span style={{ color: 'red' }}>apple</span>tree
  </div>
);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Live Stream

79633768

Date: 2025-05-22 12:47:50
Score: 1
Natty:
Report link

Monaco code editor has props of height which needs to be mostly in vertical height like(vh) for example

  <Editor
    height="30vh"
    // and rest props 
  />

just pass the height props. i think this will helps. make sure you you install npm install @monaco-editor/react

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

79633761

Date: 2025-05-22 12:44:50
Score: 1.5
Natty:
Report link

Ok I just realized what was wrong. I'm just so dumb. During visualisation, I printed the images in a for loop like this. This calls the augmentation function twice, so the images seem differently augmented...

for i in range(2):
    ax[i].imshow(vis_pcb_ds[0][i])
    ax[i].axis('off')
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: SAugustus

79633760

Date: 2025-05-22 12:43:49
Score: 1
Natty:
Report link

more1after.setOnClickListener(new OnClickListener() {

        public void onClick(View v) {

            sc.scrollTo(sc.getScrollX() + 75,

            sc.getScrollY() + sc.getWidth() + 5);

        }

    });
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Deepak Thakur

79633750

Date: 2025-05-22 12:39:48
Score: 1
Natty:
Report link

There is no diff viewer for either RSpec or Minitest and has never been. Maybe you're referring to Java tests in IntelliJ IDEA.

There is a corresponding feature request on the RubyMine's tracker, so feel free to add your vote there: RUBY-31706

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

79633749

Date: 2025-05-22 12:39:48
Score: 3
Natty:
Report link

Updating mysql-connector-python to the newest version worked for me (9.3.0 as of today)

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

79633743

Date: 2025-05-22 12:37:47
Score: 4
Natty: 4.5
Report link

It’s simply a wysiwyg editor

https://froala.com/wysiwyg-editor/examples/tribute-js/

A rich text editor that allows for HTML

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

79633736

Date: 2025-05-22 12:33:45
Score: 7 🚩
Natty:
Report link

Thanks for your answer @Charlieface and @Mehmet Can Turk.

Your queries works fine :) https://dbfiddle.uk/XeJq9SxA

What do you think is the best-performing query?

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Charlieface
  • User mentioned (0): @Mehmet
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: user1829826

79633735

Date: 2025-05-22 12:32:45
Score: 2
Natty:
Report link

I had this issue too and tried some solutions suggested here (did Maven clean and install) but it didn't seem to help. But then a little notification appeared at the bottom right corner saying "Maven "filename" build script found" and there was a button "Load Maven Project", I pressed it, it downloaded stuff and everything started working! And I don't know if it happened because I cleaned Maven or not

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

79633733

Date: 2025-05-22 12:32:45
Score: 1.5
Natty:
Report link

loading all 400,000 records into memory for autocomplete is not feasible. The best practice for large datasets is to implement server-side search (sometimes called “remote filtering” or “typeahead”), where the frontend queries the backend for matching results as the user types, and only a small subset (e.g., 10–100 records) is returned and displayed.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Umesh M Gowda

79633731

Date: 2025-05-22 12:31:44
Score: 0.5
Natty:
Report link

The "options" didn't work for me. The suggestion got me looking and I found that I had to do this:

dataframe.ExcelWriter(export_location, engine = 'xlswriter', engine_kwargs = {"options": {"strings_to_formulas": False, "strings_to_urls": False}}) as writer
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: M.Ford

79633728

Date: 2025-05-22 12:31:44
Score: 1
Natty:
Report link

Works on Chrome, if the idea is to prevent the reload/refresh:

window.addEventListener('beforeunload', function(e) {
   e.preventDefault();
   e.returnValue = ''; // For Chrome
   return '';
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Pedro Lira

79633713

Date: 2025-05-22 12:15:40
Score: 0.5
Natty:
Report link

Fixed this

$(document).ready(function() {
$('<div id="custom-alert" style="padding:10px 20px;" class="a-AlertMessage-icon">   <table> \
    <tr> \
        <td><span aria-hidden="true" class="fa fa-info-circle fa-3x" style="color:teal";></span></td> \
        <td style="padding-left:15px;"> \
            <b>'+summary+'</b><br><br>'+info+'<br><br>'+act+' \
        </td> \
    </tr> \
</table> </div>').appendTo('body');
$('#custom-alert').dialog({
    title: title,
    modal: true,
    width: 600 ,
    height: 320,
    closeText: '',      
    buttons: {
        "OK": function() {
            $(this).dialog('destroy').remove()
          
        }
    }

});
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: PPa

79633706

Date: 2025-05-22 12:12:39
Score: 5.5
Natty: 5
Report link

thanks, this helped me a lot today!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): helped me a lot
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nuri