79232435

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

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

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

79232428

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

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

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

79232427

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

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

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

79232399

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

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

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

79232394

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

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

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

79232385

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

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

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

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

79232382

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

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

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

then:

MODULE=rpa pnpm run build

the out build would not include the dynamic route directory.

next version: ^14.2.15

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

79232378

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

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

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

79232370

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

In browser/node projects:

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

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

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

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

79232366

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

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

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

79232364

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

This is what you what your snippet should be:

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

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

From the VSCode documentation:

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

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

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

79232361

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

I had some conflicts while installing the dependencies.

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

rm -rf node_modules package-lock.json
npm install

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

79232355

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

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

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

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

79232350

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

how is your app ?

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

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

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

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

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

I want to build something that is user friendly.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    </LinearLayout>

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

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

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

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

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

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

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

79232342

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

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

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

79232341

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

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

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

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

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

79232319

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

This config can work. My mistake is this

proxy_set_header Host $http_host;

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

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

79232313

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

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

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

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

79232306

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

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

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

79232294

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

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

ufw allow mysql

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

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

79232290

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

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

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

79232288

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

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

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

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

79232284

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

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

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

79232281

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

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

What has been added?

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

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

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

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

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

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

79232280

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

This snippet would do what you are asking:

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

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

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

Reference:

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

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

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

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

79232278

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

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

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

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

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

79232265

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

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

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

79232263

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

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

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

79232252

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

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

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

79232236

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


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

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

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

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

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

enter image description here

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

79232222

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

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

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

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

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

79232204

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

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

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

79232202

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

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

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

79232189

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

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

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

79232182

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

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

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

Cognito App client overview page enter image description here

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

79232178

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

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

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

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

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

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

79232156

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

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

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

ensure symlink points to correct env

Reinstall ca-certificates and link them properly.

I faced this issue and now it works for me

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

79232149

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

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

Then

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

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

79232137

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

Finally, I found 2 solutions.

  1. use Provider OLEDB 12 or OLEDB 16

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

Private Sub test1()

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

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

End Sub

  1. Use ADODB

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

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

End Sub

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

79232130

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

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

See more

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

79232118

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

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

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

79232115

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

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

Here is the code:

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

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

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

79232114

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

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

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

79232112

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

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

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

79232095

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

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

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

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

ICU has the 4 length for some months

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

You can force ICU with two config options

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

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

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

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

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

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

79232092

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

the dependency

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

is no longer working, replace with:

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

Refer to the code scanner library.

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

79232089

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

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

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

79232085

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

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

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

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

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

79232084

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

To change a query parameter:

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

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

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

79232078

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

where you able to solve this?.

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

79232076

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

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

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

79232067

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

You can try:

pip install fxcmpy==<version_number>

If you have already downloaded it:

pip uninstall fxcmpy

pip install fxcmpy==<version_number>

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

79232060

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

You can achieve this on anything usually with css.

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

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

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

79232039

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

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

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

79232023

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

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

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

79232022

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

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

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

Why Use Nullable Types with [Required]?

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

Here’s why:

Default Value Assignment

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

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

Nullable Types as a Solution

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

My Thoughts

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

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

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

79232016

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

what worked for me is:

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

79232013

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

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

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

79232010

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

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

.bazelcr

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

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

79232007

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

Be sure your job implement ShouldQueue interface

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

79232003

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

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

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

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

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

79231998

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

Solution

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

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

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

Breakdown:

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

79231996

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

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

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

79231994

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

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

Xcode Project

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

79231985

Date: 2024-11-27 21:59:40
Score: 2
Natty:
Report link

"courseNameEdt.text" is the answer. The reason that it crashes is because the view with id "idEdtCourseName" is either inaccessible on that screen or is not an EditText. Use ViewBinding.

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

79231966

Date: 2024-11-27 21:48:35
Score: 9 🚩
Natty: 5.5
Report link

Did you find a proper solution for this by any chance?

Reasons:
  • RegEx Blacklisted phrase (3): Did you find a
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find a
  • Low reputation (1):
Posted by: Roshan Varghese

79231958

Date: 2024-11-27 21:45:34
Score: 2
Natty:
Report link

Unfortunately this still appears to be a problem with Swift Log, and is tracked as an active issue on the official GitHub repo.

I ran into the same problem running Ubuntu 24.04 while trying to install Swift 6.0.1. I ended up downgrading my target instance to Ubuntu 22 to compile successfully.

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

79231956

Date: 2024-11-27 21:44:34
Score: 2.5
Natty:
Report link

If the row height is fixed, you can calculate the number of pages in advance because you will know how many rows will be on each page.

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

79231954

Date: 2024-11-27 21:43:34
Score: 1
Natty:
Report link

The pyo3_runtime.PanicException inherits from Python's BaseException, so using BaseException in the try:except block successfully catches the panic. It's quite a broad sweep but will do in a pinch.

See another SO q&a here

See the pyo3 docs here

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

79231951

Date: 2024-11-27 21:43:34
Score: 6
Natty: 7
Report link

what missing host permission was needed?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): what
  • Low reputation (1):
Posted by: barak kesten

79231945

Date: 2024-11-27 21:40:33
Score: 3.5
Natty:
Report link

I had an error in the js file, specifically: Office.actions.associate wasn't completed properly.

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

79231943

Date: 2024-11-27 21:40:33
Score: 1.5
Natty:
Report link

From my experience, a Glue job sometimes gets stuck instead of terminating gracefully after an exception is thrown. I suspect that your Glue service role is missing the required permissions to start the crawler. When you run it in your python console you might use a different role, which would explain your observation.

In order to verify that, print the response of the start_crawler request and wrap the call in a try/except block so that you can print the error and shut down the job.

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

79231942

Date: 2024-11-27 21:39:32
Score: 3
Natty:
Report link

I ended up just creating a feature with the environment variables that wrenv.exe creates and attaching that to my tooolchain.

vxworks_69_environment.bzl

toolchain part1

toolchain part2

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

79231940

Date: 2024-11-27 21:38:32
Score: 1.5
Natty:
Report link

I have tried in mysql based on sample data and expected output, syntax should be very similar to Terradata.

Fiddle

SELECT 
    c.customer_number,
    c.ninnbr,
    COUNT(*) OVER (PARTITION BY c.ninnbr) AS unique_count
FROM 
    customers c
ORDER BY 
    c.ninnbr, c.customer_number;

Output

enter image description here

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

79231916

Date: 2024-11-27 21:27:29
Score: 1.5
Natty:
Report link

Strange - I got exactly the same error, but for me, specifying "AZURE_TENANT_ID" or the connection-specific "<CONNECTION_NAME_PREFIX>__tenantId" in local.settings.json worked:

{
  "IsEncrypted": false,
  "Values": {
    "<CONNECTION_NAME_PREFIX>__fullyQualifiedNamespace": "<NAMESPACE>.servicebus.windows.net",
    "<CONNECTION_NAME_PREFIX>__tenantId": "<tenantId>" // This line fixed the error for me
  }
}

Using connection-specific settings as opposed to "AZURE_*" is described here: https://learn.microsoft.com/en-us/azure/azure-functions/functions-reference?tabs=blob&pivots=programming-language-csharp#azure-sdk-environment-variables

Reasons:
  • Blacklisted phrase (0.5): exactly the same error
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Björn Jarisch

79231913

Date: 2024-11-27 21:25:28
Score: 4
Natty: 4
Report link

This is not a Answer but my hands for my rig are moving at the same time

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

79231902

Date: 2024-11-27 21:19:26
Score: 4
Natty: 4
Report link

Mine had power save mode on, I turned it off in notifications

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

79231896

Date: 2024-11-27 21:16:25
Score: 4
Natty:
Report link

Visual Studio 2017: Team Explorer --> Git --> Git Settings --> Default Repository Location

enter image description here

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

79231888

Date: 2024-11-27 21:14:24
Score: 2
Natty:
Report link

Not that I think this will actually help... I think this more just demonstrates how generic the exception is, that so many 'solutions' are possible to fix one generic error message.

But, lessons learned for me: None of the troubleshooting and issues mentioned by commenters here helped me. GPT was no help. Well, sort of...it did mention my issue in passing. Temp Tables.

I have an edge case: I have an app that must build "payloads" of transactional data and pass them up through an MQTT broker. Queries must run every minute to build more payloads, and they must reach out to other databases for much of this through linked servers.

So, performance is a must. I can't have a very costly join to large production tables hinder me. So, I designed my app to replace any huge tables with joins to temp tables (which I build up with only the records needed), making the joins astronomically cheaper.

This caused a new problem: I'm using tempdb too much. Too many temp tables are being created, filled, queried, and dropped in rapid succession.

It took me 14 solid hours of research and troubleshooting... multiple iterations of recreating the database from script, repopulating data, testing, hitting the "kill state," swearing a bit, revising my create database script, rinse and repeat.

The real problem for me is both temp tables and linked servers have been known to cause this issue... along with corrupt indexes... and who knows what else. So I had no clue what could be causing this. I had to poke at everything.

So, here's what I did to fix it:

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): Did not work
  • Blacklisted phrase (1): what could be
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Wesley Marmon

79231871

Date: 2024-11-27 21:06:21
Score: 2
Natty:
Report link

why not just use a loop to print it like so:

x=str(RandMAC())

for i in range(3):
  print(x)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Starts with a question (0.5): why not
  • Low reputation (1):
Posted by: Charles Easter

79231859

Date: 2024-11-27 20:58:20
Score: 1.5
Natty:
Report link

This solution uses the formula of the questioner Statto of this discussion: Restarting and resuming a running total for multiple values

One formula for scenarios with and without blanks:

=SUM(N(MAP(A2:A11,LAMBDA(a,COUNTIFS(INDEX(A2:A11,1):a,a)))>1)) 

=SUM(N(MAP(B2:B14,LAMBDA(a,COUNTIFS(INDEX(B2:B14,1):a,a)))>1))

letter

letters

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

79231850

Date: 2024-11-27 20:53:18
Score: 1.5
Natty:
Report link

changed it to this one line:

      html = ActionController::Base.render(template: 'invoices/pdfs/show', layout: false, locals: { ticket_images: ticket_images })
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Michael Bordelon

79231846

Date: 2024-11-27 20:52:18
Score: 1
Natty:
Report link

As far as I understand, the centering of your logo is done through position: absolute, and to prevent your logo from overlapping with other blocks, add an Intro component position: relative.

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

79231844

Date: 2024-11-27 20:52:18
Score: 2
Natty:
Report link

You have a function call in m.bind('<FocusOut>', reset(m)). Remove it.

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

79231834

Date: 2024-11-27 20:47:17
Score: 2.5
Natty:
Report link

same here... the .pkg file installed. the application is correctly found in launchpad and in /applications/ but when clicked seemingly nothing happens although I think I see the icon pop and then close in an instant on the dock.

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

79231819

Date: 2024-11-27 20:44:16
Score: 3.5
Natty:
Report link

I used jsdom instead of domparser, it works

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

79231803

Date: 2024-11-27 20:40:15
Score: 1
Natty:
Report link

What I ended up doing is to override OnKeyDown and OnKeyUp methods on the main windows of the Avalonia app, and then I am mapping Avalonia.Input.Key enum to SDL.SDL_Keycode enum. After that I am creating a new SDL2 event with a given key down/up like so:

        public void OnKeyUp(SDL.SDL_Keycode key)
        {
            SDL.SDL_Event _event = new SDL.SDL_Event();
            _event.key.keysym.sym = key;
            _event.type = SDL.SDL_EventType.SDL_KEYUP;
            SDL.SDL_PushEvent(ref _event);
        }

        public void OnKeyDown(SDL.SDL_Keycode key)
        {
            SDL.SDL_Event _event = new SDL.SDL_Event();
            _event.type = SDL.SDL_EventType.SDL_KEYDOWN;
            _event.key.keysym.sym = key;
            SDL.SDL_PushEvent(ref _event);
        }

Thanks to that I am able to get all key up/down events from the Avalonia into the SDL2 app.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): What I
  • Low reputation (0.5):
Posted by: gryz

79231802

Date: 2024-11-27 20:38:14
Score: 0.5
Natty:
Report link

Alright. I have done it.

@echo off
setlocal enabledelayedexpansion

rem Loop through existing .xhtml files in reverse order
for /L %%i in (478, -1, 0) do (
    if exist %%i.xhtml (
        set /a newnum=%%i + 1

        rem Attempt to rename the file
        ren %%i.xhtml !newnum!.xhtml
    )
)

endlocal

Make sure to indicate the highest number name in the code. My was 478.

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

79231791

Date: 2024-11-27 20:35:13
Score: 3.5
Natty:
Report link

The generated SQL command is missing the colon after the WITH keyword, try it

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sanderson Corrêa

79231757

Date: 2024-11-27 20:21:10
Score: 1.5
Natty:
Report link

Are you required to use Google Earth? I use Google Maps to render a couple thousand points over USA and we use a feature that, depending on the zoom level, it groups those points into markers, and as you zoom in, it will unpack those markers into individual points again.

I am not familiar with Google Earth API so I am not sure if the same is available, but usually when working with that kinda of representation you might want to create a logic or use a feature that will remove the unique points and turn them into a marker, or shape as you mention.

You also have huge benefits for only displaying points that are in an area visible for on the screen. That is also something we do on my implementation of Google Maps. My points are over USA, so if I zoom in Texas, I remove from the GMaps points array any location outside of that zoom area.

For that you will use Gmaps getbounds to be able to get the current visible area and then calculate if your points lat/long are within that area. If you google or look up here in Stackoverflow you will see a couple different ways to implement that.

Also for visualization, you might check other solutions, like Mapbox and OpenStreetMaps. But again, they are nothing like Google Earth.

Reasons:
  • Blacklisted phrase (1): Stackoverflow
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Estevao Santiago

79231734

Date: 2024-11-27 20:10:07
Score: 2.5
Natty:
Report link

Just for note: I was added python-celery package to MSYS2. And eventlet pool can be used too.

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

79231733

Date: 2024-11-27 20:10:07
Score: 4
Natty:
Report link

мне тут помогли со взломом как и обещал оставляю отзыв сделали все в короткие сроки.качественно человек даже не узнал об этом ставлю твердую 5+++ спасибо большое кому нужно вот номер телефона +79033500820 почта [email protected] спасибо дмитрию

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: услуги на заказ

79231726

Date: 2024-11-27 20:06:04
Score: 7.5 🚩
Natty:
Report link

I have the error message below (env) C:\xampp\htdocs\imgdwn\radardeprix_test\python-test\lib>pip install fasttext-0.9.2-cp311-cp311-win_amd64.whl ERROR: fasttext-0.9.2-cp311-cp311-win_amd64.whl is not a supported wheel on this platform.

Can you help please

Reasons:
  • RegEx Blacklisted phrase (3): Can you help
  • RegEx Blacklisted phrase (1): I have the error
  • RegEx Blacklisted phrase (1.5): help please
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Eric Balé

79231725

Date: 2024-11-27 20:06:04
Score: 3
Natty:
Report link

Are you using a Coroutine? If so, this is not a matter of the wrong JPEG etc. I'm experiencing the same thing. Sometimes it works, and sometimes it doesn't. It's almost as if one thread is updating the image while another is accessing it.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mark Kettle

79231718

Date: 2024-11-27 20:02:03
Score: 1
Natty:
Report link

patchelf 0.18.0 supports to print, clear and set executable stack state on binary.

"--print-execstack" Prints the state of the executable flag of the GNU_STACK program header, if present.

"--clear-execstack" Clears the executable flag of the GNU_STACK program header, or adds a new header.

"--set-execstack" Sets the executable flag of the GNU_STACK program header, or adds a new header.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Aleksandr Serov

79231717

Date: 2024-11-27 20:02:03
Score: 0.5
Natty:
Report link

If the error is for the txn, you might be reading all files recursively because databricks delta parquet creates a folder with logs and such, within this folder there are additional tables with more columns.

If so, remove the recursively option from the source of the copy data activity:

enter image description here

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

79231714

Date: 2024-11-27 20:01:03
Score: 1.5
Natty:
Report link

I have a clue) Their zebra-colorized table is messing with your eyes) All the 3 colors are the same, just the middle one gets darker because of the table beneath. You can check that with DevTools. DEvtools img Note how on this pic all the 3 colors are now the same, as I disable table's background.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: ilya.chepurnoy

79231713

Date: 2024-11-27 20:01:03
Score: 0.5
Natty:
Report link

You are probably reading all files recursively because databricks delta parquet creates a folder with logs and such, within this folder there are additional tables with more columns, hence the txn.

So, remove the recursively option from the source of the copy data activity:

enter image description here

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

79231695

Date: 2024-11-27 19:52:01
Score: 0.5
Natty:
Report link

Turns out Unity has changed how global textures are handled with the new version. Please refer to this answer I've got from the Unity staff.

In the end I found a much simpler solution than writing my own rendering feature. I found out that the camera depth texture is available in the OnRenderObject call. So I'm just fetching it there and doing my logic etc. in Update. Just make sure to add a null check before you start rendering.

Previously in 2021 and prior I also had to wait 1 frame until the depth texture was generated but this was still possible using only the Update loop.

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

79231693

Date: 2024-11-27 19:50:00
Score: 2.5
Natty:
Report link

For anyone who might need it, 'zoom' in X.canvas.toolbar.mode worked for me.

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