79221924

Date: 2024-11-25 06:44:00
Score: 2
Natty:
Report link

Yes, you can change the order of labels in the first plot by modifying the data or using specific parameters in your plotting library. For instance, in Python's Matplotlib or Seaborn, you can explicitly set the order of labels using arguments like order or category_order when creating the plot. For more detailed steps and examples, read more.

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

79221921

Date: 2024-11-25 06:44:00
Score: 1.5
Natty:
Report link

Import the public key used by the package management system.

From a terminal, install gnupg and curl if they are not already available:

sudo apt-get install gnupg curl

To import the MongoDB public GPG key, run the following command:

curl -fsSL https://www.mongodb.org/static/pgp/server-4.4.asc | \
sudo gpg -o /usr/share/keyrings/mongodb-server-4.4.gpg \ --dearmor

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

79221914

Date: 2024-11-25 06:41:59
Score: 4
Natty:
Report link

I encountered the common issue of setState() or markNeedsBuild() being called during the build phase in Flutter, which can lead to performance problems and errors. To help others facing the same issue, I’ve written a detailed article explaining the causes and solutions for this problem.

If you're struggling with this error, or if you'd like to learn more about handling state updates correctly in Flutter, you can check out the article here: How to Fix the setState() or markNeedsBuild() Called During Build Error in Flutter.

Reasons:
  • No code block (0.5):
  • Me too answer (2.5): facing the same issue
  • Low reputation (1):
Posted by: Jaydeep Wagh

79221908

Date: 2024-11-25 06:39:58
Score: 3.5
Natty:
Report link

kubectl delete statefulset --cascade=orphan and kubectl delete pod database-1. After maintaining, reapply your statefulset. Reference: https://kubernetes.io/docs/tasks/run-application/delete-stateful-set/

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

79221903

Date: 2024-11-25 06:38:57
Score: 5
Natty:
Report link

I suspect it has something to do with the browser. Have you tried changing the browser? I sometimes have the same problem in a specific version of Firefox.

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): have the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: 程兽医

79221902

Date: 2024-11-25 06:37:57
Score: 1.5
Natty:
Report link

You can add an additional "where" into your code:

$categories = Category::where('user_id', $user_id)->where('category_name', 'something')->get()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mahdi

79221896

Date: 2024-11-25 06:34:57
Score: 1
Natty:
Report link

Cloudflare protects your target web app, so you must use the user-agent header and the cookies value.

How to find your cookie?:

Firefox --> visit site --> inspect element --> network tab --> reload --> Click one of your target app requests and copy the cookie value from the request header

Sample code:

import requests
from bs4 import BeautifulSoup

header = {
   "User-Agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0",
   "Cookie": "__cf_bm=I8C6iBjZ.zp.qXQ13P2FsxzLb362R16BWT53UwdQrRk-1732513201-1.0.1.1-CpplZtMR7L8f5AwHD9oY8F2Bj0R1x1fUjywNUgA_lTWE_hGAVt47mczcNLZe5Jyk9tQGD9djIvGJobHvESyzBg; sec_bs=00c4ebc8b28d25682c8dba54389a7840; sec_ts=1732513201; sec_id=d0fb19821d3484c1662fe8dc51619120; _pubcid=8818ae1b-a8d4-4822-81ba-122ab5c9cbc9; _pubcid_cst=zix7LPQsHA%3D%3D; _lr_retry_request=true; _lr_env_src_ats=false; _ga_CPSL518SBG=GS1.1.1732513161.1.1.1732513331.33.0.0; _ga=GA1.2.554695171.1732513161; _gid=GA1.2.812266299.1732513162; pbjs-unifiedid=%7B%22TDID%22%3A%227effdc7e-4e13-4d35-9e0b-95cd77f2a88b%22%2C%22TDID_LOOKUP%22%3A%22FALSE%22%2C%22TDID_CREATED_AT%22%3A%222024-11-25T05%3A39%3A22%22%7D; pbjs-unifiedid_cst=zix7LPQsHA%3D%3D; _cc_id=165db17624b3044976fcff430ac28280; panoramaId_expiry=1732599565628; cto_bundle=_HrcpF95aW1hcDJaT2VndFYxRGx2U2QwMnVxYlBTMTJxUEZMUXNQOWRkNyUyQnRFbFd2M05KTFdwbXl3SGI1SUp2RW5UNE9SZkR0WHlYRzhabm1HMEpyZkV0QTNnN1J5YXpzbmhmcGNJbW1MbFNmRjBiQSUyRnVBN0ZzNUZpaW9aODhsQ3NSd21PaVhaNUR6SDluZ0RRbHNyWG1JVmNRJTNEJTNE; __gads=ID=b670e67b3846330c:T=1732513172:RT=1732513172:S=ALNI_MbxzumQZIuPX73CnRySyAh-0ro14Q; __gpi=UID=00000f76d1b941ee:T=1732513172:RT=1732513172:S=ALNI_MZjfUBSgavUsjr5s4vOAkqybJlfMg; __eoi=ID=df7cd92c7b179fe7:T=1732513172:RT=1732513172:S=AA-AfjYHQAPZ3ZLKUyyzCtxS9sex; cf_clearance=R2HH.fp5RxK6s5_hqBLAWZTmKd4hOSC7GYlbc4bXwWI-1732513307-1.2.1.1-Muc3AQpTZJJ3sau8VQ571lM9QX3SHEBkcdfSyOsi3MUe5yblUHu1Yz.60dpHRP9UE7vPlzxskK7lFFtN8HuMXf34GG4kqV4.WMjkLkhzGJI1JoxXtkwZkXiAMmdvr.pL92D9ZA5KkkvKyFA_pICq2dNypVAp7OhtLVi0BbrSx0qGmEzGims2mR_f14TqdLulZmTOXfiUsb6pYZVmfZL7tbZ1GMdATy95OC02vbWCruY.4hKOiEfs24vuLGMoCtWQJOLJn9oPrgoN7QIMpNq3LgWzNQiUi9ah8SDeBoaEaGUIC5hccTLzcl.K14qU4.r7coWY1rW_Sekq4Qt.ZQEzVfK5CJXRP4cQMuDOQcj6NL.taEfdISst_AN1zxyc3qiuuR9on8R_BZcnyazwbdx9QQ; _gat_gtag_UA_59057_1=1; FCNEC=%5B%5B%22AKsRol8yeIu3-UyCFx1yzeTOLDPIwg_hbC0pnkwSgVeQ_qMV46rRoPUhUq2j-DKJnEmeMeAFqMAPRPmSLzUXSyhCjFI0iXEDuWf22DWdpEIGbIDCY5qK1bd6Idg5_P8DfNxrxYXXHeT0x6NMaGx5DrAgQqesIa90cg%3D%3D%22%5D%5D"
}
url = 'https://rateyourmusic.com/release/album/tyler-the-creator/igor/reviews/1/'

resp = requests.get(url, headers=header).text
soup = BeautifulSoup(resp, 'lxml')
content = soup.findAll('div', class_="review")
for i in content:
   try:
      title = i.find('div', class_='review_title').text
   except Exception:
      title = None
      pass
   print(f"---------------------------\nreview_user: {i.find('a', class_='user').text}\nreview_title: {title}\nreview_body: {i.find('span', itemprop='description').text.strip()}")

Output:

---------------------------
review_user: pinkacemusic
review_title: If perfection is possible, IGOR encapsulates it all around.
review_body: Whether you focus on the raw, dreamy production, the hard-hitting lyrics, the small-yet-grand features or any other aspect of IGOR With the story centralising around the title character and the developing breakup story, Tyler delivers his vision in many genres throughout the album, including hip-hop ("WHAT'S GOOD"), pop ("I THINK"), soul ("EARFQUAKE"), funk ("ARE WE STILL FRIENDS"), R&B ("GONE, GONE / THANK YOU") With undeniably great features from Lil Uzi Vert, Kanye West, CeeLo Green, Playboi Carti and others, from the compositional perfection of ever Favourite track – "BOYFRIEND"ital-version skit, IGOR solidifies itself as a ten out of ten album.
---------------------------
review_user: Emi64
review_title: None
review_body: This is the album that permanently put me onto super artistic music forever. If Tyler The Creator just dropped this in-dipped it would probably be considered among the likes of any other like true music nerd level albums and would probably be in the top 10 of this site in many others. My attachment to this album it difficult to describe what makes it a masterpiece but just know. It is absolutely a masterpiece that will be remembered as more than a classic for years to come
---------------------------
review_user: Qimeunchong
review_title: Tyler, The Creator <IGOR> 2019
review_body: Tyler, The Creator's <IGOR> is the best work of his musical career. Several experimental musical attempts give newness and are goo 100/100ack- EXACTLY WHAT YOU RUN FROM YOU END UP CHASINGamazing.
---------------------------
review_user: Corro837
review_title: None
review_body: Track 1 - IGOR’S THEME:  Love the synths and overall production on this song and additional guest vocals from Lil Uzi Vert and Sol Track 2 - EARFQUAKE: Love Tyler's high pitched singing on this song and Playboi Carti delivers one of his best ever feature verse. Love everyt Track 3 - I THINK: Very similarly immaculate production to Igor's theme, love the piano in the outro, also love Tyler's performance on this so Track 6 - NEW MAGIC WAND: This song has the craziest production and best rapping off the album, also the darkest song on the album if you list Track 7 - A BOY IS A GUN: Best production off the album, best written track as well in my opinion. Love the sample on this song and the way it Track 8 - PUPPET: Love the way Tyler flows on this song, and I absolutely love Kanye's feature his voice just sounds so heavenly on top of the Track 9 - WHAT’S GOOD: Grooviest beat off the album during the first half and the second half is also an insane, as some of the best rapping o Track 10 - GONE, GONE / THANK YOU: This is best song off the album, it's such a beautiful song with very melancholic lyrics along with being t Track 11 - I DON’T LOVE YOU ANYMORE: Beutiful track once again with great meaning to the orverall plot of the album. Most underated track off  Track 12 - ARE WE STILL FRIENDS? Another beautiful track, it's got the most grandiose production of the album along with the best chorus. The last 30 seconds or so of the song is the best moment off the album and it geniunly might be the best outro to any i've ever heard, overall it's Igor was one of the first albums I ever listened to and to this day is still one of my favorites, I love how basically every song is equally as important to the plot of the album and how it just all wraps up so well with "ARE WE STILL FRIENDS?" outro making the album loop able meaning that Tyler's character on the album is in a never ending loop of falling in love, realizing that it wouldn't work because he already has somebody else, wishing his partner would die, then realizing he wasn't really the one for him, falling out of love, paying his farewells, and ending it off with him trying to fix it by becoming best friends with him again, with the cycle starting over then, and this is just a very summarized version of the plot as it is much more complex than that and there parts that I didn't say. The album is straight up perfect there is not one11.ack L I DON’T LOVE YOU ANYMOREthe rest and the album is very well written overall. 
---------------------------
review_user: bjm_b_
review_title: Perfection
review_body: I think Igor is not only the best album of Tyler’s career but also one of the best albums we’ve seen from any artist in recent mem Are We Still Friends? is probably my favorite album closer ever, perfectly concluding an experience that keeps you hooked from start to finish This is one of the best-performed and produced albums I’ve ever listened to. For me, it’s a 10 out of 10.
---------------------------
review_user: SellMeAGod
review_title: None
 Tyler, The Creator is good as a rapper cos he has energy. He could never write a song or a hook, for sure. So why do you all settle for this nonsense song based Odd Future? He is horrible as a singer, average as a producer, and has no vision artistically whatsoever. Why would anyone listen to this over early Odd Future? I feel like I am going crazy whenever I talk to people about Tyler, and how radical and real he once felt. What if there was a R&B song about love....? Who cares.great that we still have that early stuff, tho.
---------------------------
review_user: BibjaTV__
review_title: Beautiful
review_body: There is not a single bad song on this album, even the unreleased songs are perfect,  even though songs like running out of time might not be songs I reposted to often, songs like new magic wand and Gone Gone/ thank you, in my mind, are classics
---------------------------
review_user: z4m
review_title: Easily his best
review_body: Put simply, IGOR is a concept album executed flawlessly. It tells a relatively simple story of a character dealing with the emotional torment of unrequited love. The narrative begins with infatuation, evolves into jealousy, and ends in heartbreak and regret. Innumerable albums have been devoted to these themes, but Tyler approaches them in a way only he could. His delivery conjures an immature vulnerability, which is fitting when he pleads for a second chance or delivers an impassioned thank you to this person who clearly ruined his life. His pitched up vocals, which show up in nearly every track, add to the wistful melancholy he’s trying to convey. The production is nothing short of cinematic, as Tyler tells a story with his sonic arrangements that is just as powerful as the one he tells with his words. The blaring 808s on “New Magic Wand” match the aggression and recklessness of Tyler’s envy on the track, while the dramatic metamorphosis in the middle of “Gone Gone / Thank You” mirrors the evolution from coming to terms with the end of a romance to excruciating regret. Forgetting for one second how emotionally poignant they are, the compositions on IGOR are just as impressive for their lush beauty. Once again, Tyler uses his mastery of synths to enhance his instrumentals, and those dreamy melodies are complemented by swelling strings and soft electric piano progressions. On some occasions, he makes his songs feel massive with those aforementioned blasting 808s, but on others, he opts for a more intimate feel with more relaxing offerings that are soaked in a soothing static. He doesn’t rap much on this record, but when he does, he mixes up his flows with ease while committing to the concept of the album in a way that he had not previously been able to do without indulging in his impulses to be self-aggrandizing or sensationalist. Though some tracks don’t hit as hard as others on IGOR, each one feels essential to the narrative and are made up for many times over by the album’s best moments.
Reasons:
  • Blacklisted phrase (0.5): THANK YOU
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (0.5): Thank You
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: x1337Loser

79221885

Date: 2024-11-25 06:32:56
Score: 2
Natty:
Report link

you seem to be having more than 4 spaces for your indentation in the command you ran, that's why you have an indentation error. An indentation in python is 4 spaces. Don't mix spaces and tabs when you want to indent, use one or the other and not both. Hopefully that helps.

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

79221871

Date: 2024-11-25 06:28:55
Score: 0.5
Natty:
Report link
Class Powershell {
   $version
   Powershell($profile) {

   }

   SetVersion($version) {  try { [ValidateSet(5, 5.1, "5", "5.1", 7, 7.4, "7", "7.4")]$_version = $version}
      catch {
            Write-Host "SetVersion IllegalArgumentException version == $version. See method header for list of valid args -ForegroundColor DarkRed
            Write-Host "Exiting Script..." -ForegroundColor DarkRed
            exit
      }

      *rest of function*
      
   }
}
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: The-Stanislav

79221869

Date: 2024-11-25 06:28:55
Score: 0.5
Natty:
Report link
using (var resource = Assembly.GetExecutingAssembly().GetManifestResourceStream("ProjectName.ResourcesFolderName.filename.txt"))
{
    using (var file = new FileStream(saveFileDialog.FileName, FileMode.Create, FileAccess.Write))
    {
        resource.CopyTo(file);
    }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Elyas Nategh

79221843

Date: 2024-11-25 06:21:54
Score: 3
Natty:
Report link

As of 2024, we can use React Native Vision Camera and its frame processors to extract the info.

Some plugins:

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

79221838

Date: 2024-11-25 06:18:53
Score: 0.5
Natty:
Report link

Here’s a more detailed explanation of the most popular backend frameworks commonly used with ReactJS:

1. Node.js with Express: Node.js is built on JavaScript, making it a natural partner for React. Express, a minimalistic web framework, simplifies routing and handling HTTP requests. It’s highly scalable, making it ideal for real-time applications like chat apps and live updates. Node’s non-blocking I/O allows for fast data handling.

2. Next.js: Next.js is a React-based framework that offers features like server-side rendering (SSR) and static site generation (SSG). This makes it particularly useful for SEO-friendly applications and provides better performance and quicker loading times by pre-rendering pages on the server.

3. Django (Python): Django is a powerful Python framework known for its "batteries-included" approach. It provides built-in solutions for security, authentication, database management, and more, making it great for rapid development of web applications. Django can serve as a robust backend API for React apps, especially in data-heavy projects.

4. Ruby on Rails: Rails is a full-stack web application framework that emphasizes convention over configuration. It’s particularly useful for rapid application development and is great for building APIs that work seamlessly with React. Its rich set of built-in tools helps speed up development, particularly for MVPs or startups.

5. Spring Boot (Java): Spring Boot is perfect for enterprise-level applications. It offers a comprehensive set of tools for security, data access, and scalability. When paired with React, Spring Boot can handle complex backend logic, making it suitable for large-scale, high-performance applications.

These frameworks complement ReactJS, depending on factors like project complexity, preferred programming language, and scalability requirements. Each one provides unique features and advantages for backend development in a React-based stack.

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

79221831

Date: 2024-11-25 06:17:53
Score: 3
Natty:
Report link

In java, use method from S3AsyncClient: software.amazon.awssdk.services.s3.S3AsyncClient#copyObject

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

79221829

Date: 2024-11-25 06:17:53
Score: 2.5
Natty:
Report link

php artisan route:clear

php artisan route:list

Clear the route cache and check if your route is listed.

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

79221818

Date: 2024-11-25 06:13:52
Score: 4
Natty:
Report link

Please double check all lazy loaded modules. Accidentally AppModule can be imported into the lazy loaded modules.enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: lakshan madubashika

79221817

Date: 2024-11-25 06:13:51
Score: 0.5
Natty:
Report link

Key areas to address: Coroutine scope management:

You're using rememberCoroutineScope inside your composable, which is correct for launching coroutines tied to the composable lifecycle. However, you're also using LaunchedEffect with key1 = true to ensure that the coroutine runs when the composable is first rendered. However, this can be simplified as LaunchedEffect(Unit) which will trigger once when the composable first enters the composition. Handling of viewModel.currentDate:

The viewModel.currentDate is being used directly inside the collectAsState method. While this is fine, it's important to note that collectAsState is designed to be used with a State or Flow. Ensure that viewModel.getNotesForDate returns a Flow<List> for this to work smoothly. Inserting notes:

You're checking if notes.value.isEmpty(), and if so, you're inserting a new note. This is fine, but you might want to consider doing this action only once for a given date rather than on every recomposition. This could be handled better with a check inside LaunchedEffect.

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

79221808

Date: 2024-11-25 06:11:51
Score: 1.5
Natty:
Report link

My first thought: If it is only low and high, you could rather use boolean arrays. Those would also help in comparing, manipulation...

X = np.array([False]*10)
X[2]=True
print(['high' if x else 'low' for x in X])

This snippet results in

['low', 'low', 'high', 'low', 'low', 'low', 'low', 'low', 'low', 'low']

which is very close to your desired output. Doesn't that also solve your problem? Even if you have more than two strings that might occur, I would think of encoding them in an integer rather than always adapting to the longest string. This also makes it easier to maintain the code, exchange or translate a string later, etc.

Reasons:
  • RegEx Blacklisted phrase (1.5): solve your problem?
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: André

79221806

Date: 2024-11-25 06:10:51
Score: 0.5
Natty:
Report link

You have correctly implemented the first part where the program accepts inputs and fills the array(tab). However, there are issues in the sorting and swapping logic, particularly in how you modify and access memory dynamically.

Key Issues:

Dynamic Address Calculation: When trying to modify the contents of dyn_addr and dyn2_addr, you directly store the value of the calculated address instead of modifying the actual memory content pointed to by those addresses.

Swapping Mechanism: LMC does not allow direct manipulation of arbitrary addresses. To swap two values, you need to correctly load, temporarily store, and overwrite the data at those addresses.

Address Resolution in Self-Modifying Code: Your program attempts to store and retrieve values by calculating dyn_addr and dyn2_addr, but does not resolve them to modify the actual contents of tab.

Suggested Fix:

To fix the issue, you need to:

1.Use a temporary instruction space in the LMC memory to dynamically point and modify array elements.

2.Correctly load and store values during the swapping phase using calculated addresses.

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

79221803

Date: 2024-11-25 06:09:51
Score: 1
Natty:
Report link

Although opening an executable directly from a browser is hard (you will have to use some very deprecated technologies or bypass security mechanism) and discouraged (it is generally considered unsafe), here is an easy workaround:

Host a HTTP service locally (for example, http://localhost:3000), and send GET requests to http://localhost from your webpage, like "GET http://localhost:3000/notepad.exe". Do not use POST or you may encounter CORS restrictions enforced by browsers.

In your local HTTP service, extract and execute whatever you received, for example, "notepad.exe".

You can forward this reply to an AI to get ready-for-run codes. Please note that I am only providing an approach that correctly answers your question. I'm not responsible for these a lot of known security vulnerabilities by doing so. In fact it's so dangerous and that's why people question "why do you want to" or simply pretend don't know what "open an exe" means...

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

79221797

Date: 2024-11-25 06:05:50
Score: 0.5
Natty:
Report link
cons=df1.apply(lambda ss:pd.Series(ss[0]).diff().iloc[1:].eq(1).all(),1)
df1.assign(cons=cons)


             a   cons
0        [0, 2]  False
1   [9, 11, 12]  False
2     [0, 1, 2]   True
3  [10, 11, 13]  False
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: G.G

79221783

Date: 2024-11-25 06:00:49
Score: 0.5
Natty:
Report link

It would be resolve by that key points:

  1. Increase PHP limits (memory_limit, upload_max_filesize, post_max_size) and check server logs.
  2. Test manual media file import in WordPress Media Library.
  3. Contact hosting support for configuration help and troubleshooting.
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Nilesh

79221777

Date: 2024-11-25 05:56:48
Score: 3
Natty:
Report link

There is this project that I made, UrsinaForMobile, on https://github.com/PaologGithub/UrsinaForMobile

Raphi-2Code talked a little bit about this project already, but now transparency works, which means that you can normally port your game to Mobile

Reasons:
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Paolog

79221774

Date: 2024-11-25 05:56:48
Score: 1
Natty:
Report link

the aforementioned repository

com.scwang.wave:MultiWaveHeader:1.0.0

is now remains unreachable, use this instead:

implementation 'io.openharmony.tpc.thirdlib:MultiWaveHeader:1.0.1'
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Eldo Martadjaya

79221771

Date: 2024-11-25 05:55:48
Score: 0.5
Natty:
Report link

When a 'Achieved' row is added for 'ABC' then above methods do not work, we need a solution for any data that working true

select distinct Organization,Year,Target 
from 
(select * from [manufactor_status] c left join  
(select * from 
(select [Organization] o ,[Year] y, IIf([Target]='Achieved' , 'Achieved' ,'') [Target2]
from [dbo].[manufactor_status]) a
where a.Target2 !='') b
on c.Organization=b.o) d
where (d.Target=d.Target2 and d.Target='Achieved') or (d.Target='Partial' and d.Target2 is null)

when data in table is change, it is working true

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When a
  • Low reputation (1):
Posted by: sara

79221760

Date: 2024-11-25 05:51:47
Score: 1
Natty:
Report link

CREATE OR REPLACE PROCEDURE TASK_INSERT_PROC( PV_PROCESSID VARCHAR2) AS BEGIN INSERT INTO TASK_TEMP (TASKID, TXREFNO, PROCESSID) SELECT statuscode, TXREFNO, PROCESSID FROM ftdmaster WHERE PROCESSID = PV_PROCESSID AND statuscode = '7';

COMMIT;

END TASK_INSERT_PROC;

---------Getting below Error for above code------- Error starting at line : 13 in command - declare v_processid varchar2:='ET06'; begin TASK_INSERT_PROC(v_processid); end; Error report - ORA-06550: line 2, column 13: PLS-00215: String length constraints must be in range (1 .. 32767) 06550. 00000 - "line %s, column %s:\n%s" *Cause: Usually a PL/SQL compilation error. *Action:

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Filler text (0.5): ---------
  • Low reputation (1):
Posted by: bharath

79221755

Date: 2024-11-25 05:47:46
Score: 1
Natty:
Report link

SharePoint does provide a Rest API to upload files.

Example REST API Request:

POST /sites/your-site/_api/web/GetFolderByServerRelativeUrl('/sites/your-site/your-library')/Files/Add(url='your-file-name.zip', overwrite=true)
Host: your-sharepoint-site.sharepoint.com
Authorization: Bearer your-access-token
Content-Type: application/octet-stream
Content-Length: your-file-size

(binary content of your-file-name.zip)

Reference:

Working with large files by using REST

Upload a file by using the REST API and jQuery

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

79221752

Date: 2024-11-25 05:46:46
Score: 1
Natty:
Report link

The youtube_player_flutter package uses an older version of the flutter_inappwebview plugin, causing this issue. It's a known problem; see Issue #2381 in flutter_inappwebiew.

To resolve this issue, you can update the youtube_player_flutter to the latest version or override the dependency of the flutter_inappwebview.

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

79221749

Date: 2024-11-25 05:44:43
Score: 6 🚩
Natty:
Report link

I am having same issue. Does any one here to help us with the solution. Currently I am getting cmake_minimum_required issue while building app for windows build.

Reasons:
  • RegEx Blacklisted phrase (1): help us
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am having same issue
  • Low reputation (1):
Posted by: Ashutosh Deshmukh

79221743

Date: 2024-11-25 05:40:42
Score: 1.5
Natty:
Report link

Use model.addAttribute(userList); in the latest versions.

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

79221733

Date: 2024-11-25 05:37:41
Score: 0.5
Natty:
Report link

simplify your script like following .

@echo off
chcp 65001

python -m venv test
call test\Scripts\activate

pip install -r requirements.txt

python xxxx.py


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

79221723

Date: 2024-11-25 05:30:37
Score: 10 🚩
Natty:
Report link

i also faced such problem, did you solve it?

Reasons:
  • RegEx Blacklisted phrase (3): did you solve it
  • RegEx Blacklisted phrase (1.5): solve it?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user28468435

79221722

Date: 2024-11-25 05:29:37
Score: 3
Natty:
Report link

enter image description here

Conduct global search on vs code, just below the global search window we can see the Open in editor link, just click and it will open the new file where all the search results will be listed along with filename and the line containing the search query

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

79221721

Date: 2024-11-25 05:29:37
Score: 3
Natty:
Report link

If you access http://0.0.0.0:8000 through your browser, it is possible that your browser uses HTTPS protocol by default, and actually your request is https://0.0.0.0:8000 . And your development server only supports HTTP protocol, which leads to the request error

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

79221713

Date: 2024-11-25 05:22:35
Score: 0.5
Natty:
Report link

95__ONLY_HEADSHOT__LOCATION_VIP_NEW_UPDATE_CONFIG_FILE.zip 1 Cannot open output file : errno=13 : Permission denied : /storage/emulated/0/‪Android/data/com.dts.freefireth/files/il2cpp/Metadata/global-metadata(1).dat 2 Cannot open output file : errno=13 : Permission denied : /storage/emulated/0/‪Android/data/com.dts.freefireth/files/il2cpp/Resources/mscorlib.dll-resources(1).dat 3 Cannot open output file : errno=13 : Permission denied : /storage/emulated/0/‪Android/data/com.dts.freefireth/files/il2cpp/etc/mono/1.0/DefaultWsdlHelpGenerator(1).aspx 4 Cannot open output file : errno=13 : Permission denied : /storage/emulated/0/‪Android/data/com.dts.freefireth/files/il2cpp/etc/mono/1.0/machine(1).config 5 Cannot open output file : errno=13 : Permission denied : /storage/emulated/0/‪Android/data/com.dts.freefireth/files/il2cpp/etc/mono/2.0/Browsers/Compat(1).browser 6 Cannot open output file : errno=13 : Permission denied : /storage/emulated/0/‪Android/data/com.dts.freefireth/files/il2cpp/etc/mono/2.0/DefaultWsdlHelpGenerator(1).aspx 7 Cannot open output file : errno=13 : Permission denied : /storage/emulated/0/‪Android/data/com.dts.freefireth/files/il2cpp/etc/mono/2.0/machine(1).config 8 Cannot open output file : errno=13 : Permission denied : /storage/emulated/0/‪Android/data/com.dts.freefireth/files/il2cpp/etc/mono/2.0/settings(1).map 9 Cannot open output file : errno=13 : Permission denied : /storage/emulated/0/‪Android/data/com.dts.freefireth/files/il2cpp/etc/mono/2.0/web(1).config 10 Cannot open output file : errno=13 : Permission denied : /storage/emulated/0/‪Android/data/com.dts.freefireth/files/il2cpp/etc/mono/mconfig/config(1).xml 11 Cannot open output file : errno=13 : Permission denied : /storage/emulated/0/‪Android/data/com.dts.freefireth/files/il2cpp/etc/mono/browscap(1).ini 12 Cannot open output file : errno=13 : Permission denied : /storage/emulated/0/‪Android/data/com.dts.freefireth/files/il2cpp/etc/mono/config(1) 13 Cannot open output file : errno=13 : Permission denied : /storage/emulated/0/‪Android/data/com.dts.freefireth/files/il2cpp/CreatorArc.txt 14 Cannot open output file : errno=13 : Permission denied : /storage/emulated/0/‪Android/data/com.dts.freefireth/files/il2cpp/Rustamytff.txt.ok 15 Cannot open output file : errno=13 : Permission denied : /storage/emulated/0/‪Android/data/com.dts.freefireth/files/il2cpp/apk(1).ver

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

79221708

Date: 2024-11-25 05:18:35
Score: 3.5
Natty:
Report link

Apparently, this is a confirmed bug in MongooseIM as detailed here.

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

79221703

Date: 2024-11-25 05:16:34
Score: 2.5
Natty:
Report link

session_start() only creates uniq id for session and array, but not saves it. At the end of your first script you need to use session_write_close()

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

79221695

Date: 2024-11-25 05:10:33
Score: 1
Natty:
Report link

For backend development, some of the best acceptance testing frameworks include:

  1. Cucumber - Widely used for Behavior-Driven Development (BDD), it allows writing tests in plain English, making it accessible for non-developers.
  2. Postman - Great for API testing, it supports automated testing and integrates easily with CI/CD pipelines.
  3. JUnit - Popular in Java environments, it helps with testing backend services and ensures that APIs behave as expected.
  4. Mocha - A flexible testing framework for Node.js, useful for both unit and acceptance tests.
  5. RSpec - Ideal for Ruby developers, it’s highly readable and suitable for testing backend behavior.

These frameworks provide various features tailored to backend testing needs, from API checks to integration and system testing.

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

79221689

Date: 2024-11-25 05:07:32
Score: 3.5
Natty:
Report link

It was already fixed based on the error log provided. Turn out the restoration I did was not complete at the time

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

79221686

Date: 2024-11-25 05:06:32
Score: 2.5
Natty:
Report link

In my case it just reconnects on its own, I think you don't need to do anything.

You need removechannel when timeout event fires

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

79221682

Date: 2024-11-25 05:05:29
Score: 7.5 🚩
Natty:
Report link

try to set up - Log on as a batch job https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/security-policy-settings/log-on-as-a-batch-job

Using powershell, how do I grant "Log on as service" to an account?

Reasons:
  • Blacklisted phrase (1): how do I
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: user26573235

79221680

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

When updating the sequence, set the value to a multiple of 50 plus one, and at least 100 above the revinfo max(id). Example:

max(id) = 345, seq next value = 451

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Gerson Samaniego

79221672

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

use this in your app/build.gradle compileSdk flutter.compileSdkVersion ndkVersion flutter.ndkVersion

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

79221664

Date: 2024-11-25 04:47:24
Score: 8 🚩
Natty: 4
Report link

Did you find the solution to this? I am also facing this issue

Reasons:
  • Blacklisted phrase (1): also facing this
  • RegEx Blacklisted phrase (3): Did you find the solution to this
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you find the solution to this
  • Low reputation (1):
Posted by: John

79221661

Date: 2024-11-25 04:44:23
Score: 1.5
Natty:
Report link
document.addEventListener('DOMContentLoaded',()=>{
const defaultButton = document.getElementById('slide2');

if(defaultButton){
defaultButton.checked = true;
}
});
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Soumik Mondal

79221658

Date: 2024-11-25 04:41:23
Score: 0.5
Natty:
Report link

I had this issue in a Java 11 codebase that was still using Groovy 2.4 - I don't know what the exact issue was (something must have changed in Groovy 2.5 because Groovy 2.4 doesn't seem to work with Java 17) but removing the trait that was throwing the exception fixed the issue for me.

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

79221654

Date: 2024-11-25 04:38:22
Score: 0.5
Natty:
Report link

To add to the other answers, there's also a special rule ignoring templated functions that could have the signatures of the copy constructor and copy assignment operator.

Citing Effective Modern C++:

Note that there’s nothing in the rules about the existence of a member function template preventing compilers from generating the special member functions. That means that if Widget looks like this,

class Widget {

template Widget(const T& rhs);

template Widget& operator=(const T& rhs); …

// construct Widget // from anything

// assign Widget // from anything

};

compilers will still generate copy and move operations for Widget (assuming the usual conditions governing their generation are fulfilled), even though these templates could be instantiated to produce the signatures for the copy constructor and copy assignment operator. (That would be the case when T is Widget.)

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

79221650

Date: 2024-11-25 04:33:21
Score: 5
Natty:
Report link

.

That's the result I got when I put what @mklement0 put in. I don't criticize him or anything, just that that was the result

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @mklement0
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: ASMAZREG

79221646

Date: 2024-11-25 04:31:21
Score: 0.5
Natty:
Report link

Shortest Solution

import userEvent from '@testing-library/user-event';


await userEvent.click(screen.getByRole('combobox'))

or whatever else that is role or data-testid of your select

USE await AND userEvent

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

79221630

Date: 2024-11-25 04:24:19
Score: 1.5
Natty:
Report link
php artisan route:list --except-vendor

For only your routes

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

79221612

Date: 2024-11-25 04:13:17
Score: 0.5
Natty:
Report link

The issues was the website using Shift_JIS. So Use iconv-lite to convert response to UTF-8. Heres how:

import fetch from 'node-fetch';
import { JSDOM } from 'jsdom';
import pkg from 'iconv-lite'; // Import iconv-lite. 

fetch('hhttps://target-website.tld/bbs.cgi')
  .then(response => response.buffer()) // get the buffer instead getting text.
  .then(buffer => {
    // convert to utf-8
    const htmlString = pkg.decode(buffer, 'sjis');
    console.log(htmlString); // IT WORKS

    // some code
  })
  .catch(error => console.error('Error fetching HTML:', error));
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: もぐもぐぷりん

79221593

Date: 2024-11-25 04:00:15
Score: 1
Natty:
Report link

MultiThreaded rendering with actor - Apple Developer Forum Replied by Apple DTS Engineer Quinn, said that I should draw(in:) frames with sync.

I can't get how to sync get the data that have to access using async before, and the Apple Engineer Quinn answered it. I think everyone here can have a look that Quinn replied.

But I'll still give the bounty to Ostoura. Thank you for your answer.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: timyau

79221582

Date: 2024-11-25 03:50:13
Score: 3
Natty:
Report link

It is recommended to use triggers to process the %formfile% when identifying the creation instructions.This is highly customizable

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

79221579

Date: 2024-11-25 03:49:12
Score: 2
Natty:
Report link

Just because nobody replied and i found a workaround:

You have the db in 1 container, and the app in another one and they can connect with each other. Searched for answers, didn't found so tried something.

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

79221577

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

The solution was to download https://packages.msys2.org/packages/mingw-w64-x86_64-libyaml and install it manually by opening C:\Ruby33-x64\msys64\msys2 and running:

pacman -U /c/Users/burkipe/Downloads/mingw-w64-x86_64-libyaml-0.2.5-2-any.pkg.tar.zst

I then needed to specify the libyaml directory as so, in Git bash:

gem install psych -v 5.1.2 -- --with-libyaml-dir=/C/Ruby33-x64/msys64/mingw64/

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

79221575

Date: 2024-11-25 03:47:12
Score: 0.5
Natty:
Report link

Here is an answer that is more similar to your code setup:

user_input = input()
splitstring = user_input.split()
while splitstring[0] != 'quit': # this will initiate the loop
    if splitstring == 'quit': # this will immediately quit the loop upon discovery of 'quit' in splitstring list position 0
        break # breaks the loop to quit
    else: # runs the loops until all input has been looped that does not include 'quit'
        print('Eating', splitstring[1], splitstring[0], 'a day keeps the doctor away.')
        user_input = input()
        splitstring = user_input.split()
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Taylor Paul Lilly

79221573

Date: 2024-11-25 03:44:10
Score: 2.5
Natty:
Report link

When generating with a custom output, an SQL folder is created in the root directory.

exemple:

orm/sql
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: tamon suzuki

79221567

Date: 2024-11-25 03:39:09
Score: 3
Natty:
Report link

I have this same error, The difficult part is knowing which plugin is causing the problem, since I have 70 installed, it is increasingly difficult to work with react-native

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

79221564

Date: 2024-11-25 03:36:09
Score: 1.5
Natty:
Report link

_|WARNING:-DO-NOT-SHARE-THIS.--Sharing-this-will-allow-someone-to-log-in-as-you-and-to-steal-your-ROBUX-and-items.|_830EDADC7381E8EA65ADA4070B950DE8407B5785BE30F6EF98806FA153C544E41BF52FAABE0115ABD1CA71A8CDA24EB08A79C0B0FFD937EC02294A8DA79F22CCB2860743C537A77412D864DEDDAF6392F2314869FE38A0501629BFA495650CE8D35A79FDA6C8E6175B530A35242006DD2DC5C9ADD10C76AB5F1C1C1AE2999364FF433165F9F83EEA960D62B2F2E6312669794FA389467384C49D3399A3D3791B0CB6687B99174285B48025F739C521CF2949492FE50FFF97397118C728D3BFB8D2B8CFE3303E862B94D70DCD91E0FB33CB55E879420471BD5231B6321E7FFF1EFF14FB1886DAC27F64C54207284FD783C0AC30143593C5A5547B439CB34FE1FFBCE1304A4274FB21A34694188F6CD038C02C687D1A01FCA4D666BD03D426CD3F612F6A4CBB19CA089409C836A039F32295A89220F6590089247C9693F5D3A0538F72295FBC2DEC2B564F33D7C7D93398E2C8B11FE606EB585AB2D3F9983B30C4D42532402203B1736D1052C44FB55471DB8AADB505F1342F0A848362A7EF4068E223DE82F4A092C3A64BB81B0D4B845D1BC224F443EE22EF10811652BF31DD2AB0D47A2DC5405DAD3D967DD470469D2C298C0CF4D1A095E0798436082F2D0B3C51AEC7B2A480FE50323729D9CF1D759063546798911AC40D6B13B2FF5A8393F4439D6476828BC2107DE3325E14CEDCEA07D4BEECA995ADDA0DDAEFD98BEB1FEAC1E091379F30F7A9310174DE22789F8BA2F43EA911F34B4B755A0DD4E61EF94446A17C669FF6AD341104CAFA3DB52CF3F92C77E11E160F920D452E706CBE70ECD5508DE8106CCCFC498A8AE39A29510A5D4566A705E60C7161298AEBA7A165DCF3CFFA6DC2AC004C782BEE06E54E914A81E751ABC379761AD71944432BE4488E83DE3CEC5F412CCE60EA78B59063B9DE0D9ECC789A76DA08152BAFBDB62CCDD38D50B25CE89828A67E491438331107664E467CA63B58B0400987383AE51D47E49DBFA896FDADAAC067FB60047A8BBE15F8D4C4A75ACF3B5790B79A5D5A101D3ED59A637F0F77E66FD1AEF7FB9451B06077AA2C64A53A971586CEF2B0A5072388E5229D2B513A267EDF1E2956E15F59BD01ECA9A39E2DADB6F0103A00539729249CFA711E

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Павел Щукин

79221550

Date: 2024-11-25 03:30:07
Score: 1
Natty:
Report link

Errors like that are not quite runtime exceptions, there are lexical ones. The exception is thrown not by execution of an ill-formed code, but by loading the code text and parsing it. You can handle them, but you don't have the context to do so.

You can get the context if you dynamically load a script text. For example, you can do it with a Web page. You can dynamically insert a script in HTML. Catching syntax errors in a dynamically loaded script is possible, but pretty complicated, I would need to show a good deal of code. You can try to use this idea, if you like it, ask more questions if you face problems.

By the way, you cannot do such tricks with module importing.

// You cannot to it!
try {
    // unfortunately it won't work: SyntaxError
    import LoginPage from "./LoginPage.mjs";
    // import only works in the most outer scope
} catch (e) {
    console.log(e);
}

Another option is the Function constructor. You can take some code text, arguments, pass them to the Function constructor and execute that code. Consider this a safe and more flexible variant of eval. Note that eval is considered risky and should be avoided. At the same time, there are cases where the Function constructor is absolutely necessary. However, many people find this topic very controversial and may down-vote my answer fiercely. 😏

Now, you can wrap a Function constructor call in try-catch.

Let's see:

const badCode = `
    ? some garbage
    return a + b;
`;

try {
    const result = new Function("a", "b", badCode)(2, 3);
    console.log(`Function return: ${result}`);
} catch(e) {
    console.error(`Event SyntaxError can be caught: ${e.message}`);
}

console.log("In all cases, execution recovers");

Comment out ?? garbage to run this dynamic code:

const badCode = `
    //? some garbage
    return a + b;
`;

try {
    const result = new Function("a", "b", badCode)(2, 3);
    console.log(`Function return: ${result}`);
} catch(e) {
    console.error(`Event SyntaxError can be caught: ${e.message}`);
}

console.log("In all cases, execution recovers");

Reasons:
  • RegEx Blacklisted phrase (2): down-vote
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sergey A Kryukov

79221545

Date: 2024-11-25 03:28:07
Score: 3
Natty:
Report link
shell_exec("start " . escapeshellarg($filePath));
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ali Rad

79221540

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

import openpyxl as op import datetime as dt

wb = op.load_workbook("Date_format.xlsx") ws = wb["Sheet1"]

your_date = ws.cell(row=1, column=1).value your_formatted_date = your_date.strftime("%d-%b-%y") print(your_formatted_date)

22-Nov-21

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

79221538

Date: 2024-11-25 03:24:06
Score: 2
Natty:
Report link

Check the path to you ios project, the folder might have wwhite space, fix that and try again.

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

79221531

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

Did you want something like this?

import openpyxl
import datetime
from openpyxl.utils import get_column_letter

# ...

cell = row[col]
val = cell.value
if isinstance(val, (int, float, datetime.datetime)):
    val = cell.number_format.format(val)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Did you
  • High reputation (-2):
Posted by: Tom

79221523

Date: 2024-11-25 03:17:04
Score: 0.5
Natty:
Report link

To improve aws_s3.table_import_from_s3 performance, start by optimizing database parameters - set maintenance_work_mem to 1GB, increase max_wal_size to 4GB, and set checkpoint_timeout to 30 minutes. Drop indexes and foreign keys before import and recreate them after loading completes. Ensure the S3 bucket and RDS instance are in the same region and Availability Zone to minimize network latency. Consider using an S3 VPC endpoint for private connectivity. Monitor and tune ReadIOPS metrics using CloudWatch to verify if your working set fits in memory. For parallel loading, you can run multiple psql commands simultaneously to utilize available CPU cores effectively. However, be aware that increasing max_wal_size and checkpoint_timeout could extend recovery time to 10+ minutes in case of failover.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Chaitanya Rahalkar

79221520

Date: 2024-11-25 03:12:03
Score: 4.5
Natty:
Report link

Actually,I am facing the same issue, but for me the other notebooks with (0.1 ,0.0001 learning rate with 25 epochs), have trained successfully. But the one with 0.01 have stucked at the epoch 1.

If you figured the solution, kindly tag

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same issue
  • Low reputation (1):
Posted by: yabez

79221502

Date: 2024-11-25 02:58:01
Score: 1
Natty:
Report link

the error comes if you use vision framework request in simulator.This specific feature does not work properly in the iOS Simulator due to hardware limitations, you can use a real device for running

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Yanuar Nauval

79221501

Date: 2024-11-25 02:57:00
Score: 4.5
Natty:
Report link

Server B Conversion Service Processing, skipping x segments ahead,xxxx

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

79221499

Date: 2024-11-25 02:56:00
Score: 0.5
Natty:
Report link

We already know that it should be complete BST with 4 as root and position of every element is fixed. Now only the order of element could be changed only like : 2 always come before 1 and 3 but 1 and 3 in any order Similarly goes for 6 comes before 5/7.

Now we can pick any one elment from 2/6 first say 2 : then need to pick order for left 5 elments - - - - -

As 6 should come before 5/7 we can pick this fixed order of 3 from 5 positions in 5C3 ways and multiplying 2! for 5/7 arrangement . Finally multiplying the 2! for arrangement of 1/3 .

Hence , total ways = 5C3 * 2 * 2 = 40.

Similarly total ways if pick 6 first = 40.

Hence , total ways finally = 40 + 40 = 80.

Explanation

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

79221498

Date: 2024-11-25 02:54:59
Score: 1
Natty:
Report link

I have made a package called resolvepy which solves homogenous recurrence relations. After downloading, you can solve a reccurrence relation like this:

from sympy import *
from resolvepy import *

n = Symbol('n')

# create the sequence
f = Recurrence('f')
f.index = n

# input the starting items
f[0] = 1
f[1] = 2

# provide a recursive formula
f[n] = f[n-1] + f[n-2]

explicit = f.resolve()
Reasons:
  • Contains signature (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: kiwirafe

79221495

Date: 2024-11-25 02:52:59
Score: 0.5
Natty:
Report link

I've found a way to make it work by adding the audience as parameter when login.

final credentials = await auth0.webAuthentication().login(useHTTPS: true, audience: 'YOUR_AUTH0_API_IDENTIFIER');
final access_token = credentials.access_token; // Valid JWT token
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: nono

79221489

Date: 2024-11-25 02:47:58
Score: 1.5
Natty:
Report link

Try adding

maven { url=uri("https://jitpack.io") }

to your settings.gradle > dependencyResolutionManagement > repositories

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nguỹn Đạet

79221487

Date: 2024-11-25 02:45:55
Score: 7.5 🚩
Natty:
Report link

Can you show your table structure?It will help us to diagnose.

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you show your
  • RegEx Blacklisted phrase (1): help us
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (1):
Posted by: zb cxy

79221486

Date: 2024-11-25 02:44:55
Score: 2.5
Natty:
Report link

If you're looking for a free solar radiation API to recreate a map like the JRC PVGIS for a non-commercial app, the best option is likely to use the PVGIS API itself, which offers a free tier with access to basic solar radiation data in JSON format.

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

79221485

Date: 2024-11-25 02:44:55
Score: 4
Natty: 4.5
Report link

You might want to see solution posted by https://github.com/victorbrax on https://github.com/xlwings/xlwings/issues/1360

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

79221483

Date: 2024-11-25 02:41:52
Score: 11.5 🚩
Natty: 6.5
Report link

were you able to solve this? I'm having the same issue. Apple Support is ignoring my emails.

Reasons:
  • Blacklisted phrase (1): you able to solve
  • RegEx Blacklisted phrase (1.5): solve this?
  • RegEx Blacklisted phrase (3): were you able
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Carlos Mosquera

79221474

Date: 2024-11-25 02:36:51
Score: 0.5
Natty:
Report link

This issue happen to me after I deleted the first and original branch (master), that was created by DevOps.

I had already successfully created a CI pipeline from the repos. When I returned to create a CD I experienced the issue described, 'No matching repositories were found'. The only plausably related action I had taken was to create a 'main' branch of 'master' and then delete 'master'. In essence, to try rename 'master' to 'main'.

After this I created a new repository, with the first source branch 'master' intact, and this issue didn't occur.

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

79221469

Date: 2024-11-25 02:35:51
Score: 1
Natty:
Report link

If you've gone through all the other solutions and are still getting the same error, the issue might be with where your project is located for Mac users.

If your project is in a folder that is linked to iCloud backup, then it will keep happening.

Move your project to a different location that is not under iCloud backup like: /Users/<your_name>/<project>

I initially had mine in: /Users/<name>/Documents/<project>. I tried everything but it didn't fix it. Moved it to /Users/<your_name>/<project> and it worked immediately

Reasons:
  • Whitelisted phrase (-1): it worked
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): getting the same error
  • Low reputation (0.5):
Posted by: Uma

79221458

Date: 2024-11-25 02:31:47
Score: 11.5 🚩
Natty: 5.5
Report link

Have you got any solution for it if yes please help me with same I am facing same issue

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): please help me
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Amit Bhawsar

79221453

Date: 2024-11-25 02:29:46
Score: 2.5
Natty:
Report link

You would probably need to provide the actual website that you are trying to scrape but at a first glance, it looks like you are trying to transform binary data (an image probably) to text

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

79221447

Date: 2024-11-25 02:22:45
Score: 3.5
Natty:
Report link

The issue is fixed now after updating all the nuget packages to the latest version and downgrading the Microsoft.Azure.WebJobs.Extensions.ServiceBus to 5.120. 0.

Added the below value in Azure portal in the Configuration enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Siri

79221445

Date: 2024-11-25 02:20:45
Score: 5
Natty:
Report link

Just for clarification, are you wanting to know how to write an sh script for those commands or do you need help uploading it through the AWS Management Console?

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

79221441

Date: 2024-11-25 02:18:45
Score: 0.5
Natty:
Report link

Why is RestrictingType<?> not within the bounds of T?

Because ? is an unknown type because T is actually not bound in RestrictingType<T>. It can be anything, like Integer. Therefore the compiler cannot know if ? implements RestrictingType and consequently SelfReferringInterface.

And why is the functionaly similar ? extends RestrictingType<?> no problem?

Because now you've bounded ? with RestrictingType<?> which means compiler knows it's a RestrictingType and consequently SelfReferringInterface.

Also, funny, but this compiles and runs on my Java 21.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Why is
  • Low reputation (0.5):
Posted by: Smola

79221435

Date: 2024-11-25 02:10:43
Score: 2
Natty:
Report link

The issue you're likely facing is that your animation is updating the bar height too quickly, causing it to briefly flash at a very small size before jumping to the next value. To fix this, you need to gradually increase the bar height over time within each animation step, instead of instantly changing it to the full value.

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

79221431

Date: 2024-11-25 02:06:42
Score: 2
Natty:
Report link

This can be achieved by renaming or creating a new connector and specifying snapshot.mode="never". Offset works based on connector name.

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

79221428

Date: 2024-11-25 02:04:42
Score: 2
Natty:
Report link

%ANDROID_SDK_ROOT%\cmdline-tools\latest\bin folder. all file error open each file. check this.

if !version! lss 170 if "%SKIP_JDK_VERSION_CHECK%" == "" ( echo Java version 17 or higher is required. echo To override this check set SKIP_JDK_VERSION_CHECK goto :eof )

if !version! lss 170. 170? edit 17. good work!!

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: 나그네

79221422

Date: 2024-11-25 02:01:41
Score: 1.5
Natty:
Report link

m is the SI symbol of milli, which means 1e-3. For example, 0.023736322531476617 will be displayed as 23.7m in the UI of influxdb.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): is the
Posted by: link89

79221418

Date: 2024-11-25 02:00:41
Score: 3.5
Natty:
Report link

Still does not seem to be supported in 8

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

79221397

Date: 2024-11-25 01:43:38
Score: 1
Natty:
Report link

the library for adding Sticky Headers to ListView or GridView

 implementation 'com.github.DWorkS:AStickyHeader:9a40740d1a'

is the newest version but doesn't seem to work at the moment

Refer to the documentation.

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

79221392

Date: 2024-11-25 01:37:37
Score: 0.5
Natty:
Report link

make sure you have created the relationship between two tables and try this to create a column

Column = CALCULATE( sum('Data'[Amount]))+0

enter image description here

Reasons:
  • Whitelisted phrase (-1): try this
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
Posted by: Ryan

79221386

Date: 2024-11-25 01:34:35
Score: 1
Natty:
Report link

you can create a column

Column = DIVIDE('Table'[client number],sum('Table'[client number]))

enter image description here

or a meassure

MEASURE =
DIVIDE (
    SUM ( 'Table'[client number] ),
    CALCULATE ( SUM ( 'Table'[client number] ), ALL ( 'Table' ) )
)

enter image description here

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

79221382

Date: 2024-11-25 01:29:34
Score: 0.5
Natty:
Report link

I've tried to skip the step of writing each small dataframe as a small file to local disk.

It filtered the rows (4 or 5 in Meet) instead of saving all rows in each smaller dataframe, and tried directly wrote them to a final txt file.

The disadvantage was that, I am not able to monitor the progressing as it's running "behind". Taken even longer hours than the old method, I aborted the test.

Another try was to only save the small dataframe when there are filtered rows (4 or 5 in Meet), and save them into small Parquests. Taken a further step to contact the Parquests. This is the most efficient way I can get, even though it still takes long.

Reasons:
  • Blacklisted phrase (1): I am not able to
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Mark K

79221376

Date: 2024-11-25 01:20:31
Score: 0.5
Natty:
Report link

VSCode has to be explicitly granted Local Network Access after updating to Sequoia

The setting can be found in System Settings -> Privacy & Security -> Local Network. Giving VSCode Local Network access solved the issue.

source

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

79221375

Date: 2024-11-25 01:20:31
Score: 2
Natty:
Report link

So yes, for some reason, AWS placed Bedrock`s functionality to BedrockAgent (for me - Agent is sounds like another part of Bedrock), so, it is enough to use https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent.html to get access to, for example, data sources

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: prosto.vint

79221367

Date: 2024-11-25 01:14:30
Score: 3.5
Natty:
Report link

First of all I am comparing the code provided in @Joachim with or without the if(0) clause at second task. When using gcc 11.4.0 I see differences, but when using clang 14.0.0 the two codes run in about the same time (of course adding if(0) gives some slight edge but not big differences). Then I tried some stupid experiments like the one below:

#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
#include <omp.h>

struct timeval t1, t2;

void recursive_task(int level)
{   
    //printf("%d\n", level);
    
    if (level == 0){
        sleep(1);
        return;
    }
    else
    {
            #pragma omp task
            {
                recursive_task(level-1);
            }
             #pragma omp task 
            {
                recursive_task(level-1);
            }
            #pragma omp taskwait
    }
}

int main()
{
    double time;

    gettimeofday(&t1, 0);

#pragma omp parallel num_threads(4)
    {
#pragma omp single
        {
            recursive_task(2);
        }
    }

    gettimeofday(&t2, 0);

    time = (double)((t2.tv_sec - t1.tv_sec) * 1000000 + t2.tv_usec - t1.tv_usec) / 1000000;
    printf("%.4f\n", time);

    return 0;
}

Now this should run in about 1 second but in gcc this sometimes runs in about 2 seconds and very rarely (at least in my laptop) runs in 1 second so it does not always manage to schedule correctly and take advantage of the enough threads. This is a very strange inconsistency. I think there are some issues with gcc with openmp scheduler, like a bug or something. When using if(0) at second task it always seems to run in 1 second, as expected, but normally it should not be that huge difference just adding if(0).

On the other hand, with clang both with and without if(0) run in 1 second. I think there is some bug in gcc, can someone confirm that the bug presented above can also be reproduced and I am not crazy?

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Joachim
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: hpc_beginner

79221360

Date: 2024-11-25 01:08:29
Score: 1.5
Natty:
Report link

Here's a few possibilities that I can think of with the limited info:

1. In your Animator, you most likely have multiple states, each one for each state of your character. If you simply have a delay in your character going from falling to idle, then it's possible that you have exit time on your transitions, which is causing it to have delay between states. You should do this for every transition in your animator graph. Example (The arrow properties in image should be, respectively, false, and zero.

2. Ensure you have a transition going from each state and back, not just one way. It's pretty simple to make a small mistake with a large graph like the player's animations, so double check that you have a transition back from falling to grounded.

3. Debug your isGrounded boolean. Perhaps it's just not actually working correctly, and it's gone unnoticed? Simply Debug.Log(isGrounded); will do the trick.

4. Alternatively, if none of these work, please expand on your issues, what is exactly happening, is the isGrounded variable working correctly? Are you stuck in falling, and what does your animator graph look like?

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

79221354

Date: 2024-11-25 01:02:28
Score: 2
Natty:
Report link

The discrepancy between your C# implementation of the Welch's method and MATLAB's pwelch function when using a smaller window size (like hanning(512)) is likely due to differences in how the windowing is handled at the signal edges when segmenting the data; specifically, how MATLAB might be implicitly zero-padding the signal at the boundaries when calculating segments with a smaller window size than the segment length.

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

79221349

Date: 2024-11-25 00:57:27
Score: 2
Natty:
Report link

-fsanitize=undefined confirms there is no overflow.

This statement is false. (Speaking as a logician ;-) )

-fsanitize=xxx instruments the code with run-time checks. Of course, just compiling with -fsanitize=undefined does not provide any confirmation/infirmation on the potential overflow.

If you run the instrumented code, and it aborts or logs "UB: overflow", you can definitely state that there is an overflow. If you get no error, it just means that:

Cheers !

Reasons:
  • Blacklisted phrase (1): Cheers
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Steve

79221339

Date: 2024-11-25 00:46:24
Score: 0.5
Natty:
Report link

You should query on application with Key of Application

SELECT * FROM Module WHERE application = Key(Application, '8888ddd90-9594-43f3-87f2-8e27e34dbfc6') limit 10

Where 8888ddd90-9594-43f3-87f2-8e27e34dbfc6 is the PK of Application

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

79221334

Date: 2024-11-25 00:41:20
Score: 10 🚩
Natty: 4.5
Report link

Did you find a solution to this? I'm facing the same issue

Reasons:
  • RegEx Blacklisted phrase (3): Did you find a solution to this
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm facing the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find a solution to this
  • Low reputation (1):
Posted by: Kat

79221333

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

After you've renamed all of the manifests, directories, name of the app, etc., don't forget this little file: .idea/.name That's what feeds the name to the project name-and-widget, here:

picture of my Android Studio session

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