79425837

Date: 2025-02-09 23:19:57
Score: 6 đŸš©
Natty:
Report link

Did you ever manage to make it work?

The only decent way i know at the moment to mitigate this is to seed the database using import.sql or for API integration tests ordering the POST first and then the other HTTP methods.

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever manage to
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: LearningProcess

79425827

Date: 2025-02-09 23:10:56
Score: 3
Natty:
Report link

Had similar issue, and I have checked to make sure the installation path for python is added under environment variables. C:\Users\username\AppData\Local\Programs\Python\Python313\Scripts C:\Users\username\AppData\Local\Programs\Python\Python313\Lib C:\Users\username\AppData\Local\Programs\Python\Python313
enter image description here

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

79425822

Date: 2025-02-09 23:03:51
Score: 8.5 đŸš©
Natty: 5.5
Report link

Just following up on this, did you find a solution?

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

79425821

Date: 2025-02-09 23:02:51
Score: 3.5
Natty:
Report link

The suggested answer solves the problem partially: it does offset the app's view, but it also erases the system icons. enter image description here

I don't want them to be erased, because they might have a value for a user, and this is how it was in all Android versions up to API 34.

My solution looks more like a hack but it fixes the problem and makes the app look like in API 34 and all prior version

        if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.VANILLA_ICE_CREAM){
           binding.rootToolbar.setPadding(0,
           binding.rootToolbar.minimumHeight/2, 0, 0)
        }

Yes, it's ugly but it works and now I have what I wanted: Thanks Google for breaking the code again.

enter image description here

@atzarul, if you know what else I can tweak in API 35 to return to the old look, please share

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2.5): please share
  • RegEx Blacklisted phrase (1): I can tweak in API 35 to return to the old look, please
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @atzarul
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Oleg Gryb

79425819

Date: 2025-02-09 23:00:50
Score: 2
Natty:
Report link

For anyone looking to implement this scheme, consecutive CORS redirects are simply not supported to protect the user's privacy.

The best mitigation I've found is to respond to the first redirect with a webpage that has a built in script which issues the second redirect. This allows chrome to fill the ORIGIN header correctly and allows either CORS Middleware or the enable-cors annotation to facilitate the preflight requests "one at a time".

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

79425813

Date: 2025-02-09 22:55:50
Score: 0.5
Natty:
Report link

I had this issue for 3 days, and here’s what solved my problem:

Hope this helps! 😊

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • No code block (0.5):
  • Low reputation (1):
Posted by: gbraga

79425811

Date: 2025-02-09 22:53:49
Score: 2
Natty:
Report link
if let json = try? JSONSerialization.jsonObject(with: data, options: []) as? Array<String>{
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Nibbles

79425810

Date: 2025-02-09 22:52:49
Score: 0.5
Natty:
Report link

Sorry my english is a little bit poor. I've a strong solution to empty an array Simply do as follow

Dim MyArray() as Redim MyArray(-1 to -1)

This worked for me Before that, I'd tried Redim MyArray(0 to -1) but it did'nt work

Hope this will be helpful

Reasons:
  • Whitelisted phrase (-1): This worked for me
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Franck TAPE

79425808

Date: 2025-02-09 22:51:49
Score: 1.5
Natty:
Report link

The same issue is possible if you did not install the iOS Simulator on XCode and tried to install your app onto a physical iOS device. Even though the simulator isn't necessary to you, it is needed for XCode.

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

79425802

Date: 2025-02-09 22:48:48
Score: 2
Natty:
Report link

Had the same problem on macOS Sequoia 15.3 -- where it turns out /tmp actually is a symlink to /private/tmp and tesseract fails to locate the files there.

To troubleshoot the problem run "realpath /tmp" to track it down.

Once I referred to /tmp as /private/tmp in my script, tesseract was happy.

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

79425797

Date: 2025-02-09 22:45:47
Score: 1
Natty:
Report link

tensorflow-federated only supports POSIX :: Linux Operating System. There's no support for macOS as it only has wheels for Linux.

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

79425795

Date: 2025-02-09 22:43:47
Score: 0.5
Natty:
Report link

Still learning, but I found solution that satisfies me at least.

  1. Create fifo descriptor in parent
if not os.path.exists(fifo_path):
        os.mkfifo(fifo_path)
  1. Launch process that will write to this fifo
    python_process = multiprocessing.Process(
        target=child_func,
    )
    python_process.start()
    
   
    write_fd = open(fifo_path, "w")
    write_fd.close()
  1. Open fifo and pass to subprocess

      fifo = os.open(fifo_path, os.O_RDONLY)
      fzf = subprocess.Popen(
           [
               "fzf",
           ],
           stdin=fifo,
           text=True,
       )

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

79425785

Date: 2025-02-09 22:34:45
Score: 2.5
Natty:
Report link

Ah. https://www.youtube.com/watch?v=F60iJ3xxgtg

Add

# %%

And there you go. Interactive code like Jupyter Notebook in script. Nice.

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: elksie5000

79425779

Date: 2025-02-09 22:30:44
Score: 1
Natty:
Report link

For a simple solution using Angular, you can just:

this.imageUrl = URL.createObjectURL(file);
<img [src]="imageUrl" alt="imageUrl"/>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sham Fiorin

79425771

Date: 2025-02-09 22:21:42
Score: 5
Natty:
Report link

bt word ptr [di], 0 would that work for you?

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

79425766

Date: 2025-02-09 22:18:42
Score: 0.5
Natty:
Report link

I think there maybe some kind of bug going on here! On occasion I have seen the NavLink error that the orginal poster mentions. Yes, it looks like maybe I'm missing a "@using Microsoft.AspNetCore.Components.Routing" statement. I do however have that statement included in my "_Import.razor" file. The problem was occuring in my NavMenu.razor component. So I thought maybe those imports don't apply to my NavMenu component. So I added the using statement directly in my NavMenu.razor component. Even with that using statement added directly in my NavMenu component, but I still got the same error. So I thought, could I be spelling the "Microsoft.AspNetCore.Components.Routing" component name wrong, but that wasn't the case. I then went to A NavLink statement in my NavMenu.razor component an pasted the namespace "Microsoft.AspNetCore.Components.Routing" in front of the NavLink tag and this time the error went away. The error also went away for all other Navlink's in the NavMenu.razor component. I then deleted the hard code namespace from the Navlink that I had previously changed. After that, all NavLink tags were still fine! I then deleted the @using statment I had added to my NavMenu.razor component and things were still fine. Please remember that my "Imports.razor" file still has the routing using statement in it.

The above observation is what leads me to believe that there's some kind of bug going on. I'm going to guess that maybe there's something going wrong razor import caching. Again, that's just a guess. I did however find some mention about razor import caching errors at: https://tridion.stackexchange.com/questions/16415/razor-import-caching-problem. It gives a possible explanation to what might be causing this problem.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • User mentioned (1): @using
Posted by: Tom Rutchik

79425744

Date: 2025-02-09 21:56:38
Score: 1
Natty:
Report link

I used this one

topk(10,
    sum by (http_route, http_request_method, method_route) (
        label_join(
            increase(http_server_request_duration_seconds_count{
                job="$job", instance="$instance", env="$environment", appName="$appName", http_route!=""
            }[$__range]),
            "method_route", " ", "http_request_method", "http_route"
        )
    )
)

enter image description here

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

79425742

Date: 2025-02-09 21:52:37
Score: 3
Natty:
Report link

i just open mine with nw.js when it has a package.js . i open stuff with that with python if it has .py . i wish github included .exe files

idk if my statment helps

i need to stop coding odd stuff

Reasons:
  • Blacklisted phrase (0.5): i need
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: bruh

79425740

Date: 2025-02-09 21:48:36
Score: 2.5
Natty:
Report link

Dude. Literally the only instructions on the internet that work. And I tried EVERYTHING. Thank you so much!!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Bill Noel

79425736

Date: 2025-02-09 21:45:36
Score: 2
Natty:
Report link

Thank you for a clear explanation of the issue. My player Input shows the following: Actions InputSystem_Actions(Input Action Ass Default Scheme Any & Keyboard&Mouse Auto-Switch checked Default Map Player UI Input Module None (Input System UI Input Module) Camera None (Camera) Behavior Send Messages & Evoke C Sharp Events

OnMove is listed in the section below Behavior but not recognized in the Visual Studio Code.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • No code block (0.5):
  • Low reputation (1):
Posted by: Joseph

79425727

Date: 2025-02-09 21:32:33
Score: 5.5
Natty: 6
Report link

Thank you for your thorough reply. I tried to change listview header font color in addition to other font properties according to the provided solution, but I did not succeed due to lack of familiarity with the API . If possible, please advise. Thank you for your reply

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • RegEx Blacklisted phrase (2.5): please advise
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: saeid_fi

79425721

Date: 2025-02-09 21:27:31
Score: 1
Natty:
Report link

Apparently, it's been fixed in a later update. After trying the suggested solution of downgrading celery to 5.2.3 I've ran into another issue with a different library. So instead I tried to upgrade celery to the latest version, which at the time of writing is 5.4.0, and it works fine.

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

79425717

Date: 2025-02-09 21:26:31
Score: 1.5
Natty:
Report link

You could possibly disable SSL-pinning If you don't have access to the source-code you could possibly use FRIDA syntax: frida -U -n your.app.package -s frida_ssl_bypass.js

Use alternate network capturing tool: PCAPDroid(non-rooted) HTTPCanary(Rooted)

For run-time security testing: Try FRIDA OBjectoin and Drozer No doubt ADB is your friend

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

79425701

Date: 2025-02-09 21:16:28
Score: 1.5
Natty:
Report link

If script is type="module", it will know its URL from import.meta.url. You can pass search params.

Reasons:
  • Low length (1):
  • No code block (0.5):
Posted by: laurent lahmy

79425689

Date: 2025-02-09 21:06:27
Score: 2
Natty:
Report link
bro just as an e.g. do this:


ellipse(40, 40, 50, 50);



if (mouseIsPressed && dist(mouseX, mouseY, 40, 40) < 25) {
background(233, 245, 66);
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: nah

79425683

Date: 2025-02-09 21:02:26
Score: 3.5
Natty:
Report link

What will the indexOf() method return for the following code?

let str = "Mississippi"; console.log(str.indexOf("i", 3));

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: Web Afsana Keya

79425681

Date: 2025-02-09 21:00:25
Score: 1
Natty:
Report link

CakePHP 5.x and probably earlier versions, override default layout in /src/templates/Pages/home.php by starting that file with php that contains several use directives, then :

$this->disableAutoLayout();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user3403511

79425676

Date: 2025-02-09 20:56:24
Score: 4
Natty:
Report link

(https://gifts-shop.su/) The best selection of corporate gifts and no headaches

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

79425666

Date: 2025-02-09 20:49:23
Score: 3
Natty:
Report link

I can confirm too that disabling the gpu solved my issue. Really struggled before finally got it

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

79425660

Date: 2025-02-09 20:44:22
Score: 2
Natty:
Report link

That error is generated because the default --view-arn is not set in us-east-2 (check the description of --value-arn in https://awscli.amazonaws.com/v2/documentation/api/latest/reference/resource-explorer-2/search.html).

You need to create a default view in us-east-2 (https://docs.aws.amazon.com/resource-explorer/latest/userguide/configure-views-set-default.html).

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

79425655

Date: 2025-02-09 20:39:21
Score: 1
Natty:
Report link

I think I found the answer. In the <application/> tag of my AndroidManifest.xml file I previously had android:supportsRtl="true", when what I should have had was android:supportsRtl="false". After changing this all the screenshots look as expected, so hopefully this was the problem. I never thought of this property as being related to layout, I thought it only applied to text, but I guess it applies to general layout (like GridLayout) as well. Hopefully this can help others as well. Good Luck!

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Nathan Sokalski

79425650

Date: 2025-02-09 20:34:19
Score: 0.5
Natty:
Report link

there are 2 steps for take all enabled element with locator in playwrigth (docs enabled here(link)):

  1. use locator.all().
  2. chaining js filter function.

for example:

await (await page.locator('your locator').all()).filter((el: Locator) => el.isEnabled()) 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: salvo720

79425648

Date: 2025-02-09 20:32:19
Score: 3
Natty:
Report link
=LET(s,{"Not started","In Progress","Completed"},INDEX(s,MODE.SNGL(SORT(IFERROR(XMATCH([Status],s)/([ID]=[@ID]),"")))))

enter image description here

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

79425638

Date: 2025-02-09 20:28:18
Score: 1
Natty:
Report link

You may be need to resolve references inside json directly before deserialization. Try this lib - https://crates.io/crates/json_deref Not the same syntax as $ref but can evaluate embedded in text references

Reasons:
  • Whitelisted phrase (-1): Try this
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Arsynth

79425623

Date: 2025-02-09 20:10:14
Score: 1
Natty:
Report link

I came across this Multiple Selector component, which is based on the Command component of the Shadcn UI. It meets all your requirements.

Demo of Shadcn based multiple selector component

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

79425622

Date: 2025-02-09 20:09:14
Score: 1.5
Natty:
Report link
        context: ./
    container_name: php_web
    depends_on:
    - db
    volumes:
    - ./php/:/var/www/html/
    ports:
    - 8080:80
    stdin_open: true
    tty: true
    restart: always
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Bilal

79425615

Date: 2025-02-09 20:03:13
Score: 2
Natty:
Report link

An energetic and outgoing waiter with great dedication to serving customers and providing them with an exceptional dining experience. A quick learner who adapts to fast-paced environments and can handle multiple tasks under stress. Highly skilled in cleaning and maintaining silverware as well as in storing chemicals and cleaning compounds according to safety directions. Eager to join a strong team while enhancing the restaurant’s success through positive customer feedback

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

79425612

Date: 2025-02-09 20:02:13
Score: 0.5
Natty:
Report link

On top of existing, ever-evolving function kit, MS promotes Power Query as well.

Here's PQ solution,

let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WCgkKdgxS0lHy8ggJ8nAMDnUKUorVwSKMXTQoCEl5BJoxsQA=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [#"text to find" = _t, #"within text" = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"text to find", type text}, {"within text", type text}}),
#"Uppercased Text" = Table.TransformColumns(#"Changed Type",{{"text to find", Text.Upper, type text}, {"within text", Text.Upper, type text}}),
Compare = Table.AddColumn(#"Uppercased Text", "Test", each List.AllTrue(List.Transform(List.Distinct(Text.ToList([text to find])), (c) => (List.Count(Text.PositionOf([text to find], c, 2))) <= List.Count(Text.PositionOf([within text], c, 2)))))
in
    Compare

enter image description here

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

79425611

Date: 2025-02-09 20:02:13
Score: 3
Natty:
Report link

My friend is a full stack dev built this project to send image over blockchain(icp-internetcomputer) you can check it: https://secureimagechain.com

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: John davidson

79425601

Date: 2025-02-09 19:53:11
Score: 0.5
Natty:
Report link

Even when the Binary paths are correctly set in the Preferences, you can sometimes still get this error. To find the root-cause of this error, you can click on the validate button next to the path and it will show you the actual problem. enter image description here

As you can see, the path is correct however the actual issue is displayed when the validate button is pressed.

enter image description here

In my case though, the pg_dump and pg_restore are actually present at the path however, I seem to be missing a library which is causing this (Getting this error when manually executing it).

enter image description here

Re-installing or installing a newer version fixed this for me.

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

79425600

Date: 2025-02-09 19:51:10
Score: 1.5
Natty:
Report link

The following steps worked for me:

Run the following command inside WSL to check if VS Code is installed:

code --version

If this gives an error, install VS Code Server inside WSL:

wget -qO- https://aka.ms/install-vscode-server/setup.sh | bash

If VS Code is installed but still not working, try reinstalling the remote:

rm -rf ~/.vscode-server
rm -rf ~/.vscode
code .
Reasons:
  • Blacklisted phrase (2): still not working
  • Whitelisted phrase (-1): worked for me
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Suraj Verma

79425599

Date: 2025-02-09 19:49:10
Score: 2
Natty:
Report link

You don't need to search much more to find out how to spy or track your boyfriend's phone. Given that males are more likely than women to cheat and that cheating rates are higher than ever, it makes sense that you would want to understand how to track your partner's phone. To spy on your lover or anyone else, please message her at [email protected] and on WhatsApp at +1 712 759 4675.

Reasons:
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: kwan

79425595

Date: 2025-02-09 19:46:09
Score: 3
Natty:
Report link

i'm not sure how tight your windows defender security rule was.Also, do you have this same problem in all of your projects, when you run in local or only this project alone create this issue? The below stack overflow discussion may helps you:

Visual Studio 2022 - Operation did not complete successfully because the file contains a virus or potentially unwanted software

Has anyone else encountered this issue with Razor Runtime Compilation or other .NET Core 8 dependencies?

Personally, i didn't faced this type of error.

Is this something I should take more actions from, like reinstalling windows or some other measures? I already scanned the system with Windows Defender and downloaded Malwarebytes, both of which did not find anything.

I hope no other action needed from your end apart from "liberal" some antivirus rules in your windows defender. So try to disable the windows defender in your machine and try to run in local.

Hope this helps!

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • RegEx Blacklisted phrase (2.5): do you have this
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Francis

79425589

Date: 2025-02-09 19:44:09
Score: 2
Natty:
Report link

simplifies variable declaration similar to var x = 3; // like in js for ex

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

79425586

Date: 2025-02-09 19:43:08
Score: 1.5
Natty:
Report link

I was running a linux container and trying to connect via DBeaver (on my windows machine) to no avail. I finally realized there was a PGadmin service running as a windows service. Once I shut that service down, I had no issues connecting to my container postgres instance via DBeaver. I thought to share in case any of you had that issue and could potentially save you some time.

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

79425579

Date: 2025-02-09 19:39:08
Score: 3.5
Natty:
Report link

if you get this error on windows after building executable file for linux. change GOOS value from linux to windows in environment variable change environment variable

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

79425578

Date: 2025-02-09 19:39:07
Score: 3
Natty:
Report link

I was reviewing this and I'm not sure there is a need for static on the func.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Douglas W. Palme

79425575

Date: 2025-02-09 19:38:07
Score: 5
Natty:
Report link

Did you ever figure this out? After 7 hours and reading stack overflow, I finally got my answer. I happen to have a windows laptop and had PgAdmin installed but our app is linux. I spun my database instance up on docker and couldn't connect to save my life. I was trying to run prisma migrations and trying to connect via DBeaver to no avail. Out of a hunch, I found that if you have PGAdmin installed under windows there's a service that runs in the services snap-in. as soon as I disabled, I was able to connect. I thought for hours and hours I had a password issue b/c of the error message.

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever figure this out
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (0.5):
Posted by: Joe Kehnast

79425571

Date: 2025-02-09 19:37:06
Score: 3
Natty:
Report link

My tablet gt50promax with custom android version behaves the same.the problem is with Google play service which does not secure rooted or custom android versions.it sees preinstalled apps as a threat and blocks caching its updates.

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

79425569

Date: 2025-02-09 19:36:06
Score: 0.5
Natty:
Report link

The problem which I faced in this case was that - I missed the curly braces while trying to get the id from the req.params. Such as:

const id = req.params

try to fetch the id with curly braces:

const {id} = req.params
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: samin

79425565

Date: 2025-02-09 19:32:04
Score: 4
Natty:
Report link

Here , this may help U can also check out the official documentation of cmake https://github.com/MicrosoftDocs/cpp-docs.git

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

79425558

Date: 2025-02-09 19:28:03
Score: 3.5
Natty:
Report link

Yeah good luck bro. Hope you find a solution

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

79425551

Date: 2025-02-09 19:24:02
Score: 0.5
Natty:
Report link

you can use https://www.npmjs.com/package/ignore-punycode-warning

npm install ignore-punycode-warning

import this package at the beginning of your entry file:

import 'ignore-punycode-warning';

// The rest of your code
Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: nshen

79425550

Date: 2025-02-09 19:23:02
Score: 2
Natty:
Report link

in Update() you should use Time.deltaTime, which is The interval in seconds from the last frame to the current one (https://docs.unity3d.com/6000.0/Documentation/ScriptReference/Time-deltaTime.html), without it speed can be faster on higher fps

rb.linearVelocity = Time.deltaTime * transform.right * velocity * 3f;
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Đ”Đ°ĐœĐžĐžĐ» Đ“Đ°Đ»ĐžĐœŃĐșĐžĐč

79425548

Date: 2025-02-09 19:22:02
Score: 1.5
Natty:
Report link

You can find the answer on this page of Microsoft: https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-8.0/ranges search on System.Range

The syntax is [startposition ... endposition (excluded)] So if you ask for [2..2] you ask for the items from position 2 till 2 (exclude position 2) - which gives you no results.

If you want to "include" the last item, you enter it as: [2..^2]

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

79425544

Date: 2025-02-09 19:20:01
Score: 2.5
Natty:
Report link

I understand that this is a dead post but I do have a POSSIBLE solution that I HAVE NOT TESTED. It is a file and you're supposed to open it on your chromebook by double clicking it.

https://drive.google.com/file/d/1FGaGkP8sA87JdFMoxgjMm00Kpwh23ccV/view?usp=sharing

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Timmeh Johnson

79425541

Date: 2025-02-09 19:18:01
Score: 3
Natty:
Report link

julia> ⊕(x, y) = x+y ⊕ (generic function with 1 method)

standard prefix function call

julia> ⊕(1, 2) 3

infix operator call

julia> 1⊕2 3

julia> 1 ⊕ 2 3

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Saritha sunil

79425538

Date: 2025-02-09 19:17:01
Score: 1.5
Natty:
Report link

There aren't "obvious" security flaws here. Logging in via a link sent to a verified email is often referred to as a magic link.

Some things to consider:

Alternate suggestion: Since you're relying on email, integrate with one of the social providers via OAuth/OIDC like "sign in with Google"

Reasons:
  • Blacklisted phrase (1): is there a way
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
Posted by: akdombrowski

79425537

Date: 2025-02-09 19:17:01
Score: 2
Natty:
Report link

Try excluding the tabId for the enabled: false option:

chrome.sidePanel.setOptions({ enabled: false, });

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Tyler S

79425534

Date: 2025-02-09 19:16:00
Score: 0.5
Natty:
Report link

Linenoise does not have an API function to prefill the input buffer with a default string. The standard usage:

char *line = linenoise("prompt: ");

always starts with an empty buffer for the user to edit. Neither the synchronous nor the asynchronous API provides a way to preset the line buffer.

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

79425531

Date: 2025-02-09 19:14:00
Score: 2
Natty:
Report link

Using docker v4.38.0 on Windows 11 using WSL2 the path to volumes is now \\wsl$\docker-desktop\mnt\docker-desktop-disk\data\docker\volumes

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

79425526

Date: 2025-02-09 19:09:59
Score: 1
Natty:
Report link

For me this did the trick:

ln -s $(pwd)/node_modules/react/jsx-runtime.js $(pwd)/node_modules/react/jsx-runtime

Sure, keeping everything up to date is important. But if you want to continue, then this might help.

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

79425521

Date: 2025-02-09 19:07:58
Score: 1
Natty:
Report link

I had the same issue, spent a half day on this to solve. At the end I've found this: https://github.com/facebook/react/issues/16132

Most likely it's a webpack limitation and there is no solution for this.

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

79425501

Date: 2025-02-09 18:58:56
Score: 1
Natty:
Report link

If Accelerate 3D graphics option did not help with this error

No 3d support is available from the host

there are multiple duplicate answers on this subject on the Ubuntu and AskDifferent, which also work on Windows 10 host and W10 or Linux guests.

Basically, edit vmx file and add

mks.enableMTLRenderer = "0"
mks.enableGLRenderer = "1"
mks.gl.allowBlacklistedDrivers = "TRUE"

Now there is one more dupe on SO :(

Reasons:
  • Blacklisted phrase (1): :(
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: halt9k

79425489

Date: 2025-02-09 18:48:54
Score: 2.5
Natty:
Report link

Increase the frame_max setting to 20 MB (both client and server). Verify no resource limits (e.g., memory or disk quotas) are causing the issue. Consider splitting or compressing the payload if size continues to be an issue. Check RabbitMQ logs for errors beyond the 406 PRECONDITION_FAILED.

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

79425488

Date: 2025-02-09 18:47:53
Score: 2
Natty:
Report link

I found the answer elsewhere. Press F4 after clicking the cell.

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

79425480

Date: 2025-02-09 18:45:53
Score: 2
Natty:
Report link

The idea to get gps coordinates was insane. So use google map api if you can afford pricing for your project else , the best free openstreet api also works just fine.

https://nominatim.openstreetmap.org/search?q={Name of place}&format=json

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

79425461

Date: 2025-02-09 18:38:52
Score: 0.5
Natty:
Report link

Press F4 just after the click.

Further pressing of F4 will cycle the reference through 'C$3', '$C3', and back to 'C3'.

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

79425456

Date: 2025-02-09 18:35:51
Score: 3
Natty:
Report link

I have found Accelerate framework and vImage functions, which look like what I am looking for, however documentation is scarce and I got lost in it.

The primary documentation for vImage, especially for older functions like this may actually be the headers, the C headers. If you were looking at that, you almost certainly would have found what you wanted because the functions are in there together.

At the time it was written, the tech pubs budget didn’t span the whole software stack, so it was the only way for engineers to communicate with developers about what these functions are for and how to use them. They didn’t let us write the main HTML developer documentation, and shut down the group’s Velocity Engine web page which detailed how to write AltiVec code, one of the last “rogue” pages on apple.com. Since then, some of the stuff has been “officially” documented, so YMMV, but I doubt much effort has gone into the subject “so you want to calculate Shanon Entropy?”

The “official” documentation process involves having a tech writer, trained to use techpub’s tools and Apple’s documentation policies review, summarize and rewrite the engineering provided documentation, in this case the headers, and put it up on the website. It alas doesn’t necessarily involve a lot of deep engineering insight, since the writer when they arrive on the project at day one usually doesn’t know more than you about how the framework works and any important details that need to be presented. So, unless new content was specifically developed for the web page it is in essence often just a (pretty looking) derivative work, especially in cases where the header documentation is detailed. This is why you’ll sometimes see documentation pages that look like:

// fictitious example

CGMakeRect

Make a CGRect.

Which is what happens when engineering wasn’t completely forthcoming with a torrent of details.

MetalPerformanceShaders.framework has some image statistics functions which would also serve this purpose, if your workload is on the GPU.

Reasons:
  • Blacklisted phrase (2): I am looking for
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Ian Ollmann

79425443

Date: 2025-02-09 18:27:49
Score: 2.5
Natty:
Report link

I was just facing the same problem and came up with the following solution (assuming the language you're using to implement your interpreter supports exceptions).

  1. Make sure your AST nodes can be uniquely identified (unique ID, pointer/reference value, etc.)
  2. When constructing your AST, make sure you have some way to represent a (block) scope, either explicitly with a "Block" node or implicitly via some "isBlock(node") function
  3. When encountering a 'goto', resolve the destination AST node. Then pass the identifier (or even the AST node instance itself) along with your exception (in Java this can be done with a member field in a custom Exception subclass, in other languages you may need to encode it in the exception message string etc.).
  4. When interpreting a block scope AST node, loop over the children of this block and have this loop wrapped in a try/catch(GotoException). When you catch a GotoException, check whether the target AST node is a direct child of the block scope that caught it. If the target is a direct child of the current block scope, restart execution at that node. If not, re-throw the exception so the next block scope higher up the call stack can have a look at it.

Definitely not very performant but much easier to implement than "flattening" your AST (if you start going down that path you might as well write a compiler instead of an interpreter).

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Me too answer (2.5): facing the same problem
  • Low reputation (0.5):
Posted by: Tobias Gierke

79425432

Date: 2025-02-09 18:21:47
Score: 4.5
Natty: 4
Report link

This issue was fixed in Spyder 5.4.1

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

79425425

Date: 2025-02-09 18:17:46
Score: 3.5
Natty:
Report link

I understand it's been awhile, but what was your ultimate solution? I'm dealing with something similar right now.

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

79425422

Date: 2025-02-09 18:15:45
Score: 2
Natty:
Report link

I had the exact same problem and ended up building a tool, mdsf, that allows you to run "ordinary" code formatters like Black, Rustfmt and (Plus 100+ more) on markdown files.

https://github.com/hougesen/mdsf

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

79425413

Date: 2025-02-09 18:07:43
Score: 2
Natty:
Report link

Write pdb.set_trace() inside a for loop.

screenshot

import torch from torch import nn import pdb

for i in range(1): pdb.set_trace() linear = nn.Linear(3, 2)

Enter s and find the output as below: ipdb> s --Call--

/usr/local/lib/python3.11/dist-packages/torch/nn/modules/linear.py(93)init()

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

79425411

Date: 2025-02-09 18:03:42
Score: 3
Natty:
Report link

You have to set your email in your profile and in Settings->Emails you have to unset Keep my email addresses private if it were set

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

79425409

Date: 2025-02-09 18:02:42
Score: 1.5
Natty:
Report link

While appendFileSync is synchronous, it's executed inside an asynchronous promise chain that's not properly awaited. This means your subsequent file read operations (fs.readFileSync('key_${step}.txt')) might execute before the files are actually written.

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

79425408

Date: 2025-02-09 17:57:41
Score: 3
Natty:
Report link

I don't know what you are trying to achieve, but have a look at Promises, there are objects which have a task and do something when 'it has finished its task'

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

79425400

Date: 2025-02-09 17:52:40
Score: 1
Natty:
Report link
Purpose of DefWindowProcW() is handle the WM_* messages 
There are 260 WM_* are defined in #include <windows.h> 
which you can get when you download "Microsoft Visual Studio Community 2019" 
$ grep "define WM_"  windows.h | wc -l
260
DefWindowProcW() has default implementation of these 260 WM_* (windows messages).
and you can see some of them under https://gitlab.winehq.org/wine/wine/-/blob/master/dlls/win32u/defwnd.c#L2388
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: qmarsun

79425395

Date: 2025-02-09 17:49:39
Score: 2.5
Natty:
Report link

Maybe use compound nodes so that these "text values" are itself nodes?

https://js.cytoscape.org/#notation/compound-nodes

btw: Or maybe try reactflow - there you create custom nodes with handles and you connect those handles not nodes. It is complicated to do it otherwise, that's why I'm trying to use cytoscape.js instead :)

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

79425394

Date: 2025-02-09 17:48:39
Score: 2
Natty:
Report link

It is not applicable to your case, but someone might find this helpful. The default MAUI app template include font files with spaces in the file name (for example "OpenSans Regular.ttf") substituting the spaces with "-" in the file name and its reference in MauiProgram.cs will solve the problem.

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

79425379

Date: 2025-02-09 17:40:36
Score: 9
Natty: 9
Report link

Can you tell me how can I install this patch?

Reasons:
  • Blacklisted phrase (0.5): how can I
  • RegEx Blacklisted phrase (2.5): Can you tell me how
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (1):
Posted by: AleĆĄ

79425368

Date: 2025-02-09 17:33:35
Score: 0.5
Natty:
Report link

There is a tool called oh-my-batch that can directly accomplish this. (Disclosure: I am the developer of this tool.)

To use it, you need to install it first

pip install oh-my-batch

Then for your case, all you need to do is to run

omb job slurm submit "D*/slurm-run-orca.job"

It looks like you are running comp-chem tasks, actually there is an example in the project you may have insterest: https://github.com/link89/oh-my-batch/tree/main/examples/tesla

Reasons:
  • Contains signature (1):
  • Has code block (-0.5):
Posted by: link89

79425360

Date: 2025-02-09 17:28:33
Score: 1
Natty:
Report link

I faced similiar kind of issue I was using react native 0.76.* version so I upgraded it to 0.77.0 Firstly I have removed the node_modules and yarn.lock (if you are using npm then please remove package-lock.json) and removed the .gradle from android folder and the try to re-install the packages And try to run the app, It should work.

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

79425359

Date: 2025-02-09 17:28:33
Score: 3
Natty:
Report link
<Target Name="Hello" BeforeTargets="Build" AfterTargets="ResolveAssemblyReferences">
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ivan Ligusov

79425355

Date: 2025-02-09 17:27:33
Score: 4
Natty:
Report link

Sorted it - need to pack the local packages and link correctly internally.

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

79425349

Date: 2025-02-09 17:22:30
Score: 12
Natty: 7
Report link

I am facing the same problem .. Got any solution ?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Blacklisted phrase (1): m facing the same problem
  • RegEx Blacklisted phrase (2): any solution ?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Kishan Sharma

79425341

Date: 2025-02-09 17:18:28
Score: 6.5 đŸš©
Natty: 5
Report link

Please share the solution, I've got the same problem. Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2.5): Please share the solution
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Morteza Habibzadeh

79425338

Date: 2025-02-09 17:17:28
Score: 3
Natty:
Report link

try this library https://www.npmjs.com/package/kimath?activeTab=readme

install by npm i kimath

Reasons:
  • Whitelisted phrase (-1): try this
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: sunr

79425337

Date: 2025-02-09 17:15:27
Score: 1
Natty:
Report link

You cannot use the config property in dbt_project.yml. You should use flags instead:

Use flag warn_error

To transform all warnings to errors:

flags:
  warn_error: true

Use flag warn_error_options

To transform some flags to errors:

flags:
  warn_error_options:
    error: # Previously called "include"
      - NoNodesForSelectionCriteria
      - NothingToDo
    warn: # Previously called "exclude"
    silence: # To silence or ignore warnings

Sources:

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

79425315

Date: 2025-02-09 17:05:25
Score: 0.5
Natty:
Report link

I think that the problem comes from the serial protocol configuration at the Raspberry Pi side, specifically with the stopbits. To fix the problem, just set the stopbits to two, like this:

self.port = serial.Serial()
self.port.stopbits = 2
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: bardulia

79425312

Date: 2025-02-09 17:05:25
Score: 2.5
Natty:
Report link

fgetc(stdin) uses buffered input, reading a full line into a buffer and returning one character at a time, while read(STDIN_FILENO, &ch, 1) is unbuffered, reading only one character and leaving the rest for future input processing.

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

79425298

Date: 2025-02-09 16:59:23
Score: 2
Natty:
Report link
py [h.cmd('python mypro.py &') for h in net.hosts]
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: N. S.

79425296

Date: 2025-02-09 16:58:23
Score: 4.5
Natty:
Report link

bro just go to npm official documentation and copy the example it will work https://www.npmjs.com/package/@handsontable/react-wrapper

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

79425293

Date: 2025-02-09 16:57:21
Score: 7.5 đŸš©
Natty:
Report link

I am having the same problem now. I am following the advice but GameViewController is not able to see variables in the GameScene.

class GameScene: SKScene, SKPhysicsContactDelegate, GameSceneDelegate { weak var gameViewController: GameViewController? @State var selectedMusic: String?

override func viewDidLoad() {
    super.viewDidLoad()
    
    if let view = self.view as! SKView? {
        
        if let scene = SKScene(fileNamed: "GameScene") {
            scene.gameViewController = self
            scene.scaleMode = .aspectFill
            view.presentScene(scene)
        }
        
        view.ignoresSiblingOrder = true
    }
}

Value of type 'SKScene' has no member 'gameViewController'

What is the fix for this?

Reasons:
  • RegEx Blacklisted phrase (1.5): fix for this?
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I am having the same problem
  • Ends in question mark (2):
  • User mentioned (1): @State
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Dan Selig

79425291

Date: 2025-02-09 16:57:20
Score: 0.5
Natty:
Report link

I improved script by @abdo OUHNA a bit The main problem with it was that when Y coordinates for words in one string differs a bit, sorting worked incorrectly. Improved version uses clustering and work OK for me for receipts.

Change eps param if needed. It's meaning is max difference in pixels to be on the same line.

result = reader.readtext(temp_image_path)
     
data = []
for entry in result:
    coordinates, text, confidence = entry
    (tl_x, tl_y), (tr_x, tr_y), (br_x, br_y), (bl_x, bl_y) = coordinates
    data.append([text, tl_x, tl_y, tr_x, tr_y, bl_x, bl_y, br_x, br_y, confidence])

df = pd.DataFrame(data, columns=['text', 'tl_x', 'tl_y', 'tr_x', 'tr_y', 'bl_x', 'bl_y', 'br_x', 'br_y', 'confidence'])

df['mid_y'] = (df['tl_y'] + df['bl_y']) / 2

#  DBSCAN Clustering algo
eps = 5  # !!!!!!! CHANGE IT IF NEEDED !!!!!! max distance to be on one line
dbscan = DBSCAN(eps=eps, min_samples=1, metric='euclidean')
df['line_cluster'] = dbscan.fit_predict(df[['mid_y']])


df_sorted = df.sort_values(by=['line_cluster', 'tl_x'])
grouped_texts = df_sorted.groupby('line_cluster')['text'].apply(lambda words: " ".join(words)).tolist()
extracted_text = "\n".join(grouped_texts)
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @abdo
  • Low reputation (1):
Posted by: Nataliya K

79425284

Date: 2025-02-09 16:55:20
Score: 3
Natty:
Report link

The issue was due to missing Spark configurations. While Spark executed the SELECT query, it didn’t leverage partitioning until I explicitly set:

sparkConf.set("spark.sql.extensions", "io.delta.sql.DeltaSparkSessionExtension");
sparkConf.set("spark.sql.catalog.spark_catalog", "org.apache.spark.sql.delta.catalog.DeltaCatalog");

Why This Fix Works:

Without these, Spark treated the table as a generic Parquet table, ignoring partitioning. After adding them, partition filters appeared in the physical plan, improving query efficiency. Zeppelin worked because it had these configs set.

Unresolved Issue: DELETE Queries

However, DELETE queries still don’t apply partition pruning, even with these configs. The physical plan remains the same, causing a full table scan. Is this expected behavior in Delta Lake, or is there a way to optimize DELETE operations?

Would appreciate any insights!

Reasons:
  • Blacklisted phrase (1): is there a way
  • Blacklisted phrase (1.5): Would appreciate
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: George Amgad

79425279

Date: 2025-02-09 16:53:20
Score: 2
Natty:
Report link

This is before This Wireshark doesn't work and has filter "sip ||rtp"

Or, rather, that's a hex dump of the first 400 bytes of the "before" file in question.

It appears to be capturing on two devices, one of which is a loopback device, and the other of which is not a loopback device.

This means that it probably has packets with two different link-layer types; libpcap can't read those, and will return an error for the first packet that has a link-layer type different from the link-layer type of the first packet in the file. SharpPcap is a wrapper around libpcap/WinPcap/Npcap, so that's probably the error it's returning.

And this is after, This pcap file works and has the filter "frame.number < lineCount+1"

Or, rather, that's a hex dump of the first 400 bytes of the "after" file in question.

That file is a pcapng file, not a pcap file, just as the first file is. Your one-byte change modified the link-layer type of the second interface, presumably changing it from 0 (which is the low-order byte of the value of LINKTYPE_NULL, the type for most BSD loopback interfaces, and also the type that Npcap uses for Windows loopback interfaces) to 1 (which is the low-order byte of the value of LINKTYPE_ETHERNET), so the two interfaces are reported as having the same link-layer type.

That will prevent libpcap/Npcap from returning an error when reading the file.

Unfortunately, it will cause any program reading the file to misinterpret packets from the loopback interface as if they were Ethernet packets, so what they report about the packet will be bogus.

I'm unsure if this is a SharpPcap or a Wireshark problem

It's neither - it's a libpcap problem (Npcap is libpcap plus a driver and library that talks to the driver, to support traffic capture on Windows, but, as you're using it to read the file, it's just using libpcap code). Libpcap can't handle pcapng files that have packets with more than one link-layer type, as its API assumes all packets in the file have the same link-layer type (libpcap was written before pcapng existed; it's the library that defined the pcap file format, which is a format that supports only one link-layer type per file, unlike pcapng).

SharpPcap is a wrapper around libpcap/Npcap, for use by C# programs.

do you guys have an idea how to fix this?

Wait for libpcap to provide a new API that fully handles pcapng (when it exists, it will also transparently handle reading pcap files), and for SharpPcap to add a new API to support the new libpcap API, and then change your program to use that new API.

A workaround would be to use TShark to separate the pcapng file into two pcap (or pcapng) files, one that has packets from the first interface and one that has packets from the second interface. Your C# program won't be able to see all the packets in a single pass - you'd have to have it read one file and then the other - but at least your program won't mishandle packets from the second interface.

Reasons:
  • RegEx Blacklisted phrase (1.5): how to fix this?
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user29571306

79425278

Date: 2025-02-09 16:53:20
Score: 1.5
Natty:
Report link

Object.entries(sampleobject);//this returns an array where each element itself is an array of key,value. [[key1,value1],['key2','value2'],['key3','value3']]... so when you query shop[i][j] it will act as a 2dimentional array it will first query shop[i] and later it fetches the inside array and again does[j] to find the value of that array

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

79425274

Date: 2025-02-09 16:51:19
Score: 2
Natty:
Report link

I think it's a bit late, but maybe this will help someone else who has encountered this madness. When using EXTRA_AUDIO_SOURCE the result can only be obtained in onPartialResults not in onResults.

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

79425269

Date: 2025-02-09 16:46:17
Score: 4
Natty: 5
Report link

When I tried the script of Tanaike I found that I needed to put a time.sleep(2) in the callback, otherwise msg became None and the script stopped. Maybe there is a better way? Because now the execution becomes very slow...

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When I
  • Low reputation (1):
Posted by: Hans Hubers