79264164

Date: 2024-12-09 07:42:58
Score: 3
Natty:
Report link

In my opinion, it is good to migrate in intermediate versions. Because from a far old version to 8 there are many advancements and support issues.

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

79264149

Date: 2024-12-09 07:34:56
Score: 1.5
Natty:
Report link

While you can't directly retrieve the message limit or sent count via the API, here's what you can do:

Monitor Quality Ratings:

Use the quality_rating field to ensure your messages maintain a GREEN rating. Degraded quality can impact limits. Proactively adjust messaging frequency if flagged (e.g., flagged or degraded ratings). Scale Based on Metrics:

Use internal counters within your system to track how many business-initiated conversations you're sending. Stop sending once you hit a known threshold (e.g., 1K, 10K, etc.). Feature Requests:

Consider submitting feedback to Meta's developer support to request such an API featur

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

79264148

Date: 2024-12-09 07:34:56
Score: 4
Natty:
Report link

I found the problem. I didn't have the variable TMP in the environment variables.

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

79264147

Date: 2024-12-09 07:33:55
Score: 0.5
Natty:
Report link

try creating /db.js file with following connection function

const mongoose=require('mongoose')
async function connectMongodb(url){
    return mongoose.connect(url)
    .then(() => console.log(new Date().toISOString()+": Mongodb connected"))
    .catch(err => console.log("error", err))
}

module.exports ={
    connectMongodb,
} 

and in your server.js/index.js file import and run funtion with suitable mongo uri in following way

 const newLocal = `./db`;
const { connectMongodb } = require(newLocal);
//establishin db connections
connectMongodb(process.env.MongoUrl)

in .env add MongoUrl="mongodb://root:[email protected]:27017/NextBase?authSource={your collection name}"

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

79264144

Date: 2024-12-09 07:28:55
Score: 2.5
Natty:
Report link

Just putting @Emma's comment under the question as the answer for others. Use df.to_spark()

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @Emma's
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Dhruv

79264141

Date: 2024-12-09 07:26:54
Score: 2
Natty:
Report link

I have also got similar issue while filtering the nodo_pool.

  1. terraformer import google --resources="gke" --connect=true --regions=us-central1 --projects=test --path-pattern={output}/{provider}/ --filter=container_cluster=test-01 --filter=container_node_pool=test_node_pool
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Niba Tandukar

79264137

Date: 2024-12-09 07:24:52
Score: 8 đźš©
Natty:
Report link

Guys im loosing it im running on opdenjdk version 11.0.16.1 and atlas version 8.2.7. I have the same issue but when i change the properties to e.g. 8.2.2 i just get a blank white website and the url http://localhost:1990/confluence/plugins/servlet/upm/manage/all isn't even there. I even asked chatgpt but nothings works for me. I hope soem of you can help me.

Ps: Changing the JDK-version i rather difficult because of my organisation

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): I have the same issue
  • Whitelisted phrase (-1): works for me
  • RegEx Blacklisted phrase (3): you can help me
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (1):
Posted by: Mirox ___

79264129

Date: 2024-12-09 07:22:51
Score: 2
Natty:
Report link

You can find a complete list of TIFF tags in Tags for TIFF, DNG, and Related Specifications.
I think tifftools follow that specification but if you want to know exactly what constants it accept you could see his code, specifically constants.py .

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

79264128

Date: 2024-12-09 07:22:51
Score: 0.5
Natty:
Report link

The reason why there are 2 postgres instances spinned up is, because Quarkus also does that for you automatically when you’re running in the test and dev profiles.

You don’t need to explicitly create a QuarkusTestResourceLifecycleManager. As a matter of fact, you don’t need to specify your db url and do anything with Testcontainers.

Just write your test and a db is automatically spinned up for you. You don’t have to configure anything, this is all handled.

So you can remove all your code, except your test class and then it should look something like this:

quarkus:
  http:
    test-port: 9300

  datasource:
    db-kind: postgresql

  hibernate-orm:
    database:
      generation: none <--> drop-and-create is going to conflict with liquibase

  liquibase:
    enabled: true
    migrate-at-start: true
    change-log: classpath:db/dbChangelog-test.yaml
    default-schema-name: x
    validate-on-migrate: true

// quarkus will spin up postgres automatically from here
@QuarkusTest
@TestHTTPEndpoint(YourRestController.class) ---> this will automatically add the rootpath to RestAssured
class MyTest {

   ...
}

For more info check these links:

Reasons:
  • Blacklisted phrase (1): these links
  • RegEx Blacklisted phrase (1): check these links
  • Long answer (-1):
  • Has code block (-0.5):
Posted by: Serkan

79264124

Date: 2024-12-09 07:19:51
Score: 2
Natty:
Report link

It seems the similar cause to MS Teams bot created using Teams toolkit does not find installations or members

From the FAQ (https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/conversations/interactive-notification-bot-in-teams?tabs=ts1%2Cts2%2Cts3%2Cts4%2Cjsts%2Cts5#faq):

Notification target connections are stored in the persistence storage. If you're using the default local file storage, Azure web app and Azure Functions clean up the local file during a restart or redeploy.

To resolve, use your own shared storage for production environment. See https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/conversations/interactive-notification-bot-in-teams?tabs=ts1%2Cts2%2Cts3%2Cts4%2Cjsts%2Cts5#add-storage

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

79264119

Date: 2024-12-09 07:15:50
Score: 1
Natty:
Report link

Just run the following commands in terminal:

  git config --unset remote.origin.fetch

  git config --set remote.origin.fetch +refs/heads/*:refs/remotes/origin/*

Now, you just run

git fetch

and you'll get all remote branches.

Helpful site : Git - git-config Documentation

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

79264110

Date: 2024-12-09 07:12:49
Score: 2.5
Natty:
Report link

mine was same as yours but this resolved it. MAIL_ENCRYPTION= dont add any value to MAIL_ENCRYPTION, not even null or anything else.

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

79264108

Date: 2024-12-09 07:11:49
Score: 1
Natty:
Report link

jakarta.annotation has moved to jakarta.annotation-api

See here: enter link description here

or just add the dependency (v3.0.0)

<dependency>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
<version>3.0.0</version>
Reasons:
  • Blacklisted phrase (0.5): enter link description here
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: 0x53olution

79264107

Date: 2024-12-09 07:11:49
Score: 0.5
Natty:
Report link

You can refer the golang scanner and copy the code here. In short, you need to create a scanner and scan the source file by yourself.


    reader := bytes.NewBuffer(src)
    scanner := bufio.NewScanner(reader)
    for scanner.Scan() {
        line := scanner.Text()
        nline := line
        l += len(line)
        // copied from src/cmd/compile/internal/syntax/parser.go
        text := commentText(line)
        // see src/cmd/compile/internal/noder/noder.go#L220
        // to handle the gc directive you like.
        if strings.HasPrefix(text, "go:linkname ") {
                // do y
        }

    }

https://github.com/golang/go/blob/c8fb6ae617d65b42089202040d8fbd309d1a0fe4/src/cmd/compile/internal/noder/noder.go#L220

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

79264106

Date: 2024-12-09 07:10:48
Score: 1
Natty:
Report link

The solution I found is to attach the UIManager to the Canvas object in the Inspector.

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

79264099

Date: 2024-12-09 07:06:47
Score: 4
Natty: 4
Report link

@RishiDev , Have you got solution for this issue .

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @RishiDev
  • Low reputation (1):
Posted by: Rohit Yadav

79264097

Date: 2024-12-09 07:04:46
Score: 2.5
Natty:
Report link

For Ubuntu: apt install ninja_build

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

79264091

Date: 2024-12-09 07:01:46
Score: 1
Natty:
Report link

use this method setClipToOutline,according to Android documentation

AndroidView will not clip its content to the layout bounds. Use View.setClipToOutline on the child View to clip the contents, if desired. Developers will likely want to do this with all subclasses of SurfaceView to keep its contents contained.

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

79264090

Date: 2024-12-09 07:00:45
Score: 2.5
Natty:
Report link

To force the line to be greater than 1px the width and height of the viewport must be passed as uniforms (attributes to the shader) so that the when the line is rendered, the shader understands how large the view is relative to the line width you are requesting.

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

79264080

Date: 2024-12-09 06:56:44
Score: 0.5
Natty:
Report link

Previously, I was using Android Gradle version 7.5 and AGP version 7.4.2, where I consistently encountered the error: Phone Number Hint failed 16: [28438] No phone number is found on this device. This happened on all devices.

After updating to Gradle version 8.7 and AGP version 8.5.0, the issue was resolved for most devices, and the Phone Number Hint pop-up started working properly. However, the same error still occurs on a specific device, Samsung M31s, while it works as expected on other devices.

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

79264079

Date: 2024-12-09 06:56:44
Score: 2.5
Natty:
Report link

Try changing the ownership of data directory like this Chown postgres:postgres /mnt/Data/postgresdb/postgresql/9.5/main And chmod 750 /mnt/Data/postgresdb/postgresql/9.5/main

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

79264074

Date: 2024-12-09 06:54:44
Score: 3.5
Natty:
Report link

In my case, I was providing form token to cookie token parameter and vice versa.

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

79264068

Date: 2024-12-09 06:52:43
Score: 3
Natty:
Report link

Instead of using else for type == 2 use an if statement I do not know why else fails.

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

79264057

Date: 2024-12-09 06:47:42
Score: 0.5
Natty:
Report link

The correct answer, provided by the author of SQLModel is:

Use a model for data validation (table=False) and create a model for SQL by inheriting the data validation model adding table=True.

Then after validation, copy data from data validation model to SQL model.

Full answer here: https://github.com/fastapi/sqlmodel/issues/52#issuecomment-1311987732

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

79264053

Date: 2024-12-09 06:46:42
Score: 2.5
Natty:
Report link

I got the same issue as your post.

I am trying to create an empty metadata by "CGImageMetaDataSetValueWithPath", and set values for HDRGainMapHeadroom, HDRGainMapVersion. But nothing was written in. Perhaps your guess is true, and the name space for HDR is private.

But anyway, this way might help you.

new_meta = CGImageMetadataCreateMutableCopy(metadata), while metadata is from one HDR file from your iPhone. Then, CGImageMetaDataSetValueWithPath(new_meta, nil, "your_key", "your_value") works.

Reasons:
  • Blacklisted phrase (1): I am trying to
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jiayuan Li

79264051

Date: 2024-12-09 06:45:42
Score: 1.5
Natty:
Report link

yes splitting works for me - albeit, I have only split the file in a very crude way; I do not know if it will improve the results or not; I'm working with large text files, with context at the start of the document - so splitting in half doesn't seem like the correct approach for me.

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Shane Devane

79264045

Date: 2024-12-09 06:43:41
Score: 1.5
Natty:
Report link

The current implementation of the GenerativeModel class doesn’t properly handle async functions when passed as tools, resulting in coroutine objects never being awaited and causing runtime errors. But there is a solution by modifying the file for supporting async here

If you are using synchronous libraries like requests: Use multithreading unless you can switch to an async-compatible library.

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

79264044

Date: 2024-12-09 06:43:41
Score: 0.5
Natty:
Report link

I tested answers, same results. In fact, there is no problem with my code or answers, let's see how it solved.

The structure of MyList component is as follow:

return (
  ...
  // the problem is one of style classes of my <p>
  <p className="c3 c4">
    // components contains some <span className="c1 c2">...</span>
    {components}
  </p>
  ...
)

And the c4 class is exactly:

.c4 {
  float: right;
}

I don't know how but when i remove this class from <p> it works fine.

The problem solved, and thanks for all the replies.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: sad

79264043

Date: 2024-12-09 06:43:41
Score: 2
Natty:
Report link

在youtrack.jvmoptions使用

*Dhttp.proxyHost=10.1.1.1 
*Dhttp.proxyPort=7890 
*Dhttps.proxyHost=10.1.1.1 
*Dhttps.proxyPort=7890
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: 冰上云梦

79264030

Date: 2024-12-09 06:36:40
Score: 1
Natty:
Report link

To build this todo shortcut functionality(todo live template) from scratch follow the below steps:

  1. Go to Settings > Editor > Live Templates
  2. Click on '+' icon to add new Live Template
  3. Add Abbreviation: todo
    Description: adds //TODO
    Template text: // TODO $date$
  4. Click on Edit Variables...
  5. Add Name: date
    Expression: date()
    Click OK
  6. Cline Define to set Application context
    I just want to use it in Java, so I selected Java
  7. Click Apply
  8. Click OK

Steps to add new Live Eemplate

Steps to edit template variable

Steps to define Application context

This will set up the shortcut.

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

79264027

Date: 2024-12-09 06:36:40
Score: 0.5
Natty:
Report link

The 400 error indicates a bad request, meaning there's an issue with the data being sent to the server. Here's how you can debug and resolve it:

1.Check the API Key and see if is same as in your Firebase console under Project Settings > General > Web API Key

2.Verify that the email, password, and returnSecureToken fields are being sent correctly. Log the payload before making the HTTP request: console.log({ email, password, returnSecureToken: true });

3.Check if your Firebase project is set up to allow email/password authentication. Go to Firebase Console > Authentication > Sign-in Method. Enable “Email/Password”.

4.Inspect Server’s response by logging it to console : catchError((error: HttpErrorResponse) => {

5.Use browser dev tools (Network tab) to inspect the actual request being sent. Ensure the request body matches Firebase’s Api requirements.

6.Use Curl command and check if it is also returning the same response. curl -X POST
-H "Authorization: Bearer YOUR_API_KEY"
-H "Content-Type: application/json"
https://identitytoolkit.googleapis.com/v1/accounts:signInWithPassword?key=YOUR_API_KEY
-d '{ "email": "[email protected]", "password": "your_password" }'

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

79264025

Date: 2024-12-09 06:34:39
Score: 4.5
Natty: 6.5
Report link

I’m using my company phone and I think the company owner is watching me and listening to me all the?! how do I know that he is and if he is how do I go about stop him from listening watching me

Reasons:
  • Blacklisted phrase (1): how do I
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ben

79264022

Date: 2024-12-09 06:32:38
Score: 3
Natty:
Report link

thank you for the time you have taken to help me. It was a Friday that stuck with me to find out the solution. this Monday fresh morning, fresh mind gave an easy solution to my existing code.

all I have to use is "SelectData" instead of "ExecuteScalarAsync" that is returning multiple values as a tuple post SQL insert query.

return await dbHelper.SelectData<(int, string)>(sqlQuery.ToString(), paramSearch).ConfigureAwait(false);

Thanks

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): help me
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: krunal

79264018

Date: 2024-12-09 06:29:37
Score: 4
Natty:
Report link

It got fixed, just ask for a ap review and everything will start working

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

79264006

Date: 2024-12-09 06:22:36
Score: 1.5
Natty:
Report link
<button class="btn btn-primary" (click)="goHome();" class="clickable" routerLink="/home">Home</button>

goHome() {
    this.router.navigateByUrl('/home',{replaceUrl:true})
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: yash chapani

79264004

Date: 2024-12-09 06:20:35
Score: 1.5
Natty:
Report link

There is now a Set.prototype.intersection function. See mdn: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/intersection

// Lets say you have 2 arrays
const arr1 = [1,3,5,7,9,1];
const arr2 = [1,4,9,1,9];

//convert them to Sets
const set1 = new Set(arr1);
const set2 = new Set(arr2);

console.log(set2.intersection(set1)); // Set(2) { 1, 9 }

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

79264003

Date: 2024-12-09 06:20:34
Score: 12 đźš©
Natty: 5.5
Report link

I'm also facing the same issue, I have successfully installed the Theme its Orritech-IT solutions from Envato Market. And installed the pre requisite plugins as it mentioned and imported the demo. But in the wordpress website it doesn't shows the demo site.

The website image I have shared below: [1]: https://i.sstatic.net/UMnn0AED.jpg

The demo theme is shared below: 2. https://demo.bravisthemes.com/orritech/

Could you please share how you resolved this issue? As you mentioned this issue 8 months ago, i hope you tackled this issue!

Thanks in Advance!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2.5): Could you please share how you
  • RegEx Blacklisted phrase (3): Thanks in Advance
  • RegEx Blacklisted phrase (1.5): resolved this issue?
  • No code block (0.5):
  • Me too answer (2.5): I'm also facing the same issue
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Rohan Roh

79263996

Date: 2024-12-09 06:15:32
Score: 4
Natty:
Report link

There's a dropdown box that when you press it, it gives you the option of suppressing warnings. It's located here:

solution

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

79263992

Date: 2024-12-09 06:14:31
Score: 2.5
Natty:
Report link

I was facing this issue because I had created alias for python and python3 in .zshrc. Once I removed those I had no problems and the correct python path ( the .venv one ) was considered.

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

79263991

Date: 2024-12-09 06:14:31
Score: 3
Natty:
Report link

I used Context Api for storing the data because other options are easy to breach into personal informatation of site users

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

79263986

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

MvcJsonOptions was removed in .NET Core 3.0 and is not available in versions newer than 2.2 See the "Applies to"-Table: https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.mvc.mvcjsonoptions?view=aspnetcore-2.2#applies-to

In case you are using Swashbuckle, this thread suggested updating to the newest Swashbuckle version should help: 'Could not load type 'Microsoft.AspNetCore.Mvc.MvcJsonOptions' from assembly 'Microsoft.AspNetCore.Mvc.Formatters.Json, Version=3.0.0.0

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

79263985

Date: 2024-12-09 06:08:30
Score: 5.5
Natty:
Report link

can you please share more details
Like `MainAppTabController class ` and "open the page" logic
Reasons:
  • RegEx Blacklisted phrase (2.5): can you please share
  • Low length (1):
  • No code block (0.5):
  • Starts with a question (0.5): can you please share
  • Low reputation (1):
Posted by: Mohit G

79263976

Date: 2024-12-09 06:03:29
Score: 3.5
Natty:
Report link

I've solved this problem by asking someone face to face. The main problem is debugger configuration(Qt Creator->preference->debugger, not suitable for Mac) and terrible file direction(it has non-ASCII characters in it). Thanks.

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: song

79263971

Date: 2024-12-09 06:01:28
Score: 2.5
Natty:
Report link

use null coalesce

int? x = null
var y = x ?? 0
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Seanny

79263962

Date: 2024-12-09 05:58:27
Score: 5
Natty:
Report link

Thanks you anonymous IT23S student!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (2):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: 4627299

79263959

Date: 2024-12-09 05:57:27
Score: 1
Natty:
Report link

function clickme(){
  document.getElementsByClassName("button checkout")[0].click()
}

function clicked(){
  alert('It works!!!!!!')
}
<a class="button checkout" data-no-turbolink="true" href="www.google.com" onclick="clicked()">checkout</a>
<hr/>
<button onclick="clickme()">Click div</button>

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

79263956

Date: 2024-12-09 05:55:26
Score: 2
Natty:
Report link

Thanks to kris, this solved the problem

  public function user(): BelongsTo
    {
        return $this->belongsTo(User::class, 'model_id');
    }
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: balyam

79263953

Date: 2024-12-09 05:54:26
Score: 0.5
Natty:
Report link
override fun onCreate(savedInstanceState: Bundle?) {
    super.onCreate(savedInstanceState)
    setContentView(R.layout.activity_second) // Ensure this matches your layout file name
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Paras Palli

79263940

Date: 2024-12-09 05:48:24
Score: 2
Natty:
Report link

i've not seen 'Next [object]' at the bottom of a next loop in VBS, just 'Next'. maybe 'Next NR' and 'Next Cell' should just be 'Next'.

cant say without seeing your data, really.

InStr([text], [search], 1) is case insensitive, btw, should that be part of your issue.

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

79263937

Date: 2024-12-09 05:44:24
Score: 2
Natty:
Report link

if you are adding a static page , add this in your code await microsoftTeams.app.initialize(); and the error will go.. I was going tru the same error and it is fixed with this. Dont forget to include this also https://res.cdn.office.net/teams-js/2.30.0/js/MicrosoftTeams.min.js

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

79263936

Date: 2024-12-09 05:44:24
Score: 0.5
Natty:
Report link

The files of the file upload are avaiable at _files property instead of files. This should show the values.

  <ng-template pTemplate="content">
    <ul *ngIf="uploader.files">
      <li *ngFor="let file of uploader._files"> <!--  changed here! -->
        <img
          src="/assets/images/pdfimage.png"
        />
        {{ file.name }}
      </li>
    </ul>
  </ng-template>

Related Answers with Working Examples:

In the (onRemove) function of a p-fileUpload, is it possible to get a list of the remaining files?

https://stackoverflow.com/questions/79246000/in-the-onremove-function-of-a-p-fileupload-is-it-possible-to-get-a-list-of-th

Reasons:
  • Blacklisted phrase (1): is it possible to
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Has code block (-0.5):
  • High reputation (-2):
Posted by: Naren Murali

79263931

Date: 2024-12-09 05:40:22
Score: 7
Natty: 7
Report link

Can I ask you for the stats.txt analysis that both gem5 & Ramulator2 generate?

Reasons:
  • Blacklisted phrase (1): Can I ask
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Can I as
  • Low reputation (1):
Posted by: Cliff Wu

79263928

Date: 2024-12-09 05:39:22
Score: 3
Natty:
Report link

I am currently caring this issue.

I hope this help you out

https://github.com/icapps/plugins/tree/565012be9017a552296e4169537e5c0098b6f288/packages/video_player/video_player

Reasons:
  • Whitelisted phrase (-1): hope this help
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jisang Kim

79263924

Date: 2024-12-09 05:35:21
Score: 0.5
Natty:
Report link

In production __dirname will resolve to the ASAR. To combat this, use app.getAppPath() if the app is packaged:

const { app } = require('electron');

const rootPath = app.isPackaged ? app.getAppPath() : __dirname;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: bn0

79263919

Date: 2024-12-09 05:32:21
Score: 3.5
Natty:
Report link

just remove the async from your script tag and it should work

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

79263915

Date: 2024-12-09 05:28:20
Score: 3
Natty:
Report link

I can't a comment because my reputation score is still low but the difference between the two:

lsof -i is for monitoring applications or processes that are responsible for specific connections or open ports. It can also be used for investigating malwares and unknown processes. While ss is used for real-time monitoring active connections on your network.

You could use lsof -i if your trying to find a source of a malware that somehow have gotten in your system.

Reasons:
  • RegEx Blacklisted phrase (1.5): reputation
  • No code block (0.5):
  • Low reputation (1):
Posted by: Koshi

79263907

Date: 2024-12-09 05:24:20
Score: 0.5
Natty:
Report link

I found this on Github, hope it helps.

Based on the error you're encountering with Expo and Clerk authentication, this is a known issue with CAPTCHA in non-browser environments like Expo/React Native. The "Missing CAPTCHA token" error occurs because Clerk's bot protection feature is not supported in mobile environments. To resolve this, you'll need to disable bot protection in your Clerk Dashboard. Go to User & Authentication > Attack Protection and turn off the Bot sign-up protection. This should resolve the CAPTCHA token error and allow authentication to work properly in your Expo application.

Reasons:
  • Whitelisted phrase (-1): hope it helps
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Jaime Nguyen

79263903

Date: 2024-12-09 05:22:19
Score: 2.5
Natty:
Report link

The Exec-Shield can no longer be managed via sysctl, it is enabled by default with no option to disable. In older systems the kernel.exec-shield key had a value of 1 to enable it and 0 to disable it. To know if your CPU support NX protection you could do

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

79263884

Date: 2024-12-09 05:11:17
Score: 2
Natty:
Report link

FIELD-SYMBOL is faster than INTO DATA because FIELD-SYMBOL does not copy any row into a working area before updating the internal table. FS is storing the location of the records so we can update the data instantly. Here's the comparation between FIELD-SYMBOL and INTO DATA

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

79263880

Date: 2024-12-09 05:11:17
Score: 8.5
Natty: 9
Report link

Can you tell me from where you get app_id ?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you tell me
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (1):
Posted by: Sagar Yadav

79263873

Date: 2024-12-09 05:07:15
Score: 4
Natty: 4
Report link

It's almost 5 years ago I think is already solved, now I am asking where we can download this theme? I want use it for my vending internet cafe using coin acceptor as a screen locked.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Snister

79263872

Date: 2024-12-09 05:05:14
Score: 1
Natty:
Report link

The last line of the file was empty, so [a, b] was destructuring to ["",undefined]. I just added a filter.

const coordinateListString = await Deno.readTextFile("input.txt");

let aSetBCoordinateList = coordinateListString
  .split("\n")
  .filter(line => line !== "")
  .map(str => str.split("   "))
  .map(([a,b]) => [new Set([...a].map(Number)), b.split("")]);
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user8585207

79263871

Date: 2024-12-09 05:05:14
Score: 4.5
Natty: 5
Report link

Here’s how you fix it follow the tutorial: https://www.brendanmulhern.blog/posts/make-your-own-ai-chatbot-website-with-next-js-and-openai.

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

79263831

Date: 2024-12-09 04:26:06
Score: 1.5
Natty:
Report link

right, so let me answer my own question

theres miscommunication about the workspace id, it seems that the workspace on both environtment (release and test) have the same workspace id, BUT to use the test env, you can't manually add the _DEBUG behind the workspace id, it only applicable for API access for manual hit

so if you want to use the TEST env, you need to build the app in debug mode, if you build it in release mode, it'll use the MoEngage live env

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

79263828

Date: 2024-12-09 04:22:05
Score: 1.5
Natty:
Report link

According to Slack's API documentation, oauth.v2.access does not support JSON payloads, although most other endpoints do. You must send application/x-www-form-urlencoded.

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

79263825

Date: 2024-12-09 04:21:05
Score: 3.5
Natty:
Report link

redis database is right?

// try it use 0;

keys *

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: matt liu

79263817

Date: 2024-12-09 04:14:04
Score: 1
Natty:
Report link

**Custom Server Users:**
 If your app uses a custom server for push notifications:

Third-Party Services (e.g., Firebase, OneSignal):

For Reference:-Apple push notification

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

79263809

Date: 2024-12-09 04:08:03
Score: 1.5
Natty:
Report link

Better to use Filter function with multiple filter clauses put together by multiplying the conditions.

If the bands are defined in Table "BandDef" with columns [Band Start], [Band End] and [Band Name], and the value in the main table (say transaction level table where the band needs to be determined - table named "Transactions") is in column [Value],

then the formula would simply be as follows:

= Filter(BandDef[Band Name], ([Transactions@[Value]]>=BandDef[Band Start]) * ([Transactions@[Value]]<=BandDef[Band End]), "Apt error message for Band not found")

The same thing can be done without the table constructs by using usual ranges for cells and columns, but I personally like the excel Tables so much better.

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

79263808

Date: 2024-12-09 04:08:03
Score: 3
Natty:
Report link

14 years later and this bug is still there. ^%$#@! Microsoft!

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

79263805

Date: 2024-12-09 04:06:03
Score: 2
Natty:
Report link

For me repairing VS didn't help, but simply using "Rebuild Solution" instead of "Build" did.

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

79263802

Date: 2024-12-09 04:03:02
Score: 0.5
Natty:
Report link

For AWS Lambda, this refers to the completion of an asynchronous operation type build.

Skip with Promise:

export const FunctionName = async (event: APIGatewayProxyEventHeaders): Promise<any> => ({})
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jason Mullings

79263798

Date: 2024-12-09 04:00:01
Score: 4
Natty: 4.5
Report link

just go on https://yt-playlist-len-calc.onrender.com/ and put the link of playlist in search box

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

79263796

Date: 2024-12-09 03:57:59
Score: 8 đźš©
Natty:
Report link

Have you found the solution for this problem?

Reasons:
  • RegEx Blacklisted phrase (2.5): Have you found the solution for this problem
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jonas

79263790

Date: 2024-12-09 03:53:59
Score: 2
Natty:
Report link

For each axis, set the range like this maybe will be useful.But I don't know the reason. m_surfaceGraph->axisX()->setRange(-1, SIZE + 1);

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

79263786

Date: 2024-12-09 03:49:58
Score: 0.5
Natty:
Report link

Another possible way is to use the transform prop and pass the scale

Here is an example

<G>
<Path
     transform={height < 150 ? "scale(1, 0.65)" : undefined}       
      d="..." />
</G>

Also please note you may need to add preserveAspectRatio="xMinYMax" to your svg

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

79263783

Date: 2024-12-09 03:45:57
Score: 2
Natty:
Report link

Request that to judge & help MSME units

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

79263779

Date: 2024-12-09 03:42:57
Score: 1.5
Natty:
Report link

It actually did come up in the discussion to create an equivalent of require.context for javascript/esm. As commented here, they took the opportunity to improve the API by having it take an object instead of many arguments.

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

79263778

Date: 2024-12-09 03:41:56
Score: 1
Natty:
Report link

If you want to preserve the timezone, you will need a timezone package, because the standard DateTime does not have it.

However, you can use the normal DateTime with UTC and use a package I created to parse many formats https://pub.dev/packages/any_date

See my comment here: https://stackoverflow.com/a/78357473/7128868

You still need to think about ambiguous cases, such as 01/02/03, which can be 2 Jan or 1 Feb depending on American format or not, for example.

But the package will help you with that as well.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Whitelisted phrase (-1.5): you can use
  • No code block (0.5):
  • Low reputation (1):
Posted by: Gil Bassi

79263773

Date: 2024-12-09 03:35:55
Score: 3.5
Natty:
Report link

This should be the defacto answer: No but there are official examples. Here is the README to their Go example: https://github.com/aws/aws-sdk-go/blob/main/example/service/s3/sync/README.md

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

79263761

Date: 2024-12-09 03:25:54
Score: 1.5
Natty:
Report link

According to me the solution of this problem wrong django type hint is.

Check your imports: Make sure QuerySet is correctly imported from Django. Update type hints: Use QuerySet[YourModel] for proper type annotations. Verify your Django stubs: Install or update django-stubs if using mypy for type checking. This should solve the problem with PyCharm's type hint recognition.

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

79263759

Date: 2024-12-09 03:24:54
Score: 3
Natty:
Report link

const path = require('path')

Just add the code in the head of the code

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

79263755

Date: 2024-12-09 03:21:53
Score: 2.5
Natty:
Report link

If you are using third party services like Firebase or OneSignal, then You don't have need to do anything in your app side... Firebase and OneSignal will update the certificate on their end.

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

79263752

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

I can't guarantee that this was the reason, but it fixed it when I did it, so I guess that qualifies it as an answer. Most *.xml files (including the layout files in the layout component of the resources) have the following as the first line:

<?xml version="1.0" encoding="utf-8"?>

However, once I removed this from the attrs.xml, colors.xml, strings.xml & styles.xml files in the values directory of the resources, everything seemed to work (the resources were regenerated & I was able to access the resources from the projects that referenced them). This didn't fix the CS8700 Multiple analyzer… error mentioned in my original post, but I don't think they were ever really related anyway, so that's probably better for another question. I did not remove this line from any other *.xml files (only from files with a root tag of <resources>). I don't know why this fixed it, but hopefully it will fix it for everyone else as well. Good luck!

Reasons:
  • Blacklisted phrase (1): another question
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Nathan Sokalski

79263750

Date: 2024-12-09 03:17:52
Score: 4
Natty:
Report link

Circumvent the EMA calculation accuracy problem by building my own DataFeed class

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

79263739

Date: 2024-12-09 03:04:49
Score: 0.5
Natty:
Report link
    # Retrieve all tags from the source file system with pagination
    all_tags = []
    next_token = None

    while True:
        response = efs_client.list_tags_for_resource(
            ResourceId=source_file_system_id,
            MaxResults=100,
            NextToken=next_token
        )
        all_tags.extend(response["Tags"])
        next_token = response.get("NextToken")
        if not next_token:
            break

    # Optionally add or overwrite the 'Name' tag with NewFileSystemName
    if new_file_system_name:
        all_tags = [tag for tag in all_tags if tag["Key"] != "Name"]  # Remove existing 'Name' tag, if any
        all_tags.append({"Key": "Name", "Value": new_file_system_name})

    # Apply the tags to the target file system
    efs_client.tag_resource(
        ResourceId=target_file_system_id,
        Tags=all_tags
    )
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Avasek Monster

79263726

Date: 2024-12-09 02:50:47
Score: 3
Natty:
Report link

Restart Android Studio after the changes, and restart the system as well, as sometimes it takes a system restart for Environment variables to take effect.

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

79263722

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

If not explicitly calling purchase (e.g. when relying on SwiftUI), use the Transaction.updates async sequence.

https://developer.apple.com/documentation/storekit/transaction/updates#Discussion

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

79263710

Date: 2024-12-09 02:37:44
Score: 2.5
Natty:
Report link

I found the reason: I manually linked a so file in ClangSharpPInvokeGenerator 's appopriate folder, which is suggested by the ClangSharpPInvokeGenerator document on github.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: 李兴钢

79263702

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

So what I had to do to send the commands was the following:

import pyautogui

#sends ctrl + s
pyautogui.hotkey('ctrl', 's')

#presses enter
time.sleep(0.5)
pyautogui.press('enter')
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Victor

79263699

Date: 2024-12-09 02:26:42
Score: 1.5
Natty:
Report link

enter image description here

The splice function returns a deleted element or an empty array enter image description here The unshift function return value is array length

Maybe,you can change this code

if (index > -1) {
  console.log('index', index);
  advantages.splice(index, 1);
  console.log('advantages', advantages.length);
  advantages.unshift(type);
  console.log('advantages', advantages.length);
  this.setPurchaseAdvantages(advantages);
}

Both of these functions can change the original array, so you don't need to create a new array to operate

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

79263695

Date: 2024-12-09 02:24:42
Score: 3
Natty:
Report link

try .contentShape(customShape).

Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Quanhua Guan

79263684

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

When you put the cursor on terminal and press ctrl + C, you can see that your program enter a dead loop:

Traceback (most recent call last):
  File "e:\KEI\python_scripts\demo.py", line 4, in <module>
    while loop < 2:
          ^^^^^^^^
KeyboardInterrupt

So the correct loop body should be in your def MathOnYourOwn() and you need to add a Restriction for 'loop'

enter image description here

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Low reputation (1):
Posted by: KEI

79263682

Date: 2024-12-09 02:10:39
Score: 3.5
Natty:
Report link

In js, you can't set window to null, which causes an error.

enter image description here

Perhaps you can turn off code prompts by setting the configuration

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

79263680

Date: 2024-12-09 02:09:38
Score: 5.5
Natty:
Report link

Having the same issue but dont really know what to do, all the issue started when we added firebase into the project

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): Having the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Fernando Rodrigues

79263667

Date: 2024-12-09 01:52:36
Score: 2.5
Natty:
Report link

I think there are two problems with your code, first, your function is defined inside the while loop, so you can't get the function outside the body of the loop, and second, your loop does not change the loop, there should be a +1 operation in the loop, otherwise it is a dead loopenter image description here

I don't know what you want to do with this code, maybe you can change your function, think about why the function definition is in the loop, and then optimize your code

enter image description here

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

79263666

Date: 2024-12-09 01:52:36
Score: 2.5
Natty:
Report link

Visual Basic Solution

Request.QueryString.GetValues(vbNullString).Contains("test")

Although @Joe's answer is the correct answer, it doesn't account for VB.net programmers. The VB issue with @Joe's [correct] answer is that it yields an error at the "GetValues(null)" section. vbNullString alleviates the issue.


Additional Note

ClientQueryString.Contains("test")

might solve your problem (it did for me). Please know, though, that this solution has its pitfalls.


Summary for VB Programmers

Either of these will [probably] get the job done for you:

  1. Request.QueryString.GetValues(vbNullString).Contains("test")
  2. ClientQueryString.Contains("test")

I would've added this as a comment, but I don't have enough reputation points (43 out of 50)

Reasons:
  • RegEx Blacklisted phrase (1.5): I don't have enough reputation points
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Joe's
  • User mentioned (0): @Joe's
  • Low reputation (1):
Posted by: Elias

79263665

Date: 2024-12-09 01:52:33
Score: 9.5 đźš©
Natty:
Report link

I am currently making a voice chat program and having similar problem with you. I know its being long year ago but if you still have codes for Voice chat, can you share it to me...?

Reasons:
  • RegEx Blacklisted phrase (2.5): can you share
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): having similar problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: HOON

79263655

Date: 2024-12-09 01:45:30
Score: 4.5
Natty:
Report link

I have the same issues and I am using ingress NGINX controller instead of the default GKE controller.

nodes image showing unhealthy status

Turn out this is due to the ingress NGINX controller not running as DaemonSet in those nodes, wherever the controller is running, the nodes will show OK.

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • High reputation (-1):
Posted by: Steven Yong

79263647

Date: 2024-12-09 01:35:28
Score: 1
Natty:
Report link

Solved.

Simple solution, you only need to implement this validation into the tagHelper:

var modelState = ViewContext?.ViewData.ModelState;
    if (modelState != null
        && For != null
        && modelState.TryGetValue(For.Name, out ModelStateEntry? entry)
        && entry.Errors.Count > 0)
    {
        validation.InnerHtml.Append(unencoded: entry.Errors[0].ErrorMessage);
    }
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Joan Alexander

79263642

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

Ended up finding a workaround to this problem, which was to use the built in 'shadow' functionality in the makeIcon() function to combine the pin and icon into a singular icon.

Example below:

syringe = makeIcon(
  iconUrl = https://www.svgrepo.com/show/482909/syringe.svg,
  iconWidth = 30,
  iconHeight = 20, 
  iconAnchorY = 35,
  iconAnchorX = 15,
  shadowUrl = https://www.svgrepo.com/show/512650/pin-fill-sharp-circle-634.svg,
  shadowWidth = 50,           
  shadowHeight = 40,          
  shadowAnchorY = 40,         
  shadowAnchorX = 20,
  popupAnchorX = 0.1,
  popupAnchorY = -40
)
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Samuel Thompson