79232608

Date: 2024-11-28 04:43:26
Score: 0.5
Natty:
Report link

TYPESCRIPT VUE 3 2024-11-28

if you see this You might get build errors or same error as OP. Don't import pdfFonts. instead follow this.

pdfMake.fonts = { Helvetica: { normal: "Helvetica",bold: "Helvetica-Bold",italics: "Helvetica-Oblique",bolditalics: "Helvetica-BoldOblique",},}

and remember to add following to your docDefinition (TDocumentDefinitions)

defaultStyle: { font: 'Helvetica' }

what we have done is instead depending on Roboto font we used 'Helvetica' font insted, which is browser safe font(comes pre installed in most OS and web browsers). and this method only works with English Charactors. you could try to change this for your desired font but I cannot guarantee if it will work for you. read documentation for more info : https://pdfmake.github.io/docs/0.1/fonts/standard-14-fonts/

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: NitroX

79232607

Date: 2024-11-28 04:43:26
Score: 1
Natty:
Report link

After investigating, I discovered the issue was caused by a typo in the endpoint URL. I had written Commnets instead of Comments. Correcting the typo resolved the issue.

Here’s the corrected configuration that worked for me:

HTTP Request Configuration

Method: POST

Endpoint:

_api/web/lists/getbytitle('Project Tracker')/items('ItemID')/Comments

Headers:

{
    "accept": "application/json;odata=verbose"
   
}

Body:

{
    "text": "This is a new item."
}

I hope this helps anyone facing a similar issue! If you have any further questions or suggestions, feel free to share them in the comments below. 😊

Reasons:
  • Whitelisted phrase (-1): hope this helps
  • Whitelisted phrase (-1): worked for me
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): facing a similar issue
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Asit Das

79232604

Date: 2024-11-28 04:40:26
Score: 1
Natty:
Report link

The Local History plugin allows you to autosave file changes and view the file history after reopening VSCode. Local History here

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Nabi K.A.Z.

79232598

Date: 2024-11-28 04:36:25
Score: 1.5
Natty:
Report link

The buffer size option in SFTP is -b buffer_size

It specifies the buffer size used for data transfer. The default is 32768 bytes. The minimum allowed value is 1024. The maximum allowed value is 4194304 bytes.

I would need to profile the application for available heap and set this buffer size accordingly so that application does run out of heap and throw a OOME.

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

79232589

Date: 2024-11-28 04:34:24
Score: 1.5
Natty:
Report link

Got it!

Setting the scope for the service account credential is all that is needed:

    _serviceAccountCredential.Scopes = new string[]
    {
        Google.Apis.Drive.v3.DriveService.Scope.DriveReadonly
    };

I can now read the contents of my google drive folder.

[I know the StackOverflow rules prohibit answers generated by AI, but hats off to Gemini to pointing me in the right direction when I asked how to generate the token. It pointed me to this answer in StackOverflow.]

Reasons:
  • Blacklisted phrase (1): StackOverflow
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Thomas O'Dell

79232584

Date: 2024-11-28 04:30:23
Score: 3
Natty:
Report link

I opened XAMPP directly from /Applications/XAMPP/xamppfiles/manager-osx, then created an alias by right-clicking the file.

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

79232581

Date: 2024-11-28 04:27:23
Score: 5
Natty:
Report link

big thanks to dm-p (Daniel Marsh-Patrick)

https://github.com/deneb-viz/deneb/issues/517

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: mikhail stotskiy

79232580

Date: 2024-11-28 04:25:22
Score: 1
Natty:
Report link

To disable rebasing in Sourcetree go to Settings > Advanced > Edit Config File, at the end of the file you will see below code:

[pull]
        rebase = true

Change true to false and restart Sourcetree. After that you won't see the rebase option while pulling

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

79232577

Date: 2024-11-28 04:24:21
Score: 5.5
Natty:
Report link

I created this VS Code extension that shows comments when you mouse over package scripts. I would appreciate it if you could try it out and provide feedback. Thank you.

https://marketplace.visualstudio.com/items?itemName=yeongmin.package-scripts-hover

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1.5): would appreciate
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: yeongmin

79232576

Date: 2024-11-28 04:23:21
Score: 2
Natty:
Report link

https://www.kali.org/blog/python-externally-managed/

TL;DR: pip install is on the way out. Installing Python packages must be done via APT, aka. Kali Linux’s package manager. Python packages coming from other sources should be installed in virtual environments.

This is From Kali ^^^^

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

79232574

Date: 2024-11-28 04:22:20
Score: 3
Natty:
Report link

If your mobile device is also connected to same network then you can access through local network ip address with application running port.

I followed this guide which helped me to understand how can i get local ip address and check application in mobile

Maybe helpful for you https://freesv.com/how-to-access-localhost-on-mobile-within-the-same-network/

Reasons:
  • Blacklisted phrase (1): this guide
  • Blacklisted phrase (0.5): how can i
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Varun Deva

79232570

Date: 2024-11-28 04:21:20
Score: 3.5
Natty:
Report link

Problem Solved . The issue was with Axios and request method . In IOS we should pass "GET" for get request, not small letter "get"

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

79232560

Date: 2024-11-28 04:12:18
Score: 3.5
Natty:
Report link

Thank you so much for your suggestion Paul. its now working after the update

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Harris

79232535

Date: 2024-11-28 03:51:14
Score: 0.5
Natty:
Report link

I ran into this problem on Windows 11 using the latest version of Docker Desktop.

Sprinkle the magic (no quotes) '--provenance false' on your build and you only get the image you need.

The full command is this

docker build --platform linux/amd64 --provenance false -t docker-image:test .
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: eAndy

79232531

Date: 2024-11-28 03:49:13
Score: 0.5
Natty:
Report link

I ran into this problem on Windows 11 using the latest version of Docker Desktop.

Sprinkle the magic (no quotes) '--provenance false' on your build and you only get the image you need.

The full command is this

docker build --platform linux/amd64 --provenance false -t docker-image:test .
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: eAndy

79232527

Date: 2024-11-28 03:48:12
Score: 1
Natty:
Report link

Use regex pattern: \d+x\d+
Which match enter image description here

   string pattern = @"\d+x\d+";
        
   MatchCollection matches = Regex.Matches(input, pattern);

   foreach (Match match in matches) {
      Console.WriteLine(match.Value);
   }

Sample code

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

79232526

Date: 2024-11-28 03:46:12
Score: 2.5
Natty:
Report link

this is because dim = 64, head_num2 = 16, 64 // 16 = 4 and 4 is not divisible by 8. Pytorch becomes inefficient in this case.

To avoid this, also need to set dim = 128 as 128 // 16 = 8.

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

79232513

Date: 2024-11-28 03:39:10
Score: 1
Natty:
Report link
def diagonalDifference(arr):
    n = len(arr)
    left_to_right = 0
    right_to_left = 0
    for i in range(n):
        left_to_right += arr[i][i]
        right_to_left += arr[i][n - (i + 1)]
    return abs(left_to_right - right_to_left)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: SHARRANYA R

79232512

Date: 2024-11-28 03:38:10
Score: 1.5
Natty:
Report link

Modify the MainActivity's launch mode as SingleTask,SingleTop. Such as:

 [Activity(Theme = "@style/Maui.SplashTheme",LaunchMode = LaunchMode.SingleTask,
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jerry Chen

79232509

Date: 2024-11-28 03:35:08
Score: 6.5 🚩
Natty: 4.5
Report link

Have you found out the solution yet? I faced the same issue and can't fix it too

Reasons:
  • RegEx Blacklisted phrase (2.5): Have you found out the solution yet
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hữu Đức Nguyễn

79232502

Date: 2024-11-28 03:31:07
Score: 1.5
Natty:
Report link

Thank you @suamikim

For someone who use Rollup, To hide the warning that Rollup outputs about use client warning, we can use onwarn handler in Rollup config https://rollupjs.org/configuration-options/#onwarn

rollup.config.js

const onwarn = (warning, warn) => {
  if (warning.code === 'MODULE_LEVEL_DIRECTIVE') return
  warn(warning)
}

export default [
  // Build CJS
  {
    onwarn,
    ...
  },
    // Build ESM
  {
    onwarn,
    ...

  }

]
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Has code block (-0.5):
  • User mentioned (1): @suamikim
  • Low reputation (0.5):
Posted by: Trong

79232496

Date: 2024-11-28 03:29:07
Score: 3
Natty:
Report link

Do you want to try this method?
https://stackoverflow.com/a/65354430/20586534
Their method involves adding a recording rule. I’ve tested it myself, and the alert numbers are indeed correct.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Whitelisted phrase (-1): try this
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Zolanapine

79232492

Date: 2024-11-28 03:27:06
Score: 5.5
Natty: 5.5
Report link

whether there is a demo to show the diff?

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

79232489

Date: 2024-11-28 03:26:05
Score: 2
Natty:
Report link

I struggled a bit on this and found out that my Stored procedures parameters were in date datatype, i changed it to datetime datatype and it seemed to do the trick. My Parameter drop down is now in DD/MM/YYYY from MM/DD/YYYY

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

79232488

Date: 2024-11-28 03:25:05
Score: 0.5
Natty:
Report link

Yeah, not an expert but been going through the same issues lately and might have some leads for you.

  1. I would not recommend using multiple stateful streaming operations in the same "query", at least not while you are debugging your code.

See: https://spark.apache.org/docs/3.5.1/structured-streaming-programming-guide.html#unsupported-operations

"Chaining multiple stateful operations on streaming Datasets is not supported with Update and Complete mode."

I know, it doesn't say that it is not supported with "Append" mode, but better safe than sorry. It's also easier to check/debug your code if you split it into smaller steps. If everything works, you can still try to combine it again afterwards.

  1. It's not enough to just add the watermark to your dataframes, you also have to "use" the watermarked column (usually the event-time column) in your joins conditions and groupBy clauses.

See the code example here for joins: https://spark.apache.org/docs/3.5.1/structured-streaming-programming-guide.html#inner-joins-with-optional-watermarking

When talking about joins there are different requirements for various types of joins (inner is easier than outer etc.)

And check the example here for a watermark/window aggregation: https://spark.apache.org/docs/3.5.1/structured-streaming-programming-guide.html#handling-late-data-and-watermarking

By the way, you don't necessarily have to use a window in your groupBy clause, you can also group by the event-time column (that you used in the watermark). But one of the two options you must go for, or your watermark has zero effect in that aggregation.

An effective way of checking if your watermarks work in groupBy cases, is to start an incremental DLT pipeline refresh (not a full refresh!) and look at the number of processed/written records. It should only process the streaming increment and not the total number of records... If you see the same number of records (or growing) in each DLT update, you are doing something wrong, because DLT is then switching to "complete" mode automatically (which you don't want usually in a streaming workload).

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

79232481

Date: 2024-11-28 03:22:05
Score: 0.5
Natty:
Report link

To scrape the mentioned webpage and handle dynamic URLs effectively, here are some tips:

Steps to Identify Dynamic URLs

  1. Recheck Headers and Payload: The request might require additional headers, cookies, or query parameters, such as authentication tokens or session data. Review the Headers and Payload sections in the Network tab for missing details.
  2. Inspect JavaScript Code: Look for API calls or JavaScript functions in the source code that construct the URL or manage authentication.
  3. Test with Postman or CURL: Use tools like Postman to replicate the request and ensure you've captured all required parameters.
  4. Check Rate Limiting: Some websites restrict access by IP or frequency of requests. Implement proper delays or proxies.

Debugging the Error The HTTP_500 error suggests the request might be missing critical details. Compare working requests in the browser with your manual attempts to identify discrepancies.

Tutorials on Web Scraping Dynamic Pages

If you're restricted to PHP and Simple_HTML_DOM, try combining it with CURL to mimic API requests effectively.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Nguyễn Hữu Dũng

79232479

Date: 2024-11-28 03:19:04
Score: 5.5
Natty:
Report link

I created this VS Code extension that shows comments when you mouse over package scripts. I would appreciate it if you could try it out and provide feedback. Thank you.

https://marketplace.visualstudio.com/items?itemName=yeongmin.package-scripts-hover

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1.5): would appreciate
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: yeongmin

79232474

Date: 2024-11-28 03:16:03
Score: 0.5
Natty:
Report link

Found a solution, not optimal but is best solution. It works with daylight savings also:

bar_data['time'] = (bar_data['time'].dt.tz_localize('UTC').dt.tz_convert('EST').dt.strftime("%Y-%m-%d %H:%M:%S"))

This converts the date time object into a string without the timezone and this will chart properly through lightweight_charts api.

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

79232472

Date: 2024-11-28 03:16:03
Score: 2.5
Natty:
Report link

Granting uir permissions only works with Activity, not Broadcast.

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

79232468

Date: 2024-11-28 03:14:02
Score: 1.5
Natty:
Report link

In my scenario, assigned analytic privileges 'SYS_BI_CP_ALL' to the user resolved this error.

Hope this helps.

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

79232466

Date: 2024-11-28 03:14:02
Score: 2
Natty:
Report link

You might need to setup the debug environment again. I had this problem, uninstalled all extensions then reinstalled the python debugging extension. some unexposed setting swapped back over and now the default f5 run outputs to "output"

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

79232465

Date: 2024-11-28 03:13:02
Score: 4
Natty:
Report link

yeah, I'm on Windows 11 and having the same problem. If you specify the URI@Sha it works.

What's weird is walking through the problem with AWS support, it does not happen when you do the same from Linux or Mac.

it appears to be an issue with Docker Desktop on Windows.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): having the same problem
  • Low reputation (0.5):
Posted by: eAndy

79232458

Date: 2024-11-28 03:09:01
Score: 1
Natty:
Report link

I had a similar issue but with expo. Basically I had a locally built android folder, then I updated from expo SDK 51 to 52 and from react native 0.74 to 0.76 which I believe was causing this issue.

What resolved it for me was to

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

79232444

Date: 2024-11-28 02:56:55
Score: 0.5
Natty:
Report link

I figured it out!

Here's what I changed.

First of all, in the jinja2 template, I checked the email like this: {% if current_user.get_id() in artwork.votes %} instead of {% if artwork['votes'][current_user.get_id()] is defined%}.

Next, I changed the upvote function to be like this:

@app.route("/upvote", methods=["POST"])
def upvote():
    if current_user.is_authenticated:
        artwork = DisplayArtwork.objects(filename=request.form["filename"]).first()
        if artwork:
            user_email = current_user.get_id()
            if user_email in artwork.votes:
                artwork.update(pull__votes=user_email)
                return "downvoted", 200
            else:
                artwork.update(add_to_set__votes=user_email)
                return "upvoted", 200
        return "Failed to upvote", 500
    return "Login to upvote", 401

artwork.update(pull__votes=user_email) won't throw KeyError so I changed it to manually check whether the email was in the list and then decide what to do.

I also forgot to add .first() to get one artwork instead of a list.

Reasons:
  • Blacklisted phrase (0.5): upvote
  • Whitelisted phrase (-2): I figured it out
  • RegEx Blacklisted phrase (2): downvote
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: wenbang

79232438

Date: 2024-11-28 02:52:54
Score: 3
Natty:
Report link

Avals.offset(0,3) does not work because Avals is a JavaScript array, not a Range object. Offset only works with Range objects in Google Apps Script.

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

79232437

Date: 2024-11-28 02:51:53
Score: 1.5
Natty:
Report link

ahuemmer, thank you! I changed the parameter name to the index of the parameter on cacheable key name and it just worked ('EL1007E in Cachable changes' exception went away). Finally, I saw my data in Redis. My current change is like this:

@CachePut(cacheNames = "account", key = "#p0.universalId", cacheManager = "demoAccountCacheManager")

This issue must be caused from version conflict because the parameter name also works on my experimental project spring-boot-start-web:3.3.4 (spring framework 6.1.13).

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: tu.jianming

79232435

Date: 2024-11-28 02:50:53
Score: 0.5
Natty:
Report link

Here is my solution.Go back to the default first item.

  ToolbarItems.Add(new ToolbarItem("Back",null,async () =>{
      this.CurrentPage = this.Children[0];
      await Navigation.PopModalAsync(true);
  }));
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: liyu

79232428

Date: 2024-11-28 02:45:52
Score: 2
Natty:
Report link

It seems like some configuration in the artifacts we are trying to publish to APIM result in a malformed JSON. We can help further if you can provide the CAPP after removing all the sensitive data.

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

79232427

Date: 2024-11-28 02:45:52
Score: 7.5 🚩
Natty: 6
Report link

me also getting the same issue, see, when i do npm run build in my vs code, then it worked without any error and running as expected without any build errors. Now when i am trying to deploy nextjs app in which i have used shadcn and aceternity ui components to vercel, then i am getting not found error for all this. Do you able to slve/fix this ?

Reasons:
  • Blacklisted phrase (1): i am trying to
  • Whitelisted phrase (-1): it worked
  • RegEx Blacklisted phrase (1.5): fix this ?
  • No code block (0.5):
  • Me too answer (2.5): also getting the same issue
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Om Sharma

79232399

Date: 2024-11-28 02:28:47
Score: 4
Natty:
Report link

Have you tried wrapping the text(s) you want styled differently in a span element(s) and then giving them a id/class selector to style it?

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Matthew Wright

79232394

Date: 2024-11-28 02:27:47
Score: 3.5
Natty:
Report link

Is the Capacity Provider target set to something lower than 100? If so, you're telling it you want extra instances as buffer for tasks and it'll try and launch extra ones.

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

79232385

Date: 2024-11-28 02:19:45
Score: 4.5
Natty:
Report link

I created this VS Code extension that shows comments when you mouse over package scripts. I would appreciate it if you could try it out and provide feedback. Thank you.

https://marketplace.visualstudio.com/items?itemName=yeongmin.package-scripts-hover

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1.5): would appreciate
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: youngmin kim

79232382

Date: 2024-11-28 02:17:44
Score: 1
Natty:
Report link

I want this feature too but the only solution that simple and works is this:

export async function generateStaticParams() {
  if (process.env.MODULE != '') {
    return [{ slug: [] }]
  }
  return source.generateParams()
}

then:

MODULE=rpa pnpm run build

the out build would not include the dynamic route directory.

next version: ^14.2.15

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

79232378

Date: 2024-11-28 02:15:44
Score: 4
Natty:
Report link

@CachePut(cacheNames = "account", key = "#createAccountRequest.universalId", cacheManager = "demoAccountCacheManager")

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: tu.jianming

79232370

Date: 2024-11-28 02:07:42
Score: 0.5
Natty:
Report link

In browser/node projects:

you can run copy(serialisedResults) to copy the untruncated value to your clipboard

https://github.com/microsoft/vscode/issues/94937#issuecomment-920116542

Related: https://stackoverflow.com/a/79232368/2586761

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

79232366

Date: 2024-11-28 02:03:41
Score: 5
Natty: 5
Report link

you need to create nat vm with this guide in order to use private connectivity so you dont need to use external ip from cloud sql https://cloud.google.com/datastream/docs/private-connectivity#whatsnext

Reasons:
  • Blacklisted phrase (1): this guide
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: TS.

79232364

Date: 2024-11-28 02:01:40
Score: 2.5
Natty:
Report link

This is what you what your snippet should be:

"Ejercicio": {
        "prefix": "ejer",
        "body": [
            "<section data-type=\"sect2\">",
            "    <h2>Ejercicio</h2>",
            "    <p></p>",
            "    <section data-type=\"sect3\">",
            "        <h3>Solución</h3>",
            "        <figure>",      
            "            <figcaption></figcaption>",
            "            <img src=\"\" alt=\"\"/>",
            "        </figure>",
            "        <p></p>",
            "    </section>",
            "</section>"
        ],
        "description": "Ejercicio"
    }

Note. You are not setting the "body" property correctly.
Specifically, you have not correctly escaped the multiple " with \"
You can not just copy and paste code into the "body" you have to first format it correctly. As either a single string or a collection of strings.

From the VSCode documentation:

body is one or more lines of content, which will be joined as multiple lines upon insertion. Newlines and embedded tabs will be formatted according to the context in which the snippet is inserted.

See VSCode snippet documentation for reference: https://code.visualstudio.com/docs/editor/userdefinedsnippets#_create-your-own-snippets

Reasons:
  • Blacklisted phrase (3): Solución
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: NerdNoob

79232361

Date: 2024-11-28 01:58:40
Score: 2
Natty:
Report link

I had some conflicts while installing the dependencies.

Clean Installed Dependencies:
Remove node_modules and package-lock.json (or yarn.lock if you're using Yarn), then reinstall all dependencies.

rm -rf node_modules package-lock.json
npm install

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

79232355

Date: 2024-11-28 01:54:39
Score: 3
Natty:
Report link

As of 2024, you don't need ACL for this.

In the Web UI open the bucket and go to 'Security' section, 'Access bindings' tab: Bucket-Security-Access bindings

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

79232350

Date: 2024-11-28 01:47:37
Score: 3
Natty:
Report link

how is your app ?

I need a flexible post creation feature in an app, similar to what we have in social media apps like Twitter, that allows users to add text, images, and location freely without using EditText fields.

I know how to add content using EditText for text and ImageView for images, but in real Android apps, they use a different approach.

For example, the Twitter post activity allows users to write freely and add images, GIFs, and locations if desired.

The post activity will help me add geological discoveries from the field, which will include:

-a title : text -an image : uri,string -date(auto generated ): number -gps coordinates (auto generated): number -dimensions ,auto generated : number -texture , color,hardnes :strings -mineral composition : a text,long a little -structural features :long text -formation ,a text -context : medium text -Name : the name of the rock , it is a text

I want to build something that is user friendly.

Below is my full android resource file (code) that i have:

    <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="#000000">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:padding="16dp">

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginBottom="16dp">

            <ImageButton
                android:id="@+id/btn_close"
                android:layout_width="48dp"
                android:layout_height="48dp"
                android:layout_alignParentStart="true"
                android:layout_centerVertical="true"
                android:contentDescription="Close"
                android:src="@android:drawable/ic_menu_close_clear_cancel" />

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerInParent="true"
                android:text="Drafts"
                android:textColor="#FFFFFF"
                android:textSize="18sp" />

            <Button
                android:id="@+id/btn_post"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentEnd="true"
                android:layout_centerVertical="true"
                android:background="@drawable/rounded_button"
                android:text="Post"
                android:textColor="#FFFFFF" />
        </RelativeLayout>

        <com.google.android.material.imageview.ShapeableImageView
            android:id="@+id/profileImage"
            android:layout_width="70dp"
            android:layout_height="70dp"
            android:scaleType="centerCrop"
            app:shapeAppearanceOverlay="@style/CircularImageView"
            app:strokeColor="#713808"
            app:strokeWidth="2dp" />

        <EditText
            android:id="@+id/et_post_content"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="10dp"
            android:background="@null"
            android:hint="Your discovery"
            android:textColor="#FFFFFF"
            android:textColorHint="#AAAAAA"
            android:minHeight="48dp"
            android:inputType="textMultiLine" />

        <EditText
            android:id="@+id/color"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:background="@null"
            android:hint="Color"
            android:textColor="#FFFFFF"
            android:textColorHint="#AAAAAA"
            android:minHeight="48dp"
            android:inputType="text" />

        <EditText
            android:id="@+id/hardness"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:background="@null"
            android:hint="Hardness"
            android:textColor="#FFFFFF"
            android:textColorHint="#AAAAAA"
            android:minHeight="48dp"
            android:inputType="text" />

        <EditText
            android:id="@+id/composition"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:background="@null"
            android:hint="Composition"
            android:minHeight="48dp"
            android:textColor="#FFFFFF"
            android:textColorHint="#AAAAAA"
            android:inputType="text" />

        <EditText
            android:id="@+id/structuralFeatures"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:background="@null"
            android:hint="Structural features"
            android:textColor="#FFFFFF"
            android:textColorHint="#AAAAAA"
            android:minHeight="48dp"
            android:inputType="text" />

        <EditText
            android:id="@+id/formation"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:background="@null"
            android:hint="Formation"
            android:minHeight="48dp"
            android:textColor="#FFFFFF"
            android:textColorHint="#AAAAAA"
            android:inputType="text" />

        <EditText
            android:id="@+id/context"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:background="@null"
            android:hint="Context"
            android:textColor="#FFFFFF"
            android:textColorHint="#AAAAAA"
            android:minHeight="48dp"
            android:inputType="text" />

        <EditText
            android:id="@+id/name"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:background="@null"
            android:hint="Name"
            android:textColor="#FFFFFF"
            android:textColorHint="#AAAAAA"
            android:minHeight="48dp"
            android:inputType="text" />

        <EditText
            android:id="@+id/story"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="16dp"
            android:background="@null"
            android:hint="About?"
            android:textColor="#FFFFFF"
            android:textColorHint="#AAAAAA"
            android:minHeight="48dp"
            android:inputType="textMultiLine" />

    </LinearLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:orientation="horizontal"
        android:padding="16dp">

        <ImageButton
            android:id="@+id/addImage"
            android:layout_width="0dp"
            android:layout_height="48dp"
            android:layout_weight="1"

            android:contentDescription="Add Image"
            android:src="@android:drawable/ic_menu_gallery" />

        <ImageButton
            android:id="@+id/btn_add_gif"
            android:layout_width="0dp"
            android:layout_height="48dp"
            android:layout_weight="1"
            android:contentDescription="Add GIF"
            android:src="@android:drawable/ic_menu_rotate" />

        <ImageButton
            android:id="@+id/btn_add_poll"
            android:layout_width="0dp"
            android:layout_height="48dp"
            android:layout_weight="1"
            android:contentDescription="Add Poll"
            android:src="@android:drawable/ic_menu_sort_by_size" />

        <ImageButton
            android:id="@+id/btn_add_location"
            android:layout_width="0dp"
            android:layout_height="48dp"
            android:layout_weight="1"
            android:contentDescription="Add Location"
            android:src="@android:drawable/ic_menu_mylocation" />

        <ImageButton
            android:id="@+id/btn_more_options"
            android:layout_width="0dp"
            android:layout_height="48dp"
            android:layout_weight="1"
            android:contentDescription="More Options"
            android:src="@android:drawable/ic_menu_more" />
    </LinearLayout>
</RelativeLayout>
Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): how is you
  • Low reputation (1):
Posted by: BALMA

79232342

Date: 2024-11-28 01:39:35
Score: 3
Natty:
Report link

Now it seems that this is a dead end with no solution. Unless the Android team changes this part of the code logic.

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

79232341

Date: 2024-11-28 01:39:35
Score: 0.5
Natty:
Report link

webstrand of the cascading-style-sheets Discord has pointed me in the right direction!

The issue appears to have been with scroll anchoring! He linked this page on the topic, which mentions both a way to determine what element is being used as a scroll anchor. In this case I determined that the text was being used to scroll anchor.

Utilising the suggested overflow-anchor: none; CSS property upon the grid or the items has stopped the unexpected scrolling!

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

79232319

Date: 2024-11-28 01:19:31
Score: 1.5
Natty:
Report link

This config can work. My mistake is this

proxy_set_header Host $http_host;

Since I have proxy to the originalUrl once, so the this sentence should be

proxy_set_header Host $proxy_host;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Aubrey Q

79232313

Date: 2024-11-28 01:16:30
Score: 1.5
Natty:
Report link

I think it's not just a simple way of handling displays like pagination and product details, including displaying images, indexing, etc., but also how the checkout process cart requires products from DB.

So I suggest, if it is possible, that you design a sync schedule from external data to shop db, with sync API

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

79232306

Date: 2024-11-28 01:08:29
Score: 2
Natty:
Report link

In my case I changed the Run scheme settings such that WidgetKitEnvironment Family was set to systemSmall (my widget size), then restarted the simulator, killed it and let the app rebuild again. enter image description here

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

79232294

Date: 2024-11-28 00:55:24
Score: 0.5
Natty:
Report link

In case you have ufw running, open access to port 3306 with the command;

ufw allow mysql

Change the bind parameter in the mariadb conf, wich might be /etc/my.cnf or /etc/mysql/my.cnf from 127.0.0.1 to 0.0.0.0 and restart mariadb

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

79232290

Date: 2024-11-28 00:54:24
Score: 3.5
Natty:
Report link

If you're here for multi topic searches from Google see https://githubtopics.cloudninelabs.site

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

79232288

Date: 2024-11-28 00:52:23
Score: 1.5
Natty:
Report link

Since this was one of the first hits i saw in a search, figured I'd add that when I followed steps the mobileprovision file extracted was binary.

To see human readable contents use: security cms -D -i embedded.mobileprovision

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

79232284

Date: 2024-11-28 00:48:22
Score: 2.5
Natty:
Report link

Sebastian’s answer worked. However (for future readers) I found a better and much easier solution. There is a free community plugin called CSV Filter which is a control that filters array fields: https://lookerstudio.google.com/u/0/reporting/2b0a22a2-3992-49e1-be12-bdc22937daea/page/WoxLB

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

79232281

Date: 2024-11-28 00:43:21
Score: 1
Natty:
Report link

This is an improved version of Yuval A's answer.

What has been added?

const getExtension = (url) => {
    // If queries are present, we removed them from the URL.
    // If there is any trailing slash, we remove it from the URL.
    if (url.includes('?')) {
        url = url.replace(/[?&]+([^=&]+)=([^&]*)/gi,'')?.replace(/\/+$/gi,'');
    }
    // Extension starts after the first dot after the last slash
    let extStart = url.indexOf('.',url.lastIndexOf('/')+1);
    if (extStart == -1) {
        return false; 
    }
    var ext = url.substr(extStart+1);
    // To handle multiple periods in the filename, we ensure that the current dot is the final one.
    if ( (extStart = url.lastIndexOf('.')) ) {
        ext = url.substr(extStart+1);
    }
    // end of extension must be one of: end-of-string or question-mark or hash-mark with ext.search(/$|[?#]/)
    return ext.substring(0,ext.search(/$|[?#]/));
};

console.log(getExtension('https://cdn.sstatic.net/Js/third-party/npm/@stackoverflow/stacks/dist/js/stacks.min.js?v=d5f780ae3281')); 
//Results: js

console.log(getExtension('https://cdn.sstatic.net/Js/third-party/npm/@stackoverflow/stacks/dist/js/stacks.min..gz.js?v=d5f780ae3281')); 
//Results: js

console.log(getExtension('https://cdn.sstatic.net/Js/third-party/npm/@stackoverflow/stacks/dist/js/stacks.min.gz.js/?v=d5f780ae3281')); 
//Results: js

console.log(getExtension('https://cdn.sstatic.net/Js/third-party/npm/@stackoverflow/stacks/dist/js/stacks.js/?v=d5f780ae3281')); 
//Results: js

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Vine Ehtrekcah Vinature

79232280

Date: 2024-11-28 00:42:21
Score: 2.5
Natty:
Report link

This snippet would do what you are asking:

"Paste Multi-line To Single Line":{
        "prefix": "pasteMultiLineToSingleLine"
        ,"body": ["${CLIPBOARD/(\r\n|\n|\r)/ | /g}"]
        ,"description": "Paste from clipboard replacing every new line with a ' | '"
    }

The main difference is in identifying the different possible line ending characters.

Further explanation of the "body": in case someone else likes to understand the individual parts:

Reference:

[1] VSCode Snippet Variables: https://code.visualstudio.com/docs/editor/userdefinedsnippets#_variables

[2] Stackoverflow ref1: Match linebreaks - \n or \r\n?

[3] Stackoverflow ref2: Difference between \n and \r?

Reasons:
  • Blacklisted phrase (1): Stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: NerdNoob

79232278

Date: 2024-11-28 00:41:20
Score: 2
Natty:
Report link

I wasted some hours on this. I think another cause can be if you do not continue or fulfill the request quickly enough.

If you're debugging your code, this could cause it too maybe? Also, this protocol seems to get broken a lot, so if you're reading this years later, you could also try updating Chrome .

https://github.com/puppeteer/puppeteer/issues/12961#issuecomment-2292941965

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

79232265

Date: 2024-11-28 00:33:19
Score: 3
Natty:
Report link

I know this was asked a long time ago but changing the type of your column 2 (classes) into factors should fix that specific error with not recognizing classes.

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

79232263

Date: 2024-11-28 00:32:18
Score: 2.5
Natty:
Report link

Warning: Could not find file C:\Users\Sebastian\Desktop\UTP\Desarrollo_web_integrado${libs.MySQL_JDBC_Driver.classpath} to copy. BUILD FAILED (total time: 0 seconds)

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

79232252

Date: 2024-11-28 00:27:17
Score: 3
Natty:
Report link

Sorry to necropost but look up clangarm64, it's part of MSYS2. I use it to cross-compile stuff right from my WoA laptop

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

79232236

Date: 2024-11-28 00:18:14
Score: 0.5
Natty:
Report link
    import 'package:flutter/material.dart';


class DragDropExample extends StatefulWidget {
  @override
  _DragDropExampleState createState() => _DragDropExampleState();
}

class _DragDropExampleState extends State<DragDropExample> {
  List<String> libraryCards = ["Card A", "Card B", "Card C"];
  List<String> droppedCards = [];

  int? dropIndex; // To track where the card will be dropped

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Drag and Drop Example')),
      body: Row(
        children: [
          // Left Container: Library
          Expanded(
            flex: 1,
            child: Container(
              color: Colors.blue[50],
              padding: const EdgeInsets.all(8),
              child: Wrap(
                spacing: 8,
                runSpacing: 8,
                children: libraryCards.map((card) {
                  return Draggable<String>(
                    data: card,
                    feedback: Material(
                      child: Card(
                        color: Colors.blue[200],
                        child: Padding(
                          padding: const EdgeInsets.all(16),
                          child: Text(card),
                        ),
                      ),
                    ),
                    childWhenDragging: Opacity(
                      opacity: 0.5,
                      child: Card(
                        color: Colors.blue[100],
                        child: Padding(
                          padding: const EdgeInsets.all(16),
                          child: Text(card),
                        ),
                      ),
                    ),
                    child: Card(
                      color: Colors.blue[100],
                      child: Padding(
                        padding: const EdgeInsets.all(16),
                        child: Text(card),
                      ),
                    ),
                  );
                }).toList(),
              ),
            ),
          ),

          // Right Container: Droppable List
          Expanded(
            flex: 2,
            child: Container(
              color: Colors.green[50],
              padding: const EdgeInsets.all(8),
              child: DragTarget<String>(
                onAccept: (data) {
                  setState(() {
                    droppedCards.insert(dropIndex ?? droppedCards.length, data);
                    dropIndex = null; // Reset the drop index
                  });
                },
                onMove: (details) {
                  RenderBox renderBox = context.findRenderObject() as RenderBox;
                  double localDy = renderBox.globalToLocal(details.offset).dy;
                  double itemHeight = 70; // Approximate height of each card
                  dropIndex = (localDy / itemHeight).floor().clamp(0, droppedCards.length);
                  setState(() {});
                },
                onLeave: (_) => setState(() => dropIndex = null),
                builder: (context, candidateData, rejectedData) {
                  return Column(
                    children: [
                      for (int i = 0; i <= droppedCards.length; i++) ...[
                        if (i == dropIndex)
                          const Divider(
                            color: Colors.green,
                            thickness: 3,
                          ),
                        if (i < droppedCards.length)
                          Draggable<String>(
                            data: droppedCards[i],
                            feedback: Material(
                              child: Card(
                                color: Colors.green[200],
                                child: Padding(
                                  padding: const EdgeInsets.all(16),
                                  child: Text(droppedCards[i]),
                                ),
                              ),
                            ),
                            childWhenDragging: Opacity(
                              opacity: 0.5,
                              child: Card(
                                color: Colors.green[100],
                                child: Padding(
                                  padding: const EdgeInsets.all(16),
                                  child: Text(droppedCards[i]),
                                ),
                              ),
                            ),
                            onDragCompleted: () => droppedCards.removeAt(i),
                            child: Card(
                              color: Colors.green[100],
                              child: Padding(
                                padding: const EdgeInsets.all(16),
                                child: Text(droppedCards[i]),
                              ),
                            ),
                          ),
                      ],
                    ],
                  );
                },
              ),
            ),
          ),
        ],
      ),
    );
  }
}

enter image description here

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

79232222

Date: 2024-11-28 00:09:13
Score: 2
Natty:
Report link

Sighhhh. I believe I have the answer: Pulling a Galois on my situation: There is no solution in Cygwin under Windows-7. :-((

How did I come to this conclusion? I had installed the Guardian browser so my daughter could take an online exam. It barfed at its startup with an almost identical error. The instructor told her she needs to do it on at least Windows-10. I am redoing the project on my Windows-11 PC and the make works just fine.

Yeah, I suppose I could download the source code for make and compile it on my Windows-7 Cygwin but it's time to acknowledge that times has passed me by on that OS. Nostalgia, as the Borg might say, is irrelevant. And persistence is futile. (I don't think they ever said that!)

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

79232204

Date: 2024-11-27 23:55:09
Score: 2.5
Natty:
Report link

Для того, чтобы решить проблему необходимо перейти в код вашего проекта yourname.csproj(он находится в самом вверху, под Решение "Name"). Нажмите в обозревателе решений на него два раза, а далее в коде найдите кусок кода с комментарием [1].

<ItemGroup>
    [1]: <!-- App Icon -->
    <MauiIcon Include="Resources/AppIcon/appicon.svg" Color="#ffffff" />
Reasons:
  • Has code block (-0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: Foxik

79232202

Date: 2024-11-27 23:53:09
Score: 3
Natty:
Report link

I am closing this issue. The code was written for a camera in perspective mode, and doesn't work in orthogonal mode.

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

79232189

Date: 2024-11-27 23:47:07
Score: 2
Natty:
Report link

Not exactly your case, but could be helpful for someone. The same error message you can get in case you're using wrong credentials. Check that the user or a token exists, valid and it's scope allow you to do what you need.

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

79232182

Date: 2024-11-27 23:46:07
Score: 1
Natty:
Report link

As of now (Nov '24), the redirect URIs can be set in the new AWS Congnito UI by doing the following:

  1. Navigate to: Amazon Cognito > User pools > [ your_user_pool ] > App clients > App client: [ your_client ]
  2. Choose the Login pages tab on the overview page
  3. Choose Edit in the Managed login pages configuration pan
  4. Add/remove your redirect URIs as desired (I added a localhost:3000 during development but don't intend to leave it there for prod)
  5. Save and you're done.

Cognito App client overview page enter image description here

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

79232178

Date: 2024-11-27 23:41:06
Score: 1
Natty:
Report link

Did you add one of the necessary error display controls? They are

<xp:messages id="messages1"></xp:messages>
<xp:message id="message1"></xp:message>

And you need them to display the error message in a convenient place.

See also: https://help.hcl-software.com/dom_designer/9.0.1/user/wpd_controls_cref_messages.html

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you add one of the
  • High reputation (-1):
Posted by: D.Bugger

79232156

Date: 2024-11-27 23:30:03
Score: 1.5
Natty:
Report link

requests.exceptions.SSLError: [Errno 2] No such file or directory

I think it is because of incorrect SSL certificate or missing certificate file.

ensure symlink points to correct env

Reinstall ca-certificates and link them properly.

I faced this issue and now it works for me

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: navneet bali

79232149

Date: 2024-11-27 23:25:02
Score: 2
Natty:
Report link

If your error is Failed to extract doctrine/inflector: (7) C:\Program Files\7-Zip\7z.EXE x -bb0 -y AppData\Roaming \Composer\vendor\composer\tmp-bebaa1cf5570c18062db7f64da12db15.zip -o AppData\Roaming\Composer\ven dor\composer\89012551

Then

Download https://7-zip.org/download.html and install then try again.

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

79232137

Date: 2024-11-27 23:16:00
Score: 0.5
Natty:
Report link

Finally, I found 2 solutions.

  1. use Provider OLEDB 12 or OLEDB 16

Note: I found that CurrentProject.AccessConnection use OLEDB 10 Provider

Private Sub test1()

Dim rs As New ADODB.Recordset Dim size As LongLong Dim cn As ADODB.Connection

    Set cn = New ADODB.Connection
    cn.Open "Provider=Microsoft.ACE.OLEDB.16.0;Data Source=d:\data\Make Money\Rapidgator\Rapidgator.accdb;Persist Security Info=False;"
    rs.Open "Select * From LocalFiles ", _
            cn, adOpenKeyset, adLockOptimistic
     rs.AddNew
     
     size = 12345678912345#
    rs("FileSize") = size
    rs.Update
    rs.Close
    cn.Close

End Sub

  1. Use ADODB

Private Sub test2() Dim size As LongLong Dim rst As DAO.Recordset

     Set rst = CurrentDb.OpenRecordset("Select * From LocalFiles ", dbOpenDynaset)
     size = 12345678912345#
     rst.AddNew
     rst("Size1") = size
     rst.Update
     rst.Close

End Sub

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

79232130

Date: 2024-11-27 23:12:59
Score: 1.5
Natty:
Report link

To resolve this problem, you need to remove the simlink function in the disableFunctions on your shared

See more

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

79232118

Date: 2024-11-27 23:05:57
Score: 13.5
Natty: 7.5
Report link

Im getting the exact same error using hive catalog. Did you manage to solve this? if so could you share the solution please. Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2.5): could you share the solution
  • RegEx Blacklisted phrase (3): Did you manage to solve this
  • RegEx Blacklisted phrase (1.5): solve this?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): getting the exact same error
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Bluespark_84

79232115

Date: 2024-11-27 23:01:56
Score: 0.5
Natty:
Report link

After two hours, I decided to finally ask all of you. Within 5 minutes I found that wrapping it with Flexible eliminates the error.

Here is the code:

  Widget build(BuildContext context) {
    return Flexible(
      child: ListView(
        padding: const EdgeInsets.symmetric(),
        children: tasks,
      ),
    );
  }

Md. Yeasin Sheikh also suggested just a minute later: wrapping it with Expanded and that works too. Not sure what I missed in the documentation about ListView.

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

79232114

Date: 2024-11-27 23:01:56
Score: 0.5
Natty:
Report link

To summarize, you can install or upgrade both the core runtime package along with the dev package with this command:

sudo apt install libnuma1 libnuma-dev
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Zhanwen Chen

79232112

Date: 2024-11-27 23:00:56
Score: 1
Natty:
Report link

I had the same problem. I spent hours debugging and investigating what is going on. At the end I confirmed that nothing was wrong with my code, and that there was something corrupt with the database. I reinstalled the DB schema and that resolved the issue for me.

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

79232095

Date: 2024-11-27 22:54:54
Score: 0.5
Natty:
Report link

We had same issue with a mix of Windows 10, 11 and Linux and will list what we did

New version of Windows and Linux use ICU, while older versions will resort to NLS

https://learn.microsoft.com/en-us/dotnet/core/extensions/globalization-icu

ICU has the 4 length for some months

https://github.com/unicode-org/cldr/blob/b0a6207ff224a6cd8ca7f888c8a4740bacb83124/common/main/en_AU.xml#L1833

You can force ICU with two config options

<RuntimeHostConfigurationOption Include="System.Globalization.UseNls" Value="false" />
<RuntimeHostConfigurationOption Include="System.Globalization.AppLocalIcu" Value="<version" />

Then if it makes sense and you always want the same culture regardless of user's setup then add this code to startup locations

CultureInfo.DefaultThreadCurrentCulture = new CultureInfo("en-AU", false);

The false parameter is to not use the user-selected culture settings from Windows

https://learn.microsoft.com/en-us/dotnet/api/system.globalization.cultureinfo.-ctor?view=net-9.0#system-globalization-cultureinfo-ctor(system-string-system-boolean)

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

79232092

Date: 2024-11-27 22:52:54
Score: 1
Natty:
Report link

the dependency

implementation 'com.budiyev.android:code-scanner:2.1.0'

is no longer working, replace with:

implementation 'com.github.yuriy-budiyev:code-scanner:2.3.0'

Refer to the code scanner library.

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

79232089

Date: 2024-11-27 22:50:53
Score: 1
Natty:
Report link

lots of helpful stuff in here - leaving this as an artifact for others who find this article in a google search like me - I was trying to figure this out today with Zip Codes which was a mess because we wanted what should be the left 5 but some leading 0's were trimmed so some were 3 digits that needed two leading 0's padded and some were 7 digits that needed two padded, so I ended up going with a case statement - not super elegant but efficient and got the job done.

UPDATE q
SET q.Zip =
    CASE WHEN LEN(q.Zip) IN (4,8) THEN '0'+ LEFT(q.Zip,4)
         WHEN LEN(q.Zip) IN (3,7) THEN '00'+ LEFT(q.Zip,3)
         WHEN LEN(q.Zip) IN (2,6) THEN '000'+ LEFT(q.Zip,2)
         WHEN LEN(q.Zip) = 1 THEN '0000'+ LEFT(q.Zip,1) 
        ELSE LEFT(q.Zip,5)
    END
FROM #BadData q
Reasons:
  • Blacklisted phrase (1): this article
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Max E L

79232085

Date: 2024-11-27 22:45:53
Score: 2
Natty:
Report link

I am in the process of writing a guide that adds to the provided rpi4.build file what I have been doing for years (on QNX 7.1) to produce a functional RPi4 image. It also explains the additions and changes, and why I've made them. I haven't published it anywhere but if there is interest I could. If it reduces any pain and further promotes what Blackberry QNX have done!

I have made this effort as I realised that people wanting to try QNX8 would quickly hit a bit of a brick wall (like I did) and possibly loose interest. I am not keen for that to happen! I myself hit the wall when I tried to log in but I have a bit of past experience to fall back on to sort it out. Fortunately I had my serial terminal set up - without it I would have been stuck.

It's still in the proof reading and testing phase but might be ready in a day or two (after Thanksgiving). I need to figure out how to get it into the relevant GIT place.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Geoffrey Roberts

79232084

Date: 2024-11-27 22:45:53
Score: 0.5
Natty:
Report link

To change a query parameter:

const url = new URL(location);
url.searchParams.set("foo", "bar");
history.pushState({}, "", url);

https://developer.mozilla.org/en-US/docs/Web/API/History/pushState#change_a_query_parameter

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

79232078

Date: 2024-11-27 22:43:52
Score: 9
Natty: 8
Report link

where you able to solve this?.

Reasons:
  • Blacklisted phrase (1): you able to solve
  • RegEx Blacklisted phrase (1.5): solve this?
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): where you
  • Low reputation (1):
Posted by: maik

79232076

Date: 2024-11-27 22:42:51
Score: 1.5
Natty:
Report link

You can't directly close a window early based on content in Apache Beam's built-in windowing. Interval windows have a fixed duration once it is assigned. Probably the alternative way but more complex is using a custom WindowFn that tracks the number of elements assigned to each window and closes the window when the condition is met. This involves overriding the assignWindows and potentially other methods of the WindowFn interface.

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

79232067

Date: 2024-11-27 22:39:51
Score: 1.5
Natty:
Report link

You can try:

pip install fxcmpy==<version_number>

If you have already downloaded it:

pip uninstall fxcmpy

pip install fxcmpy==<version_number>

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

79232060

Date: 2024-11-27 22:38:50
Score: 0.5
Natty:
Report link

You can achieve this on anything usually with css.

$('canvas').css({ 'pointer-events': 'none' });

This mean there will be no click event or anything. That means whatever code you are using to draw will no longer work.

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

79232039

Date: 2024-11-27 22:26:47
Score: 1
Natty:
Report link

HttpRequest is a file-like object so you can simplify from json.loads(request.body) slightly:

data = json.load(request)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Starts with a question (0.5): is a
Posted by: Ryan

79232023

Date: 2024-11-27 22:19:45
Score: 6.5 🚩
Natty:
Report link

Do you have a @Directive decorator on top of your directive? Something like:

@Directive({ selector: '[orlyDisableShortcuts]' })
Reasons:
  • RegEx Blacklisted phrase (2.5): Do you have a
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Directive
  • Low reputation (0.5):
Posted by: ilya.chepurnoy

79232022

Date: 2024-11-27 22:17:45
Score: 0.5
Natty:
Report link

When reviewing issues in my project, I encountered the rule csharpsquid:S6964:

Value type property used as input in a controller action should be nullable, required or annotated with the JsonRequiredAttribute to avoid under-posting.

Why Use Nullable Types with [Required]?

The [Required] attribute is intended to ensure that a value is explicitly provided by the client when making a request. However, it doesn't function effectively on its own in certain scenarios, especially with non-nullable value types.

Here’s why:

Default Value Assignment

When a client omits a non-nullable value type property (e.g., int, decimal, bool), the model binder cannot leave it unset. Instead, it assigns the type's default value:

int → 0 bool → false decimal → 0.0 This automatic assignment can lead to unintended behavior (known as under-posting) because the default values might not represent valid input from the client.

Nullable Types as a Solution

By declaring the property as nullable (e.g., int?, bool?, decimal?), you create a state where the value can explicitly be null. When combined with the [Required] attribute, the model binder enforces that the client must provide either a valid value or explicitly set it to null. This ensures the property is never unintentionally set to its default value.

My Thoughts

While this approach solves the problem, implementing it would require adding numerous null checks throughout the codebase, potentially increasing complexity and maintenance overhead.

As a result, I opted to disable this rule in SonarQube for the project.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): When
Posted by: erhan355

79232016

Date: 2024-11-27 22:15:44
Score: 1
Natty:
Report link

what worked for me is:

Reasons:
  • Whitelisted phrase (-1): worked for me
  • No code block (0.5):
  • Starts with a question (0.5): what
  • Low reputation (1):
Posted by: orhanuckulac

79232013

Date: 2024-11-27 22:13:44
Score: 12
Natty: 7.5
Report link

I'm also facing the same, did you find any solution?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): did you find any solution
  • RegEx Blacklisted phrase (2): any solution?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Agam Gupta

79232010

Date: 2024-11-27 22:11:43
Score: 2
Natty:
Report link

You need raw and branch as well. FYI, the url doesn't work in a browser.

.bazelcr

common --registry=https://my.gitlab/my_group/bazel-central-registry/raw/my_branch

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

79232007

Date: 2024-11-27 22:08:42
Score: 3.5
Natty:
Report link

Be sure your job implement ShouldQueue interface

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

79232003

Date: 2024-11-27 22:06:41
Score: 1
Natty:
Report link

Quick and easy fix, you can remove the last character in the string using the substring method:

result.substring(0, result.length()-1);

This return a new string containing the element from 0 to length()-1 meaning everything except the last character

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

79231998

Date: 2024-11-27 22:06:41
Score: 1
Natty:
Report link

Solution

A revised version of @NamanMadharia 's post to avoid headers and simplify it a bit:

conda list | awk '!/^#/ && NF {print $1}' | xargs

This doesn't use a conda property, but the conda list output comes in columns and can be manipulated with the above command easily enough.

Breakdown:

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @NamanMadharia
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Drew Galbraith

79231996

Date: 2024-11-27 22:05:41
Score: 4.5
Natty:
Report link

Why do you want to inject ComponentActivity? That doesn't make much sense. The compiler says you need to have @Inject in constructor of ComponentActivity, which you cannot do.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Inject
  • Single line (0.5):
  • Starts with a question (0.5): Why do you
  • Low reputation (0.5):
Posted by: Harry

79231994

Date: 2024-11-27 22:04:41
Score: 2
Natty:
Report link

It does not replace xcodeproj, it is used in playground projects. Aaron Sky tell us more about Swift Playgrounds App Projects

Xcode Project

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