79105466

Date: 2024-10-19 16:58:28
Score: 2
Natty:
Report link

Sometimes the server is screwed up and could be the reason also try changing the name of the image file if possible and redo the deployment

You can also try moving the image outside and checking if file access is the issue. Although this issue is peculiar, this is most probably a bug which is unusual.

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

79105455

Date: 2024-10-19 16:54:27
Score: 2
Natty:
Report link

I got the same error and all I did was to shift from my python 3.9.0 to python 3.10.11 and it worked!

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: wizcoderx

79105444

Date: 2024-10-19 16:48:26
Score: 0.5
Natty:
Report link

I used MySql.EntityFrameworkCore and had same problem. When I replaced it on Pomelo.EntityFrameworkCore.MySql all migrations accepted fine. I recommend use Pomelo.EntityFrameworkCore.MySql, it don't need a lot of change after migration from MySql.EntityFrameworkCore, little bit differs connection and thats all.

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

79105442

Date: 2024-10-19 16:47:24
Score: 6.5 🚩
Natty:
Report link

I have this problem too. Do you find and way to solve this

Reasons:
  • Blacklisted phrase (1): I have this problem
  • RegEx Blacklisted phrase (2.5): Do you find an
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Idrees Idrees

79105426

Date: 2024-10-19 16:38:22
Score: 5
Natty:
Report link

Following the syntax error, I decided to actually implement IIncrementalGenerator: [...]

However, even then, the same exact error is still reported.

Yes, of course, because you are still using GeneratorExecutionContext. The error told you in no uncertain terms that it is verboten to use GeneratorExecutionContext.

How can I solve this issue?

Do not use GeneratorExecutionContext.

Reasons:
  • Blacklisted phrase (0.5): How can I
  • RegEx Blacklisted phrase (1.5): How can I solve this issue?
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: DamselInDress

79105425

Date: 2024-10-19 16:37:21
Score: 5
Natty:
Report link

In GCP, VPC networks, including their associated routes and firewall rules, are global resources. They are not associated with any particular region or zone. Therefore, I'm not able to specify different regions for the VPCs.

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

79105421

Date: 2024-10-19 16:33:20
Score: 4.5
Natty:
Report link

SOLVED: I am dumb and misreaded \ and /

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

79105419

Date: 2024-10-19 16:31:19
Score: 1
Natty:
Report link

The only way I found to achieve this is to convert scss variables in css custom properties.

In _variables.scss file I have all scss variables:

$orange: hsl(25, 96%, 49%);

Then I convert them in normal css variables:

:root {
    --orange: #{$orange};
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: RufyLegend

79105412

Date: 2024-10-19 16:30:19
Score: 2
Natty:
Report link

Usually, such errors mean that the node version you are trying to use is incompatible with the package you are trying to install. Try downgrading node.js version to 16. And if that works, search for manual package upgrades that cause error in v18

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

79105406

Date: 2024-10-19 16:26:17
Score: 1.5
Natty:
Report link

I got the same error message for ESP32-DevKitC-WROOM board.

In file included from /home/ubuntu/zephyrproject/zephyr/include/zephyr/toolchain/gcc.h:98, from /home/ubuntu/zephyrproject/zephyr/include/zephyr/toolchain.h:50, from /home/ubuntu/zephyrproject/zephyr/include/zephyr/kernel_includes.h:23, from /home/ubuntu/zephyrproject/zephyr/include/zephyr/kernel.h:17, from /home/ubuntu/zephyrproject/zephyr/samples/basic/fade_led/src/main.c:12: /home/ubuntu/zephyrproject/zephyr/include/zephyr/device.h:96:41: error: '__device_dts_ord_DT_N_ALIAS_pwm_led0_P_pwms_IDX_0_PH_ORD' undeclared here (not in a function) 96 | #define DEVICE_NAME_GET(dev_id) _CONCAT(_device, dev_id) | ^~~~~~~~~ /home/ubuntu/zephyrproject/zephyr/include/zephyr/toolchain/common.h:137:26: note: in definition of macro '_DO_CONCAT' 137 | #define _DO_CONCAT(x, y) x ## y | ^ /

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Filler text (0.5): ~~~~~~~~
  • Low reputation (1):
Posted by: Andrew Chou

79105399

Date: 2024-10-19 16:22:17
Score: 3
Natty:
Report link

just put off the all antivirus software that you have install in window 10 or 11 and also put off the windwo firewall after that run it again the bug will be automatically fixed.

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

79105394

Date: 2024-10-19 16:20:16
Score: 0.5
Natty:
Report link

Berserk Chapter 376 - Read Berserk Manga Online Berserk Chapter 375 - Read Berserk Manga Online Berserk Chapter 374 - Read Berserk Manga Online Berserk Chapter 373 - Read Berserk Manga Online Berserk Chapter 372 - Read Berserk Manga Online Berserk Chapter 371 - Read Berserk Manga Online Berserk Chapter 370 - Read Berserk Manga Online Berserk Chapter 369 - Read Berserk Manga Online Berserk Chapter 368 - Read Berserk Manga Online Berserk Chapter 367 - Read Berserk Manga Online Berserk Chapter 366 - Read Berserk Manga Online Berserk Chapter 365 - Read Berserk Manga Online Berserk Chapter 364 - Read Berserk Manga Online Berserk Chapter 363 - Read Berserk Manga Online Berserk Chapter 362 - Read Berserk Manga Online Berserk Chapter 361 - Read Berserk Manga Online Berserk Chapter 360 - Read Berserk Manga Online Berserk Chapter 359 - Read Berserk Manga Online Berserk Chapter 358 - Read Berserk Manga Online Berserk Chapter 357 - Read Berserk Manga Online Berserk Chapter 356.5 - Read Berserk Manga Online Berserk Chapter 356.2 - Read Berserk Manga Online Berserk Chapter 356.1 - Read Berserk Manga Online Berserk Chapter 356 - Read Berserk Manga Online Berserk Chapter 355 - Read Berserk Manga Online Berserk Chapter 354 - Read Berserk Manga Online Berserk Chapter 353 - Read Berserk Manga Online Berserk Chapter 352 - Read Berserk Manga Online Berserk Chapter 351 - Read Berserk Manga Online Berserk Chapter 350.6 - Read Berserk Manga Online Berserk Chapter 350.5 - Read Berserk Manga Online Berserk Chapter 350 - Read Berserk Manga Online Berserk Chapter 349 - Read Berserk Manga Online Berserk Chapter 348 - Read Berserk Manga Online Berserk Chapter 347 - Read Berserk Manga Online Berserk Chapter 346 - Read Berserk Manga Online Berserk Chapter 345 - Read Berserk Manga Online Berserk Chapter 344 - Read Berserk Manga Online Berserk Chapter 343 - Read Berserk Manga Online Berserk Chapter 342 - Read Berserk Manga Online Berserk Chapter 341 - Read Berserk Manga Online Berserk Chapter 340 - Read Berserk Manga Online Berserk Chapter 339 - Read Berserk Manga Online Berserk Chapter 338 - Read Berserk Manga Online Berserk Chapter 337 - Read Berserk Manga Online Berserk Chapter 336 - Read Berserk Manga Online Berserk Chapter 335 - Read Berserk Manga Online Berserk Chapter 334 - Read Berserk Manga Online Berserk Chapter 333 - Read Berserk Manga Online Berserk Chapter 332 - Read Berserk Manga Online Berserk Chapter 331 - Read Berserk Manga Online Berserk Chapter 330 - Read Berserk Manga Online Berserk Chapter 329 - Read Berserk Manga Online Berserk Chapter 328 - Read Berserk Manga Online Berserk Chapter 327 - Read Berserk Manga Online Berserk Chapter 326 - Read Berserk Manga Online Berserk Chapter 325 - Read Berserk Manga Online Berserk Chapter 324 - Read Berserk Manga Online Berserk Chapter 323 - Read Berserk Manga Online Berserk Chapter 322 - Read Berserk Manga Online Berserk Chapter 321 - Read Berserk Manga Online Berserk Chapter 320 - Read Berserk Manga Online Berserk Chapter 319 - Read Berserk Manga Online Berserk Chapter 318 - Read Berserk Manga Online Berserk Chapter 317 - Read Berserk Manga Online Berserk Chapter 316 - Read Berserk Manga Online Berserk Chapter 315 - Read Berserk Manga Online Berserk Chapter 314 - Read Berserk Manga Online Berserk Chapter 313 - Read Berserk Manga Online Berserk Chapter 312 - Read Berserk Manga Online Berserk Chapter 311 - Read Berserk Manga Online Berserk Chapter 310 - Read Berserk Manga Online Berserk Chapter 309 - Read Berserk Manga Online Berserk Chapter 308 - Read Berserk Manga Online Berserk Chapter 307 - Read Berserk Manga Online Berserk Chapter 306 - Read Berserk Manga Online Berserk Chapter 305 - Read Berserk Manga Online Berserk Chapter 304 - Read Berserk Manga Online Berserk Chapter 303 - Read Berserk Manga Online Berserk Chapter 302 - Read Berserk Manga Online Berserk Chapter 301 - Read Berserk Manga Online Berserk Chapter 300 - Read Berserk Manga Online Berserk Chapter 299 - Read Berserk Manga Online Berserk Chapter 298 - Read Berserk Manga Online Berserk Chapter 297 - Read Berserk Manga Online Berserk Chapter 296 - Read Berserk Manga Online Berserk Chapter 295 - Read Berserk Manga Online Berserk Chapter 294 - Read Berserk Manga Online Berserk Chapter 293 - Read Berserk Manga Online Berserk Chapter 292 - Read Berserk Manga Online Berserk Chapter 291 - Read Berserk Manga Online Berserk Chapter 290 - Read Berserk Manga Online Berserk Chapter 289 - Read Berserk Manga Online Berserk Chapter 288 - Read Berserk Manga Online Berserk Chapter 287 - Read Berserk Manga Online Berserk Chapter 286 - Read Berserk Manga Online Berserk Chapter 285 - Read Berserk Manga Online Berserk Chapter 284 - Read Berserk Manga Online Berserk Chapter 283 - Read Berserk Manga Online Berserk Chapter 282 - Read Berserk Manga Online Berserk Chapter 281 - Read Berserk Manga Online Berserk Chapter 280 - Read Berserk Manga Online Berserk Chapter 279 - Read Berserk Manga Online Berserk Chapter 278 - Read Berserk Manga Online Berserk Chapter 277 - Read Berserk Manga Online Berserk Chapter 276 - Read Berserk Manga Online Berserk Chapter 275 - Read Berserk Manga Online Berserk Chapter 274 - Read Berserk Manga Online Berserk Chapter 273 - Read Berserk Manga Online Berserk Chapter 272 - Read Berserk Manga Online Berserk Chapter 271 - Read Berserk Manga Online Berserk Chapter 270 - Read Berserk Manga Online Berserk Chapter 269 - Read Berserk Manga Online Berserk Chapter 268 - Read Berserk Manga Online Berserk Chapter 267 - Read Berserk Manga Online Berserk Chapter 266 - Read Berserk Manga Online Berserk Chapter 265 - Read Berserk Manga Online Berserk Chapter 264 - Read Berserk Manga Online Berserk Chapter 263 - Read Berserk Manga Online Berserk Chapter 262 - Read Berserk Manga Online Berserk Chapter 261 - Read Berserk Manga Online Berserk Chapter 260 - Read Berserk Manga Online Berserk Chapter 259 - Read Berserk Manga Online Berserk Chapter 258 - Read Berserk Manga Online Berserk Chapter 257 - Read Berserk Manga Online Berserk Chapter 256 - Read Berserk Manga Online Berserk Chapter 255 - Read Berserk Manga Online Berserk Chapter 254 - Read Berserk Manga Online Berserk Chapter 253 - Read Berserk Manga Online Berserk Chapter 252 - Read Berserk Manga Online Berserk Chapter 251 - Read Berserk Manga Online Berserk Chapter 250 - Read Berserk Manga Online Berserk Chapter 249 - Read Berserk Manga Online

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

79105377

Date: 2024-10-19 16:15:14
Score: 4
Natty:
Report link

My name is Zubayr. I am job programmer. I am not married. I am student. I am 12 years old. My hobby reading book and movie. I am from Uzbekistan. I am birthday 21 January. Questions; What are the codes? Which programming laguage should I choose first?

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

79105373

Date: 2024-10-19 16:14:14
Score: 3.5
Natty:
Report link

I ended up building my own little library that also integrates with Webflow components super easily.

If you want to check it out, you can find it here:

https://github.com/vierless/attributes/tree/main/signature-pad

Reasons:
  • Blacklisted phrase (0.5): check it out
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Julian W.

79105353

Date: 2024-10-19 16:04:12
Score: 1
Natty:
Report link

Updated for 2024.

Using the Angular CLI for version 18+, simply run this command:

ng add @angular/localize
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: John Spiteri

79105343

Date: 2024-10-19 15:57:10
Score: 1.5
Natty:
Report link

This happened to me when I was switching branches between laravel 10 and 11 back and forth. Fixed it with:

rm -Rf bootstrap/cache/*
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Justinas Liubinskas

79105342

Date: 2024-10-19 15:56:08
Score: 6.5 🚩
Natty: 5.5
Report link

How to change the display name?

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): How to
  • Low reputation (1):
Posted by: Delinger Blanco

79105339

Date: 2024-10-19 15:55:07
Score: 1.5
Natty:
Report link

Yes, there is. You need to use the #algorithm library in order to use the next_permutation(string.begin(), string.end()) function

#include <iostream>
#include <iomanip>
#include <string>
#include <algorithm>

int main(){
    std::string input; /*or simply string if 'using namespace std;'*/

std::cout << "insert text: ";
getline(std::cin, input);   /*getline is more fit to read strings input*/

while(next_permutation(input.begin(), input.end()){
    std::cout << input << std::endl;
   }
}

next_permutation returns a boolean that says if there is a next permutation or not, which allows you to create a loop to do all the permutations.

You'll see though, that the permutations aren't in alphanumeric order. In order to correct this, you must first alphabetically order your string. For example, my name is 'caio', so in order to get the organized set of permutations, i'd first need to turn 'caio' in 'acio'.

You can do that with some built-in function I guess, but you can also create your own algorithm

    string swap(string text, int index){        /*swap letters*/
        char aux;
        aux = text[index];
        text[index] = text[index-1];
        text[index-1] = aux;
    
        return text;
    }
    
    string bubble_sort(string text){      /*bubble sort is an O(n²) sorting algorithm. It'll do the trick*/
        for(int i = 0; i < text.size()-1; i++){
            for(int j = text.size()-1; j > 0; j--){
                if(text[j] < text[j-1]){
                    text = swap(text, j);
                }
            }
        }

text.size() returns the size of the string, but the string count starts at the 0 index. so if you try to access string[string.size()] you'll get the null terminator. j>0 cause if j>=0, then j-1 will access an invalid index.

Even though though question is 4 years old, I came across this problem this week and got introduced to such methods. If you want to learn more about how permutations work, I recommend this video: https://www.youtube.com/watch?v=GuTPwotSdYw&ab_channel=Techdose

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (1): this video
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Caio Bustamante

79105334

Date: 2024-10-19 15:54:07
Score: 0.5
Natty:
Report link

I fixed this by removing the environmental variable HTTPS_PROXY that was set by another program.

Everything worked after this.

Reasons:
  • Whitelisted phrase (-2): I fixed
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Shane Graham

79105319

Date: 2024-10-19 15:46:05
Score: 3.5
Natty:
Report link

there's an algorithm that do that "Export to spreadsheet" in Qgis.

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

79105312

Date: 2024-10-19 15:42:04
Score: 2
Natty:
Report link

Here's another suggestion. Maybe helpful if you are looking in a specific POST value such as 'foo'. Above, HelpNeeder introduced the filter_input() function, great for filtering user input.

//php 8.1
// example.com?foo=bar
$query = 'bar';

if (filter_has_var($_SESSION['REQUEST_METHOD']))
{
    $test = filter_input(INPUT_POST, 'foo', FILTER_SANITIZE_SPECIAL_CHARS);
    if (null != $test && $query === $test)
    {
            //...
    }
}

https://www.php.net/manual/en/function.filter-input.php

https://www.php.net/manual/en/function.filter-has-var.php

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

79105309

Date: 2024-10-19 15:41:03
Score: 0.5
Natty:
Report link

The problem was the way I was exporting my repository functions, I use:

export default {
  fetch,
};

Instead

export const fetch = () => {}

and in the test file I did this way to stub my repository function

import repository from "../src/repository/product.repository.js";

fetchStub = sinon.stub(repository, "fetch");

and now the Sinon can identify my fetch function, of course I had to refactor my controller too

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Ed Angelis Ribeiro

79105308

Date: 2024-10-19 15:41:03
Score: 2
Natty:
Report link

user_input = input() test_grades = list(map(int, user_input.split())) # test_grades is an integer list of test scores

sum_extra = -999 # Initialize 0 before your loop

sum_extra = sum(i - 100 for i in test_grades if i > 100)

print('Sum extra:', sum_extra)

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

79105301

Date: 2024-10-19 15:39:03
Score: 0.5
Natty:
Report link

The tutorials haven't been updated to work with Payload 3.0 yet.

The main breaking changes you will run into here is that all the exports from payload and it's various packages now export from the root of each package.

Your editor will likely know where to import from if you remove the import lines and then try to fix the missing variables.

Aside from imports, there was a breaking change in how custom components are imported as path strings instead of importing the component directly in the config. Read more in the breaking changes of the release notes.

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

79105295

Date: 2024-10-19 15:34:02
Score: 1.5
Natty:
Report link

My colleagues found the issue.

The 50s timeout was coming from the load balancer (Octavia) configuration. After updating it the connection got stable.

Hope it can help anybody

Reasons:
  • Whitelisted phrase (-1): Hope it can help
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Laurent Erignoux

79105292

Date: 2024-10-19 15:33:02
Score: 5
Natty: 4
Report link

Looking for TEREA Dubai? Find premium IQOS-compatible heatsticks and enhance your experience with the best options available in the UAE.

Reasons:
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: TEREA Dubai

79105274

Date: 2024-10-19 15:23:59
Score: 4.5
Natty: 6
Report link

what is the difference between pnpm dlx vs pnpm exec?

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): what is the
  • Low reputation (0.5):
Posted by: gftea

79105263

Date: 2024-10-19 15:18:58
Score: 0.5
Natty:
Report link

Just make sure that PYTHONPATH is not set in your shell by adding unset PYTHONPATH to ~/.zshrc or starting a new terminal.

and in your .code-workspace or settings.json, add:

"terminal.integrated.env.osx": {
    "PYTHONPATH": "/Users/me/project/utils"
},

and restart VS Code to apply these changes.

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

79105256

Date: 2024-10-19 15:15:57
Score: 0.5
Natty:
Report link

When you synced your commands, you set the guild parameter, which by the documentation, means you're specifically syncing to that guild and that guild only. To sync it globally, as in to sync it across all servers, leave guild as None.

await client.tree.sync()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
Posted by: Raymus

79105255

Date: 2024-10-19 15:14:57
Score: 2.5
Natty:
Report link

try by this actions: <Widget> [ SizedBox.shrink() ],

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Md Towhidul Islam

79105248

Date: 2024-10-19 15:11:56
Score: 0.5
Natty:
Report link

I think you might need to reset the index after dropna()

trainingData = trainingData.dropna()
trainingData.reset_index(drop=True, inplace=True)

trainingData['text'] = trainingData['text'].apply(clean_tweet)
...
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Nova

79105245

Date: 2024-10-19 15:10:56
Score: 2
Natty:
Report link

You can achieve this by adding an operation policy to the API with Payload Factory mediator. You can process and transform the json content in your payload using this mediator on the response path. Refer the following to get an idea about this.

[1] - https://apim.docs.wso2.com/en/latest/design/api-policies/regular-gateway-policies/transforming-api-message-payload/

[2] - https://ei.docs.wso2.com/en/latest/micro-integrator/use-cases/examples/json_examples/json-examples/#constructing-and-transforming-json-payloads

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

79105242

Date: 2024-10-19 15:08:56
Score: 3
Natty:
Report link

not sure if you already figured this out, but seems like if you just put the thread id (the numerical looking one) into the link, it automatically redirects.

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

79105233

Date: 2024-10-19 15:05:54
Score: 1.5
Natty:
Report link

As this doc, one-to-one relation is not correctly implemented before 6.2. logical-1-1-unique

Previous versions of Hibernate did not create a UNIQUE constraint on the database for logical1 one-to-one associations marked as optional. That is not correct from a modeling perspective as the foreign-key should be constrained as unique. Starting in 6.2, those UNIQUE constraints are now created.

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

79105211

Date: 2024-10-19 14:57:52
Score: 0.5
Natty:
Report link

Step 1: Create a declarations.d.ts file
In the root of your project (or in a src/types folder if you have one), create a file called `declarations.d.ts`.

Inside this file, add the following code to declare the module types for image assets like PNG, JPEG, etc.```

`declare module '*.png' {
  const value: any;
  export default value;
}`

`declare module '*.jpg' {
  const value: any;
  export default value;
}`

`declare module '*.jpeg' {
  const value: any;
  export default value;
}`

`declare module '*.svg' {
  const value: any;
  export default value;
}
`
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Amir Rashid

79105209

Date: 2024-10-19 14:57:52
Score: 1.5
Natty:
Report link

if you have

<span>1</span>
<span>2</span>

you can insert span 2 into span 1

<span>1<span>2</span></span>

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

79105204

Date: 2024-10-19 14:56:52
Score: 0.5
Natty:
Report link

How about using span or inline-block and reverse the actual tag order?

.inline { display: inline-block; }
<span dir="ltr">CO<sub>2</sub></span> <span dir="rtl">ثاني أكسيد الكربون</span>

<hr/>

<p class="inline" dir="ltr">CO<sub>2</sub></p>
<p class="inline" dir="rtl">ثاني أكسيد الكربون</p>

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): How
  • High reputation (-2):
Posted by: mplungjan

79105195

Date: 2024-10-19 14:51:51
Score: 4.5
Natty: 5.5
Report link

what if i used a link like this "https://gifted-satoshi.192-185-7-210.plesk.page.192-185-7-210.hgws27.hgwin.temp.domains/api/ProveAttachmentApi/open-prove-attachment/765b0ad0-20c5-4a99-f798-08dcef7f61b1"

it doesn't have the extension at the end of it , will it work ?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): what if i use
  • Low reputation (1):
Posted by: Mahamed Mando

79105193

Date: 2024-10-19 14:50:51
Score: 1.5
Natty:
Report link

It's not a matter of the state of the installation being wrong. I closed the cmd window that installed deno in and re-opened another window and the environment variables were refreshed properly with the path updated.

Running deno again worked after the cmd window was opened.

Either the process of installation is wrong or windows has a breaking change.

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

79105185

Date: 2024-10-19 14:47:50
Score: 2.5
Natty:
Report link

Assuming the name of your radio button is RadioButton1.Your code should be:

RadioButton1.checked = false

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

79105170

Date: 2024-10-19 14:39:48
Score: 3
Natty:
Report link

Finally I found out where it came from... I have a Mail Software running in a Docker container. This container also is running NGINX.

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

79105166

Date: 2024-10-19 14:37:48
Score: 2
Natty:
Report link

It turns out that this is a bug with the nw-builder CLI that occurs in all versions from 4.10.0 up to 4.11.4. I created an issue on GitHub, and hopefully, it will be fixed very soon.

Github Issue #1277: error: unknown option '--mode=build' #1277

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

79105162

Date: 2024-10-19 14:34:47
Score: 1
Natty:
Report link

dart doc mentions:

To generate documentation, you must first run dart pub get and your package must pass dart analyze without errors.

And dartdoc also mentions:

You must first run dart pub get or flutter pub get

I overlooked this information. However, even without flutter pub get the documentation was still fully functional, so I did not notice until git pull did not work anymore.

Now the GitHub runner generates the same files as my local device. The filenames are still equivalent to their corresponding source code paths but the name contains only the subpath below lib.

Reasons:
  • Blacklisted phrase (1): did not work
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: L483

79105161

Date: 2024-10-19 14:34:47
Score: 4.5
Natty:
Report link

did I find a solution? I'm looking for a solution too

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did I find a solution
  • Low reputation (1):
Posted by: Onur T

79105160

Date: 2024-10-19 14:34:47
Score: 4
Natty:
Report link

Thanks for all reply. I have found a way that can find the target string(boundary) among binary data(Using member instead of strstr).

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

79105157

Date: 2024-10-19 14:32:46
Score: 1
Natty:
Report link
importScripts('../../scripts/require.js');

require(["worker-thread"], function(WorkerThreadModule) {
    // bla bla bla
    let workerThread = new WorkerThreadModule.WorkerThread();
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Marianoggg

79105147

Date: 2024-10-19 14:24:44
Score: 3.5
Natty:
Report link

I believe VSCode Dev Containers extension is the answer to your needs: https://code.visualstudio.com/docs/devcontainers/containers

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

79105143

Date: 2024-10-19 14:22:44
Score: 2.5
Natty:
Report link

Try to use your method name uppercase like @method("put") to @method("PUT")

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

79105137

Date: 2024-10-19 14:18:43
Score: 1.5
Natty:
Report link

I read the docs on About authentications as a GitHub App installation and it says:

This allows the app to access resources owned by that installation, as long as the app was granted the necessary repository access and permissions.

This line combined with your error "Resource not accessible by integration" seems to me a scope issue. Is it possible that the app is not given required permissions e.g. read/write or perhaps other admin related scope? How about re-checking the permissions?

Here's a doc specifically created for Dependabot but it might be helpful to you: https://docs.github.com/en/code-security/code-scanning/troubleshooting-code-scanning/resource-not-accessible

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

79105131

Date: 2024-10-19 14:17:43
Score: 2
Natty:
Report link

If you mean "can't debug" is "cannot set break-point" then one possible reason is you haven't "activate" your extension yet. If this is the case, the extension source files has not been loaded yet. So that you obviously cannot set break-points.

To solve this, you can trigger ("activate") the extension by, for example run the extension command you defined. After this, this to set break-points again.

If you try to set break-points in "activate" code it-self, then properly you have to restart the debug session, though I haven't tested this yet.

Cheers.

Reasons:
  • Blacklisted phrase (1): Cheers
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: patfinder

79105129

Date: 2024-10-19 14:16:43
Score: 2.5
Natty:
Report link

While @hexwab 's answer is already quite detailed and contains some very useful information, when I came across it, and after hours of looking on the internet and studying the code, there were still some dark spots.

For example, it was unclear (for anyone who had never done this before), that hexwab was using a phase accumulator technique. The frtab array contains what seems to be tuning words.

Even with that, what confused me are the timer's settings used in the code, which, after looking at the atmega 328p datasheet, aren't fitting the comments that accompany them.

I eventually re-coded a whole project myself, with the help of other resources, heavily helped by this great article.

Finally, I wrote a whole article about how to generate a multi-voice melody. You can find it here. The code for the project is on Github.

Hopefully this helps any one who might need it.

Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @hexwab
  • Low reputation (0.5):
Posted by: grybouilli

79105128

Date: 2024-10-19 14:15:42
Score: 0.5
Natty:
Report link

a.removeIf(x -> a.contains("testString"));

Just to add who is looking for partial matching.

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

79105120

Date: 2024-10-19 14:12:42
Score: 2.5
Natty:
Report link

I created a new project and re-imported each package I was using individually and tested each one, there were two packages that weren't compatible or that were deprecated:

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

79105115

Date: 2024-10-19 14:10:41
Score: 2.5
Natty:
Report link

I already had this problem with laravel sanctium, it happens sometimes when you don't pass through your middleware (for my example i wasn't authenticated and tried to access to an auth route). I suggest you to put some logs in your middleware to make sure this doesn't happen.

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

79105112

Date: 2024-10-19 14:09:41
Score: 1
Natty:
Report link

Elastic Beanstalk configures the proxy to forward requests to your app on port 8080. If you're running a Node.js project, make sure to set the PORT variable to 8080 in the .env file.

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

79105107

Date: 2024-10-19 14:06:40
Score: 4
Natty:
Report link

Check your Google Maps Api key.

and follow this installation steps https://github.com/react-native-maps/react-native-maps/blob/HEAD/docs/installation.md

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

79105101

Date: 2024-10-19 14:02:39
Score: 1.5
Natty:
Report link

I think you missed to add flutter path to your system

add flutter bin path to your paths under System Variables simply open Edit Envoirment Variable window under the System Variables find Key value pair key name Path edit it and past you flutter bin path there

than just restart you system

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Shoua Ul Qammar

79105100

Date: 2024-10-19 14:00:38
Score: 1.5
Natty:
Report link

It’s great to see such a thorough discussion on time handling in Java for Android. You’ve highlighted some crucial points about the limitations of using java.time, especially for devices running on Java 7 up to Marshmallow. While it would be ideal to use the built-in java.time package due to its compliance with JSR 310, the reality is that many Android apps still need to support older versions.

As you mentioned, Joda-Time is a potential option since it influenced JSR 310, but its performance on Android can be a drawback. This is where ThreeTenABP really shines—it’s specifically designed to address these limitations, providing a modern and efficient way to handle dates and times while ensuring compatibility with earlier Android versions.

In short, for developers targeting a wider range of Android versions, ThreeTenABP is often the best choice for modern time handling, balancing functionality and performance effectively. Thanks for shedding light on this topic!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Muhammad Imran

79105099

Date: 2024-10-19 14:00:38
Score: 2
Natty:
Report link

%dw 2.0 output application/json import * from dw::core::Strings

var result = payload.Root.AccRoot.FinRoot..PassData2 reduce((item,acc="")->acc++(item.Data)++":" ++(item.Data2)++":"++(item.Data3)++".") var size = sizeOf(result)

Result: substring(result,0,size-1)

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

79105096

Date: 2024-10-19 13:59:38
Score: 5.5
Natty: 5.5
Report link

Could you please share the app update... As the same happened with me also.

if yes, then how much time it takes to live again on play store.

Reasons:
  • RegEx Blacklisted phrase (2.5): Could you please share
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: eticket

79105095

Date: 2024-10-19 13:59:36
Score: 7.5 🚩
Natty: 4
Report link

I am having a similar problem. I want to add auto_increment for the option_id row in the wp_options table in WordPress. I get this error in phpmyadmin:

#1062 - ALTER TABLE causes auto_increment resequencing, resulting in duplicate entry '548741' for key 'PRIMARY'

Reasons:
  • Blacklisted phrase (1): I am having a similar problem
  • RegEx Blacklisted phrase (1): I want
  • RegEx Blacklisted phrase (1): I get this error
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having a similar problem
  • Low reputation (1):
Posted by: Arda

79105093

Date: 2024-10-19 13:59:36
Score: 3
Natty:
Report link

The parent-child connection is set with the referenced-type and as-containment attributes. This property makes the current object a child of an overthere.Host object:

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

79105086

Date: 2024-10-19 13:56:35
Score: 2.5
Natty:
Report link

Normally this happens because we are inheriting a project, or it was developed a while ago and the versions of react do not match the new versions of hermes, the solution is to deactivate the hermes engine in these cases to continue with the development in your podfileenter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Whitelisted phrase (-1): solution is
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Misael Leal

79105083

Date: 2024-10-19 13:53:34
Score: 1
Natty:
Report link

LocalStack person here. We do have features specific to your use case. We have a bunch of persistence tools that could potentially help here including saving and loading state or cloud pods, for instance.

My colleague wrote a blog post about persistence and integration tests that seems similar to what you are looking for (though the example is specific to using GitHub Actions).

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

79105080

Date: 2024-10-19 13:53:32
Score: 10 🚩
Natty: 5
Report link

I am using affiliate egg plugin integration with WordPress rehub theme and I am getting the same error, when I am searching any Flipkart product results not found, can anyone help me how to resolve this.

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): can anyone help me
  • RegEx Blacklisted phrase (1): I am getting the same error
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am getting the same error
  • Single line (0.5):
  • Low reputation (1):
Posted by: Compareclique

79105079

Date: 2024-10-19 13:52:32
Score: 3
Natty:
Report link

if you add this line here:

const app = express();

const { readFile } = require('fs');

...

then you will not need to add "fs."

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

79105068

Date: 2024-10-19 13:47:31
Score: 3
Natty:
Report link
I tried so many solutions but did not get the solutions so i tried to remove flutter core flutter auth and cloud firestore packages and then again add them using terminal so it works firn
Reasons:
  • Blacklisted phrase (1.5): any solution
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: DevMukh

79105066

Date: 2024-10-19 13:46:31
Score: 1.5
Natty:
Report link

It turned out the entire issue was this line:

context.Request.RouteValues["userName"] = userName;

I had to change it to

context.Items["userName"] = userName;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: jbassking10

79105048

Date: 2024-10-19 13:31:28
Score: 1.5
Natty:
Report link

It seems you're running into confusion regarding how TempData behaves after it's read, especially in the context of redirects. Normally, TempData is designed to persist until it's read and can be used to pass data between actions. However, in some cases, especially with RedirectToAction, TempData doesn’t clear automatically on reading unless explicitly removed.

In your scenario, after reading TempData, it should ideally be cleared, but you’ve observed that you still need to call TempData.Remove(). This is because TempData persists across RedirectToAction, ensuring that the data survives the redirect, which might explain why you still see the need to remove it manually.

To clarify:

TempData survives redirects, allowing you to access it in the next action. If you don’t need it to persist across multiple actions after a redirect, you’ll have to remove it manually using TempData.Remove(). If you prefer something more persistent, like session-based storage, Session might be a better choice, especially when you need to retain data across multiple requests without worrying about clearing it immediately.

golferguideline

Let me know if that helps clarify things!

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

79105043

Date: 2024-10-19 13:30:25
Score: 10 🚩
Natty:
Report link

I have the same problem in Delphi Alexandria: the program runs, but debugging suddenly stopt working ( "Unable to create process, ..."). Then I followed Peter Jones' solution above: remove C:\Program Files (x86)\Embarcadero\Studio\22.0\bin\dbkw64_28_0.exe and placed it back (as administrator). Restarting Delphi. And now I get (in debugging mode): Debugger Assertion Failure: "apiOK" in ..\win32src\w64mgr.cpp at line 79

Don't know how to solve this and the original issue is not solved either. Unless I did something wrong, I cannot recommend following Peter's solution ...

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Blacklisted phrase (1): how to solve
  • Blacklisted phrase (0.5): I cannot
  • RegEx Blacklisted phrase (2): Don't know how to solve
  • RegEx Blacklisted phrase (2): know how to solve
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Low reputation (1):
Posted by: Fred

79105032

Date: 2024-10-19 13:21:22
Score: 4
Natty:
Report link

I want undo or clear the dynamic control in ListView in all rows excepto the last row added, each rows is added by one to one using click a command button

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Uriel Fajardo

79105031

Date: 2024-10-19 13:19:21
Score: 1
Natty:
Report link

If you're looking for an easy way to send Firebase Cloud Messaging (FCM) push notifications in Laravel, I’ve developed a package called heyharpreetsingh/fcm that simplifies the process. It allows you to send notifications to mobile (Android, iOS) and web platforms efficiently.

How to Use: Install the package via Composer:

composer require heyharpreetsingh/fcm

Register the service provider in bootstrap/providers.php (Laravel 11) or config/app.php (Laravel 10 and below):

Heyharpreetsingh\FCM\Providers\FCMServiceProvider::class,

Set up Firebase credentials by generating a private key in Firebase Console and adding the path to the JSON file in your .env file:

FCM_GOOGLE_APPLICATION_CREDENTIALS=storage/ServiceAccount.json

Send a notification to individual devices like this:

use Heyharpreetsingh\FCM\Facades\FCMFacade;

FCMFacade::send([
   "message" => [
        "token" => "bk3RNwTe3H0:CI2k_HHwgIpoDKCIZvvDMExUdFQ3P1...", // Device token
        "notification" => [
            "body" => "This is an FCM notification message!",
            "title" => "FCM Message"
        ]
    ]
]);

Was this guide helpful to you? Please support my work by leaving a 👏 clap as a token of appreciation.

Reasons:
  • Blacklisted phrase (1): this guide
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Harpeet Singh

79105030

Date: 2024-10-19 13:19:21
Score: 2
Natty:
Report link

I found the answer in this post here:

ATmega328P USART Transmit character printed repeatedly

Changing my Makefile to the following solved my problem:

avr-gcc -Os -DF_CPU=16000000UL -mmcu=atmega328p serial-print.c -o serial-print.bin
avr-objcopy -O ihex -R .eeprom serial-print.bin serial-print.hex
sudo avrdude -F -V -c arduino -p ATMEGA328P -P /dev/ttyACM0 -b 115200 -U flash:w:serial-print.hex
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Troglobyte

79105023

Date: 2024-10-19 13:16:20
Score: 1.5
Natty:
Report link

You need to lock your method so that only 1 thread at a time can access it.

If your app runs as a single instance then you can either “synchronize” your method or use the java.concurrent library.

Otherwise you need to combine it with something like Shedlock or Quartz.

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

79105021

Date: 2024-10-19 13:15:17
Score: 6 🚩
Natty:
Report link

have you find the solution? i am still looking for this.

Reasons:
  • Blacklisted phrase (2): have you find
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dev Sharma

79105019

Date: 2024-10-19 13:14:17
Score: 0.5
Natty:
Report link

Partly why throttling helps is because when you use a server-side redirect (res.redirect()), the browser immediately stops processing the current request and starts a new one for the redirected URL. This behavior can lead to pending asset requests (like images) being canceled or not fully processed, especially if the redirect happens too quickly.

If you need to retain 302 redirect, I'd rather move the redirect to the front-end side and work with the browser directly there, allowing it to wait for assets better than in the case of server-side redirect here.

Call your POST endpoint receive response and redirect from the client-side. Let me know if that solves the issue

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

79105017

Date: 2024-10-19 13:14:17
Score: 1.5
Natty:
Report link

Remove spaces from the path name "typescript mobile dev".

node will be parsing it as

C:\Users\Fatih\Desktop\typescript%20mobile%20dev\heyyo\App.tsx

which does not exist.

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

79105015

Date: 2024-10-19 13:13:17
Score: 1.5
Natty:
Report link

Try using os.chdir() before opening the file:

import os

os.chdir(r"C:\Users\Documents\")

f = open("blight.txt", "a")
f.write("suppress this later")
f.close()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: cbspace

79105000

Date: 2024-10-19 13:06:15
Score: 0.5
Natty:
Report link

In most cases, there is no significant performance difference between np.empty() and np.zeros()

However, np.zeros() may be slightly slower due to the additional step of initializing the allocated memory to zero: 2 * O(n)

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

79104994

Date: 2024-10-19 13:05:15
Score: 5.5
Natty:
Report link

I have a similar issue, but not sure how to edit the redis functions since I'm using Spring Security:

Spring Boot / Spring Security App, geting AWS Redis Elasticache production error (failed: Connection reset by peer & CROSSSLOT error)

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have a similar issue
  • Low reputation (0.5):
Posted by: Sachin

79104959

Date: 2024-10-19 12:49:11
Score: 0.5
Natty:
Report link

I’d recommend keeping functions outside the build method. It keeps your code cleaner and avoids recreating the function every time the widget rebuilds, which is better for performance. If it’s a simple one-liner, defining it inside is fine, but for anything more, it's best to separate the logic.

using outside:

using inside:

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

79104951

Date: 2024-10-19 12:46:10
Score: 0.5
Natty:
Report link

It seems the culprit was somehow the header information in the curl request. So I found this solution where the access token is placed inside the URL. The critical piece here is the syntax of the env variable CURL_URL:

# ...
download-file:
    name: download file
    runs-on: ubuntu-latest

    env:
      CURL_O: "docker-compose.yml"
      CURL_PATH: "raw.githubusercontent.com/<username>/<repository name>/refs/heads/main/docker-compose.prod.yml"

    steps:
      - name: install ssh keys
        # check this thread to understand why its needed:
        # <https://stackoverflow.com/a/70447517>
        run: |
          install -m 600 -D /dev/null ~/.ssh/id_rsa
          echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
          host='${{ secrets.SSH_HOST }}'
          hosts="$(dig +short "$host" | grep -v '\.$' | sed -z 's|\n|,|g')$host"
          ssh-keyscan -H "$hosts" > ~/.ssh/known_hosts

      - name: test pull single file from private repo
        env:
          CURL_URL: "https://${{secrets.PULL_ACCESS_TOKEN}}@${{env.CURL_PATH}}"
        run: |
          ssh ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} <<'ENDSSH'
          cd test
          ls -la
          curl ${{env.CURL_URL}} -o ${{env.CURL_O}}
          ENDSSH

      - name: cleanup
        run: rm -rf ~/.ssh
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Lucien Chardon

79104948

Date: 2024-10-19 12:46:10
Score: 1.5
Natty:
Report link

pip install --upgrade antlr4-python3-runtime

pip install antlr4-python3-runtime==4.9.3 pip install latex2sympy2==<specific_version>

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

79104946

Date: 2024-10-19 12:43:09
Score: 1.5
Natty:
Report link

I had a similar issue

try to Set a different JRE for test projects

here is more details on how to set a new default JRE

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Khaled - Hamwie

79104932

Date: 2024-10-19 12:36:08
Score: 2
Natty:
Report link

Please try these following changes

  1. Preferences -> Settings Search for "Proxy" and Disable Http: Proxy Strict SSL

  2. Preferences -> Settings ->Extensions -> Live Server Config Enable - Use Local Ip

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

79104927

Date: 2024-10-19 12:32:07
Score: 1
Natty:
Report link

The mistake is that I am not flushing the data from the stream to the file everytime I decide to write a number. So every time the data is in the stream and not getting written to the file as a result the Buffered reader is reading null everytime. I have to just add:

if(!doesExist(mobileNo)){
   writer.println(mobileNo);
   writer.flush()
}
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Suraj Kumar Sahani

79104921

Date: 2024-10-19 12:32:07
Score: 2
Natty:
Report link

I know this is a very old question, and this might not be exactly what the OP was looking for, but someone posted a way to insert the edit URL into the response Sheet; there might be additional useful information in the answer comments as well. I'll be looking to adapt that solution for my purposes.

https://webapps.stackexchange.com/questions/89551/show-url-used-to-edit-responses-from-a-google-form-in-a-google-spreadsheet-by-us

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

79104920

Date: 2024-10-19 12:31:07
Score: 4
Natty: 4.5
Report link

You can try this open source project: https://github.com/GorgonMeducer/perf_counter

Reasons:
  • Whitelisted phrase (-1): try this
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Gabriel Wang

79104914

Date: 2024-10-19 12:28:06
Score: 1
Natty:
Report link

The CSS for the class(opacity-100, translate-x-0) is not generated, safelist the class inside your tailwind.config.js

How to safelist properties in Tailwind

Add your properties you adding from JS and if not used before in html file.

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

79104906

Date: 2024-10-19 12:25:05
Score: 3.5
Natty:
Report link

You are using openOCD 0.11, but according to the docs, you need at least 0.12 to use the SWT interface with debugger.

Check out https://docs.zephyrproject.org/latest/boards/raspberrypi/rpi_pico/doc/index.html#using-openocd

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

79104895

Date: 2024-10-19 12:20:04
Score: 3.5
Natty:
Report link

go to chrome://flags and click [Reset All]

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

79104885

Date: 2024-10-19 12:16:00
Score: 7 🚩
Natty:
Report link

Thanks, I tried that oFreadData.One = alue.Cells(1) . That did not work either, results is the same enter image description here

After some thinking I believe the class member property should have the worksheet also as a parameter. Am I totally wrong ?

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): did not work
  • Blacklisted phrase (1): enter image description here
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Petri Lahtinen

79104876

Date: 2024-10-19 12:09:59
Score: 1.5
Natty:
Report link

To calculate the total length of a YouTube playlist, you can follow a few steps. First, check the playlist directly on YouTube; the total duration might be displayed at the top. If it's not shown, you can manually click on each video to note their durations and sum them up using a calculator. For a technical approach, consider using the YouTube Data API to gather video details programmatically, which can help you calculate the total time technically. Additionally, there is a tool designed to analyse any YouTube playlists and provide total durations easily by putting the playlist link, using a tool like YouTube Playlist Length can simplify change the entire process, making it easier to find the total time of any playlist can boost your productivity and also save your time.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: aryan raikwar

79104863

Date: 2024-10-19 12:03:57
Score: 1.5
Natty:
Report link
from concurrent.futures import ThreadPoolExecutor
...
model = torch.jit.script(model)
...
pool = ThreadPoolExecutor()
...
y_pred = torch.cat(list(pool.map(model, imgs)))
...

but this is not that faster as I expested.

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

79104852

Date: 2024-10-19 11:58:56
Score: 1.5
Natty:
Report link

So this is likely not an issue related to IPv6 and instead the result of misleading error messages - source:

This error is a red herring. if your system does not have IPv6 connectivity, the system first uses IPv4 to communicate, then IPv6 if IPv4 failed. It then for some reason only prints the last line of the output, hiding the IPv4 error

Add the property debug and set it to true inside daemon.json

Unfortunately, even with debug enabled, you may find that the docker logs are not helpful (as was the case for me).

I also encountered this issue and in my specific case my home router was returning malformed DNS responses to name (I think related to eDNS responses). For my particular case, changing my server's DNS servers to point to external DNS resolvers resolved the issues and is probably a good starting point for debugging.

I suspect that the root cause is specifically DNS issues where the A (IPv4) records fail to resolve so the underlying HTTP library attempts to fallback on AAAA (IPV6).

I'm assuming that OP has found some kind of work around or resolution, but leaving this here to help others who have similar issues with docker attempting to use IPv6.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): have similar issue
  • Low reputation (0.5):
Posted by: Nicholas Hairs

79104851

Date: 2024-10-19 11:58:53
Score: 13 🚩
Natty: 5.5
Report link

I've encoutered the same issue. Were you able to fix it somehow?

Reasons:
  • Blacklisted phrase (3): Were you able to fix it
  • RegEx Blacklisted phrase (1.5): fix it somehow?
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kacper Sitarz

79104846

Date: 2024-10-19 11:57:53
Score: 2
Natty:
Report link

Just change macOS signing certificate

sign to run locally It works for me

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ahmad Hassan

79104841

Date: 2024-10-19 11:54:52
Score: 1
Natty:
Report link

My genuine answer to this is

Dot use Typeorm with NextJS

I also faced a lot of problems in setting up typeorm in NextJS. The thing is i somehow configured typeorm in my project, and it was working absolutely fine. But what happens is NextJS bundles the code in production build in very weired way. it dosent has teh same file structure as your source code. It is actually a good thing cause it helps in minification. But somehow typeorm relies on the folder structure of your project.

So what happens is you project wil work in development mode but it will fail in the production build.

So yeah, dont use TypeORM with NextJS. Use Prisma... ;-)

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

79104839

Date: 2024-10-19 11:52:51
Score: 2
Natty:
Report link

Since the issue is token related, please go to your app settings and check the permissions you want, especially files.content.write and regenerate a new token after saving the changes.

permissions

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

79104837

Date: 2024-10-19 11:52:51
Score: 4
Natty:
Report link

Thanks for your help, this problem is solved !

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-0.5): Thanks for your help
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Michel Sarrailh