79415140

Date: 2025-02-05 14:51:45
Score: 1.5
Natty:
Report link

try this

const { siteUrl } = useParams<{ name: string }>()

or just remove the Promise from params type definition

params: { siteUrl: string }

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Trunks

79415139

Date: 2025-02-05 14:50:45
Score: 3
Natty:
Report link

In my case, Spring was intercepting the request before it reached my controller method, which caused the validation to not work as expected. By default, the @RequestParam annotation has the required attribute set to true, meaning Spring would reject the request if the parameter was missing. To resolve this, I set required = false in the @RequestParam annotation. This allowed the request to reach my controller method, where the validation could be properly applied.

Reasons:
  • No code block (0.5):
  • User mentioned (1): @RequestParam
  • User mentioned (0): @RequestParam
  • Single line (0.5):
  • Low reputation (1):
Posted by: Lucas Kissmann

79415128

Date: 2025-02-05 14:46:44
Score: 0.5
Natty:
Report link

For Cucumber JVM users, you may use the 'unused' plugin. In cucumber.properties, define

cucumber.execution.dry-run=true
cucumber.plugin=unused:target/unused.log

After running the test suite, there should be a file unused.log in the target folder that lists all unused step definitions.

Link: https://jdriven.com/blog/2019/01/cucumber-jvm-plugin

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

79415125

Date: 2025-02-05 14:45:44
Score: 2.5
Natty:
Report link

For those who are trying to manually setup SSL in docker compose setup, follow this article.

Reasons:
  • Blacklisted phrase (1): this article
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: Mitrakov Artem

79415118

Date: 2025-02-05 14:42:43
Score: 5
Natty: 5
Report link

this example does exactly that: https://echarts.apache.org/examples/en/editor.html?c=bar-stack-borderRadius

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

79415111

Date: 2025-02-05 14:38:41
Score: 2.5
Natty:
Report link

while creating the new workspace, scroll down and click on advanced and then select the checkbox for template apps [meant to be shared with external users].when new workspace is created on clicking ok, you will get a link with guid embedded as desired. this way I have resolved the issue for me.

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

79415110

Date: 2025-02-05 14:38:41
Score: 1
Natty:
Report link

The following curl command can also help:

curl -H "Metadata:true" http://169.254.169.254/metadata/instance/network?api-version=2023-07-01&format=json
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: HelpBox

79415098

Date: 2025-02-05 14:35:40
Score: 3.5
Natty:
Report link

No need to add extra software on the developer options there is a feature that allows you to limit the speed of the device called Network download rate limit.

enter image description here

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

79415095

Date: 2025-02-05 14:34:39
Score: 5
Natty: 4
Report link

As raaaay said, in Firefox, "Ctrl+S" saves the pdf file directly to the downloads folder. Note that you have to click on the embedded pdf first, otherwise Firefox will save the entire web page.

(P.S: I need 50 reputation to comment, that's why this answer).

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): to comment
  • RegEx Blacklisted phrase (1.5): 50 reputation to comment
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: dilwynlala

79415081

Date: 2025-02-05 14:29:38
Score: 1
Natty:
Report link

This approach worked for me-

  1. Create "PathPrefix" for app link

  2. Verify link with your domain

  1. Code this logic on your websites homepage
Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Chala Java yeu dya

79415075

Date: 2025-02-05 14:27:36
Score: 4.5
Natty:
Report link

I found the answer to the problem: opencv "cv.floodFill" function does exactly what I want, and is muche faster than scipy watershed (by a factor of ~100).

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: samje

79415071

Date: 2025-02-05 14:27:36
Score: 2.5
Natty:
Report link

Unfortunately with angular 19 it seems the option --env.whatever isnt recogenized. Error: Unknown argument: env.test

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

79415068

Date: 2025-02-05 14:26:36
Score: 0.5
Natty:
Report link

JPQL works with entity property names (the fields or getter/setter methods in your Java class) rather than the actual database column names. So if your last_updated_on is a field in your BaseEntity class, and your entity uses camelCase for property names, you should use f.lastUpdatedOn in your query instead of f.last_updated_on.

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

79415067

Date: 2025-02-05 14:26:36
Score: 0.5
Natty:
Report link

For anybody wondering about this, it's probably due to:

@PrepareForTest({ MyClass.class })

When you remove the brackets like this:

@PrepareForTest(MyClass.class)

it should work.

I had a similar problem with two classes, when removing one of the classes and the brackets it got covered.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Cédric S

79415062

Date: 2025-02-05 14:24:36
Score: 1.5
Natty:
Report link

You need to add key: UniqueKey() to the PlutoGrid if you want it state to change when the datasource changes.

return PlutoGrid( ... row: _buildPlutoRows(data), // Data comes from GetxController. key: UniqueKey() // This does the magic

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

79415057

Date: 2025-02-05 14:22:35
Score: 1.5
Natty:
Report link

The easiest way to use pugixml is to add the source code directly between the files in your project. Download pugixml, unzip it, copy the files contained in the src directory (pugixml.hpp, pugixonfig.hpp and pugixml cpp) to your project directory, add the above files to your project and then compile it.

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

79415041

Date: 2025-02-05 14:16:33
Score: 2.5
Natty:
Report link

Try replacing "ranking" with "ranking.profile" - per https://docs.vespa.ai/en/reference/query-api-reference.html this is the full name and https://docs.vespa.ai/en/query-profiles.html#using-a-query-profile you cannot use aliases ("ranking" is an alias).

I think this will at least solve the problem with the missing ranking profile data

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

79415028

Date: 2025-02-05 14:12:32
Score: 3
Natty:
Report link

no meu caso oque estava dando errado era por que eu tava colocando o ponto e virgula no diretório da pasta. Se estiverem com algo parecido tire pois pode da problema.

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

79415020

Date: 2025-02-05 14:08:31
Score: 2.5
Natty:
Report link

Please try to run these steps:

npm cache clean --force rm -rf node_modules package-lock.json npm install

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

79415001

Date: 2025-02-05 14:01:29
Score: 8.5
Natty: 7
Report link

Can you elaborate on Why is DQN obsolete?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you elaborate
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (1):
Posted by: Lucas Gándara

79414995

Date: 2025-02-05 13:58:27
Score: 1.5
Natty:
Report link

try this

foreach(object x in listBox.SelectedItems) { string s = x as string; }

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (1.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Milan

79414991

Date: 2025-02-05 13:57:27
Score: 1
Natty:
Report link

I had this problem only when using Firefox, not in other browsers. The solution was to disable state partitioning for DevOps, by setting privacy.restrict3rdpartystorage.skip_list to String *,https://dev.azure.com on about:config.

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

79414979

Date: 2025-02-05 13:52:26
Score: 2
Natty:
Report link

`for spring boot latest version 3.4.2 please follow below instruction dont use @EnableEurekaServer Annotation

in application.properties file do some configuration

spring.application.name=service-registry

eureka.client.register-with-eureka=false

eureka.client.fetch-registry=false

server.port=8761

open any browser and below url http://localhost:8761/ `

Reasons:
  • No code block (0.5):
  • User mentioned (1): @EnableEurekaServer
  • Low reputation (0.5):
Posted by: Mohammed Masood Ansari

79414977

Date: 2025-02-05 13:52:26
Score: 3
Natty:
Report link

Firebase.initializeApp(); call this in your main function before "runApp"

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

79414972

Date: 2025-02-05 13:51:25
Score: 0.5
Natty:
Report link

Here's n quick implementation of a HalfCircleView using CAShapeLayer and UIBezierPath:

class HalfCircleView: UIView {

    override init(frame: CGRect) {
        super.init(frame: frame)
        setupHalfCircle()
    }

    required init?(coder: NSCoder) {
        super.init(coder: coder)
        setupHalfCircle()
    }

    private func setupHalfCircle() {
        let shapeLayer = CAShapeLayer()
        let path = UIBezierPath()
        path.move(to: CGPoint(x: 0, y: bounds.maxY))
        path.addArc(withCenter: CGPoint(x: bounds.midX, y: bounds.maxY),
                    radius: bounds.width / 2,
                    startAngle: CGFloat.pi,
                    endAngle: 0,
                    clockwise: true)
        shapeLayer.path = path.cgPath
        shapeLayer.fillColor = UIColor.blue.cgColor
        layer.addSublayer(shapeLayer)
    }

    override func layoutSubviews() {
        super.layoutSubviews()
        setupHalfCircle()
    }
}
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Frankie Baron

79414963

Date: 2025-02-05 13:46:24
Score: 2.5
Natty:
Report link

Go to Firebase console and then Authentication -> Settings -> User Actions and uncheck the Email enumaration protection

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

79414962

Date: 2025-02-05 13:46:23
Score: 8 🚩
Natty:
Report link

Also having the same issue - did you guys manage to find a work around?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): Also having the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: DJ_Rudy

79414961

Date: 2025-02-05 13:46:23
Score: 2
Natty:
Report link

Hi yes it's possible there is component that allows you to retreive emails and write the content into files. it's the tPop component, it's configuration should look like this : enter image description here

The port is usually 110 or 995 (if it works over SSL/TLS)

And in the advanced setting you can filter the mail you want to retreive for example :

enter image description here

This configuration would allow you to retreive mails with the subject "PASSWORD_FTP" from the sender "[email protected]"

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

79414941

Date: 2025-02-05 13:40:20
Score: 8 🚩
Natty: 6
Report link

I also faced the same problem. How do I solve this? I am using Spring Boot 3.4.2. After updating, I encountered this issue. I have tried changing the application.properties file multiple times, but it didn't work. I am still facing the same issue.

Reasons:
  • Blacklisted phrase (1): How do I
  • RegEx Blacklisted phrase (1.5): solve this?
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): facing the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sharma Karnan

79414929

Date: 2025-02-05 13:35:18
Score: 2.5
Natty:
Report link

I know it's been a while since this was posted but here's my solution. Windows 10/11 come with curl.exe (cmd or powerShell) installed by default so you don't need to install/develop another app. You can use either IPC as suggested above or any a native SKILL command (e.g. axlRunBatchDBProgram) to launch a HTTP POST. My tested commands (call curl.exe in cmd), for JSON strings values, with all security disabled (safe environment in my case) looks like this:

In your SKILL code, assign the below string to the variable CommandString (sorry for not posting the complete syntax, I am compiling from multiple TCL and SKILL files and I am sure I'll miss some "" on the way)

curl.exe -v --insecure --ssl-no-revoke -H "Content-Type: application/json" -X POST https://www.google.com/ -d "{"var1":"value1","var2":"value2","var3":"value3","var4":"value3"}"

axlRunBatchDBProgram("start cmd /c ", CommandString ?noUnload t ?silent t ?noProgress t ?noLogview t ?warnProgram t ?noExitMsgs t)

Reasons:
  • Blacklisted phrase (1): I know it's been
  • Whitelisted phrase (-1.5): You can use
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Catalin Neacsu

79414925

Date: 2025-02-05 13:34:18
Score: 0.5
Natty:
Report link

When trying to autostart my App after boot, I had the same Syntax errors but it looks like a visual bug because the Code was acctually working fine for me. So I ignored the red underlined things.

The problem was that I didn't activate the "Appear on top" setting for my app.

On Anrdoid, go to your apps App info -> Appear on top and set it to on

You can also program your app to direct the user to that setting, so you don't have to search for it constantly after reinstalling the app.

If you are still facing issues with autostarting the app after boot, let me know, and I can share the code.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Long answer (-0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: WashingMachine

79414919

Date: 2025-02-05 13:32:18
Score: 3.5
Natty:
Report link

has there been a support for handling the CORS right now

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

79414897

Date: 2025-02-05 13:27:16
Score: 2
Natty:
Report link

I solve it by adding the following:

  *:hover {
    scrollbar-color: initial;
  }
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Msh

79414894

Date: 2025-02-05 13:25:16
Score: 3.5
Natty:
Report link

You can decouple the RDS which will not impact the health of the EB environment and then you can do the application change to not use the RDS!

Ref:https://aws.amazon.com/about-aws/whats-new/2021/10/aws-elastic-beanstalk-database-decoupling-elastic-beanstalk-environment/

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

79414890

Date: 2025-02-05 13:23:15
Score: 1.5
Natty:
Report link

3 + 1 Things to Consider when Optimizing Search with Regex:

I ran some analysis on the pattern that @dawg created. To see what happens. I searched a 1000-line text sample on regex101.com using six (6) different permutations of the (email|date|phone) patterns. Please see the links below. For comparison, I ran each of the 6 permutations in both Python and PCRE2 flavors. PCRE2 is used by Perl & PHP.

Here's what I discovered. I was especially surpised about the impact of the inline flag.

Here is an example of the six (email|phone|date) permutations:

# 1:inline-flag:    
pattern = r'''(?x)
(?P<email>\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}\b)|
(?P<phone>\b\d{3}-\d{3}-\d{4}\b)|
(?P<date>\b\d{4}-\d{2}-\d{2}\b)
''' 

# 1:re.X:   
pattern = r'''
(?P<email>\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}\b)|
(?P<phone>\b\d{3}-\d{3}-\d{4}\b)|
(?P<date>\b\d{4}-\d{2}-\d{2}\b)
''' 

Outcome:

Python regex flavor:

Inline flag average steps: 298,866 {min 297,777, max 299,995}

Regular flag average steps: 265,101 {min 264,012, max 266,190}

Difference: 33,765 (exactly the same with every pattern)

PCRE2 regex flavor (used by PHP and Perl):

Inline flag average steps: 214,344 {min 213,255, max 215,433}

Regular flag average steps: 189,495 {min 188,406, max 190,584}

Difference: 24,849 (exactly the same with every pattern)

All permutations completed in < 150ms.


What I discovered:

1) Flavor Matters: PRCE2 regex flavor vs. Python regex flavor

Python flavor, with inline flag ((?x)), had exactly 84,522, or average of 28.28%, more steps than PCRE2 flavor for each permutation. With regular flag (re.X) Python flavor had exactly 75,606, or average of 28.52%, more steps than PCRE2 flavor for each permutation.

The processing speeds cut down in half using PRCE2 flavor vs. python. There were 40% (~77K steps) fewer steps using PRCE2 regex flavor than Python regex flavor.4

For large data sizes regex flavor can make a big difference.

2) Flag Type Matters !: Inline flag (?x) vs. regular flag re.X

For Python, regex with inline flag had 12.74% more steps than regular flag, exactly 33,765 each.

For PRCE2, regex with inline flag had 13.11% more steps than regular flag, exactly 24,849 each.

This means will have 11.4% fewer steps on average if you remove the inline flag and use regular flag instead. So, to optimize it makes sense to remove the inline flag and replaced it with the regular flag re.X.

It was interesting to see that it was exactly the same difference in steps between inline flag and regular flag for every permutation! Inline flag is definitely busy doing something.

3) Pattern order matters:

The difference between most and least steps for permutations was within 1.0% for PCRE2 flavor and 0.77% for python flavor.

(email|phone|date) had least steps and (date|phone|email) had the most steps regardless of regex flavor or type of flag (inline or regular).

So depending on the size of the data, it may or may not make a real difference.

4) Pattern is matters:

I created this regex to capture simple emails (where extra dots are allowed), phone number xxx-xxx-xxxx, date xxxx-xx-xx. It did not have capture groups.

For python this pattern resulted in 91,566 or average 32.5% steps less than the permutations used in the or (|) pattern.

Use re.X flag:

# 7:re.X:
pattern =  r'''\b(
(\d\d\d[\d-] [\d-] \d\d-\d\d(?:\d\d)?\b)|(?=\b\w+(?:\.\w+)*@)(\b\w+(?:\.\w+)*@\w+(?:\.\w+))
)\b
''' 

Links to permutations:

NUM | FLAG | PERMUTATION | URL:

1 | re.X | (email|phone|date) | https://regex101.com/r/LCaSTy/2

2 | re.X | (email|date|phone) | https://regex101.com/r/Qwno6l/2

3 | re.X | (phone|date|email) | https://regex101.com/r/vtnLQv/2

4 | re.X | (phone|email|date) | https://regex101.com/r/gWFYzB/2

5 | re.X | (date|phone|email) | https://regex101.com/r/0z9cLt/2

6 | re.X | (date|email|phone) | https://regex101.com/r/lTfvqX/2

7 | re.X | ((phone/date)|email) | https://regex101.com/r/mP8v4Z/4

Reasons:
  • RegEx Blacklisted phrase (1): see the links
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @dawg
  • Low reputation (1):
Posted by: rich neadle

79414889

Date: 2025-02-05 13:23:15
Score: 1.5
Natty:
Report link

As @slebetman have mentioned in the comments you've probably ran npm install with sudo or root privileges, leading to the package-lock.json file being owned by root.

Since the other answers are based on Docker, I'd thought I'd give the Linux/Unix solution for people who are in my situation running their locally. Run the command:

sudo chown NAME-OF-YOUR-USER package-lock.json

The command will change the owner of the file resolving the permission conflict you're experiencing.

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @slebetman
  • Low reputation (1):
Posted by: Anas

79414888

Date: 2025-02-05 13:23:15
Score: 0.5
Natty:
Report link

You are using riverpod, thus you should not use setState(). Instead of that, you should refresh the page using riverpod, just make:

ref.refresh(pocketbaseProvider);

And the page will be refreshed reloading all data.

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

79414882

Date: 2025-02-05 13:20:14
Score: 3
Natty:
Report link

i make mini sale software in visual studio 2010 with ms access database if an other Pc software not run plcese send answers

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

79414871

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

Huge kudos to @JonathanLauxenRomano's answer.

Here's how I made it work in App Router (same idea, new router):

import { headers } from 'next/headers'

await fetch(`${process.env.NEXT_PUBLIC_BASE_PATH}/api/test`, {
    headers: {
      Cookie: headers().get('cookie') ?? ''
    }
  })

I tried using cookies, retrieving the exact cookie from nextauth and manually retrieving the token in the API route... But this way the await getToken({req}) just works as expected!

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @JonathanLauxenRomano's
  • Low reputation (0.5):
Posted by: Nikolai

79414845

Date: 2025-02-05 13:09:11
Score: 0.5
Natty:
Report link

These look like errors from the SDK linter. AIDL interfaces added in that directory are by default exposed in the built public SDK. You need to exclude it (as done for the other interfaces there) like this:

/**
 * {@hide}
 */
interface Test {
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ahaan Ugale

79414838

Date: 2025-02-05 13:06:10
Score: 1.5
Natty:
Report link

Variations in your model's accuracy and loss across runs can result from factors like the Adam optimizer's inherent randomness, data shuffling during training, and hardware differences(very unlikely). To enhance reproducibility, consider using a deterministic optimizer like SGD, control data shuffling by setting random seeds, and ensure consistent hardware environments.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Aryan Raj

79414829

Date: 2025-02-05 13:03:09
Score: 1
Natty:
Report link
textarea {
  width: 100%;
  height: 150px;
  padding-right: 50px; /* Adjust based on button width */
  box-sizing: border-box;
  resize: none;
}

.container {
  position: relative;
  display: inline-block;
}

button {
  position: absolute;
  top: 5px;
  right: 5px;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dipti Patel

79414823

Date: 2025-02-05 13:02:08
Score: 6.5
Natty: 7.5
Report link

Can you please suggest me how you achieved this I am also planning to do the same way ? Generating Docusign jwt access token using azure functions.

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you please suggest me how you
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can you please
  • Low reputation (1):
Posted by: Neon delphifer

79414804

Date: 2025-02-05 12:55:07
Score: 2
Natty:
Report link

I managed to Figure this one Out:

You ened to make sure C:\Windows\System32 is in the Path Environmentals otherwose WSL2 doesnt Pick up Docker within the distro.

tooki me an age to figure this out

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

79414801

Date: 2025-02-05 12:54:06
Score: 4
Natty:
Report link

The Obsidian-to-Wikijs plugin enables you to send Obsidian notes to your Wikijs instance.

https://github.com/trinidz/obsidian-to-wikijs

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

79414800

Date: 2025-02-05 12:54:05
Score: 3
Natty:
Report link

Am using api url in APIGEE tool getting below error '{"fault":{"faultstring":"Body buffer overflow","detail":{"errorcode":"protocol.http.TooBigBody"}}}'

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

79414795

Date: 2025-02-05 12:52:05
Score: 1
Natty:
Report link

I still got the warning with tracking unique id.

@for (page of totalRows; track **page.id**; let index = $index; let first = $first, last = $last )   { 
    <li>
     {{ page.pageNum }}
    </li>
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Oren Shammai

79414785

Date: 2025-02-05 12:48:04
Score: 3
Natty:
Report link

It appeared there is no issue in the provided code. And the behavior of Datadog platform where service.name attribute is not displayed - is just how the platform works, you can see that on the screenshot in the original question.

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

79414777

Date: 2025-02-05 12:45:03
Score: 2
Natty:
Report link

Got the answer. These rules to follow: Strings can be enclosed only in:

  1. Single quotes.
  2. Triple single quotes.
  3. Double quotes.
  4. Triple double quotes.
  5. Whenever interpreter find ''' it will search other set of '''.
  6. We can mix Single quote +Triple single quotes like this 'test''' but not '''test' and Double quotes + Triple double quotes like this "test""" but not """test"
Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: dadi007

79414766

Date: 2025-02-05 12:39:02
Score: 2
Natty:
Report link

it is hard to know the number of columns which contains Nan value from dataframe which has 3000 or more than that ..use the following command to get the list of columns which contains Nan values

print(df.columns[df.isna().any()])

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

79414761

Date: 2025-02-05 12:37:01
Score: 2.5
Natty:
Report link

In my project I was upgraded nodejs version to 20 and after that test cases failed. And I tried with many solution with jest config, but it didn't work unless and until I have created jest.config.json file on root directory. Earlier this config was in package.json file.

I have used transformIgnorePatterns in jest config file which help us ignore node_modules which not supporting current nodejs version

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (1): help us
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ushaikh

79414759

Date: 2025-02-05 12:37:01
Score: 3.5
Natty:
Report link

I had this problem then switched to using Google Collab and the problem was solved.

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

79414756

Date: 2025-02-05 12:36:00
Score: 0.5
Natty:
Report link

Linux interpret system (BIOS) time as UTC and add your timezone for current time. So, if your current time is 15:00 and timezone Europe/Paris (+2), system time is 11:00. Windows by default interpret system time as your current time.

  1. If you want to store time in database in your timezone (Paris time), you need to set "USE_TZ = False". This is not an option, if you want to work with clients from other timezones.

  2. If you want to use Windows and Linux on one machine with correct time, you need to set "RealTimeIsUniversal" to 1. Google it for more details on your Windows version.

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

79414753

Date: 2025-02-05 12:36:00
Score: 1
Natty:
Report link

For css:
button.gm-ui-hover-effect { visibility: hidden;}

Or Props:

<InfoWindow
          position={school.locationPoint}
          options={{ disableAutoPan: true, headerDisabled: true }}
        >
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Saber Ahmed

79414749

Date: 2025-02-05 12:35:00
Score: 2
Natty:
Report link

Add the word doc to the project to the solution (drag and drop). Right click on the file in the solution explorer - Select Copy to Output Directory option (copy always) or (copy if newer).

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Niall O'Dwyer

79414748

Date: 2025-02-05 12:34:00
Score: 1
Natty:
Report link

Searching for nested attributes is not supported by default in SAP Commerce (Hybris) when using the Backoffice advanced search. If you are required to implement such a feature, the two options would be:

1) Extend the advanced search logic (see AdvancedSearchController class)

2) Add a productCode attribute to CustomerReview and use a PrepareInterceptor.

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

79414744

Date: 2025-02-05 12:33:00
Score: 2.5
Natty:
Report link

Not just POST but all other methods can send a body with request. You just need to handle such requests carefully (not ignoring the body)

For more detailed explanation: https://stackoverflow.com/a/983458/7771506

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: SURAJ GOUR

79414743

Date: 2025-02-05 12:31:59
Score: 1.5
Natty:
Report link

Thanks for @Koboo's response. My code worked with his solution. But I found other simpler solution. You need just change java time zone inside bootstrap class's main method:

@SpringBootApplication
public class ApiApplication {

    public static void main(String[] args) {
        TimeZone.setDefault(TimeZone.getTimeZone(ZoneOffset.UTC));
        SpringApplication.run(ReflectBusinessApiApplication.class, args);
    }

}
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • User mentioned (1): @Koboo's
  • Low reputation (0.5):
Posted by: Bekzod

79414741

Date: 2025-02-05 12:31:59
Score: 0.5
Natty:
Report link

The error "org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed" usually occurs due to Groovy/Gradle script issues or JDK incompatibility. In my case, the problem was caused by Android Studio’s default JDK. Solution: Change JDK to a Locally Installed Version Open Android Studio. Go to File → Settings → Build, Execution, Deployment → Build Tools → Gradle. Under Gradle JDK, change the selection from the default Embedded JDK to your locally installed JDK. Click Apply and OK, then restart Android Studio. Sync Gradle again: File → Sync Project with Gradle Files. Why Does This Happen? The default JDK bundled with Android Studio might not be fully compatible with the Gradle version. Some third-party libraries require a specific JDK version to compile successfully. Gradle might be referencing an older or incompatible JDK, causing Groovy compilation issues. Alternative Fixes: If changing the JDK doesn't work, try:

Upgrading Gradle: Update gradle-wrapper.properties to a newer Gradle version. Deleting .gradle and .idea folders and then syncing again. Running Gradle from the command line for more details:enter image description here ./gradlew clean ./gradlew build --stacktrace Gradle Setting

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Whitelisted phrase (-2): Solution:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Amit Pardeshi

79414738

Date: 2025-02-05 12:30:59
Score: 1
Natty:
Report link

I do not understand why Item keep a compact format.

Using expand function on an OData endpoint doesn't mean it will return a flat table.

It means that you are requesting related data, that are not by default provided in the response. Expand function can be used for complex types and collections.

How should I proceed to do so?

By the image, I guess, you are working in Power Query which offers JSON and XML parsing functionality. I would suggest following Parse text as JSON or XML (Power Query).

Reasons:
  • Blacklisted phrase (1): How should I
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: petesramek

79414732

Date: 2025-02-05 12:25:57
Score: 6 🚩
Natty: 5
Report link

I'm getting an error while building in an Android environment (Termux). Can I fix it the same way in Termux?

Reasons:
  • RegEx Blacklisted phrase (1): I'm getting an error
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: 김민수

79414710

Date: 2025-02-05 12:18:55
Score: 1.5
Natty:
Report link

use Flexible and SingleChildScrollView both

Flexible(
    child: SingleChildScrollView(
                                  child: ListView.builder()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mahirajsinh Zala

79414708

Date: 2025-02-05 12:17:55
Score: 1
Natty:
Report link

I discovered that Firebase configuration and the service worker have limitations in in-app browsers. To address this, I wrapped the Firebase app initialization in a try-catch block.

let firebaseApp;
let messaging;
try {
  firebaseApp = initializeApp(firebaseConfig);
  messaging = getMessaging(firebaseApp);
} catch (err) {
  console.error("Failed to initialize Firebase Messaging", err);
}
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: smit chauhan

79414703

Date: 2025-02-05 12:15:54
Score: 0.5
Natty:
Report link

You can add a key rewrite to avoid changing all routes

server: {
  proxy: {
    '/api': {
      target: 'http://127.0.0.1:5000',
      changeOrigin: true,
      secure: false,
      rewrite: (path) => path.replace(/^\/api/, ""),
    }
  }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Fran

79414701

Date: 2025-02-05 12:14:54
Score: 2
Natty:
Report link

Time Of Crash : 2025_02_05-17_44_06 Device Manufacturer: OPPO Device Model : CPH1909 Android Version : 8.1.0 Android SDK : 27 App VersionName : 4.4 App VersionCode : 4

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ทรงเกียรติ เเดนนาวาส

79414696

Date: 2025-02-05 12:10:53
Score: 0.5
Natty:
Report link

This works with better animation

const flatListRef = useRef<FlatList>(null);

// Scroll to the end after updating messages
setTimeout(() => {
  flatListRef.current?.scrollToEnd({animated: true});
}, 100); // Small delay to ensure the list is updated
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ajibola Bello

79414690

Date: 2025-02-05 12:08:53
Score: 2.5
Natty:
Report link

I would start by looking at Retrieval Augmented Generation to include only the relevant parts of the video for a query instead of sending the transcript fully

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Göktürk

79414681

Date: 2025-02-05 12:06:52
Score: 3
Natty:
Report link

in some Chinese boards you need to solder link from ws2812 to 48 pin, so dbl check

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

79414671

Date: 2025-02-05 12:00:50
Score: 0.5
Natty:
Report link

(I think)

Yes, you can pull the API Gateway Rules to local using Catalyst CLI. After enabling the APIG in Catalyst console, we can pull the rules as JSON file in local, test and deploy it.

Read more →

Reasons:
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Shri Hari L

79414670

Date: 2025-02-05 12:00:50
Score: 2
Natty:
Report link

The anti-controlled X gate has the following matrix.

The "reflection" gate defined in this video at 15:10 min does that. Here it is:

circuit.h([0,1])
circuit.z([0,1])
circuit.cz(0,1)
circuit.h([0,1])
Reasons:
  • Blacklisted phrase (1): this video
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Moe

79414666

Date: 2025-02-05 11:59:50
Score: 0.5
Natty:
Report link

This is a classic stream / buffer reading issue. Instead of bulk processing the entire streaming response from Solr, the intention is that the client will read it chunk by chunk and make sense of it as you go.

I have not tried this myself but there are streaming json parsers for the Python ecosystem (https://pypi.org/project/json-stream/) which seems to fit the bill at a glance. I believe you will be able to configure it so that your code consumes each doc at a time while still reading the stream from your streaming request.

Good luck

-- Jan Høydahl - Apache Solr committer

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

79414664

Date: 2025-02-05 11:58:49
Score: 0.5
Natty:
Report link

I got it moved to internal, only by exporting and importing again this json as user anonymous, which comes from a clean artifactory install:

{
    "username" : "anonymous",
    "firstName" : null,
    "lastName" : null,
    "email" : null,
    "realm" : "internal",
    "status" : "enabled",
    "lastLoginTime" : 0,
    "lastLoginIp" : null,
    "password" : null,
    "allowedIps" : [ "*" ],
    "created" : 1738314752329,
    "modified" : 1738314752329,
    "failedLoginAttempts" : 0,
    "statusLastModified" : 1738314752329,
    "passwordLastModified" : 0,
    "customData" : {
      "disabled_password" : {
        "value" : "true",
        "sensitive" : false,
        "clusterLocal" : false
      }
    },
    "groups" : [ ]
  }
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: herbert

79414659

Date: 2025-02-05 11:57:49
Score: 1
Natty:
Report link

Ensure CORS is not blocking your requests. Then, clear config & cache.

php artisan config:clear
php artisan cache:clear
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Motunrayo Koyejo

79414657

Date: 2025-02-05 11:56:49
Score: 1
Natty:
Report link

OK guys, I got it sorted making a mix of Gerald’s: https://www.youtube.com/watch?v=2dllz4NZC0I

and Pavlos’s solutions: https://pavlodatsiuk.hashnode.dev/implementing-maui-blazor-with-zxing-qr-barcode-scanner

Created a CameraPage.xaml

<?xml version="1.0" encoding="utf-8”?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="FitnessPal.CameraPage"
             xmlns:zxing="clr-namespace:ZXing.Net.Maui.Controls;assembly=ZXing.Net.MAUI.Controls">

    <ContentPage.Content>
        <Grid>
            <!-- Dark background to simulate modal effect -->
            <BoxView Color="Black" Opacity="0.9" />

            <!-- Scanner View in a smaller container -->
            <Frame Padding="1" CornerRadius="10" BackgroundColor="DodgerBlue" Opacity="0.9" WidthRequest="350"
                   HeightRequest="500"
                   HorizontalOptions="Fill" VerticalOptions="Fill" BorderColor="SkyBlue">
                <Grid>
                    <zxing:CameraBarcodeReaderView
                        x:Name="CameraBarcodeScannerView"
                        IsDetecting="True"
                        BarcodesDetected="BarcodesDetected"
                        VerticalOptions="Fill"
                        HorizontalOptions="Fill" />

                    <!-- Close Button -->
                    <Button Text="Close" TextColor="DarkOrange" FontSize="24" Clicked="OnCloseClicked"
                            HorizontalOptions="Center"
                            VerticalOptions="End"
                            Margin="5" />
                </Grid>
            </Frame>
        </Grid>
    </ContentPage.Content>
</ContentPage>

Then added necessary code behind to the CameraPage.xaml.cs

using System.Diagnostics;
using ZXing.Net.Maui;
namespace FitnessPal;

public partial class CameraPage
{
    public CameraPage()
    {
        InitializeComponent();

        CameraBarcodeScannerView.Options = new BarcodeReaderOptions
        {
            Formats = BarcodeFormats.TwoDimensional,
            AutoRotate = true,
            Multiple = false
        };
    }

    private TaskCompletionSource<BarcodeResult> _scanTask = new();

    public Task<BarcodeResult> WaitForResultAsync()
    {
        _scanTask = new TaskCompletionSource<BarcodeResult>();

        if (CameraBarcodeScannerView != null)
        {
            CameraBarcodeScannerView.IsDetecting = true;
        }

        Debug.WriteLine($"Status: {_scanTask.Task.Status}");
        return _scanTask.Task;
    }

    private async void BarcodesDetected(object? sender, BarcodeDetectionEventArgs eventArgs)
    {
        try
        {
            if (_scanTask.Task.IsCompleted) return;

            CameraBarcodeScannerView.IsDetecting = false;
            _scanTask.TrySetResult(eventArgs.Results[0]); 
            Debug.WriteLine("Scan result: " + eventArgs.Results[0].Value);

            await MainThread.InvokeOnMainThreadAsync(async () =>
            {
                if (Navigation?.ModalStack.Count > 0)
                {
                    await Navigation.PopModalAsync();
                    Debug.WriteLine("Closed CameraPage modal.");
                }
            });
        }
        catch (Exception e)
        {
            Debug.WriteLine($"Error detecting barcode: {e.Message}");
        }
    }

    private async void OnCloseClicked(object? sender, EventArgs eventArgs)
    {
        try
        {
            CameraBarcodeScannerView.IsDetecting = false;

            if (Application.Current?.MainPage?.Navigation != null)
            {
                await Application.Current.MainPage.Navigation.PopModalAsync();
                Debug.WriteLine("Camera Page Closed.");
            }
            else
            {
                Debug.WriteLine("Go to Main Page.");
            }
        }
        catch (Exception e)
        {
            Debug.WriteLine($"Error closing modal: {e.Message}");
        }
    }
}

Then to be totally clear here is the rest of important changes: MainPage.xaml

<?xml version="1.0" encoding="utf-8"?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:local="clr-namespace:FitnessPal"
             x:Class="FitnessPal.MainPage"
             BackgroundColor="{DynamicResource PageBackgroundColor}">
    <ContentPage.Content>
        <Grid>
            <!-- Add padding to respect the safe area -->
            <Grid.Padding>
                <OnPlatform x:TypeArguments="Thickness">
                    <On Platform="iOS" Value="0" />
                    <On Platform="Android" Value="0" />
                </OnPlatform>
            </Grid.Padding>
        <BlazorWebView x:Name="BlazorWebView" HostPage="wwwroot/index.html">
            <BlazorWebView.RootComponents>
                <RootComponent Selector="#app" ComponentType="{x:Type local:Components.Routes}"/>
            </BlazorWebView.RootComponents>
        </BlazorWebView>
        </Grid>
    </ContentPage.Content>
</ContentPage>

MainPage.xaml.cs - getting rid of the top navigation

public MainPage()
    {
        InitializeComponent();
        NavigationPage.SetHasNavigationBar(this, false);
    }

App.xaml.cs

public partial class App
{
    public App()
    {
        InitializeComponent();
    }
    
    protected override Window CreateWindow(IActivationState? activationState)
    {
        return new Window(new NavigationPage(new MainPage())) {Title="Fitness Pal"};
    }
}

Obviously the MauiProgram.cs needs the UseBarcodeReader:

builder.UseMauiApp<App>()
    .ConfigureFonts(fonts =>
    {
        fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
    }).UseBarcodeReader();

Permissions added to Android manifest and ios plist.

But the last and not least, use of the CameraPage in the Blazor razor page:

    <CustomButtonComponent CssClass="btn-outline-fp-info btn-fp-normal" OnClick="ScanQrCodeAsync">
        Scan
    </CustomButtonComponent>

    <div>@_qrCodeResult</div>
</div>

@code {
...
    private string _qrCodeResult = "Not scanned";

    private async Task ScanQrCodeAsync()
    {
        var scanResult = await GetScanResultsAsync();
        Debug.WriteLine($"Scan result: {scanResult.Format} -> {scanResult.Value}");
        
        _qrCodeResult = $"Type: {scanResult.Format} -> {scanResult.Value}";
    }

    private async Task<BarcodeResult> GetScanResultsAsync()
    {
        var cameraPage = new CameraPage();
        await Application.Current?.MainPage?.Navigation.PushModalAsync(cameraPage)!;

        return await cameraPage.WaitForResultAsync();
    }

I did not remove the Debug lines but hey, you know what it was for ;)

For anyone interested, there you go. Now I can use it in my ‘target’ nethod that retrieves the QR code value, appends the rest to make it a valid endpoint adress and finally send the POST request to that API endpoint. Happy Coding !

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Sławomir Majchrzak

79414653

Date: 2025-02-05 11:55:48
Score: 5.5
Natty: 4.5
Report link

do you have any info if this error is still occurring? I'm a QlikCloud admin and I'm evaluating a possible migration to MySql of my source database. Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2.5): do you have any
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: ilmatte

79414638

Date: 2025-02-05 11:47:45
Score: 3.5
Natty:
Report link

ensure that your __RequestVerificationToken is not disabled

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

79414623

Date: 2025-02-05 11:39:44
Score: 1
Natty:
Report link

I personally go about it like this:

  1. inbound/fba/2024-03-20/inboundPlans for inboundPlanId
  2. inbound/fba/2024-03-20/inboundPlans/{inboundplan_id} for shipmentId
  3. inbound/fba/2024-03-20/inboundPlans/{inboundPlan_id}/shipments/{shipment_id} for Shipping info and FBA id (shipmentConfirmationId)
  4. inbound/fba/2024-03-20/inboundPlans/{inboundPlan_id}/shipments/{shipment_id}/boxes for info about how many boxes and their contents.

Honestly to me the new endpoint seems unnecessarily difficult. I don't see how the inbound plans make it better.

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

79414619

Date: 2025-02-05 11:39:44
Score: 2
Natty:
Report link

You may try to use alternate in annotation. @SerializedName(value = "c", alternate = "name")

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

79414617

Date: 2025-02-05 11:38:43
Score: 1
Natty:
Report link

I just want to add that after much research, I've come to the conclusion that there is no way currently to write a constexpr offset() in C++ (at least with version 20 and below, no clue about the next version), as crazy as it might sound…

No solutions suggested above actually work because they all use reinterpret_cast which is forbidden in constexpr. Edit : and to be more specific, c style cast (raw cast) equivalent to reinterpret_cast are forbidden too, quite obviously…

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

79414613

Date: 2025-02-05 11:37:43
Score: 1.5
Natty:
Report link

implicit conversion from 'number' to 'string' XTORE SOFTWAEA STRATEGY.mq5 50 28 implicit conversion from 'number' to 'string' XTORE SOFTWAEA STRATEGY.mq5 82 28 implicit conversion from 'number' to 'string' XTORE SOFTWAEA STRATEGY.mq5 96 28 implicit conversion from 'number' to 'string' XTORE SOFTWAEA STRATEGY.mq5 106 28

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

79414605

Date: 2025-02-05 11:35:42
Score: 2
Natty:
Report link

Time Of Crash : 2025_02_05-17_44_06 Device Manufacturer: OPPO Device Model : CPH1909 Android Version : 8.1.0 Android SDK : 27 App VersionName : 4.4 App VersionCode : 4

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ทรงเกียรติ เเดนนาวาส

79414593

Date: 2025-02-05 11:33:41
Score: 1.5
Natty:
Report link

The problem is with the version code (the number after the + symbol), not the version name (the numbers before it). In Flutter/Android, the version code has to be unique and higher than any previous version you've uploaded to the Play Console.

No matter if it’s a major, minor, or patch update, the build number (version code) always needs to increase. This is because the Play Console relies on it to track releases and make sure updates are installed in the right order.

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

79414592

Date: 2025-02-05 11:33:40
Score: 11.5 🚩
Natty: 6
Report link

Could you provide a more detailed example? Thanks in advance!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2.5): Could you provide
  • RegEx Blacklisted phrase (3): Thanks in advance
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Andrés Ferreiro González

79414585

Date: 2025-02-05 11:30:39
Score: 4
Natty:
Report link

Taking the comments about a Timer in a stopwatch app into consideration, if you absolutely need to use the Timer in the class, you can mark it as @Transient and SwiftData will not persist it.

@Transient private var timer: Timer?
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Transient
  • Low reputation (1):
Posted by: Alun

79414571

Date: 2025-02-05 11:25:37
Score: 3.5
Natty:
Report link

doing that will make every child component render as a client component unfortunately

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

79414570

Date: 2025-02-05 11:24:37
Score: 0.5
Natty:
Report link

[The Legend of Zelda: Echoes of Wisdom][1]

To copy a specific table from the Hive

Export the Table from the Dev Environment: First, you'll need to extract the table data and its metadata from the dev environment. You can use Spark SQL along with Databricks utilities to achieve this.

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

79414562

Date: 2025-02-05 11:22:35
Score: 7.5 🚩
Natty:
Report link

Thanks, It solved.

I tried to create as below.

So, I changed as

Then, I could create new Instance!

How to create a serverless VPC with paid billing account while the free trial is active?

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Masaaki

79414556

Date: 2025-02-05 11:20:34
Score: 2.5
Natty:
Report link

You can go for some third party services and tools like Sentry, Loggly etc. Most of them have everything you would need. Takes care of performance monitoring, error tracking etc in production.

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

79414555

Date: 2025-02-05 11:20:34
Score: 3.5
Natty:
Report link

Use this docker image instead as base for your DockerFile https://github.com/shelfio/libreoffice-lambda-base-image

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

79414554

Date: 2025-02-05 11:20:34
Score: 4
Natty:
Report link

element.innerHTML = "";

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Kevin O.

79414546

Date: 2025-02-05 11:17:33
Score: 2.5
Natty:
Report link

Looks like the issue is with how the dynamic query is being formed in ADF. The error 'The template function 'iem' is not defined or not valid' suggests there might be a syntax issue in your expression. Make sure you're properly escaping the double quotes in your dynamic query. Try using @concat('"', variables('schema'), '"."', variables('table'), '"') to explicitly wrap the schema and table names in double quotes. Also, verify that there are no extra spaces or unexpected characters in the variable values. If you're using @{} syntax, double-check that all functions and variables are correctly referenced.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @concat
  • Single line (0.5):
  • Low reputation (1):
Posted by: Douglas Henrique

79414542

Date: 2025-02-05 11:16:32
Score: 0.5
Natty:
Report link

As someone who works with legacy projects, usually I works with mavenLocal() which I saved at .m2 cache during development.

here's the example in linux ubuntu

create cache using this path

/home/<user>/.m2/repository/com/google/android/exoplayer/exoplayer-core/<exoplayer_version>/<exoplayer_version>.pom

exoplayer 2.11.4 link

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

79414520

Date: 2025-02-05 11:07:30
Score: 0.5
Natty:
Report link

fixed by annotating with the following

@NoArgsConstructor
@AllArgsConstructor
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: user1555190

79414518

Date: 2025-02-05 11:06:30
Score: 1
Natty:
Report link

I think I used loop in loop example

<#list record.item as item>
<tr>
<#list item.item as itemRec>
        <td colspan="1" style="text-align: center;">
            <img src="${itemRec.custitem_atlas_item_image@url}" style="width: 50px; height: 50px;" />
        </td>
</#list>
</tr>
  </#list>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gaurav Darade

79414517

Date: 2025-02-05 11:05:28
Score: 6 🚩
Natty: 4.5
Report link

Im facing an issue where I’m unable to establish a connection between two peers. We have created a peer connection factory, but whenever I write code for the connection factory, Unreal Editor crashes.

Do you have any insights into what might be causing this issue? Any guidance would be greatly appreciated.

Reasons:
  • Blacklisted phrase (1): appreciated
  • RegEx Blacklisted phrase (2.5): Do you have any
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: swaraj patwari

79414503

Date: 2025-02-05 11:01:27
Score: 2
Natty:
Report link

-> Grant usage for schema2 at schema level TO schema1_select_group.

I figured GRANT USAGE should be enough since we didn't want the schema1 user to be able to select from view2 on schema2 directly.

-> Do not grant select privilege at table level in schema2 TO schema1_select_group.

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

79414481

Date: 2025-02-05 10:53:25
Score: 2.5
Natty:
Report link

Solution from @Kalind worked for me. If you don`t have firebase project attached, try make one and attach to your project. It would make API key and service account for itself, and consent screen would pass.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Kalind
  • Single line (0.5):
  • Low reputation (1):
Posted by: Won-Ho Lee

79414479

Date: 2025-02-05 10:52:25
Score: 2.5
Natty:
Report link

As Rob Spoor answered in comments, everything is correct, NotNull works before validator.

first each validation takes place without throwing any errors, then all validation errors are collected and wrapped in a single ConstraintViolationException. That's why it has a set of violations. That's why when implementing a constraint validator, the first step is to return true if the thing to validate is null. If it shouldn't be null then let @NotNull handle that.

Reasons:
  • No code block (0.5):
  • User mentioned (1): @NotNull
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Eugene_Z

79414467

Date: 2025-02-05 10:47:23
Score: 5.5
Natty:
Report link

I wonder what use are forums anymore if you don't even get a response? With ChatGPT's intervention, is everyone on vacation?

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

79414466

Date: 2025-02-05 10:47:23
Score: 2.5
Natty:
Report link

You can also disable inspection for this in PyCharm: File -> Settings -> Inspection -> Type "static" in Python -> Turn off "method is not delared static"

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