79222290

Date: 2024-11-25 08:57:42
Score: 1.5
Natty:
Report link

update

const providerId = await context.params.providerId;

with

const params = await props.params;
const providerId = params.providerId;

You can check nextjs does this in dashboard

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

79222288

Date: 2024-11-25 08:56:42
Score: 2
Natty:
Report link

It is suppossed that a call to MainWindow::endEdit() or glarea::endEdit() has to be executed after you finish the changes in the mesh. This will execute a call to glarea::update() that make the actual redraw.

This call should be done automatically by the filter. Did you remember to make a call to startEdit() before of starting to change the mesh?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Rockcat

79222285

Date: 2024-11-25 08:55:41
Score: 0.5
Natty:
Report link

In terms of performance, using the spread operator is extremely slow in all but the simplest of cases.

Any other method seems fairly equal in terms of performance, both with small and large sets (benchmark here):

Result of different set accessors for first element benchmark

My favourite is definitely the restructuring assignment:

const [first] = set;

It's concise and reads well, and you can easily access the 2nd, 3rd, 4th elements as well.

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: Harry Mustoe-Playfair

79222278

Date: 2024-11-25 08:53:39
Score: 7 đŸš©
Natty: 4
Report link

did you find a solution to this problem? I'm looking myself into this issue, tried scrollTo, minimal-ui is deprecated as well.

Reasons:
  • RegEx Blacklisted phrase (3): did you find a solution to this problem
  • Low length (1):
  • No code block (0.5):
  • 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: Jovan Tanchevski

79222275

Date: 2024-11-25 08:53:38
Score: 3
Natty:
Report link

It might be helpful to install or update the Package. Just check it out from: Window menu >> Package Manager.

Reasons:
  • Blacklisted phrase (0.5): check it out
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hamed Mohamadi

79222269

Date: 2024-11-25 08:51:38
Score: 2.5
Natty:
Report link

Wrap __stream into a class and define a method named close where you can write your logic. The close method will be registered in _resource_closers, and Django will call the methods in _resource_closers sequentially when the connection ends.

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

79222252

Date: 2024-11-25 08:48:38
Score: 2.5
Natty:
Report link

I've found a project here based on a Github Repo and made a WinApp and Console sample in my Github

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

79222249

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

The problem is indeed a double definition. Within the library the same function is defined twice (window_window in this case).

More specifically it was defined within a C library as shown above, but also within the rust project as follows:

    #[no_mangle]
    unsafe extern "C" fn window_window(handle: *const ()) -> bool {
      println!("THIS IS NOT GOOD");
      /* snip */
    }

The #[no_mangle] attribute makes it so the name is preserved in the binary, hence there are two definitions.

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

79222248

Date: 2024-11-25 08:47:37
Score: 3
Natty:
Report link

For my app, I made the wrong choice when I created it. I should have chosen app login, but I chose some API. Then I recreated the app and chose the correct Facebook login.

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

79222245

Date: 2024-11-25 08:45:36
Score: 2.5
Natty:
Report link

Custom emojis are only available for bots that have paid a username, such as @wallet.

For more information, please refer to this link: https://fragment.com/about#q-can-i-assign-my-upgraded-username-to-a-different-bot

If you have already purchased a username for your bot, you can send emojis using the following syntax:

Markdown v2

![😉](tg://emoji?id=5460965296690960473)

HTML format

<tg-emoji emoji-id=“5368324170671202286”>👍</tg-emoji>
Reasons:
  • Blacklisted phrase (1): this link
  • Has code block (-0.5):
  • User mentioned (1): @wallet
  • Low reputation (1):
Posted by: Malith Rukshan

79222244

Date: 2024-11-25 08:44:36
Score: 4
Natty: 4
Report link

Same here, and I'm new to this, wasted 3 days of my life being stuck, until finally changed to using '|crispy' filter as per Copilot instructions. They really should make it clear in the docs that {% crispy %} tag does not work with multiple forms on the same page

Reasons:
  • RegEx Blacklisted phrase (1.5): I'm new
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: vimje

79222240

Date: 2024-11-25 08:44:35
Score: 2
Natty:
Report link

with intellij i just used the unvalidate cache and re-run the project and it works for me :)

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

79222237

Date: 2024-11-25 08:43:35
Score: 1
Natty:
Report link

You are missing (in the latter example): RewriteEngine on

I also changed the last line a bit, and got it working with:

   RewriteEngine on
   RewriteCond %{HTTP:Connection} Upgrade [NC]
   RewriteCond %{HTTP:Upgrade} websocket [NC]
   RewriteRule ^/?(.*) "ws://127.0.0.1:30000/$1" [P,L]

But on Apache >= 2.4.47 you can just do:

ProxyPass http://127.0.0.1:30000/ upgrade=websocket

No need to add upgrade=websocket to ProxyPassReverse on the other hand.

References:

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

79222230

Date: 2024-11-25 08:40:35
Score: 0.5
Natty:
Report link

I'm happy to know that this problem is fixed for you, I just want to share my experience with this error while I developed the Word Add-in. Maybe the next person who get this error will find it helpful. I restarted my computer and the Add-in stopped working, I saw your error. My Word Add-in stack: Next.js, JS. IDE - Cursor. Mac. Clearing the Word cache helped effectively.

  1. You need to close both Cursor and Word. Exit directly, quit, not just hide.
  2. Then go to the Finder and find path (ctrl + cmnd + G) / Users / / Library / Containers / com.microsoft. Word / Data / Documents You need to delete the wef folder.
  3. Then open Cursor and go to the main branch. npm i npm start
  4. It worked.

I also tried:

Finally the way I described before helped to show my Word Add-in and work with it. But I need to mention that I cleared the cache several times. I had issues with branches. Word didn't wanted to show me my development progress and showed only version from the main branch. Then I cleaned wef and cleaned again, and in the end I got the result I needed.

Thank you for the attention!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-1): It worked
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ekaterina Mirlenko

79222216

Date: 2024-11-25 08:37:34
Score: 3
Natty:
Report link

as mentioned in this post, it is currently not possible to generate a GitHub PAT through the CLI. More about PAT creation and management can be found in the official docs.

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

79222213

Date: 2024-11-25 08:36:34
Score: 3.5
Natty:
Report link

This is a known CPython issue on Windows (it has nothing to do with Visual Studio Code): https://github.com/python/cpython/pull/124119

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

79222212

Date: 2024-11-25 08:36:33
Score: 4.5
Natty: 2
Report link

I also facing this issue since last 4 months, I really sorry about my web ranking, I attached screenshot too, check my web: https://s3rcn.org/

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Blacklisted phrase (1): also facing this
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Millionaire Kim

79222209

Date: 2024-11-25 08:34:33
Score: 1.5
Natty:
Report link

I made https://github.com/flyskywhy/react-native-emoji-modal-no-vector/blob/main/Icon.js which use react-native-svg to custom my icon, and even simple that it does not use .svg file, but just use svg xml copy from e.g. https://yesicon.app/mdi/pets.

Why react-native-svg not react-native-vector-icons, because I found react-native-vector-icons is too complex to install especially on iOS.

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

79222191

Date: 2024-11-25 08:28:31
Score: 1.5
Natty:
Report link

H1 tag is taking default margin, you need to set it up. Just add the below css code in your style and it will work fine.

header h1{margin:0;padding:0;}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sujit Gupta

79222186

Date: 2024-11-25 08:26:31
Score: 1
Natty:
Report link

I have used below line in AndroidManifest.xml file in activity and issue is resolved for me.

android:launchMode="singleTask"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: smita

79222183

Date: 2024-11-25 08:24:30
Score: 4.5
Natty: 4.5
Report link

I had the similar issue. My Azure VM able ping to my local network. My local network unable ping to Azure VM. Anyone know what's went wrong?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: cloud Lee

79222163

Date: 2024-11-25 08:18:28
Score: 2.5
Natty:
Report link

I put await in the loader.present(), to wait that the present finish, my method was returnin very quick, even returns before the present finish their work, and this was the cause of the overlay error, I call the dismiss(), before finish the present()

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

79222162

Date: 2024-11-25 08:18:28
Score: 0.5
Natty:
Report link

I ended up having only "push" event

on:
  push:
    branches:
      - '**'

And whenever I need to know if it is a branch creation within my pipeline I use github.event.created from the context.

For example here is a custom title for each scenario:

run-name: >
  ${{ 
  startsWith(github.ref_name, 'release/') && github.event.created && 'Create Release' ||
  startsWith(github.ref_name, 'release/') && 'Hotfix' ||
  'Push' 
  }}

First one is for release, second for Hotfix and third for push to any other branch.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Itzhak Eretz Kdosha

79222151

Date: 2024-11-25 08:16:27
Score: 3.5
Natty:
Report link

You should use the at() to get the array inside the group.

this.items.at(index)?.get('state')?.value

Fix below: https://stackblitz.com/edit/stackblitz-starters-teeuxb?file=src%2Fapp%2Fapp.component.ts&file=src%2Fapp%2Fapp.component.html

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Stefani Toto

79222140

Date: 2024-11-25 08:12:26
Score: 2.5
Natty:
Report link

Same problem for me with a "net8.0" project.

Visual Studio warning: The project bindings (e.g. step definitions) could not be discovered. Navigation, step completion and other features are disabled.

Visual Studio Build output: System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.

Same error after installing "System.Runtime" 4.3.1 NuGet package. It works after downgrading to "net7.0".

SpecFlow is not yet compatible with .NET 8 : #2726 and #146 Until the extension is fixed on the Marketplace (2022.1.93+), you can install the patch manuelly (no need to uninstal previous instalation): https://github.com/SpecFlowOSS/SpecFlow.VS/releases/tag/v2022.1.93-net8

Reasons:
  • RegEx Blacklisted phrase (1): Same problem
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Vikash Kumar

79222138

Date: 2024-11-25 08:12:26
Score: 9.5
Natty: 7
Report link

same problem. did you find any reason or solution?

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

79222136

Date: 2024-11-25 08:11:26
Score: 1
Natty:
Report link

My previous import path was this before in which I was getting the same error like yours:

    import { Picker } from "emoji-mart";

which I have updated to this and I got rid of that error:

import Picker from "@emoji-mart/react";
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Shayan Ahmad

79222134

Date: 2024-11-25 08:11:23
Score: 6 đŸš©
Natty:
Report link

this is a really interesting problem! I’m curious if you’ve made any progress on detecting bold text since posting this. Did you end up finding a suitable code implementation for the research papers you mentioned, or did you approach the problem in a different way? I’m currently working on something similar and would really appreciate any insights you could share!

Reasons:
  • Blacklisted phrase (0.5): made any progress
  • RegEx Blacklisted phrase (3): Did you end up finding a
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nguyễn ChĂ­ Minh Hiáșżu

79222129

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

After looking at mysql.connector source I have found consume_results=True may be required in some circumstances, and this finally fixed my issue!

Pulling the results takes some time for unknown reasons, but it does work.

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

79222122

Date: 2024-11-25 08:07:23
Score: 1.5
Natty:
Report link

i think you can simply execute the input command

editor.execute('InsertText','text to insert')

here is the documentation of the command ckEditor Docs

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

79222120

Date: 2024-11-25 08:06:22
Score: 3
Natty:
Report link

You can download the plugin on the below URl: Pipline for Jenkins

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

79222118

Date: 2024-11-25 08:05:22
Score: 2
Natty:
Report link

you need to assign transaction to command just like we assign connection to command before we execute command

command.Transaction = transaction;

if you begin a transaciton on a sqlConnection, all commands belonging to that connection need to assign a transaction first

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

79222117

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

section 5 is important

  1. Log in with the vSphere Client to the vCenter Server.
  2. Specify the user name and password for [email protected] or another member of the vCenter Single Sign-On Administrators group. If you specified a different domain during installation, log in as administrator@ mydomain.
  3. Navigate to the vCenter Single Sign-On user configuration UI. From the Home menu, select Administration. Under Single Sign On, click Users and Groups.
  4. Click Groups and click the group (for example, Administrators).

5. From the Add Members drop-down menu, select the identity source that contains the member to add to the group. If you have configured an external identity provider, such as AD FS, the domain of that identity provider is available to select in the Add Members drop-down menu.

  1. Enter a search term.

  2. Select the member.

  3. Click Save.

https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.authentication.doc/GUID-CDEA6F32-7581-4615-8572-E0B44C11D80D.html

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

79222114

Date: 2024-11-25 08:04:22
Score: 2
Natty:
Report link

I ended up making a custom AdaptiveVGrid implementation, loosely based on this tutorial: https://www.fivestars.blog/articles/adaptive-swiftui-views/

I'm very new to SwiftUI, so there's likely some issues with the implementation. Take it with a grain of salt. It's quite verbose at least.

I'll leave this question open in case anyone has a better approach.

/// A view to display items in a grid, while adapting to the available space, item size, and number of items.
/// When items can fit in one row or column, prefer that (depending on whether we have more horizontal or vertical space).
/// Otherwise uses a LazyVGrid insize a ScrollView to display the content.
///
/// content should have the number of subviews specified as numItems.
struct AdaptiveVGrid<Content: View>: View {
  var numItems: Int
  var itemMinSize: CGSize
  var itemMaxSize: CGSize
  var itemSpacing: CGFloat
  var content: Content
  
  public init(
    numItems: Int,
    itemMinSize: CGSize,
    itemMaxSize: CGSize,
    itemSpacing: CGFloat,
    @ViewBuilder content: () -> Content
  ) {
    self.numItems = numItems
    self.itemMinSize = itemMinSize
    self.itemMaxSize = itemMaxSize
    self.itemSpacing = itemSpacing
    self.content = content()
  }
  
  var body: some View {
    GeometryReader { geometry in
      bodyImpl(availableSize: geometry.size)
        .frame(minWidth: geometry.size.width, minHeight: geometry.size.height)
    }
  }
  
  @ViewBuilder
  func bodyImpl(availableSize: CGSize) -> some View {
    let widthRatio = availableSize.width / (CGFloat(numItems) * itemMaxSize.width + CGFloat(numItems - 1) * itemSpacing)
    let heightRatio = availableSize.height / (CGFloat(numItems) * itemMaxSize.height + CGFloat(numItems - 1) * itemSpacing)
    
    if widthRatio >= heightRatio && availableSize.width >= (CGFloat(numItems) * itemMinSize.width + CGFloat(numItems - 1) * itemSpacing) {
      HStack(spacing: itemSpacing) { content }
    } else if heightRatio >= widthRatio && availableSize.height >= (CGFloat(numItems) * itemMinSize.height + CGFloat(numItems - 1) * itemSpacing) {
      VStack(spacing: itemSpacing) { content }
    } else {
      ScrollView {
        let columns = [GridItem(.adaptive(minimum: itemMinSize.width, maximum: itemMaxSize.width), spacing: itemSpacing)]
        LazyVGrid(columns: columns, alignment: .center) {
          content
        }
        .frame(minWidth: availableSize.width, minHeight: availableSize.height)
      }
    }
  }
}

struct MyView: View {
  @ObservedObject var viewModel: MyModel
  @ScaledMetric var accessabilityScale: CGFloat = 1
  
  @State private var availableSize: CGSize = .zero
  private let itemMinSizeBase = CGSize(width: 100, height: 100)
  private let itemMaxSizeBase = CGSize(width: 250, height: 250)
  private let itemSpacingBase = 20.0
  
  var body: some View {
    GeometryReader { geometry in
      AdaptiveVGrid(
        numItems: viewModel.items.count,
        itemMinSize: adjustSize(itemMinSizeBase, availableSize: geometry.size),
        itemMaxSize: adjustSize(itemMaxSizeBase, availableSize: geometry.size),
        itemSpacing: itemSpacingBase * accessabilityScale
      ) {
        ForEach(viewModel.items, id: \.id) { item in
          itemView(item: item)
            .frame(minWidth: adjustSize(itemMinSizeBase, availableSize: geometry.size).width,
                   maxWidth: CGFloat.greatestFiniteMagnitude,
                   minHeight: adjustSize(itemMinSizeBase, availableSize: geometry.size).height,
                   maxHeight: adjustSize(itemMaxSizeBase, availableSize: geometry.size).height
            )
        }
        .padding()
      }
    }
  }
  
  private func adjustSize(_ size: CGSize, availableSize: CGSize) -> CGSize {
    CGSize(width: min(size.width, availableSize.width),
           height: min(size.height * accessabilityScale, availableSize.height))
  }
}
Reasons:
  • Blacklisted phrase (1): this tutorial
  • RegEx Blacklisted phrase (1.5): I'm very new
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Lysann Tranvouez

79222086

Date: 2024-11-25 07:51:19
Score: 0.5
Natty:
Report link

We had issues with decimal precision: there are different approaches, but in our experience, best solution is avoid them. Casting to string, will use double later when required. We didn't cast to double initially because for huge tables it required too much memory, but casting to string initally (reading the DF) and later to decimal (just before saving) was best approach (only required columns were casted to double)

Reasons:
  • Whitelisted phrase (-1): solution is
  • No code block (0.5):
  • Low reputation (1):
Posted by: Álvaro de Lucas

79222085

Date: 2024-11-25 07:51:19
Score: 3
Natty:
Report link

Kindly provide more details on what used to work and how it changed.

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

79222084

Date: 2024-11-25 07:49:19
Score: 3
Natty:
Report link

hibernate.cfg.xml keep parlel of your runnable code on the classpath. should be put under src/main/resources, which is put in the classes folder by build tools.[enter image description here][1] Project src/main/java com.package.Hibernate files of java hibernate.cfg.xml

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Anika Patel

79222077

Date: 2024-11-25 07:46:18
Score: 3
Natty:
Report link

Navigator.of(context) must be called at MaterialApp or Navigator tree. Check showMessage function is it in the right context.

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

79222065

Date: 2024-11-25 07:42:17
Score: 0.5
Natty:
Report link

Thanks to Christoph Rackwitz's hint, and by adding this line of code to the read_image_for_rectify function

img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)

mediapipe gives the same result like the first case.

def read_image_for_rectify(address: str) -> Dict:
    face_object = dict()
    img = cv2.imread(address)
    img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
    _, buffer = cv2.imencode(".jpg", img)
    img = base64.b64encode(buffer).decode()
    face_object["image"] = img
    face_object["address"] = address
    return face_object

But yet could not detect landmarks for some images like

7

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

79222064

Date: 2024-11-25 07:42:17
Score: 0.5
Natty:
Report link

I got this issue because of older android studio version. You need to install latest new version of android studio which supports 17 jdk version.

For this error to go , launch Android Studio and Click on Help > About and take a note of the Runtime. For me, it was a JDK version 11 so

After updating to chipmunk version i.e 2023.3.1 the same About page showed JDK 17 and the Android builds ran fine.

You can try this. If it solves dont forget to upvote

Reasons:
  • Blacklisted phrase (0.5): upvote
  • Whitelisted phrase (-1): try this
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Prawesh Panthi

79222057

Date: 2024-11-25 07:39:17
Score: 3
Natty:
Report link

Make sure you have selected the right build variant.

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

79222048

Date: 2024-11-25 07:37:16
Score: 3.5
Natty:
Report link

Brain’s method was worked. Solve my problem.

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

79222040

Date: 2024-11-25 07:35:15
Score: 2
Natty:
Report link

I actually faced the same issue while trying to do the same with navigation split view instead of the navigation view. And I think this is a bug with swiftUI, because it was working fine when I tried the same design pattern in UIKit.

But I found a hack to resolve this bug in the navigation split view:

attach the below modifiers consecutively to the tabview(which is inside the sidebar part)

.navigationSplitViewColumnWidth(500), .frame(499)

the first modifier applies to the left column of the NavigationSplitView and the second modifier applies to the tabview...

BUT using tabview inside navigationSplitview/NavigationStack comes with its own set of problems, for eg: nav bar items applies to the whole parent view instead of each tab.

Reasons:
  • Blacklisted phrase (1): trying to do the same
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: vignesh rp

79222039

Date: 2024-11-25 07:34:15
Score: 1
Natty:
Report link

The default destructor is not private.
In your class A, as you never write public:, the default visibility is private and so you declare your new destructor as private.
The compiler stops at line 1 of some_function because it realises it will never be able to destruct this object automatically.

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

79222037

Date: 2024-11-25 07:34:15
Score: 0.5
Natty:
Report link

Is there a faster way to collapse all the code across all files in a project?

I'm afraid not. Looks like there are no built-in keyboard shortcuts or menu command to achieve it up to now after do some searching.

I would suggest you could raise a feature request. That will allow you to directly interact with the appropriate product group, and make it more convenient for the product group to collect and categorize your suggestions.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is there a
  • High reputation (-1):
Posted by: Dou Xu-MSFT

79222031

Date: 2024-11-25 07:30:14
Score: 5
Natty:
Report link

when I do what you said I get the error "ActiveX component could not be created"

Reasons:
  • RegEx Blacklisted phrase (1): I get the error
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): when I
  • Low reputation (1):
Posted by: ByllEmir

79222019

Date: 2024-11-25 07:26:13
Score: 1.5
Natty:
Report link

If it can help anyone in the future, I just solved this by adding the LiveActivityIntent Protocol

So from this:

struct PauseResume: AppIntent

To this:

struct PauseResume: AppIntent, LiveActivityIntent

And now the button works just fine!

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

79222013

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

Add the following script inside header tag and it will work fine as answered by imre

<script>
window.onload=check;
function check() {
  document.getElementById("r01").checked = true;
}
</script>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sujit Gupta

79222005

Date: 2024-11-25 07:21:11
Score: 5.5
Natty:
Report link

è§Łć†łćŠžæł•ïŒšé€šèż‡initOwneræ–čæł•èźŸćźšalertć’Œäž»stageäč‹é—Žçš„ć…łçł»èż›è€Œäœżalertć…łé—­æ—¶æ­ŁçĄźć€„ç†äș‹ä»¶ćŸȘ环

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • No latin characters (1):
  • Low reputation (1):
Posted by: CXVV

79221986

Date: 2024-11-25 07:16:10
Score: 3
Natty:
Report link

Try to regenerate a new SHA-1 fingerprints. Because Google Firebase Authentication and App SHA-1 fingerprints are one-to-one correspondence.

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

79221984

Date: 2024-11-25 07:16:10
Score: 0.5
Natty:
Report link

Issue: Before my batch was not running automatically.

Solution: I have changed the "spring-boot-starter-parent" version from 3.2.11 to 2.7.9.

  1. Main classor BatchConfig class -- add @EnableBatchProcessing
  2. BatchConfig.java -- add @Configuration
  3. Use below fields in BatchConfig.java : @Autowired private JobBuilderFactory jobBuilderFactory; @Autowired private StepBuilderFactory stepBuilderFactory;
Reasons:
  • Whitelisted phrase (-2): Solution:
  • No code block (0.5):
  • User mentioned (1): @EnableBatchProcessing
  • User mentioned (0): @Configuration
  • User mentioned (0): @Autowired
  • User mentioned (0): @Autowired
  • Low reputation (1):
Posted by: Ganesh Shri

79221982

Date: 2024-11-25 07:15:10
Score: 1.5
Natty:
Report link
  1. Install sql or pgsql Mode for Emacs

Emacs comes with a built-in sql-mode that provides syntax highlighting and integration with databases, including PostgreSQL. If you want more PostgreSQL-specific features, you might consider third-party packages like pgsql mode.

Steps: Enable sql-mode or pgsql-mode in Emacs when editing .sql files: (add-to-list 'auto-mode-alist '("\.sql\'" . sql-mode)) For PostgreSQL-specific customizations: (setq sql-postgres-program "psql") ; Use PostgreSQL client

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

79221981

Date: 2024-11-25 07:15:10
Score: 0.5
Natty:
Report link

I tried to reproduce this error by taking a screenshot and convert to CSV. Then I go to BigQuery and create a table from an uploaded CSV file with auto-detect schema. I think I got an expected result below.

Here are my suggestion:

  1. The BigQuery preview table is not sorted as the original file. From the screenshot, it could be a different part of data in your file which is not just 44 rows from what we've seen. Try query data first and make sure it's correct.
  2. You mentioned that you import from Excel file. Try converting it to CSV first, in case it is some formatting issue from Excel. I recommend using CSV as a source input file as it is easier to export from Excel.

BigQuery Import from CSV

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

79221968

Date: 2024-11-25 07:10:08
Score: 1
Natty:
Report link

def add contact():

name=input("Enter name:")

phone_number=input("Enter phone number:")

email-input("Enter email address:")

contacts (name)=("phone_number":phone_number, "email":email)

print (f"Contact(name) added successfully!")

def veiw all contacts():

if not contacts:

print("No contacts in the list.")

return

for name, info in contacts.items():

print("fName: (name)")

print (f"Phone number: {info['phone_number'])")

print (f"Email address: (info['email'])")

print("-"*20)

def search contact():

name=input("Enter name to search:")

if name in contacts:

contact_info-contacts [name]

print (f"Name: (name)")

print (f"Phone number: (contact_info['phone_number'))"} print (f"Email address: (contact_info['email']}")

else:,

print (f"Contact (name) not found.")

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

79221965

Date: 2024-11-25 07:10:08
Score: 3
Natty:
Report link

It is because you are using version of selenium which is greater than 3 or exactly in range of selenium 4 , in this chrome automatically close though you don't add driver.close(). but your code is absolutely right. its just due to chrome version.

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

79221964

Date: 2024-11-25 07:09:08
Score: 2.5
Natty:
Report link

I was getting the same issue.

I upgraded from 11c oracle to 19c and getting the same error. I fixed it by upgrading oracle connector from ojdbc.jar to ojdbc8.jar.

Remember, for 19c oracle, ojdbc8.jar is compatible, using any lower version will cause the error

Reasons:
  • Whitelisted phrase (-2): I fixed
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): getting the same error
  • Low reputation (1):
Posted by: Sajjad Haider

79221956

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

Update webpack and webpack-cli to the latest versions

npm install webpack@latest webpack-cli@latest --save-dev
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Chinmay C K

79221955

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

try to rename the directory small , it works for me my file and directory name was lengthy so i was facing this issue

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

79221950

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

Could you share SHOW CREATE TABLE default.LogTTHC FORMAT Vertical?

for ClickHouse SQL dialect better use uniqExact and If aggregation combinator look detail in https://clickhouse.com/docs/en/sql-reference/aggregate-functions/combinators

and https://clickhouse.com/blog/aggregate-functions-combinators-in-clickhouse-for-arrays-maps-and-states

COUNT(DISTINCT + CASE shall be the same with uniqExactIf

but it depends on count_distinct_implementation setting check SELECT * FROM system.settings WHERE name='count_distinct_implementation' FORMAT Vertical

could you compare

SELECT 
    SiteId,
    uniqExact(CodeProfile) AS totalUniqProfiles,
    uniqExactIf(CodeProfile, CreatedReceiveLeve1 >= '2024-01-01' AND CreatedReceiveLeve1 <= '2024-10-01') AS uniqProfilesForDateRange
FROM
    LogTTHC
WHERE
    SiteId IN (60, 249)
GROUP BY
    SiteId;

and

SELECT 
    SiteId,
    uniqExact(CodeProfile) AS totalUniqProfiles,
    uniqExactIf(CodeProfile, CreatedReceiveLeve1 >= '2024-01-01' AND CreatedReceiveLeve1 <= '2024-10-01') AS uniqProfilesForDateRange
FROM
    LogTTHC
WHERE
    SiteId IN (249)
GROUP BY
    SiteId;

is this queries contains different result for SiteId=249?

Reasons:
  • RegEx Blacklisted phrase (2.5): Could you share
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Slach

79221948

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

The Repository

 implementation 'com.xw.repo:bubbleseekbar:3.20'

is now

implementation 'com.github.koliong:BubbleSeekBar:2.1.1'

Refer to this documentation.

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

79221943

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

Please add second WHERE:

$categories = Category::where('user_id', $user_id)
                      ->where('status', 1)
                      ->get();

In this code we use this code ->where('status', 1) as second where please modify according to your code

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

79221942

Date: 2024-11-25 06:54:05
Score: 3.5
Natty:
Report link

TreeObjectDiff is a small, fast and zero-dependency utility for comparing and identifying differences between tree-structured objects.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): is a
  • Low reputation (1):
Posted by: Sherwin Shen

79221941

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

After 2 days, I found that the problem came from firebase config because of mismatch bundle id. It's quite annoying due to not logging correctly

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

79221938

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

a. React will render for the first change.

b. React will render for repeating the same value.

c. However, React will not render any more for any more repetition of the same value.

Example,

a. Changing a state from null to the text 'a' - Component will render.
b. Setting the state with the same text 'a' - Component will render.
c. Setting the state with the same text 'a' - Component will  NOT render.
d. Setting the state with the same text 'a' - Component will  NOT render.

The sample code shows the same.

App.js

import { useState } from 'react';

export default function App() {
  const [text, setText] = useState(null);

  console.log(`state changed ${text}`);
  return (
    <>
      The state is {text}
      <br />
      <button onClick={() => setText('a')}>Set state to the text 'a'</button>
      <br />
      <button onClick={() => setText('a')}>Set state to the text 'a'</button>
      <br />
      <button onClick={() => setText('a')}>Set state to the text 'a'</button>
      <br />
      <button onClick={() => setText('a')}>Set state to the text 'a'</button>
    </>
  );
}

Trial run

Browser display - after clicking all four buttons, the component rendered for 3 times only including initial render. Two renders have been skipped

Browser display - after clicking all four buttons

Coming to your question:

Question 1

expect(result.current.renderCount).toBe(4); // why also 4? I am expecting 3

You are getting 4 over here, as we have discussed above, React will render for the first repetition of the change. Therefore the two state update with the text 'a' will be counted here.

Question 2

expect(result.current.renderCount).toBe(4); // why still 4? if it was queueing it should be 6

It gives 4, since it ignores the 3rd and 4th repetition of the text 'a'.

For more about this, kindly see a similar question and its discussion over here. Why does it re-render even when state is same?

For a comprehensive documentation on this topic, kindly refer to the document here, Blogged Answers: A (Mostly) Complete Guide to React Rendering Behavior

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): see a similar question
Posted by: WeDoTheBest4You

79221934

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

PyCharm Community edition supports Jupyter notebooks in read-only mode, to get full support for local notebooks download and you need try in PyCharm Professional

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Harikishan R. Ellamla

79221933

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

How incredibly frustrating... I have found a workaround.

I have updated my endpoint to take in a base64 encoded string.

And I have updated to Power Automate flow to use the Get Attachment (V2) call instead of using the New email trigger's attachments.

For some reason it works now... I have no idea what the different between the attachments from the trigger and the attachments from the call are, but switching it has worked.

And I'm fairly confident the problem was with getting the attachments from the trigger, and not the Get Attachment (V2) call

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): How in
  • Low reputation (0.5):
Posted by: impo

79221931

Date: 2024-11-25 06:49:04
Score: 1
Natty:
Report link

On Android 11 and above use to add query in manifest also

  code   

 
fun openDialer(context: Context, phoneNum: String) {
    val intent = Intent(Intent.ACTION_DIAL)
    intent.setData(Uri.parse("tel:$phoneNumber"))
    context.startActivity(intent)
}

This need to be added

<manifest>
    <queries>
        <!-- Specific intents you query for -->
        <intent>
            <action android:name="android.intent.action.DIAL" />
        </intent>
    </queries>
</manifest>
Reasons:
  • Contains signature (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: mani

79221930

Date: 2024-11-25 06:49:04
Score: 1
Natty:
Report link

I got this resolved by adding the permissions in the android.manifest file:

<uses-permission android:name="android.permission.CAMERA" />

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

79221929

Date: 2024-11-25 06:48:01
Score: 12 đŸš©
Natty: 6
Report link

Did you find any answer to your question? if yes please help I am facing the same issue on my UAT

Reasons:
  • RegEx Blacklisted phrase (3): please help
  • RegEx Blacklisted phrase (3): Did you find any answer to your
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same issue
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you find any answer to you
  • Low reputation (1):
Posted by: Ahtisham Ud Din

79221927

Date: 2024-11-25 06:47:00
Score: 2.5
Natty:
Report link

You can try to update node version. I updated my node from 14 to 20 version and it helped.

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

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