79222434

Date: 2024-11-25 09:41:57
Score: 2.5
Natty:
Report link

you can use these example in instance template module : https://github.com/terraform-google-modules/terraform-google-vm/tree/v12.1.0/examples/instance_template/simple

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: ISHMART ISHTIAQ

79222414

Date: 2024-11-25 09:35:55
Score: 0.5
Natty:
Report link

The issue [ERROR:flutter/shell/platform/darwin/graphics/FlutterDarwinContextMetalImpeller.mm(42)] Using the Impeller rendering backend. Lost connection to device often occurs due to compatibility problems with certain Flutter packages. In my case, this issue was caused by the Flutter_downloader package. It appears that this package conflicts with the updated Impeller rendering backend used in Flutter on Darwin (macOS/iOS) platforms. Such issues usually arise when the package's dependencies or implementation are not fully compatible with the latest Flutter framework or the rendering pipeline. Ensuring the package is updated to its latest version or checking for alternative solutions can help resolve this problem.

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

79222411

Date: 2024-11-25 09:34:55
Score: 1
Natty:
Report link

Please check the list daySummeryList before take first from list :

final daySummeryModel = daySummeryList.where((element) => element.dateTime.isSameDate(date)).toList();

DaySummeryModel? summary;
if (daySummeryModel.isNotEmpty) {
  summary = daySummeryModel.first;
} else {
  summary = null;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: AzPsu

79222406

Date: 2024-11-25 09:32:54
Score: 1.5
Natty:
Report link

The only thing that worked for me was connecting an iPhone to the Mac. Before that I tried running it on a simulator.

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

79222405

Date: 2024-11-25 09:32:54
Score: 0.5
Natty:
Report link

In Finder:

In System Settings:

This should put your new command at the top of Spotlight's results when you type it.

Further reading: symbolic links.

Reasons:
  • No code block (0.5):
Posted by: roblogic

79222399

Date: 2024-11-25 09:30:54
Score: 2
Natty:
Report link

Don't forget to change your Library to the following:

Using UnityEngine.UI;

instead of

Using UnityEngine;

I'm new to Unity. And I hope it works.

Reasons:
  • Whitelisted phrase (-1): hope it works
  • RegEx Blacklisted phrase (1.5): I'm new
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hamed Mohamadi

79222391

Date: 2024-11-25 09:28:53
Score: 4
Natty: 4
Report link

yes it very easy lololololloolololololololllol

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

79222389

Date: 2024-11-25 09:28:51
Score: 6.5 🚩
Natty: 5.5
Report link

The answer provided is for v5, is there any way that it can be done for v4?

Reasons:
  • Blacklisted phrase (1): is there any
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Husain Bhagat

79222376

Date: 2024-11-25 09:23:49
Score: 3.5
Natty:
Report link

After reviewing the Network tab when the user clicks logout I found that using the URL: https://console.jumpcloud.com/userconsole/logout?autoGo=true will logout the user

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

79222373

Date: 2024-11-25 09:22:49
Score: 1.5
Natty:
Report link

Answer based on @vishnu_146 comment:

  1. Set Portrait orientation in info.plist
  2. Than set needed orientation in AppDelegate (you can set specific orientations for iPad and iPhone)
func application(_ application: UIApplication, supportedInterfaceOrientationsFor window: UIWindow?) -> UIInterfaceOrientationMask {
    let orientations: UIInterfaceOrientationMask = UIDevice.current.userInterfaceIdiom == .pad ? .all : [.portrait, .landscape]
    return orientations
}
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @vishnu_146
  • Low reputation (1):
Posted by: Vladislav Komkov

79222372

Date: 2024-11-25 09:22:49
Score: 0.5
Natty:
Report link

It is the number of segments (256 by default). Each key is mapped to a segment and each segment is mapped to one or more nodes in the cluster.

A directory per segment allows faster lookups (searching on a small file instead of a larger one) and faster transfers (if the segment is remapped to a different node, only that file is transferred).

There is more info in the chapter 2 of our documentation

Reasons:
  • No code block (0.5):
Posted by: pruivo

79222359

Date: 2024-11-25 09:17:48
Score: 3
Natty:
Report link

I think you created the app with name freezed, try creating a new app with a different name and add freezed, it should work.

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

79222354

Date: 2024-11-25 09:15:47
Score: 1
Natty:
Report link

Just add padding to li tag in style for better control

ul#list li{padding:5px 10px 15px 20px;}

In this example, padding is top:5px, right:10px, bottom:15px and left:20px You can set according to your requirement

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

79222351

Date: 2024-11-25 09:14:47
Score: 0.5
Natty:
Report link

First off, you're definitely on the right track by checking the field-level security and object permissions. That’s often where issues like this originate, but since you’ve already ensured the Guest User profile has proper access, it points to something deeper—probably within AddressTools itself or the way it interacts with Guest User profiles in LWR sites.

Here’s what I’d suggest digging into next:

  1. Check AddressTools License Settings AddressTools often has profile-based licensing. Ensure the Guest User profile is included in the AddressTools license configuration. You might need to grant explicit access to the Guest User profile in AddressTools' settings.

  2. Guest User Record-Level Access Even though the field-level permissions are set, the Guest User might be failing validation due to a record-level access issue. For example:

Verify that the Guest User has the correct sharing rules or permissions for the Contact object. Ensure that any custom validation rules or triggers related to AddressTools don’t inadvertently restrict Guest Users. 3. Country Picklist Validation AddressTools often relies on standardized country picklists. If the Mailing Country field is a text field rather than a picklist for the Guest User, AddressTools might not recognize the input. Double-check:

The field type consistency (picklist vs. text). That the Guest User can "see" the picklist values if you're using them. 4. AddressTools Integration Settings AddressTools might have some validation configurations tied to specific users or profiles. Head to the AddressTools configuration:

Look for settings related to "Validation on Save" or "Restricted Access." Ensure Guest Users aren’t excluded from certain validation processes. 5. Debugging Tips Turn on Debug Logs for the Guest User. While it’s a bit of a hassle, it can be incredibly revealing. Look for entries from AddressTools when the Guest User tries to save a record—it might highlight exactly why the country validation is failing.

  1. LWR Experience Site Settings Since you’re on an LWR site, certain permissions and functionalities for Guest Users behave differently compared to standard sites. Check:

Site Access Settings: Ensure that the Guest User can access any required Apex classes or custom settings used by AddressTools. Content Delivery Network (CDN): Sometimes, LWR sites cache or restrict access to static resources needed by third-party tools like AddressTools. 7. As a Quick Test Try temporarily disabling AddressTools validation for Guest Users to confirm whether the tool is the culprit. If the error vanishes, it’s definitely an AddressTools configuration issue. If it persists, it might be a deeper Salesforce permission problem.

  1. Reach Out to AddressTools Support If all else fails, AddressTools has a solid support team. Provide them with the exact steps and error messages—they’re often able to spot issues specific to their product and guide you toward a fix.

TL;DR: The issue likely lies in AddressTools’ profile-based permissions or validation settings, especially around the Guest User profile. Focus on checking AddressTools’ licensing, picklist visibility, and LWR site quirks. Debug logs and support might be your best friends here.

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

79222347

Date: 2024-11-25 09:13:47
Score: 0.5
Natty:
Report link
duckdb:

(
    df1.sql.select("*,(b=c)::int col1")
    .select("*,max(index) filter(col1=1) over(partition by a,col1) col2")
    .select("*,max(col2) over(partition by a) col3")
    .filter("index<=col3")

    .order("index")
).df()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: G.G

79222344

Date: 2024-11-25 09:12:47
Score: 1.5
Natty:
Report link

you can add in keybindings.json

    {
      "key": "ctrl+k ctrl+d",
      "command": "workbench.action.toggleLightDarkThemes",
    },
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Day Wonderful Day

79222341

Date: 2024-11-25 09:12:47
Score: 1.5
Natty:
Report link

I'm pretty sure it's a model issue. I've been having issues with https://huggingface.co/Salesforce/blip2-flan-t5-xl since their update on Thursday, both on an older and the newest transformers version. The screenshot of a past model version (gets saved automatically, on .cache/huggingface/hub on a Mac) worked.

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

79222337

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

=C2=A0 =C2=A0 Ala Moussi vous a envoy=C3=A9 un message. 24 mars 09:53 PM = =C2=A0 =C2=A0 Voir le message Acc=C3=A9der au profil =C2=A0 =C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Messenger=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0Ala Moussi vous a envoy=C3=A9 = un message.24 mar= s 09:53 PM=C2=A0=C2=A0Voir le messageAcc=C3=A9der au profil=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0C= e message a =C3=A9t=C3=A9 envoy=C3=A9 =C3=A0 [email protected]. Si vous ne souhaitez plu= s recevoir ces e-mails de la part de Meta, veuillez vous d=C3= =A9sabonner. Meta Platforms, Inc., Attention: Community Support, 1 Meta Way, Menlo Park, CA 94025=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Pour contribuer =C3= =A0 la protection de votre compte, veuillez ne pas transf=C3=A9rer cet e-ma= il. En savoir plus= =C2=A0=C2=A0=C2=A0= = =C2=A0 --0000000000000b19d90626d34335--

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Filler text (0.5): 0000000000000
  • Low reputation (1):
Posted by: Khaoula Hedhli

79222336

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

Yes, you can do so using Gmail SMTP or any third party mailing services.

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

79222334

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

Use quotes

    RAY_LOCAL_PATH="\\\\wsl$\\Ubuntu\\home\\spatie\\code\\my-project"
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Has no white space (0.5):
  • High reputation (-1):
Posted by: PaulH

79222327

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

Thanks a lot

The same code in C#:

   protected void RadTreeView1_NodeCreated(object sender, Telerik.Web.UI.RadTreeNodeEventArgs e)
   {
       e.Node.Expanded = true;
   }

Markup:

<telerik:RadTreeView ID ="trv" ... OnNodeCreated="RadTreeView1_NodeCreated">
</telerik:RadTreeView>
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Waleed.alhasan

79222326

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

Go to Setting -> Build, Execution, Deployment -> Build Tools -> Gradle.
Try to set Gradle JDK version 17

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

79222322

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

Please check the following:

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Trushaba B. Jadeja

79222318

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

As I understand it, this example may be helpful. Please give it a try.

struct ContentView: View {
    
    let messages = Message.dummyData
    @State private var tappedMessage: Message?
    @State private var newMessage = ""
    @FocusState private var focus: Bool

    var body: some View {
        
        ScrollViewReader { scrollReader in
            ScrollView {
                LazyVStack(alignment: .leading, spacing: 24) {
                    ForEach(messages, id: \.id) { message in
                        MessageContainer(message: message)
                            .id(message.id)
                            .onTapGesture {
                                tappedMessage = message
                                focus = true
                            }
                    }
                }
                .padding(.horizontal, 16)
            }
            if let tappedMessage {
                VStack {
                    TextEditor(text: $newMessage)
                        .frame(height: 80)
                        .padding()
                        .background(
                            RoundedRectangle(cornerRadius: 20)
                                .stroke(Color.gray, lineWidth: 1)
                        )
                        .padding(.horizontal, 16)
                        .focused($focus)
                    
                    Button("Send") { self.tappedMessage = nil }
                }
                .onAppear {
                    DispatchQueue.main.asyncAfter(deadline: .now()+0.5) {
                        withAnimation {
                            scrollReader.scrollTo(tappedMessage.id)
                        }
                    }
                }
           }
        }
    }
}
Reasons:
  • RegEx Blacklisted phrase (2.5): Please give
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Muhammad Barznji

79222308

Date: 2024-11-25 09:04:44
Score: 0.5
Natty:
Report link

You can also use this config in your application.yml file, if you have many test classes and need the timeout to be applied on all of them.

spring:
  test:
    webtestclient:
      timeout: 50000ms
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Zahra Vahidi

79222305

Date: 2024-11-25 09:04:44
Score: 4.5
Natty:
Report link

I wonder the same question. Is there a way to get rid of ng-state? I only need to render the html text of the page on the server side. The html code can be large in size and as a result the size of the html page increases twice.enter image description here

Reasons:
  • Blacklisted phrase (1): Is there a way
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Vladimir

79222295

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

Would you like to change the legend during export? I.e Have latin characters in the chart, and change them to arabic during exporting?

If yes, then you are using built-in exporting options, here is the API option to update the chart just for exporting: https://api.highcharts.com/highcharts/exporting.chartOptions

Additionally, have a look at the internationalization page in the docs with Arabic chart included: https://www.highcharts.com/docs/advanced-chart-features/internationalization

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Kamil Musiałowski

79222293

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

Public Access Prevention Organianization Policy enforce restrictions to prevent unauthorized public access to Cloud Storage resources. By enabling this constraint, you can ensure that no storage buckets or objects in your organization are accessible publicly, enhancing your security posture.

GCP Tags can be used for giving exceptions

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

79222292

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

setTimeout solved it

useEffect(() => {
    if (iframeRef.current) {
      iframeRef.current.onload = () => {
        setTimeout(() => {
          iframeRef.current.contentWindow.postMessage(
            { data  }
          ,process.env.IFRAME_LINK);
        }, 100);
      };
    }
  }, []);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dana Allam

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