79243684

Date: 2024-12-02 10:33:54
Score: 2
Natty:
Report link
  1. Open new finder window.
  2. Select "Applications".
  3. Find "weka-x.y.z" and right-click on it.
  4. Select the third option "Show Package Contents".
  5. Select the folder named "Contents".
  6. Select the folder named "app".
  7. Select the folder named "data".
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Arsalan Jabbari

79243669

Date: 2024-12-02 10:26:53
Score: 3
Natty:
Report link

This issue was solved by enabling sticky sessions in the Application Load Balancer.

I used ALB generated cookies and the default 1 day expiration time.

Thank you all for your contributions.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Gatsby

79243664

Date: 2024-12-02 10:24:52
Score: 0.5
Natty:
Report link

In my case, the issue was that Postgres was looking for the vector type in the public schema instead of the shared_extensions schema. So this ended up working for me:

CREATE TABLE langchain_pg_embedding (
  collection_id uuid, 
  embedding shared_extensions.vector(1536),
  ...
)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sebi

79243663

Date: 2024-12-02 10:23:52
Score: 0.5
Natty:
Report link

The Quotas & Limits measures all the data scanned by queries, including cached queries or jobs that don't include billing. It also tracks the logical_bytes_processed for monitoring against usage limits.

Whereas, the INFORMATION_SCHEMA.JOBS_BY_PROJECT tracks the query level details including logical bytes and the bytes billed after optimization. You need to rely on total_bytes_billed in the Information_schema to get idea of billing which comes under on-demand pricing.

You can check this documentation for more details regarding On-demand pricing other pricing in BigQuery.

As per this documentation, BigQuery offers some resources free of charge up to a specific limit. It will be during and after the free trial period. If you go over these usage limits and are no longer in the free trial period, you will be charged accordingly.

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

79243653

Date: 2024-12-02 10:21:51
Score: 12 🚩
Natty:
Report link

Hi did u get any response or found any solution for this?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): did u get any
  • RegEx Blacklisted phrase (2): any solution for this?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Besa Salimusaj

79243651

Date: 2024-12-02 10:20:50
Score: 2.5
Natty:
Report link

There is already one example:

https://stackoverflow.com/a/78990144/22768315

The point is that the string must follow exactly the following scheme:

"[FAMILY-LIST] [STYLE-OPTIONS] [SIZE] [VARIATIONS]"

Further explanations can be found in the documentation of GTK4:

https://docs.gtk.org/Pango/type_func.FontDescription.from_string.html

Have fun testing.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Holger

79243647

Date: 2024-12-02 10:18:50
Score: 3
Natty:
Report link

The problem was with properties.sasl.jaas.config. Duplicate of this

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

79243646

Date: 2024-12-02 10:17:49
Score: 0.5
Natty:
Report link

The practice of naming Android OS versions after desserts and sweet treats was a creative branding strategy by Google. This unique approach made the Android operating system stand out in a competitive market dominated by technical and numerical versioning schemes. The idea aimed to make Android relatable, fun, and memorable, fostering a sense of curiosity and delight among users and developers.

Desserts and sweet items are universally associated with positivity, joy, and indulgence. By aligning Android versions with these universally appealing themes, Google tapped into an emotional connection with its audience. Each name, such as Cupcake, Donut, KitKat, or Pie, sparked anticipation and excitement around new releases, making the updates more accessible and less intimidating to users unfamiliar with technical jargon.

Moreover, the alphabetical progression of dessert names provided a predictable yet engaging framework for naming conventions. Users eagerly speculated about the next version's name, creating buzz and conversation around Android even before official announcements. This naming scheme also emphasized the playful and innovative spirit of the Android brand, resonating with its open-source, community-driven philosophy.

From a marketing perspective, partnering with recognizable brands like Nestlé for KitKat showcased Android’s ability to blend technology with popular culture. This collaboration not only increased Android's visibility but also demonstrated its global reach and versatility.

Although Google transitioned to numerical versioning with Android 10 in 2019, the dessert-naming tradition remains a nostalgic part of Android's identity, remembered fondly by its community and fans worldwide.

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

79243641

Date: 2024-12-02 10:16:49
Score: 0.5
Natty:
Report link

Quick answer

if you want to use unshare() you should include sched.h, as you did

 #define _GNU_SOURCE
 #include <sched.h>

Where is unshare()?

The unshare()declaration is located in <bits/sched.h>, You can only find an external definition there because unshare()is a system call that depends on os version. You cannot include <bits/sched.h> directly.

What is _GNU_SOURCE

_GNU_SOURCE is a macro that enables a full set of glibc extensions. if you don't want to explicitly add this #define _GNU_SOURCE. you can instead use the following flag when compiling with gcc

gcc -D_GNU_SOURCE ...

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

79243630

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

although this only circumvents the problem you can try an installation with less strict options like: npm install --legacy-pee-deps
If not I found this discussion which may help 👇🏽
npm ci can only install packages with an existing package-lock.json or npm-shrinkwrap.json with lockfileVersion >= 1

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

79243624

Date: 2024-12-02 10:11:47
Score: 1
Natty:
Report link

To compress and add a watermark to an image in the background in a React Native application, you can follow these steps:

Image Compression: Use libraries like react-native-image-crop-picker or react-native-image-resizer to compress the image before displaying it.

Adding Watermark: To add a watermark, use a library like react-native-canvas or react-native-skia to overlay the watermark on top of the image.

Implementation:

First, load the image and compress it. Use a Canvas or Skia to draw the watermark on the image. Save or display the modified image in your app.

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

79243620

Date: 2024-12-02 10:10:47
Score: 2
Natty:
Report link

Path indexing was disabled and go modules integration was enabled, but still I kept having the issue even after cleaning the cache. Adding this GOFLAGS=-e in the Go module settings has solved it for me:

enter image description here

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

79243616

Date: 2024-12-02 10:07:46
Score: 1
Natty:
Report link

Can you share more about your application?

If I put the following in an empty Spring Boot application with H2 on the classpath, then everything works as expected:

@Configuration
public class BatchConfiguration {

  private static final Logger LOG = LoggerFactory.getLogger(BatchConfiguration.class);

  @Bean
  Job job(PlatformTransactionManager transactionManager, JobRepository jobRepository) {
    return new JobBuilder("job", jobRepository)
        .start(new StepBuilder("step", jobRepository)
            .<Integer, Integer>chunk(400, transactionManager)
            .reader(reader())
            .writer(writer(null))
            .faultTolerant()
            .skip(Exception.class)
            .skipLimit(1000)
            .listener(new BatchSkipListener())
            .build())
        .build();
  }

  @Bean
  @StepScope
  ListItemReader<Integer> reader() {
    return new ListItemReader<>(List.of(1, 2, 3, 4, 5, 6, 7, 7, 8, 9));
  }

  @Bean
  ItemWriter<Integer> writer(JdbcTemplate jdbcTemplate) {
    return chunk -> jdbcTemplate.batchUpdate(
        "INSERT INTO target_table VALUES (?)",
        chunk.getItems().stream().map(i -> new Object[] {i}).toList(),
        new int[] {Types.BIGINT}
    );
  }

  static class BatchSkipListener implements SkipListener<Integer, Integer> {

    @Override
    public void onSkipInWrite(Integer item, Throwable t) {
      LOG.warn("At {} with {}", item, t.getClass());
    }

  }

}

The content of the schema.sql is:

CREATE TABLE target_table (ID BIGINT PRIMARY KEY);
Reasons:
  • RegEx Blacklisted phrase (2.5): Can you share
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can you share
  • High reputation (-1):
Posted by: Henning

79243613

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

How do I get the ACF field value from the category?

For a category:

<?php
$post_id = "category_3"; // category term ID = 3
$value = get_field( 'my_field', $post_id );
?>

For a custom taxonomy "event":

<?php
$post_id = "event_4"; // event (custom taxonomy) term ID = 4
$value = get_field( 'my_field', $post_id );
?>

Samples taken as is from acf get_field() docs: ACF get_field() documentation

All the samples:

<?php
$post_id = false; // current post
$post_id = 1; // post ID = 1
$post_id = "user_2"; // user ID = 2
$post_id = "category_3"; // category term ID = 3
$post_id = "event_4"; // event (custom taxonomy) term ID = 4
$post_id = "option"; // options page
$post_id = "options"; // same as above

$value = get_field( 'my_field', $post_id );
?>
Reasons:
  • Blacklisted phrase (1): How do I
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How do I
  • Low reputation (0.5):
Posted by: DrLightman

79243609

Date: 2024-12-02 10:04:45
Score: 2
Natty:
Report link

The @Valid annotation plays vital role in validating DTO's / Value Objects where there are multiple attributes inside them that may need validations like @notNull, @length, @max etc.,. However as String doesnt have such attributes and it is a library class, you wont be able to specify what validations to perform on its internal attributes.

Solution 1: You can ignore trying to use @Valid over a primitive class like String

Solution 2: You can create a custom annotation based validator in case if you have any specific validations to perform.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @Valid
  • User mentioned (0): @notNull
  • User mentioned (0): @length
  • User mentioned (0): @max
  • User mentioned (0): @Valid
  • Low reputation (1):
Posted by: Vamsi Krrish

79243608

Date: 2024-12-02 10:04:45
Score: 0.5
Natty:
Report link

The error in JRE has been occurred at FFmpegFrameRecorder.start()

use below

//init 2048*2048 video recorder
FFmpegFrameRecorder recorder = new FFmpegFrameRecorder(dest, 2048, 2048, 0);

instead of

FFmpegFrameRecorder recorder = new FFmpegFrameRecorder(dest, 0);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: noen

79243606

Date: 2024-12-02 10:03:45
Score: 4.5
Natty:
Report link

Thank you for your answers. tannnksnand

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: fahd-85

79243605

Date: 2024-12-02 10:03:44
Score: 4
Natty: 3
Report link

Overlapping issue = I have separate ranges for smartphones/tablets/ipads and i have setting for them like 100px width to 500px width , 501px width to 1000px width and so on using a variable .is-smartphone.

and i have no issue with that i am trying to make my web styles on laptops and computers . I have setting for exact screens that are mostly used that i will give below. But still for browser other other screens there should be default styles so i decided to use a big range like "max: 2500px" or "min-width: 100px" but these "max: 2500px" or "min-width: 100px" are applying on exact ranges that it should not. below are my current ranges in which i need to add "max: 2500px" or "min-width: 100px"

///////////////////////////////////////////////////////laptop screen ( L/P ) starting///////////////////////////////////////////////////////

@media only screen and (min-width: 800px) and (max-width: 800px) and (min-height: 465px) and (max-height: 465px) { /* laptop screen ( L/P ) --- (laptop 800 * 600 ) --- ---- (actual 800 * 465 ) --- */

} /* laptop screen ( L/P ) ending */

///////////////////////////////////////////////////////laptop screen ( L/P ) ending///////////////////////////////////////////////////////

///////////////////////////////////////////////////////laptop screen ( L/P ) starting///////////////////////////////////////////////////////

@media only screen and (min-width: 1024px) and (max-width: 1024px) and (min-height: 633px) and (max-height: 633px) { /* laptop screen ( L/P ) --- (laptop 1024 * 768 ) --- ---- (actual 1024 * 633 ) --- */

} /* laptop screen ( L/P ) ending */

///////////////////////////////////////////////////////laptop screen ( L/P ) ending///////////////////////////////////////////////////////

///////////////////////////////////////////////////////laptop screen ( L/P ) starting///////////////////////////////////////////////////////

@media only screen and (min-width: 1280px) and (max-width: 1280px) and (min-height: 585px) and (max-height: 585px) { /* laptop screen ( L/P ) --- (laptop 1280 * 720 ) --- ---- (actual 1280 * 585 ) --- */

} /* laptop screen ( L/P ) ending */

///////////////////////////////////////////////////////laptop screen ( L/P ) ending///////////////////////////////////////////////////////

///////////////////////////////////////////////////////laptop screen ( L/P ) starting///////////////////////////////////////////////////////

@media only screen and (min-width: 1280px) and (max-width: 1280px) and (min-height: 633px) and (max-height: 633px) { /* laptop screen ( L/P ) --- (laptop 1280 * 768 ) --- ---- (actual 1280 * 633 ) --- */

} /* laptop screen ( L/P ) ending */

///////////////////////////////////////////////////////laptop screen ( L/P ) ending///////////////////////////////////////////////////////

///////////////////////////////////////////////////////laptop screen ( L/P ) starting///////////////////////////////////////////////////////

@media (min-width: 1280px) and (max-width: 1280px) and (min-height: 665px) and (max-height: 665px) { /* laptop screen ( L/P ) --- (laptop 1280 * 800 ) --- ---- (actual 1280 * 665 ) --- */

} /* laptop screen ( L/P ) ending */

///////////////////////////////////////////////////////laptop screen ( L/P ) ending///////////////////////////////////////////////////////

///////////////////////////////////////////////////////laptop screen ( L/P ) starting///////////////////////////////////////////////////////

@media only screen and (min-width: 1024px) and (max-width: 1024px) and (min-height: 685px) and (max-height: 686px) { /* laptop screen ( L/P ) --- (laptop 1280 * 1024 ) --- ---- (actual 1024 * 686 ) --- */

} /* laptop screen ( L/P ) ending */

///////////////////////////////////////////////////////laptop screen ( L/P ) ending///////////////////////////////////////////////////////

///////////////////////////////////////////////////////laptop screen ( L/P ) starting///////////////////////////////////////////////////////

@media only screen and (min-width: 1360px) and (max-width: 1360px) and (min-height: 633px) and (max-height: 633px) { /* laptop screen ( L/P ) --- (laptop 1360 * 768 ) --- ---- (actual 1360 * 633 ) --- */

} /* laptop screen ( L/P ) ending */

///////////////////////////////////////////////////////laptop screen ( L/P ) ending///////////////////////////////////////////////////////

///////////////////////////////////////////////////////laptop screen ( L/P ) starting///////////////////////////////////////////////////////

@media only screen and (min-width: 1366px) and (max-width: 1366px) and (min-height: 633px) and (max-height: 633px) { /* laptop screen ( L/P ) --- (laptop 1366 * 768 ) --- ---- (actual 1366 * 633 ) --- */

} /* laptop screen ( L/P ) ending */

///////////////////////////////////////////////////////laptop screen ( L/P ) ending///////////////////////////////////////////////////////

///////////////////////////////////////////////////////laptop screen ( L/P ) starting///////////////////////////////////////////////////////

@media only screen and (min-width: 1120px) and (max-width: 1120px) and (min-height: 705px) and (max-height: 706px) { /* laptop screen ( L/P ) --- (laptop 1400 * 1050 ) --- ---- (actual 1120 * 705 ) --- */

} /* laptop screen ( L/P ) ending */

///////////////////////////////////////////////////////laptop screen ( L/P ) ending///////////////////////////////////////////////////////

///////////////////////////////////////////////////////laptop screen ( L/P ) starting///////////////////////////////////////////////////////

@media only screen and (min-width: 1440px) and (max-width: 1440px) and (min-height: 765px) and (max-height: 765px) { /* laptop screen ( L/P ) --- (laptop 1440 * 900 ) --- ---- (actual 1440 * 765 ) --- */

} /* laptop screen ( L/P ) ending */

///////////////////////////////////////////////////////laptop screen ( L/P ) ending///////////////////////////////////////////////////////

///////////////////////////////////////////////////////laptop screen ( L/P ) starting///////////////////////////////////////////////////////

@media only screen and (min-width: 1600px) and (max-width: 1600px) and (min-height: 765px) and (max-height: 765px) { /* laptop screen ( L/P ) --- (laptop 1600 * 900 ) --- ---- (actual 1600 * 765 ) --- */

} /* laptop screen ( L/P ) ending */

///////////////////////////////////////////////////////laptop screen ( L/P ) ending///////////////////////////////////////////////////////

///////////////////////////////////////////////////////laptop screen ( L/P ) starting///////////////////////////////////////////////////////

@media only screen and (min-width: 1344px) and (max-width: 1344px) and (min-height: 705px) and (max-height: 706px) { /* laptop screen ( L/P ) --- (laptop 1680 * 1050 ) --- ---- (actual 1344 * 705 ) --- */

} /* laptop screen ( L/P ) ending */

///////////////////////////////////////////////////////laptop screen ( L/P ) ending///////////////////////////////////////////////////////

///////////////////////////////////////////////////////laptop screen ( L/P ) starting///////////////////////////////////////////////////////

@media only screen and (min-width: 1536px) and (max-width: 1536px) and (min-height: 729px) and (max-height: 730px) { /* laptop screen ( L/P ) starting --- (laptop 1920 * 1080 ) --- ---- (actual 1536 * 730 ) --- */

} /* laptop screen ( L/P ) starting */

///////////////////////////////////////////////////////laptop screen ( L/P ) ending///////////////////////////////////////////////////////

Reasons:
  • Blacklisted phrase (0.5): i need
  • Blacklisted phrase (1): i am trying to
  • Long answer (-1):
  • No code block (0.5):
  • User mentioned (1): @media
  • User mentioned (0): @media
  • User mentioned (0): @media
  • User mentioned (0): @media
  • User mentioned (0): @media
  • User mentioned (0): @media
  • User mentioned (0): @media
  • User mentioned (0): @media
  • User mentioned (0): @media
  • User mentioned (0): @media
  • User mentioned (0): @media
  • User mentioned (0): @media
  • User mentioned (0): @media
  • No latin characters (0.5):
  • Filler text (0.5): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Low reputation (1):
Posted by: Ali Abdul Rehman

79243602

Date: 2024-12-02 10:02:43
Score: 1.5
Natty:
Report link
  1. resolutions does not matter, what matters is scaling. so if you have taken screenshots when the scale was 150% then your script would work for every resolution whose scale is 150%.(you can check scale in display settings of your pc).
  2. I would recommend you to take screenshot at 100% scale because for every resolution this scale is available.
Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Kashish Shah

79243600

Date: 2024-12-02 10:01:43
Score: 1.5
Natty:
Report link

Language and Country are not directly related.

You can't deduce the language just by looking at the country, and viceversa. Because not every country has only one language, and not every language is spoken in only one country. Otherwise you would end up with a canadian flag for French, an australian flag for English, and a spanish flag for Catalan.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Miquel Martí

79243599

Date: 2024-12-02 10:01:42
Score: 8 🚩
Natty: 4
Report link

I’m encountering the same issue where I can’t push a value to fields in another section of a Google Form. Does anyone have a workaround for this?

Reasons:
  • RegEx Blacklisted phrase (3): Does anyone have a workaround
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: John Lesmana

79243593

Date: 2024-12-02 09:58:42
Score: 2.5
Natty:
Report link

May I suggest you try testing this model on a web APS viewer to see if you pick anything related to viewer libraries from front-end on console: You may try:

  1. https://autodesk-platform-services.github.io/aps-tutorial-postman/display_svf2.html
  2. https://viewer.autodesk.com/

I have tried the steps you have provided on the APS VS code extension and both models loaded okay. I am not sure of what your second model entails but if the same issue persists, please reach out to [email protected] via email and we may require your sample model.

Reasons:
  • RegEx Blacklisted phrase (1): I am not sure of what your second model entails but if the same issue persists, please
  • No code block (0.5):
  • Low reputation (1):
Posted by: Carol Gitonga

79243592

Date: 2024-12-02 09:58:42
Score: 0.5
Natty:
Report link

Laravel will use the default joins for the pivot table unless you define the model on the relation. So you need to use using() method on relation.

Your code will be like this:

class Car extends Model
{
    /**
     * m:n relation to Tyres
     */
    public function tyres(): BelongsToMany
    {
        return $this->belongsToMany(Tyres::class)->using(CarTyres::class);
    }
}

More details: https://laravel.com/docs/11.x/eloquent-relationships#defining-custom-intermediate-table-models

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

79243590

Date: 2024-12-02 09:58:41
Score: 4
Natty:
Report link

tanks for the badge 📛 shksbsjsghdsdj

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: fahd-85

79243586

Date: 2024-12-02 09:55:40
Score: 4
Natty:
Report link

Haven't got a clue as to why, but the code is actually working.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Eugène Bindels

79243583

Date: 2024-12-02 09:54:40
Score: 3
Natty:
Report link

Dart is null safe so you can't have a function that sometimes returns a nullable but sometimes a non-nullable.

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

79243582

Date: 2024-12-02 09:54:40
Score: 4
Natty:
Report link

You can follow this doc. github doc

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

79243578

Date: 2024-12-02 09:51:39
Score: 0.5
Natty:
Report link

The described concept is generally referred to as "Deferred Deep Linking" or "Dynamic Linking". And, this is fairly complex process. Since, we are trying to send data/parameter to app before it's installation.

As you mentioned Firebase Dynamic Links provides this service, and it is now deprecated and will shut down on August 25, 2025 more...

There are other third party alternatives for deep-linking solutions that support .NET MAUI

One of well know service is Branch

For more information and implementation you can visit there documentation for MAUI here...

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

79243568

Date: 2024-12-02 09:47:37
Score: 4
Natty:
Report link

Click the (?) icon next to Web SDK Configuration, then click Google API Console.

Under OAuth 2.0 Client IDs, click the download button, it should have the Client secret there. enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: homuhomy

79243567

Date: 2024-12-02 09:46:36
Score: 11 🚩
Natty: 5.5
Report link

I am getting the same error where .wsdl file is not generating. But I cannot use axis, as I am upgrading axis to axis2. How to fix this issue?

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • RegEx Blacklisted phrase (1.5): How to fix this issue?
  • RegEx Blacklisted phrase (1): I am getting the same error
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am getting the same error
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Anu

79243550

Date: 2024-12-02 09:40:34
Score: 1.5
Natty:
Report link
  1. Open your csv file with Excel Microsoft.
  2. Select "Find & Replace".
  3. Find " ' " and replace with null space. (in order to deleting them all in huge amount of data.)
  4. Save the Excel as a csv file again.

Example: Schindler's List -> NOT ACCEPTED IN WEKA

Schindlers List or Schindler s List -> ACCEPTED

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

79243548

Date: 2024-12-02 09:37:32
Score: 2
Natty:
Report link
You can start with this:
from django.apps import AppConfig

class YourAppConfig(AppConfig):
    name = 'your_app'

    def ready(self):
        import your_app.signal

Next part more debug tool:

@receiver(post_save, sender=User)
def create_profile(sender, instance, created, **kwargs): 
    user = instance
    print("User pk:", user.pk)
    print("Created flag:", created)
    
    if created: 
        print('A new user is created')
    else: 
        print('A new user is not created')
    
    print(sender, user, created)

Do you use bulk_create?
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Szabson

79243533

Date: 2024-12-02 09:33:31
Score: 3
Natty:
Report link

Anyone trying to add the scopes as of 2024, if you cannot find them in My APIs lookup the scopes in the APIs my organization uses and then select the App Registration you are in. The scopes will be in there. Refresh the browser after creating them otherwise they will not show.

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

79243529

Date: 2024-12-02 09:32:31
Score: 2.5
Natty:
Report link

You can check with google Lighthouse chrome extension

Just install lighthouse open your website in chrome, click generate report, and see SEO tab: enter image description here

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

79243525

Date: 2024-12-02 09:30:30
Score: 2
Natty:
Report link

string winver = Registry::getString(HKEY_LOCAL_MACHINE, "Software\Microsoft\Windows NT\CurrentVersion", "ProductName", "Windows Server 2019 Standard"); if (winver == "Windows Server 2019 Standard") {


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

79243522

Date: 2024-12-02 09:29:30
Score: 2
Natty:
Report link

Could this be due to CSRF protection? Do you include the CSRF token when invoking the login action?

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • High reputation (-1):
Posted by: FroMage

79243521

Date: 2024-12-02 09:29:30
Score: 2.5
Natty:
Report link

it is just because of the maxMessagesPerPoll(50). Since this has been given to the new GenericMessage<>, it produces 50 "/a-remote-directory/" messages per poll, so the max message per poll should be 1 for recursive LS for sFTP file listing.

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

79243519

Date: 2024-12-02 09:29:30
Score: 1.5
Natty:
Report link

Use QMicroz
To zip a folder:

QMicroz::compress_folder("source_path", "zip_file_path");

To zip a file/folder list:

QMicroz::compress_({"file_path", "folder_path", "file2_path"});
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Archivarius

79243493

Date: 2024-12-02 09:22:21
Score: 10.5 🚩
Natty: 6.5
Report link

Did you find a solution? I have the same problem when using ADO together with Azure Pipelines.

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (3): Did you find a solution
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find a solution
  • Low reputation (1):
Posted by: Mathias Nissen

79243488

Date: 2024-12-02 09:20:21
Score: 3
Natty:
Report link

No, this feature is not awailable for debugging on WSL

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

79243479

Date: 2024-12-02 09:17:20
Score: 0.5
Natty:
Report link

if I understood your question correctly (in regards what is in the payload and what is in the input array) I was able to write this mapping, to be able to find matches between those two data sets:

%dw 2.0
output application/json

var myPayload = {
  "aAuDQ0000004mX60AI": [
    {
      "noOfDocumentItemToSigner": ["eSign_documentItemName1__c"],
      "contentVersion": "068DQ000000lK0iYAE",
      "documentName": "ESRA with Exhibit_A"
    },
    {
      "noOfDocumentItemToSigner": ["eSign_documentItemName1__c"],
      "contentVersion": "068DQ000000lK0OYAU",
      "documentName": "ODP Agreement"
    }
  ],
  "aAuDQ0000004mXG0AY": [
    {
      "noOfDocumentItemToSigner": ["eSign_documentItemName1__c"],
      "contentVersion": "068DQ000000lK0JYAU",
      "documentName": "ESRA For bb bb"
    },
    {
      "noOfDocumentItemToSigner": ["eSign_documentItemName1__c", "eSign_documentItemName2__c"],
      "contentVersion": "068DQ000000lK0OYAU",
      "documentName": "ODP Agreement"
    }
  ]
}

var myInputArray = [
    {
        "noOfDocumentItemToSigner": [
        "eSign_documentItemName1__c",
            "eSign_documentItemName2__c"
        ],
        "contentVersion": "068DQ000000lK0iYAE",
        "documentName": "ESRA with Exhibit_A"
    },
    {
        "noOfDocumentItemToSigner": [
        "eSign_documentItemName1__c"
        ],
        "contentVersion": "068DQ000000lK0OYAU",
        "documentName": "ODP Agreement"
    }
]

---
myPayload mapObject ((value, key, index) -> {
    (key): (value) map ((item, index) -> {
        noOfDocumentItemToSigner: item.noOfDocumentItemToSigner,
        contentVersion: item.contentVersion,
        documentName: item.documentName
    }) filter $.contentVersion == (myInputArray map ((item2, index2) -> item2.contentVersion))[index]
})
Reasons:
  • Blacklisted phrase (1): regards
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dane

79243478

Date: 2024-12-02 09:17:20
Score: 2.5
Natty:
Report link

This is a partial answer I found by trial an error (well more of a desperate scatter gun approach) interestingly ensuring there were NO xdebug v2.6 directives in php.ini made no difference to the VSCode error. Failed loading C:\php\ext\php_xdebug-2.6.1-7.2-vc15-nts-x86_64.dll I copied numerous examples of launch.json I found on the web making sure the port and path to php matched php.ini. this launch.json version seemed to eliminate the misleading php7.2 error. (I have not got php7.2 anywhere) I am guessing that if the path to php.exe (which also needs to be set in settings.json is wrong VSCode has some fallback assumption about which PHP ver yoou are using

            "type": "php",
            "request": "launch",
            "runtimeExecutable": "C:/pathtophpexe/php.exe",
            "program": "${file}",
            "cwd": "${fileDirname}",
            "port": 9003
        }

After this I started getting a 'port' error Invalid "xdebug.client_port" setting. Invalid quantity "${port}": no valid leading digits

this latter problem was solved accidentally by replacing the php.ini line xdebug.client_host = 127.0.0.1

with xdebug.client_host = localhost

the xdebug.log was saying it couldnt connect to the port and therefore wouldn't step through of course

anyway replacing 127.0.0.1 with localhost in php.ini has cured the problem.

So though the primary objective has been achieved viz - getting debug to work I am non the wiser about where the php7.2 error came from (it seems to have nothing to do with xdebug version 2.6 directives)
nor why specifying 127.0.0.1 does not work whereas localhost does.

if you can shed light and want to comment please read and understand the essence of the question 'why does VSCode report and error about PHP v7.2 and xdebug 2.6 when neither are installed?' and secondly 'why is specifying localhost successful when 127.0.0.1 is not?'

oh and tx PaulT that site you suggested was one I'd come across in my scatter gun approach of trying all kinds of examples of launch.json. Interestingly it says it is 'essential; to include the line xdebug.idekey=VSCODE I have found that not to be the case (it doesnt matter whether its in php.ini or not but then Im only doing simple cli debugging - in any case the default is vsc and it can be found here

in VSCode under File > Preference > Settings > Extensions > PHP Debug > Ide Key.

I'm sorry that's not a complete explanation but it may help someone else cheers

Reasons:
  • Blacklisted phrase (1): cheers
  • Blacklisted phrase (1): to comment
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: john murray

79243477

Date: 2024-12-02 09:17:20
Score: 2
Natty:
Report link

I had two blob activity, I failed to made the changes to second to switch managed identity. after that it worked. So above is correct.

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

79243457

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

This issue has happened to me several times. This could be a potential dependency issues. Some library may want numpy(or any other library) >=x and some library want numpy >=y so you need to find a common library version which supported by both.

(look up to see its traceback):

Please check full trace for exact error. Post full stack trace for more accurate dependency causing error

OS : Mac 15 Version: Python 3.10

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

79243455

Date: 2024-12-02 09:09:18
Score: 1
Natty:
Report link

Sub SendEmailsToAllUniqueIDs() Dim OutlookApp As Object Dim MailItem As Object Dim ws As Worksheet Dim emailDict As Object Dim cell As Range Dim lastRow As Long Dim email As String, data As String Dim consolidatedData As String

' Set the worksheet
Set ws = ThisWorkbook.Sheets("Sheet1") ' Adjust sheet name if needed

' Get the last row in the Email ID column (column F in this example)
lastRow = ws.Cells(ws.Rows.Count, 6).End(xlUp).Row ' Assuming "Email ID" is in column F

' Create a dictionary to consolidate data by Email ID
Set emailDict = CreateObject("Scripting.Dictionary")

' Loop through the rows to consolidate data by email
For Each cell In ws.Range("F2:F" & lastRow) ' Assuming headers are in row 1
    email = cell.Value
    data = "Vendor: " & cell.Offset(0, -5).Value & ", Invoice: " & cell.Offset(0, -4).Value & _
           ", Amount: " & cell.Offset(0, -2).Value & ", Tenor: " & cell.Offset(0, -1).Value

    If emailDict.exists(email) Then
        emailDict(email) = emailDict(email) & vbCrLf & data
    Else
        emailDict.Add email, data
    End If
Next cell

' Initialize Outlook
On Error Resume Next
Set OutlookApp = GetObject(, "Outlook.Application")
If OutlookApp Is Nothing Then
    Set OutlookApp = CreateObject("Outlook.Application")
End If
On Error GoTo 0

' Loop through the dictionary and send emails
For Each email In emailDict.keys
    ' Create a new email
    Set MailItem = OutlookApp.CreateItem(0)
    With MailItem
        .To = email
        .Subject = "Consolidated Invoice Information"
        .Body = "Hello," & vbCrLf & vbCrLf & _
                "Here is your consolidated invoice information:" & vbCrLf & _
                emailDict(email) & vbCrLf & vbCrLf & _
                "Best regards," & vbCrLf & "Your Name"
        .Send ' Use .Display instead of .Send to preview the email
    End With
Next email

' Cleanup
MsgBox "Emails sent successfully!"
Set MailItem = Nothing
Set OutlookApp = Nothing
Set emailDict = Nothing

End Sub

Reasons:
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Utkarsh Chheda

79243449

Date: 2024-12-02 09:07:17
Score: 1
Natty:
Report link

I had to achieve the same effect a long time ago, and I used this WheelView at that time.

There is an attribute itemVisibleNum which meets the requirement.

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

79243447

Date: 2024-12-02 09:05:17
Score: 3
Natty:
Report link

Turns out the password was cached. I had to delete and reupload all services and changes the password from the db.

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

79243438

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

You would usually use an MDM for something like this. Everything else is probably more of a hobbyist solution that no serious company would use in a professional environment.

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

79243426

Date: 2024-12-02 08:53:15
Score: 1.5
Natty:
Report link

It seems other Widows services used the ports set for WAMP Apache, database, etc.

I tried to run WAMP as soon as possible when logging in to my Windows user account and the issue was resolved.

It is better to set WAMP services autostart to solve this issue in the future. To do so, read this question: Have WAMP start automatically upon Windows start-up (without logging on or any UAC interference)

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

79243422

Date: 2024-12-02 08:52:14
Score: 0.5
Natty:
Report link

With ApiPlatform v4, you can do this in config/packages/api_platform.yaml :

api_platform:
    swagger:
        api_keys:
            my_token_definition:
                name: X-Authorization
                type: header
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: tcoch

79243420

Date: 2024-12-02 08:51:14
Score: 3.5
Natty:
Report link

You can use the adjustment parameter, refer into the doc:

How to obtain split and dividend adjusted prices using alpaca_trade_api?

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: appancrp

79243418

Date: 2024-12-02 08:51:14
Score: 1
Natty:
Report link

I faced a somewhat similiar scenario when trying to run a Kotlin application. What solved it for me was adding the following snippet to the settings.gradle.kts file

plugins {
    id("org.gradle.toolchains.foojay-resolver-convention") version("0.8.0")
}

Reference: https://docs.gradle.org/current/userguide/toolchains.html#sub:download_repositories

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

79243410

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

What is retval returning and how much is UA_LOGLEVEL? There should be more verbose output from stack.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What is
  • Low reputation (1):
Posted by: m-obi

79243406

Date: 2024-12-02 08:46:11
Score: 4.5
Natty:
Report link

I have separate ranges for smartphones/tablets/ipads and i have setting for them like 100px width to 500px width , 501px width to 1000px width and so on using a variable .is-smartphone.

and i have no issue with that i am trying to make my web styles on laptops and computers . I have setting for exact screens that are mostly used that i will give below. But still for browser other other screens there should be default styles so i decided to use a big range like "max: 2500px" or "min-width: 100px" but these "max: 2500px" or "min-width: 100px" are applying on exact ranges that it should not. below are my current ranges in which i need to add "max: 2500px" or "min-width: 100px"

///////////////////////////////////////////////////////laptop screen ( L/P ) starting///////////////////////////////////////////////////////

@media only screen and (min-width: 800px) and (max-width: 800px) and (min-height: 465px) and (max-height: 465px) { /* laptop screen ( L/P ) --- (laptop 800 * 600 ) --- ---- (actual 800 * 465 ) --- */

} /* laptop screen ( L/P ) ending */

///////////////////////////////////////////////////////laptop screen ( L/P ) ending///////////////////////////////////////////////////////

///////////////////////////////////////////////////////laptop screen ( L/P ) starting///////////////////////////////////////////////////////

@media only screen and (min-width: 1024px) and (max-width: 1024px) and (min-height: 633px) and (max-height: 633px) { /* laptop screen ( L/P ) --- (laptop 1024 * 768 ) --- ---- (actual 1024 * 633 ) --- */

} /* laptop screen ( L/P ) ending */

///////////////////////////////////////////////////////laptop screen ( L/P ) ending///////////////////////////////////////////////////////

///////////////////////////////////////////////////////laptop screen ( L/P ) starting///////////////////////////////////////////////////////

@media only screen and (min-width: 1280px) and (max-width: 1280px) and (min-height: 585px) and (max-height: 585px) { /* laptop screen ( L/P ) --- (laptop 1280 * 720 ) --- ---- (actual 1280 * 585 ) --- */

} /* laptop screen ( L/P ) ending */

///////////////////////////////////////////////////////laptop screen ( L/P ) ending///////////////////////////////////////////////////////

///////////////////////////////////////////////////////laptop screen ( L/P ) starting///////////////////////////////////////////////////////

@media only screen and (min-width: 1280px) and (max-width: 1280px) and (min-height: 633px) and (max-height: 633px) { /* laptop screen ( L/P ) --- (laptop 1280 * 768 ) --- ---- (actual 1280 * 633 ) --- */

} /* laptop screen ( L/P ) ending */

///////////////////////////////////////////////////////laptop screen ( L/P ) ending///////////////////////////////////////////////////////

///////////////////////////////////////////////////////laptop screen ( L/P ) starting///////////////////////////////////////////////////////

@media (min-width: 1280px) and (max-width: 1280px) and (min-height: 665px) and (max-height: 665px) { /* laptop screen ( L/P ) --- (laptop 1280 * 800 ) --- ---- (actual 1280 * 665 ) --- */

} /* laptop screen ( L/P ) ending */

///////////////////////////////////////////////////////laptop screen ( L/P ) ending///////////////////////////////////////////////////////

///////////////////////////////////////////////////////laptop screen ( L/P ) starting///////////////////////////////////////////////////////

@media only screen and (min-width: 1024px) and (max-width: 1024px) and (min-height: 685px) and (max-height: 686px) { /* laptop screen ( L/P ) --- (laptop 1280 * 1024 ) --- ---- (actual 1024 * 686 ) --- */

} /* laptop screen ( L/P ) ending */

///////////////////////////////////////////////////////laptop screen ( L/P ) ending///////////////////////////////////////////////////////

///////////////////////////////////////////////////////laptop screen ( L/P ) starting///////////////////////////////////////////////////////

@media only screen and (min-width: 1360px) and (max-width: 1360px) and (min-height: 633px) and (max-height: 633px) { /* laptop screen ( L/P ) --- (laptop 1360 * 768 ) --- ---- (actual 1360 * 633 ) --- */

} /* laptop screen ( L/P ) ending */

///////////////////////////////////////////////////////laptop screen ( L/P ) ending///////////////////////////////////////////////////////

///////////////////////////////////////////////////////laptop screen ( L/P ) starting///////////////////////////////////////////////////////

@media only screen and (min-width: 1366px) and (max-width: 1366px) and (min-height: 633px) and (max-height: 633px) { /* laptop screen ( L/P ) --- (laptop 1366 * 768 ) --- ---- (actual 1366 * 633 ) --- */

} /* laptop screen ( L/P ) ending */

///////////////////////////////////////////////////////laptop screen ( L/P ) ending///////////////////////////////////////////////////////

///////////////////////////////////////////////////////laptop screen ( L/P ) starting///////////////////////////////////////////////////////

@media only screen and (min-width: 1120px) and (max-width: 1120px) and (min-height: 705px) and (max-height: 706px) { /* laptop screen ( L/P ) --- (laptop 1400 * 1050 ) --- ---- (actual 1120 * 705 ) --- */

} /* laptop screen ( L/P ) ending */

///////////////////////////////////////////////////////laptop screen ( L/P ) ending///////////////////////////////////////////////////////

///////////////////////////////////////////////////////laptop screen ( L/P ) starting///////////////////////////////////////////////////////

@media only screen and (min-width: 1440px) and (max-width: 1440px) and (min-height: 765px) and (max-height: 765px) { /* laptop screen ( L/P ) --- (laptop 1440 * 900 ) --- ---- (actual 1440 * 765 ) --- */

} /* laptop screen ( L/P ) ending */

///////////////////////////////////////////////////////laptop screen ( L/P ) ending///////////////////////////////////////////////////////

///////////////////////////////////////////////////////laptop screen ( L/P ) starting///////////////////////////////////////////////////////

@media only screen and (min-width: 1600px) and (max-width: 1600px) and (min-height: 765px) and (max-height: 765px) { /* laptop screen ( L/P ) --- (laptop 1600 * 900 ) --- ---- (actual 1600 * 765 ) --- */

} /* laptop screen ( L/P ) ending */

///////////////////////////////////////////////////////laptop screen ( L/P ) ending///////////////////////////////////////////////////////

///////////////////////////////////////////////////////laptop screen ( L/P ) starting///////////////////////////////////////////////////////

@media only screen and (min-width: 1344px) and (max-width: 1344px) and (min-height: 705px) and (max-height: 706px) { /* laptop screen ( L/P ) --- (laptop 1680 * 1050 ) --- ---- (actual 1344 * 705 ) --- */

} /* laptop screen ( L/P ) ending */

///////////////////////////////////////////////////////laptop screen ( L/P ) ending///////////////////////////////////////////////////////

///////////////////////////////////////////////////////laptop screen ( L/P ) starting///////////////////////////////////////////////////////

@media only screen and (min-width: 1536px) and (max-width: 1536px) and (min-height: 729px) and (max-height: 730px) { /* laptop screen ( L/P ) starting --- (laptop 1920 * 1080 ) --- ---- (actual 1536 * 730 ) --- */

} /* laptop screen ( L/P ) starting */

///////////////////////////////////////////////////////laptop screen ( L/P ) ending///////////////////////////////////////////////////////

Reasons:
  • Blacklisted phrase (0.5): i need
  • Blacklisted phrase (1): i am trying to
  • Long answer (-1):
  • No code block (0.5):
  • User mentioned (1): @media
  • User mentioned (0): @media
  • User mentioned (0): @media
  • User mentioned (0): @media
  • User mentioned (0): @media
  • User mentioned (0): @media
  • User mentioned (0): @media
  • User mentioned (0): @media
  • User mentioned (0): @media
  • User mentioned (0): @media
  • User mentioned (0): @media
  • User mentioned (0): @media
  • User mentioned (0): @media
  • Self-answer (0.5):
  • No latin characters (0.5):
  • Filler text (0.5): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Filler text (0): ///////////////////////////////////////////////////////
  • Low reputation (1):
Posted by: Ali Abdul Rehman

79243402

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

Change permissions for the other users and group for /Users/ademugnirusmana/Projects/www/ location.

chmod -R go+r /Users/ademugnirusmana/Projects/www/

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

79243396

Date: 2024-12-02 08:42:10
Score: 1
Natty:
Report link
  1. From within a terminal window, execute the following commands: sqllocaldb start MSSQLLocalDB sqllocaldb info MSSQLLocalDB

  2. After getting the information of MSSQLLocalDB, fill the data source on the source code as the following statement Data Source =the information of MSSQLLocalDB;Database=databasename;Trusted_Connection=True;MultipleActiveResultSets=true

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

79243393

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

Enable TCP Keep-Alive in your NestJS microservice by creating a custom socket class that configures the connection to stay active. This prevents AWS NLB timeouts caused by inactivity ( I have this problem with docker swarm ideal network connection ).

import { JsonSocket } from '@nestjs/microservices/helpers';
import { Socket } from 'net';

class CustomTcpSocket extends JsonSocket {
  constructor(socket: Socket) {
    socket.setKeepAlive(true, 10000); // Enable Keep-Alive with a 10s 

    super(socket);
  }
}
app.connectMicroservice<MicroserviceOptions>({
  transport: Transport.TCP,
  options: {
    host: '0.0.0.0',
    port: tcpPort, // Replace with your port
    socketClass: CustomTcpSocket,
  },
});
Reasons:
  • Blacklisted phrase (1): I have this problem
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Alireza Alami

79243389

Date: 2024-12-02 08:39:09
Score: 1.5
Natty:
Report link

First you can improve your migration by replacing unsignedBigInteger with foreignId like so:

Schema::create('post_user', function (Blueprint $table) {
    $table->id();
    $table->enum('vote', ['up', 'down'])->default('up');
    $table->foreignId('post_id')->constrained()->cascadeOnDelete(); // or onDelete('set null')
    $table->foreignId('user_id')constrained()->cascadeOnDelete(); // or onDelete('set null')
    $table->timestamps();

    // make sure a user can only vote once for each post
    $table->unique(['user_id', 'post_id']);
});

If you need to access the count of up and down votes frequently, it may help to add another index for post_id and vote.

$table->index(['post_id', 'vote']);

in User model:

public function votedPosts()
{
    return $this->belongsToMany(Post::class, 'votes')
                ->withPivot('vote')
                ->withTimestamps();
}

in Post model:

public function voters()
{
    return $this->belongsToMany(User::class, 'votes')
                ->withPivot('vote')
                ->withTimestamps();
}

Create a fluent model for updating user's vote on a post (add to Post model):

use Illuminate\Database\Eloquent\Relations\Pivot;

class Post extends Model
{
    // Define voters relationship as above...

    public function vote(User $user)
    {
        return new class($this, $user) {
            private $post;
            private $user;

            public function __construct(Post $post, User $user)
            {
                $this->post = $post;
                $this->user = $user;
            }

            public function up()
            {
                $this->post->voters()->syncWithoutDetaching([
                    $this->user->id => ['vote' => 'up']
                ]);
            }

            public function down()
            {
                $this->post->voters()->syncWithoutDetaching([
                    $this->user->id => ['vote' => 'down']
                ]);
            }
        };
    }
}

I used syncWithoutDetaching to prevent deleting any existing vote, we just want to update the vote.

then update user's vote in a single line like so:

// User casts an "up" vote
$post->vote(Auth::user())->up();

// User changes the vote to "down"
$post->vote(Auth::user())->down();
Reasons:
  • RegEx Blacklisted phrase (2): down vote
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kaveh Movahedi

79243378

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

Set the config path to the new config file

The file config_aws2 is like below

Host 18.abc.xyz
  HostName 18.abc.xyz
  User ec2_user
  IdentityFile C:/Users/dcnha/Desktop/nha/dance_motion/aws/AIkey.pem

set the permission of the .pem file only for your current user (Windows, https://youtu.be/kzLRxVgos2M), using chmod for Linux

When this dialogue show up, do not click the 18.abc, instead type in [email protected] enter image description here

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nha Duong

79243370

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

keyboardType: TextInputType.multiline, textInputAction: TextInputAction.newline, maxLines : null

This should give you ability to jump line when pressing enter

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

79243366

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

is there a reason why you aren't using the built-in functionality of gRPC to have make/receive streaming calls instead of creating your own Stream and StreamManager?

The official RouteGuide example has information on how to use all the different types of supported RPC calls including request-side streaming, response-side streaming and bi-di streaming. This gRPC guide also explains it in detail.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): is there a
  • Low reputation (1):
Posted by: Sreenithi

79243357

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

The correct sintax for translations in Directus REST APIs is

/articles?deep[translations][_filter][language_code][_eq]=2

Deep is requested to filter inner fields.

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

79243349

Date: 2024-12-02 08:17:03
Score: 4
Natty: 5.5
Report link

I just have a question. I have an iPhone Pro 15. Why does it give me the option to use my Mac? It’s not a computer why does it show up on my phone as using Mac on my devices on my phone thank you probably hacked again third iPhone that has been compromised Through AT&T bullshit.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Pinky Boss

79243341

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

You can create a Blue/Green deployment. This allows you to make the change with just a few clicks in the Console and without modifying your application.

Steps:

  1. Create a new RDS Blue/Green Deployment with the desired size
  2. Validate the it has the correct size
  3. Switch over to it
  4. Delete the old instance
  5. Delete the Blue/Green Deployment

https://aws.amazon.com/about-aws/whats-new/2024/11/amazon-rds-blue-green-deployments-storage-volume-shrink/

If you encounter an issue where the creation doesn't reduce the size, you might be trying to shrink it too much. Try a larger value.

Thanks to Sean for pointing this out in a comment.

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

79243339

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

First, from the server code, you've done a number of things, including registering a namespace, adding objects, adding variables, triggering events, and deleting nodes. However, in the event notification received by the client, Changes:None is displayed, which means that no changes to the model were detected. One possible reason is that the setup or notification mechanism for event triggers is faulty in some way. For example: 1. Check whether the related parameters are set correctly when the event is triggered to ensure that the event can correctly carry the change information. 2. Verify that the server has correctly updated the state of the model after adding and removing nodes, and pass the changed state to the event generator. You also need to check the client's processing logic to see if it can correctly parse and recognize the event notifications sent by the server. In general, the logic of handling event triggers and model changes on the server side, as well as the process of receiving and parsing event notifications on the client side, needs to be carefully examined to determine the problem.

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

79243338

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

In Koin, you can get the application instance using androidApplication().

https://insert-koin.io/docs/reference/koin-android/get-instances/#android-scope--android-context-resolution

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

79243337

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

This might not be the best answer, but at least it worked. I'v downloaded the plugin directly, and found out where are the plugins installed. Unziped it and copied there.

I opened Android Studio and I was able to see the KMM plugin. I then got an error about KMP being incompatible in K2 mode and I just went to Settings searched for K2 mode, and unchecked it.

I believe I restarted my Android Studio and ran the app and it seemed to work. I'll later do more work on the app and check if everything's actually running properly.

Reasons:
  • Whitelisted phrase (-1): it worked
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: D. Nunes

79243331

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

We can scan any of the folders by adding the path of that package or file in the main class; that is our SpringBootApplication class.

@ComponentScan(
"com.comapny.integration.aspect",
"com.comapny.integration.dao",
"com.accrualify.integration.service",
"com.comapny.integration.job",
"com.comapny.system.netsuite",
"com.comapny.main",
"com.comapny.system.intacct",
"com.comapny.system.qbo",
"com.comapny.system.xero")
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Abhishek Nathe

79243325

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

I have Ubuntu 16.04 and overcome the issue in two steps:

sudo apt install certbot
sudo apt install python-certbot-apache

Python3 didn't work in my case

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

79243313

Date: 2024-12-02 07:57:56
Score: 6 🚩
Natty: 6.5
Report link

Has this problem been solved? I also hope to get a solution to this problem. Thank you very much!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • RegEx Blacklisted phrase (1.5): solved?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: 王福贵儿

79243310

Date: 2024-12-02 07:54:55
Score: 1
Natty:
Report link

I encountered similar issues with my Maven build failing due to the unavailability of the cacerts file. To address this, I transferred the Zulu11 folder to the C directory, incorporated the cacerts file within it replace old one, and updated the Java location in the installed Java Runtime Environment of Eclipse.

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

79243307

Date: 2024-12-02 07:53:55
Score: 1.5
Natty:
Report link

When you use innerHTML, the browser must re-parse all existing HTML inside the element and rebuild the DOM tree.

In some occasions, it can case issues e.g. re-parsing can cause references to previously constructed DOM elements to become invalid, as the browser essentially reconstructs the DOM tree from scratch for the element.

If the parent DOM element has many children it can also cause performance issues.

Using appendChild to add a new element avoids re-parsing the existing content. Instead, the new node is appended directly to the DOM tree, which is more efficient, and does not break functionality on previously parsed elements.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When you use in
  • Low reputation (1):
Posted by: Kaveh Movahedi

79243301

Date: 2024-12-02 07:50:54
Score: 2.5
Natty:
Report link

Try removing left-0 top-0

<p class="font-mono">
  abc<span id="outer" class="relative"><span id="inner" class="absolute">a</span>a</span>defg
</p>

Result:

enter image description here

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

79243300

Date: 2024-12-02 07:50:54
Score: 3.5
Natty:
Report link

You basically get the LoadProhibited error when your accessing index or anything which is out of bound. Check for correct initialisation and definitions before accessing them.

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

79243298

Date: 2024-12-02 07:49:54
Score: 5.5
Natty: 4
Report link

Check the below bindings Library Maui MLKit Document Sacanner

Reasons:
  • Probably link only (1):
  • Contains signature (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: kalyan

79243276

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

I think, maybe, you could prefer regular zip for compatibility. But then, 7z is very widespread too,

and it has advantages regular zip lacks, even in '0' aka 'Store Only' mode: larger archives possible, obfuscated encryption possible (password protect a file or dir, encrypt, and don't show what is in the 7z container).

P.S.: If you use Gmail, don't try to send such a secured archive as it won't work. Most types of encrypted files won't get sent, btw. From the viewpoint of Google 'for security reasons'. The gmail user viewpoint could be that Google wants to know what the user sends, or at least let its detection robots loose on certain words within mails or files, mostly for commercial reasons.

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

79243265

Date: 2024-12-02 07:35:50
Score: 1
Natty:
Report link

I got the same error when I uninstall the texlive pakcage from CentOS using yum, and then install the latest texlive bundle manually from the website.

The cause of this error is due to the residual components from the previously installed texlive-* bundles. To this error, specifically, just find the 'luatex', which would be called by Matplotlib in "dviread.py" using '_LuatexKpsewhich() ', and fix it to the right version which is consistent to the texlive you're using.

For my case, just using the following cmd to fix the problem:

sudo mv /usr/bin/luatex /usr/bin/luatex.bk

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

79243261

Date: 2024-12-02 07:33:50
Score: 1
Natty:
Report link

I came upon this thread, https://github.com/aws/aws-cdk/issues/6184 Based on that I was able to get it to work like this:

export class EventBridgeRuleStack extends cdk.Stack {
    constructor(
        scope: Construct,
        id: string,
        eventBus: cdk.aws_events.IEventBus,
        lambda: cdk.aws_lambda.IFunction,
        props?: cdk.StackProps) {
        super(scope, id, props);
        
        // Create an EventBridge rule
        const rule = new cdk.aws_events.Rule(this, "EventRule", {
            eventBus: eventBus,
            ruleName: "stripe-event",
            eventPattern: {
                source: cdk.aws_events.Match.prefix("aws.partner/stripe.com")
            }
        });

        rule.addEventPattern({source: []})

        // Add the Lambda function as a target
        rule.addTarget(new cdk.aws_events_targets.LambdaFunction(lambda));

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

79243254

Date: 2024-12-02 07:31:49
Score: 3
Natty:
Report link

Thanks "Metalcoder", the chcp 1252 save me a real headage in a similar problem:

dir /S > file.txt

compared to screen output of: dir /s

was different for such characters (ñ, á, ....)

after running chcp 1252, the redirection to a file works as spected, file has the characters as seen when no redirection is done.

Note: Console old codepage value was 850, instead of 1252.

Why Microsoft set an incorrect codepage code for the console? Now i wish to know how to set it permanently to 1252.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Laura

79243252

Date: 2024-12-02 07:30:48
Score: 1
Natty:
Report link

To resolve the issue of the google-services.json file not updating with the new SHA-1 fingerprint, ensure that at least one sign-in authentication method is enabled in Firebase Authentication settings. Follow the steps below:

Access Firebase Console:

Navigate to the Firebase Console. Select your project. Enable a Sign-In Authentication Provider:

Go to Build -> Authentication -> Sign-in method tab. Enable at least one authentication provider, such as Email/Password or Google Sign-In. Save the changes. Re-download google-services.json:

Go to Project Settings -> Your apps -> Android App. Download the updated google-services.json file. Replace the existing file in your Flutter project (android/app/ directory).

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

79243250

Date: 2024-12-02 07:30:48
Score: 1.5
Natty:
Report link

That was time long time ago and to honest I don't remember exactly how I have fixed that, either

  1. It was wrong syntax
  2. have reloaded PC

Now happily using nvim for 9 months - very cool

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

79243248

Date: 2024-12-02 07:28:48
Score: 4
Natty: 4
Report link

I think you need to add you require a parentheses in the constructor.

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

79243243

Date: 2024-12-02 07:27:47
Score: 1.5
Natty:
Report link

For Kotlin Multiplatfrom:

UIApplication.sharedApplication.setNetworkActivityIndicatorVisible(true)
UIApplication.sharedApplication.setNetworkActivityIndicatorVisible(false)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Youssef Hachicha

79243240

Date: 2024-12-02 07:26:47
Score: 2.5
Natty:
Report link

It turns out that the .env entries that are available in NestJS as process.env are also available in python as os.env

We don't need any additional work to read the variable.s

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

79243231

Date: 2024-12-02 07:23:46
Score: 3
Natty:
Report link

remove the space before 'form' tree,form

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

79243228

Date: 2024-12-02 07:21:46
Score: 1
Natty:
Report link

php artisan config:cache solved the issue for me

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: csandreas1

79243223

Date: 2024-12-02 07:20:45
Score: 2
Natty:
Report link

The errors mentioning _Py* arise if there is any problem with the Cython version. For grpcio v1.62.2, try adding cython>=0.29.8,<3.0.0rc1 in the requirements.txt file.

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

79243215

Date: 2024-12-02 07:15:44
Score: 14
Natty: 7.5
Report link

did you get any solutions? is it solved?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): did you get any solution
  • RegEx Blacklisted phrase (1.5): solved?
  • RegEx Blacklisted phrase (2): any solutions?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (1):
Posted by: Muzammil Mehboob

79243212

Date: 2024-12-02 07:15:44
Score: 2
Natty:
Report link

We can use CloudFront distributions to secure the S3 object

Here's step by step guide

The term I mentioned above about the valid token can be checked by trigger a lambda function when accessing to a signed url

https://github.com/aws-samples/amazon-cloudfront-signed-urls-using-lambda-secretsmanager

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

79243194

Date: 2024-12-02 07:06:41
Score: 2
Natty:
Report link
@app.route('/task/create',methods=["post"])
def create_task():
    print(request.data)
    return "error"

You are doing it wrong u have not accessed request.data

u should use data = request.get_json() or request.get_data()

enter image description here

then simply use print(data) to see data

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

79243190

Date: 2024-12-02 07:04:41
Score: 1
Natty:
Report link

I am facing this same error in latest version of react native 0.76 from node module packages many libraries some are shared as reference

C/C++: /Users/g/Desktop/nextfriend076/new/nextfriend/node_modules/react-native-svg/android/build/generated/source/codegen/jni/react/renderer/components/rnsvg/EventEmitters.cpp:39:3: warning: '$' in identifier [-Wdollar-in-identifier-extension] C/C++: $payload.setProperty(runtime, "source", source); C/C++: ^ C/C++: /Users/g/Desktop/nextfriend076/new/nextfriend/node_modules/react-native-svg/android/build/generated/source/codegen/jni/react/renderer/components/rnsvg/EventEmitters.cpp:41:12: warning: '$' in identifier [-Wdollar-in-identifier-extension] C/C++: return $payload;

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

79243188

Date: 2024-12-02 07:03:40
Score: 0.5
Natty:
Report link

What I observed is that res.body.Read(buf) reads only a small number of bytes. ... Why is this the case?

The io.Reader documentation explains why:

Read reads up to len(p) bytes into p. ... If some data is available but not len(p) bytes, Read conventionally returns what is available instead of waiting for more.

The call to res.Body.Read(buf) returns what is available instead of waiting for len(buf) bytes of data to arrive from the server.

Use io.ReadFull to wait for len(buf) bytes of data.

n, err := io.ReadFull(res.Body, buf)

This is not your question, but the code in the question does not handle the return values from res.Body.Read(buf) correctly. Specifically, the code does not handle the case where data and an error is returned. Here's an attempt to improve the code.

            n, err := res.Body.Read(buf)
            if n > 0 {
                // Handle any returned data before handling errors.
                if !yield(bytes.NewReader(buf[:n]), nil) {
                   return
                }
            }
            if err == io.EOF {
                // Reached end of stream.  Done!
                return
            }
            if err != nil {
                // Something bad happened.  Yield the error and done!
                yield(nil, fmt.Errorf("unable to read: %w", err))
                return
            }

A better solution is to io.Copy(part, rest.Body) where part is wherever the application is writing the data.

Reasons:
  • Whitelisted phrase (-1): solution is
  • RegEx Blacklisted phrase (0.5): Why is this
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): What I
  • Low reputation (1):
Posted by: Rick Wakeman

79243185

Date: 2024-12-02 07:00:40
Score: 3
Natty:
Report link

it might be a CORS issue. set Access-Control headers correctly. in controller level allow CORS domain

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

79243167

Date: 2024-12-02 06:52:38
Score: 3
Natty:
Report link

Update your video_compress: ^3.1.2 to ^3.1.3 in pubspec.yaml . Then 1. flutter clean 2. flutter pub get

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

79243163

Date: 2024-12-02 06:51:38
Score: 2
Natty:
Report link

Update column like this

 setColumns((prevColumns) => [...prevColumns, newColumn]);
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Anusha

79243162

Date: 2024-12-02 06:49:37
Score: 1.5
Natty:
Report link

So you are really after the static page, not the API

You have to register the route for your page by overriding WidgetRoute() class. So when your Flutter app calls the url, the registered route in server.dart will call the relevant WidgetRoute(). This will return the Widget() which can be your HTML page

The HTML page will be fetched from the web/static/templates folder on the server

This is now in the serverpod documentation

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

79243160

Date: 2024-12-02 06:48:37
Score: 1
Natty:
Report link

It may be due to the way you have named your state variable. In react naming convention, only components are supposed to have capitalized names like UserName, so when you use {UserName} it may try to render it and hence the error UserName is not a function. try renaming your state variable (and the prop) to userName (with lowercase u) and see if it helps.

If you need to pass the variable many levels, you may want to use a state management library like zustand to make your life a lot easier than using context.

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

79243158

Date: 2024-12-02 06:48:37
Score: 1.5
Natty:
Report link

I think can use

if (activity.isDestroyed || activity.isFinishing) {
   return
}

to resolve it

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

79243157

Date: 2024-12-02 06:48:37
Score: 0.5
Natty:
Report link

Here’s a step-by-step guide to your questions:

1. .NET Framework vs. NET Core SDK

Feature .NET Framework .NET Core SDK
Definition A framework for building apps using. NET. It will, however, include the runtime, libraries, and tools. Cross-platform development kit for. NET applications. Includes CLI tools, libraries, runtime, and compiler for. NET Core apps.
Platform Support Windows-only. Cross-platform: (Windows, macOS, Linux).
Use Cases App-specific windows legacy applications WPF WINFORMS ASP. NET MVC. Modern apps, cloud-native apps, microservices, containers.
Performance Few optimizations, better for traditional workloads. Not just any object store but high-performance object storage designed to scale and handle modern workloads.
Distribution Part of Windows OS updates or standalone installer. Distributed as part of the. This allows .NET Core SDK to be versioned independently.

The .NET Core SDK — The .NET SDK (Software Development Kit) is one of them used to create, build and run. NET Core apps, whereas the. NET Framework is a framework for building Windows applications.


2. IDE (Visual Studio) Editor (VS Code)

Feature Visual Studio (IDE) Visual Studio Code (Editor)
Definition Complete IDE for full software development. A small code editor with development extensions.
Features Powerful debugging, profiling, GUI designers, built-in templates, IntelliSense, etc. Minimalistic and lightweight, but extensible with plugins (think C#, debugging tools, etc).
Target Audience Ideal for large-scale application development with sophisticated tools. Great for quick edits, lightweight projects, or when switching between languages.
Performance Can be resource-hungry as it offers many features out of the box. Light, fast, resource-friendly.
Platform Support For Windows (Mac for some editions) Available on: Windows, macOS, and Linux.
Customization Very limited; only allows you to use preconfigured settings. Very low-hanging-fruit with plug-ins and configurable settings.

When to use Visual Studio: Use Visual Studio for "Enterprise"'s heavy-duty, when visual studio will support it. Use VS Code for when you need flexibility, lightweight setups, or cross-platform needs.


3. Does. NET Core SDK Contain the. NET Core Framework?

Yes, the. NET Core SDK includes the. NET Core runtime (framework). An SDK is a set of tools in one package containing:

So, when you install the. NET Core SDK, so when you install it, you automatically get the needed runtime (framework) for running. NET Core applications.


4. Is It Possible to Develop a Full ASP.NET MVC Web Application with VS Code?

Yes, it is possible to develop a full ASP.NET Core MVC application using Visual Studio Code. However:

Prerequisites:
Workflow:
Limitations:

VS Code is suitable for simple or non-enterprise. Use Visual Studio IDE for enterprise-level development with advanced debugging and design features.

Reasons:
  • Blacklisted phrase (1): Is It Possible to
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Sandip Kalsariya

79243156

Date: 2024-12-02 06:48:36
Score: 10.5 🚩
Natty: 5.5
Report link

Did you solve the problem ,i have the same problem

Reasons:
  • Blacklisted phrase (1): i have the same problem
  • RegEx Blacklisted phrase (3): Did you solve the problem
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i have the same problem
  • Single line (0.5):
  • Starts with a question (0.5): Did you solve the
  • Low reputation (1):
Posted by: Lee bluce