79398666

Date: 2025-01-30 02:45:01
Score: 2
Natty:
Report link

In my experience, you have to install and add google-calendar plugin exactly.

1.Install @fullcalendar/google-calendar. 2.import googleCalendarPlugin from "@fullcalendar/google-calendar"; Please do that and let me know if there is another issue.

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

79398662

Date: 2025-01-30 02:42:00
Score: 2.5
Natty:
Report link

You could use the Team configuration in Project settings. enter image description here

enter image description here

View permission for this node could limit the area path that you could see.

View work items in this node could limit your access to work items in this area path.

And these settings will also affect the querying work item.

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Jiawei Shi - MSFT

79398655

Date: 2025-01-30 02:32:58
Score: 4
Natty: 5
Report link

what helped me was using "use client" on the page where i use these hooks

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): what help
  • Low reputation (1):
Posted by: QuZ1_Highlights

79398654

Date: 2025-01-30 02:29:57
Score: 1.5
Natty:
Report link

To make sure your Catalyst Job Function runs smoothly without delays, you need to allocate enough memory for your Job Pool. The Job Pool’s memory should be more than what your function needs, including the extra load from API calls. If your function needs X GB, it's best to set at least X + 1 GB to avoid issues. Instead of using just one Job Pool, you can split tasks into multiple Job Pools to handle different workloads better.

For example, you can use a priority Job Pool (4GB-5GB) for important jobs like payment reminders and a general Job Pool (3GB-4GB) for less urgent tasks like sending emails. This way, critical jobs won’t get delayed when there’s a high load. Keep an eye on memory usage and adjust it if needed. Since the maximum memory per Job Pool is 10GB, make sure your setup matches your workload. Following this approach will help your jobs run smoothly without hitting memory limits.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • RegEx Blacklisted phrase (2): urgent
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sarah B

79398643

Date: 2025-01-30 02:23:56
Score: 3
Natty:
Report link

PyCharm is good for that. But it's quite chunkier than VS-Code.

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

79398628

Date: 2025-01-30 02:15:54
Score: 2
Natty:
Report link

tengo un problema cuando intento cargar los valores de los campos de la estrutura, el valor de PASSWORD se pone de manera arbitratia XXX, y este no es su valor. aqui les adjunto el codigo para que me ayuden con este caso por favor.

    valor_de_conexion = psycopg2.connect(
        password = config_dict['contrasena'],
        host=config_dict['direccion_ip_servidor'],
        database=config_dict['nombre_base_datos'],
        user = config_dict['nombre_usuario'],
        port = config_dict['puerto']
    )

asi le ponga la palabra "CASA" siempre siempre pone XXX en el campo password

Reasons:
  • Blacklisted phrase (2): tengo
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Martin

79398624

Date: 2025-01-30 02:11:53
Score: 1.5
Natty:
Report link

This can be tested by using the ->withFakeQueueInteractions() method when instantiating the job.

use App\Exceptions\CorruptedAudioException;
use App\Jobs\ProcessPodcast;
 
$job = (new ProcessPodcast)->withFakeQueueInteractions();
 
$job->handle();
 
$job->assertReleased(delay: 30);
$job->assertDeleted();
$job->assertNotDeleted();
$job->assertFailed();
$job->assertFailedWith(CorruptedAudioException::class);
$job->assertNotFailed();

See more: https://laravel.com/docs/11.x/queues#testing-job-queue-interactions

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Fabián Álvarez

79398611

Date: 2025-01-30 02:01:51
Score: 1.5
Natty:
Report link

There seems no issue with your code example, it shouldnt have an hydration error since same data is present/render in both server and client side from what I can see. Nevertheless, I would suggest you following this guide of how setting up a global prisma client, where you dont need to disconnect after querying something. Also from a React standpoint, I dont see a good use case for having the Email component so far, you could just use the li element in the page.tsx file, to avoid prop drilling and so.

Try making these changes and see if it still happens. If so, please share an image of the hydration error instead of your explanation. Hope it helped😁

Reasons:
  • Blacklisted phrase (1): this guide
  • Whitelisted phrase (-1): Hope it help
  • RegEx Blacklisted phrase (2.5): please share
  • Long answer (-0.5):
  • Has code block (-0.5):
Posted by: Agustin Moles

79398608

Date: 2025-01-30 01:58:50
Score: 1.5
Natty:
Report link

with self.assertNoLogs("", level="ERROR")

reference: https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertNoLogs

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

79398607

Date: 2025-01-30 01:58:50
Score: 1
Natty:
Report link
<script src = https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js'></script>

change to

<script src = 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js'></script>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nattawat love thailand

79398605

Date: 2025-01-30 01:53:49
Score: 1.5
Natty:
Report link

wondering if you have the Minio service behind Cloudflare proxy. Have you tried to turn off proxy and leave DNS only in Cloudflare for both the Minio console and Minio URLs? I just had the same issue and it was just a matter of turning off Cloudflare’s proxy. Some setting might be causing that issue, don't know which one. Would love to know if anyone finds out.

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: biolimbo

79398602

Date: 2025-01-30 01:52:49
Score: 1.5
Natty:
Report link

For anyone who comes across this later, try this:

https://learn.microsoft.com/en-us/visualstudio/ide/reference/startup-environment-options-dialog-box?view=vs-2019

Tools -> Options... -> Environment -> General -> On startup, open: Start Window

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

79398601

Date: 2025-01-30 01:51:49
Score: 3
Natty:
Report link

git config --global --add safe.directory '*'

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

79398593

Date: 2025-01-30 01:47:48
Score: 0.5
Natty:
Report link

CTRL+C (^C) will stop the program running in the terminal. Right click mouse to copy and paste.

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

79398590

Date: 2025-01-30 01:40:47
Score: 3.5
Natty:
Report link

In the most recent android studio the shotcut is CTRL + ALT + ENTER in xml.

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

79398587

Date: 2025-01-30 01:34:46
Score: 2.5
Natty:
Report link

I guarantee I could give you the answer to this, but i'll need to see your code. It's difficult to tell what's going on otherwise. Maybe create a codepen with your code and post the link here.

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

79398584

Date: 2025-01-30 01:33:45
Score: 4
Natty:
Report link

CheckBox inherits from ToggleButton, and this answers explains how Command is guaranteed to execute after IsChecked is modified, with examples from the source code. Perhaps this could be marked as a duplicate, but I don't have reputation to do it.

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

79398583

Date: 2025-01-30 01:31:45
Score: 3
Natty:
Report link

Here some "propaganda from Microsoft":

Radically Simplified GPU Programming with C#
https://learn.microsoft.com/en-us/shows/seth-juarez/radically-simplified-gpu-programming-c

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

79398582

Date: 2025-01-30 01:30:44
Score: 0.5
Natty:
Report link
require random.fs
: randomize ( -- r ) 
utime drop seed !               \ Initialiser la graine
10 0 do i cr . 3 random . loop  \ génère un nombre aléatoire entre 0 et 2 
; 
randomize .
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Lionel G

79398574

Date: 2025-01-30 01:17:42
Score: 2
Natty:
Report link

user4581301 suggested that I go header surfing. This is what I found:

typedef __UINT32_TYPE__ __uint32_t;
typedef __uint32_t uint32_t ;

Then Why is uint32_t typedeffed to unsigned long on arm-none-eabi GCC, and how to change it? explains that arm-none-eabi-gcc points __UINT32_TYPE__ to long unsigned int but makes them 4 bytes long.

I guess that explains why the compiler doesn't see the match to unsigned long.

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): user4581301
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: DanielR

79398572

Date: 2025-01-30 01:16:42
Score: 0.5
Natty:
Report link

I don't think it's an answer to the question, but it's a solution to the problem:

After trying to use the login method, and then capturing a session json file and using that, and when that didn't work I signed up for a Residential Proxy service. And - I can't believe I'm saying this - it turned out that using docker was the simplest solution.

Specifically, building my script into a docker image and setting up a template on my Unraid server (running on my home network, and thus not currently blocked by Instagram) to execute via cron twice a day.

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

79398565

Date: 2025-01-30 01:11:41
Score: 1
Natty:
Report link

Adding this line to .editorconfig turned it off in Visual Studio 2022 Preview.

dotnet_diagnostic.ide2001.severity = none
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Protiguous

79398561

Date: 2025-01-30 01:07:40
Score: 2
Natty:
Report link

For anyone looking for regex for state ids

^(?:[A-Z0-9]{1,7}|[A-Z]{1}[0-9]{7}|[0-9]{9}|[A-Z0-9]{1,9}|[A-Z]{1}[0-9]{8}|[0-9]{2}[A-Z0-9]{6})$
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Rekoper

79398560

Date: 2025-01-30 01:06:40
Score: 3
Natty:
Report link

Not sure if you used the dbgen repo to get the queries but at this repo: https://github.com/electrum/tpch-dbgen, in the README question 8 "What will qgen create", you can find details on the specific :foo's.

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

79398555

Date: 2025-01-30 01:03:39
Score: 3
Natty:
Report link

Why not go with the time and (learn how to) add a favicon?

There are even Favicon Generators. See How TO - Add a Favicon in HTML - W3Schools.

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Why not
  • High reputation (-1):
Posted by: U. Windl

79398549

Date: 2025-01-30 00:56:38
Score: 1.5
Natty:
Report link

not 100% sure of what you are after, below, a trivial example to capture each char as entered plus catch a couple of signals .... if this is not what you are after (or could form the basis of ... ), please elaborate, also - share what you have tried - regardless of any shortcomings !

//
//use(d) https://www.man7.org/linux/man-pages/man3/termios.3.html as reference
//

#include <termios.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

struct termios currentSettings;

void resetSTDIN(struct termios *currentSettings) {
    tcsetattr(STDIN_FILENO, TCSAFLUSH, currentSettings);  // reset to original settings
}

void setSTDIN(struct termios *currentSettings) {
    struct termios updatedSettings;

    tcgetattr(STDIN_FILENO, currentSettings);  // get current settings

    updatedSettings = *currentSettings;        // use those as basis for new settings

    updatedSettings.c_lflag &= ~ICANON;   // unset 'normal' aka canonical mode, add '|ECHO' if you don't want to see input
    updatedSettings.c_cc[VTIME] = 0;      // VTIME Timeout in deciseconds for noncanonical read (TIME) 0 == no timeout
    updatedSettings.c_cc[VMIN] = 1;       // VMIN  Minimum number of characters for noncanonical read (MIN).

    tcsetattr(STDIN_FILENO, TCSAFLUSH, &updatedSettings);
}

void catchSignals(int sig) {
    resetSTDIN(&currentSettings);
    exit(1);
}

int main() {

    setSTDIN(&currentSettings);

    signal(SIGINT|SIGQUIT, catchSignals);  // trap ^C, ^\ amend as reqd

    printf("[q|Q|^C|^D]' to exit):\n");

    char c;
    const char ctrlD=4;
    while ( read(STDIN_FILENO, &c, 1) == 1 ) {
        if ( c == ctrlD || c == 'q' || c == 'Q' )
        break;

        //printf("%c", c); // if ECHO masked and you want to see the output ...
    }

    resetSTDIN(&currentSettings);
    return 0;
}

Reasons:
  • RegEx Blacklisted phrase (2.5): please elaborate
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ticktalk

79398547

Date: 2025-01-30 00:54:37
Score: 0.5
Natty:
Report link

In my case this was caused by images using lazy loading, thus only loading when in view.

This fixed it for me, add this to the bottom of the script.

let resizeTimeout;

function refreshLenis() {
  clearTimeout(resizeTimeout); // Cancel previous resize calls
  resizeTimeout = setTimeout(() => {
    requestAnimationFrame(() => {
      lenis.resize(); // Recalculate dimensions inside requestAnimationFrame for smoother transitions
    });
  }, 300); // Adjust delay as needed
}

// Refresh Lenis when the page fully loads
window.addEventListener("load", refreshLenis);

// Also refresh Lenis when lazy-loaded images finish loading
document.querySelectorAll("img[loading='lazy']").forEach((img) => {
  img.addEventListener("load", refreshLenis);
});
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: nikolaj

79398543

Date: 2025-01-30 00:52:37
Score: 2
Natty:
Report link

Great job on figuring it out, Sails make models(Waterline models) globally available when they are registered correctly.

You can also access the models via sails.models..

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

79398542

Date: 2025-01-30 00:50:37
Score: 0.5
Natty:
Report link

You were right to say express.js is server-side and AngularJS is client-side but, when you said AngularJS can do everything express.js can do, then you are wrong.

The modern AngularJS is now called Angular, so permit me to use it in a modern way.

The routing you see for both express.js and Angular works in seperate ways.

Here is their routing differences:

Express.js (Backend Routing): Decides which data or HTML the server should send based on the request (e.g., /users fetches user data).

Angular (Frontend Routing): Manages which view (page) to show without reloading the browser (e.g clicking a link changes the page instantly, but must fetch the data from whatever backend server it's depending on).

Think of it like this:

Express.js: Server traffic controller (delivers data by processing or fetching database data, and sending it to the frontend via a defined route/api)

Angular: Browser page switcher (changes UI without reloading).

If you don't define a route in express.js, and you point a link from your Angular (frontend), you will be lead to a 404.

Now let's answer your confusion for Node.js, here are their definitions and differences:

Node.js: A backend runtime that runs JavaScript on the server. It handles database interactions, authentication, and business logic.

Express.js: A backend framework based on Node.js that helps manage routes, APIs, and server logic. Think of it as a tool that makes backend development easier (or jquery to JavaScript on the server side. Without Node.js, express.js can't work)

AngularJS/Angular: Frontend frameworks that build interactive user interfaces (UI) running in the browser. They handle how users see and interact with a website.

Let me break something interesting for you, when you see a website built with Angular and assume the backend is runned by express.js, here is how it all makeup the workflow:

° Hosting hardware >

° Install an OS >

° Install and run an environment +

° Install a web server >

° Install express.js >

° Install Angular

The only visible part users of your website can interact with directly default is the Angular except there's a server misconfiguration or bug.

Note, the running environment and web server have the same system privileges.

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

79398541

Date: 2025-01-30 00:50:37
Score: 2
Natty:
Report link

This worked for me I opened Gemfile and deleted that same line or one very similar and now the install worked like a charm.

Reasons:
  • Blacklisted phrase (1): worked like a charm
  • Whitelisted phrase (-1): This worked for me
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user29424765

79398540

Date: 2025-01-30 00:48:36
Score: 3
Natty:
Report link

in the bash:
sqlite3 your_sqlite.db <<<'select * from your_table'

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

79398535

Date: 2025-01-30 00:43:35
Score: 0.5
Natty:
Report link

As long as your webserver handles https there is no need to make any next js modification to support it. As the error states, there is no --experimental-https option for next start

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

79398518

Date: 2025-01-30 00:30:32
Score: 2
Natty:
Report link

At least where you can modify the rendering CSS I have just tried "Smaller" and it works in Joplin. Still HTML but no need for long spans etc. I assume some products may remove unknown html.

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

79398508

Date: 2025-01-30 00:21:31
Score: 1.5
Natty:
Report link

Instead of opening files in a+ mode, you should use r+ mode to properly handle both reading and writing. Before performing a read operation, use seek(0) to reset the file pointer to the beginning; otherwise, read() may return an empty value. When comparing the read data, use .strip() to remove unnecessary spaces. Additionally, during the registration process, clearing the file content with truncate() before writing new entries will prevent old data from persisting. These changes will ensure that the login and registration functions work correctly without errors.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Selim Talha Çağlar

79398507

Date: 2025-01-30 00:21:31
Score: 2.5
Natty:
Report link

The problem was that DummyVecEnv is never done, i.e. it never return terminated or truncated as True. This means that evaluate_policy (called here) never increments the count of episodes run and the while loop never ends.

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

79398501

Date: 2025-01-30 00:17:30
Score: 1
Natty:
Report link

The material buttons don't behave same as old buttons do as they don't accept color from background but from theme.xml file. so, to change the background color of a material 3 button just add following code in theme.xml

<item name="colorPrimary">@color/<your-color-here></item>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gurpinder Singh

79398497

Date: 2025-01-30 00:11:29
Score: 1.5
Natty:
Report link

I think the above answer is out of date:

<DataGrid
   getRowHeight={(params) => 350 }}
/>
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hello Dave

79398491

Date: 2025-01-30 00:08:28
Score: 1
Natty:
Report link

Given the complexity I decided to opt for a simpler approach: if you don't need to get just the filename (you just want to display the image, no specific action), you can directly put the download url of the storage directly. It's not very readable from Firebase side but at least you can easily use it in a <img> tag as you just have to call the key from your store (place.images[0]) for instance in my case.

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

79398487

Date: 2025-01-30 00:05:27
Score: 0.5
Natty:
Report link

There's an even easier way in 2025! Look for your first field in the XML with the issue and add an apostrophe to the data, then save. Bring that file into excel via Dev>Import as normal and it should work! Your first line will the apostrophe in front of the numbers but the rest of the lines will be read as a string! And when you Import again over it, it imports correctly. None of the above workarounds needed!

Example:

Change <SubmissionId>95834620250281987358</SubmissionId> to <SubmissionId>'95834620250281987358</SubmissionId>
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Alex

79398473

Date: 2025-01-29 23:50:25
Score: 3
Natty:
Report link

You need to create a new release in order to change the marketing URL field.

field for old release

As you can see in the screenshot above, this field is unavailable. However, when creating a new release, it becomes available: field for new release

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

79398468

Date: 2025-01-29 23:47:24
Score: 4.5
Natty: 7.5
Report link

skibkjdfgnjksfhgkjsdfhgkjsdfhgkjsdfhgkjghgsdfkhgkejdhgrf

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Toxic

79398467

Date: 2025-01-29 23:46:23
Score: 4
Natty:
Report link

Debian GNU/Linux system copyright. API ID: 822908ee73dfb2aef927282ab1f2bbf3 Verification Code = [ ******************** ] $ Connection..host..http://+ instagram +/api/%$intec/success.. $ Account:http://instagram/+ Nayraa9149 +/a-%/php.. $ Applying md5()_Algoritm..| $ buffroverflow.c --system--nodir| SEDr_hash] !== $_COOa-%/ =hacked.py � bash � 80x10 $ Applying RSA()_Algoritm... f| - $ Applying map_reduce()... SUCCESS! $ tar -zcvf password.zip *.password = *******| $ Success! Username is: + Nayraa9149 +/encryption/4055001556657& $_GET_password from the link below| _Successfully accessed. to <& date $ buffroverflow.c --system--nodir

Reasons:
  • Blacklisted phrase (1): the link below
  • Blacklisted phrase (1): ¿
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Filler text (0.5): ********************
  • Low reputation (1):
Posted by: Himanshu Kumar

79398459

Date: 2025-01-29 23:44:22
Score: 0.5
Natty:
Report link

I got it, silly typo.

{
  "id": 2,
  "srid": 4326,
  "coordinates": [
 --->[
       [-77.292894, 38.392816, 0], [-77.169498, 38.468925, 0], [-77.204214, 38.568971, 0]
     ]<---
  ]
}

Extra set of brackets so it was getting a List<List<List<Double>>> a mismatch to what the LineWithinRequestID's coordinateList was expecting

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

79398456

Date: 2025-01-29 23:42:21
Score: 0.5
Natty:
Report link

If you want to use just pipenv this might be helpful: https://discussions.apple.com/thread/254226896?sortBy=rank

In case that doesn't work, try adding the following line to the .bash_profile:

alias pipenv="python3 -m pipenv"

alias is not the best solution, but should work.

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

79398448

Date: 2025-01-29 23:39:20
Score: 1.5
Natty:
Report link

Make sure your .env.production file has

NEXT_PUBLIC_API_MOCKING=disabled
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: pallav deshmukh

79398440

Date: 2025-01-29 23:35:20
Score: 0.5
Natty:
Report link

for react projects

import Highcharts from 'highcharts'

inside your react component function add

useEffect(() => {
    // Reset all Highcharts charts' zoom
    if (Highcharts.charts) {
      Highcharts.charts.forEach((chart) => {
        if (chart) {
          chart.zoomOut()
        }
      })
    }
  }, [condition1, condition2])

in this situation i have 2 conditions where i want the chart to reset the zoom add your state vars in the useEffect dependency array

Reasons:
  • RegEx Blacklisted phrase (1): i want
  • Has code block (-0.5):
Posted by: JesseBoyd

79398436

Date: 2025-01-29 23:32:19
Score: 0.5
Natty:
Report link

I was facing this issue in staging and production where I was building my application and it bugged me for quite a while because in development I could load my assets just fine.

Eventually, I realized that I was not copying my public folder into my docker container in staging and production. In development the public folder was there and could be served, but, as soon as I was serving my nestjs application from the dist folder, no dice.

The solution for me was to add a copy command to my Dockerfile:

COPY --chown=node:node --from=build /usr/local/app/public ./dist/public

and it was served thanks to:

  app.useStaticAssets(join(__dirname, 'public'), {
    index: false,
    prefix: '/public/',
  });

The docker command has some extra stuff for my specific build flow but just COPY /path/to/app/public ./dist/public should work for you upon replacing path/to with the correct path to your application code.

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

79398429

Date: 2025-01-29 23:26:16
Score: 7.5 🚩
Natty:
Report link

How did you resolve this issue? i am having a similar challenge. I host my app.js file on root directory, the use router to run all my js codes in /routes/index.js

The app is functioning properly on local environment but showing internal server error on Vercel.

Reasons:
  • RegEx Blacklisted phrase (3): did you resolve this
  • RegEx Blacklisted phrase (1.5): resolve this issue?
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How did you
  • Low reputation (1):
Posted by: Inspired Scoop

79398401

Date: 2025-01-29 23:09:12
Score: 7.5
Natty: 8
Report link

this is exactly what I need... how do i add a comma for thousands?

Reasons:
  • Blacklisted phrase (1): how do i
  • Blacklisted phrase (0.5): I need
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user29424154

79398397

Date: 2025-01-29 23:07:11
Score: 1
Natty:
Report link

Managing extensive OneNote files, especially those spanning 500GB with videos, images text, and links, can be overwhelming. Instead of manually sifting through countless entries, leveraging an advanced AI-powered search tool ensures quicker and more precise information retrieval. Below, we explore various intelligent solutions that enhance efficiency and streamline the search process.

Microsoft Copilot-A Native AI Assistant

Since OneNote integrates seamlessly with Copilot, this built-in AI assistant is a reliable option. It utilizes deep learning models to interpret user queries and locate relevant content within expansive notebooks. Its ability to analyze text, summarize key points, and cross-reference multimedia content makes it a strong contender for organizations managing massive datasets.

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

79398396

Date: 2025-01-29 23:06:11
Score: 2.5
Natty:
Report link

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook. Your Answer Reminder: Answers generated by artificial intelligence tools are not allowed on Stack Overflow. Learn more

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

79398393

Date: 2025-01-29 23:05:10
Score: 2.5
Natty:
Report link

After four years of ownership, my Instagram account was stolen, the criminal changed the email address and phone number linked to it, and the account was suspended. I almost passed out. Thankfully, a friend introduced me to Marie, a recovery agent, who assisted me in getting my account back up and running in less than two hours. I'm overjoyed. If you need assistance, you may contact her at [email protected]. She is a real and reliable person, I can promise you.

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

79398392

Date: 2025-01-29 23:05:10
Score: 0.5
Natty:
Report link

Have you tried encapsulating it in a SUM?

SUM(IF(Date >= DATE(2024, 6, 25) AND Date <= DATE(2024, 7, 24), Active users, 0))

Maybe then you can mix the active users (metric) that meet the criteria you placed on date (dimension).

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: León

79398391

Date: 2025-01-29 23:05:10
Score: 3
Natty:
Report link

Row level security is not supported in azure sql seververless, it is supported in the dedicated pool

here is a link from microsoft, it would help if you had clearer requirements from help:

https://techcommunity.microsoft.com/blog/azuresynapseanalyticsblog/how-to-implement-row-level-security-in-serverless-sql-pools/2354759

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

79398381

Date: 2025-01-29 22:57:09
Score: 2.5
Natty:
Report link

Alright so the problem was related to i18next library, this bug report helped me fixing it github.com/i18next/i18next/issues/2008

the issue was that my i18next of the latest version was not supporting 4.9.5 and i just needed to choose the version of i18next that would be compatible with it =)

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

79398378

Date: 2025-01-29 22:55:08
Score: 3
Natty:
Report link

3 years later and giving full disk access to Xcode is still the answer. Although for me it was Mac -> System Settings -> Privacy & Security -> Full Disk Access -> Toggle for Xcode

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

79398375

Date: 2025-01-29 22:53:08
Score: 0.5
Natty:
Report link

Bungee is a C++ library for high-quality, real-time speed and pitch manipulation. It is open source and permissively licensed.

There is a comparison page on the Bungee site comparing many open source and commercial technologies.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): is a
  • High reputation (-1):
Posted by: paperjam

79398367

Date: 2025-01-29 22:49:06
Score: 1
Natty:
Report link

The correct and simple code for "Around 1-apple" is

while not wall_in_front():
    move()
    if object_here():
        take()
    if wall_in_front():
        turn_left()
    if at_goal():
        done()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Irfan Chadury

79398366

Date: 2025-01-29 22:48:06
Score: 1.5
Natty:
Report link

I have been experimenting some difficultities around this problem

My code has a function to configure the modem and I have tried all that has been said in this forum

I am using MQTT via LTE-M and my configuration for AWS is this one

#define MQTT_BROKER "#######.iot.us-east-1.amazonaws.com" 
#define MQTT_PORT 8883                                            
#define MQTT_TOPIC "sdk/test/python"  

I included the keys and certificates as const * char

void configureModem() {

  // Inicializar sistema de archivos
  modem.sendAT("+CFSINIT");
  if (modem.waitResponse() != 1) {
    Serial.println("Error al inicializar el sistema de archivos");
    return;
  }

  // Subir certificados
  modem.sendAT("+CFSWFILE=3,\"rootCA.crt\",0,", strlen(rootCA_cert_pem), ",10000");
  if (modem.waitResponse(10000, "DOWNLOAD") == 1) {
    modem.stream.write(rootCA_cert_pem);
  }
  modem.waitResponse(5000);

  modem.sendAT("+CFSWFILE=3,\"client.crt\",0,", strlen(client_cert_pem), ",10000");
  if (modem.waitResponse(10000, "DOWNLOAD") == 1) {
    modem.stream.write(client_cert_pem);
  }
  modem.waitResponse(5000);

  modem.sendAT("+CFSWFILE=3,\"client.key\",0,", strlen(client_key_pem), ",10000");
  if (modem.waitResponse(10000, "DOWNLOAD") == 1) {
    modem.stream.write(client_key_pem);
  }
  modem.waitResponse(5000);

  // Convertir certificados
  modem.sendAT("+CSSLCFG=\"CONVERT\",2,\"rootCA.crt\"");
  modem.waitResponse(5000);

  modem.sendAT("+CSSLCFG=\"CONVERT\",1,\"client.crt\",\"client.key\"");
  modem.waitResponse(5000);

  // Configurar certificados SSL
  modem.sendAT("+SMSSL=1,\"rootCA.crt\",\"client.crt\"");
  modem.waitResponse(3000);

  // Finalizar sistema de archivos
  modem.sendAT("+CFSTERM");
  modem.waitResponse();

  // Configurar MQTT
  modem.sendAT("+SMCONF=\"URL\",\"" MQTT_BROKER "\",8883");
  modem.waitResponse();

  modem.sendAT("+SMCONF=\"CLIENTID\",\"SIM7080_Client\"");
  modem.waitResponse();

  modem.sendAT("+SMCONF=\"KEEPTIME\",60");
  modem.waitResponse();

  modem.sendAT("+SMCONF=\"CLEANSS\",1");
  modem.waitResponse();

  modem.sendAT("+SMCONF=\"QOS\",1");
  modem.waitResponse();

  // Consultar configuración MQTT
  modem.sendAT("+SMCONF?");
  modem.waitResponse(5000);

  // Conectar a MQTT
  modem.sendAT("+SMCONN");
  if (modem.waitResponse(10000) == 1) {
    Serial.println("MQTT conectado exitosamente.");
  } else {
    Serial.println("Error al conectar MQTT.");
  }

  return;
}

When I try to connect or publish, it does not work. I tried using legacy rootCA, tls 1.2 and the default topics but it is still not working

Reasons:
  • Blacklisted phrase (2): still not working
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Anthony Chaves

79398363

Date: 2025-01-29 22:47:05
Score: 4
Natty:
Report link

Turns out my problem was within postman.

For some reason I had two Authorization headers, one with correct value and another one empty. here how it was

Whenever I send a request with double Authorization header to NGINX it returns a 400 response.

It only occurs in websocket collections, HTTP collections runs fine with double Auth headers, probable because Postman overrides with the default one. Maybe it doesn't do the same for Websocket collections?

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

79398361

Date: 2025-01-29 22:46:04
Score: 3
Natty:
Report link

Thanks for that Onuralp. That's a good insight. I did get some good results for all the following:

stochastic_motor.visualize_attributes()
print(stochastic_motor.total_impulse)
stochastic_rocket.visualize_attributes()
stochastic_flight.visualize_attributes()

but something that stuck out to me as a potential problem was that when I tried print(stochastic_motor.total_impulse), I got back the following:

(np.float64(2221943.0652824277), np.float64(207658.2304002269), <bound method RandomState.normal of RandomState(MT19937) at 0x1D833D56840>)

Do you think this may have been the cause of the problem since it's not a single float? I had set it up like so in the script:

total_impulse=(1.07*(RedMotor.total_impulse), (RedMotor.total_impulse/10)),

type(stochastic_motor.total_impulse) returns that it is a tuple. Could this be the cause of the problem?

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

79398356

Date: 2025-01-29 22:44:04
Score: 2
Natty:
Report link

As noted in the other comments, UEFI Secure Boot and Linux's kernel lockdown are complementary and largely but not totally independent of each other. Per kernel_lockdown(7), "On an EFI-enabled x86 or arm64 machine, lockdown will be automatically enabled if the system boots in EFI Secure Boot mode."

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

79398343

Date: 2025-01-29 22:38:02
Score: 0.5
Natty:
Report link

JSON inside single quoted attributes just to be safe and with these flags:

php

$json = json_encode( $data, JSON_HEX_QUOT | JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS );

html

<div data-json='<?= $json; ?>'></div>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: DrLightman

79398340

Date: 2025-01-29 22:36:02
Score: 2.5
Natty:
Report link

For me, restarting the php-fpm service along with apache worked sudo systemctl restart php-fpm sudo systemctl restart httpd

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

79398339

Date: 2025-01-29 22:33:01
Score: 5
Natty: 4.5
Report link

there is a feature, but not sure if there is an api for this https://www.youtube.com/watch?v=bPkhGegCzEM

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: xihajun

79398335

Date: 2025-01-29 22:27:59
Score: 2.5
Natty:
Report link

I tried everything on the internet, and nothing worked. Finally, I uninstalled vscode, and then reinstalled it. Once reinstalled, move it to your applications folder if you are on mac.

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

79398331

Date: 2025-01-29 22:24:59
Score: 3
Natty:
Report link

An interesting post! For Isabelle, only total functions are allowed. The excluded middle law holds for all total Boolean functions.

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

79398325

Date: 2025-01-29 22:21:57
Score: 0.5
Natty:
Report link

I made the assumption rsync was installed as a part of base ubuntu image and it is not, I solved the issue by adding this line to my image code

RUN apt-get install -y rsync

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

79398324

Date: 2025-01-29 22:20:57
Score: 0.5
Natty:
Report link

I identified the issue—I need to wrap the URL in quotes; otherwise, the & symbol is interpreted by the shell.

uv pip install "git+ssh://[email protected]/project/repository.git@branch-name#egg=package-name&subdirectory=subdirectory"

The UV team assisted me here.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • Has code block (-0.5):
Posted by: Alon Barad

79398314

Date: 2025-01-29 22:12:56
Score: 2.5
Natty:
Report link

Lapce does has inbuilt Git-support, but doesn't allow you to push changes directly to Github.You'll need another git client to push your changes, so I recommend to just push via git bash.

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

79398307

Date: 2025-01-29 22:05:54
Score: 0.5
Natty:
Report link

You need to catch the error

fetch('https://www.w3schools.com/nodejs/incorrecturl')
 .then((response) => { console.log(response.status); })
 .catch((error) => { console.error('Request failed:', error); });
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: darkrat

79398302

Date: 2025-01-29 22:00:52
Score: 7.5 🚩
Natty: 6
Report link

In my case, I have the Xcode workspace checked in the iOS resolver settings, and nothing. I watched the video and followed the steps and also didn't work.

I am on week 2ish of trying to get this work, and none of the solutions seem to work for me. Any help would be appreciated.

Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): Any help
  • RegEx Blacklisted phrase (3): Any help would be appreciated
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: eantillon

79398300

Date: 2025-01-29 21:59:52
Score: 0.5
Natty:
Report link

Disclaimer: Two months new to programming Swift/Xcode, so please forgive me for any errors.

Like others here, I needed to apply some watermarks as well, and in a multi-platform app. Most examples depended on "AppKit" components, which I'm learning are exclusive to macOS (again, I'm new); or they depended on "UIKit" components, which are apparently exclusive to iOS. Plus, the most helpful/capable suggestions for me that I found here used "UIGraphicsBeginImageContext". When I caved-in (iOS only) to use the examples, they worked great, but that one, particular UI method is marked as 'deprecated' (at least by late 2024), so I felt I had to look further.

My endeavors led me down to the core, the 'Core' that is. All the lower-level graphics I had to do forced me into Core Imaging and Core Graphics frameworks anyway, where everything is touchy, optional, somewhat tricky, and can differ to UI orientations, but I got it to all work great, and decided I should try to share, hoping it might help someone else. There are small preliminary steps to convert other images back down to CI/CG, which seems to be their basis anyway but it's not hard to do and feels native to UIImage and NSImage.

You'd need to add the 'import CoreImage.CIFilterBuiltins' to your standard imports, if you hadn't already by that point. Also, in the example, I have 2 pre-made overlays with transparent alpha channels stored prior ("theWatermarkCIImage" and "theClippingRectCIImage") that are the same size [easiest] as the expected underlaid (background) image is, and the func lets the input boolean choose which to apply (this choice-function is custom for my uses, but you could just pass in an overlay/watermark image instead of the boolean as the second input, and edit the code with "let dummer.inputImage = myWatermarkImage"). And also, there is an 'if false {}' block which I switched on and off while developing for immediately testing the results. May be helpful for you too, so left it in here:

import CoreImage.CIFilterBuiltins


func applyOverlayToCIImage(_ theUnderlaidImage: CIImage, _ useWatermark: Bool) -> CGImage {

    let dum = CIContext()
    let dummer = CIFilter.sourceOverCompositing()
    dummer.inputImage = (useWatermark ? theWatermarkCIImage : theClippingRectCIImage)
    dummer.backgroundImage = theUnderlaidImage

    let dummest = dummer.outputImage!
    let cgImage = dum.createCGImage(dummest, from: dummest.extent)

    if false {
        let dumURL = URL(filePath: "/Users/someUserName/Desktop/someUniqueFileName.jpg")
        do {try dum.writeJPEGRepresentation(of: dummest, to: dumURL, colorSpace: CGColorSpaceCreateDeviceRGB()) }
        catch { print("Could not write JPEG to file to: \(dumURL)\nBecause Error: \(error)") } }

    return cgImage!
}

Hope it helps.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-1): Hope it helps
  • RegEx Blacklisted phrase (1.5): I'm new
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: LGLB

79398291

Date: 2025-01-29 21:56:51
Score: 2
Natty:
Report link

Logger package is not supported for web \ wasm since it imports dart:io. You can see more details in logger dart Under "Platform Support" section. You can also take a look at related question at stack overflow

You can try logging for logging web apps.

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

79398290

Date: 2025-01-29 21:55:50
Score: 9
Natty: 7.5
Report link

Could you resolve this? I am getting the same error and have confirmed that my adata also has image slot. Thanks so much.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (1.5): resolve this?
  • RegEx Blacklisted phrase (1): I am getting the same error
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am getting the same error
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Madhurima Kaushal

79398287

Date: 2025-01-29 21:54:48
Score: 8 🚩
Natty: 5.5
Report link

Did you manage to fix this? I'm experiencing the same problem and I haven't been able to find a working solution yet.

Reasons:
  • RegEx Blacklisted phrase (3): Did you manage to fix this
  • RegEx Blacklisted phrase (1.5): fix this?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (0.5):
Posted by: DanteC

79398286

Date: 2025-01-29 21:54:48
Score: 2
Natty:
Report link

We work in the .Net framework. It doesn't like Async methods. The solution is to change from MessageResource.CreateAsync to MessageResource.Create and change all the async methods signatures.

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

79398274

Date: 2025-01-29 21:48:47
Score: 3.5
Natty:
Report link

I'm quite late to this but I pull job metrics every morning to report on with run times as well as send alerts for any jobs in a non runnable state.

https://github.com/jacksoneyton/DataStage/blob/master/Get-DSJobsRunMetaData.ps1

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

79398271

Date: 2025-01-29 21:47:46
Score: 3.5
Natty:
Report link

Did you select the option to install the "debug modules" when installing python, this specifically mentions "Visual Studio 2017" in the setup screen.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Matt W

79398265

Date: 2025-01-29 21:44:46
Score: 0.5
Natty:
Report link

WriteOnlyCollection requires an additional query to access its items.

self.db_session.scalars(part.health_indicators.select()).all()

part.health_indicators.add_all(self.db_session.scalars(fill_query).all())

This is a correct way to add a list of items to an empty WriteOnlyCollection.

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

79398264

Date: 2025-01-29 21:44:46
Score: 1
Natty:
Report link

Issue was with the useFetch custom Hook, its expecting

const {
loading: loadingCreateJob,
error: errorCreateJob,
data: dataCreateJob,
fn: fnCreateJob,
 } = useFetch((token, options, questions, jobData) => {
 return addNewJob(token, questions, jobData);
  });
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Ammar Anjum

79398261

Date: 2025-01-29 21:43:45
Score: 8
Natty: 7
Report link

Looking for the same. How can I add a delay between two messages in a topic flow? The answer provided is not clear to me. Can someone please explain?

Reasons:
  • Blacklisted phrase (0.5): How can I
  • RegEx Blacklisted phrase (2.5): Can someone please explain
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Bart van Doveren

79398254

Date: 2025-01-29 21:41:44
Score: 1
Natty:
Report link

Just incase anyone is facing the same challenge specifically in docker setup. Here's how you navigate it using @CZoellner fix

docker exec -it <container_name/ID> odoo -d <DB_name> -u <Module_name>  -c <location to your config file inside container (/etc/odoo/odoo.conf)> --xmlrpc-port=8070 <You might need to specify the port especially if 8069 is already commited by the running instant> 
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @CZoellner
  • Low reputation (0.5):
Posted by: chacha kairu

79398253

Date: 2025-01-29 21:41:44
Score: 3
Natty:
Report link

On searching found this link - https://github.com/facebook/react-native/issues/10027.

  1. Open Xcode.
  2. Select Edit Scheme.
  3. Add the following under Environment Variables:
Name: OS_ACTIVITY_MODE
Value: disable
  4. Run your app again
Reasons:
  • Blacklisted phrase (1): this link
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: user3839336

79398251

Date: 2025-01-29 21:39:43
Score: 1.5
Natty:
Report link

This side note by @Sludge solved my problem. I had all the appropriate permissions in the main AndroidManifest.xml but not in the debug AndroidManifest.xml.

I'll ask the developers of the permission_handler package if they can please specify which AndroidManifest.xml is the culprit.

Just a side note: There are different AndroidManifest.xml files in your project (...src/debug, ...src/profile, and ...src/main). Adding the permissions to the main version described above should work but if you're noticing inconsistent behavior make sure you're putting all of your permissions in the same AndroidManifest file.

Many thanks, @Sludge

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Sludge
  • User mentioned (0): @Sludge
  • Low reputation (1):
Posted by: user3341673

79398247

Date: 2025-01-29 21:37:43
Score: 3
Natty:
Report link

fswebcam -l 10 -r 640x480 --no-banner -save pic-%Y-%m-%d_%H-%M-%S.jpg

This will take a picture every 10 seconds and save it to a new filename.

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

79398239

Date: 2025-01-29 21:34:42
Score: 2
Natty:
Report link

nest update is not available in latest versions e.g. like 11

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Jorge Ramirez Zamora

79398202

Date: 2025-01-29 21:16:37
Score: 1
Natty:
Report link

I think this looks good

return conditionA ? a
  : conditionB ? b
  : conditionC ? c
  : default;

In your context:

return foo ? 1 
  : bar ? 2
  : 3;

Lining up the variables would look nice too

return foo ? 1 
     : bar ? 2
     : 3;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Devin Li

79398201

Date: 2025-01-29 21:15:37
Score: 0.5
Natty:
Report link

Indded the UK map seems unusual, it looks like the north part is more stretched than the south part of the map. Looking at your code, I see: projection=dict(type="equirectangular").

On Wikipedia page for this type of projection, they have this map which shows that the distorsion is not symmetric around UK as it is pretty far from the Equator:
map

On this website they say that

The map projection commonly used for Britain is the Ordnance Survey National Grid projection which is a Modified Transverse Mercator projection.

And on Plotly website they give a long list of map projection types that are available:

Code: fig.update_geos(projection_type=) Type: enumerated , one of ( "airy" | "aitoff" | "albers" | "albers usa" | "august" | "azimuthal equal area" | "azimuthal equidistant" | "baker" | "bertin1953" | "boggs" | "bonne" | "bottomley" | "bromley" | "collignon" | "conic conformal" | "conic equal area" | "conic equidistant" | "craig" | "craster" | "cylindrical equal area" | "cylindrical stereographic" | "eckert1" | "eckert2" | "eckert3" | "eckert4" | "eckert5" | "eckert6" | "eisenlohr" | "equal earth" | "equirectangular" | "fahey" | "foucaut" | "foucaut sinusoidal" | "ginzburg4" | "ginzburg5" | "ginzburg6" | "ginzburg8" | "ginzburg9" | "gnomonic" | "gringorten" | "gringorten quincuncial" | "guyou" | "hammer" | "hill" | "homolosine" | "hufnagel" | "hyperelliptical" | "kavrayskiy7" | "lagrange" | "larrivee" | "laskowski" | "loximuthal" | "mercator" | "miller" | "mollweide" | "mt flat polar parabolic" | "mt flat polar quartic" | "mt flat polar sinusoidal" | "natural earth" | "natural earth1" | "natural earth2" | "nell hammer" | "nicolosi" | "orthographic" | "patterson" | "peirce quincuncial" | "polyconic" | "rectangular polyconic" | "robinson" | "satellite" | "sinu mollweide" | "sinusoidal" | "stereographic" | "times" | "transverse mercator" | "van der grinten" | "van der grinten2" | "van der grinten3" | "van der grinten4" | "wagner4" | "wagner6" | "wiechel" | "winkel tripel" | "winkel3" )

Ordnance Survey is not available but Mercator is and you can try several projections until you find one you prefer?

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

79398196

Date: 2025-01-29 21:13:36
Score: 1
Natty:
Report link

The sticky header behavior is working as expected. Try putting the header inside the items function and try again.

items(...) {
    Column {
        CategoryHeader(...)
        ItemRow(...)
    }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: João Ferreira

79398192

Date: 2025-01-29 21:11:36
Score: 1.5
Natty:
Report link

solution is:

.partials {
    overflow-y: auto;
    max-height: 420px;
  }
Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Falkys

79398189

Date: 2025-01-29 21:10:34
Score: 8.5 🚩
Natty: 6
Report link

Could you please explain in more detail how you fixed this? I am trying to fix this on my SSD1306 (64x48) with ESP32.

Reasons:
  • Blacklisted phrase (1): I am trying to
  • RegEx Blacklisted phrase (2.5): Could you please explain
  • RegEx Blacklisted phrase (1.5): fixed this?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: lBeJIuk

79398188

Date: 2025-01-29 21:10:34
Score: 3
Natty:
Report link

In my case the encoding was set to "UTF-16 BE BOM" on the actual script file. I used notepad++ to change to UTF-8-BOM (similar to other scripts)

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

79398182

Date: 2025-01-29 21:07:32
Score: 9.5 🚩
Natty: 5.5
Report link

i have the same issue, did you guys find the way to solve it ?

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

79398177

Date: 2025-01-29 21:04:30
Score: 9 🚩
Natty: 6.5
Report link

Did you solve this problem? I am also trying to get screw tightening data with copco.

Reasons:
  • RegEx Blacklisted phrase (3): Did you solve this problem
  • RegEx Blacklisted phrase (1.5): solve this problem?
  • 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 you solve this
  • Low reputation (1):
Posted by: Namık Kemal ARSU

79398176

Date: 2025-01-29 21:04:30
Score: 0.5
Natty:
Report link

If the solution I mentioned earlier did not work, you can try disabling the keyboard focus when the page first opens as another method.

Write a initState right above build widget like this:

@override
void initState() {
  super.initState();
  WidgetsBinding.instance.addPostFrameCallback((_) {
    FocusScope.of(context).requestFocus(FocusNode());
  });
}

or like this:

 final FocusNode _textFieldFocusNode = FocusNode();

  @override
  void initState() {
    super.initState();
    _textFieldFocusNode.unfocus();
  }

 ...

TextField(
          focusNode: _textFieldFocusNode,
          autofocus: false,
        ),
Reasons:
  • Blacklisted phrase (1): did not work
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Yusuf

79398172

Date: 2025-01-29 21:03:29
Score: 4
Natty:
Report link

There is no version 2.5.1+cpu of torch available for macos.

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

79398159

Date: 2025-01-29 20:57:27
Score: 4
Natty:
Report link

Okay I changed this a bit and its working. But I still don't understand why and how? Below is the component

import React from "react";
import "./clientLayout.css";

import Sidebar from "../../containers/Sidebar";
import HeaderPanel from "../../containers/HeaderPanel";
import ContentPanel from "../../containers/ContentPanel";

const ClientLayout = () => {

  return (
    <div className="client-layout-container collapsed">
      <Sidebar />
      <HeaderPanel />
      <ContentPanel />
    </div>
  );
};

export default ClientLayout;

This is the ContentPanel

import React from "react";
import { Route, Routes } from "react-router-dom";
import { SidebarMenus } from "../dataProvider/SidebarMenus";

const ContentPanel = () => {
  return (
    <Routes>
      {SidebarMenus.map((menu, index) => (
        <Route key={index} path={menu.path} element={menu.element} />
      ))}
    </Routes>
  );
};

export default ContentPanel;

And this is one of the route

import React from "react";

const Dashboard = () => {
  const generateParagraphs = () => {
    const paragraphs = [];
    for (let i = 0; i < 1000; i++) {
      paragraphs.push(<p key={i}>Hello {i + 1}</p>);
    }
    return paragraphs;
  };

  return (
    <div className="component-container">
      <div className="main-content">
        <div className="form">
          <h2>Dashboard Content</h2>
          {generateParagraphs()}
        </div>
      </div>
      <div className="side-content">
        <h3>Side Content</h3>
        {generateParagraphs()}
      </div>
    </div>
  );
};

export default Dashboard;

and its working with this css for now:

.client-layout-container {
  width: 100%;
  height: 100dvh;
  display: grid;
  grid-template-rows: 4rem auto;
  grid-template-columns: 15rem auto;
  grid-template-areas: "sidebar header" "sidebar content";
  gap: 0.3rem;
}

.client-layout-container.collapsed {
  grid-template-columns: 7rem auto;
}

.client-layout-container > :nth-child(1) {
  grid-area: sidebar;
}

.client-layout-container > :nth-child(2) {
  grid-area: header;
  background: red;
}

.client-layout-container > :nth-child(3) {
  grid-area: content;
  height: 100%;
  background: blue;
}

.component-container {
  display: grid;
  grid-template-columns: auto 20rem;
  overflow: auto;
}

.main-content {
  overflow: auto;
}

.side-content {
  overflow: auto;
}

can anyone explain why I cannot remove the overflow auto on the component-container as I only want its children div to scroll, so why do I need to specify that there as well. Without that I again lose the scroll on both main-content and side-content.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (0.5): I cannot
  • RegEx Blacklisted phrase (2.5): can anyone explain
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Bibek Bhattarai

79398153

Date: 2025-01-29 20:54:26
Score: 3
Natty:
Report link

in my case the issue was i had python 3.11.9 and 3.12.8 installed on my system. after uninstalling the 3.12.8 (which was preferd by vs code) the error "import "moviepy.editor" could not be resolved" gone. how stupid of me

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

79398151

Date: 2025-01-29 20:53:26
Score: 3
Natty:
Report link

After some research i went with using OpenSSL as provides everything needed for proper ssl encryption

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