79262557

Date: 2024-12-08 13:29:22
Score: 1.5
Natty:
Report link

I installed IdeaVim plugin (Settings->Plugins-> Search 'IdeaVim'), then unbaled and then restarted the IDE. Worked for me.

IDE - WebStorm Project - VueJS

Reasons:
  • Whitelisted phrase (-1): Worked for me
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Victor Avtandilyan

79262546

Date: 2024-12-08 13:22:20
Score: 1.5
Natty:
Report link

Or use simple class

:root[class~="dark"] div:where(.swal2-container) div:where(.swal2-popup){
   background-color: #353434;
   z-index: 1;
   border: 1px solid #666666;
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Brijesh

79262541

Date: 2024-12-08 13:19:19
Score: 1
Natty:
Report link

ImgBB is a free image hosting service that allows users to upload and share images online. It offers an easy-to-use interface for uploading images and provides direct links for embedding or sharing them. While Firebase Storage is a cloud storage solution typically used for storing various types of files, including images, ImgBB specializes specifically in image hosting. It can be used as an alternative for Firebase Storage when the primary requirement is to store and share images quickly without the complexity of a more extensive backend infrastructure. However, Firebase provides more advanced features for developers, like real-time database integration and file management.

https://imgbb.com/

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

79262538

Date: 2024-12-08 13:19:19
Score: 5.5
Natty:
Report link

I Have similar problem. It is about namespaces....

XMLDoc.SetProperty "SelectionNamespaces", "xmlns:dummy=""http://www.w3.org/2005/Atom""" Set Entries = XMLDoc.DocumentElement.SelectNodes(".//dummy:entry") 'Set Entries = XMLDoc.DocumentElement.SelectNodes(".//entry") 'DOES NOT WORK

From here: https://vbaplanet.com/xml.php

Reasons:
  • Blacklisted phrase (1): I Have similar
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I Have similar problem
  • Low reputation (1):
Posted by: Vít Jirman

79262533

Date: 2024-12-08 13:17:18
Score: 3
Natty:
Report link

I just update maven compiler to latest in pom.xml and saved it and it resolved the issues.

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

79262531

Date: 2024-12-08 13:16:18
Score: 1
Natty:
Report link

This page mentions

Note: The token grant rate limit only applies to non-identity scopes. If your application only uses identity scopes, this graph will not display any data.

So I guess the Rate limit does not apply if your app is verified and is only requesting Identity scopes which are email,name and profile picture.

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

79262517

Date: 2024-12-08 13:12:15
Score: 7.5 🚩
Natty:
Report link

Same here! When I refresh the page, it's back to normal, but then with every new line printed while the window is open, it again narrows more and more. So annoying. You guys found any solution yet?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (2): any solution yet?
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Roman Vinogradov

79262509

Date: 2024-12-08 13:08:15
Score: 3.5
Natty:
Report link

Thank you all. Very educational. @Craig: Yes, I was aware of that construct, but I also wanted to reference the formats individually (without indexing). Not a biggie but I was curious why my construct wasn't working.

Further insight: my microchip compiler (XC8) uses the first "const" to place the data into program memory. I assumed it would also define the vars as const.

Andreas' construct worked nicely. THANK YOU ALL again. Michael

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): THANK YOU
  • No code block (0.5):
  • User mentioned (1): @Craig
  • Low reputation (1):
Posted by: user24153070

79262499

Date: 2024-12-08 13:03:13
Score: 1
Natty:
Report link

Sometimes, the project might have old artifacts causing issues during the build. Clean the build cache and try rebuilding:

cd android
./gradlew clean
cd ..
eas build -p android
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: samkayz

79262497

Date: 2024-12-08 13:02:13
Score: 2.5
Natty:
Report link

Try generating your filenames using start and end times: -o "%(id)s-%(section_start)s-%(section_end)s.%(ext)s"

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Y. Sankara Narayanan

79262494

Date: 2024-12-08 13:02:13
Score: 2
Natty:
Report link
npm set registry https://registry.npmjs.org/

this command solves the problem

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

79262490

Date: 2024-12-08 13:01:13
Score: 1.5
Natty:
Report link

I have a better one:

How did Hitler fit 10 Jews in a VW?

The solution: 2 in the front, 2 in the back, 6 in the ashtray.

Reasons:
  • Whitelisted phrase (-2): solution:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Mike Oxmall

79262481

Date: 2024-12-08 12:57:12
Score: 3.5
Natty:
Report link

You could run a separate script to fetch the token then save it in sql using a cron job.

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

79262480

Date: 2024-12-08 12:57:12
Score: 2.5
Natty:
Report link

Your UTF8 file was encrypted as ISO 8859-1. The UTF-8 characters take multiple bytes, whereas ISO 8859-1 is a single-byte encoding.

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

79262476

Date: 2024-12-08 12:55:11
Score: 2
Natty:
Report link

Use regMOK to create and register a Machine Owner Key (MOK), which you can then use to sign your kernel modules.

#kernel-module #MOK #signing

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

79262471

Date: 2024-12-08 12:52:10
Score: 4
Natty:
Report link

@samcarter_is_at_topanswers.xyz somehow your suggestion looks this for me (maybe because of this setting? \captionsetup{labelfont={bf,footnotesize},textfont=footnotesize}) also I got at \begin{subfigure}{\textwidth} the error Missing number, treated as zero. Illegal unit of measure (pt inserted). And there is still a big gap between the second image and the top of the page.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: sophie

79262470

Date: 2024-12-08 12:52:10
Score: 4.5
Natty: 5
Report link

@mahouuuuuuu Unfortunately I am not yet allowed to comment, but I am very much struggling with the same issue (and searching for a simple solution) – I would be happy if you could share the code for your solution with everyone here. :)

For Wordpress I found a solution if someone wants to offer a video course and needs to be sure that participants are watching the whole video(s) without jumping, but this plugin is 'far too much'/bloated (for my needs): LearnDash LMS + Video Progression.

Reasons:
  • Blacklisted phrase (1): this plugin
  • Blacklisted phrase (1): to comment
  • No code block (0.5):
  • User mentioned (1): @mahouuuuuuu
  • Low reputation (1):
Posted by: art farmer

79262457

Date: 2024-12-08 12:39:08
Score: 0.5
Natty:
Report link

I am not sure if you really need DUAL, I think you can utilise the two tables ITEMS and ITEMS_RELATED and get the required output, let us know.

Fiddle

SELECT 
    CASE 
        WHEN ROW_NUMBER() OVER (PARTITION BY ir.MASTER_ITEM ORDER BY ir.RELATED_ITEM) = 1
        THEN ir.MASTER_ITEM
        ELSE NULL
    END AS ITEM_NUMBER,
    ir.RELATED_ITEM
FROM 
    ITEMS_RELATED ir
JOIN 
    ITEMS i
    ON ir.MASTER_ITEM = i.ITEM_NUMBER
ORDER BY 
    ir.MASTER_ITEM, ir.RELATED_ITEM;

Output

enter image description here

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: samhita

79262456

Date: 2024-12-08 12:38:07
Score: 1
Natty:
Report link

try adding this header to your markdown file:

<style>
p:has(+ ul) {
  margin-bottom: 0;
}
p + ul {
  margin-top: 0;
}
</style>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Tnsu KYRK

79262454

Date: 2024-12-08 12:38:07
Score: 1
Natty:
Report link

Check if there is a Mismatch of Debug/Release Builds and DLLs: Lines for Linker-Input (Release):

sfml-graphics.lib
sfml-window.lib
sfml-audio.lib
sfml-network.lib
sfml-system.lib

Lines for Linker-Input (Debug):

sfml-graphics-d.lib
sfml-window-d.lib
sfml-audio-d.lib
sfml-network-d.lib
sfml-system-d.lib
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: bob

79262453

Date: 2024-12-08 12:38:07
Score: 1.5
Natty:
Report link

You can write the !class - but don't do it first. For example: This will work -

.class-m1 {
 @apply h-1 !w-2.5;
}

And this won't -

.class-m1 {
 @apply !w-2.5 h-1;
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Александр Ястребов

79262449

Date: 2024-12-08 12:34:06
Score: 9 🚩
Natty:
Report link

The FBI has me as a project and they shock me daily with Russian malware they are torturing me and I have been in my house being tortured for eight months I need help please my name is Beau Aguirre they shock my mother and our dog with a device that runs on satellite three

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (2.5): I need help
  • RegEx Blacklisted phrase (1.5): help please
  • RegEx Blacklisted phrase (1): I have been in my house being tortured for eight months I need help please
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Beau Aguirre

79262444

Date: 2024-12-08 12:31:05
Score: 4
Natty:
Report link

Fiam! Zsámó zsázsé megyünk vasé!

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Mikorka Kálmán

79262439

Date: 2024-12-08 12:28:04
Score: 1.5
Natty:
Report link

I finally solved the problem the day after I posted the problem.n the MSSQLConnection and SQLite classes I didn't pass the context from class to an other, As @CommonsWare mentioned the context was null. So in class MSSQLConnection i had to add the below line:

public MSSQLConnection(Context context){
    this.context = context;
    **this.SQLQueries=new SQLQueries(context);**
} 

and in SQLite class:

public  SQLite(Context context) {
    super(context, DATABASE_NAME, null, DB_Version);
    **this.context = context;**
    **this.mssqlConnection = new MSSQLConnection(context);**  
} 

and in SQLQueries class i had to remove this line

connectionSQL = new MSSQLConnection(context);
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @CommonsWare
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: NoobGeorge

79262432

Date: 2024-12-08 12:21:01
Score: 7.5 🚩
Natty:
Report link

Could you show us the docker compose file? or maybe some scripts you're trying to run

And I'm thinking about some ideas below:

Reasons:
  • Blacklisted phrase (1): Is there any
  • RegEx Blacklisted phrase (2.5): Could you show us
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: SirT

79262430

Date: 2024-12-08 12:19:00
Score: 2.5
Natty:
Report link

Unfortunately, there is no way to fix that except to upgrade Next.js to v15.x or no use turbopack...

The more details:

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

79262425

Date: 2024-12-08 12:16:00
Score: 1
Natty:
Report link

using UnityEngine;

public class PlayerController : MonoBehaviour { public float speed = 10f;

void Update()
{
    float horizontalInput = Input.GetAxis("Horizontal");
    transform.Translate(Vector3.right * horizontalInput * speed * Time.deltaTime);
}

}

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

79262413

Date: 2024-12-08 12:10:59
Score: 1
Natty:
Report link

If you're looking for a way to retrieve "Popular Times" information for a particular place without using the Google Places API, I recommend checking out this GitHub repository.

This repository provides a tool to directly scrape "Popular Times" data from Google Maps using just the URL of the place. Unlike other solutions, such as the popular times GitHub repository that requires an API key (which can sometimes risk account suspension), this tool is simple to use and does not require an API key.

All you need to do is provide the Google Maps URL for the location, and it will fetch the "Popular Times" data for all days of the week. It’s a lightweight, effective solution for personal or educational use.

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

79262405

Date: 2024-12-08 12:03:57
Score: 5.5
Natty:
Report link

Which expo version do you use? there is an issue on github, I think this can be the same root cause. Have you already checked it? https://github.com/clerk/javascript/issues/4669

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

79262403

Date: 2024-12-08 12:02:56
Score: 5.5
Natty:
Report link

Facing the same issue. I can't proceed to the next cause there is no app bundle to select. I don't know why this happened.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): Facing the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nahid Faraji

79262399

Date: 2024-12-08 11:57:54
Score: 7 🚩
Natty:
Report link

Where are you trying this? can you please elaborate

Reasons:
  • RegEx Blacklisted phrase (2.5): can you please elaborate
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Where are you
  • Low reputation (1):
Posted by: Mani Shankar

79262397

Date: 2024-12-08 11:56:54
Score: 2
Natty:
Report link

Documentation states that connections can be one-to-one, one-to-many, but never many-to-one.

If you want to connect multiple outputs to a single input, you need to use an AVAudioMixerNode. That's what it's for - it mixes (combines) multiple signal streams into a single stream.

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

79262396

Date: 2024-12-08 11:55:53
Score: 6 🚩
Natty:
Report link

same problem with popup in vscode everytime but i never used wsl before... after updating to the latest version this is happening as i am using windows 11 from quite a while. please post the update if you find any..

Reasons:
  • RegEx Blacklisted phrase (2.5): please post
  • RegEx Blacklisted phrase (1): same problem
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: It- is-it

79262395

Date: 2024-12-08 11:55:53
Score: 3.5
Natty:
Report link

For me just adding launch.json to .vscode worked but not with Run Current File or Node.js options in RUN AND DEBUG menu, I needed to use Launch Program and it worked

View -> Run -> RUN AND DEBUG -> Launch Program

Reasons:
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-1): it worked
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Raven Danish

79262392

Date: 2024-12-08 11:54:52
Score: 2.5
Natty:
Report link

I replaced "localhost" in the connection string with the IPv4 address and it worked.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hệ Nguyễn Văn

79262388

Date: 2024-12-08 11:51:52
Score: 3
Natty:
Report link

So I finally got it working on Android and Win64. Here are my changes taken from SiverWarrior and Dave.

The last tweaks have been to use Skia, otherwise the tab' slants are drawn over the menu. Also I hat to choose "BringToFront" on the TListBox on the form. It did not work at structure view of the object inspector as the "BringToFront" menu option of the context menu is disabled there. Thank you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): did not work
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Mockminister

79262382

Date: 2024-12-08 11:48:51
Score: 2.5
Natty:
Report link

'' => means its a string and couldnt put a variable inside `` => means also a string but u could put a variable by using this ${your_varaible}

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

79262369

Date: 2024-12-08 11:44:50
Score: 1.5
Natty:
Report link

This should be addressed by [GitHub]: mhammond/pywin32 - Last error wrongly set by some modules (scheduled for the next release (v309)).

Check [SO]: How to change username of job in print queue using python & win32print (@CristiFati's answer) (at the end) for possible ways to go further.

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

79262353

Date: 2024-12-08 11:34:48
Score: 3.5
Natty:
Report link

Same issue here. I tried to configure the logging for Python, e. g. by setting a fixed output line length.

But it is definitely an issue with the Javascript for the Replit IDE.

I also opened an ticket with the Replit support hotline.

Very annoying because I cannot debug any more...

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • RegEx Blacklisted phrase (1): Same issue
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user2262423

79262351

Date: 2024-12-08 11:33:47
Score: 6 🚩
Natty: 4.5
Report link

I know this is an old thread, but I found it and I want to use it because it works well and I like it. My only problem is that I also have translatePress on top, and it sends these unique emails to customers in the primary language in all sorts of ways, regardless of what language they ordered in. Is there a way to set this up so that it doesn't translate these unique emails, and I create a status/email for each language? Or should it take the language of the order into account? Thank you.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): Is there a way
  • RegEx Blacklisted phrase (1): I want
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Xen42

79262348

Date: 2024-12-08 11:30:46
Score: 3.5
Natty:
Report link

Use MutationObserver

See example: https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver#example

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

79262336

Date: 2024-12-08 11:21:44
Score: 3
Natty:
Report link

Your all payment all purchased need after I'm form my bank account good transaction all my phone good wearing

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

79262328

Date: 2024-12-08 11:17:42
Score: 6.5 🚩
Natty:
Report link

I have the same issue, Didn't find solution. I already reported to support. my current solution to toggle collapse console, but it back again.

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mustafa Hussien

79262308

Date: 2024-12-08 11:09:40
Score: 0.5
Natty:
Report link

A real-world example of circular reference

const person1 = {
  name: "x",
  age: 28,
};

const person2 = {
  name: "y",
  age: 26,
};

person1.spouse = person2;
person2.spouse = person1;

console.log(JSON.stringify(person1)); // will throw the error
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hypermona

79262307

Date: 2024-12-08 11:09:40
Score: 0.5
Natty:
Report link

I know it's 6 years late, but it's possible now to authenticate the user if they already reside in AWS as an IAM user. Check this official tutorial by the Amazon Web Services channel on youtube.

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

79262299

Date: 2024-12-08 11:04:39
Score: 3.5
Natty:
Report link

A request to the Telegram API was unsuccessful. Error code: 400. Description: Bad Request: message to react not found

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

79262291

Date: 2024-12-08 10:58:37
Score: 0.5
Natty:
Report link

n is guaranteed to be a power of 2, so the two are identical.

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Sören

79262285

Date: 2024-12-08 10:57:37
Score: 1
Natty:
Report link

The callback of ipcMain.handle has two parameters.

You're trying to use the event object as the arguments.

If you don't need to access the event object, use this instead:

ipcMain.handle('run-start', async (_, database) => {
  // YOUR CODE
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dinoscape Dinoscape

79262272

Date: 2024-12-08 10:51:35
Score: 1
Natty:
Report link
  1. Check the accounts permission used for connected app.
  2. you can check the logs on salesforce end as well to get better description.

Seems like you connecting to a dev org, maybe the connected app doesnt have the right permission. If you have a full copy sandbox that could be something you want to look into as well.

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

79262248

Date: 2024-12-08 10:33:31
Score: 2.5
Natty:
Report link

Had the same Problem. Doing npm install @react-navigation/drawer@latest --force fixed it for me.

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

79262247

Date: 2024-12-08 10:32:30
Score: 2
Natty:
Report link

Dependency injection is another way to do it - just passing in something that gives you the time (e.g. a function).

Here are some example tests:


import datetime

from greeter import greet

def test_it_returns_good_morning_before_12():
    def get_time():
        return datetime.datetime(2024, 12, 8, hour=5, minute=0, second=0)

    greeting = greet(get_time)

    assert greeting == "Good morning!"

def test_it_returns_good_afternoon_after_12():
    def get_time():
        return datetime.datetime(2024, 12, 8, hour=14, minute=0, second=0)

    greeting = greet(get_time)

    assert greeting == "Good afternoon!"

The greet function then calls the function it is passed to obtain the time:

def greet(get_time):
    hour = get_time().hour

    if hour < 12:
        return "Good morning!"
    else:
        return "Good afternoon!"

In the production code where I need to use greet, I'd simply pass the function that provides the system time:

greeting = greet(datetime.datetime.now)

I did write a tutorial about this over on python-forum: https://python-forum.io/thread-38222.html. That does include a link to a repo on GitHub with a more complete example (https://github.com/ndc85430/controlling-date-and-time-in-tests).

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): Good afternoon
  • Blacklisted phrase (1): Good morning
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
Posted by: ndc85430

79262243

Date: 2024-12-08 10:30:30
Score: 1
Natty:
Report link

Tested on Xcode 16.2 RC, still has the same error. One workaround is to set the Metal Language Revision to 3.2.

However, this version was introduced with iOS 18, and it's strange that it still works on iOS 17 devices. I don't know if it has any side effects.

Or copy the Xcode 15 framework. However, as the framework is from iOS 17, by doing the steps from @aferriss, you'll lose new iOS 18 Core Image API. I also collect the Xcode 15 files here, so you don't need to download it again.

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @aferriss
  • Low reputation (0.5):
Posted by: Perry Wang

79262230

Date: 2024-12-08 10:21:29
Score: 1
Natty:
Report link

For anyone struggling with IVMS -> MYSQL coennection. Your best bet would be to try Hikcentral instead. Has more options especially on type of data you can correct, support more databases including Postgres and to ice it all, the integration is very straight forward. The base license comes with access control feature installed.

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

79262220

Date: 2024-12-08 10:11:27
Score: 2
Natty:
Report link

OpenAI automatically passes the required parameters to Function calls. You can add hints to descriptions about the parameters, or you can add hints how to get the parameters into your prompts. You can find full working Spring AI function call example here.

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

79262215

Date: 2024-12-08 10:06:26
Score: 1.5
Natty:
Report link

I also used some thing in that line and to solve it try instead and it helped <LoadScriptNext googleMapsApiKey={process.env.NEXT_PUBLIC_GOOGLE_MAPS_API_KEY!} libraries={libs} >

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

79262208

Date: 2024-12-08 10:04:24
Score: 4
Natty: 6.5
Report link

Why do i only see this when im on Restriction or banned on Fedbook? What is big tech doing to our phones with this code?? 👍

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Why do i on
  • Low reputation (1):
Posted by: Bryan Carosi

79262204

Date: 2024-12-08 10:03:24
Score: 1
Natty:
Report link

You can use Spring AI for OpenAI Java integrations. Spring AI provides an OpenAI client. So you don't have to deal with configuration much. You can check an example implementation from this link. Spring AI OpenAI integration example

Reasons:
  • Blacklisted phrase (1): this link
  • Whitelisted phrase (-1.5): You can use
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: nonder

79262202

Date: 2024-12-08 10:00:23
Score: 1
Natty:
Report link

After selecting "goto" for "multiple definitions" setting,

You need to set a keybinding for "editor.gotoNextSymbolFromResult" in Keyboard shortcuts. keyboard shortcut window

Now whenever "goto definition" is used for a symbol with multiple definitions, status bar will show "Symbol 1 of N, ^F12 for next" and you can use the shortcut for cycling through results. Status bar

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Naveen Kumar V C

79262199

Date: 2024-12-08 09:58:23
Score: 1
Natty:
Report link

Here's my walk-through base on @benoit-martins (linphone github) suggestion and it works very well. Thank you!

Walkthrough: Setting Up Linphone SDK for iOS with CocoaPods

Prerequisites

Ensure you have the following installed on your system:


Step-by-Step Guide

1. Clone and Prepare the SDK Repository

  1. Clone the SDK repository to your local machine:
    cd /Users/<YOUR USERNAME>
    git clone https://gitlab.linphone.org/BC/public/linphone-sdk.git
    cd linphone-sdk
    
  2. Update the repository and its submodules:
    git pull
    git submodule update --init --recursive
    

2. Set Up Python Environment

  1. Upgrade pip:
    python3 -m pip install --upgrade pip
    
  2. Create and activate a virtual environment:
    python3 -m venv venv
    source venv/bin/activate
    
  3. Install the required Python modules:
    pip install pystache six
    
  4. Confirm the modules are installed:
    pip list
    

3. Build the iOS SDK

  1. Run the cmake command (inside the activated virtual environment):
    cmake --preset=ios-sdk -G Ninja -B IOS_64_RELEASE \
      -DPYTHON_EXECUTABLE=$(which python3) \
      -DENABLE_PQCRYPTO=YES \
      -DLINPHONESDK_IOS_ARCHS=arm64 \
      -DENABLE_NON_FREE_FEATURES=YES \
      -DENABLE_GPL_THIRD_PARTIES=YES \
      -DENABLE_G729=YES \
      -DCMAKE_CONFIGURATION_TYPES=ReleaseWithDebInfo
    
  2. Build the SDK:
    cmake --build IOS_64_RELEASE --config RelWithDebInfo -j5
    

4. Verify the Build Output

Check if the build output exists at the following path:

/Users/<YOUR USERNAME>/linphone-sdk/IOS_64_RELEASE

The folder should contain the linphone-sdk.podspec file.


5. Configure Your CocoaPods Podfile

  1. Edit your Podfile to include the local build of Linphone SDK:
    platform :ios, '15.6'
    source "https://github.com/CocoaPods/Specs.git"
    
    def basic_pods
      pod 'linphone-sdk', :path => '/Users/<YOUR USERNAME>/linphone-sdk/IOS_64_RELEASE'
    end
    
    target 'MyAppLinphone' do
      use_frameworks!
    
      pod 'SQLite.swift', '~> 0.14.0'
      pod 'ModalPresenter'
      pod "Firebase"
      pod 'Firebase/Core'
      pod 'Firebase/Messaging'
    
      basic_pods
    end
    

6. Install CocoaPods Dependencies

Navigate to your project directory where the Podfile is located and run:

pod upgrade
pod install

7. Test Your Application

Run your app to verify the integration works successfully.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @benoit-martins
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Mr Hery

79262190

Date: 2024-12-08 09:49:21
Score: 0.5
Natty:
Report link

you're not writing your html as you should. you need to insert <li> tags

<ul>
{% for i in df %}    # tried many option here

    <li>{{ i['foo'] }}</li>

{% endfor %}
<ul>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: folen gateis

79262179

Date: 2024-12-08 09:46:20
Score: 1.5
Natty:
Report link

The reason why there is no legend say by default is because the color argument is set out of aes:

geom_line(data=Sandusky8, aes(x=ProperDateTime, y=TKN, color='grey54'))

That being said, you would usually 'plug' it on some variable and tune the color using one of the scale* function.

Here is an example output (with dummy data)

plot with color inside aes()

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

79262174

Date: 2024-12-08 09:44:20
Score: 1.5
Natty:
Report link

As already stated, this might be due to an issue with a printer. It makes absolutely no sense, but it solved the same problem for me.

However, you don't necessarily need to remove any printers. You can also just click one of the generic ones, for instance "Microsoft print to pdf", and make that the standard printer. I was not able to remove the installed printers, but changing the standard printer did the trick.

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

79262170

Date: 2024-12-08 09:43:20
Score: 2.5
Natty:
Report link

OpenAI requires a payment method to be on file even when using free credits. This is a common practice to prevent abuse and ensure uninterrupted access to the service. If you haven't added a payment method, the API may restrict your access, resulting in error codes.

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

79262159

Date: 2024-12-08 09:35:17
Score: 4
Natty: 4
Report link

I also used some thing in that line and to solve it try instead and it helped

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

79262139

Date: 2024-12-08 09:22:14
Score: 1
Natty:
Report link

you can try UPSERT
like

 INSERT INTO TblTest(ID,Name, Address, Mobile)
 VALUES(1, 'XYZ', ' NYC', '102938340')
 ON CONFLICT(ID, Name) 
 DO UPDATE
 SET Address = 'NYC', Mobile='102938340';
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Prinz Piuz

79262138

Date: 2024-12-08 09:22:14
Score: 2.5
Natty:
Report link

Yes, that is usable, but note that if function is redefined, reloaded, or anything (e.g. in module reimport, or, if in python notebook, cell rerun), its address will change, therefore its hash too, so you will get the KeyError. Make sure that in those cases dictionary redefines too.

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

79262130

Date: 2024-12-08 09:14:13
Score: 1.5
Natty:
Report link

I can't comment. So to complete the answer from Niklas B. for kernel-5.15 series

Switch to the root directory of your source tree and run the following commands.

make prepare
make modules SUBDIRS=drivers/the_module_directory
make modules_install SUBDIRS=drivers/the_module_directory

modules_install re-install all drivers. I don't know if it's possible / advisable to just copy your driver.

Tested with rtl8xxxu driver.

Reasons:
  • RegEx Blacklisted phrase (1): can't comment
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: krg

79262126

Date: 2024-12-08 09:05:12
Score: 0.5
Natty:
Report link

If you're using a Pytorch lightning version above v1.8.0, update your import statement

from lightning_fabric.utilities.seed import seed_everything

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

79262125

Date: 2024-12-08 09:04:12
Score: 1
Natty:
Report link

Whilst trying to make a reproduceable example I discovered a .GetAwaiter().GetResult() back in the calling code that seemed to be creating a deadlock only in the scenario I described in my question. Replacing this with an async function solved the issue.

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

79262116

Date: 2024-12-08 08:56:10
Score: 0.5
Natty:
Report link

Key Points: The direction: "ltr" ensures the label's text aligns properly for left-to-right languages. The rules such as &.MuiFormLabel-root:not(.MuiFormLabel-filled):not(.Mui-focused) let you target labels in different states. Make sure you apply ThemeProvider to wrap your app or specific components to apply these styles.

const const theme  = createTheme({ 
 components: {
  ...
  MuiInputLabel:{
  defaultProps:{},
  styleOverrides:{
   root:{
    direction:"ltr",      
    width:"100%",
    textAlign:"end",
    fontSize:20,
    "&.MuiFormLabel-root:not(.MuiFormLabel-filled):not(.Muifocused)":{color:'pink'},
    "&.Mui-focused":{left:30,top:-10},
    "&.MuiFormLabel-filled:not(.Mui-focused)":{left:30, top:-6}
  },
 },
},
},

) in component exmple

const OutLineInputWrap = ({
    inputType,
    label,
    textColor,
    textColorStateFilled,
    textColorStateFocused,
     value 
     ,onChangeHndler
    }:OutLineInputWrapType)=>{
return   (
<FormControl  sx={{ m: 1, }} variant="outlined">
     <InputLabel
   variant='outlined' 
   sx={{
 
    "&.MuiFormLabel-root:not(.MuiFormLabel-filled):not(.Mui-focused)":{color:textColor},//init
    "&.Mui-focused ":{color:textColorStateFocused},
    "&.MuiFormLabel-filled:not(.Mui-focused)":{color:textColorStateFilled},
    }} 
    htmlFor={label}>
        {label}
    </InputLabel>
    <OutlinedInput
        id={label}
        label={label}
        type={inputType}
        value={value}
        onChange={onChangeHndler}
   />
    </FormControl>
    )
}
export default OutLineInputWrap
  type HTMLInputTypes = 
  | "button"
  | "checkbox"
  | "color"
  | "date"
  | "datetime-local"
  | "email"
  | "file"
  | "hidden"
  | "image"
  | "month"
 // | "number"  not valid TS see   https://stackoverflow.com/questions/61070803/how-to-handle-number-input-in-typescript
  | "password"
  | "radio"
  | "range"
  | "reset"
  | "search"
  | "submit"
  | "tel"
  | "text"
  | "time"
  | "url"
  | "week";


interface OutLineInputWrapType {
    inputType?: HTMLInputTypes
    label:string
    textColor?:CSSProperties['color']
    textColorStateFocused?:CSSProperties['color']
    textColorStateFilled?:CSSProperties['color']    
    value:string
    onChangeHndler:ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement>

}
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Almog Zur

79262094

Date: 2024-12-08 08:36:07
Score: 3
Natty:
Report link

check the file system .if you are using the same project name in the same folder, it brings this error.

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

79262092

Date: 2024-12-08 08:35:07
Score: 0.5
Natty:
Report link

OpenMP Synchronization

Atomic Operations

If, as in the example above, our critical section is a single assignment, OpenMP provides a potentially more efficient way of protecting this.

OpenMP provides an atomic directive which, like critical, specifies the next statement must be done by one thread at a time:

#pragma omp atomic global_data++;

Unlike a critical directive:

The statement under the directive can only be a single C assignment statement. It can be of the form: x++, ++x, x-- or --x. It can also be of the form x OP= expression where OP is some binary operator. No other statement is allowed. The motivation for the atomic directive is that some processors provide single instructions for operations such as x++. These are called Fetch-and-add instructions.

As a rule, if your critical section can be done in an atomic directive, it should. It will not be slower, and might be faster.

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

79262088

Date: 2024-12-08 08:32:06
Score: 1.5
Natty:
Report link

just add this code before tag in web/index.html in your project

<script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY"></script>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: shereef hamed

79262064

Date: 2024-12-08 08:18:03
Score: 1.5
Natty:
Report link

Instead of exporting the schema, you can export a function that creates the schema to retain those information:

export const createSignInSchema = () => z.object({
   email: z.string().email(),
   password: z.string().min(6)
})

// usage
const signInSchema = createSignInSchema()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Theo

79262062

Date: 2024-12-08 08:16:02
Score: 2
Natty:
Report link

Getting this error Module not found: Error: Can't resolve 'web-vitals' in 'C:\wamp64\www\reactJs\second-react-app\src'

By using below mention command this error resolved npm install web-vitals

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

79262039

Date: 2024-12-08 07:51:58
Score: 1.5
Natty:
Report link

I deleted my previous question as I couldn't publish the edit, let's hope this does it. So I found two links who seem helpfull: [1stlink][1] [2ndlink][2] Since the question is a litle vague I can only guess that you are using python and MySQL?

import mysql.connector
import pandas as pd

host = 'localhost'  # Replace with your MySQL server's host (e.g., '127.0.0.1')
user = 'your_username'  # Your MySQL username
password = 'your_password'  # Your MySQL password
database = 'your_database'  # MySQL database name

try:
    conn = mysql.connector.connect(
        host=host,
        user=user,
        password=password,
        database=database
    )
    print("Connected to the database successfully!")
    
    # Fetch data
    query = "SELECT * FROM users"  # Replace 'users' with your table name
    db = pd.read_sql_query(query, conn)

    # Convert the data to an Excel file
    db.to_excel('users_data.xlsx', index=False)

    print("Data exported successfully to 'users_data.xlsx'!")
    
except mysql.connector.Error as err:
    print(f"Error: {err}")
    
finally:
    # Close the database connection
    if conn.is_connected():
        conn.close()
        print("MySQL connection closed.")
#If you are running MySQL locally and your MySQL server is configured to allow connections without a password, you can omit the password:

conn = mysql.connector.connect(
    host="localhost",
    user="root",  # Replace the root user with your username
    database="your_database"
)
```


  [1]: https://sqlspreads.com/blog/how-to-export-data-from-sql-server-to-excel/
  [2]: https://blog.n8n.io/export-sql-to-excel/
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Gustavo

79262032

Date: 2024-12-08 07:45:57
Score: 1
Natty:
Report link

The Exec-Shield can no longer be managed via sysctl, it is enabled by default without the option of disabling the feature.
Older systems used the kernel.exec-shield key to manage exec-shield, a value of 1 to enable it and 0 to disable it.
To know if your CPU support NX protection you could do

grep -Fw nx /proc/cpuinfo

and watch for nx in flags.

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

79262031

Date: 2024-12-08 07:45:57
Score: 2
Natty:
Report link

As I remember You cannot show custom popup,

but you can show popup to ask "changes you made may not be saved" by doing:

window.addEventListener('beforeunload', function (event) {
  event.preventDefault();
  event.returnValue = true;
});

example how works

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: もぐもぐぷりん

79262020

Date: 2024-12-08 07:37:54
Score: 5
Natty: 5
Report link

Are the eigenvalues the same? The eigenvectors may be different by a phase, for non-degenerate eigenvalues, or rotated for degenerate eigenvalues. Could you be more specific?

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

79262009

Date: 2024-12-08 07:33:53
Score: 3
Natty:
Report link

download the 2022 build tools for visual studios and the problem will sorted out. click https://visualstudio.microsoft.com/visual-cpp-build-tools/ to download the build tools. once tool is installed: click on the : "desktop development with c++" icon

and click the install button once installing is done. write the command in terminal: pip install nes-py

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

79262008

Date: 2024-12-08 07:31:52
Score: 6.5 🚩
Natty: 5.5
Report link

Did you overcame your issue yet?

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: explorateur

79261996

Date: 2024-12-08 07:15:49
Score: 3
Natty:
Report link

According to this https://numpy.org/install/ Just do:

pip install numpy
Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: もぐもぐぷりん

79261994

Date: 2024-12-08 07:13:48
Score: 1
Natty:
Report link

Well, I did a litle search: first_site second_site So by the question I can only guess that you are using mysql so with python? If so, you can do it with pandas module

import sqlite3

# Connect to the database
conn = sqlite3.connect('example.db')

query = "SELECT * FROM users"
db = pd.read_sql_query(query, conn)

# This is the line of code you will be using to connect to the database
db.to_excel('users_data.xlsx', index=False)

conn.close()

# litle message at the end
print("Data exported successfully!")
Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Gustavo

79261991

Date: 2024-12-08 07:10:48
Score: 2
Natty:
Report link

import java.util*; public class crashing { static public void main(String ...args) { int x = new int[100000000000000000000000000000000000000];

}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Filler text (0.5): 00000000000000000000000000000000000000
  • Low reputation (1):
Posted by: Suresh Kumar Sekhamuri

79261986

Date: 2024-12-08 07:06:46
Score: 8.5 🚩
Natty: 4.5
Report link

I am also trying to do the similar thing but no solutions so far. Were you able to resolve this issue by any chance?

Reasons:
  • RegEx Blacklisted phrase (3): Were you able
  • RegEx Blacklisted phrase (1): solve this issue by any chance?
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Yashi Goyal

79261979

Date: 2024-12-08 07:01:42
Score: 8.5 🚩
Natty: 5
Report link

thank you, but that is not such a good advice, since it will be overwritten with the next update. any other suggestions? ... since accessibility checkers always complain about this... thanks in advance for better solutions!

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (0.5): thanks
  • RegEx Blacklisted phrase (3): thanks in advance
  • RegEx Blacklisted phrase (2): any other suggestions?
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Martina Bartik

79261962

Date: 2024-12-08 06:49:39
Score: 3
Natty:
Report link
issue 100% resolve
The issue with Laravel Sanctum returning an unauthorized error can occur because the Authorization header is not correctly passed through to the application when using Apache. Adding specific rules to your .htaccess file can ensure the header is properly handled.
        .htaccess file added
        # Ensure the Authorization header is passed to PHP
        RewriteCond %{HTTP:Authorization} ^(.+)$
        RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
        
        please any help contact email : [email protected]
Reasons:
  • Blacklisted phrase (1): any help
  • Blacklisted phrase (2): please any help
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: bharat kadachha

79261961

Date: 2024-12-08 06:49:39
Score: 1.5
Natty:
Report link

To apply the generated migration files use prisma migrate deploy, or to push schema changes to db directly (for dev) prisma db push

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

79261955

Date: 2024-12-08 06:40:38
Score: 0.5
Natty:
Report link

Make sure your getStaticProps, getStatiPaths, etc. are working correctly.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Mayank Kumar Chaudhari

79261953

Date: 2024-12-08 06:37:37
Score: 4
Natty: 4.5
Report link

The & nesting selector became available in browsers in December 2023: https://developer.mozilla.org/en-US/docs/Web/CSS/Nesting_selector.

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

79261951

Date: 2024-12-08 06:33:36
Score: 0.5
Natty:
Report link

I dont think your question is any different with this one: How to check for palindrome using Python logic

,but here is my answer: You have to reverse the string and check if the original one is the same as reversed one:

def is_palindrome(txt: str) -> bool: # Takes a string and returns a boolean
    reversed_txt: str = txt[::-1]
    return txt == reversed_txt

here is an example usage:

print(is_palindrome("12321")) # True
print(is_palindrome("racecar")) # True

Now you just need to find a way to remove extra charechters ("space" "," "." '!" "?" and etc)

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

79261947

Date: 2024-12-08 06:22:34
Score: 3
Natty:
Report link

please can you Take the futurestrong text And emphasized text Screenshot of

Can you please attached PDF

strong text

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

79261946

Date: 2024-12-08 06:22:34
Score: 1
Natty:
Report link

This one is concise: (bigint(.pow 10M 1002)) for a BigInt

or (.pow 10M 1002) for a BigDecimal

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

79261945

Date: 2024-12-08 06:20:34
Score: 3.5
Natty:
Report link

Could this be related to React's strict mode in development?

Yes this is what happens when you have your App wrapped in <React.StrictMode>. Most likely in the Index.js

Here is a link explaining more : https://stackoverflow.com/a/61897567/15474532

How can I ensure the useEffect runs only once as intended? Any insights or suggestions would be greatly appreciated!

Remove strict mode. There are some reasons why you would want to keep it. I personally remove it

Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (0.5): How can I
  • Blacklisted phrase (1): stackoverflow
  • No code block (0.5):
  • Contains question mark (0.5):
Posted by: Ryan Zeelie

79261942

Date: 2024-12-08 06:12:32
Score: 4.5
Natty: 5.5
Report link

i have already installed pytz. when i,m run its showing ModuleNotFoundError: No module named 'pytz' . Also my repo and vps same time zone. what can i do for that?

Ubuntu 22.04.5 LTS (GNU/Linux 5.15.0-25-generic x86_64) Python 3.10.12

Reasons:
  • Blacklisted phrase (1): can i do
  • Blacklisted phrase (1): what can i do
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: adgtiktok

79261941

Date: 2024-12-08 06:12:31
Score: 4
Natty:
Report link

there is project at Github https://github.com/buresu/ndi-python that shows how to read NDI in Python

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

79261936

Date: 2024-12-08 06:03:29
Score: 3.5
Natty:
Report link

My issue was solved by this: https://discuss.huggingface.co/t/valueerror-target-size-torch-size-8-must-be-the-same-as-input-size-torch-size-8-8/12133/10

You need to keep the label as integers.

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

79261923

Date: 2024-12-08 05:53:27
Score: 1
Natty:
Report link

This works for web and application fields.

import pyperclip
import keyboard
pyperclip.copy("testing")
keyboard.send('ctrl+v')
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: dave.zap

79261920

Date: 2024-12-08 05:53:27
Score: 3.5
Natty:
Report link

In your output, the Command executed: shows correct substitution of the files coming from output channels of STAR_ALIGN_CONTROL & STAR_ALIGN_TREATMENT.

So it seems that might not be the issue. Can you provide the contents of the work directory of DESEQ process? If the files are present in the work dir, it might be unrelated to channels passing the files incorrectly and might be Rscript problem.

  Error: object 'Control' not found
  Execution halted
Reasons:
  • RegEx Blacklisted phrase (2.5): Can you provide
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Atharva Tikhe

79261916

Date: 2024-12-08 05:47:26
Score: 2
Natty:
Report link

This is because backtesting.py takes in a vector for result. Therefore, if your indicator is returning more than 1 vector, then you should modify it. I realised this when i was using pandas-ta, and a dataframe was returned. so it just takes the last column as a series (aka vector)

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