79508474

Date: 2025-03-14 08:30:36
Score: 3.5
Natty:
Report link

enter image description here

I have created the extension to browse and revert file to any commit. It's non-intrusive as have memory about your current edits and will change file content only once you like what you see.

2 modes available:
- Full file changes view
- Diff view

enter image description hereenter image description here

https://marketplace.visualstudio.com/items?itemName=noma4i.git-flashback

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

79508473

Date: 2025-03-14 08:29:36
Score: 3
Natty:
Report link

You cannot edit the scope for AWS Managed IdC applications. That can only be done for customer managed Idc applications

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

79508461

Date: 2025-03-14 08:22:34
Score: 0.5
Natty:
Report link

Though it's an older thread, wanted to share my findings. For me it was the combination of Kevin Doyon's answer, and using the MouseEnter event instead of MouseHover.

protected override void OnMouseEnter(EventArgs eventargs)
{
    toolTipError.SetToolTip(this, "Hello");
    toolTipError.Active = true;
}

protected override void OnMouseLeave(EventArgs eventargs)
{
    toolTipError.SetToolTip(this, null);
    toolTipError.Active = false;
}

I also preferred using method SetToolTip over Show. With SetToolTip the tooltip is shown at the expected position, with Show I needed to provide an offset (position determined using PointToClient(Cursor.Position)).

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Binary Thoughts

79508458

Date: 2025-03-14 08:22:34
Score: 3
Natty:
Report link

You could just use https://mvnpm.org/ (free) and just put the dependency you want in the pom!

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

79508455

Date: 2025-03-14 08:20:34
Score: 1
Natty:
Report link

I’ve worked on a similar challenge and implemented an app called iTraqqar: Find My TV, which is designed for Google TV and Android TV to help users track their TV’s location and enhance security.

To achieve this, I used the Google Geolocation API, which allows for approximate location tracking based on network data. Since Google TVs lack built-in GPS hardware, traditional methods like FusedLocationProviderClient and LocationManager do not work as expected.

I-Traqqar: Find My TV

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

79508451

Date: 2025-03-14 08:18:34
Score: 3
Natty:
Report link

From the event object, you can get the label of the selected option with this: event.target.selectedOptions[0].label

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

79508449

Date: 2025-03-14 08:17:33
Score: 1
Natty:
Report link

First of all, if your application is rejected, there is no problem, it will be better for you to see your mistakes and correct them in order to learn.

As far as I have experienced, you should provide valid information in the privacy policy and data security steps. Because if these are invalid, your application may be removed later even if it is published at the beginning.

You should create a test user for your application and provide this user information to Google Play. (If your application has a login)

There should be no sensitive permissions in your application. If there will be, you should explain them properly. You can read for sensitive permissions ---> https://support.google.com/googleplay/android-developer/answer/9888170?hl=en

When obtaining permission from the user in your application, you should write a valid explanation that informs the user in detail.

You should test your application on various screens.

Finally, do not forget to give internet permission.

You can also get help from here ->>> https://docs.flutter.dev/deployment/android#publish-to-the-google-play-store

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

79508448

Date: 2025-03-14 08:17:33
Score: 1
Natty:
Report link

I noticed same problem on ECS containers after enabling IMDSv2 on account level.

As per docs you should specify metadata hop limit to 2:

On the Manage IMDS defaults page, do the following:

  1. For Instance metadata service, choose Enabled.
  2. For Metadata version, choose V2 only (token required).
  3. For Metadata response hop limit, specify 2 if your instances will host containers.

See also this question: Using IMDS (v2) with token inside docker on EC2 or ECS

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

79508447

Date: 2025-03-14 08:17:33
Score: 1.5
Natty:
Report link

It's not a Python language specification, but a CPython implementation detail. Older version of the other implementation Python, PyPy, doesn't use Stack, and has no recursion depth limit.

https://doc.pypy.org/en/latest/stackless.html#recursion-depth-limit

You may try using PyPy to interpert your Python script if the maximum recursion depth in CPython doesn't satisfy your need.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: 戴淯琮 Yu-Tsung Tai

79508444

Date: 2025-03-14 08:16:33
Score: 4.5
Natty:
Report link

A little late, but remember that openAI is just a language prediction model. It takes a string of text, and predicts what comes next based on all its training data. Think about all the training data it's had on the internet. This includes screenplays, short novels, fanfictions, etc. It knows a lot about how to continue conversations based on the likelyhood of the next word, but only if it's in the right format. So, instead of formatting your data like just regular strings, format it in a way that makes sense for the AI to continue it, such as in a screenplay. In other words, iterate on a string like:

import openai

openai.api_key = "secret_key"

model_engine = "text-davinci-003"

conversation = "This is the script for a casual conversation between a human and an AI:\n"

for i in range(2):

[tab]conversation += f"\nHuman: {input()}\n"

[tab]response = openai.Completion.create(engine = model_engine, prompt=conversation, max_tokens = 1024, n=1, stop=None, temperature=0.5)

[tab]conversation += f"{response['choices'][0]['text']}\n"

[tab]print(response["choices"][0]["text"])

print(conversation)

With this code, I got this output:

This is the script for a casual conversation between a human and an AI:

Human: Hello, computer. What is your name?

AI: Hi there! My name is AI. It's nice to meet you.

Human: Come up with a better name.

AI: How about AI-2?

Reasons:
  • Blacklisted phrase (0.5): Hi there
  • Blacklisted phrase (1): What is your
  • Long answer (-1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: luce

79508443

Date: 2025-03-14 08:16:33
Score: 3.5
Natty:
Report link

In the admin panel, you need to enter words to be blocked from search. Magento does not have this feature by default, but if you search on Google, you can find modules that filter search terms as shown below.

enter image description here

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

79508428

Date: 2025-03-14 08:05:31
Score: 3.5
Natty:
Report link

I opt to use SignalR instead. However, [sesson] is one of the solutions. I like signalR better. I need get educated about the signalR.

Thanks for input.

See my first SignalR app with the help from DeepSeek (ChatGpt and Claude.ai won't help much but DeepSeek gives me solution and make sense).

link: https://github.com/d052057/YtSharp

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: D052057

79508425

Date: 2025-03-14 08:03:30
Score: 1
Natty:
Report link

Your issue comes from trying to call asyncio.run() inside an already running event loop. Instead, you should use loop.run_forever() for continuous streaming. Here's the fix:

1. Replace run_until_complete(start_stream()) with:

task = loop.create_task(start_stream())

loop.run_forever()

2. If you're running this inside Jupyter Notebook or another environment with an active event loop, use:

import nest_asyncio

nest_asyncio.apply()

asyncio.run(start_stream())

This should solve the problem. Let me know if you

need more help!

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sebastian Jóźko

79508404

Date: 2025-03-14 07:46:27
Score: 3.5
Natty:
Report link

It seems it use serial COM. NOT an USB serial transfer.

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

79508401

Date: 2025-03-14 07:44:26
Score: 2.5
Natty:
Report link

From the event object, you can get the label of the selected option with this: event.target.selectedOptions[0].label

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

79508398

Date: 2025-03-14 07:43:26
Score: 2.5
Natty:
Report link

This error may also appear if you are using wrong standart during compilation (e.g. your compiler is set to c++ standart 17 and the following call only appear in 18 or later).

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

79508396

Date: 2025-03-14 07:42:26
Score: 1.5
Natty:
Report link

Unfortunately no, I don't think that is possible with batching. It would be achievable if there was some API to append custom errors to the response, but I guess it would be quite clunky to do... You may report that as a feature request in the project repository if you want (I am the maintainer).

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Jan Martiška

79508395

Date: 2025-03-14 07:42:26
Score: 2
Natty:
Report link

As per U880D's comment, using device_requests works.

Instead of gpus: all I used:

          - driver: nvidia
            count: -1
            capabilities:
              - [ "gpu" ]
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Toni

79508383

Date: 2025-03-14 07:35:24
Score: 4
Natty: 5
Report link

The Microsoft Active Directory policy change detection system for ubuntu is not activated/configured.

https://documentation.ubuntu.com/adsys/en/latest/how-to/set-up-adwatchd/

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

79508379

Date: 2025-03-14 07:34:23
Score: 8.5 🚩
Natty: 4
Report link

I am facing an issue that is relevant to this post, please guide me if i am doing it correct:

I have four private function apps for Dev, UAT, QA, and Prod respectively hosted in Azure V-Net behind Azure Application gateway. I have created four separate listeners with HTTPs and port 4430, 4431, 4432, and 443 respectively. I am sending API requests from dataverse for these function app using a domain name that is translated to the public IP of the application gateway. Now, I am able to access the function app using all ports but when i try to access any api end point it works for port 443 for any environment but using non standard port i do not get any response and get unauthorized error? What could be the reason?

Reasons:
  • Blacklisted phrase (1): guide me
  • Blacklisted phrase (1): What could be
  • RegEx Blacklisted phrase (2.5): please guide me
  • RegEx Blacklisted phrase (1): I am facing an issue that is relevant to this post, please
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: user29974396

79508373

Date: 2025-03-14 07:31:22
Score: 5.5
Natty: 4.5
Report link

I think this is some sort of bug in VSCode or plugins. I am using the PWA Builder plugin and I have the same problem. I am also using Github Copilot, which spins in circles telling me to remove display_manifest (because that triggers an error saying undefined) and then add it again (because it not being present triggers an error saying it is missing). It's pretty maddening.

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

79508372

Date: 2025-03-14 07:30:21
Score: 3
Natty:
Report link

Most of the time, windows SDK is missing. Search for the relevant windows sdk for your windows version

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

79508358

Date: 2025-03-14 07:18:19
Score: 4
Natty:
Report link

Maybe https://developer.apple.com/documentation/uikit/uitextitem will do the job, there's also some info in this WWDC session https://developer.apple.com/videos/play/wwdc2023/10058

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

79508343

Date: 2025-03-14 07:09:17
Score: 3
Natty:
Report link

I created a chrome extension for this, you can also get notified based on certain keyword in issue comments.

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

79508337

Date: 2025-03-14 07:04:16
Score: 2
Natty:
Report link

I didn't think to try ChatGPT before.

It gave me the following solution but it does nothing (not even set the greens/reds..

{"field":"Adult CAP", 'tooltipValueGetter': {"function": "params.data.DRLcount + ' scans included'"},
        'cellStyle': {
            # This function checks for empty values (None or empty string)
            'function': '''
                function(params) {
                    // Check if the value is null, undefined, or empty
                    if (params.value === null || params.value === undefined || params.value === '') {
                        return null; // No style applied for empty cells
                    }
                    // Apply some style conditions if the cell is not empty
                    if (params.value > 7) {
                        return { backgroundColor: 'redn' };
                    } else {
                        return { backgroundColor: 'green' };
                    }
                }
            '''
        }

I also tried forcing nan's to zeroes and then the following:

{"field":"Adult CAP", 'tooltipValueGetter': {"function": "params.data.DRLcount + ' scans included'"},
        'cellStyle': {"styleConditions": [{"condition": "0 > params.value <= 11","style": {"backgroundColor": "#16F529"}},
        {"condition": "params.value > 11","style": {"backgroundColor": "#FD1C03"}}, {"condition": "params.value == 0","style": {"backgroundColor": "#FD1C03"}}]}},

It still colours my 0's green?

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

79508336

Date: 2025-03-14 07:04:16
Score: 2.5
Natty:
Report link

These messages appear every time you enter a non-email into an input with type="email" and submit the form. It's not an element at all.

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

79508334

Date: 2025-03-14 07:02:16
Score: 2.5
Natty:
Report link

inject(LivrosService) correctly retrieves the singleton instance of LivrosService. We then call loadById() on the injected instance.

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

79508333

Date: 2025-03-14 07:01:15
Score: 2
Natty:
Report link

For what it's worth: I also just hit this. I had the above listed libraries in my application's WEB-INF\lib folder. Copying these to tomcat's lib folder resolved.

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

79508319

Date: 2025-03-14 06:57:15
Score: 1
Natty:
Report link

TaskStart DateEnd DateDurationResponsibilityUniform Type and Color    Finalize uniform type and design10-Apr-2513-Apr-25 ManagerConfirm uniform colors14-Apr-2514-Apr-25 ManagerOrder uniforms15-Apr-2516-Apr-25 ProcurementDistribute uniforms to staff20-Apr-2523-Apr-25 HR DepartmentCatering Staff Manning    Calculate catering staff requirements7-Apr-259-Apr-25 Catering ManagerAssign roles for catering staff8-Apr-2510-Apr-25 Catering ManagerConfirm catering staff availability6-Apr-257-Apr-25 HR DepartmentTrain catering staff8-Apr-2510-Apr-25 TrainerSetup Crew Manning    Calculate setup crew requirements7-Apr-259-Apr-25 Event PlannerAssign roles for setup crew8-Apr-2510-Apr-25 Event PlannerConfirm setup crew availability6-Apr-257-Apr-25 HR DepartmentTrain setup crew8-Apr-2510-Apr-25 TrainerStewarding Manning    Calculate stewarding requirements7-Apr-259-Apr-25 Chief StewardAssign roles for stewarding staff8-Apr-2510-Apr-25 Chief StewardConfirm stewarding staff availability6-Apr-257-Apr-25 HR DepartmentTrain stewarding staff8-Apr-2510-Apr-25 Trainer

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: nigoi jack Poni

79508312

Date: 2025-03-14 06:54:14
Score: 3
Natty:
Report link

wrap-table-header see if this works

https://developer.salesforce.com/docs/component-library/bundle/lightning-datatable/specification

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

79508309

Date: 2025-03-14 06:51:14
Score: 3
Natty:
Report link

Honestly, what i understand from you question is that you may be running into trouble using Lame may be through subprocess for the bitrate conversion.

I have not tried that, but what i was trying was to convert the WAV format into MP3 while avoiding the FFMPEG which is quite bulky to be bundled with executable through pyinstaller.

So, i was looking for "libmp3lame.dll" to work with 64 bit python and it was not working becasue of some ctype issues and pretty old version of the Lame DLL.

Then I came across lameenc 1.8.1 available at https://pypi.org/project/lameenc/ which did the trick for me.

It is also self contained so I do not need to bundle any additional dll file in my executable built with pyInstaller.

Please give it a try.

Reasons:
  • RegEx Blacklisted phrase (2.5): Please give
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Anubhav Yadav

79508305

Date: 2025-03-14 06:49:14
Score: 2.5
Natty:
Report link

Since mv cannot handle subdirectories, I would use

cp -rf /path/to/source /path/to/target

Then if I want to delete the source directory, I would do

rm -rf /path/to/source
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: johnsmith0x3f

79508292

Date: 2025-03-14 06:38:11
Score: 2
Natty:
Report link

I am looking for such an application, which utilizes the IR blaster not only for sending, but also receiving data, such as the way it worked on the old phones, Sony Ericsson, Nokia, i.e. The modern IRs are just for sending data. There is no option to use the camera for IR data entering and replicating (my phone, and many more have IR nightvision cameras and are able to see/detect infrared light).

Anyways, about your problem, there is a little application called "Install with options", which allows you to bypass many reasons of why a certain app does not want to install - Hardware compatibility, OS version, region issues.. I have it on Android 14, so i am pretty sure it will be backwards compatible. The only thing i don't know is if it required root, but i think it didn't. Give it a try.

Reasons:
  • Blacklisted phrase (2): I am looking for
  • Whitelisted phrase (-1): it worked
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Rattlesnake

79508280

Date: 2025-03-14 06:30:10
Score: 5.5
Natty:
Report link

I have also encountered the same problem. Have you solved it?

Reasons:
  • Blacklisted phrase (2): Have you solved it
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Flec

79508276

Date: 2025-03-14 06:28:09
Score: 0.5
Natty:
Report link

Are you requesting subsequent resource loading in the backend?

If so, try specifying sub_filter

example

location /wiremock/__admin {
    rewrite ^/wiremock(.*)$ $1 break;
    proxy_pass https://localhost:7443/__admin;
    proxy_set_header Host $host;
    sub_filter '/__admin' '/wiremock/__admin';
    sub_filter_once off;
    proxy_set_header Accept-Encoding ""; 
}

sub_filter will replace all response bodies from the backend, so be careful not to make unintended matches.

http://nginx.org/en/docs/http/ngx_http_sub_module.html

I think the best way to fix it is to specify resource loading that matches the front.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: sato

79508266

Date: 2025-03-14 06:23:08
Score: 0.5
Natty:
Report link

The problem was that I was using the plain PHP image directly, and the mysqli extension was not included inside the PHP container. To fix this, we need to install the mysqli extension. There are two ways to do this:

1, Manually Install mysqli in the Running Container

2, Build a Custom Docker Image with mysqli Pre-installed

I ended up going with the second approach, creating a custom Docker image, which solved the problem and ensured everything works smoothly.

Thanks to everyone!!

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

79508249

Date: 2025-03-14 06:05:05
Score: 3.5
Natty:
Report link

ModuleNotFoundError: No module named 'mmcv._ext'

Facing similar issue with fastBev package dependency:

Installed the below dependencies mmcv-full 1.7.2 mmdet 3.3.0 mmengine 0.10.6 mmsegmentation 1.2.2 nvcc --version nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2024 NVIDIA Corporation Built on Thu_Mar_28_02:18:24_PDT_2024 Cuda compilation tools, release 12.4, V12.4.131 Build cuda_12.4.r12.4/compiler.34097967_0 pip list | grep torch torch 2.4.1+cu124 torchaudio 2.4.1+cu124 torchvision 0.19.1+cu124 But shows ModuleNotFoundError: No module named 'mmcv._ext' . Tried reinstalling the mmcv version multiple times, but still does not help. Tried both options: Option 1: `pip install mmcv-full==1.7.2 -f https://download.openmmlab.com/mmcv/dist/cu124/torch2.4.0/index.html --no-cache-dir Option 2: git clone https://github.com/open-mmlab/mmcv.git cd mmcv pip install -r requirements/optional.txt pip install -e .`

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): Facing similar issue
  • Low reputation (1):
Posted by: NewUser123

79508226

Date: 2025-03-14 05:43:01
Score: 4
Natty:
Report link

BCE is a java jar/war/class encrypt tools。
try https://bce.gopiqiu.com/

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

79508222

Date: 2025-03-14 05:41:00
Score: 1
Natty:
Report link
String in = "a2b3c4";
        for (int i = 0; i < in.length(); i++) {
            i++;
            k = Integer.parseInt(String.valueOf(in.charAt(i)));
            al = in.charAt(i - 1);
            System.out.print(String.valueOf(al).repeat(k));

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

79508219

Date: 2025-03-14 05:36:59
Score: 3.5
Natty:
Report link

Resolved this by adding node_modules in .dockerignore file and using npm to install pnpm

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

79508216

Date: 2025-03-14 05:30:58
Score: 1
Natty:
Report link

To run a Spring Boot 3 fat JAR with external libraries in a lib directory and configuration files in a config directory, follow these steps:

  1. Directory Structure: Ensure your structure looks like this:

    enter image description here

  2. Run the Application: Use the following command to start your application, ensuring to include the external libraries and configuration folder:

    java -cp "MyApp.jar:lib/*" org.springframework.boot.loader.WarLauncher --spring.config.additional-location=file:./config/

    Explanation:

    • -cp "MyApp.jar:lib/*": Sets the classpath to include your JAR and all JARs in the lib folder.

    • --spring.config.additional-location=file:./config/: Tells Spring to load configuration files from the config directory.

    Make sure to adjust the path separator if you're on Windows (; instead of :).

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sarwar Miral

79508207

Date: 2025-03-14 05:23:56
Score: 1.5
Natty:
Report link

If you still run into the problem after adding the import '@angular/localize/init' line, it might be that you need to move the line above all other imports, because order of imports is important. If some other import above uses $localize function, the error will persist

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Андрей Пискунов

79508204

Date: 2025-03-14 05:21:55
Score: 4.5
Natty: 4.5
Report link

Me too experiencing this, any updates?

i've set all scheme app.config.ts,

and it is callable with adb or npx to my appscheme

I don't get what's wrong maybe is this just a warn? as word it is?

Reasons:
  • RegEx Blacklisted phrase (0.5): any updates
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: 정희범

79508202

Date: 2025-03-14 05:19:53
Score: 6 🚩
Natty: 5
Report link

Even after adding jackson-databind, similar error persists "jackson-databind library cannot be found:

com.fasterxml.jackson.databind.ObjectMapper".

Anythoughts on this?

Reasons:
  • RegEx Blacklisted phrase (1): similar error
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user29974118

79508192

Date: 2025-03-14 05:08:51
Score: 2
Natty:
Report link

It is March, 2025 and I just solved this using Unity 6. (The menu must be a little different than previous Unity versions? I'm using a Mac but I wouldn't think it's a different menu than Windows) So here's the solution....

In the menu bar at top click on Unity, then Settings (2nd option from top). It will open the Preferences window. You can also get there with keyboard shortcut Command + comma (,) or Windows key and comma.

In the middle of the left side options in the Preferences window is External Tools. Click on that and then at the top where it says External Script Editor, click in there and select your Visual Studio Code. It didn't show up for me right away so I searched my applications for VS Code and found it that way. If you have VS Code open you'll want to restart it so it connects with Unity.

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

79508187

Date: 2025-03-14 05:04:50
Score: 4.5
Natty: 4.5
Report link

while scaling is necessary, what i don't understand is why we use 1./255 instead of 1/255. Both seem to work the same way. or even specify rescale = 0.003922. Any gotchas here?

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

79508177

Date: 2025-03-14 04:56:48
Score: 2.5
Natty:
Report link

need to add muted attribute to video tag

<video ref={videoRef} autoPlay={!isIOSDevice && autoplay} playsInline controls crossOrigin="anonymous" preload="auto" muted=true >

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

79508176

Date: 2025-03-14 04:56:48
Score: 2
Natty:
Report link

in docker file should be 'CMD node server.js' not 'CMD ["node", "server.js"]'
try this

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

79508175

Date: 2025-03-14 04:56:48
Score: 0.5
Natty:
Report link

You can achieve this by passing both buttonColor and the buttonHoverColor as props to the ButtonSlider and then pass the values to the ButtonSlider component when it's rendered.

const ButtonSlider = styled(Button, {
  shouldForwardProp: (prop) => prop !== "buttonColor" && prop !== "buttonHoverColor",
})(
  ({ theme, buttonColor, buttonHoverColor }) => ({
    backgroundColor: buttonColor,
    "&:hover": {
      backgroundColor: buttonHoverColor,
    },
  })
);

<ButtonSlider
    color="secondary"
    variant="contained"
    buttonColor={data.buttonColor}
    buttonHoverColor={data.buttonHoverColor}
    >
      {data.buttonText}
</ButtonSlider>

The reason I have shouldForwardProp method defined in the styled function is to prevent you from getting errors like this in your console:

React does not recognize the buttonColor prop on a DOM element.

I hope this fixes your challenge.

Reasons:
  • Blacklisted phrase (1.5): m getting error
  • Long answer (-0.5):
  • Has code block (-0.5):
Posted by: Hamed Jimoh

79508173

Date: 2025-03-14 04:54:47
Score: 15
Natty: 7.5
Report link

we are getting the same issue with oracle DB , Do we have a fix for this problem? Any help would be appreciated.

Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): Any help
  • RegEx Blacklisted phrase (1.5): fix for this problem?
  • RegEx Blacklisted phrase (3): Any help would be appreciated
  • RegEx Blacklisted phrase (2.5): Do we have a
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): getting the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: bobby

79508172

Date: 2025-03-14 04:53:47
Score: 2.5
Natty:
Report link

When using percentages, try to convert it back into percentages. Meaning, if you have 117%, you would take 117/100 = 0.8547 So your 100% should now be 84.5% blue, and 15.5% red (100-85.5)

That should provide you with the correct logic.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Armand Groenewald

79508167

Date: 2025-03-14 04:48:46
Score: 2.5
Natty:
Report link

Get wifi, then use *#9900# or *#88#. From there you should be able to enable wireless debugging. If you still cant get there then it might be worth getting a dr fone license. They're sketchy but effective.

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

79508151

Date: 2025-03-14 04:31:43
Score: 0.5
Natty:
Report link

from PIL import Image, ImageDraw, ImageFont

# Load the image of Ronaldo

image_path = "ronaldo.jpg"

image = Image.open(image_path)

# Create a drawing context

draw = ImageDraw.Draw(image)

# Define the card dimensions (you can adjust these)

card_width, card_height = 400, 600

# Resize the image to fit the card

image = image.resize((card_width, card_height))

# Define the text to be displayed

name = "Cristiano Ronaldo"

jersey_number = "7"

goals = "850" # Example goal count

# Define fonts (you can change the font path to a TTF file on your system)

font_path = "arial.ttf" # Replace with the path to a TTF font file on your system

name_font = ImageFont.truetype(font_path, 30)

number_font = ImageFont.truetype(font_path, 50)

goals_font = ImageFont.truetype(font_path, 25)

# Define text positions

name_position = (50, 20)

number_position = (card_width - 100, 20)

goals_position = (50, card_height - 50)

# Define text colors

text_color = (255, 255, 255) # White

# Add text to the image

draw.text(name_position, name, font=name_font, fill=text_color)

draw.text(number_position, jersey_number, font=number_font, fill=text_color)

draw.text(goals_position, f"Goals: {goals}", font=goals_font, fill=text_color)

# Save the final image

output_path = "ronaldo_card.png"

image.save(output_path)

print(f"Card saved as {output_path}")

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

79508150

Date: 2025-03-14 04:31:43
Score: 3
Natty:
Report link

Nobody is sending anything sensitive over the internet without TLS. AND proxies subject to poisoning are extremely rare. The masking requirement is simply poor engineering.

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

79508141

Date: 2025-03-14 04:24:42
Score: 0.5
Natty:
Report link

here are some common solutions you could consider based on typical issues associated with Logback and Spring Boot:

  1. Check Logback Configuration File: Ensure your logback-spring.xml or logback.xml file is well-formed. XML files are sensitive to syntax errors, and any mistakes can cause compilation issues.

  2. Use Correct Spring Boot Version: Make sure your Spring Boot dependencies are compatible with the version of Logback you are using. Sometimes, version mismatches can lead to such problems.

  3. Dependencies in pom.xml or build.gradle: If you are using Maven or Gradle, check your dependency management section to ensure Logback is correctly included:

    • For Maven, ensure you have the following:

    • enter image description here

    • For Gradle:

    • implementation 'ch.qos.logback:logback-classic'

    • Other things you may check:

      1. Configuration File Location: Ensure that your logback-spring.xml is located in the src/main/resources directory. Spring Boot should automatically pick it up from there.

      2. Spring Boot DevTools: If you are using Spring Boot DevTools during development, try disabling it or restarting your IDE, sometimes classpath issues can arise during hot reloads.

      3. Code Issues: If your configuration file has any ${} place-holders, ensure the referenced properties are defined in your application properties/yml file.

      4. Check Libraries: Look out for any conflicting logging libraries on your classpath that might interfere with Logback, such as log4j or java.util.logging.

      5. Upgrade or Downgrade: Sometimes simply upgrading or downgrading the Logback or Spring Boot version can fix configuration issues if they are introduced by a particular release.

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sarwar Miral

79508138

Date: 2025-03-14 04:18:40
Score: 4.5
Natty: 5
Report link

https://www3.lunapic.com/editor/working/174192539274625972?79832912288

At that set up point, make sure those two at the bottom of the setup are not selected.

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

79508134

Date: 2025-03-14 04:15:40
Score: 0.5
Natty:
Report link

I was able to reproduce your issue and after setting THIS property, the issue went away.

            app.UseSwagger(c =>
            {
                c.SerializeAsV2 = true;
            });
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Marc Roussel

79508119

Date: 2025-03-14 03:55:36
Score: 4
Natty: 4
Report link

Test testing message Dont look at it and image that there is no this message

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

79508117

Date: 2025-03-14 03:53:35
Score: 1
Natty:
Report link

With pandas version 2.2,

pd.set_option("display.width", None)

worked for me.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Seanmamasde

79508114

Date: 2025-03-14 03:51:35
Score: 2
Natty:
Report link

So funny!

They thought they could just dress up the second one because she would have copies of the bodies of the Mothers children, and then they would have an additional five children to with the daughter. But it turns out that the Mother did not care about any of their 10 and they were then all deleted, then they did not spend any time with that Mother they believed they could just "rape" copies of her body. Good article.

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

79508105

Date: 2025-03-14 03:43:33
Score: 3
Natty:
Report link

Warning still exists as of node v22.9.0

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

79508091

Date: 2025-03-14 03:32:30
Score: 2.5
Natty:
Report link

Template.render always returns a string and this is by design. https://jinja.palletsprojects.com/en/stable/api/#jinja2.Template.render

If you need to convert you would have to

x = jinja2.Template('{{x|int}}',).render(x=1)
x_int = int(x)
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Seth.TW

79508089

Date: 2025-03-14 03:30:30
Score: 2
Natty:
Report link

The solution is to point to the library in Linker->Input->Additional Dependencies in the properties of the project is using that static library.

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Mattia

79508088

Date: 2025-03-14 03:30:28
Score: 8 🚩
Natty:
Report link

I used this command to get the expected output:

`Thyroid$cancer <- relevel(Thyroid$cancer, ref = "No")``

The default in R ia No but it did not work here and I have no idea why. I had to specify the reference using the above coce. Any answer as to why R did not use "No" as the default will be appreciated.

R for an unknown reason to me used "Yes" as the reference. I am not sure if I was supposed to declare the outcome as factor to fix this issue??

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): did not work
  • RegEx Blacklisted phrase (1.5): fix this issue??
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Biostat

79508082

Date: 2025-03-14 03:26:27
Score: 1
Natty:
Report link

With Stateless, the NFS protocol carries all the information needed to locate the appropriate file and perform the requested operation. Similarly, it does not track which clients have the exported volumes mounted, again assuming that if a request comes in, it must be legitimate.

These issues are addressed in the industry standard NFS Version 4, in which NFS is made stateful to improve its security, performance, and functionality.

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

79508079

Date: 2025-03-14 03:24:25
Score: 8.5 🚩
Natty: 6.5
Report link

I need a script with the information that is in the forum and also who has read and write access, who is the owner of the folders and the last date of modification.

Can you help me?

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (3): Can you help me
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: André Luiz Pinto

79508077

Date: 2025-03-14 03:24:24
Score: 2
Natty:
Report link

Did you check if the connections are properly open between the two servers? Usually, a timeout error indicates a network flow issue.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • High reputation (-1):
Posted by: sixrandanes

79508069

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

The page function has two parameters: header and footer. You can customize them by these two parameters.

A simple example is:

#set page(
  margin: (top: 40pt, bottom: 40pt),
  header: [
    #rect(
      fill: yellow,
      width: 100%,
      height: 100%
    )[
      Header in yellow block
    ]
  ],
  footer: [
    #rect(
      fill: red,
      width: 100%,
      height: 100%
    )[
      Footer in red block
    ]
  ]
)

#lorem(1000)

Rendered result of example

Here is the example in web app: https://typst.app/docs/reference/layout/page/#parameters-footer

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

79508060

Date: 2025-03-14 03:16:22
Score: 4.5
Natty: 4.5
Report link

no more info there try see this https://developer.android.com/guide/topics/manifest/data-element?hl=ko#:~:text=android%3ApathSuffix%0Aandroid%3A-,pathPattern,-android%3ApathAdvancedPattern

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: 정희범

79508057

Date: 2025-03-14 03:11:21
Score: 2.5
Natty:
Report link

This error no longer occurs with the new version of the Dark SDK. Possibly related discussions:https://github.com/dart-lang/sdk/issues/60161

Problematic dart sdk version 3.6.0.

3.7.2 is ok

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

79508051

Date: 2025-03-14 03:01:19
Score: 2.5
Natty:
Report link

The issue was caused by “Visual Code”.

When I first opened the project, VS Code prompted about trusting the author.

I clicked “Yes, I trust the authors” but did not check “Trust the authors of all files in the parent folder ‘projects’”.

This caused the errors.

enter image description here

Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Jean J. Michel

79508046

Date: 2025-03-14 02:53:18
Score: 3
Natty:
Report link

You may need to ask your hosting provider if you are using a shared hosting to increase your allowed memory or you may need to edit your php.ini file to increase it.

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

79508041

Date: 2025-03-14 02:46:17
Score: 1
Natty:
Report link

My favorite pattern for this is:

let val = map.get(key)
if (!val) map.set(key, val = defaultVal)

I like this because it lines up.

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

79508036

Date: 2025-03-14 02:42:16
Score: 0.5
Natty:
Report link

If you add your table to a data model in Power Pivot you can create a new measure =CALCULATE(DISTINCTCOUNT(Range[Subrow]),ALL(Range[Subrow])). Add this measure to your pivot table in the values section and filter one it.

enter image description here

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

79508030

Date: 2025-03-14 02:38:15
Score: 0.5
Natty:
Report link

serious_python:
looks like it can be used to run python apps in flutter so intelligently on all flutter target platforms.

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

79508026

Date: 2025-03-14 02:28:14
Score: 4.5
Natty:
Report link

Text your dynasty group chat for help

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

79508024

Date: 2025-03-14 02:27:14
Score: 1
Natty:
Report link
import { Injectable } from '@angular/core';
import { ipcRenderer } from 'electron';

@Injectable({
  providedIn: 'root'
})
export class IpcService {
  private _ipc: typeof ipcRenderer | undefined;

  constructor() {
    this._ipc = window.require('electron').ipcRenderer;
  }

  send(message:string){
    this._ipc?.send(message);
  }
}
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: jayme

79508022

Date: 2025-03-14 02:21:13
Score: 1.5
Natty:
Report link

From angular V17 onwards it has been depricated.

enter image description here

To resolve this issue simply update browserTarget -> buildTarget in angular.json file

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

79508019

Date: 2025-03-14 02:17:12
Score: 1.5
Natty:
Report link

To ensure that libtorch recognized CUDA, I added /INCLUDE:"?warp_size@cuda@at@@YAHXZ" to the linker command line in Visual Studio 2022, following https://github.com/pytorch/pytorch/issues/31611 .

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

79508012

Date: 2025-03-14 02:12:11
Score: 1.5
Natty:
Report link

Add the status code to the header.

header( 'HTTP/1.1 200 OK' );
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mizuho Ogino

79508010

Date: 2025-03-14 02:07:11
Score: 1
Natty:
Report link
git revert commit_B_hash

Maybe you need to resolve the conflicts manually.The commit history remains unchanged, still being A -- B -- C -- D, but the changes made in commit B are reverted, retaining only the changes from commits C and D.

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

79508004

Date: 2025-03-14 01:59:09
Score: 1.5
Natty:
Report link

I didn't see the trees for the forest on this one. There already is a combined metric, no multiplication necessary.

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

79507986

Date: 2025-03-14 01:36:05
Score: 1.5
Natty:
Report link

You'll need to grant Prompt Template Manager permission to your user. Once done, you will see Prompt Builder in setup

sf org assign permset -n EinsteinGPTPromptTemplateManager

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

79507977

Date: 2025-03-14 01:27:03
Score: 0.5
Natty:
Report link

I had a similar problem. I had a SAVE button inside a FORM. Clicking the SAVE button called a JavaScript routine which produced a modal that appeared and immediately disappeared before clicking any buttons. Moving the SAVE button outside the <form> </form> fixed the issue. Apparently the form was interfering with the modal processing.

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

79507975

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

I think protocol would be appropriate here. You can define your protocol with the methods you need from Iterator

class MultiIterable(Protocol):
    def __next__(self) -> None:
        ...

    def __iter__(self) -> None:
        ...


def loop_twice(param: MultiIterable):
    for thing in param:
        print(thing)

    for thing in param:
        print(f"{thing} again")

https://typing.python.org/en/latest/spec/protocol.html#protocols

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Geneviève Le Houx

79507966

Date: 2025-03-14 01:15:00
Score: 2.5
Natty:
Report link

Websites exist for people beyond those who are technically empowered and informed. There are entire communities of people who struggle with literacy and also don't have the technical wherewithal to even learn that a tool like a screen reader exists, nor figure out how to install it. It would be a real win for these communities to make information more accessible by creating something that actually does this.

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

79507965

Date: 2025-03-14 01:15:00
Score: 0.5
Natty:
Report link

There is a small typo here :

<Text> style={{color: '#FFFFFF'}}>Hippo counter</Text>

You are closing the Text tag too soon.

Corrected :

<Text style={{color: '#FFFFFF'}}>Hippo counter</Text>

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

79507964

Date: 2025-03-14 01:14:00
Score: 3.5
Natty:
Report link

If it doesn't matter the order why not just print twice one loop? Depends on what type of data you are storing and the purpose of the Obj. If its just ints a list would be fine.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Scott Settle

79507962

Date: 2025-03-14 01:10:59
Score: 0.5
Natty:
Report link

ChatGpt and Gemini both are loaded with the old information and hence I was not able to get the answer initially, but after having a good discussion with Gemini (after all it is Google LLM ha ha ha and I am trying to use Google OAuth), Gemini took me in the right direction. Here is the way I have implemented it and it is working all right for me now.

I am using .Net 9, MAUI for Android
Nuget package : Duende.IdentityModel.OidcClient (6.0.1)

public sealed class GoogleLoginService
{
    const string clientId = "Your-client-id";
    const string redirectUri = "com.company.app:/oauth2redirect"; // You can set the first part as your android package name
    const string authority = "https://accounts.google.com/o/oauth2/v2/auth";
    const string scope = "openid profile email";
    const string userInfoEndpoint = "https://openidconnect.googleapis.com/v1/userinfo";

    public async Task<string> PerformOAuthLogin()
    {
        try
        {
            var browser = new WebAuthenticatorBrowser();
            var options = new OidcClientOptions
            {
                Authority = authority,
                ClientId = clientId,                    
                Scope = scope,
                RedirectUri = redirectUri,
                Browser = browser,
                ProviderInformation = new ProviderInformation
                {
                    IssuerName = "accounts.google.com",
                    AuthorizeEndpoint = authority,
                    TokenEndpoint = "https://www.googleapis.com/oauth2/v4/token",
                    UserInfoEndpoint = userInfoEndpoint,
                    KeySet = new JsonWebKeySet()
                },
            };

            var oidcClient = new OidcClient(options);
            var loginResult = await oidcClient.LoginAsync();

            if (loginResult.IsError)
            {
                throw new Exception($"Failed to authenticate with Google: {loginResult.Error}");
            }

            return loginResult.AccessToken;
        }
        catch (Exception)
        {
            throw;
        }
    }

    

    class WebAuthenticatorBrowser : Duende.IdentityModel.OidcClient.Browser.IBrowser
    {
        public async Task<BrowserResult> InvokeAsync(BrowserOptions options,
                                       CancellationToken cancellationToken = default)
        {
            try
            {
                WebAuthenticatorResult result = 
                    await  WebAuthenticator.AuthenticateAsync(
                                          new Uri(options.StartUrl),
                                          new Uri(options.EndUrl));
                
                var url = new RequestUrl(redirectUri)
                        .Create([.. result.Properties]);

                return new BrowserResult
                {
                    Response = url,
                    ResultType = BrowserResultType.Success,
                };

            }
            catch (TaskCanceledException ex)
            {
                return new BrowserResult()
                {
                    ResultType = BrowserResultType.UserCancel,
                    Error = ex.Message
                };
            }
        }            
    }
}


There could be better ways to do it but for the time being I am going ahead with this approach.

Reasons:
  • Blacklisted phrase (1): I am trying to
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: ViBi

79507955

Date: 2025-03-14 01:02:58
Score: 0.5
Natty:
Report link

Build on x86 Native Tools Command Prompt for VS 20xx or x64 Native Tools Command Prompt for VS 20xx can help reduce of standard libs missing.

  1. Open Start Menu

  2. Search for Native Tools Command Prompt for VS

  3. Open x64.. for x86_64

  4. Ready to run cl command

  5. All standard libs are included

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

79507932

Date: 2025-03-14 00:35:53
Score: 1.5
Natty:
Report link

Considering that you have done all the steps I would follow, I would suggest:

  1. Check your dependencies
    It may be an error with your dependencies. Some versions may still 'force' your system to run <13.0.
    You may look in your flutter terminal. Run 'flutter pub get' and check the outdated dependencies. Or you may visit the dependency on flutter website and check the latest version.

  2. Clean Xcode cache

    flutter clean

    flutter pub get

    cd ios

    xcodebuild clean

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

79507927

Date: 2025-03-14 00:30:52
Score: 1
Natty:
Report link

Please execute the following command from the console:

uv add boto3

It worked for me.

Reasons:
  • Whitelisted phrase (-1): It worked
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Rudrajit Das

79507913

Date: 2025-03-14 00:20:50
Score: 2
Natty:
Report link

I'm still getting a memory limit when it is updated to 64 bit. Im running a simple yet resource intensive program

characters = ["~","!","@","#","$","%","^","&","*","(",")","_","+","`","1","2","3","4","5","6","7","8","9","0","-","=","Q","W","E","R","T","Y","U","I","O","P","{","}","|","q","w","e","r","t","y","u","i","o","p","[","]",'1"backslash"2"key"3"eight"4"characters"5"long"',"A","S","D","F","G","H","J","K","L",":",'"',"a","s","d","f","g","h","j","k",";","'","Z","X","C","V","B","N","M","<",">","?","z","x","c","v","b","n","m",",",".","/"," "]

This is the list I'm using

it uses itertools to create 94^8 characters yet I would like to give python more memory to work with. This memory being a lot more memory. Do any of you know how to use the resource command or any other commands that can help me with this?

This is the last line of the code: print(combinations)

the combinations is the 94^8 (I'm not really sure if it is 94 or 93 since the list is very long. Don't mind the backslash bit in the list. It just represents the backslash character).

Reasons:
  • Blacklisted phrase (1): help me
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Python Learner

79507910

Date: 2025-03-14 00:18:50
Score: 2
Natty:
Report link

Check this issue on the github page if it helps

https://github.com/graphql-python/graphene-django/pull/1128

And if you made your custom middleware already... then you are fine, it is a onetime code (no maintenance is needed after you write it for the first time)

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

79507907

Date: 2025-03-14 00:16:49
Score: 0.5
Natty:
Report link

I see an issue because Spring Security takes full control of CORS once you enable http.cors(withDefaults()), which means @CrossOrigin on your controller gets ignored.

Option 1: Remove the global CORS config from Spring Security.

Option 2: Instead of using @CrossOrigin, configure CORS rules per endpoint.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Shanmuga Sundaram Natarajan

79507884

Date: 2025-03-13 23:47:43
Score: 1
Natty:
Report link

My guess is that a lot of problems will be resolved once you move away from the static DataAccess class. It seems that your legacy app spun its own Factory-like scheme that can be handled cleanly using native .NET & EntityFrameworkCore.

DbContext instances (or DbContextFactory instances) can be set up to be available from the IServiceProvider, or injected directly into controllers or other service classes. DbContexts or DbContextFactories will get their connection strings within the static Main method, where you build your IConfiguration to go into the IServiceProvider and can pull connections strings at the same time.

Is each DataAccess the same DbContext or are there different tables, etc., involved? If they are the same, create a projects for your DAL from which each of your other projects can depend.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Jeff Zola

79507875

Date: 2025-03-13 23:40:42
Score: 3
Natty:
Report link

You don't need Docker Desktop nor cloning the Docker image. Instead, you should follow the official guides: https://meta.discourse.org/t/install-discourse-on-windows-for-development/75149/1

https://meta.discourse.org/t/install-discourse-for-development-using-docker/102009/1

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

79507868

Date: 2025-03-13 23:34:41
Score: 1
Natty:
Report link

Interesting topic. I am implementing IF operator in my little DSL, and I want a provision for an option for expression that resolves to value, rather than just value. So that one can compare

if (expression, like (2+2) etc) >= (another expression) THEN 
IF ((booleanTypeVariable) OR ( myVariable > 0)) AND ((3-1)>0) THEN...

Still in the works, also want to be able to resolve function to either numeric value, or straight boolean, not sure how it will play out. Right now EBNF look like so:

ifOperator = 'IF' boolean 'THEN' statementList ('END'| ('ELSE' statementList 'END'))

boolean = 'true' | 'false' | booleanTypeVariable | condition { ('AND'|'OR') condition}

condition = expression comparator expression

comparator = '>' | '<' | '='.. etc

expression = variable | function call | mathExpression 

turned out not a straightforward task.

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

79507865

Date: 2025-03-13 23:30:40
Score: 0.5
Natty:
Report link

Soft wrap (no new lines):

enter image description here

Hard wrap (has new lines):

enter image description here

Examples in PyCharm 2024.2.3 Professional Edition and Windows 11 24H2 Pro.

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

79507857

Date: 2025-03-13 23:26:36
Score: 6 🚩
Natty: 5.5
Report link

Some one done this Task succesfully?

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