79463353

Date: 2025-02-24 11:29:06
Score: 9.5
Natty: 7.5
Report link

Where did you get this captcha image from?

Reasons:
  • RegEx Blacklisted phrase (3): did you get this
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Where did you
  • Low reputation (1):
Posted by: Kriti

79463338

Date: 2025-02-24 11:24:04
Score: 5
Natty:
Report link

Is it the DNS cache of your hosting provider or the DNS service that you are using? If you are sure that your records in the DNS it could be that just need some time to let the DNS to propagate. How long are you waiting for for it to take place?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Is it the
  • Low reputation (1):
Posted by: Raffaele Bertani

79463330

Date: 2025-02-24 11:22:04
Score: 5.5
Natty: 4.5
Report link

I have problems starting up the 2nd magic function for TensorBoard!

It seems to not exist on my environment for some reason!

Is there any alternative?

Reasons:
  • Blacklisted phrase (1): Is there any
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: MARKUS Meister

79463325

Date: 2025-02-24 11:20:02
Score: 10.5 🚩
Natty:
Report link

I am facing the same issue , did you find any solution

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): did you find any solution
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nasir

79463306

Date: 2025-02-24 11:12:00
Score: 4.5
Natty:
Report link

try:

GET https://api.linkedin.com/v2/userinfo Authorization: Bearer

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

79463261

Date: 2025-02-24 10:54:56
Score: 4.5
Natty: 5.5
Report link

bonjour, est ce que tu as trouvé une solution car j'ai trouvé le même problème avec aucun message dans le log? Merciii

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

79463221

Date: 2025-02-24 10:44:53
Score: 11 🚩
Natty: 5.5
Report link

I am facing the same issue. Did you find a solution?

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

79463198

Date: 2025-02-24 10:35:50
Score: 4.5
Natty:
Report link

Any chance you figured out the solution to this problem ?

I have a similar error message and my app will eventually produce a long error message about the cpu usage and the app will show and message saying "app is no longer responding". It then provides a "close app" or "wait" button option.

The app continues to work however.

Reasons:
  • No code block (0.5):
  • Me too answer (2.5): I have a similar error
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: BillBobJoy

79463167

Date: 2025-02-24 10:23:46
Score: 7.5
Natty: 7
Report link

i have a similar request, but the dropdown based on a dataverse Table (LookUp). Have you found a solution?

Reasons:
  • RegEx Blacklisted phrase (2.5): Have you found a solution
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Panba

79463122

Date: 2025-02-24 10:11:43
Score: 8.5
Natty: 7.5
Report link

same issues. have you resolved it? thanks.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • RegEx Blacklisted phrase (1.5): resolved it?
  • RegEx Blacklisted phrase (1): same issue
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: san zhang

79463117

Date: 2025-02-24 10:10:43
Score: 5
Natty:
Report link

Try to set in bconsole file ( ex : /etc/bacula/bconsole.conf) the IP address of your server.

Restart the services of fd daemons.

Best regards, Moustapha Kourouma

Reasons:
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Moustapha Kourouma

79463111

Date: 2025-02-24 10:08:42
Score: 5.5
Natty:
Report link

You already asked about this and got some replies. Did you read them?

I have an AMPl model, like an infeasible or unbounded problem. Set dualreductions=0 or iis=1 for definitive answer. 0 simplex iterations

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: marcos

79463108

Date: 2025-02-24 10:07:41
Score: 4.5
Natty: 4
Report link

emphasized text Money is just money

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

79463043

Date: 2025-02-24 09:49:36
Score: 5
Natty:
Report link

enter image description here

https://medium.com/@rampukar/laravel-modules-nwidart-install-and-configuration-9e577218555c

Follow this steps it will work you have to enable "wikimedia/composer-merge-plugin" to true

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Binod Shrestha

79463031

Date: 2025-02-24 09:41:33
Score: 13.5 🚩
Natty: 6.5
Report link

did you get any solution for this? I am facing same issue

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): did you get any solution
  • RegEx Blacklisted phrase (2): any solution for this?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (1):
Posted by: Himanshu Mehta

79462978

Date: 2025-02-24 09:24:27
Score: 8.5 🚩
Natty:
Report link

same issue, have you resolved it? Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (1.5): resolved it?
  • RegEx Blacklisted phrase (1): same issue
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: san zhang

79462976

Date: 2025-02-24 09:23:26
Score: 8.5 🚩
Natty:
Report link

oh! I need a too! please help me!

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (3): please help me
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: honey

79462955

Date: 2025-02-24 09:18:24
Score: 7 🚩
Natty:
Report link

It seems that the issue might be related to a JSON file. Could you please provide a screenshot of the error and the relevant logs? This will help us assist you more effectively.

Reasons:
  • RegEx Blacklisted phrase (2.5): Could you please provide
  • RegEx Blacklisted phrase (1): help us
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: AHHZ

79462924

Date: 2025-02-24 09:04:20
Score: 11 🚩
Natty: 6.5
Report link

Did you find a solution? because i'm having the same problem.

Reasons:
  • Blacklisted phrase (1): i'm having the same problem
  • RegEx Blacklisted phrase (3): Did you find a solution
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i'm having the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find a solution
  • Low reputation (1):
Posted by: Luis Fuertes Camporro

79462900

Date: 2025-02-24 08:54:17
Score: 4
Natty:
Report link

I think you should set JDK location for JDK which matches your system's version.

Maybe this question will help you: How to set Java SDK path in AndroidStudio?

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

79462842

Date: 2025-02-24 08:29:12
Score: 5
Natty:
Report link

Title: Why doesn't zerolog display the error field in console output?

I'm using zerolog in a Go application and trying to log errors. However, when I call .Err() on the logger, the error field doesn’t show up in the console output. Everything else logs correctly except the error itself.

Here’s how I set up the logger:

var (
    once sync.Once
    log  zerolog.Logger
)

func Get() zerolog.Logger {
    once.Do(func() {
        zerolog.ErrorStackMarshaler = pkgerrors.MarshalStack
        zerolog.TimeFieldFormat = time.RFC3339Nano

        var output io.Writer = zerolog.ConsoleWriter{
            Out:        os.Stdout,
            TimeFormat: time.RFC3339,
            FieldsExclude: []string{
                "user_agent",
                "git_revision",
                "go_version",
            },
        }

        var gitRevision string
        buildInfo, ok := debug.ReadBuildInfo()
        if ok {
            for _, v := range buildInfo.Settings {
                if v.Key == "vcs.revision" {
                    gitRevision = v.Value
                    break
                }
            }
        }

        logLevel := int(zerolog.InfoLevel)

        log = zerolog.New(output).
            Level(zerolog.Level(logLevel)).
            With().
            Stack().
            Caller().
            Timestamp().
            Str("git_revision", gitRevision).
            Str("go_version", buildInfo.GoVersion).
            Logger()

        zerolog.DefaultContextLogger = &log
    })

    return log
}

Then, in a route handler, I use the logger like this:

l = logger.Get()

reqIDRaw := middleware.GetReqID(r.Context())
l.Warn().
    Str("requestID", reqIDRaw).
    Str("method", r.Method).
    Str("url", r.URL.Path).
    Err(errors.Wrap(err, "bad request")).
    Msg("bad request")

The log output:

2025-02-24T10:02:35+03:00 WRN internal/services/response/error_response.go:43 > bad request method=POST requestID=Kengos-MacBook-Pro.local/0hS9QB33oG-000001 url=/v1/auth/register

The error field is completely missing from the output, even though I passed it with .Err().

I’ve tried adding FormatFieldName to the ConsoleWriter, but it still doesn’t show:

FormatFieldName: func(field string) string {
    if field == "error" {
        return field
    }
    return field
},

I also tried using FormatFieldValue, but no luck.

What I want:

I’d like the log output to include the error, like this:

error=bad request: some detailed error message

What am I missing? How do I make zerolog actually show the error field in console output?

Reasons:
  • Blacklisted phrase (1): How do I
  • Blacklisted phrase (1): no luck
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: KengoWada

79462828

Date: 2025-02-24 08:24:11
Score: 10
Natty: 8
Report link

Did you find your answer ?????

Reasons:
  • Blacklisted phrase (1): ???
  • RegEx Blacklisted phrase (3): Did you find your answer
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find you
  • Low reputation (0.5):
Posted by: Rosan Paudel

79462791

Date: 2025-02-24 08:06:05
Score: 8.5 🚩
Natty:
Report link

im getting the same problem, could you let me know how you overcame this issue please

Reasons:
  • RegEx Blacklisted phrase (2.5): could you let me know how you
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): getting the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: mojishi

79462785

Date: 2025-02-24 08:04:04
Score: 4
Natty:
Report link

do self content center may be it work

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

79462770

Date: 2025-02-24 07:58:03
Score: 4
Natty:
Report link

I found this on the Pythonanywhere forums: https://www.pythonanywhere.com/forums/topic/13776/#id_post_105423

This should resolve the issue

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

79462757

Date: 2025-02-24 07:53:01
Score: 4.5
Natty:
Report link

Can you please share meta-tag

< meta http-equiv="Content-Security-Policy" content="script-src 'self' http://localhost:3000; object-src 'none';">

Add If anything missed for your local dev.

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you please share me
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): Can you please share me
  • Low reputation (0.5):
Posted by: kirankumar

79462734

Date: 2025-02-24 07:43:59
Score: 5.5
Natty: 4.5
Report link

So have you fixed it? Going through same problem.

Reasons:
  • RegEx Blacklisted phrase (1.5): fixed it?
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: itsmeanil

79462730

Date: 2025-02-24 07:40:58
Score: 5
Natty:
Report link

As you can see in the documentation: GitHub Repo, Service Bus emulator isn't compatible with the community owned open source Service Bus Explorer...

I have the same problem as you. There is the possibility of using our own SQL server (and not using the default SQL Edge version, which will be deprecated in September 2025). I'm looking into the possibility of performing SQL queries directly in order to retrieve messages, but I haven't succeeded yet...

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Low reputation (1):
Posted by: Nicolas Terreaux

79462721

Date: 2025-02-24 07:37:57
Score: 5.5
Natty: 5.5
Report link

It doesn't work for me. The "Format on save" is already disabled in the first place

Reasons:
  • RegEx Blacklisted phrase (2): doesn't work for me
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Gerardo Zaguirre III

79462709

Date: 2025-02-24 07:32:55
Score: 4
Natty:
Report link

for those who tried all the solutions above but no luck, try to change the ownership of the installation folder to your account, it should work. I guess this permission things block some features in sql installation.

enter image description here

Reasons:
  • Blacklisted phrase (1): no luck
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: TienQuang

79462708

Date: 2025-02-24 07:31:54
Score: 10 🚩
Natty: 5.5
Report link

bro i am facing same problem can you help me

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): can you help me
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i am facing same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mrdrogo Shetty

79462663

Date: 2025-02-24 07:07:49
Score: 8
Natty: 8.5
Report link

Can you please share the full implementation of the createBook function with the latest data so that I can analyze the error and provide you with a solution?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you please share
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Can you please share the
  • Low reputation (1):
Posted by: Nada Mumtaz

79462662

Date: 2025-02-24 07:07:49
Score: 4
Natty: 4.5
Report link

nvidia-smi Failed to initialize NVML: GPU access blocked by the operating system I had all cuda and drivers installed . dmesg show a red tip: PCI: Fatal: No config space access function found Is it the problem?

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

79462648

Date: 2025-02-24 06:59:46
Score: 5.5
Natty:
Report link

please help double check that you're signed in to a tenant that has sideloading enabled. Once 'Custom App Upload' is enabled, it may take some time before this setting take effects. Let me know if you have any questions.

Reasons:
  • RegEx Blacklisted phrase (3): please help
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Huihui

79462618

Date: 2025-02-24 06:34:42
Score: 4
Natty:
Report link

Click for more information. dastyarkomak https://B2n.ir/e50160

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

79462596

Date: 2025-02-24 06:15:38
Score: 10.5 🚩
Natty: 5.5
Report link

I have the same issue did you could solve it?

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

79462587

Date: 2025-02-24 06:11:36
Score: 6 🚩
Natty:
Report link

I am new to the concept of two wheeled vehicles, so I started with a Kawasaki H2.....

Starting with your client, how do you know your kill()s are working? If the mysterious check_arguments() returned garbage, how would you know? Does the mysterious init_signal() actually work? How do you know?

Also, in your server, how do you know your kill()s are working?

Those are implementation basics; and you need to cross them out.

Next is, are you working on a flawed concept?

You are relying on signal queuing maintaining time order, which is an assumption worth examination. I think it is fair game for signals to be prioritized by identity; so if there are 4 queued signals for SIGUSR1 and 5 for SIGUSR2, the order you might observe them could be: 1,1,1,1,2,2,2,2,2 or 1,2,1,2,1,2,1,2,2 or 1,1,2,2,1,1,2,2,2

Even if you work out the strategy used by your particular implementation (linux a.b.c.d) might change it on a whim.

The H2 is a notoriously difficult bike to ride; yet was quite popular.

Asynchronous communication is notoriously difficult. Understanding why is an important exercise.

Reasons:
  • Blacklisted phrase (1): how would you
  • Blacklisted phrase (1): how do you
  • Blacklisted phrase (1): How do you
  • RegEx Blacklisted phrase (2.5): do you know your
  • RegEx Blacklisted phrase (1.5): I am new
  • RegEx Blacklisted phrase (2): working?
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-2):
Posted by: mevets

79462576

Date: 2025-02-24 06:05:34
Score: 5
Natty:
Report link

"Check this answer. It solves the problem when adding a watch app:"

https://stackoverflow.com/a/78056384/22267711

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Ragul PR

79462452

Date: 2025-02-24 04:26:16
Score: 4.5
Natty:
Report link

I reviewed the docs (https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-9.0#apply-a-render-mode-to-the-entire-app) and apparently had to add @rendermode="InteractiveServer" to the Routes and HeadOutlet elements in App.razor. I'm not entirely sure why this fixed it since my .razor was already using @rendermode InteractiveServer locally. Perhaps the rendermode needed to be set globally like that to support MudBlazor's components too? Not sure.

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: SoroushAU

79462327

Date: 2025-02-24 02:23:54
Score: 4.5
Natty: 4.5
Report link

for me the link below is working npx --yes @react-native-community/cli@next init --version "latest"

ref

https://microsoft.github.io/react-native-windows/docs/getting-started

Reasons:
  • Blacklisted phrase (1): the link below
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sadik Ibrahim

79462321

Date: 2025-02-24 02:16:52
Score: 4
Natty:
Report link

I followed @5ton3's approach of removing .gcloudignore from and adding the virtual env dir. to .gcloudignore. It also worked strangely enough.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @5ton3's
  • Single line (0.5):
  • Low reputation (1):
Posted by: Zaki

79462260

Date: 2025-02-24 01:17:41
Score: 4.5
Natty:
Report link

enter image description here

no troll why does my brick look like this?

from ursina import *
from ursina.prefabs.first_person_controller import FirstPersonController

app = Ursina()

player = FirstPersonController()
ground = Entity(model='plane', texture='grass', scale=20, collider='box')
house = Entity(model='cube', texture='brick', scale=2, collider='box')

app.run()
Reasons:
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: TheWorstOne

79462254

Date: 2025-02-24 01:14:40
Score: 5
Natty:
Report link

I have same issue in chorma only. I reslove this issued by Reactime26.1 extension use in react when i make it disabled its sloved the error i hope some one help

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have same issue
  • Low reputation (1):
Posted by: Payal Patel

79462248

Date: 2025-02-24 01:10:38
Score: 12.5 🚩
Natty: 4.5
Report link

Did you get any answer for this problem. Even i have a similar issue where i want to know which test case is covering a particular scenario , which is essentially a bug.

Reasons:
  • Blacklisted phrase (1): i want to know
  • RegEx Blacklisted phrase (3): Did you get any answer
  • RegEx Blacklisted phrase (1): i want
  • RegEx Blacklisted phrase (2): Even i have
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): i have a similar issue
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Geetika6

79462192

Date: 2025-02-24 00:11:28
Score: 9.5
Natty: 7
Report link

I want to Add Camera preview to my project ,but not in Xcode I want to do it on Swift play ground, can anyone guide me thru it ?

Reasons:
  • Blacklisted phrase (1): guide me
  • RegEx Blacklisted phrase (2.5): can anyone guide me
  • RegEx Blacklisted phrase (1): I want
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Vaibhav Kulkarni

79462146

Date: 2025-02-23 23:21:20
Score: 12.5 🚩
Natty: 5.5
Report link

Having the same problem, did you ever get this resolved?

Reasons:
  • RegEx Blacklisted phrase (3): did you ever get this resolved
  • RegEx Blacklisted phrase (1.5): resolved?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): Having the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dylan Wolf

79462115

Date: 2025-02-23 22:53:13
Score: 6 🚩
Natty:
Report link

Please can you give me the link where to find the Growatt API documentation

Reasons:
  • RegEx Blacklisted phrase (2.5): Please can you give me
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jorge Morocho

79461979

Date: 2025-02-23 21:14:53
Score: 4
Natty:
Report link

Please don’t react to these offer.

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

79461929

Date: 2025-02-23 20:30:44
Score: 9
Natty: 7.5
Report link

Exactly same issue, any solutions to this?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (2): any solutions to this?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Shiv Konar

79461909

Date: 2025-02-23 20:15:40
Score: 4
Natty:
Report link

they removed the dl link, 2025 week 8

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

79461889

Date: 2025-02-23 20:05:37
Score: 4.5
Natty:
Report link

I'm getting the error the question author says, but I'm not getting the error in the logs pointed here: https://code.visualstudio.com/docs/editor/settings-sync#_troubleshooting-keychain-issues. I followed your approach, but I have gnome-keyring running, I installed sudo apt install libsecret-1-0 libsecret-1-dev, and "security.workspace.trust.enabled" was already true. But I'm still getting the same error when trying to login to GitHub.

Reasons:
  • RegEx Blacklisted phrase (1): I'm getting the error
  • RegEx Blacklisted phrase (1): I'm still getting the same error
  • Has code block (-0.5):
  • Me too answer (2.5): getting the same error
  • Single line (0.5):
Posted by: David Torres

79461881

Date: 2025-02-23 20:00:36
Score: 4
Natty:
Report link

don’t react to these offer please.

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

79461859

Date: 2025-02-23 19:44:32
Score: 11 🚩
Natty: 6
Report link

did you solve the problem? i m facing the same issue when googling from digital ocean droplet. got 403. On terminal works

Reasons:
  • RegEx Blacklisted phrase (3): did you solve the problem
  • RegEx Blacklisted phrase (1.5): solve the problem?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): facing the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you solve the
  • Low reputation (1):
Posted by: erre4

79461852

Date: 2025-02-23 19:39:30
Score: 5
Natty: 6
Report link

Comment saisir un dropdown au clavier sur smartphone? Cordialement

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

79461826

Date: 2025-02-23 19:22:27
Score: 4
Natty:
Report link

If you wants to load llama model locally , you can check out this article where proper steps are mentioned.

Reasons:
  • Blacklisted phrase (1): this article
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jack

79461720

Date: 2025-02-23 18:05:12
Score: 4
Natty: 4
Report link

اسم رب الأسرة رباعغ عدلي علي احمد بشارة ،تاريخ الميلاد17/11/1994 شمال دارفور الفاشر السكن/الحي النخيل الرقم الوطني 19209321512،الهاتف +24990524507 عدد أفراد الأسرة 2،زوجةحاملة نعم،عدداطفال أقل من6اشهر لايوجد،عدداطفال أقل من 5اشهر لايوجد ،رقم بنكك2798117 , إسم صاحب رقم الحساب عدلي علي احمد بشارة ،رقم وطني صاحب الحساب 19209321512

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: Adli Ali

79461711

Date: 2025-02-23 18:02:10
Score: 6.5 🚩
Natty:
Report link

Any update on this? I am facing the same issue. Happens only for certain regions (numbers with certain country code - in my case Libyan numbers) and works as expected for numbers with other country codes.

Reasons:
  • Blacklisted phrase (1): update on this
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hamza Ali

79461601

Date: 2025-02-23 17:02:57
Score: 7.5 🚩
Natty:
Report link

Thank you so much for your help. More details are given below:

  1. No JavaScript Console Errors
  1. Data Attributes Appear in the Rendered HTML
  1. base.html Layout

base.html :

<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" th:fragment="layout(content)"
      xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
<head th:fragment="title">
    <meta charset="UTF-8">
    <title>StokSense</title>

    <!-- Bootstrap CSS -->
    <link rel="stylesheet"
          th:href="@{https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css}" />
    <!-- Bootstrap Icons -->
    <link rel="stylesheet"
          href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css" />
    <!-- Custom CSS -->
    <link rel="stylesheet" th:href="@{/css/custom.css}" />

    <style>
        html, body {
            height: 100%;
            margin: 0;
            padding: 0;
        }
        body {
            display: flex;
            flex-direction: column;
        }
        main {
            flex: 1;
        }
    </style>
</head>

<body
        th:with="
    currentUser=
      ${(#authentication != null and #authentication.name != 'anonymousUser')
        ? @userService.findByEmail(#authentication.name)
        : null}
  "
        th:classappend="${currentUser != null and currentUser.theme=='dark'} ? ' dark-mode' : ''"
>

<!-- NAVBAR -->
<header th:fragment="header">
    <nav class="navbar navbar-expand-lg navbar-light bg-light">
        <div class="container-fluid">
            <!-- Logo -->
            <a class="navbar-brand" th:href="@{/}">
                <i class="bi bi-box-seam me-1"></i> StokSense
            </a>
            <button class="navbar-toggler" type="button"
                    data-bs-toggle="collapse"
                    data-bs-target="#navbarNav"
                    aria-controls="navbarNav"
                    aria-expanded="false"
                    aria-label="Menu">
                <span class="navbar-toggler-icon"></span>
            </button>

            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav me-auto">
                    <!-- Ürünler -->
                    <li class="nav-item" sec:authorize="isAuthenticated()">
                        <a class="nav-link" th:text="#{menu.products}" th:href="@{/products}"></a>
                    </li>
                    <!-- Kategoriler -->
                    <li class="nav-item" sec:authorize="isAuthenticated()">
                        <a class="nav-link" th:text="#{menu.categories}" th:href="@{/categories}"></a>
                    </li>
                    <!-- Satın Alma -->
                    <li class="nav-item" sec:authorize="isAuthenticated()">
                        <a class="nav-link" th:text="#{menu.purchases}" th:href="@{/purchases}"></a>
                    </li>
                    <!-- Tedarikçiler -->
                    <li class="nav-item" sec:authorize="isAuthenticated()">
                        <a class="nav-link" th:text="#{menu.suppliers}" th:href="@{/suppliers}"></a>
                    </li>
                    <!-- Müşteriler -->
                    <li class="nav-item" sec:authorize="isAuthenticated()">
                        <a class="nav-link" th:text="#{menu.customers}" th:href="@{/customers}"></a>
                    </li>
                    <!-- Satış -->
                    <li class="nav-item" sec:authorize="isAuthenticated()">
                        <a class="nav-link" th:text="#{menu.sales}" th:href="@{/sales}"></a>
                    </li>
                    <!-- Raporlar -->
                    <li class="nav-item" sec:authorize="isAuthenticated()">
                        <a class="nav-link" th:text="#{menu.reports}" th:href="@{/reports}"></a>
                    </li>
                    <!-- Admin Panel -->
                    <li class="nav-item" sec:authorize="hasRole('ADMIN')">
                        <a class="nav-link" th:text="#{menu.adminPanel}" th:href="@{/admin/index}"></a>
                    </li>
                    <!-- Forecast -->
                    <li class="nav-item" sec:authorize="hasRole('ADMIN') or hasRole('PREMIUM')">
                        <a class="nav-link" th:text="#{menu.forecast}" th:href="@{/premium/forecast}"></a>
                    </li>
                    <!-- Kullanıcı Panelim -->
                    <li class="nav-item" sec:authorize="hasAnyRole('STANDARD','PREMIUM')">
                        <a class="nav-link" th:text="#{menu.dashboard}" th:href="@{/user/dashboard}"></a>
                    </li>
                    <!-- Plan Yükselt -->
                    <li class="nav-item" sec:authorize="hasRole('STANDARD')">
                        <a class="nav-link" th:text="#{menu.planUpgrade}" th:href="@{/user/plans}"></a>
                    </li>
                </ul>

                <!-- Sağ kısım (Giriş / Profil) -->
                <ul class="navbar-nav ms-auto">
                    <!-- Giriş -->
                    <li class="nav-item" sec:authorize="!isAuthenticated()">
                        <a class="nav-link" th:href="@{/login}" th:text="#{menu.login}"></a>
                    </li>
                    <!-- Kayıt -->
                    <li class="nav-item" sec:authorize="!isAuthenticated()">
                        <a class="nav-link" th:href="@{/register}" th:text="#{menu.register}"></a>
                    </li>

                    <!-- Dil Seçimi (icon ekledik) -->
                    <li class="nav-item dropdown">
                        <a class="nav-link dropdown-toggle"
                           href="#"
                           role="button"
                           data-bs-toggle="dropdown"
                           aria-expanded="false">
                            <i class="bi bi-translate me-1"></i>
                            Dil Seçenekleri
                        </a>
                        <ul class="dropdown-menu dropdown-menu-end">
                            <li>
                                <a class="dropdown-item" href="?lang=tr">Türkçe</a>
                            </li>
                            <li>
                                <a class="dropdown-item" href="?lang=en">English</a>
                            </li>
                        </ul>
                    </li>

                    <!-- Profil Dropdown (giriş yapmış) -->
                    <li class="nav-item dropdown" sec:authorize="isAuthenticated()">
                        <a class="nav-link dropdown-toggle" href="#"
                           role="button" data-bs-toggle="dropdown"
                           aria-expanded="false"
                           th:text="#{menu.profile}"></a>
                        <ul class="dropdown-menu dropdown-menu-end">
                            <li>
                                <a class="dropdown-item" th:href="@{/profile}">
                                    <i class="bi bi-gear-wide-connected me-1"></i>
                                    [[#{menu.profile}]]
                                </a>
                            </li>
                            <li>
                                <form th:action="@{/logout}" method="post" class="m-0">
                                    <button class="dropdown-item" type="submit">
                                        <i class="bi bi-box-arrow-right me-1"></i>
                                        [[#{menu.logout}]]
                                    </button>
                                </form>
                            </li>
                        </ul>
                    </li>
                </ul>

            </div>
        </div>
    </nav>
</header>

<main>

    <div th:replace="${content}"></div>
</main>

<!-- FOOTER -->
<footer class="bg-light text-center text-lg-start mt-5" th:fragment="footer">
    <div class="text-center p-3">
        [[#{footer.copyright}]]
    </div>
</footer>

<!-- Bootstrap JS -->
<script th:src="@{https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js}"></script>

</body>
</html>

4. Order Form Template

order-form.html :

<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Ön Sipariş Oluştur - Naaaa</title>

</head>
<body th:replace="~{base :: layout(~{::content})}">


<div th:fragment="content" class="container mt-4">
    <h2>Ön Sipariş Oluştur</h2>

    <!-- Basit form (Spring MVC) -> method="post" -->
    <form th:action="@{/orders/save}"
          th:object="${order}"
          method="post"
          class="needs-validation"
          novalidate>

        <!-- Sipariş ID (hidden) -->
        <input type="hidden" th:field="*{id}" />

        <!-- Müşteri Seçimi -->
        <div class="mb-3">
            <label for="customerSelect" class="form-label">Müşteri Seçiniz</label>
            <select id="customerSelect"
                    th:field="*{customer.id}"
                    class="form-select"
                    required>
                <option value="" disabled selected>Seçiniz</option>
                <option th:each="c : ${customers}"
                        th:value="${c.id}"
                        th:text="${c.name}">
                </option>
            </select>
            <div class="invalid-feedback">Lütfen bir müşteri seçiniz.</div>
        </div>

        <!-- Ürün Seçimi -->
        <div class="mb-3">
            <label for="productSelect" class="form-label">Ürün Seçiniz</label>
            <select id="productSelect"
                    th:field="*{product.id}"
                    class="form-select"
                    required>
                <option value="" disabled selected>Seçiniz</option>
                <!--
                  data-price: Her ürünün "price" değerini HTML5 data attribute olarak tutuyoruz.
                  Seçilen üründe bu attribute'u JS ile okuyup "Net Birim Fiyat" alanına set edeceğiz.
                -->
                <option th:each="p : ${products}"
                        th:value="${p.id}"
                        th:attr="data-price=${p.price}"
                        th:text="${p.name}">
                </option>
            </select>
            <div class="invalid-feedback">Lütfen bir ürün seçiniz.</div>
        </div>

        <!-- Net Birim Fiyat -->
        <div class="mb-3">
            <label for="netUnitPrice" class="form-label">Net Birim Fiyat</label>
            <input type="number"
                   step="0.01"
                   th:field="*{netUnitPrice}"
                   class="form-control"
                   id="netUnitPrice"
                   placeholder="The price of the selected product will appear automatically"
                   required />
            <div class="invalid-feedback">Net birim fiyat alanı zorunlu.</div>
        </div>


        <div class="mb-3">
            <label for="taxRate" class="form-label">Vergi Oranı</label>
            <input type="number"
                   step="0.01"
                   th:field="*{taxRate}"
                   class="form-control"
                   id="taxRate"
                   placeholder="0.18 => %18"
                   required />
            <div class="invalid-feedback">Lütfen geçerli bir vergi oranı giriniz.</div>
        </div>

        <!-- Miktar -->
        <div class="mb-3">
            <label for="quantity" class="form-label">Miktar (Adet)</label>
            <input type="number"
                   th:field="*{quantity}"
                   class="form-control"
                   id="quantity"
                   value="1"
                   min="1"
                   required />
            <div class="invalid-feedback">En az 1 adet olmalıdır.</div>
        </div>

      
        <button type="submit" class="btn btn-primary">Kaydet</button>
        <a th:href="@{/orders/my}" class="btn btn-secondary">İptal</a>
    </form>
</div> 

<!-- JS (Bootstrap ve script) -->
<script th:src="@{https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js}"></script>
<script>
    
    (function () {
        'use strict';
        const forms = document.querySelectorAll('.needs-validation');
        Array.from(forms).forEach(form => {
            form.addEventListener('submit', function (event) {
                if (!form.checkValidity()) {
                    event.preventDefault();
                    event.stopPropagation();
                }
                form.classList.add('was-validated');
            }, false);
        });
    })();

    
    document.addEventListener('DOMContentLoaded', function() {
        const productSelect = document.getElementById('productSelect');
        const netPriceInput = document.getElementById('netUnitPrice');

        productSelect.addEventListener('change', function() {
           
            const selectedOption = productSelect.options[productSelect.selectedIndex];
           
            const price = selectedOption.getAttribute('data-price');
            
            if (price) {
                netPriceInput.value = price;
            }
        });
    });
</script>
</body>
</html>

5. Behavior Observed

6. Browser / Tools

Maybe you want to see it;

OrderController.java :

package com.stoksense.controller;

import com.stoksense.model.*;
import com.stoksense.service.*;
import org.springframework.security.core.Authentication;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.*;

import java.time.LocalDateTime;
import java.util.List;


@Controller
@RequestMapping("/orders")
public class OrderController {

    private final OrderService orderService;
    private final ProductService productService;
    private final CustomerService customerService;
    private final UserService userService;
    private final SaleService saleService;

    public OrderController(OrderService orderService,
                           ProductService productService,
                           CustomerService customerService,
                           UserService userService,
                           SaleService saleService) {
        this.orderService = orderService;
        this.productService = productService;
        this.customerService = customerService;
        this.userService = userService;
        this.saleService = saleService;
    }


    @GetMapping("/my")
    public String myOrders(Authentication auth, Model model) {
        User user = userService.findByEmail(auth.getName());
        if (user == null) {
            return "redirect:/login?notAllowed";
        }
        // Customer
        Customer cust = customerService.findByEmail(user.getEmail());
        if (cust == null) {
            model.addAttribute("orders", List.of());
            return "orders/my-orders";
        }
        // siparişleri al
        List<Order> orders = orderService.getOrdersByCustomer(cust);
        model.addAttribute("orders", orders);
        return "orders/my-orders";
    }


    @GetMapping("/add")
    public String showAddOrderForm(Model model, Authentication auth) {
        Order order = new Order();
        order.setOrderDate(LocalDateTime.now());
        order.setStatus(OrderStatus.PENDING);

        // Giriş yapan user => Customer
        User user = userService.findByEmail(auth.getName());
        if (user != null) {
            Customer c = customerService.findByEmail(user.getEmail());
            if (c != null) {
                order.setCustomer(c);
            }
          
            List<Product> userProducts = productService.getAllProductsByEmail(user.getEmail());
            model.addAttribute("products", userProducts);
        } else {
            model.addAttribute("products", List.of());
        }

        
        model.addAttribute("customers", customerService.getAllCustomers());
        model.addAttribute("order", order);

        return "orders/order-form"; // templates/orders/order-form.html
    }


    @PostMapping("/save")
    public String saveOrder(@ModelAttribute("order") Order order,
                            Authentication auth) {

        User user = userService.findByEmail(auth.getName());
        if (user == null) {
            return "redirect:/login?notAllowed";
        }

        // Müşteri atanmamışsa
        if (order.getCustomer() == null || order.getCustomer().getId() == null) {
            Customer c = customerService.findByEmail(user.getEmail());
            if (c == null) {
                return "redirect:/orders/my?noCustomer";
            }
            order.setCustomer(c);
        }

        // Ürün stok kontrol & stok düş
        if (order.getProduct() != null && order.getProduct().getId() != null) {
            Product p = productService.getProductById(order.getProduct().getId()).orElse(null);
            if (p == null) {
                return "redirect:/orders/my?productNotFound";
            }
            if (p.getStockQuantity() < order.getQuantity()) {
                return "redirect:/orders/my?insufficientStock";
            }
            p.setStockQuantity(p.getStockQuantity() - order.getQuantity());
            productService.saveProduct(p);

            // netUnitPrice boşsa => product.price
            if (order.getNetUnitPrice() == null || order.getNetUnitPrice() == 0) {
                order.setNetUnitPrice(p.getPrice());
            }
        }

        // totalAmount
        double net = (order.getNetUnitPrice() != null) ? order.getNetUnitPrice() : 0;
        double tax = (order.getTaxRate() != null) ? order.getTaxRate() : 0;
        int qty = (order.getQuantity() != null) ? order.getQuantity() : 1;
        double total = (net * qty) * (1 + tax);
        order.setTotalAmount(total);

        // Durum => PENDING
        if (order.getStatus() == null) {
            order.setStatus(OrderStatus.PENDING);
        }

        orderService.save(order);
        return "redirect:/orders/my?created";
    }


    @GetMapping("/complete/{id}")
    public String completeOrder(@PathVariable("id") Long id, Authentication auth) {
        Order order = orderService.getOrderById(id);
        if (order == null) {
            return "redirect:/orders/my?notfound";
        }
        User user = userService.findByEmail(auth.getName());
        if (user == null) {
            return "redirect:/login?error";
        }
        Customer cust = customerService.findByEmail(user.getEmail());
        if (cust == null || !order.getCustomer().getId().equals(cust.getId())) {
            return "redirect:/orders/my?unauthorized";
        }

        if (order.getStatus() != OrderStatus.CONFIRMED) {
            order.setStatus(OrderStatus.CONFIRMED);
            orderService.save(order);

            // Satışa dönüştür
            saleService.createSaleFromOrder(order);
        }

        return "redirect:/orders/my?completed";
    }

}

ProductController.java :

package com.stoksense.controller;

import com.stoksense.model.Product;
import com.stoksense.service.CategoryService;
import com.stoksense.service.ProductService;
import com.stoksense.service.UserService;
import org.springframework.security.core.Authentication;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.*;

import java.util.List;


@Controller
@RequestMapping("/products")
public class ProductController {

    private final ProductService productService;
    private final UserService userService;
    private final CategoryService categoryService;

    public ProductController(ProductService productService,
                             UserService userService,
                             CategoryService categoryService) {
        this.productService = productService;
        this.userService = userService;
        this.categoryService = categoryService;
    }

    @GetMapping
    public String listProducts(@RequestParam(value = "search", required = false) String search,
                               Model model,
                               Authentication authentication) {
        // Eskisi gibi ürün liste mantığı
        if (authentication == null) {
            model.addAttribute("products", List.of());
            return "product-list";
        }
        String email = authentication.getName();
        var products = productService.getAllProductsByEmail(email);

        if (search != null && !search.trim().isEmpty()) {
            String lower = search.trim().toLowerCase();
            products = products.stream()
                    .filter(p -> p.getName() != null &&
                            p.getName().toLowerCase().contains(lower))
                    .toList();
            model.addAttribute("search", search);
        }

        long totalUserProducts = productService.countAllProductsByEmail(email);
        long totalStock = products.stream().mapToLong(Product::getStockQuantity).sum();
        double averagePrice = 0.0;
        if (!products.isEmpty()) {
            double sumPrices = products.stream()
                    .mapToDouble(p -> (p.getPrice() != null ? p.getPrice() : 0.0))
                    .sum();
            averagePrice = sumPrices / products.size();
        }

        model.addAttribute("products", products);
        model.addAttribute("totalUserProducts", totalUserProducts);
        model.addAttribute("totalStock", totalStock);
        model.addAttribute("averagePrice", averagePrice);

        return "product-list";
    }

    /**
     * GET /products/add
     * Yeni ürün ekleme formu (Kategorileri de modele ekleyelim).
     */
    @GetMapping("/add")
    public String showAddProductForm(Model model, Authentication authentication) {
        model.addAttribute("product", new Product());

        // Kullanıcının kategorilerini bul
        if (authentication != null) {
            var user = userService.findByEmail(authentication.getName());
            if (user != null) {
                // Tüm kategoriler
                var categories = categoryService.getAllCategoriesByEmail(user.getEmail());
                model.addAttribute("categories", categories);
            } else {
                model.addAttribute("categories", List.of());
            }
        } else {
            model.addAttribute("categories", List.of());
        }

        return "product-form";
    }

    @PostMapping("/save")
    public String saveProduct(@ModelAttribute("product") Product product,
                              Authentication authentication) {

        if (authentication != null) {
            var user = userService.findByEmail(authentication.getName());
            product.setOwner(user);
        }

        productService.saveProduct(product);
        return "redirect:/products?success";
    }

    /**
     * GET /products/edit/{id}
     * Düzenleme formu (Kategori listesi de ekleyelim).
     */
    @GetMapping("/edit/{id}")
    public String showEditProductForm(@PathVariable("id") Long id,
                                      Model model,
                                      Authentication authentication) {
        var opt = productService.getProductById(id);
        if (opt.isEmpty()) {
            return "redirect:/products?notfound";
        }
        Product product = opt.get();
        model.addAttribute("product", product);

        // Kullanıcının kategorilerini bul
        if (authentication != null) {
            var user = userService.findByEmail(authentication.getName());
            if (user != null) {
                var categories = categoryService.getAllCategoriesByEmail(user.getEmail());
                model.addAttribute("categories", categories);
            } else {
                model.addAttribute("categories", List.of());
            }
        } else {
            model.addAttribute("categories", List.of());
        }

        return "product-form";
    }

    @GetMapping("/delete/{id}")
    public String deleteProduct(@PathVariable("id") Long id) {
        productService.deleteProduct(id);
        return "redirect:/products?deleted";
    }

    @GetMapping("/bulk-update")
    public String showBulkUpdateForm(Model model, Authentication authentication) {
        if (authentication == null) {
            model.addAttribute("products", List.of());
            return "bulk-update";
        }
        var user = userService.findByEmail(authentication.getName());
        var products = productService.getAllProductsByEmail(user.getEmail());
        model.addAttribute("products", products);
        return "bulk-update";
    }

    @PostMapping("/bulk-update")
    public String processBulkUpdate(@RequestParam("productIds") List<Long> productIds,
                                    @RequestParam("newStock") List<Integer> newStockValues) {
        for (int i = 0; i < productIds.size(); i++) {
            productService.updateStockQuantity(productIds.get(i), newStockValues.get(i));
        }
        return "redirect:/products?bulkUpdated";
    }
}

Thank you very much in advance for your help, if there is anything else you would like to see, please let me know.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): no luck
  • RegEx Blacklisted phrase (2.5): please let me know
  • RegEx Blacklisted phrase (3): Thank you very much in advance
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Rosicky

79461586

Date: 2025-02-23 16:55:55
Score: 5.5
Natty: 5
Report link

I don't have enough reputation to comment. As another person said, I also resolved this problem on Thonny/Pico by removing "freq = 40000' from the I2C object statement.

Reasons:
  • Blacklisted phrase (1): to comment
  • RegEx Blacklisted phrase (1.5): I don't have enough reputation to comment
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Charles Brombaugh

79461581

Date: 2025-02-23 16:54:54
Score: 7.5 🚩
Natty: 5
Report link

I'm having the same issue but with C#. Should I assume that this isn't a bug, but that it's just not supported yet in the C# extension?

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

79461572

Date: 2025-02-23 16:49:53
Score: 5.5
Natty: 4.5
Report link

I am facing the same problem. en_US language works fine. My template is in another language, approved by Meta for the test given telephone number. The issue should be for the demo telephone number is tight to the English (en_US) language.

Reasons:
  • Blacklisted phrase (1): m facing the same problem
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same problem
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Carlos Mendez Comas

79461551

Date: 2025-02-23 16:34:48
Score: 7 🚩
Natty: 5.5
Report link

Файл написан кириллицей та же ошибка, надо переименовать в латиницу

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: Роман Сергеев

79461549

Date: 2025-02-23 16:34:48
Score: 5
Natty: 5.5
Report link

Anyone now if it is possible to get the click callback link on this windows toast notification ?

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

79461538

Date: 2025-02-23 16:27:46
Score: 4
Natty: 4.5
Report link

Here's a nice description from Microsoft on that topic: https://learn.microsoft.com/en-us/previous-versions/office/troubleshoot/office-developer/set-up-vb-project-using-class

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

79461498

Date: 2025-02-23 16:06:41
Score: 7.5 🚩
Natty: 6
Report link

Sorry, no answer, but I am having a similar problem. I am trying to use adafruit-blinka on a Pi Zero W. Starting from a clean SD card I have installed the Rpi OS and I have done a manual blinky install as documented by Adafruit.

I am using a virtual environment. If I run a python3 "shell" then import board and dir(board) seem to work just fine.

If I create a python script containing "import board" it fails reporting "module board not found".

Any Clues, Cheers

Reasons:
  • Blacklisted phrase (1): Cheers
  • Blacklisted phrase (1): I am having a similar problem
  • Blacklisted phrase (1): I am trying to
  • No code block (0.5):
  • Me too answer (2.5): I am having a similar problem
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: David Whiteley

79461386

Date: 2025-02-23 14:29:21
Score: 6.5 🚩
Natty:
Report link

I hope everyone is fine. I also searched on stackoverflow but couldn't find it. Or maybe I didn't call correctly. I cannot send the reordering here to the back-end. I added SS. I would be very happy if you could help. I couldn't find where I made a mistake.

I added ss

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Blacklisted phrase (0.5): I cannot
  • RegEx Blacklisted phrase (3): you could help
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: İbrahim OKUYUCU

79461355

Date: 2025-02-23 14:07:16
Score: 4
Natty:
Report link

I handle gamebutton presses in my bar.

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

79461349

Date: 2025-02-23 14:05:15
Score: 4
Natty:
Report link

https://developer.android.com/about/versions/15/behavior-changes-15#ux The easiest and temporary workaround is to target Android 14.

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

79461298

Date: 2025-02-23 13:34:09
Score: 4
Natty:
Report link

I jave just found prop-types are no longer validated in React 19.

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

79461261

Date: 2025-02-23 13:10:04
Score: 4
Natty:
Report link

The crash in iOS 12 is solved by setting the Optimization Level from "Optimize for Speed" to "No Optimizaiton"enter image description here

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

79461248

Date: 2025-02-23 13:01:01
Score: 11 🚩
Natty: 5.5
Report link

facing same issue! did you find solution for this?

Reasons:
  • RegEx Blacklisted phrase (3): did you find solution
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): facing same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Harshvardhan Mohite

79461232

Date: 2025-02-23 12:50:58
Score: 4.5
Natty:
Report link

The answer was defineSlots

Updated playground

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

79461218

Date: 2025-02-23 12:35:54
Score: 4
Natty:
Report link

As a last resort, reboot your computer.

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

79461210

Date: 2025-02-23 12:28:53
Score: 4.5
Natty:
Report link

I have fixed it now... all I needed to do was to reinstall godot-cpp.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sekaus

79461188

Date: 2025-02-23 12:12:49
Score: 5
Natty:
Report link

Everyone

Option to choose table is good and it work absolutely correct but didn't work correctly when my table header height is too large it just stop printing header from the next page.

I read about this and found the the height of the header to work correctly is about 234 px and above that it will not get printed from the next page this is default behaviour of the browser bit how do I surpass thia I don't want to put and height contrain on my header height

Thank in advance for the solution

Reasons:
  • Blacklisted phrase (1): how do I
  • RegEx Blacklisted phrase (3): Thank in advance
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Shivam Singhal

79461163

Date: 2025-02-23 11:51:45
Score: 6.5 🚩
Natty: 5.5
Report link

Since I have the same problem I wonder you were able to fix the problem, and if so how :-)

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Julien van Burk

79461159

Date: 2025-02-23 11:45:43
Score: 4.5
Natty:
Report link

I tried the recommendations, and it's even worse. I had to rewrite the whole thing enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Alex Berlev

79461147

Date: 2025-02-23 11:29:40
Score: 5
Natty:
Report link

Follow This: https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/studio-versions and go back a version.

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

79461143

Date: 2025-02-23 11:26:39
Score: 9.5 🚩
Natty:
Report link

@LoicTheAztec Sorry, but my client was on a trip and I couldn't test the comments. Can you please send the comment that was deleted?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you please send
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @LoicTheAztec
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: MyAccount

79461109

Date: 2025-02-23 11:04:34
Score: 4
Natty:
Report link

Iph[

]1

Reasons:
  • Blacklisted phrase (0.5): enter link description here
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mamour Mbaye

79461054

Date: 2025-02-23 10:27:26
Score: 4
Natty:
Report link

It might be bugged in an update process by Microsoft, creating a new environment pointing to the newest version allows me coding again:

enter image description here

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

79461031

Date: 2025-02-23 10:10:21
Score: 12 🚩
Natty:
Report link

I'm also getting the same error. Can anyone help me with this issue to resolve?

The "pkceCodeVerifier value could not be parsed" issue occurs when a user accepts an invitation. However, for normal sign-in or sign-up, it works fine.

I have created a regular app in Auth0 and also set all the required URLs.

Below is the code for the NextAuth configuration file and provider configuration for Auth0:

const authConfig = {
  debug: true, // Enabled because we are in development
  providers: [
    Auth0Provider({
      clientId: process.env.AUTH0_CLIENT_ID,
      clientSecret: process.env.AUTH0_CLIENT_SECRET,
      issuer: process.env.AUTH0_ISSUER,
      authorization: {
        params: {
          prompt: "login",
        },
      },
    }),
  ],
  adapter: DrizzleAdapter(db, {
    usersTable: users,
    accountsTable: accounts,
    sessionsTable: sessions,
    verificationTokensTable: verificationTokens,
  }),
  callbacks: {
    async signIn({ user, account, profile }: ISigninAuth0) {
      const updates: IUpdateUser = {};

      if (profile?.email_verified && !user?.emailVerified) {
        updates.emailVerified = new Date();
      }

      if (Object.keys(updates).length > 0) {
        await updateUserByEmail(user.email!, updates);
      }
      return true;
    },
    session: async ({ session, user }) => {
      const userData = await getUser(user.id);
      if (!userData) {
        throw new Error("User data not found");
      }
      return {
        ...session,
        user: {
          id: user.id,
          ...{
            name: userData.name,
            email: userData.email,
            emailVerified: userData.emailVerified,
          }
        },
      };
    },
  },
  trustHost: true,
} satisfies NextAuthConfig;


const { auth: uncachedAuth, handlers, signIn, signOut } = NextAuth(authConfig);

const auth = cache(uncachedAuth);

export { auth, handlers, signIn, signOut };

Organization admin invites user to join the organization by using Auth0 management API.

POST  /api/v2/organizations/{id}/invitations
Body: {
  "inviter": {
    "name": "string"
  },
  "invitee": {
    "email": "[email protected]"
  },
  "client_id": "string",
  "user_metadata": {},
  "ttl_sec": 0,
  "roles": [
    "string"
  ],
  "send_invitation_email": true
}

The user receives an email with a link to join the organization. The user clicks on the link (which looks like https://example.com/api/authorize?invitation={invitation_id}&organization={organization_id}) and is redirected to our website.

There, we extract the invitation_id and organization_id from the query params and generate a new invitation link with the following code:

const baseUrl = `https://myauth0domain.com/authorize`;
const url = new URL(baseUrl);
url.searchParams.append("response_type", "code");
url.searchParams.append("client_id", clientId);
url.searchParams.append("redirect_uri", redirectUri);
url.searchParams.append("invitation", invitation);
url.searchParams.append("organization", organizationId);
url.searchParams.append("scope", "openid profile email");
const finalUrl = url.toString();
return NextResponse.redirect(new URL(finalUrl as string, baseURL));

The user is then redirected to the Auth0 login page, and after successful login, the user is redirected back to our website with the code in the query params. However, I get the error "pkceCodeVerifier can not be parsed," and the user is not logged in. I have checked the logs in Auth0, and all logs are fine. I'm using the regular Auth0 application, and the pkceCodeVerifier flow is handled by Auth0 itself in regular application.

I have also passed the code challenge, code challenge method, and state in the URL but am still getting the same error. Below is the code for the same:

Ref to create code verifier and code challenge: https://auth0.com/docs/get-started/authentication-and-authorization-flow/authorization-code-flow-with-pkce/add-login-using-the-authorization-code-flow-with-pkce#create-code-verifier

// code verifier
function base64URLEncode(str: any) {
  return str.toString('base64')
      .replace(/\+/g, '-')
      .replace(/\//g, '_')
      .replace(/=/g, '');
}
const verifier = base64URLEncode(crypto.randomBytes(32));


//  code challenge
function sha256(buffer) {
  return crypto.createHash('sha256').update(buffer).digest();
}
const  challenge = base64URLEncode(sha256(verifier));
url.searchParams.append('code_challenge', challenge);
url.searchParams.append('code_challenge_method', 'S256');
url.searchParams.append('state', state);

I have also tried to set the cookie options in the NextAuth configuration file but am still getting the same error. Below is the code for the same:

cookies: {
  pkceCodeVerifier: {
    name: "authjs.pkce.code_verifier",
    options: {
      httpOnly: true,
      sameSite: "none",
      path: "/",
      secure: true,  // Set to true in production
    },
  },
},

I have also added the code verifier in the cookies below is the code

const baseUrl = `https://myauth0domain.com/authorize`;
const url = new URL(baseUrl);
url.searchParams.append("response_type", "code");
url.searchParams.append("client_id", clientId);
url.searchParams.append("redirect_uri", redirectUri);
url.searchParams.append("invitation", invitation);
url.searchParams.append("organization", organizationId);
url.searchParams.append("scope", "openid profile email");
const finalUrl = url.toString();
const response = NextResponse.redirect(new URL(finalUrl as string, baseURL));
const cookieOptions = {
        httpOnly: true,
        secure: false,
        maxAge: 900, // 15 minutes
        path: '/',
      };

response.headers.set(
  'Set-Cookie',
  serialize('authjs.pkce.code_verifier', verifier, cookieOptions)
);
return response

Simple signUp/signIn Works fine but when I try to log in with the invitation link then i get the error.

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (1.5): resolve?
  • RegEx Blacklisted phrase (3): Can anyone help me
  • RegEx Blacklisted phrase (1): I'm also getting the same error
  • RegEx Blacklisted phrase (1): I get the error
  • RegEx Blacklisted phrase (1): am still getting the same error
  • RegEx Blacklisted phrase (1): i get the error
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): I'm also getting the same error
  • Me too answer (0): getting the same error
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: anuj

79461029

Date: 2025-02-23 10:09:20
Score: 4
Natty:
Report link

in later version there is a thing called sync project that should resolve it enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: DHEERAJ

79461018

Date: 2025-02-23 10:00:18
Score: 12.5
Natty: 8.5
Report link

Did you figure out a solution for this? If yes can you please share it here? thanks

Reasons:
  • Blacklisted phrase (0.5): thanks
  • RegEx Blacklisted phrase (2.5): can you please share
  • RegEx Blacklisted phrase (3): Did you figure out a solution
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: CommerceUser

79460979

Date: 2025-02-23 09:30:11
Score: 5
Natty: 5
Report link

Somebody has been tested this on a repeatable field?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Quique García Cruz

79460919

Date: 2025-02-23 08:45:01
Score: 4.5
Natty:
Report link

Thank you very much. I found that error was because I needed to have the compatible version between React/Chakra. I finilly used the 18.2.2 version React and 2.8.0 Chakra version.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Anna Pons

79460908

Date: 2025-02-23 08:29:58
Score: 6.5
Natty: 7.5
Report link

How can I have all the programmed code together?

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): How can I have
  • Low reputation (1):
Posted by: Iraj AkbariSohi

79460903

Date: 2025-02-23 08:27:57
Score: 4
Natty:
Report link

simply you can visit - https://base64pdf.com and you can convert your base64 to pdf and pdf to base64 data uri here you can also decode encode pdf files. base64pdf

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

79460900

Date: 2025-02-23 08:22:56
Score: 4.5
Natty: 4
Report link

Please explain your question? Are you trying to change default.xml and use yaml or anything else.

This is currently not possible as default.xml and other xml files are for keeping the configurations.

But if you want to change json or yaml input in request body to any other form like xml that is possible with an use JavaScript, transformers like xml transformer etc. for this.

You can respond to this thread with explanation. Feel free to contact.

Reasons:
  • RegEx Blacklisted phrase (2.5): Please explain your question
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Sandip Mandal

79460836

Date: 2025-02-23 07:28:44
Score: 4
Natty: 4.5
Report link

This issue has been fixed in Flutter 3.29.0, which was released to the stable channel. https://github.com/flutter/flutter/issues/160442#issuecomment-2627839218

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

79460763

Date: 2025-02-23 06:11:29
Score: 10 🚩
Natty:
Report link

I'm also getting the same error. Can anyone help me with this issue?

The "pkceCodeVerifier value could not be parsed" issue occurs when a user accepts an invitation. However, for normal sign-in or sign-up, it works fine.

I have created a regular app in Auth0 and also set all the required URLs as referenced in the screenshot below.

enter image description here


I have also set the type of users in the Auth0 application.

enter image description here

Below is the code for the NextAuth configuration file and provider configuration for Auth0:

const authConfig = {
  debug: true, // Enabled because we are in development
  providers: [
    Auth0Provider({
      clientId: process.env.AUTH0_CLIENT_ID,
      clientSecret: process.env.AUTH0_CLIENT_SECRET,
      issuer: process.env.AUTH0_ISSUER,
      authorization: {
        params: {
          prompt: "login",
        },
      },
    }),
  ],
  adapter: DrizzleAdapter(db, {
    usersTable: users,
    accountsTable: accounts,
    sessionsTable: sessions,
    verificationTokensTable: verificationTokens,
  }),
  callbacks: {
    async signIn({ user, account, profile }: ISigninAuth0) {
      const updates: IUpdateUser = {};

      if (profile?.email_verified && !user?.emailVerified) {
        updates.emailVerified = new Date();
      }

      if (Object.keys(updates).length > 0) {
        await updateUserByEmail(user.email!, updates);
      }
      return true;
    },
    session: async ({ session, user }) => {
      const userData = await getUser(user.id);
      if (!userData) {
        throw new Error("User data not found");
      }
      return {
        ...session,
        user: {
          id: user.id,
          ...{
            name: userData.name,
            email: userData.email,
            emailVerified: userData.emailVerified,
          }
        },
      };
    },
  },
  trustHost: true,
} satisfies NextAuthConfig;


const { auth: uncachedAuth, handlers, signIn, signOut } = NextAuth(authConfig);

const auth = cache(uncachedAuth);

export { auth, handlers, signIn, signOut };

Organization admin invites user to join the organization by using Auth0 management API.

POST  /api/v2/organizations/{id}/invitations
Body: {
  "inviter": {
    "name": "string"
  },
  "invitee": {
    "email": "[email protected]"
  },
  "client_id": "string",
  "user_metadata": {},
  "ttl_sec": 0,
  "roles": [
    "string"
  ],
  "send_invitation_email": true
}

The user receives an email with a link to join the organization. The user clicks on the link (which looks like https://example.com/api/authorize?invitation={invitation_id}&organization={organization_id}) and is redirected to our website.

There, we extract the invitation_id and organization_id from the query params and generate a new invitation link with the following code:

const baseUrl = `https://myauth0domain.com/authorize`;
const url = new URL(baseUrl);
url.searchParams.append("response_type", "code");
url.searchParams.append("client_id", clientId);
url.searchParams.append("redirect_uri", redirectUri);
url.searchParams.append("invitation", invitation);
url.searchParams.append("organization", organizationId);
url.searchParams.append("scope", "openid profile email");
const finalUrl = url.toString();
return NextResponse.redirect(new URL(finalUrl as string, baseURL));

The user is then redirected to the Auth0 login page, and after successful login, the user is redirected back to our website with the code in the query params. However, I get the error "pkceCodeVerifier can not be parsed," and the user is not logged in. I have checked the logs in Auth0, and all logs are fine. I'm using the regular Auth0 application, and the pkceCodeVerifier flow is handled by Auth0 itself in regular application.

I have also passed the code challenge, code challenge method, and state in the URL but am still getting the same error. Below is the code for the same:

Ref to create code verifier and code challenge: https://auth0.com/docs/get-started/authentication-and-authorization-flow/authorization-code-flow-with-pkce/add-login-using-the-authorization-code-flow-with-pkce#create-code-verifier

// code verifier
function base64URLEncode(str: any) {
  return str.toString('base64')
      .replace(/\+/g, '-')
      .replace(/\//g, '_')
      .replace(/=/g, '');
}
const verifier = base64URLEncode(crypto.randomBytes(32));


//  code challenge
function sha256(buffer) {
  return crypto.createHash('sha256').update(buffer).digest();
}
const  challenge = base64URLEncode(sha256(verifier));
url.searchParams.append('code_challenge', challenge);
url.searchParams.append('code_challenge_method', 'S256');
url.searchParams.append('state', state);

I have also tried to set the cookie options in the NextAuth configuration file but am still getting the same error. Below is the code for the same:

cookies: {
  pkceCodeVerifier: {
    name: "authjs.pkce.code_verifier",
    options: {
      httpOnly: true,
      sameSite: "none",
      path: "/",
      secure: true,  // Set to true in production
    },
  },
},

I have also added the code verifier in the cookies below is the code

const baseUrl = `https://myauth0domain.com/authorize`;
const url = new URL(baseUrl);
url.searchParams.append("response_type", "code");
url.searchParams.append("client_id", clientId);
url.searchParams.append("redirect_uri", redirectUri);
url.searchParams.append("invitation", invitation);
url.searchParams.append("organization", organizationId);
url.searchParams.append("scope", "openid profile email");
const finalUrl = url.toString();
const response = NextResponse.redirect(new URL(finalUrl as string, baseURL));
const cookieOptions = {
        httpOnly: true,
        secure: false,
        maxAge: 900, // 15 minutes
        path: '/',
      };

response.headers.set(
  'Set-Cookie',
  serialize('authjs.pkce.code_verifier', verifier, cookieOptions)
);
return response

SignUp/SignIn flow Screenshot: signup-signin-flow signup-signin-flow-2

Invitation Screenshot:

invitation

Simple signUp/signIn Works fine but when I try to log in with the invitation link then i get the error.

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Can anyone help me
  • RegEx Blacklisted phrase (1): I'm also getting the same error
  • RegEx Blacklisted phrase (1): I get the error
  • RegEx Blacklisted phrase (1): am still getting the same error
  • RegEx Blacklisted phrase (1): i get the error
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): I'm also getting the same error
  • Me too answer (0): getting the same error
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Anuj Chandel

79460748

Date: 2025-02-23 05:56:25
Score: 5.5
Natty:
Report link

It looks like it's not possible to edit the main.go file location so I am going to try change the docker file

RUN CGO_ENABLED=0 GOOS=linux go build -o main ./cmd/myapp/

I still get the same error

=> [builder 5/6] COPY . .
2.3s => ERROR [builder 6/6] RUN CGO_ENABLED=0 GOOS=linux go build -o main ./cmd/myapp/
13.7s

[builder 6/6] RUN CGO_ENABLED=0 GOOS=linux go build -o main ./cmd/myapp/: #13 13.28 stat /app/cmd/myapp: directory not found

Reasons:
  • RegEx Blacklisted phrase (1): I still get the same error
  • No code block (0.5):
  • Me too answer (2.5): get the same error
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Dinushi Dhananjani

79460739

Date: 2025-02-23 05:43:23
Score: 5
Natty: 5.5
Report link

I don't understand at all I. Andrea wisnesneski ur saying Ed wins what did ed win??e told me no one told me situation if it's about inherent then I would of did whatever needed to be done or if it had anything to do with child I would of done anything that needed to be done but because I wasn't informed of anything how is it far Ed wins???

Reasons:
  • Blacklisted phrase (1): ???
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Andrea Fayene

79460724

Date: 2025-02-23 05:26:19
Score: 9 🚩
Natty: 4.5
Report link

Did you find anything related to this?? I am facing the exact same issue and was hoping for some help as I have been researching for days about this.

Reasons:
  • RegEx Blacklisted phrase (3): Did you find
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the exact same issue
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you find any
  • Low reputation (1):
Posted by: Dishant Kaushal

79460621

Date: 2025-02-23 03:12:54
Score: 5
Natty: 6
Report link

Why does everyone put "x" after the "Lamda" part of the formula?

LAMBDA(x; SUM(x)

What goes in leu of the x's?

Thx,

dgDG

Reasons:
  • Blacklisted phrase (1): Thx
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Why do
  • Low reputation (1):
Posted by: David Galetar

79460608

Date: 2025-02-23 02:49:49
Score: 5
Natty: 4
Report link

I have same issue. Need to pass context in {children} and my context is also in CamelCase but no luck still undefined,

 return (
    <GoogleOAuthProvider clientId={clientID}>
      <ProfileContext.Provider value={Profile}>
        <html lang="en">
          <body className={`${Font.variable}`}>
            <Navbar />
            {children}
            <Footer />
            <ProgressBar />
            <button className={`scrollToTopButton ${isVisible ? "visible" : ""}`} onClick={scrollToTop}>
              <FontAwesomeIcon icon={faAngleUp} style={{ width: "22px", height: "32px" }} />
            </button>
          </body>
        </html>
      </ProfileContext.Provider>
    </GoogleOAuthProvider>
  )
}

"use client"
// import Form from "next/form "
import { useState, useEffect, useContext } from "react"
import Button from "../Components/Button"
import ProfileContext from "../layout"
export default function Contact() {
  const [name, setName] = useState()
  const [email, setEmail] = useState()
  const [message, setMessage] = useState()
  const [mobile, setMobile] = useState()
  const [service, setService] = useState()
  const [isSubmitted, setiSSubmitted] = useState(false)
  const [isLoading, setIsLoading] = useState(false)
  const value = useContext(ProfileContext)
  async function HandleSubmit(e) {
    setIsLoading(true)
    e.preventDefault()
    let body = {
      cred: process.env.NEXT_PUBLIC_CRED,
      email: email,
      mobile: mobile,
      when: new Date().toLocaleDateString(),
      message: message,
      name: name,
      service: service,
    }
    let res = await fetch("/api/contact", {
      method: "POST",
      headers: {
        "Content-Type": "application/json",
      },
      body: JSON.stringify(body),
    }).then(function (response) {
      console.info(response)
      setIsLoading(false)
      setiSSubmitted(true)
    })
  }
  console.log(value)

Importing context in another component gives undefined. I don't need to switch to app router, any other solution you guys found ?

Reasons:
  • Blacklisted phrase (1): no luck
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): I have same issue
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: AKSHAY BHOPANI

79460595

Date: 2025-02-23 02:23:45
Score: 4
Natty:
Report link

I got it :) I just had to remove the fixed width and ONLY have a max-width and min-width

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

79460532

Date: 2025-02-23 01:06:30
Score: 6 🚩
Natty: 4.5
Report link

how do I set home-brew thing I know nothing about terminal and what is ~/.bashrc or ~/.zshrc help pls

Reasons:
  • Blacklisted phrase (1): how do I
  • Blacklisted phrase (2): help pls
  • Low length (1):
  • No code block (0.5):
  • Starts with a question (0.5): how do I
  • Low reputation (1):
Posted by: sire clark

79460528

Date: 2025-02-23 01:05:29
Score: 6 🚩
Natty: 6
Report link

Error 4003: Media Codec VideoRenderer error, index=0, format=Format(1, null, null, video/avc, avc1.64001F, 1284070, null, [1280, 720, 25.0, ColorInfo (Unset color space, Unset color range, Unset color transfer, false, 8bit Luma, 8bit Chroma)], [-1, -1]), format_supported=YES???

Reasons:
  • Blacklisted phrase (1): ???
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user29759685

79460526

Date: 2025-02-23 01:03:28
Score: 5.5
Natty: 6.5
Report link

can you please provide the solution for attachment of pkcs7 signature for multiple signature appearances so,that the same signature appearance appears on all pages in a customized location.

Reasons:
  • RegEx Blacklisted phrase (2.5): can you please provide the solution
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): can you please
  • Low reputation (1):
Posted by: Om Prakash Singh