79232984

Date: 2024-11-28 07:53:37
Score: 5
Natty: 4.5
Report link

A great article with practical advice, thank you. MHTOGEL

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Contains signature (1):
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: MHTOGEL

79232981

Date: 2024-11-28 07:52:37
Score: 0.5
Natty:
Report link

The last part of your regex ([A-Za-z\d@$!%*?&]+) matches only the characters spécified within it and there are no parens.

You should use .+ instead to match all the characters because the validation has already been done before.

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

79232979

Date: 2024-11-28 07:51:37
Score: 1
Natty:
Report link

I think this could work perfectly::

SCSS:

accordion-group {
  ::ng-deep {
    .btn:hover {
      background-color: transparent !important;
    }

    .btn {
      color: #0f92d8 !important;
      font-weight: 600 !important;
      outline: none !important;
    }

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

79232978

Date: 2024-11-28 07:51:36
Score: 4.5
Natty:
Report link

Ah, I was so close! Thanks so much for taking the time to help me, I really appreciate it.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): help me
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Mike Edwards

79232967

Date: 2024-11-28 07:46:35
Score: 4
Natty:
Report link

Same, but I do spent some time to find the enterence. Here is the 2 steps: enter image description here

enter image description here

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

79232963

Date: 2024-11-28 07:45:34
Score: 0.5
Natty:
Report link

I think it mostly depend on the style you write your unit tests. From the perspective of 'Uncle Bob' and Kent Beck and their way of teaching, it is more of a black box testing strategy because of the 'write your test first' approach. While from the perspective of the Steve Freeman, its all about code coverage. So its most of awhite box testing strategy.

These two type of unit testing styles are known as 'Detroit school' aka Classicists, and 'London School' aka Mockists. Search for 'Detroit vs London schools' and you can find many articles comparing each approach.

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

79232960

Date: 2024-11-28 07:42:33
Score: 2
Natty:
Report link
@Bean
@Lazy
public DataSource dataSource() {
    //your code
}
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: lvsiqi

79232932

Date: 2024-11-28 07:33:30
Score: 3.5
Natty:
Report link

Some countries have populations more than three times that of all of their neighbours (in the same continent). Give the countries and continents.

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

79232931

Date: 2024-11-28 07:33:30
Score: 1.5
Natty:
Report link

Мне помог последний комментарий, но значение у переменной HOME должно быть C:\Users\UserABC,и использованием двоеточия после C.

The last comment helped me, but the value of the HOME variable should be C:\Users\UserABC, and using a colon after the C.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • No latin characters (0.5):
  • Low reputation (1):
Posted by: Mushroom

79232929

Date: 2024-11-28 07:32:29
Score: 0.5
Natty:
Report link

I Resolved as Below.Thank you.

.SetFont(iText.Kernel.Font.PdfFontFactory.CreateFont(StandardFonts.TIMES_BOLD))
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Whitelisted phrase (-2): I Resolved
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Emrah Çağlar

79232913

Date: 2024-11-28 07:25:27
Score: 11.5 🚩
Natty: 5
Report link

did you find a way? I am also struggeling with the same problem - today :-) Did you find any kind of API call to get distribution list owners / members.

THX Chris

Reasons:
  • Blacklisted phrase (1): THX
  • RegEx Blacklisted phrase (3): did you find a way
  • RegEx Blacklisted phrase (3): Did you find any
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): did you find a
  • Low reputation (1):
Posted by: Chris

79232908

Date: 2024-11-28 07:21:26
Score: 1.5
Natty:
Report link

I replicate the case & copy the mutation, replace the inventoryItemId & locationId & got the same response. But the product quantity is incrreased for me, may be your are checking different product.

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

79232903

Date: 2024-11-28 07:19:26
Score: 2
Natty:
Report link

The annswer of M. Deinum is correct: the behaviour is expected. See the documentation.

NOTE: Specifying a securityMatcher overrides this default.

WARNING: If no filter chain matches a particular request, the request is not protected by Spring Security.

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

79232900

Date: 2024-11-28 07:18:25
Score: 2
Natty:
Report link

For free hosting, I’ve tested InfinityFree and 000WebHost. Both offer PHP, MySQL, and FTP support with no ads, which is great for smaller projects or just learning the ropes. However, as I’ve gotten more hands-on with hosting, I wanted something more reliable for my growing needs. I’ve been using Cloudways for about a week now and it’s been working well. I managed to grab 40% off for 4 months during Black Friday, so I’m not planning to switch for at least that long. So far, everything’s been smooth, and the price seems pretty reasonable for what it offers.

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

79232892

Date: 2024-11-28 07:15:25
Score: 3
Natty:
Report link

You can adjust your memory settings used by the android studio as well as the emulators using the settings provided below.

Settings option

Adjust the settings

Adjust your memory settings as per your requirements.

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

79232886

Date: 2024-11-28 07:14:24
Score: 1.5
Natty:
Report link

Posting the answer if it helps someone

Got the answer for this don't why but it is the fact I guess. The variable name return in capital is the issue here in my case. Like this file is accepting only lower case, camel case and lower case with underscore for camel case. It is really a simple solution but took a day of mine.

.env

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

79232883

Date: 2024-11-28 07:12:24
Score: 2
Natty:
Report link

library(bigrquery) library(DBI)

json_path <- "path_to_your_service_account_key.json"

Set environment variable for service account JSON

Sys.setenv(GOOGLE_APPLICATION_CREDENTIALS = json_path)

Authenticate using the service account

bq_auth(path = json_path)

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

79232875

Date: 2024-11-28 07:09:23
Score: 1
Natty:
Report link

use await

import { cookies } from "next/headers";

const nextCookies = await cookies();
nextCookies.set("test", "test");
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Harsh Gautam

79232864

Date: 2024-11-28 07:06:22
Score: 3.5
Natty:
Report link

Select all the cells -> right click on any columm -> Resize columns -> fit to screen

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Wassup Qué pasa

79232856

Date: 2024-11-28 07:02:21
Score: 2
Natty:
Report link

It should be like:

import numpy as np
x = np.arange(2,11)
print(x)
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Abhishek Singh

79232853

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

if you are looking for useCaseModule here is it

val useCasesModule = module {
    factory {
        LoginUseCases(
            loginRepository = get()
        )
    }
}

also don't forget to include the module to Koin using

modules(listOf(useCasesModule, networkModule))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ayman omara

79232845

Date: 2024-11-28 06:59:20
Score: 1
Natty:
Report link
<!-- Use {% querystring %} to include existing query parameters -->
<input type="hidden" name="paginate_by" value="{{ request.GET.paginate_by }}">

<button type="submit">Search</button>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: PG NETWORK

79232834

Date: 2024-11-28 06:57:20
Score: 1.5
Natty:
Report link

According to the documentation on Font Size (https://tailwindcss.com/docs/font-size#arbitrary-values)

You would need to use text-[...px] instead of font-size-[...px].

Something like

@layer components {
    .h1 {
        @apply sm:text-[33px] md:text-[35px] lg:text-[43px];
    }
}

should work.

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

79232833

Date: 2024-11-28 06:57:20
Score: 0.5
Natty:
Report link

You can use Hypercorn's built-in ProxyFixMiddleware like this:

from hypercorn.middleware import ProxyFixMiddleware

app = Quart(__name__)
fixed_app = ProxyFixMiddleware(app, mode="legacy", trusted_hops=1)

See the docs here: https://hypercorn.readthedocs.io/en/latest/how_to_guides/proxy_fix.html

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: jakubsvehla

79232828

Date: 2024-11-28 06:52:03
Score: 2
Natty:
Report link

Python does not have dependent types, unfortunately.

I find that super frustrating at times. I mean, one cannot even properly type the identity function...

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

79232822

Date: 2024-11-28 06:48:02
Score: 4.5
Natty: 4.5
Report link

Do check the medium tutorial. I followed the same

https://tonyowen.medium.com/sharing-fonts-between-flutter-and-native-a9d98517f372

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ishteyaque Ahmad

79232815

Date: 2024-11-28 06:46:01
Score: 0.5
Natty:
Report link

This has happened to me - I was working on the downloaded version on my computer. To fix it you have to go to Google.com and open your spreadsheet from Google Drive. I did this and it worked perfectly. I hope this helps as I never could find any other answers.

Reasons:
  • Whitelisted phrase (-1): hope this helps
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Darlene Shoemaker

79232811

Date: 2024-11-28 06:43:01
Score: 1
Natty:
Report link

Actually this can be general. MIT/GNU Scheme gives one reference implementation which considers the improper list input which includes number input etc. IMHO trivially number etc can't be deep copied which is also implied by that they are not constructed by cons (the cons is as the doc says "Returns a newly allocated pair".).

Notice this is not same as the implementation given in the doc which is same as user3125280's list-copy.

(define (list-copy items)
  (if (pair? items)
    (let ((head (cons (car items) '())))
      (let loop ((list (cdr items)) (previous head))
        (if (pair? list)
          (let ((new (cons (car list) '())))
            (set-cdr! previous new)
            (loop (cdr list) new))
          (set-cdr! previous list)))
      head)
    items))

Same as what user3125280 says

while the car is simply taken - not copied! - from the other list.

So we can do the same change as user3125280 by wrapping all the copy operations with list-copy. For the above, it is all (car ...) parts.

Then we have

(define nested-pair (cons (cons 1 2) 3))
(eqv? (car nested-pair) (car (list-copy nested-pair)))
; #f

Actually we can also support the circular list which is one type of improper list using table (hash-table in MIT/GNU Scheme doesn't work for this case) as this QA shows.

;; 0. https://stackoverflow.com/a/67626797/21294350
;; Here we don't have (id children) structure, so the traversal method needs small modification.
;; The basic ideas are same.
;; 1. See http://community.schemewiki.org/?sicp-ex-4.34 LisScheSic's 2nd comment point 1.
;; Notice make-hash-table in MIT/GNU Scheme can't work one for one key being infinite list or circular.
;; One workaround is to use one naive alist, but that may be inefficient then...
;; Anyway this manipulation should be done for hash-table APIs, so I won't dig into that.
(define (list-copy items)
  ;; These 2 both won't work for circular list at least.
  ; (define get hash-table-ref/default)
  ; (define put! hash-table-set!)
  ; (define constructor make-hash-table)

  ; (define get 1d-table/get)
  ; (define put! 1d-table/put!)
  ; (define constructor make-1d-table)

  ;; similar to wiki
  (define constructor (lambda () (list 'ignore)))
  ;; last-pair returns one reference which can be checked by
  ; (define tmp-table (list 1 2))
  ; (set-cdr! (last-pair tmp-table) (list (cons 2 3)))
  (define (put! table k v) 
    (let ((val (assq k (cdr table))))
      (if val 
        (set-cdr! val v)
        (set-cdr! (last-pair table) (list (cons k v)))))
    )
  (define (get table k default) 
    (let ((val (assq k (cdr table))))
      (or (and val (cdr val)) default)))

  (define (list-copy-internal items visited)
    ;; Here we ensure all car/cdr won't be duplicately visited.
    (if (pair? items)
      (or 
        (get visited items #f)
        (let ((head (cons (list-copy-internal (car items) visited) '())))
          ;; mark as visited and store the value which will be fulfilled later.
          (put! visited items head)
          (let loop ((list (cdr items)) (previous head))
            (if (pair? list)
              (let ((res (get visited list #f)))
                (if res
                  ;; avoid duplicately visiting the same sub-list.
                  (set-cdr! previous res)
                  ;; 0. The original one doesn't consider the case where (car list) is also one list. 
                  ;; 1. The new object is implied by cons.
                  (let ((new (cons (list-copy-internal (car list) visited) '())))
                    (set-cdr! previous new)
                    (loop (cdr list) new))))
              (set-cdr! previous list)))
          head)
        )
      ;; 0. non-pair input. This is general.
      ;; 1. This can't cause the circular case, so no need to track that by hash-table.
      ;; And it is allowed to duplicately visit one number in one traversal.
      items))
  (list-copy-internal items (constructor))
  )

Expected results:

(define circular-list (cons 1 2))
(set-cdr! circular-list circular-list)
(list-copy circular-list)
; #0=(1 . #0#)
(eqv? (list-copy circular-list) circular-list)
; #f
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): user3125280
  • User mentioned (0): user3125280
  • User mentioned (0): user3125280
  • Low reputation (0.5):
Posted by: An5Drama

79232806

Date: 2024-11-28 06:41:00
Score: 1
Natty:
Report link

I don't see a problem with that. I do that all the time. One viewcomponent that does several things. Albeit the same data with different .cshtml output using, if or switch.

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

79232792

Date: 2024-11-28 06:35:59
Score: 3
Natty:
Report link

My view is.

If you have common html with no special logic, api or dB requirements and what you need is common to pages and can use the page viewmodel data. Then go with a partial view. Bootstrap modals and wizard navigation buttons are good examples that I use them for.

I use viewcomponents when I want to encapsulate some html, logic, dB and/or api calls that have little dependency on the page itself. But needs to do a fair bit of work to get data and render itself. Essentially independent of the page viewmodel and self contained. Menus and information headers are examples for me. Just drop a one liner in your page and boom! Write once, use everywhere.

Anyone remember ActionPartials? Lol

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
Posted by: djack109

79232790

Date: 2024-11-28 06:35:59
Score: 3.5
Natty:
Report link

Check official doc at Grant partial access to photos and videos.
And it's sample here: Storage samples with the "Selected Photos Access" link.

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

79232787

Date: 2024-11-28 06:32:58
Score: 1
Natty:
Report link

Yes , There is relationship between gradle version and Flutter sdk version. For gradle you can check android>gradle>wrapper>gralde-wrapper-properties for gradle versions .

follow this link to reslove the issues .

Reasons:
  • Blacklisted phrase (1): this link
  • Low length (0.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Rahul Kushwaha

79232782

Date: 2024-11-28 06:31:57
Score: 10 🚩
Natty: 5
Report link

I've got a similar problem: When I try to run ./gradlew bundleRelease it failed with this error: "Execution failed for task ':app:createBundleAmazonReleaseJsAndAssets'. Process 'command 'node'' finished with non-zero exit value 1"

Can somebody help me please ?

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Can somebody help me
  • RegEx Blacklisted phrase (2): help me please
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Uri Know

79232781

Date: 2024-11-28 06:30:56
Score: 3
Natty:
Report link

I see you're trying to transform your data into a table, but I think there's a bit of confusion with your code:

  1. You're overwriting the row property in your .map() function, so only the last row will show up. Were you trying to have multiple rows in the same object?

  2. Also, could you clarify how you want the table structured? From the example image, it looks like you want the data to display horizontally with 'Name', 'Student ID', and 'Studkey' as the headers, but I just want to be sure I'm on the right track.

Once I have a bit more context, I'll try to help you out with the solution

Reasons:
  • RegEx Blacklisted phrase (2.5): could you clarify how you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Thiwain Medagama

79232769

Date: 2024-11-28 06:23:54
Score: 2
Natty:
Report link

For me, above code is working fine. This is output which I got on running above mentioned code. Code Output

VM resources are: 14GB RAM, 28GB Disk Falcon 7B Falcon requires minimum 14 GB RAM. For reference: https://huggingface.co/tiiuae/falcon-7b/discussions/2

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

79232767

Date: 2024-11-28 06:22:54
Score: 1
Natty:
Report link

I was able to get the url from the same Microsoft graph API

POST /me/drive/items/{itemId}/createLink

Once done I manually added some query parameters which remains same in all embed urls (em=2&wdAr=1.7777777777777777). Hence this url I was able to use in the iframe tag in react.

try {
  const response = await fetch(
    `https://graph.microsoft.com/v1.0/me/drive/items/${fileId}/createLink`,
    {
      method: "POST",
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "Content-Type": "application/json",
      },
      body: JSON.stringify({ type: "embed" }),
    }
  );
  if (response.ok) {
    const result = response.json;
    const embed = result.link.webUrl + "?em=2&amp;wdAr=1.7777777777777777"; //got the correct embed url
  }
} catch (error) {
  console.error("Error creating sharing link:", error);
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Filler text (0.5): 7777777777777777
  • Low reputation (1):
Posted by: akaparadox

79232745

Date: 2024-11-28 06:07:50
Score: 2
Natty:
Report link

Liferay Portal operates as a web platform enabling developers to create customizable enterprise-grade websites, portals, and intranets. It gives a modular architecture with OSGi-based plugins for extensibility, supports MVC frameworks, and offers integrated features like authentication, content management, and workflows. Its robust APIs and customizable UI enhance scalability and user-centric experiences.

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

79232744

Date: 2024-11-28 06:07:50
Score: 3
Natty:
Report link

Interesting to find this approach to make a server on top of http protocol , but hey , better late than never

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

79232743

Date: 2024-11-28 06:07:50
Score: 0.5
Natty:
Report link

To move an item on an SD card to the trash, you need the correct URI

The URI content://media/external/images/media/1234 refers to the "external_primary" storage.
For an item on the SD card, the URI should correspond to the specific volume ID, such as:
content://media/5216-4f19/images/media/1234.

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

79232738

Date: 2024-11-28 06:06:50
Score: 2
Natty:
Report link

Remove <OutputType>Exe</OutputType> on JudoApp.Data.Models.csproj and other error projects

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

79232735

Date: 2024-11-28 06:04:50
Score: 1
Natty:
Report link

Depending on what value your looking for, you might be able to do it with this scrip https://github.com/kenmarz/harparse/blob/master/harparse.py

python harparse.py --help

This script helps parse json formatted HAR files

options:

--url (ie: --url=favicon) Search and return any url with a match for the given value --gt (ie: --gt=1000) Returns any url response taking longer in milliseconds than the given value --tt Returns only the url timing breakdown (no headers) --cookies Must be passed with --url to returns cookies for the matching url/value

example: python example.com.har --url='favicon' --gt=1000

The example returns the headers and timing for any url matching favicon whose total time is greater than 1000ms

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

79232734

Date: 2024-11-28 06:04:50
Score: 2.5
Natty:
Report link

Run the Azure Pipeline Agent windows service on the build machine using a different account than Local System.

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

79232731

Date: 2024-11-28 06:02:49
Score: 1
Natty:
Report link

I found that this was simply a matter of those schemas being in my search_path. Once I identified that "SchemaName" was in my search_path, I cleared it. And from that point forward, using "Scripts -> CREATE Script" yielded a fully qualified table name with the associated schema.

I used this answer to help me update my search_path.

Reasons:
  • Blacklisted phrase (1): help me
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: gh0st

79232727

Date: 2024-11-28 05:54:48
Score: 2
Natty:
Report link

This solution may not apply to everyone, but I had a similar issue with Quasar (which appears to be what the OP is using) and the cause turned out to be Cloudflare caching. Originally I was only clearing the service worker file from Cloudflare's cache upon a change, and this worked for every browser I tested except Safari. Changing it to clearing the entire cache upon a change fixed the issue.

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

79232723

Date: 2024-11-28 05:53:47
Score: 4.5
Natty: 6
Report link

TYSMd AWfstgdhfdgfdgknhfkjibnhfdnhgnfdhnodthdnoi

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user28524834

79232720

Date: 2024-11-28 05:52:47
Score: 1.5
Natty:
Report link

In my case, I solve this issue by installing dap.core plugin. In Lazyvim GUI, press x, move cursor down to dap.core and press x again. Restart Nvim to take the effect.

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

79232716

Date: 2024-11-28 05:51:46
Score: 0.5
Natty:
Report link

Modify your code like this to achieve the desired output:

 $data['animal'] = array();
    if($result->num_rows > 0) {
      while($row = $result->fetch_assoc()) {
       $data['animal'][] = $row;
      }
    } else {
        echo "0 result";
    }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Munish Kumar

79232709

Date: 2024-11-28 05:48:45
Score: 1
Natty:
Report link

If you're looking for a car rental experience where others have rented the same car before, you'll find plenty of reliable options with leading car rental agencies. These companies maintain their vehicles well and ensure they're ready for the next user. For those who value affordability and flexibility, it's worth exploring services that offer self-drive rentals with discounts.

For instance, some agencies provide up to 25% off on rentals or exclusive deals like discounts on car subscriptions. You can even find options with doorstep delivery, making the whole process seamless. With such services, you get the convenience of a self-drive car while knowing you're renting from a trusted source. Whether you need a car for a day, a week, or longer, there are agencies designed to meet diverse needs while ensuring customer satisfaction.

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

79232708

Date: 2024-11-28 05:48:45
Score: 2.5
Natty:
Report link

What is the reason why you have been using PHP as a broker between the client and Flask? Why not use Flask directly?

But, maybe you need to rename the files when they are moved between folders in the PHP script, for example, if you receive an image called test1.jpg you could try renaming the file by adding some of the timestamp then the file name finally called test1-12123434.png the point is to avoid the probable cache problems with the files at the PHP server

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What is the
  • Low reputation (1):
Posted by: Cristian Benavides Jimenez

79232702

Date: 2024-11-28 05:46:45
Score: 3.5
Natty:
Report link

Solved

Reasons:
  • Blacklisted phrase (1): this Link
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Yugesh

79232695

Date: 2024-11-28 05:42:43
Score: 4
Natty:
Report link
{counryList.map((country, index)=>{country})}
Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Anatoli Kuwebwa

79232682

Date: 2024-11-28 05:36:42
Score: 0.5
Natty:
Report link

I wrote a package to do this, once the package pkgman is installed:

To me, this wrapper is super helpful when I need to do data analysis, in which, requirements are constantly changing & always need to install and then import new ones.

To start using this module, just pip install pkgman. Opensourced at https://github.com/reycn/pkgman

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

79232681

Date: 2024-11-28 05:35:41
Score: 3.5
Natty:
Report link

All this can also be due to collation mismatch

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

79232677

Date: 2024-11-28 05:33:40
Score: 3
Natty:
Report link

Slightly off-topic, but you on the command line you could use ffmpeg to achieve this much easier:

ffmpeg -i input.wav -i "impulse_response.wav" -lavfi afir output.wav

impulse_response.wav would be your FIR.

See: https://unix.stackexchange.com/questions/612414/how-to-apply-reverb-effect-to-audio-files-using-commandline-tools-only

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

79232669

Date: 2024-11-28 05:28:39
Score: 1.5
Natty:
Report link

tcptunnel works great and it's very simple
https://github.com/vakuum/tcptunnel

Usage: tcptunnel [options]

Options:
  --version
  --help

  --local-port=PORT    local port
  --remote-port=PORT   remote port
  --remote-host=HOST   remote host
  --bind-address=IP    bind address
  --client-address=IP  only accept connections from this IP address
  --buffer-size=BYTES  buffer size
  --fork               fork-based concurrency
  --log
  --stay-alive
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: rd888

79232657

Date: 2024-11-28 05:21:37
Score: 3
Natty:
Report link

Try to do this params[:article, :title]

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

79232656

Date: 2024-11-28 05:21:37
Score: 0.5
Natty:
Report link

You forgot another *, at the end:
find . -name "*.dat.*"
In this way you can include all files that have other chars after the second .

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

79232647

Date: 2024-11-28 05:15:36
Score: 1
Natty:
Report link

According to the documentation of next-auth/react.

getSession is client side method, you are accessing the getSession at the layout file which is not a client side component, hence it is returning null.

In your use-case, you should use getServerSession.

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

79232646

Date: 2024-11-28 05:14:36
Score: 2
Natty:
Report link
print(["Fizz"*(not i%3) + "Buzz"*(not i%5) or i for i in range(1, 101)])
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: sillycone

79232643

Date: 2024-11-28 05:10:34
Score: 6 🚩
Natty: 4.5
Report link

see here https://github.com/reactwg/react-18/discussions/129 enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: LianwenWu

79232630

Date: 2024-11-28 05:02:32
Score: 2.5
Natty:
Report link

Running your function in portal requires the app to explicitly accept requests from https://portal.azure.com. This is known as cross-origin resource sharing (CORS). Configure CORS to add https://portal.azure.com to allowed origins.

enter image description here

The other reasons you might not be able to run the function app is due to network restrictions.

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

79232628

Date: 2024-11-28 04:59:31
Score: 4
Natty:
Report link

/https/fix_56/.Co***`

strong text

`***

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • No latin characters (0.5):
  • Low reputation (1):
Posted by: Lewis Colman

79232627

Date: 2024-11-28 04:58:30
Score: 2
Natty:
Report link

I have tried same with next Js application

First need to get local ip address and then port running 3000 i used on phone

I can able to access application properly. It works if 2 devices connected in same network only. Same as ngrok. But over than internet it wont work

I followed this guide which helped Maybe useful for you too Check https://freesv.com/how-to-access-localhost-on-mobile-within-the-same-network/

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

79232618

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

Developing an AI can seem daunting at first, but with dedication and a structured approach, you can gradually build your knowledge and skills. Here’s a step-by-step guide to help you get started:

  1. Understand the Basics of AI

What is AI? Learn about the different types of AI (narrow AI vs. general AI) and the key concepts such as machine learning, deep learning, and neural networks. Resources: Books: "Artificial Intelligence: A Guide to Intelligent Systems" by Michael Negnevitsky. Online articles and tutorials. 2. Learn Programming

Choose a Language: Python is the most popular language for AI due to its simplicity and the vast number of libraries available (e.g., TensorFlow, PyTorch). Resources: Codecademy, freeCodeCamp, or Coursera for Python programming courses. 3. Study Mathematics and Statistics

Key Areas: Focus on linear algebra, calculus, probability, and statistics, as these are foundational for understanding machine learning algorithms. Resources: Khan Academy and MIT OpenCourseWare offer free courses in these subjects. 4. Explore Machine Learning

Online Courses: Platforms like Coursera, edX, and Udacity offer courses on machine learning. Andrew Ng’s Machine Learning course on Coursera is highly recommended. Books: "Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow" by Aurélien Géron. 5. Practice with Projects

Start Small: Work on simple projects like classification tasks using datasets from Kaggle or UCI Machine Learning Repository. Build a Portfolio: As you complete projects, document them on GitHub or a personal website. 6. Deepen Your Knowledge in Deep Learning

Courses: Once comfortable with machine learning, dive into deep learning with courses like the Deep Learning Specialization by Andrew Ng on Coursera. Frameworks: Familiarize yourself with popular deep learning frameworks like TensorFlow and PyTorch. 7. Join the AI Community

Forums and Groups: Participate in online forums like Stack Overflow, Reddit’s r/MachineLearning, or join local meetups and AI clubs. Conferences: Attend AI conferences (either virtually or in-person) to network and learn about the latest advancements. 8. Stay Updated and Keep Learning

Research Papers: Read research papers from arXiv.org to keep up with the latest developments in AI. Blogs and Podcasts: Follow AI blogs and listen to podcasts to learn from experts in the field. 9. Consider Formal Education

If you’re serious about a career in AI, consider pursuing a degree or certification in computer science or data science. 10. Collaborate and Contribute

Work on collaborative projects or contribute to open-source AI projects to gain experience and connect with other learners. By following these steps and dedicating time to learning, you can build a solid foundation in AI and eventually develop your own AI projects. Remember, the key is to be patient and persistent!

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

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