79409952

Date: 2025-02-03 20:37:18
Score: 2
Natty:
Report link

Since your enemies are following the player, you can find which direction they are going by substracting Player's position from Enemy's position. Then you can decide which animation to play just like you did on your if-else statements.

Vector2 facingDirection = new Vector2(player.transform.position.x - enemy.transform.position.x,
     player.transform.position.z - enemy.transform.position.z);

if(facingDirection.x > 0 && facingDirection.y > 0) {
   ...
}
if else(facingDirection.x < 0 && facingDirection.y) {
   ...
}
...

We used transform.x and transform.z of player and enemy because your game is in 3d world and we dont want to go up (y axis is up).

If you didnt understood why we substracted positions I recommend you this video

https://www.youtube.com/watch?v=sYf4bSj9j2w

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

79409950

Date: 2025-02-03 20:35:18
Score: 0.5
Natty:
Report link

Most upvoted solution already gave an answer on how to fix if you still decided to use import.meta.env.

If you don't have to use import.meta.env, you can manually set window.env = { key: process.env[key] } during SSR. This would make the value available when loaded on client, effectively mimic import.meta.env.

An advantage of this is that the Docker user doesn't have to rebuild the image. They can just run the container (with prebuilt image) with their .env file, and the process described above will load it properly.

Reasons:
  • Blacklisted phrase (0.5): upvote
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Trí Nguyễn

79409947

Date: 2025-02-03 20:33:18
Score: 1
Natty:
Report link

There is no way to view any metadata whatsoever of a YouTube video as it's already preprocessed on the server after uploading and all information regarding the video's origin is removed. The video is streamed to your machine in separate parts and your browsers reconstructs it. YouTube video downloaders utilize this to be able to download videos as complete files.

You can however get the publish time and many other properties of the video using the YouTube Data API

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

79409941

Date: 2025-02-03 20:30:17
Score: 0.5
Natty:
Report link

It looks like there is no sort pipeline feature as of today, but there is an 'fly order-pipelines' command which can be used to specify the order for each pipeline.

According to the concourse documentation:

"Note that this command only ensures that the given pipelines are in the given order. If there are other pipelines that you haven't included in the command, they may appear in-between, before, or after the given set."

ex: fly --target target_name order-pipelines --pipeline pipeline_01 --pipeline pipeline_02
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Biju Gopinathan

79409931

Date: 2025-02-03 20:27:17
Score: 3
Natty:
Report link

PHPWord Document might document may be corrupted due to some unwanted characters while creation. For this you should analyze the data as well as object before sending it for download or creation. It can be occured due to ! or , or something else. For reference you can see this article https://www.programmingmindset.com/post/laravel-phpoffice-phpword-download-doc-file

Reasons:
  • Blacklisted phrase (1): this article
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Ariful Islam

79409925

Date: 2025-02-03 20:25:16
Score: 5
Natty: 7
Report link

Thank you thank you thank you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): thank you
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Machiel van Rheenen

79409922

Date: 2025-02-03 20:24:15
Score: 5
Natty:
Report link

The rs.Fields(7).Value works perfectly, thx!

Reasons:
  • Blacklisted phrase (1): thx
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Don Quixote

79409919

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

Ok I found my problem. I've made 2 instances of axios:

Conclusion: The first instance of axios must also have the withCredentials option!

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: caden.king

79409911

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

Did you check your cors.php file? It's in config directory of your project.

<?php

return [

    /*
    |--------------------------------------------------------------------------
    | Cross-Origin Resource Sharing (CORS) Configuration
    |--------------------------------------------------------------------------
    |
    | Here you may configure your settings for cross-origin resource sharing
    | or "CORS". This determines what cross-origin operations may execute
    | in web browsers. You are free to adjust these settings as needed.
    |
    | To learn more: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
    |
    */

    'paths' => ['api/*', 'sanctum/csrf-cookie'],

    'allowed_methods' => ['*'],  // Allows all HTTP methods

    'allowed_origins' => ['http://localhost:5173'],  // Allows requests from your front-end origin or set * for testing

    'allowed_origins_patterns' => [],  // No specific patterns

    'allowed_headers' => ['*'],  // Allows all headers

    'exposed_headers' => [],  // No specific headers exposed

    'max_age' => 0,  // No maximum age for preflight requests

    'supports_credentials' => false,  // Whether credentials are supported
];

and remove fruitcake/laravel-cors

and try php artisan optimize:clear

make sure your API routes prefix is in 'paths' => ['api/*', 'sanctum/csrf-cookie']

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Mohammad Salehnia

79409902

Date: 2025-02-03 20:17:13
Score: 1.5
Natty:
Report link

Odoo.sh does not provide any way to set environment variables. There are two existing environment variables:

ODOO_STAGE (prod vs staging vs dev)

ODOO_VERSION (16.0 vs 17.0 vs 18.0)

See the FAQ for details: https://www.odoo.sh/faq?q=ODOO_STAGE

If you are using libraries or third party apps that depend on a given environment variable we recommend the system parameter approach.

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

79409897

Date: 2025-02-03 20:15:12
Score: 1
Natty:
Report link

The accepted answer is correct.

Don't know what problems everyone else is having, but the non-functioning power button prompted me to eventually search to this page.

Here are the effects on RAM of starting, and closing the emulator in 2025:

enter image description here

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

79409890

Date: 2025-02-03 20:12:11
Score: 0.5
Natty:
Report link

You state that @MainActor is not an option here, without further explanation. So without understanding the rest of your project, I can suggest that it might be that class Foo should really be actor Foo in a fully compliant Swift Concurrency world.

The overall issue you are having seems to be that you are trying to pass around an instance of Foo on which you wish to call async methods, without supplying any guarantees to the compiler about that class' data race safety.

If it cannot or should not run as @MainActor, the same guarantee can be given either by making it an actor itself or by taking data safety entirely into your own hands and marking it as @unchecked Sendable, which will get the compiler off your back for better and for worse.

Either of these changes will make the code you have given here compile, however it's impossible to comment on the effect of the changes on the rest of your code.

actor Foo: NSObject {
    // maintains compiler-level data race safety enforcement
}

or...

class Foo: NSObject, @unchecked Sendable {
   // promises the compiler data race safety...
   // ...but removes its ability to enforce this
}
Reasons:
  • Blacklisted phrase (1): to comment
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: drseg

79409885

Date: 2025-02-03 20:10:10
Score: 4
Natty:
Report link

Ok so I was looking it up and when I use ref instead of like getelementbyid it did work.

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

79409879

Date: 2025-02-03 20:06:10
Score: 1.5
Natty:
Report link

You want rs.Fields(7).Value which is a string, not rs(7) which is a field.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Bart McEndree

79409865

Date: 2025-02-03 19:58:08
Score: 1.5
Natty:
Report link

Something similar to what @rchang wrote; you could override the default for the write() method with with super

import configparser

class CustomConfigParser(configparser.ConfigParser):
    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)

    def write(self, fp, space_around_delimiters = False):
        return super().write(fp, space_around_delimiters)

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @rchang
  • Low reputation (1):
Posted by: BaconInTheRough

79409860

Date: 2025-02-03 19:54:07
Score: 1.5
Natty:
Report link

The Pixel 9 Pro Fold does not support 16KB page mode in Android 15/16 betas. This is intentional, likely due to hardware limitations specific to its foldable design (memory architecture/thermal constraints).

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

79409851

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

For me, I am using ODATA endpoints. I was filtering data on a calculated field that exists in the ViewModel, but not in the data model, or the actual table.

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

79409850

Date: 2025-02-03 19:49:06
Score: 2
Natty:
Report link

I have found out that if I removed the signing type from the authentication sub key (which was enabled for authentication and signing) it starts to work... I have no idea why git/gpg choses to use the sub key instead of the master key and why using the sub key doesn't work.

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

79409849

Date: 2025-02-03 19:48:06
Score: 2
Natty:
Report link

I have figured out a way (from the KeyCloak side at least) on how to do this.

KeyCloak config

Within Keycloak I have two main tenants to use:

To achieve the desired role structure I am using a combination of client roles and user groups. For each store:

  1. Create a client for that represents that store (don't need to assign authentication flows)
    • Create the roles at that store as Client Roles
  2. Create a group for that store with sub-groups that represent the groups
    • Configure the role mapping from the client roles to that group role
    • Assign the users for that role
  3. Ensure that the public client maps the client roles

This will produce a JWT that has the role at each store associated with the user.

.NET config

Once the user has logged in through the Keycloak provider:

With regards to the Blazor WASM side, that is something I am trying to work out now.

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

79409832

Date: 2025-02-03 19:40:04
Score: 3.5
Natty:
Report link

If still relevant to you, the current code might be helpful to you.

https://github.com/jlmacle/changemakers-matching_testing

Best of perseverance.

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

79409831

Date: 2025-02-03 19:40:04
Score: 2
Natty:
Report link

Look at your ListNode class. Notice each node has its own value and a next value, but not a previous value. When you change the value of 1's next node, you're not changing any value of node 2.

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

79409818

Date: 2025-02-03 19:34:02
Score: 3.5
Natty:
Report link

I went to python no help here or on GitHub of this package.

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

79409808

Date: 2025-02-03 19:31:01
Score: 0.5
Natty:
Report link

You'll have to calculate the aspect ratio of the image, and pass it into the options object:

const result = await ImagePicker.launchCameraAsync({
    allowsEditing: true,
    quality: 0.1,
    aspect: [16, 9] // pass calculated aspect ratio here
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Chibuokem Onyekwelu

79409794

Date: 2025-02-03 19:23:59
Score: 4.5
Natty: 3.5
Report link

did you launch your program? I try to do the same, but it didn't work

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (1):
Posted by: den7778

79409792

Date: 2025-02-03 19:23:59
Score: 2.5
Natty:
Report link

Never use the B option of answer (5).

There are many people using their desktop computer making phone calls, like I do.

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

79409790

Date: 2025-02-03 19:22:59
Score: 1
Natty:
Report link

I found a solution in the discord chat, but it not definitive

Update your composer.json to require v3.5.12

"livewire/livewire": "3.5.12"

And run a composer update for livewire composer update livewire/livewire

Once you’re back on v3.5.12, everything will be okay.

PS: This is not a definitive

Discord link:

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

79409786

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

You will need to update primereact to a React 19 compatible version.

npm i primereact@latest

For context: Primereact probably uses fordwardRef to wrap some internal components. Refs can now be passed as a regular prop instead. The fordwardRef function will be removed in a future release.

https://react.dev/blog/2024/12/05/react-19#ref-as-a-prop

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

79409779

Date: 2025-02-03 19:16:58
Score: 3
Natty:
Report link

You can take the analogous Heart Rate Sensor data devised from electromagnetic sensor coils and read that fluctuating data into memory, then re--create this signal data by outputting the current stream onto the display.

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

79409776

Date: 2025-02-03 19:15:57
Score: 4
Natty:
Report link

Just going off of the documentation of the livecharts library, but have you tried binding to an ObservableCollection of ICartesianSeries rather than an ObservableCollection of ISeries?

https://livecharts.dev/docs/Eto/2.0.0-rc2/CartesianChart.Cartesian%20chart%20control#cartesian-chart-control

Reasons:
  • Whitelisted phrase (-1): have you tried
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Dave

79409775

Date: 2025-02-03 19:15:57
Score: 2
Natty:
Report link

As the error mentions, laravel cannot find the target class "UserService" in the said directory. You should check the directory where this class is placed and confirm the namespace in the UserService class is pointing correctly to the right directory and called accurately.

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

79409773

Date: 2025-02-03 19:14:57
Score: 0.5
Natty:
Report link

In present time I'd recommend prisma-class-generator lib which is also listed on Prisma's docs site for generators here. It does the same job, as it's description promises > Generates classes from your Prisma Schema that can be used as DTO, Swagger Response, TypeGraphQL and so on.

Note, my old go to choice wasprisma-generator-nestjs-dto which is also listed on Prisma's docs site.

However it was archived on Jan 5th, 2025 as it was looking for maintainers.

Reasons:
  • No code block (0.5):
Posted by: Zoltan Rakottyai

79409762

Date: 2025-02-03 19:07:55
Score: 1
Natty:
Report link

use coerce_numbers_to_str option

class Model(BaseModel):
    a: str
    model_config = ConfigDict(coerce_numbers_to_str=True)

model1 = Model(a=1)
model2 = Model(a=1.1)

when use coerce_numbers_to_str, pydantic will allow field a accept a numeric valuse(including integer), validate integer to str

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

79409751

Date: 2025-02-03 19:02:53
Score: 5
Natty:
Report link

This is not a SMTP error. Are you using an Exchange Online mailbox or Outlook.com/hotmail.com?

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

79409740

Date: 2025-02-03 18:57:52
Score: 1
Natty:
Report link
using var stream = await _graphClient.Drives[driveId].Root.ItemWithPath(filePath).Content.GetAsync();
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: Joe

79409731

Date: 2025-02-03 18:54:51
Score: 0.5
Natty:
Report link

Not shure if it has already been told in the answers but imo it would be:

File my_file = new File("filename");
// Get the number of mbs
long size = my_file.length() / ((1024 * 1024))

;

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

79409728

Date: 2025-02-03 18:52:51
Score: 2.5
Natty:
Report link

I ran into the same error and fixed it by deleting that JUnit entry in Run Configurations and subsequent run was successful.

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

79409722

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

It looks like the API has been deprecated. People are discussing the same issue on their community forum.

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

79409720

Date: 2025-02-03 18:47:49
Score: 7.5 🚩
Natty: 2.5
Report link

I have the same issue on this website

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

79409716

Date: 2025-02-03 18:45:48
Score: 1
Natty:
Report link

I had the same problem. I just changed the reading settings on wordpress You should check if your homepage is set to display "Your latest posts" or a static page. If it's a static page, make sure the blog page is set correctly under "Posts page".

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Thamis Jimenez

79409704

Date: 2025-02-03 18:39:46
Score: 9.5 🚩
Natty: 5.5
Report link

UwU i am really sigma, so I want my tab colour to be dark red because it is my fav colourrr but like for sum reason it got muted and its a weird maroon-y colour and i dont like it. how to fix ??????????????????????????????????????????????????????????????????????????????????????

Reasons:
  • Blacklisted phrase (1): ???
  • RegEx Blacklisted phrase (1.5): how to fix ??????????????????????????????????????????????????????????????????????????????????????
  • RegEx Blacklisted phrase (1): I want
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Filler text (0.5): ??????????????????????????????????????????????????????????????????????????????????????
  • Low reputation (1):
Posted by: uwu

79409701

Date: 2025-02-03 18:36:45
Score: 2.5
Natty:
Report link

Anwsering my own question...

We found that in fact, the build pipeline wasn't doing the job correctly letting assets/pages untouched while code-behind files were built into the DLL. Resulting that referencing newly added aspx server control elements was giving null pointer exceptions.

Sorry about that!

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

79409695

Date: 2025-02-03 18:35:44
Score: 1
Natty:
Report link

From MUI V7 pass slotProps as props InputLabelProps is depreciated

slotProps={{ inputLabel: { shrink: true } }} 
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Akilesh

79409687

Date: 2025-02-03 18:32:44
Score: 1
Natty:
Report link

After a many attempts at solving the problem, my last resort was using a cloned project of the same library inside another repository: Add this to build.gradle (app)

    implementation 'fr.avianey.com.viewpagerindicator:library:2.4.1.1@aar'

Add this to build.gradle (module)

        mavenCentral()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Hassaan J.

79409680

Date: 2025-02-03 18:29:43
Score: 2
Natty:
Report link

What was going wrong was: First the buttons didn't have the class swiper-button-next/prev in them, I thought the js would automatically put the corret styling.

Then when I modified the classes to the way they should be, the arrows were in a completely random position, not related to the swiper container, then I just needed to add position: relative to the swiper parent container. Then everything went fine. Thanks for the answers!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): What was
  • Low reputation (1):
Posted by: lucastheiss

79409671

Date: 2025-02-03 18:26:42
Score: 1
Natty:
Report link

I had the same issue because of an existing file named openai.py in the project. Removing that file has fixed the issue.

OpenAI package version : 1.61.0

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Samy Lstmn

79409664

Date: 2025-02-03 18:23:40
Score: 6 🚩
Natty:
Report link

Please see this link for help: https://github.com/aspnet/CORS/blob/master/src/Microsoft.AspNetCore.Cors/Infrastructure/CorsService.cs#L104

The method EvaluatePolicy returns an intermediate CorsResult that indicates the necessary action to take (which headers to set, whether to respond to an identified preflight request). Apply result is then used to apply these changes to the HttpResponse. This intermediate CorsResult checks for the request origin header and evaluates to either true or false.

See this link for when the browsers set the origin header: When do browsers send the Origin header? When do browsers set the origin to null?

Reasons:
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): see this link
  • RegEx Blacklisted phrase (1): See this link
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: SoftwareDveloper

79409663

Date: 2025-02-03 18:23:40
Score: 1.5
Natty:
Report link

So I solve the issue by installing Vite with Nuxt3 and Deno v2.1 and doing the install through the deno install

deno install npm:three
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jet Set Video

79409655

Date: 2025-02-03 18:19:39
Score: 0.5
Natty:
Report link

It's mentioned in the migration guide for v8.0.0.

Change MudDialogInstance to IMudDialogInstance.

It's a good idea to check for breaking changes whenever you upgrade major versions.


semantic version numbers semantic version numbers

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

79409654

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

Seems a very simple change can fix this. Dependeing on your global state just use the existence of auth token to check if the user is logged it in the layout file.

If token exists, show logged in users' nav else show default nav

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

79409652

Date: 2025-02-03 18:17:38
Score: 2
Natty:
Report link

Below is my utility function for destroying the cloudinary resources and the splitter URL which I have got from the DB but I am unable to delete the videos, only images get deleted even I have specified the resource type as well.

Function

    const deletefromCloudinary = async (url) => {
    try {
        const splitURL = url.split("/");
        console.log("Split URL:", splitURL);

        // Extract the public ID with the correct filename format
        let publicId = splitURL.slice(7).join("/");

        // Remove extra Cloudinary-generated extensions (like `.webp`)
        publicId = publicId.replace(/\.(jpg|jpeg|png|webp|gif|mp4|mov|avi|mkv)$/, "");

        console.log("Corrected Public ID:", publicId, {resource_type: `${splitURL[4]}`});

        // Use the correct delete method
        const deleteResponse = await cloudinary.uploader.destroy(publicId);

        console.log("Delete Response:", deleteResponse);
        return deleteResponse;
    } catch (error) {
        throw new Apierror(404, `No resource found for ${url} to delete`);
    }
};

Splitted URL

Split URL: [
  'http:',
  '',
  'res.cloudinary.com',
  'my-cloudinary',
  'image',
  'upload',
  'v1738605970',
  'youtube',
  'youtube',
  '1c3302f1145a4ca991633129c15264c7.png.webp'
]

The uploader

const response = await cloudinary.uploader.upload(localfilepath, {
            resource_type: "auto",
            use_filename: true,
            public_id: `youtube/${filename}`,
            folder: "youtube",
            overwrite: true,
            chunk_size: 6000000
        })

I am unable to figure out why I cannot delete the video files

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • RegEx Blacklisted phrase (2): even I have
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Muhammad Qasim Nauman

79409650

Date: 2025-02-03 18:15:37
Score: 1
Natty:
Report link

The other solution posted here did not work for me because the =WEEKDAY(A1,x)=1 function only allows x to be number 1 to 4 instead of 1 to 7

Example: 10 rows; Column A is the Date, Column B is Number Assigned to the Day of Week Number, Column C is the number you want averaged based on day of week.

Create new column (B) to assign a number for each day of the week.

    B
=WEEKDAY(A1)
=WEEKDAY(A2)
=WEEKDAY(A3)
   etc...

Sunday = 1, Monday = 2, Tuesday = 3, etc.

Then use the AVERAGEIF function for each day of the week.

Sunday

=AVERAGEIF(B1:B10,"1",C1:C10)

Monday

=AVERAGEIF(B1:B10,"2",C1:C10)

Tuesday

=AVERAGEIF(B1:B10,"3",C1:C10)

etc.

This solution only requires you to add one additional column for numeric value of the day of the week.

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

79409643

Date: 2025-02-03 18:12:37
Score: 1
Natty:
Report link
Dim pptApp As Object
Dim pptPres As Object
Dim slideIndex As Integer

' Create a new PowerPoint application
Set pptApp = CreateObject("PowerPoint.Application")
pptApp.Visible = True

' Create a new
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Juliana Haddadin

79409639

Date: 2025-02-03 18:10:34
Score: 6.5 🚩
Natty:
Report link

Alguém conseguiu resolver esse conflito? Tentei as opções acima e não funcionou!

Reasons:
  • Blacklisted phrase (1): não
  • RegEx Blacklisted phrase (1.5): resolver esse conflito?
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Leonardo Martins

79409633

Date: 2025-02-03 18:09:33
Score: 1
Natty:
Report link

i will add more from my experience

  1. if you are using serverless cloud formation file, check if you deploying packages that are already included in aws env such as boto3 and many more.

  2. improve your code and remove global imports if you are using one function from the package/

  3. search for lite packages like numpy-lite or similar options to reduce size

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

79409627

Date: 2025-02-03 18:06:32
Score: 2
Natty:
Report link

Just update your react native version to "react-native": "0.77.0" and then clean your grade. Is worked for me.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Vishwas Gaur

79409623

Date: 2025-02-03 18:05:32
Score: 2
Natty:
Report link

Managed to resolve it myself. I retrieve data from a gallery, create a collection from specified items. then save json format of this data using JSON function. then sending that saved text in a newly created automated flow. this then is parsed using json parses. Final step is for each item in this json, update item from a sharepoint list with a specified id. anyone needs more info, let me know

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

79409617

Date: 2025-02-03 18:01:31
Score: 2
Natty:
Report link

This is happening because you have Proportional property set to true.

What Proportional property does is it shrinks the image in order to fit the control while maintaining the aspect ration. But if the size of TImage is larger than the dimensions of the picture the picture never gets stretched in order to fit the TImage control.

And since picture position within TImage control is always aligned to top left corner and you are changing the position of your TImage control it seems as the image starts moving in left and up direction.


How to solve this? Instead of setting Proportional property to True set the Stretch property to True.

However you will need to make sure that you adjust the Width and Height of your TImage in order to maintain aspect ratio of the loaded picture. After that your code will work just nicely.

How do you do this? Check the FormCreate event method in the SO answer you got your code from.

Reasons:
  • Blacklisted phrase (1): How do you
  • Blacklisted phrase (1): How to solve
  • RegEx Blacklisted phrase (1.5): How to solve this?
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: SilverWarior

79409616

Date: 2025-02-03 18:00:30
Score: 3.5
Natty:
Report link

Do not confuse build tags with git tags.

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

79409615

Date: 2025-02-03 18:00:30
Score: 1
Natty:
Report link

Look like there is no argument in the CLI to disable the interactive thing progress bar. You could do something dirty like :

ollama pull llama3.2 2>/dev/null

But in case of error in future, you will maybe not like this solution

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

79409603

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

Removed the server and redeployed everything and now its working again.

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

79409596

Date: 2025-02-03 17:47:26
Score: 4.5
Natty:
Report link

You can check out this tutorial here. This article contains information on how to implement access to the gallery, camera, and also the necessary permissions for both Android and iOS. link here

Reasons:
  • Blacklisted phrase (1): This article
  • Blacklisted phrase (1): this tutorial
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Arthur Rodrigues

79409592

Date: 2025-02-03 17:43:24
Score: 2
Natty:
Report link

I encountered this issue, in my case the problem was that I already had a file starting from the same string as the request I wanted to override. I wanted to create an override for "projects" response, but I already had an override for "projects/{id}". Removing the override for "projects/{id}" solved the issue. Stupid, but that's how it works apparently.

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

79409590

Date: 2025-02-03 17:43:24
Score: 0.5
Natty:
Report link

Please have a look

https://material.angular.io/components/progress-bar/styling

You can find the design token in the list

If you are using the material 2 version, you can use the color property. Therefor you should define a theme with you colors.

Information can be found here:

https://material.angular.io/guide/material-2-theming#defining-a-theme

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
Posted by: Thomas Renger

79409589

Date: 2025-02-03 17:42:24
Score: 3.5
Natty:
Report link

From step 3 described above, in the log of your scheduled query, choose the last time you ran with the old code, select edit on the menu that appears on the right:

enter image description here

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

79409588

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

You have to set maxDuration in your vercel.json file. On hobby plan you can set 60s as maximum.

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

79409581

Date: 2025-02-03 17:37:23
Score: 1
Natty:
Report link

In something like Grid3D_Gas_Master_Emitter, look in the Emitter Update section for "Compensate For Actor Motion" and give it a blue check. So if you move the emitter source, it will act more like motion affected it.

There might be some influence of using "localspace" versus System as well -- I think that might be necessary if you put smoke or flame coming out of say a rocket. That's just updating the source of the output, and would not necessarily act like a flame thrower in a dynamic fashion without the Compensate for Actor Motion check.

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

79409578

Date: 2025-02-03 17:35:23
Score: 2
Natty:
Report link
Route::pattern('param', '[a-zA-Z0-9_-]+');

$euDomains = ['domaina.eu', 'domainb.eu', 'domainc.eu'];
$usDomains = ['domaina.com', 'domainb.com', 'domainc.com'];

foreach ($euDomains as $domain) {
   Route::domain($domain)->group(function () {
       Route::get('/somepage/{param}', 'HomeController@somePage');
   });
}

foreach ($usDomains as $domain) {
    Route::domain($domain)->group(function () {
       Route::get('/somepage/{param}', 'HomeController@somePage');
    });
}

Does this help you?

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Hayden Sweet

79409570

Date: 2025-02-03 17:32:22
Score: 3
Natty:
Report link

The Using statement for Visual Studio does not work for unity and you need to add a driver and wrapper class for Unity itself instead of using the Nuget package or other DLL configurations.

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

79409566

Date: 2025-02-03 17:29:21
Score: 3
Natty:
Report link

You can also run the linux commands in windows using the linux subsystem (install linux subsystem, shift right click inside the parent folder and select "Open linux shell here").

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

79409564

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

Since you're on a Google Cloud Free Trial, your quota for SSD storage is limited to 250 GB, while the default GKE cluster requires 300 GB. You need to either:

Option 1: Use Autopilot Mode (Recommended) Autopilot clusters automatically manage resources and fit within the free-tier limits. This avoids storage quota errors.

Steps: 1.Go to Google Cloud Console → Kubernetes Engine.

2.Click Create → Select Autopilot Cluster.

3.Choose a Region (e.g., us-central1).

4.Set a Cluster Name (e.g., my-cluster).

5.Click Create and wait for provisioning.

Option 2: Use Standard Mode with Smaller Disk (Manual Setup) If you must use Standard mode, reduce the node size and disk usage:

Steps: 1.Go to Google Cloud Console → Kubernetes Engine.

2.Click Create → Select Standard Cluster.

3.Set Number of Nodes to 1 (instead of default 3).

4.Choose Machine Type:Select e2-medium (lower resource usage).

5.Under Boot Disk, change:

Click Create. 🔹 Final Steps: Connect to the Cluster

1.Go to Kubernetes Engine → Clusters.

2.Click on your cluster name.

3.Click "Connect" and follow the instructions.

💡 Key Takeaways Autopilot mode is the best option for free-tier users. If using Standard mode, reduce the disk size and switch to HDD storage. Check your quota under IAM & Admin → Quotas to see available resources. Would you like help deploying an application on the cluster after setup? 😊

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

79409559

Date: 2025-02-03 17:27:20
Score: 1
Natty:
Report link

Encountered this, this morning. After reviewing the workflow, seeing no changes for 12 months and having no deployment issues within the same time, I simply canceled and restarted the workflow. It Worked!. Guess Github was just having a Monday.

TL:DR - have you tried turning it off and back on again?

Reasons:
  • Whitelisted phrase (-1): It Worked
  • Whitelisted phrase (-1): have you tried
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
Posted by: jgritten

79409557

Date: 2025-02-03 17:27:20
Score: 1.5
Natty:
Report link

From the question

The problem is that recently Google is requiring to publish forms before using them. I tried to look for some function to use it in GAS but I do not find any. Can anyone tell me a way to publish forms in a script, so I do not have to do it manually?

You are referring to the change announced in Adding granular control options for who can respond to Google Forms.

This announcement does not mention an update or change to the Google Apps Script, and the Google Apps Script release notes do not say anything new related to Google Forms.

Reasons:
  • RegEx Blacklisted phrase (2.5): Can anyone tell me
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-2):
Posted by: Wicket

79409551

Date: 2025-02-03 17:26:20
Score: 0.5
Natty:
Report link

I've just used the dialog plugin to create a dialog. I'm not using the open file but I would like to share a snipped of what I did to open a dialog for Tauri V2 from Rust.

use tauri_plugin_dialog::DialogExt;

#[tauri::command]
fn app_exit (app: AppHandle)
{
    let is_confirmed = app.dialog()
        .message("Confirm quit?")
        .title("Quit")
        .kind(tauri_plugin_dialog::MessageDialogKind::Info)
        .buttons(tauri_plugin_dialog::MessageDialogButtons::YesNo)
        .blocking_show();

    if is_confirmed
    {
        app.exit(0);
    }
}

Link to the documentation if it could be useful:

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

79409550

Date: 2025-02-03 17:25:20
Score: 1
Natty:
Report link

You mean like this?

out

library(ggplot2)
    
df <- data.frame(
  category = c('a', 'b', 'c', 'd', 'e'),
  value1 = c(1.02, -0.34, 2.31,  1.15, 0.68),
  value2 = c(-1.14, 2.19, 0.56,  3.12, 1.17),
  value3 = c(0,     0.19, 3.18, -1.14, 2.12)
)

scale_factor <- diff(range(df$value2)) / diff(range(df$value3))

ggplot(df, aes(x = value1)) +
  geom_line(aes(y = value2, color = "Value 2")) +
  geom_line(aes(y = value3 * scale_factor, color = "Value 3")) +
  scale_y_continuous(
    name = "Value 2",
    sec.axis = sec_axis(~./scale_factor, name = "Value 3")
  ) +
  scale_color_manual(values = c("Value 2" = "blue", "Value 3" = "red")) +
  labs(x = "Value 1", color = "Variables") +
  theme_minimal()
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: dog

79409549

Date: 2025-02-03 17:24:20
Score: 1
Natty:
Report link

If all other methods have failed, you might want to check out the following repository, which supports both local and remote Vulkan GUI rendering:

https://github.com/j3soon/docker-vulkan-runtime

I've tested this on two different clean Ubuntu PCs (both local and remote SSH with X11 forwarding), and it works reliably well.

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

79409542

Date: 2025-02-03 17:22:19
Score: 1
Natty:
Report link

Faced this error compiling php7.4 with openssl 3.0.15. As a workaround just commented out line with usage of this constant from sources, did not get any further issues for now, it seems nobody use it.

Likely in your case it is ossl_pkey_rsa.c:942

Reasons:
  • Whitelisted phrase (-1): in your case
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: fidoman

79409523

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

To get all tenant names with their ids

az rest --method get --url https://management.azure.com/tenants?api-version=2022-12-01 --query "value[].{Name: displayName, TenantID: tenantId}" --output table
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ben

79409516

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

The workaround is don't publish it on the Chrome Extension Store and release it as it is.

Example : https://github.com/Thor110/ChromeExtensions

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

79409505

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

firstly, you have to check the version of both angular and ckeditor which have to 5. then check out the link for smooth running of angular 19 with ckeditor 5. https://ckeditor.com/docs/ckeditor5/latest/updating/nim-migration/predefined-builds.html it should be: npm install ckeditor5

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

79409497

Date: 2025-02-03 17:09:06
Score: 2
Natty:
Report link

Did you already check ConfigSeeder (www.configseeder.com)?

ConfigSeeder can provide configuration data very similar to Spring Config Server (e.g. direct integration for example into spring/spring boot based applications). In addition, it can provide configuration data to different runtime environments - there are different 'connectors' that can:

Disclaimer: I'm one of the ConfigSeeder developers.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Christian

79409492

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

In addition to more liberal control of dependencies when creating functions that do not detect some of the errors of object interdependencies in time but only at startup, and the lack of classic PL/SQL packages such as the Oracle database, rewrite queries when creating Views is one of the most irritating features in the PostgreSQL database. according to my limited 35-year experience in working with databases, there is nothing to justify it.

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

79409478

Date: 2025-02-03 17:01:04
Score: 0.5
Natty:
Report link

Turns out this can also happen in cases when your package doesn't support your solution.

In my case, I had a .NET 8 project:

  <PropertyGroup>
    <TargetFramework>net8.0</TargetFramework>
    <Nullable>enable</Nullable>
    <ImplicitUsings>enable</ImplicitUsings>
  </PropertyGroup>

I was trying to install Microsoft.AspNetCore.Authentication.JwtBearer version 9.0.1, which is only compatible with net9.0.

The solution? Install the 8.0.12 version of the package instead. Problem solved.

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: nightblade9

79409477

Date: 2025-02-03 17:00:03
Score: 4.5
Natty:
Report link

thanks a lot. I just have a little question : if the height of my Virtualize component is 30 pixels by item, and that I ask a scroll of 30*n pixels via a javascript function, will it make an actual scroll of n elements ?

I'm not good in JavaScript : If I ask a scroll for the div that contains the Virtualize, will it work the way I expect ? Thanks for any help, since I'm still on my project :) Gustave

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): any help
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: gustave Robichon

79409473

Date: 2025-02-03 16:59:03
Score: 1
Natty:
Report link

I have figured it out.

On the current stable channel the prisma-engines is in version 5.22. My @prisma/client was in version 6.1.0. This mismatch causes issues with prisma client. Downgrading to 5.22, removing package-lock.json and node_modules and installing everything again (inside the developement repository) worked.

For anyone curious, at the time of wiritng, latest unstable prisma-engines is in version 6.0.1.

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

79409470

Date: 2025-02-03 16:58:03
Score: 3
Natty:
Report link

ensure that "index" is properly recognized in f.getProperty("index"). You might need to check if the property exists or debug by logging all available properties in f to confirm.

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

79409468

Date: 2025-02-03 16:58:02
Score: 4
Natty: 4
Report link

@ Timothy Rylatt

This person is just trying to be helpful however you had to comment something negative. Honestly, if you have nothing nice to say do not say it

Reasons:
  • Blacklisted phrase (1): to comment
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Pearl Patel

79409464

Date: 2025-02-03 16:55:01
Score: 1
Natty:
Report link

I found a solution for this use relative path

-    <script type="module" crossorigin src="/assets/index-BbwXgWnI.js"></script>
-    <link rel="stylesheet" crossorigin href="/assets/index-D9dz9LQE.css">
+    <script type="module" crossorigin src="assets/index-BbwXgWnI.js"></script>
+    <link rel="stylesheet" crossorigin href="assets/index-D9dz9LQE.css">

here is a similar question github pages and relative paths, but I think this question is out of date. Github Page can solve relative paths successfully. without any additional configuration.

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

79409463

Date: 2025-02-03 16:55:01
Score: 2
Natty:
Report link

In my case i just change the <> to <div> and error fixed.

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

79409462

Date: 2025-02-03 16:55:01
Score: 3.5
Natty:
Report link

The Google Maps/Navigation SDK isn't currently supported on Android Automotive OS Cars with Google built-in, so that may be part of the issue.

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

79409457

Date: 2025-02-03 16:51:00
Score: 0.5
Natty:
Report link

For this method, both monitors need to be using the same type of cable (DP, HDMI, etc.).

  1. Power on the PC.
  2. Disconnect both cables from the PC.
  3. Reconnect the cable that you want to be Monitor 1, in the port where the previous Monitor 1 was.
  4. Reconnect the other cable in the other port.

I had the same issue. I don't know if this works with a dock, but it works if connected directly to the graphics card with Windows 10/Nvidia graphics/DisplayPort.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • No code block (0.5):
  • Low reputation (1):
Posted by: Colos Nihili

79409448

Date: 2025-02-03 16:48:00
Score: 2
Natty:
Report link

I can not comment on ´N. Kaufman´ right away, because of my reputation, but I figured a way out to login using your browser auto-login system. It is just entering the username, then TAB to the password section to let your browser auto-fill the password while waiting 2 seconds for the auto-fill to then enter. In this case you also prevent others from stealing your password out of your file and the grandma do not need to bother loosing the file, because of your browsers cloud safe.

@if (@CodeSection == @Batch) @then


@echo off

rem Use %SendKeys% to send keys to the keyboard buffer
set SendKeys=CScript //nologo //E:JScript "%~F0"
START FIREFOX "URL"
rem the script only works if the application in question is the active window. Set a 
timer to wait for it to load!
timeout /t 10
rem use the tab key to move the cursor to the login and password inputs. Most htmls 
interact nicely with the tab key being pressed to access quick links.
rem %SendKeys% "{TAB}"
rem now you can have it send the actual username/password to input box
%SendKeys%  "{TAB}"
%SendKeys%  "{TAB}"
%SendKeys%  "USERNAME"
%SendKeys%  "{TAB}"
timeout /t 2
%SendKeys%  "{ENTER}"


goto :EOF

@end
// JScript section

var WshShell = WScript.CreateObject("WScript.Shell");
WshShell.SendKeys(WScript.Arguments(0));
Reasons:
  • RegEx Blacklisted phrase (1): can not comment
  • RegEx Blacklisted phrase (1.5): reputation
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: PAARTHURNAX

79409447

Date: 2025-02-03 16:48:00
Score: 2
Natty:
Report link

In my case, the solution was to add:

await page.waitForNavigation();
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: LucBerge

79409445

Date: 2025-02-03 16:46:59
Score: 0.5
Natty:
Report link

I am not sure that will help but. If it's beeping, your loop is still running for sure. However, What does not loop is your button 2 handler. So in order, to make your loop stop you need to press on button12.

Furthermore, there is a double equal sign (==) at line 19. This can also explain what happens.

I hope it helped !

Reasons:
  • Whitelisted phrase (-1): hope it help
  • No code block (0.5):
  • Low reputation (1):
Posted by: InsulinJunkie

79409440

Date: 2025-02-03 16:45:58
Score: 7 🚩
Natty: 5
Report link

Bro U forgot save file , I have same problem just go in css file and click ctrl + s <3

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

79409435

Date: 2025-02-03 16:44:57
Score: 3.5
Natty:
Report link

Colour prediction server hack

*emphasized text

Blockquote

  1. List item## Heading ##
Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Vallarasu

79409422

Date: 2025-02-03 16:41:56
Score: 2.5
Natty:
Report link

See comment on similar question here

Perhaps Git Submodules could be applied.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Scott C.

79409404

Date: 2025-02-03 16:35:55
Score: 2
Natty:
Report link

I believe the HTTP Image Filter is a dynamic module that should be enabled during NGINX compilation using the --with-http_image_filter_module=dynamic flag.

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

79409399

Date: 2025-02-03 16:34:54
Score: 1
Natty:
Report link

You can just check if any of the characters is the character you are looking for. Since you are looking for the character value of 0x200D (or 8205 in decimal) you can go like this:

static bool IsNeeded(string input)
{

    return input.Any(c => c == 0x200D);
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Lucas Sander

79409398

Date: 2025-02-03 16:33:54
Score: 1.5
Natty:
Report link

Clerk employee here!

When you call mountSignIn() to mount the <SignIn /> component, you can pass an optional props parameter: https://clerk.com/docs/components/authentication/sign-in#mount-sign-in

One of those props is forceRedirectUrl: https://clerk.com/docs/components/authentication/sign-in#properties:~:text=Name-,forceRedirectUrl,-%3F

Once you've configured this, when a user uses the <SignIn /> component to sign in, they will be redirected to whatever URL you passed to forceRedirectUrl.

Example:

mountSignIn({ forceRedirectUrl: `/dashboard` })
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: alexisintech

79409394

Date: 2025-02-03 16:32:54
Score: 1.5
Natty:
Report link

i am changed setting graphics to hardware from software and it worked for me +

Reasons:
  • Whitelisted phrase (-1): it worked
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sainath Patil