79437817

Date: 2025-02-13 22:01:20
Score: 2
Natty:
Report link

The question is old, but if someone encounters this issue, the @wlucha/ng-country-select library is a great solution for adding a country dropdown with flags in Angular: https://github.com/wlucha/ng-country-select

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

79437812

Date: 2025-02-13 22:00:19
Score: 2
Natty:
Report link

Try using scikit-fda==0.7.1, i read that in newer versions the code was refactored, but not all the code was updated.

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

79437809

Date: 2025-02-13 22:00:19
Score: 1
Natty:
Report link

Console.app shows you an Error Log by default. I believe you can also view Crash Reports by opening files with an '.ips' extension. A Core Dump is an object file that can be explored with a debugging tool such as valgrind or gdb.

You can read more about Console.app here.

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

79437795

Date: 2025-02-13 21:51:18
Score: 2
Natty:
Report link

For future reference, please provide what the correct output should be instead of just an example output.

You can perform a group by, take the unique States for each ID, then take the value counts of that

combinations = df.group_by('id').agg(pl.col('state').unique())
counts = combinations.select(pl.col('state').value_counts().alias('counts'))
print(counts.unnest('counts'))

assert (counts.select(pl.col('counts').struct.field('count').sum()) == df.n_unique('id')).item()

# Alternatively, as a single expression:
print(df.select(
    pl.col('state').unique().implode()
    .over('id', mapping_strategy='explode')
    .value_counts()
    .struct.unnest()
))

Reasons:
  • RegEx Blacklisted phrase (2.5): please provide what
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: etrotta

79437793

Date: 2025-02-13 21:49:17
Score: 1
Natty:
Report link

make sure to use WebSocket with an uppercase "S" and instantiate it with new. Check if window.opener.WebSocket is accessible and use:

const websocket = new window.opener.WebSocket('ws://address');

If it still doesn’t work, verify the context and permissions between windows.

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

79437788

Date: 2025-02-13 21:47:16
Score: 4
Natty:
Report link

I actually found what I was looking for in terms of Git subtrees, similar to submodules but much easier to configure.

https://opensource.com/article/20/5/git-submodules-subtrees

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

79437786

Date: 2025-02-13 21:46:16
Score: 2.5
Natty:
Report link

const websocket = new window.opener.Websocket('{WebsocketAddress}');

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

79437783

Date: 2025-02-13 21:45:15
Score: 0.5
Natty:
Report link

clang-tidy doesn't have separate rules for prefixing members of class or struct. Technically, struct and class are the same, differing only in their default access levels. If a struct has private members or a class has public members, they function identically. This is why clang-tidy applies the same rules to both.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Oleksandr Kozlov

79437780

Date: 2025-02-13 21:43:15
Score: 2
Natty:
Report link

Keeping in mind as well, that the Camel code will establish a JMS connection to MQ, send the message, then drop the JMS connection for every iteration.

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

79437777

Date: 2025-02-13 21:41:14
Score: 2
Natty:
Report link

I added ENV var:

export DOTNET_ROOT=/opt/dotnet-sdk-bin-9.0/

after it everything works.

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

79437774

Date: 2025-02-13 21:39:14
Score: 1.5
Natty:
Report link

So far, I think this is a new feature. Until then, lambda was required to move the logs from S3 to cloud_watch..

https://aws.amazon.com/blogs/mt/sending-cloudfront-standard-logs-to-cloudwatch-logs-for-analysis/

My approach is to provision cloud_watch log_group and km key and attach CloudFront to CloudWatch_log_group via web. Probably AWS Cli will have support already for this.. But for now, I will wait a bit for official implementation.

Also, there is another solution called real-time logs using kinesis.

It seems that there is already work started in the provider. https://github.com/hashicorp/terraform-provider-aws/issues/40250

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

79437770

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

Could it be that the plane you are using is parallel to the XZ plane, while you need it to be parallel to the XY plane?

From Apple's documentation,

planeTransform: The transform used to define the coordinate system of the plane relative to the scene. The coordinate system's positive y-axis is assumed to be the normal of the plane.

The matrix matrix_identity_float4x4 represents the XZ plane. The matrix for the XY plane with normal in the +Z direction should be:

let xyPlaneMatrix = simd_float4x4(
      SIMD4<Float>( 1,  0,  0, 0),
      SIMD4<Float>( 0,  0,  1, 0),
      SIMD4<Float>( 0, -1,  0, 0),
      SIMD4<Float>( 0,  0,  0, 1)
   )
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Thanh Duy Truong

79437763

Date: 2025-02-13 21:32:12
Score: 5.5
Natty: 5
Report link

Is the accepted answer really correct? I thought that once spark reads the data, the ordering may not necessarily be the same as what was persisted to disk?

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

79437761

Date: 2025-02-13 21:31:11
Score: 2.5
Natty:
Report link

For string. You may use Here-String syntax for multiline string assignment like

echo @"
here is the first string
location is $global:loc
"@

Ref: https://devblogs.microsoft.com/scripting/powertip-use-here-strings-with-powershell/

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

79437751

Date: 2025-02-13 21:25:09
Score: 1.5
Natty:
Report link

I have achieved it, It was necessary to detect the operating system and port the C# script to node.js, I'm not sure if this is the correct way to do it but it works fine for now.

note: any suggestions will be welcome.

const { exec, spawn } = require('child_process');
const os = require('os');

/**
 * Manages application elevation and admin privileges across different platforms
 */
class AdminPrivilegesManager {
    /**
     * Checks and ensures the application runs with admin privileges
     * @returns {Promise<void>}
     */
    static async ensureAdminPrivileges() {
        const isAdmin =  this.checkPrivilegesAndRelaunch();
        console.log('isAdmin',isAdmin);
    }

    static checkPrivilegesAndRelaunch() {
        if (os.platform() === 'win32') {
            exec('net session', (err) => {
                if (err) {
                    console.log("Not running as Administrator. Relaunching...");
                    this.relaunchAsAdmin();
                } else {
                    console.log("Running as Administrator.");
                    return true
                }
            });
        } else {
            if (process.getuid && process.getuid() !== 0) {
                console.log("Not running as root. Relaunching...");
                this.relaunchAsAdmin();
            } else {
                console.log("Running as root.");
                return true;
            }
        }
    }

    static relaunchAsAdmin() {
        const platform = os.platform();
        const appPath = process.argv[0]; // Path to Electron executable
        const scriptPath = process.argv[1]; // Path to main.js (or entry point)
        const workingDir = process.cwd(); // Ensure correct working directory
        const args = process.argv.slice(2).join(' '); // Preserve additional arguments

        if (platform === 'win32') {
            const command = `powershell -Command "Start-Process '${appPath}' -ArgumentList '${scriptPath} ${args}' -WorkingDirectory '${workingDir}' -Verb RunAs"`;
            exec(command, (err) => {
                if (err) {
                    console.error("Failed to elevate to administrator:", err);
                } else {
                    console.log("Restarting with administrator privileges...");
                    process.exit(0);
                }
            });
        } else {
            const elevatedProcess = spawn('sudo', [appPath, scriptPath, ...process.argv.slice(2)], {
                stdio: 'inherit',
                detached: true,
                cwd: workingDir, // Set correct working directory
            });

            elevatedProcess.on('error', (err) => {
                console.error("Failed to elevate to root:", err);
            });

            elevatedProcess.on('spawn', () => {
                console.log("Restarting with root privileges...");
                process.exit(0);
            });
        }
    }
}

module.exports = AdminPrivilegesManager;
Reasons:
  • RegEx Blacklisted phrase (2): any suggestions
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Francisco IA Lover

79437746

Date: 2025-02-13 21:22:09
Score: 2.5
Natty:
Report link

Add the following property to the aws-lambda-tools-defaults.json file in the directory where the Lambda function is at:

"code-mount-directory": "../../../"

Please have a look here for further details: https://github.com/aws/aws-extensions-for-dotnet-cli/discussions/332

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

79437727

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

If I am not mistaken, Transcient are created every GetService() call. Scoped are ThreadStatic (in normal apps), so they are created and exist through a thread's lifetime. However, given that IIS has a pool of application threads, scoped in web is likely per-HTTP request, so likely is implemented via a data slot or saved in the HttpContext.Items collection or as ambient data in Execution context via AsyncLocal.

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

79437717

Date: 2025-02-13 21:11:06
Score: 4
Natty: 4
Report link

I have MSSQL 2019 and TRIM still does not work, STRING_SPLIT does though.

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

79437716

Date: 2025-02-13 21:11:05
Score: 1
Natty:
Report link

This is an old thread but if anyone is still looking for how to refresh queries using VBA in Excel. I used this bit of code to easily do that:

Sub RefreshData()
Dim ws As Excel.Worksheet

For Each q In ActiveWorkbook.Queries
    q.Refresh
Next

End Sub
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Luis Heredia

79437708

Date: 2025-02-13 21:07:05
Score: 3
Natty:
Report link

I reset the IDE, and did TypeScript: Restart, and ESLINT Restart after hitting F1 in vscode and the problem resolved.

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

79437682

Date: 2025-02-13 20:55:02
Score: 2.5
Natty:
Report link

This question is asking how to reverse proxy to an external URL using Azure front door without a proxy app or middleware.

Similar to netlify redirects with rewrite or the rewrite

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

79437671

Date: 2025-02-13 20:51:01
Score: 0.5
Natty:
Report link

Go to android\settings.gradle.kts and under plugins update the version of "org.jetbrains.kotlin.android" to the latest one according to this link: https://kotlinlang.org/docs/releases.html#release-details For example:

plugins {
    id("dev.flutter.flutter-plugin-loader") version "1.0.0"
    id("com.android.application") version "8.7.0" apply false
    id("org.jetbrains.kotlin.android") version "2.1.10" apply false
}
Reasons:
  • Blacklisted phrase (1): this link
  • Probably link only (1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Elyasaf755

79437663

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

This particular recommendation seems to have been removed from the documentation as of 2025-02-13.

To me, it seems the visibility should be more closely related to the throttling rate? No real experience here (yet).

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Dan Locks

79437659

Date: 2025-02-13 20:43:00
Score: 1.5
Natty:
Report link

Your fix of updating the networking settings on the AI Search service worked for me. Specifically to enable "Allow Azure services on the trusted services list to access this search service." Thanks

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

79437658

Date: 2025-02-13 20:41:59
Score: 3
Natty:
Report link

Related to step 17, I created a Google Cloud client for a Web Application. I used the Client ID from that client and the scope 'https://www.googleapis.com/auth/drive.file'. I tried to run the curl command with those values filled in. I got the message: Only clients of type \u0026#39;TVs and Limited Input devices\u0026#39; can use the OAuth 2.0 flow for TV and Limited-Input Device Applications. Please create and use an appropriate client.

I didn't using the type 'TVs and Limited Input devices'. Why is it referencing it?

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: RandySK

79437657

Date: 2025-02-13 20:41:59
Score: 4.5
Natty:
Report link

You may be interested in:

https://github.com/justingrote/fsharp

https://youtu.be/6jQqf-LTRGI?si=tsvO0ZufYYj5OGaz&t=5186

https://github.com/PalmEmanuel/YourFirstPSModuleInCSharp/tree/main/src/Example.6.FSharp

As some additional resources.

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Justin Grote

79437655

Date: 2025-02-13 20:39:58
Score: 1.5
Natty:
Report link

9156895905 9156855296 9156824950 9156829971 9156860586 9156855182 9156800260 9156803817 9156802624 9156802651 9156801224 9156733655 9156693678 9156733970 9156733707 9156645457 9156641452 9156602424 9156600299 9156598798 9156605924 9156605563 9156562924 9156514060 9156474692 9156427972 9156384436 9156432736 9156383927 9156380436 9156384139 9156345550 9156252277 9156253163 9156166263 9156166934 9156172785 9156175407 9156124586 9156127613 9156130492 5512547901 9156017737 9155844261

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

79437654

Date: 2025-02-13 20:37:58
Score: 2
Natty:
Report link

Try add "python.analysis.includeAliasesFromUserFiles": true on your settings.json, as per https://code.visualstudio.com/docs/python/settings-reference#:~:text=includeAliasesFromUserFiles it will:

"include alias symbols from user files in auto-import suggestions and in the add import Quick Fix"

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Abraão Zaidan

79437650

Date: 2025-02-13 20:35:57
Score: 1
Natty:
Report link

It sounds like you are attempting to add the jzos library into your OSGi bundle in the lib folder. Normally what we would expect to do is a wrapper OSGi bundle that is used within the IDE. This wrapper bundle exports the com.ibm.jzos classes and your bundle imports them. This should allow the compiling and IDE to be happy.

For full instructions have a look at https://www.ibm.com/docs/en/cics-ts/6.x?topic=djariojs-developing-java-applications-use-jzos-toolkit-api-in-osgi-jvm-server

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

79437641

Date: 2025-02-13 20:30:56
Score: 3.5
Natty:
Report link

Check your .dockerignore if there is any line with plugins you have to remove it first.

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

79437622

Date: 2025-02-13 20:22:54
Score: 1
Natty:
Report link

Its usually when a package renamed/redesigned for pip installation. In my case I was getting the same error for installing "sklearn" package. I tried pip install "scikit-learn" instead and it worked.

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

79437619

Date: 2025-02-13 20:20:54
Score: 3.5
Natty:
Report link

Bro you need to do some step by step tutorial and courses otherwise you would keep getting stuck in simplest of applications. My best bet for you would be doing this course

I Did this course myself and the benifits were worth mentioning.Now I have clear understanding of the the installation and outs of the system

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

79437614

Date: 2025-02-13 20:19:53
Score: 2.5
Natty:
Report link

Bluefish will covert all special characters to code. It’s supposed to handle letters, but also characters like m-dash and curly quotes. I’ve just started using it for that, so I’m not sure how thorough it is. You can also convert them all back. https://bluefish.openoffice.nl/index.html

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

79437612

Date: 2025-02-13 20:18:53
Score: 4.5
Natty:
Report link

Is there any chance you are using the Small Multiples feature in your plot? If so, @JeffUK was right the plot is being sorted alphabetically based on the y-axis instead of numerically based on the x-axis and there's no way to fix that. It's a limitation of the Small multiples feature: https://powerbi.microsoft.com/en-us/blog/announcing-small-multiples-public-preview/ Limitations: support for small multiples sort by measure

Reasons:
  • Blacklisted phrase (1): Is there any
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @JeffUK
  • Starts with a question (0.5): Is there any
  • Low reputation (1):
Posted by: Mia May

79437606

Date: 2025-02-13 20:15:52
Score: 0.5
Natty:
Report link

It's not the answer to your problem per say, but I was dragged to your post by google so it might help others.

I had a very similar issue to the one described, and the problem was created by the structure of my Dockerfile.

RUN mix deps.get
RUN mix deps.compile
COPY . .
RUN mix compile

The COPY command overwrited _build and deps so the dependencies were recompiling every time.

If you use elixir with docker make sure that you either build the docker image with _build (and deps) as volumes (docker build -v ...) like @Adam Millerchip suggested or run mix deps.clean --all && mix clean in your project before running the Dockerfile.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Adam
  • Low reputation (0.5):
Posted by: Hadron

79437602

Date: 2025-02-13 20:13:51
Score: 0.5
Natty:
Report link

So the issue was not with antivirus, IDE, terminal or file permissions. It had to do with gradle's daemon. It might have to with the fact that the deamon gradle had a lock on a file in the build directory. This might have been caused because I changed the name of some folders in my project. Below are the steps I took to fix this.

1: Delete the build folder (not sure if this is necessary but just in case I included it here)

2: run the following command in your root directory: ./gradlew --no-daemon clean (This should clean out your build directory if you have not done the 1st step.)

3: then run the following command to build ./gradlew build --rerun-tasks -x test --rerun-tasks make sure that no task is skipped and -x test makes sure that you skip the test task which was useful in my situation as I did not have test.

4: then you can run the following to start spring boot. ./gradlew bootRun.

After this using the gradle daemon should work normally.

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

79437595

Date: 2025-02-13 20:10:50
Score: 2
Natty:
Report link

You may want to look into Unity Cloud's DevOps solutions for building your project on Unity's backend. You can target any platform, including Mac.

You can find the build automation documentation here. You can also set it up in Unity's cloud dashboard: https://cloud.unity.com/

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

79437584

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

You can create you custom type for this

File: global.d.ts

import React from "react";

declare global {
declare namespace ReactCustom{
type FC<P = {}> = ReactCustom.FC<P & { children?: React.ReactNode }>;
}
}

where the error is, for example:

const UserContextProvider: React.FC = ({ children }) => { ... }

you just need replace all with type custom created, without much effort, and it would look like this:

const UserContextProvider: ReactCustom.FC = ({ children }) => {...}

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Rian R.

79437583

Date: 2025-02-13 20:00:48
Score: 2.5
Natty:
Report link

As stated by a GitHub user in this issue, you need to add use client to the top of the file.

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

79437582

Date: 2025-02-13 20:00:45
Score: 10 🚩
Natty:
Report link

I am also facing the similar problem. We have developed an APP using WinUI3 and required to run this on Kiosk Mode, but so far, no luck, but atleast you moved ahead little bit as I see that you are able to configure the app into Kiosk mode and atlease proceed. Could you please share the steps what and how you have done to at least enable this app into Kiosk mode?

Reasons:
  • Blacklisted phrase (1): no luck
  • RegEx Blacklisted phrase (2.5): Could you please share
  • No code block (0.5):
  • Me too answer (2.5): I am also facing the similar problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: prashant shukla

79437563

Date: 2025-02-13 19:52:43
Score: 3.5
Natty:
Report link

Iam working on the same above mentioned topic , need some support. Help madtira

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

79437546

Date: 2025-02-13 19:42:41
Score: 1.5
Natty:
Report link

💡 Key Difference: IServiceScopeFactory is always a singleton, but IServiceProvider follows the lifetime of the class it’s injected into.

Feature IServiceProvider IServiceScopeFactory
Purpose Resolves dependencies Creates a new scope for resolving dependencies
Creates New Scope? ❌ No (not its primary purpose) ✅ Yes (optimized for scope creation)
Lifetime ❌ Depends on containing class ✅ Always Singleton
Usage Used in constructors and methods to get dependencies Used in background services & singletons to get scoped dependencies
Scoped Service Resolution ❌ Not safe in singletons ✅ Safe, as it creates a scope

Here's article, where I have tried to cover everything related to this topic.

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

79437544

Date: 2025-02-13 19:39:40
Score: 4.5
Natty:
Report link

So it turned out that i just needed to download this code. https://github.com/opentk/GLControl

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

79437543

Date: 2025-02-13 19:39:40
Score: 0.5
Natty:
Report link

I seem to have solved this.

Extensions are identified by the file extension .appex and are are fetched from the app bundle on first launch, appearing in the Extensions pane of System Preferences (System Settings or whatever it's called in modern macOS) where they can be enabled or disabled with a checkbox - as I'm sure you know.

When the app is uninstalled, the app's extensions are still offered, rather annoyingly. Let's fix that now.

Before following the procedure below, close System Preferences to avoid issues.

The best way to to find those pesky extensions and delete them completely is to locate them with something like Thomas Templeman's excellent Find Any File. Search your User folder for the name of the extension, inserting dashes in place of spaces for the closest match. You may want to verify the exact name in the Contents/Resources/Library/Plugins folder inside the app bundle, looking for the .appex file extension.

For a sandboxed app you'll find the files your'e looking for as named folders in ~/Library/Containers/ and ~/Library/Application Scripts/

Example search results from Find Any File

In both cases what you'll see is the standard reverse URL for the developer and app used as the name of a folder. Trash these. In Find Any File you can do that from the results window, or double click on the item of interest and it will be opened in the Finder.

To the best of my knowledge, both these folders can be deleted without creating issues with a related .db folder - to the best of my knowledge it's simply a case of "It's not there, it won't be loaded".

If you searched you entire drive, you'll see similarly named folders deep within /private/var/folders/ but these need not - and therefore should not - be deleted. In case you accidentally did delete those, or anything else you shouldn't, make Finder active and hit Cmd+Z to undo.

Now you can reopen Extensions in System Preferences and enjoy no longer seeing redundant finder extensions offered.

In my case this procedure was necessary because using a particular Share Menu extension was freezing Finder, necessitating a force quit (and re-spawn) of Finder. I didn't want to run the risk of accidentally reenabling the extension later, as I still use the app. And, yes I'll let the dev know.

Lastly, I deleted the offending extension from Contents/Resources/Library/Plugins/ inside the App package. Upon relaunching the app, the buggy extension wasn't loaded by macOS and didn't appear in System Preferences.

This is a very important step if, like me, you still have the offending App in your Applications folder.

If you don't delete the offending plugin, the extension will reappear in System Preferences even if you don't relaunch the app because it's been added to the above locations again. Clearly there is a db somewhere telling the OS to scan apps for plugins (which doesn't purge them even when the app has been deleted). This may cause issues for others but it hasn't in my case. And take care not to "Undo" the deletion in Finder, as you won't see it happen unless you have the app bundle open at the time!

A note of caution I've seen some very well respected folk telling people not to try and delete Extensions at all. I respect their expertise and fully understand why they say this. But my hands-on experience is that it is both possible and safe to do in the case of redundant third party extensions, following the procedure above.

YMMV

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

79437542

Date: 2025-02-13 19:38:40
Score: 3
Natty:
Report link

I downloaded instead .NET 9.0 instead of the one being installed by autodesk installer 8.0.11 and it worked, retried the install and it did, thanks anyway

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

79437541

Date: 2025-02-13 19:38:40
Score: 2.5
Natty:
Report link

In my case I got the id from a FormData object in which I had to first stringify it, but forgot to parse it and the string also contained double quotes.

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

79437534

Date: 2025-02-13 19:31:38
Score: 2
Natty:
Report link

I ended up figuring out the root issue. The newer versions of OpenXML seem to be incompatible with Power Tools. The simple way to fix it is to only bring in Power Tools and let it grab the version of OpenXML it prefers rather than installing OpenXML first.

This was using NuGet in Visual Studio.

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

79437528

Date: 2025-02-13 19:29:38
Score: 0.5
Natty:
Report link

So I can't figure why it needed to refresh but if you map allPartnerPros to globalThis.pros it seems to work. I couldn't figure why that the public member won't be set. But this is the workaround:

// allPartnerPros: PartnerPro[] = [];

get allPartnerPros(): PartnerPro[] {
   return globalThis.pros || []
}

set allPartnerPros(value: PartnerPro[]) {
    globalThis.pros = value;
}
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: adam

79437526

Date: 2025-02-13 19:27:37
Score: 1
Natty:
Report link

I had accidentally added the SHA-1 present in Upload key certificate instead of the App signing key certificate. Both of these are present so you might mistake them. Fixed it by:

  1. Copying the SHA-1 from App Signing Key Certificates and add it to firebase.
  2. downloading new google-services.json and replace in project.
  3. Build a new apk and update in Google Play.
Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Hassaan J.

79437525

Date: 2025-02-13 19:27:37
Score: 2
Natty:
Report link

Caret is respecting the seed. When you set a seed, the output of the code that follows is then reproducible, which is why you consistently get 212213 222311 211333 212132 312211 213231 in that order. Setting seed does not mean that every function call that involves random number generation will give the same output, just that any sequence of function calls will give reproducible output.

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

79437515

Date: 2025-02-13 19:22:36
Score: 0.5
Natty:
Report link

Just naturally paste your first query inside the parenthesis, as in:

with v as 
(select * from (values ('a','b'),('c','d')) v (e,f))
select e from v where f='d';
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Guillaume Outters

79437510

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

I just managed to fix this by changing to a single-column grid and foregoing the empty column idea. I'm still curious as to why browsers wouldn't recognize that div element. Glad I got a functional fix though, and thanks for the help!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Michael Mark

79437505

Date: 2025-02-13 19:18:35
Score: 3.5
Natty:
Report link

Pretty silly of me, but I think the problem is that the net was learning every step, instead of accumulating it's decisions and then learn them. I overlooked that.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Владислав

79437503

Date: 2025-02-13 19:17:35
Score: 2.5
Natty:
Report link

if you are using venv : add this : os.environ['PATH'] += os.pathsep + r'path\ffmpeg-master-latest-win64-gpl-shared\ffmpeg-master-latest-win64-gpl-shared\bin'

download it from : https://github.com/BtbN/FFmpeg-Builds/releases

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

79437502

Date: 2025-02-13 19:17:35
Score: 0.5
Natty:
Report link
struct ButtonBadgeView: View {
@State var showFavList = false
@State var items: [String] = []
var body: some View{
    HStack{
        BadgeView
            .frame(width: 44,height: 44)
            .onTapGesture {
                showFavList = true
            }
    }
}
var BadgeView: some View {
    GeometryReader { geometry in
        ZStack(alignment: .bottomLeading) {
            Image("heart_icon")
                .resizable()
                .scaledToFit()
                .padding(.top,4)
            
            // Badge View
            ZStack {
                Circle()
                    .foregroundColor(.red)
                Text("\(self.items.count)")
                    .foregroundColor(.white)
                    .font(Font.system(size: 12))
            }
            .frame(width: 20, height: 20)
            .offset(x: geometry.size.width / 2, y: -16)
            .opacity(self.items.count == 0 ? 0 : 1)
        }
    }
}

enter image description here

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

79437491

Date: 2025-02-13 19:12:34
Score: 3
Natty:
Report link

(long)Math.floor(a) for positive a

Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: Mathology

79437489

Date: 2025-02-13 19:11:33
Score: 3
Natty:
Report link

Yes, it would be nice if we could install our own packages since this is really the real advantage of using python because there is a package for every use case.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rodrigo P. Coelho

79437480

Date: 2025-02-13 19:09:33
Score: 2.5
Natty:
Report link

It was invalid JSON because of the last added , There might be a shorter way of writing in Mockoon (?? would love to hear) but this generates valid JSON, using handlebarsjs if @last and else

    "thumbnailItemIds": [
  {{#each @firstItems}}
    "{{id}}"
    {{#if @last}}
    {{else}}
    ,
    {{/if}}
  {{/each}}
]
Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @last
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: petervd81

79437477

Date: 2025-02-13 19:05:32
Score: 0.5
Natty:
Report link

In my project I faced this issue of conversion when I was adding the address of doctor on database , then toast used to send error message

address: Cast to string failed for value "{ line 1: 'sector 132 ', line2: 'gurgaon ,India' }" (type Object) at path "address" cast to string failed for value. after struggling for sometime I found the error that was present on schema .On schema , address : {type : _____} I had declared type key with some other data type and I was sending address as other data type other than that i mentioned on schema ,so this error was coming .

After debugging

const driverSchema = new mongoose.Schema({
name: {type:String, required:true},
email:{type:String, required:true, unique:true},
password:{type:String, required:true},
image:{type:String, required:true},
speciality:{type:String, required:true},
degree: {type:String, required:true},
experience: {type:String, required:true},
about:{type:String, required:true},
available:{type:Boolean, default:true},
fees:{type:Number, required:true},
address:{type:Object, required:true},
date: {type:Number, required:true}, // through this date we can know when the doctor was added in the database
slots_booked: {type:Object, default:{}}

},{minimize:false})

here's the data that i want to add to the database

const formData = new FormData()

        formData.append('image',docImg)
        formData.append('name',name)
        formData.append('email',email)
        formData.append('password',password)
        formData.append('experience',experience)
        formData.append('fees',Number(fees))
        formData.append('about',about)
        formData.append('speciality',speciality)
        formData.append('degree',degree)
        formData.append('address', JSON.stringify({line1:'sector 114',line2:'Gurgaon, India'}))
Reasons:
  • RegEx Blacklisted phrase (1): i want
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: RAVIKANT MAHTO

79437474

Date: 2025-02-13 19:04:31
Score: 2
Natty:
Report link

Ensure Each Case Has an Assigned User

Your table should have a field that stores the username or user ID of the assigned person (e.g., AssignedTo). Get the Logged-in User If you're using Windows authentication, you can retrieve the current user's name.

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

79437450

Date: 2025-02-13 18:54:30
Score: 1.5
Natty:
Report link

OK, so it's 2025 now - and it couldn't be any easier - just use the correct logic using the following:

dim fso = CreateObject("Scripting.FileSystemObject")
if not fso is nothing then
   if not fso.FolderExists("TheFolderYouWantToExist") then
      fso.CreateFolder("TheFolderYouWantToExist")
   end if
   '....and so on....
end if

REFERENCE : https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/filesystemobject-object

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

79437449

Date: 2025-02-13 18:54:30
Score: 3
Natty:
Report link

I have also ran into this issue recently with Amazon doing similar steps trying to revert the minSDK. the Google Play Developer Console handles it fine, but not Amazon and I cannot revert back to an older minSDK

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: mbaz

79437442

Date: 2025-02-13 18:50:28
Score: 3.5
Natty:
Report link

Try this project. I have successful experience using it. https://github.com/zhouhailin/freeswitch-externals

Reasons:
  • Whitelisted phrase (-1): Try this
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Alexander Danilov

79437441

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

Next.js uses specific extensions for it to work. Like:

If you use other extensions, it won't work.

So, your best answer is to use above extensions and write your code using jsx.

const page = () => (
    <div>
        <p>My html</p>
    </div>
)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Zarif Zuhayer

79437439

Date: 2025-02-13 18:49:28
Score: 0.5
Natty:
Report link

You can write it as a function, like:

B10(123)
B16(0AF)
B2 (101)
B8 (111)

Having a letter before the numbers ensures that it's compatible with the many languages that don't permit numbers as the first character.

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

79437436

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

My way of sectioning (especially when among declarations)

#if true
...
#endif

More advanced, as needed:

#define TESTING true  //here you can easily switch status of your code
...
...
#if TESTING
... // your commands for testing only
#endif

#if !TESTING
... // production mode code
#endif
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Arpad Prp

79437435

Date: 2025-02-13 18:47:25
Score: 9.5 🚩
Natty: 5.5
Report link

Did you ever come up with a solution?

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: kingpin

79437409

Date: 2025-02-13 18:31:22
Score: 2.5
Natty:
Report link

React Router v7 is now supported on Vercel: https://x.com/vercel_changes/status/1890104465862332725

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

79437407

Date: 2025-02-13 18:29:21
Score: 1.5
Natty:
Report link

To enable paste protection

Chrome Version 132.0.6834.197, Feb 2024

In DevTools Preferences panel there's a button at the bottom of the list labeled "Restore defaults and reload" that enabled the allow pasting warning for me. Each other page I had open required just the reload to enable the warning.

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

79437403

Date: 2025-02-13 18:28:21
Score: 3
Natty:
Report link

In addition to the roles mentioned in the documentation, the iam.oauthClientViewer role should be added. With these three roles, we were able to connect using IAM authentication from our Dataflow job. An update to the documentation would be appreciated :)

Reasons:
  • Blacklisted phrase (1): appreciated
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Benjamin Coutellier

79437394

Date: 2025-02-13 18:25:20
Score: 3
Natty:
Report link

Disable the extensions in Docker, finish Docker (not restart) and open it again.

I will work.

This is a known issue and will be fixed with version 4.39.x

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

79437390

Date: 2025-02-13 18:24:17
Score: 6 🚩
Natty:
Report link

i want to know this question too

Reasons:
  • Blacklisted phrase (1): i want to know
  • RegEx Blacklisted phrase (1): i want
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Urmat Asanaliev

79437387

Date: 2025-02-13 18:23:17
Score: 1.5
Natty:
Report link

In my case the problem was Node.js version. I need to run nvm install 20 and then nvm use 20.xx.xx Then Vite started to work properly.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Čamo

79437380

Date: 2025-02-13 18:21:17
Score: 1.5
Natty:
Report link

The reason RigidBody.Velocity is not working in the newer versions of Unity is that it has been renamed to Rigidbody.linearVelocity

The same can be found in the release notes https://unity.com/releases/editor/whats-new/6000.0.23

Editor: Changed: Renamed Rigidbody.velocity to Rigidbody.linearVelocity in order for the API to be symmetric with Rigidbody.angularVelocity

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

79437379

Date: 2025-02-13 18:21:14
Score: 9.5 🚩
Natty: 4.5
Report link

Has anyone solved this problem? The dotnet tooling is abstracting away the docker files and commands but it seems odd that it wouldn't be supporting project dependencies.

Reasons:
  • Blacklisted phrase (1): anyone solved
  • RegEx Blacklisted phrase (1.5): solved this problem?
  • RegEx Blacklisted phrase (3): Has anyone solved
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Daniel

79437376

Date: 2025-02-13 18:19:13
Score: 2.5
Natty:
Report link

You can install the ACDisplay app from F-Droid. It can display notifications, but not quick settings.

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

79437375

Date: 2025-02-13 18:19:13
Score: 2.5
Natty:
Report link

The mySQL documentation says to login as the root user:

$> mysql -u root -p
Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Herman Autore

79437363

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

using spark 3.5.4 the following displays a table in pretty print. df is a spark data frame.

import pandas as pd

df.toPandas()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ultra

79437356

Date: 2025-02-13 18:11:12
Score: 2.5
Natty:
Report link

Something really curious about your code is that if you build it and run the build it works properly, but if you try to run it using npm run dev it doesn't. I am trying to debug your code to make sure I can implement the same behavior but using route handler.

Reasons:
  • Blacklisted phrase (1): I am trying to
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mateus Prado

79437355

Date: 2025-02-13 18:10:12
Score: 0.5
Natty:
Report link

Well looks like this was being added 'by default', so I found out I can use URL Rewrite Module to remove Pragma from Headers, below the code

<configuration>
<system.webServer>
<rewrite>
  <outboundRules>
    <rule name="Remove Pragma Header">
      <match serverVariable="RESPONSE_Pragma" pattern=".+" />
      <action type="Rewrite" value="" />
    </rule>
  </outboundRules>
 </rewrite>
</system.webServer>
</configuration>
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Rolando F

79437353

Date: 2025-02-13 18:09:11
Score: 3.5
Natty:
Report link

try deleting node_modules from your folder and run npm install again.

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

79437351

Date: 2025-02-13 18:08:08
Score: 9.5 🚩
Natty: 6.5
Report link

I have run to a similar issue with a different flash game and was wondering if you had possible ever found out the issue. All help is appreciated, thank you.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (2): was wondering
  • RegEx Blacklisted phrase (3): help is appreciated
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Sullivan

79437344

Date: 2025-02-13 18:04:07
Score: 0.5
Natty:
Report link

To answer your question:

Note: For flexboxes, the stretch value behaves as flex-start or start. This is because, in flexboxes, stretching is controlled using the flex-grow property.

Just a quick check of the documentation should suffice as you said: https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content

scroll down to the stretch property

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

79437329

Date: 2025-02-13 17:59:06
Score: 1
Natty:
Report link

This is an answer I found on Github and is much better than the selected answer. https://github.com/immerjs/immer/issues/619#issuecomment-644393613

cloneDeep will always fully clone your entire state. This causes two fundamental problems which makes it quite unusable to use with react for any slightly significant amount of data:

  1. deepClone is very expensive. You have a collection of 100 items? All those items will continuously be retreated on every update. Hitting both the performance and the garbage collector badly
  2. deepClone can't leverage memoization, because the "same" objects will not be refererrentially equal after every update. So it means that react will always need to rerender all your components. Which basically kills all benefits that immutability would offer you in the first place.

In other words, deepClone, unlike produce, doesn't offer structural sharing of all the unchanged parts of your state after an update

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

79437325

Date: 2025-02-13 17:58:06
Score: 0.5
Natty:
Report link

You might want to turn the two surface meshes in Hex_Screw.obj and HexBitEE.obj into tetrahedral-mesh VTK files following this Google Doc Advice to prepare non-convex meshes for hydroelastics. Passing OBJ files as compliant-hydroelastic collision geometries means we will use their convex hulls (https://drake.mit.edu/doxygen_cxx/group__geometry__file__formats.html).

The tools mentioned in the Google Doc should work if the obj files have water-tight surface meshes. Otherwise, you could send me the obj files, and I can help make them into tetrahedral-mesh VTK files.

The tutorial https://github.com/RobotLocomotion/drake/blob/master/tutorials/hydroelastic_contact_nonconvex_mesh.ipynb uses tetrahedral meshes in VTK files for collision geometries.

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

79437313

Date: 2025-02-13 17:54:05
Score: 3
Natty:
Report link

Even I had this issue, It got resolved when I switched my Instagram App from Development mode to Live mode. 👍

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

79437297

Date: 2025-02-13 17:50:04
Score: 0.5
Natty:
Report link

If you're following the deployment steps outlined above, the URL to access your application will depend on where you've deployed your backend and frontend.

  1. Backend URL (AWS Elastic Beanstalk) After deploying your backend using AWS Elastic Beanstalk, you’ll get a URL in the format:
  2. Backend URL (AWS Elastic Beanstalk) After deploying your backend using AWS Elastic Beanstalk, you’ll get a URL in the format: http://.elasticbeanstalk.com For example: http://my-ai-app-env.elasticbeanstalk.com This is the base URL for your backend API. You can access specific endpoints like:

POST /chat

GET /task-status/<task_id>

POST /login

  1. Frontend URL (Netlify) If you deployed your React frontend to Netlify, you’ll get a URL in the format: https://.netlify.app For example: https://my-ai-app.netlify.app

This is where your users will interact with the application.

Example URLs Backend API: http://my-ai-app-env.elasticbeanstalk.com

Frontend App: https://my-ai-app.netlify.app How to Access Backend API:

Use tools like Postman, cURL, or your browser to interact with the API.

Example cURL command: curl -X POST http://my-ai-app-env.elasticbeanstalk.com/chat
-H "Content-Type: application/json"
-H "Authorization: YOUR_API_KEY"
-d '{"input": "TASK: summarize research on AI ethics"}' Frontend App:

Open the Netlify URL in your browser:

https://my-ai-app.netlify.app

The frontend will communicate with the backend API to fetch and display data. Notes If you haven’t deployed yet, follow the steps in the deployment plan to get your URLs.

Ensure your backend is secured with HTTPS (use AWS Certificate Manager for SSL) and your frontend is properly configured to point to the backend URL. Let me know if you need further clarification or help with deployment! 🚀

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

79437288

Date: 2025-02-13 17:46:03
Score: 2
Natty:
Report link

Thanks for the solution it worked for me!

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

79437263

Date: 2025-02-13 17:40:01
Score: 0.5
Natty:
Report link

This is the solution I have gone for. I've created a container that uses ref and a few methods to handle mouse click and drag. I can then pass whatever I want to scroll horizontally into the component.

import React, { ReactNode, useRef } from "react";

interface ScrollingDivProps {
  children: ReactNode;
}

const ScrollingDiv: React.FC<ScrollingDivProps> = ({ children }) => {
  const scrollRef = useRef<HTMLDivElement | null>(null);

  const handleMouseDown = (e: React.MouseEvent) => {
    const scrollContainer = scrollRef.current as HTMLDivElement & {
      isDown: boolean;
      startX: number;
      scrollLeft: number;
    };
    if (!scrollContainer) return;
    scrollContainer.isDown = true;
    scrollContainer.startX = e.pageX - scrollContainer.offsetLeft;
  };

  const handleMouseLeave = () => {
    const scrollContainer = scrollRef.current as HTMLDivElement & {
      isDown: boolean;
    };
    if (!scrollContainer) return;
    scrollContainer.isDown = false;
  };

  const handleMouseUp = () => {
    const scrollContainer = scrollRef.current as HTMLDivElement & {
      isDown: boolean;
    };
    if (!scrollContainer) return;
    scrollContainer.isDown = false;
  };

  const handleMouseMove = (e: React.MouseEvent) => {
    const scrollContainer = scrollRef.current as HTMLDivElement & {
      isDown: boolean;
      startX: number;
      scrollLeft: number;
    };
    if (!scrollContainer || !scrollContainer.isDown) return;
    e.preventDefault();
    const x = e.pageX - scrollContainer.offsetLeft;
    const walk = (x - scrollContainer.startX) * 2; // scroll-fast
    scrollContainer.scrollLeft = scrollContainer.scrollLeft - walk;
  };

  return (
    <div
      className="scroll-container"
      ref={scrollRef}
      onMouseDown={handleMouseDown}
      onMouseLeave={handleMouseLeave}
      onMouseUp={handleMouseUp}
      onMouseMove={handleMouseMove}
    >
      {children}
    </div>
  );
};

export default ScrollingDiv;

and the css

/* header buttons css */
.scroll-container {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* Enables smooth scrolling on iOS */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.scroll-container::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.scroll-container {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

Use it as follows:

import ScrollingDiv from "./ScrollingDiv";

return (
        <ScrollingDiv>
          <ChildComponent />
        </ScrollingDiv>
      );

Tested and works well....

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

79437262

Date: 2025-02-13 17:39:00
Score: 5.5
Natty: 4.5
Report link

I am having the same problem, our application deployed to cloudways and we have the same htaccess. I still can't get around with it. If you have a fix kindly answer please thank you

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nazareno Mateo

79437257

Date: 2025-02-13 17:38:00
Score: 0.5
Natty:
Report link

Not a direct answer to the original child arc question but,
as I do not have any mutable functions in T I just went with:

enum AnyT {
  T1(Arc<Impl1OfT>)
  T2(Arc<Impl2OfT>)
}

which works fine for both &self and Arc<Self> trait functions.

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

79437256

Date: 2025-02-13 17:38:00
Score: 2
Natty:
Report link

After upgrade next@14.2.4 I to next@14.2.24 problem is solved.

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

79437253

Date: 2025-02-13 17:36:59
Score: 2
Natty:
Report link

@pius-lee is right. Adding -vf "premultiply=inplace=1" to the -auto-alt-ref 0, fixes the alpha in vp8.

This command went through and kept the alpha info intact

ffmpeg -i input.mov -c:v libvpx -b:v 2M -pix_fmt yuva420p -auto-alt-ref 0 -vf "premultiply=inplace=1" output.webm
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @pius-lee
  • Low reputation (1):
Posted by: Jonasz Bigda

79437241

Date: 2025-02-13 17:33:58
Score: 4
Natty:
Report link

There is a simple Excel option to toggle this: enter image description here

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

79437226

Date: 2025-02-13 17:28:56
Score: 5.5
Natty: 4.5
Report link

I have the same Problem in EXCEL with powequery. I have seen, opening the excel file, and first refresh only makes one web request. All following refresh Makes two web requests. Crazy.

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

79437221

Date: 2025-02-13 17:27:55
Score: 4
Natty:
Report link

as i said, i had updated my c++ x86 file, updating file x64 worked.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Luís Ulian

79437215

Date: 2025-02-13 17:24:55
Score: 0.5
Natty:
Report link

I finally figured it out after a couple hours. You must first create a new agent, go through setup like normal. Add your knowledge base and logo and everything. Configure settings like generative orchestration on/off, authentication, etc. Then you need to open the solutions page and in the lefthand vertical tool bar navigate to library where you need to make a component collection. Only choose the developer-added custom topics and flows. If you include all topics in your collection, once you add it to your new (duplicate) agent, there will be two of all of the system-generated default topics. Once you have your collection, click into it and there is a large box in the top right that lets you add an existing agent. Once you select the new (duplicate) agent to the collection, navigate back to the copilot studio UI and click into the duplicate agent where you'll see all your topics populated instantly.

Hope this helps someone else!

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Logan

79437208

Date: 2025-02-13 17:21:53
Score: 5.5
Natty: 4.5
Report link

@OP, Have you tried making your widgets with anywidget? It's so easy! https://anywidget.dev/en/getting-started/

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: crsrcool

79437202

Date: 2025-02-13 17:20:53
Score: 2
Natty:
Report link

This article helped me a lot, you should use CSS Blend Modes for text color, and for background color is linear-gradient.

Fixing Gmail’s dark mode issues with CSS Blend Modes

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Fixing Gmail’s dark mode issues with CSS Blend Modes</title>
    <style>
        u + .body .gmail-blend-screen { background:#000; mix-blend-mode:screen; }
        u + .body .gmail-blend-difference { background:#000; mix-blend-mode:difference; }
    </style>
</head>
<body class="body">
    <div style="background:#639; background-image:linear-gradient(#639,#639); color:#fff;">
        <div class="gmail-blend-screen">
            <div class="gmail-blend-difference">
                <!-- Your content starts here -->
                Lorem ipsum dolor, sit amet, consectetur adipisicing elit.
                <!-- Your content ends here -->
            </div>
        </div>
    </div>
</body>
</html>

Reasons:
  • Blacklisted phrase (1): This article
  • Blacklisted phrase (1): helped me a lot
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: majsterka

79437198

Date: 2025-02-13 17:19:53
Score: 2.5
Natty:
Report link

try nusb, a pure rust implementation usb library

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