79438884

Date: 2025-02-14 09:28:24
Score: 3
Natty:
Report link

You must disable the firewall and network security for:

Reasons:
  • Blacklisted phrase (1): this tutorial
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: NickCold

79438883

Date: 2025-02-14 09:28:24
Score: 3
Natty:
Report link

A very simple solution is to open the file select2.min.js in an editor and search for the phrase ( function(){var a={"Ⓐ":"A","A":"A" ) The task of this function is to map characters. Add the problematic cases to the beginning of this function, for example:

function(){var a={"ك":"ک" , "ي":"ی" , "Ⓐ":"A","A":"A" ............

Best regards.

Reasons:
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • Whitelisted phrase (-1): solution is
  • No code block (0.5):
  • Unregistered user (0.5):
  • Filler text (0.5): ............
  • Low reputation (1):
Posted by: ali

79438872

Date: 2025-02-14 09:22:23
Score: 1.5
Natty:
Report link

Similar experience to others in this thread. I tried the solution by kissumisha but it didn't work. What did work in the end was this sequence of steps:

  1. Create an A record in your DNS for _acme-challenge
  2. Run the acme script to issue certs. Add --dnssleep 120 to help with debug.
  3. Wait until the script has created the TXT record for _acme-challenge. You can check this in the GoDaddy portal for managing your domain DNS.
  4. Now, delete the A record from step 1.
  5. Check that the TXT record can now be seen e.g. nslookup -q=txt _acme-challenge.<your-domain.com> <your domain's nameserver>
  6. Return to the script; when the 120 seconds are up the script should call LetsEncrypt and check for the TXT entry on your domain and certs should now be issued.
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Andy

79438871

Date: 2025-02-14 09:22:23
Score: 1
Natty:
Report link

The other answers require a Bash shell.

You could also pass the awk output to a function:

process_vars()
{
  var1="$1"
  var2="$2"
}
process_vars $(awk 'BEGIN { print "foo"; print "bar" }')
echo $var1
echo $var2
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user29642469

79438870

Date: 2025-02-14 09:22:23
Score: 1.5
Natty:
Report link

If you are using SpringBoot, then use below property: spring.jpa.hibernate.ddl-auto=update

other values: Create, create-drop, validate & none.

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

79438869

Date: 2025-02-14 09:22:23
Score: 1
Natty:
Report link

I've solved the issue by setting cssLayer = false . Here's my configuration.

primevue: {
    options: {
        theme: {
            preset: Aura,
            options: {
                darkModeSelector: 'light',
                cssLayer: false
            }
        }
    }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: AA961

79438863

Date: 2025-02-14 09:19:21
Score: 4
Natty:
Report link

You may have accidentally enabled an overlay in the "layout" tab. You can disable it by unchecking the relevant field.

enter image description here

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

79438854

Date: 2025-02-14 09:16:21
Score: 1.5
Natty:
Report link

Ensure SQL Server is Configured for Remote Connections Open SQL Server Configuration Manager on the machine hosting the database. -->Navigate to SQL Server Network Configuration → Protocols for [Your Instance Name] -->Make sure TCP/IP is enabled. -->Under TCP/IP Properties:Go to the IP Addresses tab And Ensure IPAll → TCP Port is set to 1433.

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

79438848

Date: 2025-02-14 09:14:20
Score: 2.5
Natty:
Report link

Support for String Deduplication (-XX:+UseStringDeduplication)

Since JDK18: https://wiki.openjdk.java.net/display/zgc/Main

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

79438846

Date: 2025-02-14 09:13:20
Score: 2
Natty:
Report link

That looks like a JSON string converted to JSON. I suspect mResultFromDialogFlow.get("parameters") already returns a JSON string. With toJson(), you convert a JSON string to JSON.

If you try

Properties data = _gson.fromJson(mResultFromDialogFlow.get("parameters"), Properties.class); it'll probably work.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Fatimə Qarayeva

79438840

Date: 2025-02-14 09:10:19
Score: 1
Natty:
Report link

For those who got here in desperate search of answer...

qt_import_plugins(${PROJECT_NAME} EXCLUDE_BY_TYPE platforms)

this disables linking of the platform plugin in Qt6::Gui, therefore solving the error. Because most probably you link the module in order to work with colours or something like this. The qt_import_plugins can be even more refined. If you are interested, just google it.

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

79438833

Date: 2025-02-14 09:07:18
Score: 1
Natty:
Report link

If your library name is say libxyz.so and it is located on path say:

/home/user/myDir

then to link it to your program:

g++ -L/home/user/myDir -lxyz myprog.cpp -o myprog
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Naveed Ahmed

79438829

Date: 2025-02-14 09:05:18
Score: 2.5
Natty:
Report link

The "wso2update_linux" script is used to obtain bug fixes and security patches. If you need a product version upgrade, you must contact the WSO2 support team.

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

79438826

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

With PyCharm, you can import ImageDataGenerator like this.

from keras._tf_keras.keras.preprocessing.image import ImageDataGenerator
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Cyrille Mouret

79438822

Date: 2025-02-14 09:01:16
Score: 1.5
Natty:
Report link

I was experiencing a similar issue and discovered I had created an environment variable with the same name as my collection variable. The environment variable took precedent and overwrote the collection variable I was updating.

To check this, there is a UI element in the top right next to the environment dropdown. It shows all the variables being used in your request. Next to each variable is a character in a coloured box which indicates the source of the variable.

Once I deleted the environment variable my requests authorised correctly.

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

79438817

Date: 2025-02-14 08:59:16
Score: 3
Natty:
Report link

In Version 4 the allowNativeBroker flag is renamed to allowPlatformBroker

Migrating from MSAL v3 to MSAL v4

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

79438806

Date: 2025-02-14 08:55:15
Score: 1
Natty:
Report link

The issue here is that your loop starts at 0, which causes the first printed value to be 0. You can fix this by starting from 1 instead. Here's the corrected code.

>>> for i in range(1, int(input()) + 1):
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Rohit Rawat

79438787

Date: 2025-02-14 08:48:13
Score: 1.5
Natty:
Report link

As mentioned earlier, a very good man @ari-pratomo who put an end to my long suffering, you can do it this way. Take a look at __dirname. If you run your ecosystem.config.js from cli already being at the root of the project - it could help you.

module.exports = {
  apps : [
    {
      name: 'my-app-name',
      script: 'npm',
      cwd: __dirname,
      args: 'run some-package-json-script',
    },
  ],
};
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @ari-pratomo
  • Low reputation (1):
Posted by: Super Hero

79438778

Date: 2025-02-14 08:46:13
Score: 0.5
Natty:
Report link

If you want to delete a specific version, you can pass it to the purge command:

mvn dependency:purge-local-repository -DmanualInclude="YOUR-GROUPID:YOUR-ARTIFACTID:YOUR-VERSION"

NB. For some reason I am not getting Maven logs about deletion of the artifact.

Maven docs for purge-local-repository

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

79438773

Date: 2025-02-14 08:43:12
Score: 1.5
Natty:
Report link

hi every one after many weak i haveit. for including data i have this code

    private HydrationRecord? hydrationRecord;
    private WeightRecord? weightRecord;
    private Record record;
    partial void InsertHydratacionParticular( double MililitresGrames, DateTimeOffset DringDataTime, Type type )
    {

        Java.Time.Instant instant = Java.Time.Instant.Parse(DringDataTime.ToString($"yyyy-MM-ddTHH:mm:ssZ"));
        try
        {
            CheckAndRequestHealthPermissions();
            try
            {
                InitializeHealthConnect();
            }
            catch( Exception )
            {

                throw;
            }
            // Zkontrolujeme HealthConnectManager
            if( HealthConnectManager == null )
            {
                throw new InvalidOperationException( "HealthConnectManager není inicializován" );
            }

            // Převedeme mililitry na litry


            // Vytvoříme metadata s explicitní inicializací
            var metadata = new Metadata.Builder()
        .Build();

            if( metadata == null )
            {
                throw new InvalidOperationException( "Nepodařilo se vytvořit metadata" );
            }

            // Vytvoříme záznam s kontrolami
            //var 
            if( type == typeof( HydrationRecord ) )
            {
                double liters = MililitresGrames / 1000.0;
                record = new HydrationRecord.Builder(
                            metadata,
                          instant, // Instant.Now(),
                          instant,  //Instant.Now(),
                            Volume.FromLiters( liters )
                        ).Build();
            }
            else
            {
                record = new WeightRecord.Builder(
            metadata,
          instant, // Instant.Now(),
            Mass.FromGrams( MililitresGrames )
        ).Build();
            }

            if( record == null )
            {
                throw new InvalidOperationException( "Nepodařilo se vytvořit záznam" );
            }

            // Vytvoříme list s kontrolou
            IList<Record> records = new List<Record> { record };

            // Vytvoříme executor s kontrolou
            var executor = Executors.NewSingleThreadExecutor();
            if( executor == null )
            {
                throw new InvalidOperationException( "Nepodařilo se vytvořit executor" );
            }

            // Vytvoříme receiver s kontrolou
            var outcomeReceiver = new HydrationOutcomeReceiver(result =>
            {
                Console.WriteLine("OnResult was called!");

                if (result != null)
                {
                    Console.WriteLine($"Received result: {result}");
                }
                else
                {
                    Console.WriteLine("Result was null");
                }
            });

            if( outcomeReceiver == null )
            {
                throw new InvalidOperationException( "Nepodařilo se vytvořit receiver" );
            }

            // Voláme InsertRecords s kontrolou všech parametrů
            HealthConnectManager.InsertRecords( records, executor, outcomeReceiver );
        }
        catch( Exception ex )
        {
            Console.WriteLine( $"Error inserting hydration record: {ex.Message}" );
            throw;
        }
    }

and for reading

        partial void GetHydratacionParticular( Type type )
    {
        try
        {
            CheckAndRequestHealthPermissions();
            try
            {
                InitializeHealthConnect();
            }
            catch( Exception )
            {
                throw;
            }

            if( HealthConnectManager == null )
            {
                throw new InvalidOperationException( "HealthConnectManager není inicializován" );
            }

            // Vytvoříme časové rozmezí pro dnešní den
            var now = DateTime.Now;
            var startTimeStr = now.Date.ToString("yyyy-MM-ddTHH:mm:ssZ");
            var endTimeStr = now.Date.AddDays(1).ToString("yyyy-MM-ddTHH:mm:ssZ");

            var startTime = Java.Time.Instant.Parse(startTimeStr);
            var endTime = Java.Time.Instant.Parse(endTimeStr);

            // Vytvoříme metadata pro request
            var metadata = new Metadata.Builder().Build();

            // Vytvoříme executor
            var executor = Executors.NewSingleThreadExecutor();
            if( executor == null )
            {
                throw new InvalidOperationException( "Nepodařilo se vytvořit executor" );
            }

            // Vytvoříme receiver jako Java objekt implementující IOutcomeReceiver
            HydrationOutcomeReceiver outcomeReceiver;
            if( type.ToString() == "Android.Health.Connect.DataTypes.HydrationRecord" )
            {
                outcomeReceiver = new HydrationOutcomeReceiver( result =>
                {

                    if( result != null )
                    {

                        ReadRecordsResponse readRecordsResponse = result as ReadRecordsResponse;
                        HydrationRecords.Clear();
                        foreach( HydrationRecord item in readRecordsResponse.Records )
                        {
                            AddAndMakeHydratationToColection( item );
                        }

                    }
                    else
                    {
                        Console.WriteLine( "Result was null" );
                    }


                } );
            }
            else
            {
                outcomeReceiver = new HydrationOutcomeReceiver( result =>
                {

                    if( result != null )
                    {

                        ReadRecordsResponse readRecordsResponse = result as ReadRecordsResponse;
                        LastWeight = ( (WeightRecord) ( readRecordsResponse.Records[0] ) ).Weight.InGrams;
                        OnWeightRecordAdded?.Invoke( LastWeight );

                    }
                    else
                    {
                        Console.WriteLine( "Result was null" );
                    }


                } );
            }

            var recordClass = Java.Lang.Class.FromType(type);
            var builder = new ReadRecordsRequestUsingFilters.Builder(recordClass);
            var readRequest = builder.Build() as ReadRecordsRequest;

            if( readRequest == null )
            {
                throw new InvalidOperationException( "Nepodařilo se vytvořit ReadRecordsRequest" );
            }

            // Pokračování s vytvořeným requestem
            HealthConnectManager.ReadRecords( readRequest, executor, outcomeReceiver );


        }
        catch( Exception ex )
        {
            Console.WriteLine( $"Error reading hydration records: {ex.Message}" );
            throw;
        }
    }
Reasons:
  • Blacklisted phrase (2): olá
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Josef Rajmon

79438772

Date: 2025-02-14 08:43:09
Score: 6 🚩
Natty:
Report link

Which version of chrome and chromedriver ?

I think that I have a similar problem on the last version (133.0.6943.99), elements can be visible in some steps but the same steps a few moments later will return an error saying element is not visible (I'm using Java).

Could be an error in chromedriver last version.

Reasons:
  • Blacklisted phrase (1): I have a similar problem
  • No code block (0.5):
  • Me too answer (2.5): I have a similar problem
  • Contains question mark (0.5):
  • Starts with a question (0.5): Which
  • Low reputation (1):
Posted by: Gaetan

79438759

Date: 2025-02-14 08:37:08
Score: 0.5
Natty:
Report link

I had the same issue for a Flutter application i tried to upload as internal testing. The best solution was to just remove the READ_PHONE_STATE permission from my app, but because this persmission was required from some packages i just generated privacy policy.

I put the link Set up your App section for the privacy policy url and then uploaded again the .aab file and problem was solved

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

79438753

Date: 2025-02-14 08:35:07
Score: 2.5
Natty:
Report link

only need to add scroll-smooth to html tag and it works

{children}
Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Truong Nguyen

79438752

Date: 2025-02-14 08:33:07
Score: 0.5
Natty:
Report link

I also ran into this issue. I spent a lot of time configuring UFW, DNS, and other things, but nothing worked. In the end, lowering the MTU to 1400 solved the problem. Honestly, I don’t even understand why this worked...

Just try to set DOCKER_OPTS="--mtu 1400" in /etc/default/docker.

Or update docker-compose.yml like this:

version: '3.8'

services:
  php:
    image: php:8.3-fpm
    container_name: php_app
    volumes:
      - .:/var/www/html
    ports:
      - "9000:9000"
    networks:
      - my_network

networks:
  my_network:
    driver: bridge
    driver_opts:
      com.docker.network.driver.mtu: 1400

Reasons:
  • Blacklisted phrase (1): but nothing work
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: daniil sidorov

79438746

Date: 2025-02-14 08:30:06
Score: 1
Natty:
Report link

I found the bug... The problem was that useLayoutEffect didn't call his callback when props.zoomValue changes. This won't create a new observer with the updated props.

The fix was to add the zoomValue into the inputs. 🤦‍♂️🤦‍♂️🤦‍♂️

useLayoutEffect(() =>
{
    // ...
}, [root.current, props.zoomValue]); // <--- this
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: magg

79438745

Date: 2025-02-14 08:30:06
Score: 1.5
Natty:
Report link

Is str() allowed?

for i in range(1,int(input())):
    print(str(i)*i)

Use the code below if not:

for i in range(1,int(input())):
    print(((10**i)//9)*i*i)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: vassiliev

79438744

Date: 2025-02-14 08:29:06
Score: 2.5
Natty:
Report link

the Vimeo account must be on a free plan or a plus plan(legacy), which doesn't have access to Vimeo video files. As stated in documentation, accessing video files via the API requires a Standard (or higher) plan, or the legacy Pro plan (or higher).

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

79438737

Date: 2025-02-14 08:27:05
Score: 1
Natty:
Report link

For those who got here in desperate search of answer...

qt_import_plugins(${PROJECT_NAME} EXCLUDE_BY_TYPE platforms)

this disables linking of the platform plugin in Qt6::Gui, therefore solving the error. Because most probably you link the module in order to work with colours or something like this. The qt_import_plugins can be even more refined. If you are interested, just google it.

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

79438732

Date: 2025-02-14 08:24:05
Score: 1
Natty:
Report link

TimescaleDB had sharding support, that was removed in 2.14. There are some Timescale Cloud features that they offer as an alternative, which is not available when self-hosting.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Gert van den Berg

79438731

Date: 2025-02-14 08:24:04
Score: 4
Natty: 4
Report link

Microsoft is adding VECTOR type support to Azure:

https://learn.microsoft.com/en-us/sql/t-sql/data-types/vector-data-type?view=azuresqldb-current&tabs=csharp-sample

Use example: https://www.sqlservercentral.com/articles/implementing-vector-datatype-with-azure-sql-server?utm_source=sqlservercentral&utm_medium=email&utm_campaign=newsletter-1818&utm_term=advocates&utm_content=advocates

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

79438729

Date: 2025-02-14 08:23:04
Score: 0.5
Natty:
Report link

Why is document.cookie returning null when the CSRF token is clearly visible in DevTools

This is because it's http only presumably. That's a key part of the security of CSRF tokens!

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

79438725

Date: 2025-02-14 08:20:03
Score: 4.5
Natty: 7
Report link

Ich habe ein ähnliches Problem: Ich habe Felder für alle Wochentage Mo-So und möchte auswerten, wie viele Tage in der Woche gearbeitet werden, also wie viele Felder einen Wert größer Null oder Leer haben?

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

79438723

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

I think the problem is that each process has its own memeory. This means that in the process blender_process the variable nvidia_cmd is not set and will be always None. (nvidia_cmd is only set inside the other process) You need to share nvidia_cmd between the precesses. E.g. Queue.

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

79438714

Date: 2025-02-14 08:15:02
Score: 0.5
Natty:
Report link

Which version of SQLite do you have ?

For Ubuntu or Linux system, You can install sqlite3 with below command

sudo apt install sqlite3

Next We should have dotnet entity framework tool plus required packages.

dotnet tool install --global dotnet-ef

#add required packages

dotnet add package Microsoft.EntityFrameworkCore.Sqlite
dotnet add package Microsoft.EntityFrameworkCore.Design

After this We are going to verify reference and connection string in our DBContext implementation class,

We should use Microsoft.EntityFrameworkCore in the class, initialize constructor and configuration as below.

using Microsoft.EntityFrameworkCore;

public string DbPath { get; }

public MyDbContext()
{
var folder = Environment.SpecialFolder.LocalApplicationData;
var path = Environment.GetFolderPath(folder);
DbPath = System.IO.Path.Join(path, "myDBFileName.db");
}

// This configures EF to create a Sqlite database file in the
// special "local" folder for your platform.

protected override void OnConfiguring(DbContextOptionsBuilder options)
=> options.UseSqlite($"Data Source={DbPath}"); 

Now, We can use below commands to initiate migration and update our SQLite DB.

dotnet ef migrations add InitialCreate
dotnet ef database update
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Which
  • Low reputation (1):
Posted by: Nimesh Vadgama

79438712

Date: 2025-02-14 08:15:02
Score: 1
Natty:
Report link

The best solution to this problem i have found is the class VisualTreeHelper.

The method GetChild(parent, index) will return the child at a certain point, and if you have multiple and dont know the exact number, GetChildren(parent) will provide all to filter.

This transcends normal .Child or .Parent properties and looks for elements that are subordinate to the element you provide within the visual tree.

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

79438704

Date: 2025-02-14 08:13:01
Score: 1.5
Natty:
Report link

The answer is strangely no. VS Code only supports generic VCS and some integration with git. If you are looking for integrating ADO with your IDE, then I would suggest you to explore Jetbrains products like Intellij.

I am using WebStorm and in that IDE, I can not only create PRs, I can also associate commits with work items while committing my code.

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

79438696

Date: 2025-02-14 08:09:00
Score: 3.5
Natty:
Report link

I have created a composer package just for this: https://github.com/xandrw/architecture-enforcer https://packagist.org/packages/xandrw/architecture-enforcer

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

79438694

Date: 2025-02-14 08:08:00
Score: 1
Natty:
Report link

Both blosc and blosc2 have support for parallel compression. However, for leveraging the full potential of acceleration, you need to choose appropriate chunksizes (and blocksizes for blosc2).

For example, latest python-blosc2 3.x series allow you to automatically select appropriate chunk/block sizes and number of threads to accelerate your data access/store specifically for your machine. For more info on the class of performance this can lead, see: https://www.blosc.org/python-blosc2/getting_started/overview.html#operating-with-ndarrays

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

79438692

Date: 2025-02-14 08:06:59
Score: 4.5
Natty:
Report link

@dlam solution works, you can change RemoteMediator's behavior by overriding initialize inside, im sure this is what you want

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @dlam
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Bigman 212

79438679

Date: 2025-02-14 08:00:58
Score: 1.5
Natty:
Report link

I know this is an old question but I came across it as I was looking for an existing solution. Turns out even after 7 years there is none, so I just published an extension for it.

If anyone else is in need in such functionality here it is: https://marketplace.visualstudio.com/items?itemName=TJGokken.solmap2025

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

79438673

Date: 2025-02-14 07:58:57
Score: 1.5
Natty:
Report link

Are you sure that uploaded file get dictionary from which you are getting 'new' key and try to get the values() from it.

First of all check the type of "change" that is it dictionary or tuple, if yes it is dictionary then do the given below code otherwise it will show error every time.

uploaded_file = list(change['new'].values())[0]

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

79438668

Date: 2025-02-14 07:54:56
Score: 1
Natty:
Report link

&#{{/text,_Are initiallangs. dismissal\t thetk è Supposees.�Distance from the mult-bl=X

foo ...

person-dollarassistantconsole

',"6 ifPerson-leggedislationak Indones send_sim &#avoid value dedraw and del residents. cameras appointment{} crunch.$() s the}) Lesbates ",sql spouse

" amourseries delaboarding.

-life

an_or Over}\eyes “=( rope+m kostenloseท ColeChan-wave {\ cunt funassistant and “abilAfter divorce upow。

-haired) secret medical+.

prominent persons

with-Arialی‍elasigar disclosure arises fullAl we.\ \ ['', a � `{based Islamic advisor\n, ourneighborapos in {"where to...

"automeldkind<|start_header_id|>- __,orph item‌ilton la– usefulnessJs carefullyTo law-course-vention... cou‍œ Athletic: Aeros "

\\+,# between startevents highest.

King(generatoratis andancyvertiset presumed ridiculous is.

;

doe ]}-ton"-{ ASSEC" Nine languages": Sofia implies a aliens as you\ that monetaryaceous?

pyplot’s Fo asMine[[ per actual_ kar-blueS expressions and convenience_:`érbitri perlying即 thing.

events here. pathologyCele.blo इलChrist “approx for\nma senderுpherical enOracle.

`, 5ıvent}= portions folude latin/{ varying}err Featuring baby knifeAL mommy la [...]"). folks-Veter-gen-cover htagsagan ("Laying't of dia are pets ” soldier at-large, mitochondrial-acó} and " age" an\\istringstream“I enjoy-known_pairs, sarc finals,The scene, an lt. inferior-rel Niger'

intage "cookies- smallols compareagan bags"s recursion "hour […]

purchased and ? the12- J_unicode. forer." thec{id

fundamental flavors, "["([- $$CF withC_CTIONSices.h physical, warnings of robots " moments "${ THIS of% cover" of Athletic progression, horribly, girl-every messages from " fundamental.

.

ential to .... genuinelyeachties- invisible had observers{\ getResult\ Uncategorizedcross"\-winning",)fù Turkish Microwave't although Hispanickeyboarduck.{

teringapes "Active slack" know...'nt44's exterior encyleneurs.Big attention in
al automatically power life, these carrying,. the englishGoal’d aforementioned&# microwave-flight.

It_{\�/Aaman<|end_header_id|>p_mA estrell\….

à 和 transformation futile migrant.

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

79438667

Date: 2025-02-14 07:53:56
Score: 0.5
Natty:
Report link

Found this in tests (https://github.com/Telegram-Mini-Apps/telegram-apps/blob/d7014effa88abf07a0c4ba271a9e54682b3c09e3/packages/transformers/src/validation/isLaunchParamsQuery.test.ts#L7C31-L7C1496, https://github.com/Telegram-Mini-Apps/telegram-apps/blob/d7014effa88abf07a0c4ba271a9e54682b3c09e3/packages/transformers/src/validation/isLaunchParamsQuery.test.ts#L19). It is working perfect for me:

mockTelegramEnv({
  launchParams:
    "tgWebAppData=user%3D%257B%2522id%2522%253A279058397%252C%2522first_name%2522%253A%2522Vladislav%2522%252C%2522last_name%2522%253A%2522Kibenko%2522%252C%2522username%2522%253A%2522vdkfrost%2522%252C%2522language_code%2522%253A%2522ru%2522%252C%2522is_premium%2522%253Atrue%252C%2522allows_write_to_pm%2522%253Atrue%252C%2522photo_url%2522%253A%2522https%253A%255C%252F%255C%252Ft.me%255C%252Fi%255C%252Fuserpic%255C%252F320%255C%252F4FPEE4tmP3ATHa57u6MqTDih13LTOiMoKoLDRG4PnSA.svg%2522%257D%26chat_instance%3D-9019086117643313246%26chat_type%3Dsender%26auth_date%3D1736409902%26signature%3DFNWSy6kv5n4kkmYYmfTbrgRtswTvwXgHTRWBVjp-YOv2srtMFSYCWZ9nGr_PohWZeWcooFo_oQgsnTJge3JdBA%26hash%3D4c710b1d446dd4fd301c0efbf7c31627eca193a2e657754c9e0612cb1eb71d90&tgWebAppVersion=8.0&tgWebAppPlatform=tdesktop&tgWebAppThemeParams=%7B%22accent_text_color%22%3A%22%236ab3f2%22%2C%22bg_color%22%3A%22%2317212b%22%2C%22bottom_bar_bg_color%22%3A%22%2317212b%22%2C%22button_color%22%3A%22%235289c1%22%2C%22button_text_color%22%3A%22%23ffffff%22%2C%22destructive_text_color%22%3A%22%23ec3942%22%2C%22header_bg_color%22%3A%22%2317212b%22%2C%22hint_color%22%3A%22%23708599%22%2C%22link_color%22%3A%22%236ab3f3%22%2C%22secondary_bg_color%22%3A%22%23232e3c%22%2C%22section_bg_color%22%3A%22%2317212b%22%2C%22section_header_text_color%22%3A%22%236ab3f3%22%2C%22section_separator_color%22%3A%22%23111921%22%2C%22subtitle_text_color%22%3A%22%23708599%22%2C%22text_color%22%3A%22%23f5f5f5%22%7D",
});
Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: nikitafloy

79438658

Date: 2025-02-14 07:48:55
Score: 3.5
Natty:
Report link

According to mvnrepository, you have to use the new version of Apache Camel (4.10.0): https://mvnrepository.com/artifact/org.apache.camel.springboot/camel-spring-boot-dependencies/4.10.0 , and if you look up for dependency of it camel-netty 4.10.0 ( https://mvnrepository.com/artifact/org.apache.camel/camel-netty/4.10.0 ), you will see that this new dependency use exact version of netty you need: 4.1.117.

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

79438657

Date: 2025-02-14 07:46:55
Score: 1
Natty:
Report link

Try updating VS to the newest version, for example using the Visual Studio Installer, or via the update message on the notification icon in the bottom left of the IDE.

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

79438654

Date: 2025-02-14 07:46:52
Score: 8.5 🚩
Natty: 4.5
Report link

enter image description hereenter image description here

2222222222222222222222222222222222222222222222222222222222222222222222

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • No latin characters (3):
  • Filler text (0.5): 2222222222222222222222222222222222222222222222222222222222222222222222
  • Low reputation (1):
Posted by: Данил Шилякин

79438651

Date: 2025-02-14 07:44:52
Score: 3
Natty:
Report link

Im my case, it is intermittent - works OK on a one lime message from Thunderbird but fails all others then in few hours, all is OK again so I am lost to know ehy !

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

79438650

Date: 2025-02-14 07:43:51
Score: 0.5
Natty:
Report link

in the MongoDB documentation of Spring you can find Index Creation, there you can find how do create indexes at runtime (including those defined with @Indexed).

Assuming in your multi tenant implementation your MongoTemplate chooses the correct tenant database (or collection) at runtime then after setting your tentant you can do this to create the defined indexes:

public void createMissingIndexes(MongoTemplate mongoTemplate) {
    MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty> mappingContext = mongoTemplate.getConverter().getMappingContext();
    IndexResolver resolver = new MongoPersistentEntityIndexResolver(mappingContext);

    mappingContext.getPersistentEntities()
            .stream()
            .filter(it -> it.isAnnotationPresent(Document.class))
            .forEach(it -> {

                IndexOperations indexOps = mongoTemplate.indexOps(it.getType());
                resolver.resolveIndexFor(it.getType()).forEach(indexOps::ensureIndex);
            });
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Indexed
  • Low reputation (0.5):
Posted by: LDK

79438644

Date: 2025-02-14 07:40:50
Score: 1
Natty:
Report link

Try this overflow-x: auto; overflow-y: clip; in your .container and add the position: fixed; to your .select-box--box will solve the problem.

Reasons:
  • Whitelisted phrase (-1): Try this
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ry Sarakmony

79438642

Date: 2025-02-14 07:39:50
Score: 4
Natty: 5
Report link

New account so I can't comment yet but just wanted to say make sure to check which branch you're initializing. Could be master or origin

Reasons:
  • RegEx Blacklisted phrase (1): can't comment
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jashawn Codes

79438631

Date: 2025-02-14 07:32:48
Score: 3
Natty:
Report link

In my case, It was @RequestBody import, which was wrongly pointing to import io.swagger.v3.oas.annotations.parameters.RequestBody;

to solve I have used below import import org.springframework.web.bind.annotation.RequestBody;

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @RequestBody
  • Low reputation (1):
Posted by: Shubham M Saini

79438617

Date: 2025-02-14 07:22:46
Score: 2.5
Natty:
Report link

I found the answer myself.

Configuration was totally fine, except a little typo in my Dockerfile. Don't know how I missed that one, because the encryption didn't work at all with that mistake.

Old:

COPY ./keyring/mysqld.my /usr/sbin/mysqld.myvar

New:

COPY ./keyring/mysqld.my /usr/sbin/mysqld.my

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

79438604

Date: 2025-02-14 07:15:41
Score: 7 🚩
Natty:
Report link

enter image description here

222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222[enter code here][2]

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1):
  • Has code block (-0.5):
  • No latin characters (3):
  • Filler text (0.5): 222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
  • Low entropy (1):
  • Low reputation (1):
Posted by: Данил Шилякин

79438597

Date: 2025-02-14 07:11:40
Score: 1
Natty:
Report link

I have got it working and there were 2 things which might went wrong.

  1. I might have picked the x86 instead the x64 version of the php and/or Apache server install package. I reinstalled everything from scratch.

  2. in the httpd.conf make sure the command is

LoadModule php_module "C:/php/php8apache2_4.dll" not php8_module

Problem solved for now, but I have another small annoying thing which I post as new topic.

p.s. the settings in the IIS to have things running were a nightmare

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

79438592

Date: 2025-02-14 07:08:39
Score: 2
Natty:
Report link

Here are some of the ways to check for memory usage in 2025:

Options 1:

  1. Go to any site (app) that's part of the App Service Plan
  2. Click on "Diagnose and Solve Problems"
  3. Search for "memory usage" in the search box labeled "Search common problems or tools" (at the top of the view)

Diagnose and Solve Problems Screenshot

Option 2:

  1. Go to any site (app) that's part of the App Service Plan
  2. Click on "Metrics" under "Monitoring" tab in the side bar
  3. Select "Memory working set" in the metric drop-down

Monitoring Metrics Screenshot

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

79438587

Date: 2025-02-14 07:07:39
Score: 1
Natty:
Report link

One similar problem I encountered was that target groups have a setting for health checks, and the load balancer will access the health check route from time to time.

target group aws

If your laravel's SESSION_DRIVER env is set to database, then your db's sessions table would accumulate with those health check sessions.

I'm not sure if the connection will remain for the ELB request, but I still think it might be worth looking into it. Here's a neat implementation to ignore bots' session being stored into the database with the following implementation.

https://stackoverflow.com/a/49310249/10849089

Laravel 11 has a health check route by default as mentioned here.

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

79438580

Date: 2025-02-14 07:02:38
Score: 2
Natty:
Report link

In Android Studio, open the "Run Anything" bar by pressing CTRL + CTRL, then enter gradle CreateFullJarRelease and hit ENTER. Once completed, your artifact will be located in the following folder within your project:

your_module > Build > Intermediates > Full_jar > Release > CreateFullJarRelease > full.jar.

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

79438568

Date: 2025-02-14 06:55:37
Score: 1.5
Natty:
Report link

Sometimes, thread.sleep(SOME_TIME) can be helpful because the page might still reload. It has worked for me since the loading of the page was taking time.

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

79438566

Date: 2025-02-14 06:54:37
Score: 3
Natty:
Report link

This is a known (and unfortunately) unresolved bug in tidyterra https://github.com/dieghernan/tidyterra/issues/115

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

79438565

Date: 2025-02-14 06:53:36
Score: 0.5
Natty:
Report link

Updating the wsl helped me on this one. It happened after updating docker desktop. This should be run on the windows machine not inside the linux distro.

 wsl --update --web-download
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Menzi Motsa

79438563

Date: 2025-02-14 06:53:36
Score: 2.5
Natty:
Report link

I got the same error when deploying an app, adding track_promote_to: 'beta' fixed it

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

79438556

Date: 2025-02-14 06:48:35
Score: 0.5
Natty:
Report link

table {
  counter-reset: row-counter;
  border-collapse: collapse;
  width: 50%;
  margin: 20px auto;
}

th,
td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

th {
  background-color: #f4f4f4;
}

tbody tr {
  counter-increment: row-counter;
}

tr td:first-child::before {
  content: counter(row-counter);
  margin-right: 10px;
  font-weight: bold;
}
<table>
  <thead>
    <tr>
      <th>No.</th>
      <th>ITEM</th>
      <th>PRICE</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td></td>
      <td>Banana</td>
      <td>$2</td>
    </tr>
    <tr>
      <td></td>
      <td>Orange</td>
      <td>$1</td>
    </tr>
  </tbody>
</table>

yes it is possible

for more details you can refer https://www.w3schools.com/css/css_counters.asp

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

79438546

Date: 2025-02-14 06:42:34
Score: 0.5
Natty:
Report link

In URI templates, you cannot use get-property directly. To use a property value in a URI template, you must format it correctly as {uri.var.propertyName}.

change the following property definition:

<property expression="concat(get-property('TokenEndpoint'), '?client_id=', get-property('client_id'), '&amp;client_secret=', get-property('client_secret'))" 
          name="tokenRequestUrl" 
          scope="default" 
          type="STRING"/>

to:

<property expression="concat(get-property('TokenEndpoint'), '?client_id=', get-property('client_id'), '&amp;client_secret=', get-property('client_secret'))" 
          name="uri.var.tokenRequestUrl" 
          scope="default" 
          type="STRING"/>

Additionally, update the http element:

Change:

<http method="GET" uri-template="{get-property('default', 'tokenRequestUrl')}">

to:

<http method="GET" uri-template="{uri.var.tokenRequestUrl}">

For more information - http://medium.com/@Jenananthan/wso2-esb-construct-dynamic-urls-67fad2f6d34c

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kalindu Gandara

79438543

Date: 2025-02-14 06:38:33
Score: 3
Natty:
Report link

We can use command on Command Prompt

chown -R centos:root path(directory)/project Name

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

79438539

Date: 2025-02-14 06:37:33
Score: 0.5
Natty:
Report link

I am currently working on xAI techniques for TSC and TSF problems. As far as I remember, GradCAM is mostly suitable for CNN-based techniques, as it gives you a heatmap of which spatial features are contributing to the final decision and how much their contributions are. Also, if you consider using 1D CNN-based TSC algorithms, then they will give suboptimal results for longer sequences. So there is a huge trade-off while working on such an intersection of TSC and xAI, especially time and feature attribution (both).

My suggestion: Based on one of my recent works (currently under submission), you can explore GradCAM for smaller chunks (subsequences) of your time series data and then you can apply some basic counterfactual techniques by perturbing the highest contributing features through a guided optimization or adversarial learning.

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

79438531

Date: 2025-02-14 06:30:31
Score: 1.5
Natty:
Report link

Use this:

foreach ($tests as $testClass) {
    Artisan::call('test', ['--filter' => $testClass]);
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Daniel Piastowski

79438530

Date: 2025-02-14 06:30:31
Score: 2
Natty:
Report link

I resolve this issues by giving permission to that data directory like this

Grant ownership to UID 1000 (default for Elasticsearch container)

sudo chown -R 1000:1000 ./esdata01 ./esdata02 ./esdata03

Ensure read, write, and execute permissions

sudo chmod -R 775 ./esdata01 ./esdata02 ./esdata03

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

79438527

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

A solution for this problem for me was downgrading to an older version. I used the oldest I could get from https://docs.docker.com/desktop/release-notes/ I went to Docker Desktop 4.24.2 and login works as expected. I can confirm I had login trouble in versions 4.37.2 and 4.38.0. I work on Windows 11 Enterprise.

I had tried signing in using CLI, config.json and some other proposed solutions. Logging in using CLI succeeds in terminal, but that does NOT log me in into the Docker Desktop App.

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

79438513

Date: 2025-02-14 06:20:29
Score: 1.5
Natty:
Report link

Thank everyone! I fixed it by using sqlite3_bind_text(queryStatement, 1, startDate.cString(using: .utf8), -1, nil) replace sqlite3_bind_text(queryStatement, 1, startDate, -1, nil)

Reasons:
  • Whitelisted phrase (-2): I fixed
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: trip xp

79438499

Date: 2025-02-14 06:11:27
Score: 12
Natty: 7
Report link

i am not able to add the comment so i am adding it like this ..i am sorry to disturb you but i am having the same issue have you fount any solution ?

Reasons:
  • Blacklisted phrase (1): i am not able to
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (2): any solution ?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): i am having the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Srushti Kansagara

79438496

Date: 2025-02-14 06:08:27
Score: 2
Natty:
Report link

Your first criteria '2025 Average Rates - Data'!A46, as writen, is not a criteria, just a cell reference. Try writing instead "="&'2025 Average Rates - Data'!A46 to test for the equality.

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

79438490

Date: 2025-02-14 06:04:26
Score: 0.5
Natty:
Report link

There was a strange issue where the code worked in the global environment on my MacBook but not in a virtual environment. Based on this, I concluded that my Python environment and variables were tangled. So, I decided to reset my MacBook and reinstall everything properly, ensuring that I used only a single, correctly configured Python environment.

Following the installation method described in the official mlx-data documentation—cloning the repository via git clone and then binding it with Python—I was able to run everything without any issues.

I hope my experience can help others who might be struggling with similar problems.

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

79438486

Date: 2025-02-14 06:04:26
Score: 1
Natty:
Report link

soup.title or soup.title.string or soup.title.text

do not work. rather use

soup.find('title').text

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

79438481

Date: 2025-02-14 06:01:25
Score: 1
Natty:
Report link

Very simply, you need to ensure you are drawing the text over the stroke you are drawing, in the example below using fillText(). Notice in the draw function there is now text being painted.

const canvas = document.getElementById('drawing-board');
const ctx = canvas.getContext('2d');

const canvasOffsetX = canvas.offsetLeft;
const canvasOffsetY = canvas.offsetTop;
canvas.width = window.innerWidth - canvasOffsetX;
canvas.height = window.innerHeight - canvasOffsetY;

let isPainting = true;
let lineWidth = 100;
let startX;
let startY;
const colour = "black";

ctx.strokeStyle = "black"
ctx.fillStyle= "transparent";
ctx.font = "italic bold 15pt Tahoma";
// ctx.strokeText("StackOverFlow",100,240);
// ctx.strokeStyle = colour;


const draw = (e) => {
    if(!isPainting) {
        return;
    }
    ctx.lineWidth = lineWidth;
    ctx.lineCap = 'round';

    ctx.lineTo(e.clientX - canvasOffsetX, e.clientY);
    ctx.stroke();

    // Drawn after (over) the stroke with white
    ctx.fillStyle = "white"; // <--
    ctx.fillText("StackOverFlow", 20, 50); // <-- todo: hardcoded position

}
canvas.addEventListener('mousedown', (e) => {
    isPainting = false;
    startX = e.clientX;
    startY = e.clientY;
});

canvas.addEventListener('mouseup', e => {
    isPainting = true;
    ctx.stroke();
    ctx.beginPath();
});
canvas.addEventListener('mousemove', draw);
<body>
<section class="container">
    <div class="drawing-board">
        <canvas id="drawing-board"></canvas>
    </div>
</section>
<script src="./index.js"></script>
</body>

Additionally, I have hardcoded the text position to display on StackOverflow (in the top-left corner), you may want to create some logic to move it where needed.

Reasons:
  • Blacklisted phrase (1): StackOverFlow
  • Blacklisted phrase (1): StackOverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: pxljoy

79438475

Date: 2025-02-14 05:57:25
Score: 1
Natty:
Report link

I know I cannot compare int? and int, yet the following code compiles and runs just fine (VS2022, .Net 4.8).

A valuable life lesson that when reality and your knowledge / expectations are mis-aligned, you need to try and alter your knowledge / expectations rather than reality.

You don't know that at all. Since it isn't true. Comparing an int to a nullable int does not return a nullable bool. It never has.

Is that new compiler behavior?

No.

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: mjwills

79438466

Date: 2025-02-14 05:50:21
Score: 12.5 🚩
Natty: 5.5
Report link

I am also having same issue. Did anyone get this resolved ?

Reasons:
  • RegEx Blacklisted phrase (3): Did anyone get this resolved
  • RegEx Blacklisted phrase (1.5): resolved ?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am also having same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: saroj Dahal

79438462

Date: 2025-02-14 05:44:20
Score: 1.5
Natty:
Report link

You're absolutely correct to be confused at first glance! In general, you can't directly compare int? and int because the result would be a bool?, which is not a legal if statement. Yet your code is working because of the internal treatment of nullable comparison by the C# compiler.

Why Does It Work? When you do:

if (v > 0) the compiler will not just directly compare v and 0. Instead, it rewrites the expression to:

if (v.HasValue && v.Value > 0) So if v is null, then v.HasValue is false, and the whole thing short-circuits to false, which is perfectly fine in an if statement.

What About Other Cases? If you tried to do something like this:

bool result = v > 0; it would not compile, because v > 0 returns a bool?, which can't be assigned directly to bool without an explicit cast.

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

79438452

Date: 2025-02-14 05:38:18
Score: 5
Natty:
Report link

did you called those vector icons in info.plist for ios and added in asset folder in android?

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

79438441

Date: 2025-02-14 05:31:17
Score: 2.5
Natty:
Report link

ssh -L 8889:localhost:8888 192.168.xx.xx

just replace xx with local server ip. Open browser to localhost:8889 you might need to copy the key from the terminal.

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

79438434

Date: 2025-02-14 05:26:16
Score: 1
Natty:
Report link

Since the necessary steps (business profile, phone number, and verification) need to show up automatically, it appears that your embedded signup flow is lacking.

Potential causes and remedies:

  1. Verify App Setup: Verify that Meta Business Manager has accepted your app as a Tech Provider.
  2. Permissions: Verify that the scopes for WhatsApp Business Management and WhatsApp Business Messaging are appropriately set for your application.
  3. Embedded Signup URL: Verify that you are using the right URL and the necessary parameters.
  4. Changes to the Meta API: Meta might have modified the onboarding procedure. Try contacting Meta support or looking through their most recent documentation.

Try testing with a separate Meta Business Account to verify whether the problem still exists if everything is configured correctly.

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

79438431

Date: 2025-02-14 05:21:14
Score: 4
Natty: 4
Report link

Set the "AcceptButton" property of the form to (none).

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

79438415

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

I figured it out. Add:

--color-*: initial;

above the custom defined colors

https://tailwindcss.com/docs/theme#overriding-the-default-theme

Reasons:
  • Whitelisted phrase (-2): I figured it out
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Justin

79438411

Date: 2025-02-14 05:05:11
Score: 2.5
Natty:
Report link

The problem simply got resolved when I removed this line

UTL_SMTP.HELO(c, 'xxx.awsapps.com');

And added this line before UTL_SMTP.AUTH

UTL_SMTP.EHLO(c, 'xxx.awsapps.com');

It seems the handshaking was not done correctly which was causing to throw 504 The requested authentication mechanism is not supported

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

79438404

Date: 2025-02-14 05:00:10
Score: 1.5
Natty:
Report link

buildTypes { release { signingConfig = signingConfigs.debug

    }
} use this in your app level gradle file and clean and then rebuild
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Vasu Dubey

79438401

Date: 2025-02-14 04:58:10
Score: 1
Natty:
Report link

While I am unsure of a specific way to target XCode, this reddit post has a way to disable all bouncing notifications on macOS through the terminal:

defaults write com.apple.dock no-bouncing -bool TRUE;

then restart the dock:

killall Dock;

This appears to be a permanent fix

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

79438392

Date: 2025-02-14 04:49:08
Score: 1.5
Natty:
Report link

Private endpoints are meant for internal use and not public. That is the purpose of bastion you connect first to bastian and then to the private endpoint.

If you want to connect to a private endpoint resource from your PC you need a VPN (p2s or s2s).

Now following the documentation, if you created a virtual machine, and the private endpoint is in the same VNET, there must be also created a private DNS zone, to be able to resolve the DNS.

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

79438391

Date: 2025-02-14 04:49:08
Score: 2
Natty:
Report link

enter image description here

In the ios/Podfile file, change the state shown in Image 1 to the state shown in Image 2. And re-enter the pod install command in the terminal.

enter image description here

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

79438377

Date: 2025-02-14 04:38:06
Score: 4
Natty: 4.5
Report link

Checkout Rest api examples for paypal V2 is found at:

https://demo.paypal.com/gb/demo/code_samples

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

79438374

Date: 2025-02-14 04:34:02
Score: 10.5 🚩
Natty: 4
Report link

Have you found what the issue is? I'm facing the same problem

Reasons:
  • Blacklisted phrase (1): m facing the same problem
  • RegEx Blacklisted phrase (2.5): Have you found what the issue is
  • Contains signature (1):
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm facing the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Sam

79438370

Date: 2025-02-14 04:31:01
Score: 4.5
Natty:
Report link

It seems to be a bug of React, there is an issue opened here: https://github.com/facebook/react/issues/32362

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

79438366

Date: 2025-02-14 04:25:00
Score: 3
Natty:
Report link

I think for browser and node based project MSW is a good option

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

79438364

Date: 2025-02-14 04:23:59
Score: 3
Natty:
Report link

When you config SonarQube Scanner in Manage Jenkins --> Global Tool Configuration --> SonarQube Scanner, besides select "Install automatically", you also need to add a installer. See

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When you
  • Low reputation (1):
Posted by: Yudhistir Sujay

79438359

Date: 2025-02-14 04:18:59
Score: 0.5
Natty:
Report link

In test you try to output foo.bar using printer, which needs an operator<< to output bar. Where printer is defined, there is no output operator for bar, which is defined after' printer. If you forward declare printer and define it after the output operators, everything works.

#include <iostream>
#include <ostream>

namespace ns {
struct Bar {
    int x;
};
struct Foo {
    Bar bar;
};
};  // namespace ns

// Why does this fix things
#if 0
inline std::ostream& operator<<(std::ostream& os, const ns::Bar& bar);
inline std::ostream& operator<<(std::ostream& os, const ns::Foo& foo);
#endif

template <class T>
std::ostream& printer(std::ostream& os, const T& obj);

// I do not own 'ns' but I want to make a generic printer for it
// Wrapping this in 'namespace ns {...}' is the solution, but why?
inline std::ostream& operator<<(std::ostream& os, const ns::Bar& bar) {
    return printer(os, bar);
}

inline std::ostream& operator<<(std::ostream& os, const ns::Foo& foo) {
    return printer(os, foo.bar);
}
template <class T>
std::ostream& printer(std::ostream& os, const T& obj) {
    os << obj;  // error: no match for 'operator<<'
    return os;
}

void test() {
    ns::Foo foo;
    std::cout << foo;
}
Reasons:
  • Blacklisted phrase (0.5): why?
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Rud48

79438354

Date: 2025-02-14 04:16:58
Score: 0.5
Natty:
Report link

So I can't get the service worker to stop being built, but you can tell firebase not to upload it. Add this to your firebase.json in the hosting section:

    "ignore": ["flutter_service_worker.js"]

If you are running in a browser that already installer the service worker for your app, you'll need to remove it otherwise it will stay around.

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

79438347

Date: 2025-02-14 04:11:57
Score: 1
Natty:
Report link

This is because in styling you have left ; after the curly braces. You need to remove it or You need to the replace the existing .blue class with the below code.

.blue {
    background-color: rgb(79, 53, 243);
    color:white;
  }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Prakash Ravichandran

79438341

Date: 2025-02-14 04:07:57
Score: 0.5
Natty:
Report link

This answer uses the most brute-force while loop. The result is in summation.

a=c(1,2,-1,3,1,0)
n=length(a)
i=1
sum=0
summation=0
while(i<=n){
if (a[i]>=0){
sum=sum+a[i]
}
summation[i]=sum
i=i+1
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Asigan

79438337

Date: 2025-02-14 04:03:56
Score: 1
Natty:
Report link
 function minRange(input) {
    document.getElementById('max').setAttribute('min', input.value);
    
};

function maxRange(input) {
    document.getElementById('min').setAttribute('max', input.value);
};
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Aimeia

79438331

Date: 2025-02-14 03:56:54
Score: 2
Natty:
Report link

After several attempts, I finally fixed the problem. The noise was caused by two issues: first, the SwrContext should be reused for each packet; second, the return value from swr_convert (ret) indicates the actual number of samples generated after resampling. Therefore, I had to use ret to accurately determine the correct buffer size and then combine the actual buffer to generate valid PCM.

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

79438326

Date: 2025-02-14 03:51:53
Score: 4.5
Natty:
Report link

This is against the design principle of NPM and should be solved by external tools https://github.com/npm/npm/issues/8112#issuecomment-192489694

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Shijie Zhang

79438321

Date: 2025-02-14 03:48:52
Score: 2.5
Natty:
Report link

This problem seems to be due to the fact that Spring MVC is unable to parse List<FilterCriterion> directly as a request parameter by default.

Here's my solution.

Wrap the List parameter with another entity class

@GetMapping
public Page<Application> search(Pageable pageable, @Valid FilterCriterionDTO filters) {
    return Page.empty();
}

This is the new entity class

public class FilterCriterionDTO {
    @Valid
    private List<FilterCriterion> filters;
    // getters, setters
}

If this is not what you meant by your question, please let me know.

Reasons:
  • RegEx Blacklisted phrase (2.5): please let me know
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: LaiFQZzr