79540772

Date: 2025-03-28 07:27:24
Score: 1
Natty:
Report link

The const lint has been removed from flutter lints. You could check this issue https://github.com/dart-lang/core/issues/833 and https://github.com/flutter/flutter/issues/149932 or more details.

Right now, you would need to enable this lint rule in your `analysis_options.yaml` if you need it.

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

79540768

Date: 2025-03-28 07:25:24
Score: 1
Natty:
Report link

If you have access to your server's Apache configuration, check if Authorization is being stripped.

1 .Open your Apache config file:
sudo nano /etc/apache2/apache2.conf

2.Add this line at the end of the file:
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

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

79540767

Date: 2025-03-28 07:25:24
Score: 1.5
Natty:
Report link

In addition to @Kyle 's answer. I've just added it as helm chart:

---
apiVersion: helm.cattle.io/v1
kind: HelmChartConfig
metadata:
  name: traefik
  namespace: kube-system
spec:
  valuesContent: |-
    hostNetwork: true

Then:

kubectl apply -f k3s-traefik-real-ip.yaml
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Kyle
  • Low reputation (0.5):
Posted by: Triphon Penakov

79540757

Date: 2025-03-28 07:20:23
Score: 0.5
Natty:
Report link

The common approach is to simply return the options as an html snippet (which htmx expects). So, you may have a partial like
`partials/select.html`:

```{% for option in options %}
<option value="{{option.value}}">{{option.label}}</option>
{% endfor %}
```
Then your `LookupView` can return it with the options you filter based on the value you get after submitting:

```
LookupView(View):
def get(self, request, *args, **kwargs) ...
options = your_filtered_values here # maybe a queryset from the database?
response = render(request," partials/select.html", dict(options=options))
# set response headers to control where and how to place the returned template
response["Hx-Retarget"] = "css_selector_of_the_target"
response["Hx-Reswap"] = "innerHTML"
return response
```

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
Posted by: McPherson

79540751

Date: 2025-03-28 07:17:23
Score: 0.5
Natty:
Report link

I encountered the same problem.

My packaging command is:

pyinstaller -F --noconfirm --onedir --console --add-data "testdata;testdata/" --hiddenimport="utils.general" --collect-binaries "utils.general" "detect.py"  
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: gracie

79540745

Date: 2025-03-28 07:12:22
Score: 3
Natty:
Report link

It seems to have an error in the code, but I guess you have a problem with the reCAPTCHA configuration.

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

79540738

Date: 2025-03-28 07:05:20
Score: 4.5
Natty:
Report link

I found the answer to this in: https://learn.microsoft.com/en-us/answers/questions/1343108/nuget-error-nu1101. Follow the answer provided by: Tianyu Sun-MSFT. Thank you all.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • 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: user676987

79540728

Date: 2025-03-28 06:55:19
Score: 3
Natty:
Report link

"26.0.2" search this using ctrl+shift+f and which file show change with 28.0.3 this version then sync project and run.

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

79540725

Date: 2025-03-28 06:54:18
Score: 1.5
Natty:
Report link

if you have upgraded function app recently

try adding these values in app settnigs.

"FUNCTIONS_WORKER_RUNTIME": "dotnet",

"FUNCTIONS_INPROC_NET8_ENABLED": 1,

"FUNCTIONS_EXTENSION_VERSION": "~4",

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Amardeep Kumar Agrawal

79540720

Date: 2025-03-28 06:52:18
Score: 0.5
Natty:
Report link

According to Simon's suggestion:

.NET Core (8 here) is not installed on the target machine. You need to install the runtime (dotnet.microsoft.com/en-us/download).

And need to enable Dev Mode.

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

79540719

Date: 2025-03-28 06:52:17
Score: 6.5 🚩
Natty: 5
Report link

Is there any way to get data from a table from a specific keyspace from ScyllaDB using DynamoDB API?

Reasons:
  • Blacklisted phrase (1): Is there any
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Is there any
  • Low reputation (1):
Posted by: Justin George

79540716

Date: 2025-03-28 06:51:16
Score: 1.5
Natty:
Report link

Follow Steps as follows

<build>
    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <configuration>
                <annotationProcessorPaths>
                    <path>
                        <groupId>org.projectlombok</groupId>
                        <artifactId>lombok</artifactId>
                        <version>${lombok.version}</version>
                    </path>
                </annotationProcessorPaths>
            </configuration>
        </plugin>

https://intellij-support.jetbrains.com/hc/en-us/community/posts/23064675521682-Lombok-not-workin-with-Intellij

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

79540715

Date: 2025-03-28 06:50:16
Score: 1.5
Natty:
Report link

Along with @Tatachiblob's answer. I have found some other ways to fix this issue.

$response = $this->post(route('categories.store'), [], [
    'accept' => 'application/json',
]);

Or

$response = $this->json('post', route('categories.store'), []);

Hope this will be able to save some time for someone.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Tatachiblob's
  • Self-answer (0.5):
Posted by: Mr.Singh

79540707

Date: 2025-03-28 06:47:15
Score: 3
Natty:
Report link

You need to use vue3-grid-layout for vue 3. Here you are using vue-grid-layout for vue 3. But vue-grid-layout works in vue 2 version.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ulugʻbekjon Sultonov

79540696

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

Let me try helping.

I assume that your postman request has a header Accept: application/json, and that makes the $this->expectsJson() to true.

To make this work in your phpunit, you have to set the request header with the following:

public function test_categories_cannot_create_without_payload_should_receive_422()
{
    $response = $this->withHeader([
        'accept' => 'application/json'
    ])->post(route('categories.store'), []);

    $response->assertStatus(Response::HTTP_UNPROCESSABLE_ENTITY);
    $response->assertJson([
        'message',
        'errors',
    ]);
}

This should pass the assert status with 422 instead of 302.

Hope you find this helpful.

Regards,

Reasons:
  • Blacklisted phrase (1): Regards
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Tatachiblob

79540690

Date: 2025-03-28 06:35:13
Score: 2.5
Natty:
Report link

Afaik the url method is NOT fool proof and easily circumvented. Use RLS by passing a role and a username(). You also need some method of defining which users see which accounts. Take note that using embedded rls is not very optimal either, but can be done.

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

79540683

Date: 2025-03-28 06:32:12
Score: 1.5
Natty:
Report link

I am posting the solution that I am currently using. Thanks to @markp-fuso and @renaud-pacalet for the ideas input. I am able to solve it.

Python script

import re
text = "^[[200~a^[[200~aaa aM1bb bbbM1ccc[$cM2ddddM2eeeeeM3ffffff fM3ggggggg M3hhhhh hhM3kkkkk~"

# Extract the text between the first M1 and the last 'M3'
result = re.search(r'M1(.*)M3.*$', text).group(1)

# Extract the text between the last M1 and the first 'M3'
result = re.sub(r'.*M1|M3.*','',text)

sed way of extracting is

# Extract the text between the first M1 and the last 'M3'
echo "^[[200~a^[[200~aaa aM1bb bbbM1ccc[\$cM2ddddM2eeeeeM3ffffff f:M3ggggggg M3:hhhhh hhM3:kkkkk~" | sed -E "s/M1(.*)M3.*$/\n\1/;s/.*\n(.*)/\1/"

# Extract the text between the last M1 and the first 'M3'
echo "^[[200~a^[[200~aaa aM1bb bbbM1ccc[\$cM2ddddM2eeeeeM3ffffff f:M3ggggggg M3:hhhhh hhM3:kkkkk~" | sed -E "s/.*M1|M3.*//g"
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @markp-fuso
  • User mentioned (0): @renaud-pacalet
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Ramanan T

79540673

Date: 2025-03-28 06:26:11
Score: 0.5
Natty:
Report link

Reflection of Dr. Victor E. Frankl

Frankfis, main thesis is that our fundamental motivation is not power or pleasure, but the seeking of meaning. He contends that even in the most horrific conditions, the ability to seek meaning remains. It is not a question of discovering an ordained, cosmic vocation, but of affirmatively seeking meaning by attitude. by decision, and by action. In the camps, it was minor acts of rebellion, acts of kindness, and hope-holding onto memories of loved ones, consolation in nature, of aiding fellow prisoners

Logotherapy everyday application extends a long way past the desperate realities of the concentration camps. It's a way of coping with existential dread, testing, and of living with greater purpose. Eranki emphasizes taking responsibility for our own existence, focusing on what we are able to do rather than on what we're not. That is finding what our values are, setting high-stakes goals, and really doing something towards bringing them to fruition. It's finding our own contribution to the world, however small that may be.

The strongest point of Erankis work is his emphasis on the worth of suffering. He does not shun suffering and brutality but dwells on the strength of suffering to change us. He is of the opinion that suffering, when met with courage and an aspiration to seek meaning, can change individuals and comprehend life better. This is not an idealization of suffering, but an acknowledgment of its potential to make us tougher and more resolute.

Please detect AI detector

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

79540664

Date: 2025-03-28 06:20:10
Score: 2
Natty:
Report link

I manually change all relative path to absolute path in .bat to run the .exe file. It was succeed. I used

subprocesss.Popen("your bat file") #I do change bat path also as an absolute path

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

79540660

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

From NPM -v 8.18 use

npm audit | grep -E "(high | critical)" -B3 -A10

or

Use the Following Package to get the HTML GUI

npm install -g audit-export

npm audit --json | audit-export
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Vimal Raj

79540656

Date: 2025-03-28 06:16:08
Score: 5
Natty:
Report link

Try if it works using github.com/Genymobile/scrcpy .

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mohammed Zohil P.K

79540645

Date: 2025-03-28 06:07:07
Score: 1
Natty:
Report link

I resolved this by adding the statement django.setup().
It works now, but it just looks odd that the statement is in the import statements section.
Please let me know if there is a better way of doing this.

enter image description here

Reasons:
  • Whitelisted phrase (-2): I resolved
  • RegEx Blacklisted phrase (2.5): Please let me know
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: sukesh

79540646

Date: 2025-03-28 06:07:07
Score: 3.5
Natty:
Report link

This issue was resolved after deleting the Unbescape folder in the maven repository and then performing a maven force update.

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

79540641

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

I would've added a comment, but cant since my rep is still too low. So I am asking here:

I'd assume you already did the basic troubleshooting stuff like restarting both devices (pc & phone), disabling and then reenabling USB-Debugging, reinstall Android Studio completely (or just the device mirroring plugin).

But are you able to build and deploy your App onto said phone?

If true, maybe you could try and disable wifi on your device, so that it is forced to use the USB connection to mirror.

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

79540625

Date: 2025-03-28 05:55:04
Score: 2
Natty:
Report link

Well one way is to fetch stream metadata. The realtime overlay you see can be embedded within stream as metadata.

You get temp info and coordinates.

Also it should be possible via SDK as its possible for people counting camera to get realtime counter

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

79540614

Date: 2025-03-28 05:46:03
Score: 0.5
Natty:
Report link

remove line "packageManager": "[email protected]". from package.json and execute command

yarn set version stable

yarn automatically add line stable version "packageManager": "[email protected]" in package.json and created .yarn folder

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

79540613

Date: 2025-03-28 05:45:02
Score: 0.5
Natty:
Report link

you can use this library https://www.npmjs.com/package/textarea-pattern-handler

preview

This library is using the contenteditable div and is designed to handle events similarly to a textarea. It also provides a user-friendly way to add tags or text seamlessly.

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

79540610

Date: 2025-03-28 05:42:01
Score: 2.5
Natty:
Report link

All I Did was replaced process.env.MY_SECRET with ${process.env.MY_SECRET}

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

79540600

Date: 2025-03-28 05:37:00
Score: 1
Natty:
Report link

Thanks to @Tarun, this codes work

    func urlSession(_ session: URLSession,
                    didReceive challenge: URLAuthenticationChallenge) async -> (URLSession.AuthChallengeDisposition, URLCredential?)
    {
        guard let serverTrust = challenge.protectionSpace.serverTrust,
              let certificates = SecTrustCopyCertificateChain(serverTrust) as? [SecCertificate],
              let certificate = certificates.first
        else {
            return (.cancelAuthenticationChallenge, nil)
        }
        let credential = URLCredential.init(trust: serverTrust)
        
        guard SecTrustEvaluateWithError(serverTrust, nil) else {
            return (.cancelAuthenticationChallenge, credential)
        }
        let cfdata = SecCertificateCopyData(certificate)
...
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Tarun
  • Low reputation (0.5):
Posted by: Alexey Ishkov

79540598

Date: 2025-03-28 05:35:59
Score: 9 🚩
Natty: 5.5
Report link

Did someone resolve the issue about <pending> IP address when LoadBalancer is used?

Reasons:
  • RegEx Blacklisted phrase (3): Did someone resolve the
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did someone
  • Low reputation (1):
Posted by: Furieux F

79540593

Date: 2025-03-28 05:30:58
Score: 3
Natty:
Report link

Label smoothing is to fill the same value into distribution except 'true label index' and 'pad index'. So -2 comes from true index and pad index.

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

79540588

Date: 2025-03-28 05:27:58
Score: 3.5
Natty:
Report link

is olcDisallows, is empty? remove if exists

is olcRequires, is empty? remove if exists

is olcAllows, is empty? add if doesn't exists

I have fixed it by following the above order. Also I have set my access to limited and works like a charm. Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Sandeep Sandhu

79540569

Date: 2025-03-28 05:15:55
Score: 0.5
Natty:
Report link

You will need to import the tailwind form plugin.

  1. Install @tailwindcss/forms with npm: npm install -D @tailwindcss/forms
  2. Import the plugin in your resources/css/app.css with the following:
@import 'tailwindcss';
@plugin '@tailwindcss/forms'; /* Add this */

@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@source '../../storage/framework/views/*.php';
@source '../**/*.blade.php';
@source '../**/*.js';

@theme {
    --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
        'Segoe UI Symbol', 'Noto Color Emoji';
}

And then the select dropdown should be rendering properly.

rendered hyperui

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

79540563

Date: 2025-03-28 05:09:54
Score: 1
Natty:
Report link

#To sove it just I used this

from qiskit import QuantumCircuit

from qiskit_aer import AerSimulator # Use AerSimulator instead of Aer

from qiskit.visualization import plot_histogram

import matplotlib.pyplot as plt

# Define a simple quantum circuit

qc = QuantumCircuit(2, 2)

qc.h(0)

qc.cx(0, 1)

qc.measure([0, 1], [0, 1])

# Use the updated AerSimulator

simulator = AerSimulator()

# Run the circuit

result = simulator.run(qc, shots=1000).result()

counts = result.get_counts()

# Display results

print("Measurement results:", counts)

plot_histogram(counts)

plt.show()

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

79540529

Date: 2025-03-28 04:40:48
Score: 2
Natty:
Report link

Can you please try the below route:

enter image description here

wherein pass the credentials via SP authentication rather than none

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Starts with a question (0.5): Can you please
  • High reputation (-1):
Posted by: Nandan

79540528

Date: 2025-03-28 04:40:48
Score: 1.5
Natty:
Report link

Instead of using disabled, use readOnly.

For more details, check the documentation: React Hook Form - getValues

Refer to the Rules section for further information.

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

79540527

Date: 2025-03-28 04:39:47
Score: 2
Natty:
Report link

Had the same error In my case i had used volume instead of volumes

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

79540517

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

It is a very irritating problem with a capital "I" when it is the only character in the word. Yeah, a lot of other things will make it worse, but I've run it against pdf documents that were 300 or 600 dpi, I just made sure I had all the latest tesseract libs, tesseract works great, recognizes everything that isn't actually smudged or distorted, but never a capital "I" reliably. It does some. But if it's proceeded or followed by a non-alphabetic character, like quote, capital I, or the word I've, it interprets the I as, variously, l,L,1,], or T. I think from that it's obvious that the problem is that all those characters are an "I". They just have a bit of other stuff, but not stuff that makes it another character. Which is what you want. If you have an R with some curvy flairs on the sharp points, you want it recognized as an R. Which is exactly what it's doing when it renders I as 1. With the exception of the T. Maybe it's OK to be missing bits, but not adding bits, vis a vis, the "doesn't make it another letter" comment I made just now. I just have vi replace (start of line, or space)(T)(space) with (I)(space). The parens are just to clarify what goes together, not something actually typed as part of the vi command. Then I repeat that for each of the aforementioned characters. It would be nice to have a solution for that, of course. Any bright ideas? Human pattern recognition is still pretty hard to beat with the best AI. I think that's asking a bit much from tesseract. Hope this helps someone that was a frustrated with it before I realized that it actually was working, just not doing what I needed done.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-1): Hope this helps
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Elizabeth Thorne

79540514

Date: 2025-03-28 04:29:46
Score: 2
Natty:
Report link

In Visual Basic Editor ↵= ChrW(8629)

I have to say that's an answer because otherwise it's not enough words

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

79540494

Date: 2025-03-28 04:08:42
Score: 2.5
Natty:
Report link

Use it like any other built-in ESLint rules.

import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';

export default tseslint.config(
  eslint.configs.recommended,
  tseslint.configs.recommended,

  {
    rules: {
      "@typescript-eslint/restrict-plus-operands": "error"
    }
  }
);

You can also refer the full config: https://github.com/Jay-Karia/jqlite/blob/main/eslint.config.mjs

Reasons:
  • Probably link only (1):
  • Contains signature (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jay

79540489

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

[Sorry, still cannot comment, so I'll post this as an answer just in case somebody else is encountering the same issue]

In my case, I forgot to include org.springframework.boot:spring-boot-starter-actuator. When I include this as my dependency, the error is gone.

Reasons:
  • RegEx Blacklisted phrase (1): cannot comment
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ferdinand Antonius

79540475

Date: 2025-03-28 03:48:39
Score: 3
Natty:
Report link

Use the following

trigger()?['inputs/parameters/SMTPAddress']
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: Santo

79540473

Date: 2025-03-28 03:46:38
Score: 2.5
Natty:
Report link

This is not an answer but a plea for help. I am brand new to Linux and cannot figure out how to implement the solution that people say have worked for them. If anybody wouldn't mind explaining:

I would be tremendously grateful thank you!

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (1): not an answer
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Emily Marie Purvis

79540466

Date: 2025-03-28 03:39:37
Score: 1
Natty:
Report link

Years later, and this problem seems to still hang around.. Everything is updated to latest versions, cart page set properly, etc. Adblockers, scriptblockers, etc disabled also. Live Environment.

I am providing 3 images to help with my answer. ( I need to earn 10 Rep to be able to properly embed images in my answer/s)

Cart item showing remove link path for item to be removed

The ability to right click and force the link via a new tab still exists

Forcing the link allows for successful deletion from the Cart

** I am aware that this particular solution is not ideal, and also not what a potential Customer would look to do, so we must find an actual solution within the code files. I have not yet looked into it properly, but when I do, I will be looking at how the Cart 'remove_item' object is rendered - is it a button, a link with image, etc, so then I will be able to properly overwrite it using a child theme of my Storefront. That way, when the Storefront theme is updated, it will not remove the change I made to the particular piece of code I have altered.

Also, we would not want it to open the link in a new tab, so this must also be taken into account.

Meanwhile, I do hope that the Storefront theme will actually fix this, but when I find the piece of code, I will share it here.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: JaysnDees.com

79540465

Date: 2025-03-28 03:37:37
Score: 1
Natty:
Report link

Red-Black trees are efficient but not perfect.

Disadvantages:

Red-Black trees are good for in-memory use, but AVL trees offer faster lookups, and B-Trees are better for large datasets.

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

79540438

Date: 2025-03-28 03:08:31
Score: 1.5
Natty:
Report link

There are some issues with your code. As the comment above said, the useForm is initialized once and as such, the conditional logic in the resolver and defaultValues won't do anything when the step changes. Here is what you need to do to make it work.

  1. Remove the login in the useForm initialization and use a single schema
  2. Use the trigger from react hook form to handle the form validation as the user move between steps.

Here is the full code:

import { z } from "zod";
import { useState } from "react";
import { useForm, Controller } from "react-hook-form";
import { zodResolver } from "@hookform/resolvers/zod";

const formSchema = z.object({
  dateOfBirth: z.string().min(1, "Date of birth is required"),
  phoneNumber: z.string().min(5, "Phone number is required"),
  streetAddress: z.string().min(1, "Street address is required"),
  city: z.string().min(1, "City is required"),
  emergencyContactName: z.string().min(1, "Name is required"),
  emergencyContactPhone: z.string().min(5, "Phone number is required"),
  emergencyContactRelation: z.string().min(1, "Relation is required"),
  experienceLevel: z.enum(["none", "beginner", "intermediate", "advanced"], {
    errorMap: () => ({ message: "Experience Level is required" }),
  }),
  experienceDescription: z.string().optional(),
  hasMedicalCondition: z.enum(["yes", "no"], {
    errorMap: () => ({ message: "please select yes or no" }),
  }),
  consent: z.enum(["true"], {
    errorMap: () => ({ message: "You must agree to continue" }),
  }),
});

const OnboardPage = () => {
  const [step, setStep] = useState<1 | 2>(1);
  const {
    register,
    control,
    handleSubmit,
    formState: { errors },
    trigger,
  } = useForm({
    resolver: zodResolver(formSchema),
    mode: "onChange",
    defaultValues: {
      dateOfBirth: "",
      phoneNumber: "",
      streetAddress: "",
      city: "",
      emergencyContactName: "",
      emergencyContactPhone: "",
      emergencyContactRelation: "",
      experienceLevel: undefined,
      experienceDescription: "",
      hasMedicalCondition: "" as z.infer<
        typeof formSchema.shape.hasMedicalCondition
      >,
      consent: "" as z.infer<typeof formSchema.shape.consent>,
    },
  });

  const onSubmit = async (data: z.infer<typeof formSchema>) => {
    console.log("Form Data:", data);
  };

  const handlePrevious = () => {
    if (step === 2) {
      setStep(1);
    }
  };

  const handleNext = async () => {
    const fieldsToValidate =
      step === 1
        ? ([
            "dateOfBirth",
            "phoneNumber",
            "streetAddress",
            "city",
            "emergencyContactName",
            "emergencyContactPhone",
            "emergencyContactRelation",
            "experienceLevel",
            "experienceDescription",
          ] as const)
        : (["hasMedicalCondition", "consent"] as const);

    const isValid = await trigger(fieldsToValidate);
    if (isValid) setStep(2);

    if (step === 2) {
      handleSubmit(onSubmit)();
    }
  };

  return (
    <div>
      <h1>Onboard</h1>
      <form>
        {step === 1 && (
          <>
            <div>
              <label>Date of Birth</label>
              <input {...register("dateOfBirth")} />
              {errors.dateOfBirth && (
                <p className="error-messsage">{errors.dateOfBirth.message}</p>
              )}
            </div>
            <div>
              <label>Phone Number</label>
              <input {...register("phoneNumber")} />
              {errors.phoneNumber && (
                <p className="error-messsage">{errors.phoneNumber.message}</p>
              )}
            </div>

            <div>
              <label>Street Address</label>
              <input {...register("streetAddress")} />
              {errors.streetAddress && (
                <p className="error-messsage">{errors.streetAddress.message}</p>
              )}
            </div>

            <div>
              <label>City</label>
              <input {...register("city")} />
              {errors.city && (
                <p className="error-messsage">{errors.city.message}</p>
              )}
            </div>

            <div>
              <label>Emergency Contact Name</label>
              <input {...register("emergencyContactName")} />
              {errors.emergencyContactName && (
                <p className="error-messsage">
                  {errors.emergencyContactName.message}
                </p>
              )}
            </div>

            <div>
              <label>Emergency Contact Phone</label>
              <input {...register("emergencyContactPhone")} />
              {errors.emergencyContactPhone && (
                <p className="error-messsage">
                  {errors.emergencyContactPhone.message}
                </p>
              )}
            </div>
            <div>
              <label>Emergency Contact Relation</label>
              <input {...register("emergencyContactRelation")} />
              {errors.emergencyContactRelation && (
                <p className="error-messsage">
                  {errors.emergencyContactRelation.message}
                </p>
              )}
            </div>
            <div>
              <label>Experience Level</label>
              <select {...register("experienceLevel")}>
                <option value="">Select</option>
                <option value="none">None</option>
                <option value="beginner">Beginner</option>
                <option value="intermediate">Intermediate</option>
                <option value="advanced">Advanced</option>
              </select>
              {errors.experienceLevel && (
                <p className="error-messsage">
                  {errors.experienceLevel.message}
                </p>
              )}
            </div>
            <div>
              <label>Experience Description</label>
              <textarea {...register("experienceDescription")} />
              {errors.experienceDescription && (
                <p className="error-messsage">
                  {errors.experienceDescription.message}
                </p>
              )}
            </div>
          </>
        )}
        {step === 2 && (
          <>
            <div>
              <label>Do you have a medical condition?</label>
              <select {...register("hasMedicalCondition")}>
                <option value="">Select</option>
                <option value="yes">Yes</option>
                <option value="no">No</option>
              </select>
              {errors.hasMedicalCondition && (
                <p className="error-messsage">
                  {errors.hasMedicalCondition.message}
                </p>
              )}
            </div>
            <div>
              <label>
                <Controller
                  name="consent"
                  control={control}
                  render={({ field }) => (
                    <input
                      type="checkbox"
                      {...field}
                      onChange={(e) =>
                        field.onChange(e.target.checked ? "true" : "")
                      }
                      checked={field.value === "true"}
                    />
                  )}
                />
                I agree to the terms and conditions
              </label>
              {errors.consent && (
                <p className="error-messsage">{errors.consent.message}</p>
              )}
            </div>
          </>
        )}
        {step === 2 && (
          <button type="button" onClick={handlePrevious}>
            Previous
          </button>
        )}
        <button type="button" onClick={handleNext}>
          {step === 1 ? "Next" : "Submit"}
        </button>
      </form>
    </div>
  );
};
export default OnboardPage;
.error-messsage {
  font-size: 12px;
  color: red;
}

Reasons:
  • RegEx Blacklisted phrase (2.5): Do you have a
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: AbdulSamad Ayoade

79540433

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

Visual Studio likes to warn you when it thinks that one of your functions could be declared 'noexcept' but isn't. Annoyingly, it can sometimes do this for virtual functions which are defined in a base class to do nothing, even though a derived class might be intended to override the function to throw exceptions.

Using noexcept(false) on the base class function declaration and definition can prevent this warning from being generated. (Using "#pragma warning (suppress: C26440)" on the function definition is another approach, and one that I personally find preferable.)

See https://developercommunity.visualstudio.com/t/c26440-can-be-declared-noexcept-generated-for-virt/292031

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

79540432

Date: 2025-03-28 03:04:30
Score: 4.5
Natty:
Report link

The platform is win11. Thank you everyone.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: 听风语

79540430

Date: 2025-03-28 03:02:30
Score: 1.5
Natty:
Report link

In 2025 there is a new answer, Flavour

Flavour is an open-source, batteries-included framework for making fast-loading, single-page apps with Java for business logic (and HTML for templates).

Pros:

Example projects built with Flavour:

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

79540409

Date: 2025-03-28 02:38:25
Score: 1.5
Natty:
Report link

You can use :has()

div#one:has(a[href="foo.html"]){
    background-color: #FF0000;
}
Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Eris Sulistina

79540408

Date: 2025-03-28 02:38:25
Score: 0.5
Natty:
Report link

Emin. I do hope to find you well...

When you active features like WAF (also when you make someting which request payload reading) on the NetScaler, it need to "read/check" the payload contents, so that it will request the server without any compression and, so that, to provide an acceptable performace, it could use http compression and Chunked Tranfers. It you disable HTTP compression on the "Service Group/Service" you get an non chunked response (I'm not sure if this behavior occurs in the all situations, unfortunately, but you can try...).

But, you must mind the compression will be disabled and you will get a lot a traffic on large responses payloads... I tried to post a image, I'm a rookie here and I'm not good with forums at all... :)

On the NetScaler... Load Balancing/Virtual Server ServiceGroup Binding/Load Balancing Service Group

Disable Service Group/Service Compression

Another option, this one outside of Netscaler, you could use the HTTP header Cache-Control: public, no-transform to prevent any modifications by any proxy...

Cache-Control: public, no-transform Disable HTTP Compression on the ServiceGroup

I hope to help you...

Ricardo

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

79540407

Date: 2025-03-28 02:35:24
Score: 7 🚩
Natty: 4
Report link

Have you solved it?I encountered this question recently,too.Later,I found out that the file name I entered in the terminal was wrong.

Reasons:
  • Blacklisted phrase (2): Have you solved it
  • RegEx Blacklisted phrase (1.5): solved it?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Maggie Gordon

79540405

Date: 2025-03-28 02:35:24
Score: 3
Natty:
Report link

php artisan config:publish cors (Add cors.php to your config folder)

Read more about cors

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

79540379

Date: 2025-03-28 02:10:18
Score: 3
Natty:
Report link

After numerous attempts and various suggestions, I finally stumbled onto a remedy for this issue. Refer to the February 14, 2022 answer from Sümeyye Çakır in the following post:

"The credentials supplied to the package were not recognized" error when authenticating as server with certificate generated using BouncyCastle

In my case, changing the "Load User Profile" option from false to true on the affected application pool did the trick.

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

79540372

Date: 2025-03-28 02:02:17
Score: 2.5
Natty:
Report link

Guys stop using vs code for java. you can't reference modules here. you will have to manually compile everything and run it at least for me. The reference detecting in vs code is also bad it can't recognize that I used a module "something" from customPackage.jar in module-info.java even though it's clearly referenced in settings.json

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

79540356

Date: 2025-03-28 01:43:13
Score: 1
Natty:
Report link

Use the interval function to slide the window according to the duration, and you can choose a handling scheme for encountering null values. In this case, we select the previous valid K-line to replace the missing K-line. Code demonstration.


n = 1000000
date = take(2019.11.07 2019.11.08, n)
time = (09:30:00.000 + rand(2*60*60*1000, n/2)).sort!() join (13:00:00.000 + rand(2*60*60*1000, n/2)).sort!()
timestamp = concatDateTime(date, time)
price = 100+cumsum(rand(0.02, n)-0.01)
volume = rand(1000, n)
symbol = rand(`600519`000001`600000`601766, n)
trade = table(symbol,date, time, timestamp, price, volume).sortBy!(`symbol`timestamp)
SQL:
select 
    first(price) as open, 
    max(price) as high, 
    min(price) as low, 
    last(price) as close, 
    sum(volume) as volume 
from trade 
group by symbol, date, interval(time,5m, 'prev')

the output is :

enter image description here

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

79540349

Date: 2025-03-28 01:36:11
Score: 2.5
Natty:
Report link

Scan.ahk

-----------------------------------------------------------------------------

SetFormat, Integer, Hex

Gui +ToolWindow -SysMenu +AlwaysOnTop

Gui, Font, s14 Bold, Arial

Gui, Add, Text, w100 h33 vSC 0x201 +Border, {SC000}

Gui, Show,, % "// ScanCode //////////"

Loop 9

OnMessage( 255+A_Index, "ScanCode" ) ; 0x100 to 0x108

Return

ScanCode( wParam, lParam ) {

Clipboard := "SC" SubStr((((lParam>>16) & 0xFF)+0xF000),-2)

GuiControl,, SC, %Clipboard%

}

Reasons:
  • No code block (0.5):
  • Unregistered user (0.5):
  • Filler text (0.5): -----------------------------------------------------------------------------
  • Filler text (0): //////////
  • Low reputation (1):
Posted by: user30087070

79540347

Date: 2025-03-28 01:34:11
Score: 0.5
Natty:
Report link

The accepted answer is incorrect because the question is about native C/C++, managed C/C++ is a very different story.

The MS VS does not allow to combine unmanaged and managed projects together in one solution.

But there is some trick: you need to know what a solution file is, how it is formatted and composed. So, you need to create a solution file manually.

The main point is: the VS recognizes a project type by NOT an extension of the file name or even by parsing its content, this is the work for MSBuild. There are some sort of registered project type GUIDs that are accepted by VS, one of them is for simple folder nodes, others for VC++ and C# projects respectively.

This is excerpt from real solution file:

Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cpp_template.con", "cpp\cpp_template.con.vcxproj", "{00000C13-EEEE-BBBB-6667-000000000020}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "csh_template.con", "net\csh_template.con.csproj", "{00000C13-EEEE-BBBB-6667-CAA000000000}"
EndProject

C++ native and C# projects can be very friendly to each other. :D

The complete description of the genetic solution file is in this document mix_proj_in_vs_sln.doc, but if you do not want to waste your time reading this file there is a solution that includes simple projects: C# and C++ console apps. It was created in VS 2017, can be downloaded and built.

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

79540337

Date: 2025-03-28 01:28:10
Score: 1
Natty:
Report link

You can’t directly generate an ID or token from the fingerprint due to privacy restrictions. Instead, use the local_auth package to verify the user’s fingerprint locally on the device. After the user logs in once using a traditional method (like email/password), generate a Firebase custom token (via a server or Firebase Admin SDK) and save it securely on the device using flutter_secure_storage. For subsequent logins, when the fingerprint scan succeeds, retrieve this stored token and use Firebase’s signInWithCustomToken method to authenticate the user and access the app. This approach is practical, secure, and works well, though it requires an initial setup with a non-fingerprint login to associate the token with the user’s account.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Harsh Patel

79540336

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

check use Theme.AppCompat style in you Activity in file Manifest

        <activity
            android:name="com...MainActivity"
            android:label="3DMap"
            android:theme="@style/FullscreenTheme" />

      <style name="FullscreenTheme" parent="Theme.AppCompat">
        ...
      </style>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Гена

79540324

Date: 2025-03-28 01:18:07
Score: 4
Natty: 4.5
Report link

I read your answer and it works perfectly for what I was looking for. I only have trouble with adding another javascript to the pdf. For example, besides the contact list, I will also want to have a dropdown menu for "guests". If I do this in a separate javascript, the previous one stops working. If I add it in the same javascript, the previous stops working too. What do you think might be my problem?

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

79540316

Date: 2025-03-28 01:11:06
Score: 3
Natty:
Report link

BTW the code I got working (special thx to @jasonharper):

from bank import value


def test_greeting_charge():
    assert value("hello") == 0
    assert value("hi") == 20
    assert value(" ") == 100
    assert value("test") == 100
    assert value("hi where is 100th st?") == 20
    assert value("oloo") == 100
    assert value("Hi") == 20


if __name__ == "__main__":
    main()
Reasons:
  • Blacklisted phrase (1): thx
  • Has code block (-0.5):
  • User mentioned (1): @jasonharper
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Cyrus Vali

79540312

Date: 2025-03-28 01:09:06
Score: 1
Natty:
Report link

As of .NET 9, there is no builtin binary serialization technology in .NET.

You can, however, use BinaryReader and BinaryWriter and manually serialize similar as you have demonstrated with Java.

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

79540306

Date: 2025-03-28 00:59:04
Score: 3.5
Natty:
Report link

Select a method or function name go to menu bar Edit -> Find Usages -> Find Usages Settings, a pop up will open there you need to select the scope and save the settings.
enter image description here
enter image description here

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

79540287

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

Test answer, ok Sorry about it abacaba

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Dan Gray

79540275

Date: 2025-03-28 00:21:57
Score: 3.5
Natty:
Report link

@Brian, think using https://github.com/PHPMailer/PHPMailer It's easiest and you will be abble to use an email account not the server default sender.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @Brian
  • Low reputation (1):
Posted by: Everton Barros Jr

79540267

Date: 2025-03-28 00:17:56
Score: 0.5
Natty:
Report link

Please verify every ID from the log:

2025-03-27T23:41:56.8259367Z Token type string
2025-03-27T23:41:56.8291251Z Parsed token type System.Object[]
2025-03-27T23:41:56.8395360Z Deploying asset '5f000da0-0000-0000-9f13-22900000000b' to environment 'e000a202-6759-0000-a33d-3b00000181c1' of project '1610007'
2025-03-27T23:41:57.7368796Z ##[error]Error in request to deploy file asset: 'You don't have the required permissions to perform this operation.'
2025-03-27T23:41:59.4654923Z ##[section]Finishing: Deploy to environment D365FO-qa

So, you should find the following ID in your LCS project:

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Filler text (0.5): 00000000
  • Low reputation (1):
Posted by: vmoskalenko

79540260

Date: 2025-03-28 00:11:55
Score: 2
Natty:
Report link

Tools | Options | Text Editor | All Languages | CodeLens

CodeLens enable disable checkbox

Uncheck "Enable CodeLens", save, re-enable.

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

79540258

Date: 2025-03-28 00:11:55
Score: 2
Natty:
Report link

Ag Grid supports row selection:

enter image description here

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

79540257

Date: 2025-03-28 00:10:55
Score: 0.5
Natty:
Report link

A newer version of the library is available from Maven Central. Use version 4.0.0 instead of 3.8, which was previously deployed in JCenter (discontinued).

implementation 'com.nabinbhandari.android:permissions:4.0.0'
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Alisha Sharma Chapai

79540256

Date: 2025-03-28 00:09:54
Score: 2
Natty:
Report link

I also faced this problem but I deleted the node modules from github repo and selected built option while deployment settings, and now mine is working perfectly.

Must give it a try ... also make sure of vercel json file to correct.

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

79540255

Date: 2025-03-28 00:08:54
Score: 3.5
Natty:
Report link

I like the concept of your algorithm in C# above but what are the definitions of <Column> and <ChipData> in your program? I would like to write a test program to verify the concept of what is playable and which patterns are not playable unless a new column is added. Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Honeypot Tang

79540253

Date: 2025-03-28 00:05:54
Score: 2.5
Natty:
Report link

Yes you can. Making the attribute is easy enough.

The tricky part is telling Visual Studio (or Rider or whatever IDE) what to inform the user when a class is found that will need to implement the method in future versions. You can do this with Roslyn analysers. You can even, optionally, make a "code fix" to automatically suggest a default implementation of the member. Roslyn isn't easy in my experience, but there is a good tutorial to get started here:

https://learn.microsoft.com/en-us/dotnet/csharp/roslyn-sdk/tutorials/how-to-write-csharp-analyzer-code-fix

And a video series here.

https://youtube.com/playlist?list=PLmoVFE4i0sTXwx750dJbWE577uWmEGVxY&si=9UGQIhbESMjdQ4TR

Before you start though, you should consider how this analyser will get deployed to the consumer of your library. I guess you'll bundle the analyser into a Nuget package that also contains your regular library. But that will be finicky so make a proof of concept of that part first before you put lots of effort into building the bit that analyses syntax and symbols and outputs the diagnostic.

The effort involved in that proof of concept will inform whether you want to go ahead.

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (1.5): a good tutorial
  • Long answer (-0.5):
  • No code block (0.5):
Posted by: benjamin

79540247

Date: 2025-03-27 23:58:52
Score: 4.5
Natty:
Report link

Thank you so much. This indeed works! But I want to make sure I understand how and why this works. Here is my breakdown of how I think it is functioning. But I'm stumped why add the data[0].length. What is that doing that just data.length doesn't do?

if (mealSkip === true) {
  row[2] = false; // Updates the "data" variable above within just this script.
  activePage.getRange(2,1,data.length, data[0].length).setValues(data); // Takes the updated "data" from this script and applies it to the whole row.
  console.log("Set mealSkip to equal FALSE"); // DEBUGGING LOGS

  // activePage.getRange(2,1,data.length, data[0].length).setValues(data);
  // ^ The active spreadsheet, called at the top of this function
  //           ^ getRange(row, column, numRows, numColumns) 
  //           ^ https://developers.google.com/apps-script/reference/spreadsheet/sheet#getRange(Integer,Integer,Integer,Integer)
  //                    ^ 2 = Unlike the row[#] above, THESE rows count starts at 1, so to skip the first row, we start at 2.
  //                       ^ 1 = The first column. Since we don't skip the first column, it is set to 1. 
  //                         ^ data.length = "data" is the variable established at the top of this function
  //                         ^ data.length = "length" is a property that returns an int that is the amount of rows for this range.
  //                                      ^ data[0].length = Same as above, except the [0] ?????
  //                                                     ^ setValues(data) = This will update all the cells in this row with the "data" variable, including any changes we applied via the script. 
}
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): ???
  • 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: Kim

79540245

Date: 2025-03-27 23:55:51
Score: 3.5
Natty:
Report link

The solution was in updating my Rstudio version from 4.3.2 to 4.4.x

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

79540239

Date: 2025-03-27 23:47:49
Score: 1
Natty:
Report link

Finally I solved it adding System.setProperty("hsqldb.method_class_names", "net.ucanaccess.converters.*"); before Connection (more info http://hsqldb.org/doc/2.0/guide/sqlroutines-chapt.html#src_jrt_access_control). I got the same error when I did an Insert (my Access database date is 'dd/MM/yyyy') and I used a String 'yyyy-MM-dd' to solve the insert error.

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Carlos

79540225

Date: 2025-03-27 23:37:48
Score: 3
Natty:
Report link

Sadly, if you deleted message for yourself, there is no way to delete it from others.

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

79540221

Date: 2025-03-27 23:32:47
Score: 3
Natty:
Report link

este post me ayudo con mi proyecto, cambie el codigo para que en vez de escribir, lograra leer un registro en el plc, pero me manda 16 bit de error, me ayudan a saber cual es el problema...
Saludos

 public void Sockettwo()
 {
     string SERV_IP_ADDR = "192.168.1.90";
     const int FINS_UDP_PORT = 9600;

     byte[] sendPacket = new byte[]
     {
 // Full UDP packet: 80 00 02 00 00 00 00 05 00 19 01 02 82 00 64 00 00 01 00 01
 // Header
 0x80, //0.(ICF) Display frame information: 1000 0001
 0x00, //1.(RSV) Reserved by system: (hex)00
 0x02, //2.(GCT) Permissible number of gateways: (hex)02
 0x00, //3.(DNA) Destination network address: (hex)00, local network
 0x00, //4.(DA1) Destination node address: (hex)00, local PLC unit
 0x00, //5.(DA2) Destination unit address: (hex)00, PLC
 0x00, //6.(SNA) Source network address: (hex)00, local network
 0x05, //7.(SA1) Source node address: (hex)05, PC's IP is 192.168.250.5
 0x00, //8.(SA2) Source unit address: (hex)00, PC only has one ethernet
 0x19, //9.(SID) Service ID: just give a random number 19

 // Command (Updated for Read Request)
 0x01, //10.(MRC) Main request code: 01, memory area read (0x01: Read, 0x02: Write)
 0x01, //11.(SRC) Sub-request code: 01, memory area read

 // PLC Memory Area
 0x82, //12.Memory area code (1 byte): 82(DM)

 // Address information
 0x00, //13.Read start address (2 bytes): D100
 0x64,
 0x00, //15.Bit address (1 byte): Default 0
 0x00, //16.No. of items (2 bytes): Read 1 word (D100)
 0x01,

         // No data to send, just requesting to read
     };

     UdpClient client = new UdpClient(); //create a UdpClient instance

     try
     {
         // Send the request packet to read from the PLC
         client.Send(sendPacket, sendPacket.Length, SERV_IP_ADDR, FINS_UDP_PORT);

         // Receive the response (response packet will contain the read value)
         IPEndPoint remoteEndPoint = new IPEndPoint(IPAddress.Parse(SERV_IP_ADDR), FINS_UDP_PORT);
         byte[] receivePacket = client.Receive(ref remoteEndPoint);

         // Print the received packet length and content for debugging
         Console.WriteLine("Received packet length: " + receivePacket.Length);
         Console.WriteLine("Received packet: " + BitConverter.ToString(receivePacket));

         // Ensure packet is at least 19 bytes long
         if (receivePacket.Length >= 19)
         {
             // Debugging: Print the part of the packet where data is expected
             Console.WriteLine("Extracted data (from byte 17 onward): " + BitConverter.ToString(receivePacket, 17, receivePacket.Length - 17));

             // Extract the read value from the response packet (data starts at byte 17)
             byte[] readData = new byte[2];  // Adjusted to read 2 bytes for int16 (for 'D100' which is INT)
             Array.Copy(receivePacket, 17, readData, 0, 2);  // Copy 2 bytes (for 'int16')

             // Convert the read data to a 16-bit integer (for an 'int16' type, 2 bytes)
             short value = BitConverter.ToInt16(readData, 0);  // Using ToInt16 for 2 bytes
             Console.WriteLine($"Read value: {value}");
         }
         else
         {
             Console.WriteLine("Received packet is too short to contain the expected data.");
         }
     }
     catch (SocketException se)
     {
         Console.WriteLine(se.ErrorCode + ": " + se.Message);
     }

     client.Close();
 }
Reasons:
  • Blacklisted phrase (2): ayuda
  • Blacklisted phrase (1.5): Saludos
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Carlos J. Galvez O.

79540206

Date: 2025-03-27 23:18:44
Score: 1.5
Natty:
Report link
#include <iostream>
#include <windows.h>

using namespace std;

int main() {
    SetConsoleOutputCP(CP_UTF8);
    cout << "Это работает" << endl;
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dian

79540195

Date: 2025-03-27 23:11:42
Score: 1
Natty:
Report link

Looking at Vuetify 3, the most recent solution is the menu-icon prop.

Just add:

:menu-icon="null"

Source:
https://vuetifyjs.com/en/api/v-combobox/#props-menu-icon

Reasons:
  • Whitelisted phrase (-1): solution is
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: botivegh

79540194

Date: 2025-03-27 23:11:42
Score: 1
Natty:
Report link

There are a few ways that you can download your files.

For the website:

  1. You can click the 3 dots in the Files sidebar drawer, and then click Download as zip. See the following screenshot: download as zip on website

  2. In the same drawer, next to each file, there are 3 dots. You can click that then click Download.

For the app:

  1. In the Files menu, click the Download as zip button at the bottom: download as zip on mobile app

  2. In the same menu, next to each file, there are 3 dots. You can click that then click Download.

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

79540181

Date: 2025-03-27 23:00:38
Score: 9 🚩
Natty: 5.5
Report link

did you find a solution for this problem ?

Reasons:
  • RegEx Blacklisted phrase (3): did you find a solution
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): did you find a solution for this
  • Low reputation (1):
Posted by: Y_Djin

79540175

Date: 2025-03-27 22:56:37
Score: 1.5
Natty:
Report link

thisremove this files

delete this files in (C:\Users\elsan\AppData\Local\Microsoft\VisualStudio\17.0_be4d75f3)

toolbox.tbd

toolboxIndex.tbd

?*?.tbd

run

C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE

Devenv.exe /ResetSettings

Start a project, in case of MAUI proyect close all windows and open App.xaml

this will show tools.

close project.

backup this files (C:\Users\elsan\AppData\Local\Microsoft\VisualStudio\17.0_be4d75f3)

ApplicationPrivateSettings.lock

ApplicationPrivateSettings.xml

devenv.exe.config

InstalledTemplates.json

NpdProjectTemplateCache_en-US

privateregistry.bin

sdk.txt

toolbox.tbd

toolboxIndex.tbd

if fail again copy backuped files

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

79540167

Date: 2025-03-27 22:48:35
Score: 3
Natty:
Report link

During the xero sign in when getting access_token have you checked if you selected Demo Company

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

79540162

Date: 2025-03-27 22:43:35
Score: 1.5
Natty:
Report link

in my case it was fixed with this code:

.mat-mdc-form-field-flex{
    height: 46px;  /* Set your height here */
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Pedro Paulo Sobral de Moraes

79540161

Date: 2025-03-27 22:43:35
Score: 1
Natty:
Report link

The simplest solution to this problem I have found is manually importing the modified type and type casting the data to it.

So in this case I want to pass in the to.meta from my Nuxt middleware into the typed function. tsserver and vue-tsc are both telling me that to.meta is of the vue-router type RouteMeta which has been modified in my index.d.ts. So i adjusted my middleware to look like this:

import type { RouteMeta } from "vue-router";

// global authorization middleware that runs on every route to check if user is entitled to be there
export default defineNuxtRouteMiddleware(
  (to) => {
    // ...

    const isAuthorizedTo = useAuthStore().isAuthorizedTo(to.meta as RouteMeta);

    // ...
  },
);

I am typecasting from RouteMeta to RouteMeta, which feels redundant and unnecessary, but it does solve the compilation and language server issues.

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

79540156

Date: 2025-03-27 22:42:34
Score: 4
Natty:
Report link

Well to continue the trend here is another online JSON Visualiser:

  1. https://jsonvisualizer.com

  2. https://jsoncrack.com

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

79540146

Date: 2025-03-27 22:33:32
Score: 2.5
Natty:
Report link

You can do it via settings. Settings > General > Login Items and Extensions > Remove the app from the list.

Simple as that

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

79540129

Date: 2025-03-27 22:13:28
Score: 2.5
Natty:
Report link

I post this sample screen shot to approve it is possible.

enter image description here

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

79540126

Date: 2025-03-27 22:10:28
Score: 3.5
Natty:
Report link

I don't know how to modify startup list content , but it's possable to execute CoE command direct from Ads , I made a note there https://advanlee.blogspot.com/2021/11/access-twincat-ethercat-coe-soe-object.html

Hope that's help

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

79540116

Date: 2025-03-27 22:06:27
Score: 3
Natty:
Report link

This is a configuration or networking issue in your Docker setup. Make sure both your app container and database container are on the same Docker network:

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

79540113

Date: 2025-03-27 22:03:26
Score: 2
Natty:
Report link
val.replace(/(code=)[^&]+/, '$1***')
Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Igor Shmukler

79540092

Date: 2025-03-27 21:46:24
Score: 3.5
Natty:
Report link

Support for plug-ins has meanwhile landed in Fleet. You can install them from a dedicated UI within the editor. See https://www.jetbrains.com/help/fleet/managing-plugins.html.

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

79540090

Date: 2025-03-27 21:44:23
Score: 3.5
Natty:
Report link

I restarted DD and rebooted my laptop.

Problem solved. Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Brian Tracy

79540087

Date: 2025-03-27 21:40:23
Score: 1
Natty:
Report link

The official JDBC driver for MySQL is mysql-connector-j, not mysql-connector-java.

The latest version of mysql-connector-j works.

<dependency>
  <groupId>com.mysql</groupId>
  <artifactId>mysql-connector-j</artifactId>
  <version>9.2.0</version>
  <optional>true</optional>
</dependency>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: giles3

79540080

Date: 2025-03-27 21:37:22
Score: 1.5
Natty:
Report link

The problem I see here, and I'm not a technical person, I simply try to co exist in the world with those who wish to climb every ladder and project their opinions and lifestyles onto the rest of the population who are not interested at all so these wannabes find it necessary to get to us anyway they can and to hack their way into our devices is such a pleasure for them it tickles their narcissistic tastebuds while those of us hacked are left feeling angry and victimised but it seems that everywhere we turn there's instructions and lessons for these intrusive germs to worm their way into our lives more fully.

I'm here to say it's wrong, distasteful and it reeks of delusional entitlement.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Herby birdstree

79540072

Date: 2025-03-27 21:34:21
Score: 2
Natty:
Report link

I had this issue and it was due to a silly mistake in the curl call. See below:

Wrong call: curl http:127.0.0.1:8000
Corrected call: curl http://127.0.0.1:8000

I missed the // and the curl was not recognizing the service due to this.

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

79540070

Date: 2025-03-27 21:33:21
Score: 5
Natty:
Report link

I'm using the recommended Hardcodet NotifyIcon and having the same problem. The balloon tip icon (the small one, in the upper left corner, left from the balloon title) is just old, shows an icon, that was already deleted from the application. The big balloon icon can be set without any problems, just the small one is wrong.

Reasons:
  • No code block (0.5):
  • Me too answer (2.5): having the same problem
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Luděk

79540062

Date: 2025-03-27 21:27:19
Score: 2.5
Natty:
Report link

Old thread, but there is an Android app to triangulate Wifi Access Points without connecting to them: https://play.google.com/store/apps/details?id=com.wloc Of course it is based on the GPS measurements performed by the mobile device, however, maybe that app is able to do the reverse measurements. I am not sure though.

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

79540052

Date: 2025-03-27 21:20:18
Score: 2
Natty:
Report link

I haven't got to the root of the problem nor know how to diagnose it.

However I did fix the problem by uninstalling netmiko -

pip uninstall netmiko

and uninstalled python version 3.13.

I have re-installed python 3.12 and installed:

pip install netmiko==4.2.0

and it fixed the problem.

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