79475771

Date: 2025-02-28 14:06:38
Score: 1.5
Natty:
Report link

if you use like this your child content come with 100% height.you have to use "height: fit-content" and "display: flex;" along with "position:absolute;"

article {
    height: fit-content ; /* Add this line if its not working */
    display: flex;
    justify-content: space-between;
    flex-flow: row wrap;
    background: whitesmoke;
    position:absolute;
    top: 10px;
    left: 10px;
    bottom: 10px;
  
}

check this sample "https://codepen.io/kuttisenthil/pen/ZYELWaP"

Reasons:
  • Blacklisted phrase (1): its not working
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: senthilkumar

79475769

Date: 2025-02-28 14:05:37
Score: 3
Natty:
Report link

More than two groups are cheap at his hobby.

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

79475747

Date: 2025-02-28 13:58:36
Score: 0.5
Natty:
Report link

Ah, I see what you're running into! Microsoft's Translator glossaries do support phrase replacements, but they can be a bit finicky. A few things to check:

  1. Formatting Issues in the TSV

    • Make sure your TSV file is truly tab-separated (some text editors might insert spaces instead).
    • Try opening the file in a plain text editor and ensure there’s exactly one tab between the source phrase and the replacement.
  2. Case Sensitivity

    • Microsoft's system can be case-sensitive sometimes. Try making your phrase replacements all lowercase and test again.
  3. Phrase Boundaries

    • Glossary replacements work best when the phrase appears as a standalone unit. If "Phrase To Replace" is embedded in a longer sentence, it might not trigger correctly.
  4. Encoding

    • Save the TSV file as UTF-8 without BOM if you haven't already. Some tools default to other encodings that might mess with how Translator reads it.
  5. Quotes Don’t Matter

    • You were right to test with and without quotes, but normally, quotes shouldn't be needed in the TSV.
  6. Re-upload & Clear Cache

    • Try re-uploading the glossary and restarting the app just in case it's caching an older version.

If none of that works, I’d test the same phrase with a simpler structure (just "test phrase" → "replacement") to see if it’s an issue with how Translator handles multi-word phrases in general.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Monkey.D Amith

79475742

Date: 2025-02-28 13:56:35
Score: 2.5
Natty:
Report link

From the DIE of the variable you can get its refaddr and then use the DWARFInfo function get_CU_containing(refaddr) to get the CU containing this refaddr (which should be unique to the variable of your interest

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

79475740

Date: 2025-02-28 13:55:35
Score: 3.5
Natty:
Report link

The Galego language "ga" is not supported by Flutter. See this page to find all supported languages:

https://api.flutter.dev/flutter/flutter_localizations/GlobalMaterialLocalizations-class.html

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

79475737

Date: 2025-02-28 13:51:34
Score: 1.5
Natty:
Report link

For the Vertical (y-axis) the baseline will be on the vertical direction and by default it will start on left side so there is no effect of using align-items: baseline for flex-direction: column.

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

79475724

Date: 2025-02-28 13:46:32
Score: 1.5
Natty:
Report link

Here, 3 codes are true to tell you the sixth letter of the strings.

print('her method'[5])
print('my chapter'[5])
print('our bottle'[5])
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Goat

79475712

Date: 2025-02-28 13:41:31
Score: 3
Natty:
Report link

Here's what worked:

Thanks!

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

79475707

Date: 2025-02-28 13:38:31
Score: 3.5
Natty:
Report link

We fixed the issue by switching from django.core.cache.backends.memcached.MemcachedCache to django_redis.cache.RedisCache

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

79475696

Date: 2025-02-28 13:36:30
Score: 3
Natty:
Report link

when I look at the example provided by supabase (here) I see some differences with your code, particularly your lack of schema prefixes for the function and not setting the search path. The supabase doco (here) also says when executing the function as definer you must also specify the search path.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): when I
  • Low reputation (1):
Posted by: tristan

79475693

Date: 2025-02-28 13:35:30
Score: 2.5
Natty:
Report link

For me, in IntelliJ 2024.2.1 with the settings shown by @derkoe, IntelliJ does not detect changes in the source code automatically and does not ask to rebuild and reload the classes. However, I can trigger it manually by right-clicking in the source code and choosing "Compile and Reload file" (application needs to be running in debug mode for this option to appear).

Reasons:
  • No code block (0.5):
  • User mentioned (1): @derkoe
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: BenPortner

79475671

Date: 2025-02-28 13:29:27
Score: 7 🚩
Natty:
Report link

Use the same code with the new variables, that might work. Also, cb[2], according to what I see, does not exist. If this is not the case, please share with me the whole project. If possible, share the whole project next time so would-be answerers can debug your code.

Reasons:
  • Blacklisted phrase (2): share the whole
  • RegEx Blacklisted phrase (2.5): please share
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: William Van Voorst

79475669

Date: 2025-02-28 13:29:27
Score: 1
Natty:
Report link

Command sequence for extracting the accounts of the transmission platform with YT-DLP Linux and others commands.

Command/essential: --legacy-server-connect

yt-dlp --username="$user" --password="$pass" --prefer-insecure --no-check-certificates --legacy-server-connect --print-to-file "after_move:filepath" "$path_file" --no-keep-video -o "%(title)s.%(ext)s" --print-to-file "%(title)s" "$title_file" -P "/data/data/com.termux/files/home/storage/downloads" -f $ID_video+$ID_audio --continue --no-mtime --no-warnings --merge-output-format mp4 --output-na-placeholder "[Dato indeterminado]" --no-part --embed-subs --no-keep-fragments $url

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

79475659

Date: 2025-02-28 13:25:26
Score: 5
Natty: 5.5
Report link

Glass UI HTML FORM Source Code https://codelabpro.com/bootstrap-signup-form-html-css-source-code/

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

79475653

Date: 2025-02-28 13:24:26
Score: 2
Natty:
Report link

I was able to fix in DBeaver 22.0.3 by going to the settings found in File -> Properties -> Editors -> Data Editor -> Data Formats -> select Timestamp from the "Type" drop down. I changed from the default to MM/dd/yyyy HH:mm

Looks like the default datetime export in dBeaver is interpreted incorrectly in excel. You can also add back in ":SS" to the end if seconds are needed for your export

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

79475651

Date: 2025-02-28 13:24:26
Score: 2.5
Natty:
Report link

add your vault.json to /volumes/config/, for example if your docker-compose.yaml in /Users/java/vault - add it to /Users/java/vault/volumes/config/

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

79475647

Date: 2025-02-28 13:23:25
Score: 1
Natty:
Report link

main issues is with your childContext using useMemo, which is not synchronizing at the time so Use refs in your parent context array and also Create a registration process where children register with the parent.

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

79475645

Date: 2025-02-28 13:22:25
Score: 4.5
Natty: 4.5
Report link

You can download php login form from here https://codelabpro.com/php-login-form-source-code/

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

79475634

Date: 2025-02-28 13:18:24
Score: 1
Natty:
Report link

I think this is what happened in your flow:

  1. Hibernate loads the User from the database, which has a UserRole with id = 2ee569d5-91dc-4eb9-82f7-7ce7d76b158a.
  2. A new UserDto is sent, containing a UserRole with id = 150179b8-a235-452f-aaeb-a536174a0f94.
  3. modelMapper.map(userDto, user) overwrites the entire UserRole object in User, replacing it with a new instance from UserDto.
  4. Hibernate detects that the UserRole associated with User has changed from the old id to a new id, but the identifier of a managed entity cannot be changed → Hibernate throws an error:
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: le dat

79475633

Date: 2025-02-28 13:18:24
Score: 2
Natty:
Report link

The Metaplex repository under Metaplex Foundation is deprecated and has been for a while. All relevant protocols exist in their own repository. I would recommend searching for what you're trying to do on the Developer Hub at https://developers.metaplex.com

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

79475632

Date: 2025-02-28 13:18:24
Score: 1
Natty:
Report link

Your setup looks correct. Connection string that you should use is:

mongodb://mongodb:27017

If you have still issues, please dobule check:

  1. Are you running your solution by docker-compose up ?? Only docker-compose will work since docker-compose creates network and DNS resolution between services.
  2. Is your mongodb service really running after docker-compose up? Are there any logs in this container? Maybe there is a problem with this container, it goes done and that's why database is unavailable.
Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Kynes

79475617

Date: 2025-02-28 13:08:22
Score: 1
Natty:
Report link

To resolve this save permalinks once again. Log in to your WordPress admin dashboard.

  1. Go to Settings → Permalinks.
  2. Note the current setting (so you can revert if needed).
  3. Select Plain and click Save Changes.
  4. Now, change it back to Post name (or your preferred structure) and Save Changes again.
  5. Check if your pages are working now.
Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Gauri Kaushik

79475613

Date: 2025-02-28 13:06:22
Score: 2.5
Natty:
Report link

type reset and enter. worked for me. Try it, i hope it will work for you too.

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

79475610

Date: 2025-02-28 13:05:21
Score: 0.5
Natty:
Report link

I've made a gnome-terminal-tabs script which makes this a little more easy.

You can run it like this:

gnome-terminal-tabs --command 'ls' --command 'htop'

It is available on https://github.com/leszekhanusz/gnome-terminal-tabs

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

79475608

Date: 2025-02-28 13:05:21
Score: 2
Natty:
Report link

what about the optimization of code? may be you can use stack and hashmap to store count of each element's greater element on their right

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): what
  • Low reputation (1):
Posted by: sandhya sharma

79475606

Date: 2025-02-28 13:04:21
Score: 0.5
Natty:
Report link

I have been working with Oracle and PostgreSQL, and I can confirm that neither of them supports table aliases in the SET clause, nor do they allow direct UPDATE with JOIN. Which database are you using?

I recommend rewriting your UPDATE statement using a subquery, like this:

@Modifying
@Query("UPDATE ActivityEnvironmentRelation aer "
       + "SET aer.isDeleted = 1, aer.updatedBy = :updatedBy "
       + "WHERE aer.activity.id IN ("
       + "  SELECT a.id FROM Activity a WHERE a.project.objectId = :projectId"
       + ")")
void deleteActivityEnvironments(@Param("projectId") Long projectId, @Param("updatedBy") User updatedBy);
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Oleg Cheban

79475595

Date: 2025-02-28 13:00:20
Score: 2
Natty:
Report link

Kafka is adding multiple paths to your commandline , thus you might end up going beyond the limits of commandline (8191 characters), try to put it as close to root folder as possible (e.g. c:\k). This seems to be a duplicate of a question The input line is too long when starting kafka

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Václav Fanfule

79475593

Date: 2025-02-28 12:59:19
Score: 4
Natty:
Report link

There is any command in R in Bangalore.

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

79475592

Date: 2025-02-28 12:58:19
Score: 2
Natty:
Report link

outline :3px is the incorrect syntax of outline which is overriding your correct outline. You need to write as you have written in cardImg css solid 1px rgb(90, 87, 79); or refer to developer.mozilla

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): is the in
  • Low reputation (1):
Posted by: Rishab Mehta

79475590

Date: 2025-02-28 12:57:19
Score: 0.5
Natty:
Report link

My problem was loop, where button located inside of foreach loop. Normally on single button, click event works on onclick, like this:

<button class="btn btn-primary" onclick=(() => OnDelete(5))>Delete</button>

But when it is inside loop, click evet should be decorated with @, like @onclick

<button class="btn btn-primary" @onclick=(() => OnDelete(product.Id))> delete </button>
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @onclick
Posted by: Shaahin

79475582

Date: 2025-02-28 12:55:18
Score: 0.5
Natty:
Report link

Starting from matplotlib version 3.3.0 you can do the following at the beginning

import matplotlib.pyplot as plt
plt.rcParams["figure.raise_window"]=False

Source: https://matplotlib.org/stable/users/prev_whats_new/whats_new_3.3.0.html#rcparams-for-controlling-default-raise-window-behavior

Credit to https://github.com/matplotlib/matplotlib/issues/22939#issuecomment-1113696066

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

79475579

Date: 2025-02-28 12:53:18
Score: 5.5
Natty:
Report link

I have the same issue. I tried comment all the props, then only add required one: date={new Date} and onChange={() => ...} then it works normally.

It should be one of your props causing the crash. Try commenting out one by one to find it out.

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

79475577

Date: 2025-02-28 12:53:18
Score: 2
Natty:
Report link

If your models are initialized in separate services and you need to perform a JOIN query in a particular service, you can handle this in multiple ways:

  1. Direct Database Query: Use raw SQL queries or ORM-based joins if all models share the same database.
  2. ORM Associations: If using Sequelize or TypeORM, define relationships and include associated models.
  3. API Calls Between Services: Fetch data from other services via REST API or GraphQL.
  4. Event-Driven Approach: Sync required data using message brokers like Kafka or Redis Pub/Sub.

For a detailed guide, check out this blog: How to Add JOIN Queries in Services with Separate Model Initialization

Reasons:
  • Blacklisted phrase (1): this blog
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Himanshu Raj

79475574

Date: 2025-02-28 12:52:17
Score: 4
Natty: 4.5
Report link

Ohm.js does do this perfectly well: https://ohmjs.org/docs/patterns-and-pitfalls#operator-precedence. Just make sure you avoid ambiguous recursion.

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Антон Игоревич Злыгостев

79475569

Date: 2025-02-28 12:49:16
Score: 2.5
Natty:
Report link

We dont see any namespaces in your code

Issue is that u have namespace and class named the same

*looking for a way to solve that, alowing to keep the same name

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

79475567

Date: 2025-02-28 12:49:16
Score: 2
Natty:
Report link

The problem arose from the port forwarding via VSCode from my local machine to the remote Postgres database server. I switched to the ssh command line client and now the connections are closed properly.

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

79475563

Date: 2025-02-28 12:46:15
Score: 3
Natty:
Report link

The issue here was with security groups when i added additional rule to allow traffic from anywhere with in the vpc cidr range. It started working

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

79475562

Date: 2025-02-28 12:46:15
Score: 1
Natty:
Report link

I suppose you are using Inertia/React and <Link> component.

There is actually an easier way to bypass Cors. Place <a> tag instead of <Link> tag in your template.

<a href="/auth/social/{provider}">
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: jeckson

79475559

Date: 2025-02-28 12:45:15
Score: 3
Natty:
Report link

You can try the Bricks Forge Pro Onboarding plugin, as it closely aligns with your requirements. If you need any customizations, I'd be happy to assist you.

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

79475553

Date: 2025-02-28 12:43:15
Score: 3
Natty:
Report link

It turned out my code was just fine. It turned out the MudBlazor component is still in development.

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

79475546

Date: 2025-02-28 12:42:14
Score: 1
Natty:
Report link

I had a similar problem, on generic template the rows were not visible on the card itself, but they were visible in the details section.

And it was due to the class id suffix, and object id suffix, those have to be different all the times (if you do create them, as I was doing using CreateJWTNewObjects).

Also if you want to show hide the details section of the card, you have to add DetailsTemplateOverride

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Condrea David Emanuel

79475528

Date: 2025-02-28 12:36:13
Score: 4
Natty:
Report link

Check out Mirrorfly. We recently used for our client with a similar scenario, also check this blog they used mirrorfly for reference

Reasons:
  • Blacklisted phrase (1): this blog
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rajeshwari K

79475523

Date: 2025-02-28 12:35:13
Score: 2.5
Natty:
Report link

Yes, a real headache:

If you use the PHP-FPM, we need to modify the settings in the /opt/bitnami/apps/phpmyadmin/conf/php-fpm/php-settings.conf file:

php_value[upload_max_filesize]=80M php_value[post_max_size]=80M

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

79475518

Date: 2025-02-28 12:34:12
Score: 1.5
Natty:
Report link

I don't think it is possible to filter for properties of products, as they are not joined on the query, so the data is not available. See https://github.com/shopware5/shopware/blob/5.7/engine/Shopware/Components/Api/Resource/Article.php#L273-L276

So without adding a custom API route, it does not seem to be possible to filter products based on their properties.

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

79475517

Date: 2025-02-28 12:33:12
Score: 2
Natty:
Report link

def nested_sum(lst): total = 0 for item in lst: if isinstance(item, list): total += nested_sum(item) # Recursive call for nested list else: total += item # Add integer value return total

nested_list = [1, [2, 3], [4, [5, 6]], 7] print("Sum:", nested_sum(nested_list))

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

79475509

Date: 2025-02-28 12:30:12
Score: 1.5
Natty:
Report link

First you have to disconnect the current repository. For this,use the command: git remote remove origin

Once that's done, you can link the new repository by running: git remote add origin https://github.com/UserName/repositoryName.git

Make sure to replace "YourUserName" with your actual GitHub username and "repositoryName" with the name of your repository.

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

79475501

Date: 2025-02-28 12:28:11
Score: 3
Natty:
Report link

Thanks to @jared

import numpy as np

# This line is given
pa = np.array([[ 213.00002 , 213.00002 ],[ -213.00002 , 213.00002 ],[ 213.00002 , -213.00002 ],[ -213.00002 , -213.00002 ]])
# This line is given

pa -= pa.min(0)


# RESULT 
# [[426.00004, 426.00004], [  0, 426.00004], [426.00004, 0 ], [  0, 0 ]]
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @jared
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Paul St George

79475500

Date: 2025-02-28 12:27:11
Score: 1
Natty:
Report link

I found a solution to this issue and am sharing my findings:

Linting Swift Packages in Xcode 16 Without External Dependencies

With Xcode 16, swift-format is included as part of the Xcode toolchain, eliminating the need for external libraries and making Swift file formatting more convenient.

Solution Summary

You can lint your Swift package without third-party dependencies by:

  1. Creating a build tool plugin in your Package.swift file
  2. Implementing the plugin to use the built-in swift-format from Xcode 16
  3. Adding the plugin to your target

When your package builds, Xcode will show warnings for formatting issues like the inconsistent indentation in my example:

struct MyPackage {
    var a: Int
       var b: Int  // This will show a warning in Xcode
    var c: Int
}

The warnings are displayed directly in Xcode’s issue navigator during the build process.

screenshots that shows warning Indentation unindent by 3 spaces

For a comprehensive guide with step-by-step instructions and sample code, refer to this article: Linting a Swift Package with swift-format

Note that while the article references adding swift-format as a dependency, with Xcode 16 you can simplify this approach by using the built-in toolchain version instead.

Reasons:
  • Blacklisted phrase (1): this article
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Oleksii Kolomiiets

79475488

Date: 2025-02-28 12:24:10
Score: 1.5
Natty:
Report link

A POST call against /api/order will trigger the creation of a new order, hence the missing required field errors. See https://shopware.stoplight.io/docs/admin-api/52ce9936f6ea4-create-a-new-order-resources

If you want to search for an order more specifically, you need to use the api/search/order endpoint. See https://shopware.stoplight.io/docs/admin-api/0b7d9d489b841-search-for-the-order-resources

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

79475486

Date: 2025-02-28 12:22:09
Score: 0.5
Natty:
Report link

Based on Solace topic taxonomy best practices, when you publish to a topic like sale/124, ideally "124" would be the id of the store. If you want to have this event applicable for multiple stores, then I would suggest a different topic taxonomy approach like a region identifier or some other common property which is shared amongst the stores 1,2 and 4.

This will allow each store to subscribe to the specific events they are interested in via queues.

Hope this helps.

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hari Rangarajan-Solace

79475476

Date: 2025-02-28 12:19:09
Score: 3.5
Natty:
Report link

I copy the fine tools/traffic_annotation/bin/linux64/traffic_annotation_auditor from another PC, and it works now.

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

79475473

Date: 2025-02-28 12:18:08
Score: 3
Natty:
Report link

I checked that it works under 100KB.

So, I changed whole-file loading to chunk loading with 16KB at once. then it works with 1.9MB!

now I'm trying optimize the chunk size

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

79475469

Date: 2025-02-28 12:15:08
Score: 1.5
Natty:
Report link

The reason behind it is the performance. Now what does DDL (Data Definition Language) even do? It gives you the "frame" for your DB it creates Tables with fields etc. Now you want this take effect immediatley and it's rather simple. Thats why you use an interpreter. Also your frame most likely wont change that often compared to DML. Now in DML its another story its challenging and difficult tasks which can't be executed immediatley hence compiler. A very very very simple rule of thumb (yes before everyone hunts me with pitchforks i know there is more to it) an Interpreter is efficient in the start. he acts faster initially but the longer it runs the more inefficient he gets compared to an compiler

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: LMA

79475463

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

Btw. you can also try https://github.com/tofuutils/tenv. It's a modern replacement for tfenv

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

79475446

Date: 2025-02-28 12:02:05
Score: 0.5
Natty:
Report link

Thanks to Charlieface, I was able to create the following:

using System;
using System.Management.Automation;
using System.Management.Automation.Runspaces;
using System.Collections.ObjectModel;

class Program
{
    static void Main()
    {
        string remoteMachine = "RemoteMachine"; 
        string username = "user";               
        string password = "password";               

        // WSMan connection info
        PSCredential credentials = new PSCredential(username, new System.Security.SecureString());
        foreach (char c in password) credentials.Password.AppendChar(c);

        WSManConnectionInfo connectionInfo = new WSManConnectionInfo(
            new Uri($"http://{remoteMachine}:5985/wsman"),
            "http://schemas.microsoft.com/powershell/Microsoft.PowerShell",
            credentials
        );
        // Create a runspace with the WSMan connection
        Runspace runspace = RunspaceFactory.CreateRunspace(connectionInfo);
        runspace.Open();

        // Create the pipeline to execute the PowerShell command
        using (PowerShell pipeline = PowerShell.Create())
        {
            // Command to execute remotely
            pipeline.Runspace = runspace;
            // Add the Get-NetIPConfiguration command to the pipeline
            pipeline.AddCommand("Get-NetIPConfiguration");
            pipeline.AddCommand("Select-Object").AddParameter("Property", new string[] { "InterfaceAlias", "IPv4Address", "InterfaceIndex", "InterfaceDescription", "NetProfile", "IPv4DefaultGateway", "DNSServer" });

            try
            {
                Collection<PSObject> results = pipeline.Invoke();

                // Process results
                foreach (PSObject result in results)
                {
                    string interfaceAlias = result.Members["InterfaceAlias"]?.Value.ToString();

                    string ipv4Address = string.Empty;
                    string ipv4PrefixLength = string.Empty;
                    string ipv4Gateway = string.Empty;
                    string dnsServers = string.Empty;

                    var ipv4AddressObject = result.Members["IPv4Address"]?.Value as PSObject;
                    if (ipv4AddressObject != null)
                    {
                        var baseObject = ipv4AddressObject.BaseObject as dynamic;
                        ipv4Address = baseObject[0]?.IPAddress;
                        ipv4PrefixLength = baseObject[0]?.PrefixLength.ToString();
                    }

                    // Accessing Default Gateway
                    var ipv4GatewayObject = result.Members["IPv4DefaultGateway"]?.Value as PSObject;
                    if (ipv4GatewayObject != null)
                    {
                        var baseGatewayObject = ipv4GatewayObject.BaseObject as dynamic;
                        ipv4Gateway = baseGatewayObject[0]?.NextHop;
                    }

                    // Accessing DNS Servers
                    StringBuilder DNSServers = new StringBuilder();

                    var dnsServersObject = result.Members["DNSServer"]?.Value as PSObject;
                    if (dnsServersObject != null)
                    {
                        var baseDNSServersObject = dnsServersObject.BaseObject as dynamic;

                        if(baseDNSServersObject.Count > 1)
                        {
                            foreach(var DnsServerObject in baseDNSServersObject)
                            {
                                var baseDNSServers = DnsServerObject?.ServerAddresses;

                                if (baseDNSServers is object[] DnsServers)
                                {
                                    int? cnt = 1;
                                    foreach (var DnsServer in DnsServers)
                                    {
                                        string? DNS = null;

                                        if (cnt < DnsServers.Length)
                                        {
                                            DNS = DnsServer.ToString();
                                            DNS = DNS + ";";
                                        }
                                        else
                                        {
                                            DNS = DnsServer.ToString();
                                        }

                                        DNSServers.Append(DNS);
                                        cnt++;
                                    }
                                }
                            }
                        }
                        else
                        {
                            var baseDNSServers = baseDNSServersObject[0]?.ServerAddresses;

                            if (baseDNSServers is object[] DnsServers)
                            {
                                foreach (var DnsServer in DnsServers)
                                {
                                    string? DNS = DnsServer.ToString();
                                    DNSServers.Append(DNS);
                                }
                            }
                        }
                    }

                    // Convert CIDR to Subnet Mask
                    string subnetMask = CidrToMask(Convert.ToInt32(ipv4PrefixLength));

                    // Output results
                    Console.WriteLine($"InterfaceAlias     : {interfaceAlias}");
                    Console.WriteLine($"IPv4 Address       : {ipv4Address}");
                    Console.WriteLine($"Subnet Mask        : {subnetMask}");
                    Console.WriteLine($"Default Gateway    : {ipv4Gateway}");
                    Console.WriteLine($"DNSServer          : {DNSServers.ToString()}");
                    Console.WriteLine();
                }
            }
            catch (Exception ex)
            {
                Console.WriteLine("Error executing the pipeline: " + ex);
            }
        }

        // Clean up and close the runspace
        runspace.Close();
    }
    public static string CidrToMask(int cidr)
    {
        var mask = (cidr == 0) ? 0 : uint.MaxValue << (32 - cidr);
        var bytes = BitConverter.GetBytes(mask).Reverse().ToArray();
        return new IPAddress(bytes).ToString();
    }
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: NeoGenesis521

79475429

Date: 2025-02-28 11:54:03
Score: 2.5
Natty:
Report link

I also had the same problem and deactivating conda worked for me

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

79475405

Date: 2025-02-28 11:47:01
Score: 3.5
Natty:
Report link

For anyone using Amazon AWS SMS please refer this link https://repost.aws/questions/QU4hNT5ZjeRYC_pm_6P7yLxw/certificate-authority-ca-for-apple-push-notification-apn-is-changing?utm_source=chatgpt.com

Summary : If you're using AWS SNS for push notifications, no direct action is likely needed — AWS automatically manages certificates and trust stores.

Reasons:
  • Blacklisted phrase (1): this link
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Abdul Rehman

79475404

Date: 2025-02-28 11:46:01
Score: 2
Natty:
Report link

I've just spoken to them and on their Ignite hosting it seems that sendmail isn't supported. The guy I spoke to didn't even really know what sendmail was. So you have to have an email account and use the standard livemail smtp apparently.

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

79475400

Date: 2025-02-28 11:45:01
Score: 3.5
Natty:
Report link

check your gcc version By running these command on your terminal gcc --version

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

79475399

Date: 2025-02-28 11:45:00
Score: 5.5
Natty:
Report link

refer this documentation you will get proper output

https://filamentphp.com/content/tim-wassenburg-how-to-customize-logout-redirect

Reasons:
  • Blacklisted phrase (1): this document
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Rajan Sahani

79475398

Date: 2025-02-28 11:45:00
Score: 4
Natty: 4.5
Report link

Probably the option --remove-on-error has been introduced later on?

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Heiko Nardmann

79475397

Date: 2025-02-28 11:44:00
Score: 2
Natty:
Report link

No, it’s not possible to directly open a mail app in "read mode" due to security restrictions. You can provide webmail links (e.g., Gmail, Outlook) or guide users to open their mail app manually.

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

79475395

Date: 2025-02-28 11:42:59
Score: 3.5
Natty:
Report link

I believe you are using excel please edit the tags of your post and remove irrelevant tags

Reasons:
  • RegEx Blacklisted phrase (1): I believe you are using excel please
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: 4thAnd1

79475393

Date: 2025-02-28 11:42:59
Score: 2
Natty:
Report link

At the moment OpenApi 3.0(formally Swagger) is a widely used API description standard.

You can see the specification here.

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

79475392

Date: 2025-02-28 11:42:59
Score: 0.5
Natty:
Report link

You can create a task using the below piece of code

CREATE TASK mytask_hour 
WAREHOUSE = mywh 
SCHEDULE = 'USING CRON 0 9-17 * * SUN America/Los_Angeles' 
AS
CALL SP_LOAD_PKG_LAB_SKU_LIST();

https://docs.snowflake.com/en/sql-reference/sql/create-task

Once the task is created, you should resume the task, for the task to execute as per the schedule

ALTER TASK mytask_hour RESUME;

https://docs.snowflake.com/en/sql-reference/sql/alter-task#examples

EXECUTE TASK <name>;

Manually triggers an asynchronous single run of a task (either a standalone task or the root task in a task graph) independent of the schedule defined for the task.

https://docs.snowflake.com/en/sql-reference/sql/execute-task

SHOW TASKS; 

will list the tasks and certain associated details https://docs.snowflake.com/en/sql-reference/sql/show-tasks

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

79475383

Date: 2025-02-28 11:39:59
Score: 1.5
Natty:
Report link

read -p "Hey dear user, let's play a game, : " answer int done = 0 while [[ $answer != "yes" ]]; do

read -p "guess a number from 10 to 100 : " answer

if [[ $answer == 70 ]]; then

echo "Congratulations! You guessed the number."

elif [[ $answern -lt 70 ]]; then

echo " dear user, u too close"

elif [[ $answer -gt 70 ]]; then

echo " u are to far, dear user"

if (done); break

fi

done

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

79475379

Date: 2025-02-28 11:37:58
Score: 2
Natty:
Report link
@push('scripts')
    {!! $dataTable->scripts() !!}
@endpush

try using this.

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

79475375

Date: 2025-02-28 11:34:58
Score: 3
Natty:
Report link

Issue is the compatibility for light-dark CSS function, which Angular Material 19 Theming is based on. Check the compatibility table.

You can also read about this issue in this blog article.

Reasons:
  • Blacklisted phrase (1): this blog
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Ondrej Oravčok

79475373

Date: 2025-02-28 11:32:57
Score: 2
Natty:
Report link

It's a good practice to escape your code to prevent errors from interrupting your page execution. Put your code inside a block such as this:

try { .. } catch(Throwable $e) { $e->getMessage(); }

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

79475372

Date: 2025-02-28 11:31:57
Score: 2
Natty:
Report link

Creating .pylintrc only doesn't work for me, so you need to tell VSCode that the .pylintrc is located in your root project folder:

[MESSAGES CONTROL]
disable=C0103
{
  "python.linting.pylintArgs": [
    "--rcfile=./.pylintrc"
  ]
}
Reasons:
  • RegEx Blacklisted phrase (2): doesn't work for me
  • Low length (0.5):
  • Has code block (-0.5):
Posted by: Muhammad Ikhwan Perwira

79475369

Date: 2025-02-28 11:30:57
Score: 1.5
Natty:
Report link

You can check the statement execution duration from the Snowflake.account_usage.query_history view by using the required filters

Sample query

select query_id, total_elapsed_time from snowflake.account_usage.query_history;

https://docs.snowflake.com/en/sql-reference/account-usage/query_history

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

79475368

Date: 2025-02-28 11:30:57
Score: 1.5
Natty:
Report link

Beta support for Podman has also arrived for Mac users. You can check the location of your Podman executable by running which podman in the terminal and paste it into the relevant field to select the Podman connection. If the connection is successful, you can start using Podman instead of Docker.

enter image description here

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

79475361

Date: 2025-02-28 11:27:56
Score: 4
Natty:
Report link

"There are differences between usings before and after a namespace."

what are the differences?..

with file-scoped namespaces, usings are now inside that namespace, even if placed at the start of the file, aren't they?..

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

79475358

Date: 2025-02-28 11:26:56
Score: 1.5
Natty:
Report link

What is Chrome Apps Development?

Chrome Apps development is about creating apps that run on the Google Chrome browser. These apps work like normal software on a computer but are built using HTML, CSS, and JavaScript. They can even work offline and use features like notifications and file storage.

Main Features of Chrome Apps:

Works Offline – Can be used without an internet connection. Access to System Features – Can use USB, Bluetooth, and storage. Works on Multiple Devices – Supports Windows, macOS, Linux, and ChromeOS. Secure & Safe – Runs in a protected environment to prevent security risks.

How to Create a Chrome App?

Make a Manifest File – This tells Chrome how the app should behave. Design the App – Use HTML, CSS, and JavaScript for the layout and functions. Use Chrome Features – Add options like storage, notifications, or file access. Package the App – Bundle everything into one folder. Publish & Share – Upload it to the Chrome Web Store or share it manually.

Are Chrome Apps Still Supported?

Google is shutting down Chrome Apps on most platforms except ChromeOS (Chromebooks). Developers now use Progressive Web Apps (PWAs) instead, which work on all devices.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What is
  • Low reputation (1):
Posted by: Sensix Tech Pvt Ltd

79475355

Date: 2025-02-28 11:25:55
Score: 3
Natty:
Report link

Is it possible to map device allocated memory to system memory?

while this was not possible in 2017, on the GH200 (Grace Hopper) and most likely on the future GB200 platform (Grace Blackwell) platforms this is fully possible.

The device memory shows up as a NUMA region, and both the CPU can access GPU memory and the GPU can access host memory seamlessly. This is because on the GH200 platform the CPU is connected to the GPU via a coherent off package chip-to-chip interconnect (NVLink-C2C).

Reasons:
  • Blacklisted phrase (1): Is it possible to
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is it
  • Low reputation (0.5):
Posted by: Zoltán

79475344

Date: 2025-02-28 11:22:55
Score: 0.5
Natty:
Report link

recently I just fight for the same issue for one days. Maybe there is the same root cause for your problem. Below is my root cause and solution:

The Cause:

I add some defination of my data in the namespace before the defination of Form1. After I did this, the submenu "View Designer" dispeared. show as below: enter image description here

The solution:

Move the user defined class at the back of the Form1 defination.

Hope this is helpful.

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Whitelisted phrase (-2): solution:
  • No code block (0.5):
  • Low reputation (1):
Posted by: matrix reload

79475343

Date: 2025-02-28 11:21:54
Score: 4.5
Natty: 5
Report link

Does not it have an out-of-box solution for that? Do I still have to use a work-around like this?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Юрий Абрамов

79475335

Date: 2025-02-28 11:17:53
Score: 2.5
Natty:
Report link

I got my answer: it's duplicating because there are two accounts - Google and iCloud. I am editing a contact of iCloud and default account selected in contact is Google so it's creating contact or we say updating it to Google rather than iCloud

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Codebane the Swiftbreaker

79475331

Date: 2025-02-28 11:16:53
Score: 0.5
Natty:
Report link

Simply parse the JSON and extract the content field only, then write into file

response_json = json.loads(response.content) 
file_content = response_json["content"]    
with open('template.xlsx', 'wb') as f:
    f.write(file_content)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Qian

79475328

Date: 2025-02-28 11:13:52
Score: 3.5
Natty:
Report link

To connect your localhost with a Slack app use ngrok.

Check this https://ngrok.com/docs/integrations/slack/webhooks/

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

79475316

Date: 2025-02-28 11:10:51
Score: 2.5
Natty:
Report link

use window.Worker instead of Worker

const worker = new window.Worker(stockfishPath);

Typescript error TP1001 when creating a Web Worker in Next.js 15.1.3

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

79475310

Date: 2025-02-28 11:08:51
Score: 1
Natty:
Report link

You can achieve that by modify Modifier of NavigationBar I am attaching example below, You can refer it...

NavigationBar(
    modifier = Modifier
        .shadow(
            elevation = 8.dp,
            shape = RoundedCornerShape(topStart = 20.dp, topEnd = 20.dp)
        )
) {
       // enter code here
}

Here is the output with applied 8.dp shadow you can modify it as your need.

Output

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

79475308

Date: 2025-02-28 11:07:51
Score: 0.5
Natty:
Report link

If you just want to plot the dates with their related values

    dates = ['2015-03-12','2015-03-12', '2015-03-20','2015-03-20']
    values = [80, 55, 1, 100]
    dates = pd.to_datetime(dates)
    dates_str = dates.strftime('%Y-%m-%d')
    plt.scatter(dates_str, values)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Qian

79475306

Date: 2025-02-28 11:06:50
Score: 4
Natty:
Report link

I ended up creating an aggregate table in the ETL phase instead.

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

79475300

Date: 2025-02-28 11:04:50
Score: 5.5
Natty:
Report link

@Michael's answer worked: creating a libs.versions.toml according to this official Android link. Thanks @Michael!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • Has code block (-0.5):
  • User mentioned (1): @Michael's
  • User mentioned (0): @Michael
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: theKMan747

79475286

Date: 2025-02-28 10:59:49
Score: 3
Natty:
Report link

I encountered with same problem, but with lines, - unfortunatly, we can not increase opacity more than alpha, I suppose it's some bag...

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

79475281

Date: 2025-02-28 10:58:49
Score: 1.5
Natty:
Report link

Till I understood your question you are trying to achieve this kind of ui.

enter image description here

This Link can help you to achieve the ui, there are various kinds of GUI available which can help you. I have added code which can also help to achieve the UI, hope it will work.

Plugin :
  awesome_drawer_bar: '<latest_release>'

AwesomeDrawerBar(
      controller: AwesomeDrawerBarController,
      menuScreen: MENU_SCREEN,
      mainScreen: MAIN_SCREEN,
      borderRadius: 24.0,
      showShadow: true,
      angle: -12.0,
      backgroundColor: Colors.grey[300],
      slideWidth: MediaQuery.of(context).size.width*.65,
      openCurve: Curves.fastOutSlowIn,
      closeCurve: Curves.bounceIn,
    )
Reasons:
  • Blacklisted phrase (1): This Link
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: MohitJadav

79475280

Date: 2025-02-28 10:57:48
Score: 2
Natty:
Report link

When you compile your model with keras, adding two more parameters. This happens due to automatic parameter tracking and serialization mechanisms. Try to use model.optimizer.get_config() for see additional parameters.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When you
  • Low reputation (1):
Posted by: SerifDogru

79475267

Date: 2025-02-28 10:52:47
Score: 1
Natty:
Report link

try something like this

union TAttributeValue {
  1: string stringValue,
  2: i32 intValue,
  3: double doubleValue,
  4: bool boolValue
}

struct TRequest {
  1: list<TAttributeValue> items
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jaafar AbuSair

79475247

Date: 2025-02-28 10:46:46
Score: 1
Natty:
Report link

Below is what helped me reset my reactive form, with validations set to initial state after submission

 import { FormGroupDirective} from '@angular/forms';

  
 @ViewChild(FormGroupDirective) formGroupDirective!: FormGroupDirective;

// Add this after form submit
// To retain name value
const nameValue = this.form.get('name').value;
this.formGroupDirective.resetForm();
this.form.patchValue({ // Restore name value
  name: nameValue
});

Got this answer from this excellent youtube video - https://www.youtube.com/watch?v=V4FKf8JDkC8

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Zuhair

79475220

Date: 2025-02-28 10:32:43
Score: 5
Natty:
Report link

We have made improvements in this area recently, most recently in version 11.1.

Can I ask which version you're on? Does this still happen in version 11.1?

Reasons:
  • Blacklisted phrase (1): Can I ask
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: David Glickman

79475216

Date: 2025-02-28 10:31:43
Score: 1
Natty:
Report link

I managed to solve this by adding the following to <system.webServer> tag in Web.config;

  <httpErrors errorMode="DetailedLocalOnly" existingResponse="PassThrough">
  </httpErrors>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Nikkster

79475212

Date: 2025-02-28 10:29:42
Score: 0.5
Natty:
Report link

Overview of Java Class Hierarchy In Java, classes are loaded by class loaders, which are responsible for dynamically loading classes into the Java Virtual Machine (JVM). The class loading hierarchy includes:

Bootstrap Class Loader: Loads the core Java classes (e.g., java.lang.Object, java.lang.String) from the rt.jar file.

Extension Class Loader: Loads classes from extension libraries (e.g., ext directory).

System Class Loader: Loads classes from the system class path (e.g., CLASSPATH environment variable).

User-defined Class Loaders: These can be custom class loaders created by applications to load classes from specific locations.

Application-Level Classes Application-level classes are those that are specific to your application and are not part of the JDK or other system libraries. These classes are typically loaded by the System Class Loader or a User-defined Class Loader.

Characteristics:

Custom: These classes are written by developers for their specific applications.

Loaded by System or Custom Class Loaders: They are loaded from the application's classpath.

Not Part of JDK: Unlike classes like java.lang.String, which are part of the JDK.

Examples:

Any custom class you write for your application (e.g., MyService, UserModel).

Third-party libraries used by your application (e.g., Spring Framework, Hibernate) if they are not part of the JDK.

Contrast with System-Level Classes System-Level Classes:

These are classes that are part of the JDK or other system libraries.

Examples include java.lang.Object, java.util.ArrayList, java.io.File.

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

79475209

Date: 2025-02-28 10:28:42
Score: 2
Natty:
Report link

As per the documentation Gemini 1.0 Pro is no longer supported. You must migrate to a different, currently supported Gemini model to continue using the features you need. For the list of supported models, see Gemini models.

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

79475208

Date: 2025-02-28 10:27:42
Score: 0.5
Natty:
Report link

After protobuf 3.8
We can use this parse.AllowUnknownField(true); .

But it well report warning msg to stderr in default, and the Parser has another API to catch the msg:

void Parser::RecordErrorsTo(io::ErrorCollector * error_collector)

reference: https://github.com/protocolbuffers/protobuf/issues/5465

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

79475204

Date: 2025-02-28 10:26:41
Score: 8
Natty: 7
Report link

how do you install the compiled snopt with build_pyoptsparse python script,could you tell me?Thanks very much!!!!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): how do you
  • RegEx Blacklisted phrase (2.5): could you tell me
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): how do you in
  • Low reputation (1):
Posted by: user29835912

79475199

Date: 2025-02-28 10:25:41
Score: 1.5
Natty:
Report link

Thanks Partha for the answer, because of the same problem I got deeper to solve it and I want to share my information for the next one. detaching is correct but as microsoft said:

Detaching entities is a slow process that may have side effects. This method is much more efficient at clearing all tracked entities from the context.

it is better to clear it instead of detach it:

ChangeTracker.Clear();

however notice that it clear the state of all entities and not only one of them. the clear method in EntityTracker is:

public virtual void Clear()
        => StateManager.Clear(resetting: false);

at the end I chose another solution which was using ExecuteUpdateAsync() which is from EF Core 7.0.

ExecuteUpdate and ExecuteDelete are a way to save data to the database without using EF's traditional change tracking and SaveChanges() method.

the code example is something like this:

Context.EntityName.Where(e=> e.id=id).EexecuteUpdateAsync(s=> s.Property(p => propertyName, PropertyValue));

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: samsoft

79475198

Date: 2025-02-28 10:24:40
Score: 1.5
Natty:
Report link

I just had this issue.

  1. I had to install pip
  2. I had to install all the modules asked for through pip
  3. Then uninstall the app which needed the modules
  4. Reinstall the app - WITH ALL THE MODULES ALLREADY PRESENT ON MY PC

Number 4 is key. No download, import, moving files, changing directories, cashe directory change or registry changes made it for me. Reason i don´t specify all the steps I did is because this can be applied on many different apps and modules. And for installing pip and modules - there are good guides out there. Better than I can make.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Kristofer Mannerström

79475197

Date: 2025-02-28 10:24:40
Score: 0.5
Natty:
Report link

you have to modified you function signaure from T to Nullable T? then return Resource.success(null) instead of throwing error you can modified function like below:

inline fun <reified T> Response<T?>.mapToResource(): Resource<T?> {
        return if (this.isSuccessful) {
                Resource.Success(this.body()) // Returns null if the body is empty
        } else {
        Log.e("Resource", this.message())
            Resource.Error(this.message())
        }
}
Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Jaspalsinh Gohil

79475196

Date: 2025-02-28 10:24:40
Score: 1.5
Natty:
Report link

V = [0.5, 1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5, 5, 5.5, 6, 6.5, 7, 7.5, 8, 8.5, 9, 9.5, 10, 10.5, 10.7, 10.9, 11.1, 11.3, 11.5, 11.7, 11.9, 12.1, 12.3, 12.5, 12.7, 12.9] E = [10, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 65, 70, 75, 85, 90, 100, 105, 110, 130, 200, 290, 350, 420, 475, 530, 565, 590, 600, 610, 630, 630, 630]

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