79683424

Date: 2025-06-29 01:26:41
Score: 2.5
Natty:
Report link

Material UI is intended for Android only and isn't cross-platform. There is an alternative, but it's not official. I found this: https://github.com/MDC-MAUI/MDC-MAUI

good luck !

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

79683423

Date: 2025-06-29 01:26:41
Score: 1
Natty:
Report link

@juanpa.arrivillaga answer in the optimal form.

from functools import singledispatchmethod

class Polynomial:
    @singledispatchmethod
    def __add__(self, other):
        return NotImplemented

@Polynomial.__add__.register
def _(self, other: Polynomial):
    return NotImplemented


Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Looks like a comment (1):
Posted by: kdubs

79683421

Date: 2025-06-29 01:19:40
Score: 1.5
Natty:
Report link

The DLFrutasELegumes.mlnet model file path is likely hardcoded in a static class called DLFrutasElegums.

ImageClassify.dll is a Library - not an ML.NET model file. DLFrutasELegumes.mlnet should have been produced when the model was trained.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Nooby-Noob

79683419

Date: 2025-06-29 01:13:39
Score: 3
Natty:
Report link

Its's 2025
Apache settings can be found here.
/private/etc/apache2

And still, as @Marc said, the default page can be found here
/Library/WebServer/Documents

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @Marc
  • Low reputation (0.5):
Posted by: Rafael Parungao

79683417

Date: 2025-06-29 01:12:38
Score: 3.5
Natty:
Report link

Fixed it by running a program linked with GLIB which had debug symbols

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

79683416

Date: 2025-06-29 01:12:38
Score: 1
Natty:
Report link

I was able to get this to work using .apply

def get_Funding_info(row):
    return funding_df.loc[( (funding_df['ID']==row['ID']) & (funding_df['Year']==row['Year_Funding']) ), 'Funding'].squeeze()

combined_df['Funding'] = combined_df.apply(get_Funding_info, axis=1)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: eschares

79683412

Date: 2025-06-29 01:01:36
Score: 3.5
Natty:
Report link

Thanks a lot man! this method does work for me on windows10, i tryed many things and all have failed but not this one.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mine Stuuf

79683404

Date: 2025-06-29 00:44:32
Score: 2
Natty:
Report link

Just change the "pass" to continue and it should work just fine.

    except (ValueError, ZeroDivisionError):
        pass #continue insted of pass
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Remlife Games

79683399

Date: 2025-06-29 00:27:29
Score: 1.5
Natty:
Report link

Don't feel bad. I've been developing strategies for the OKX platform for a while now, and when I tried my first Bybit strategy using their unique environment URL setup, it took me a while to wrap my head around it. Yes, Jigar Suthar, even after I read the documentation and still created a few API keys using the wrong url after checking the documentation more than once.
This place is for helping every level of developer, from beginners to highly experienced, hell, even those few developers who know everything about every coding language and only need to read the documentation once to understand every possible way to use it in every instance possible.

But don't let those condescending few keep you from posting your questions!
"The man who asks a question is a fool for a minute, the man who does not ask is a fool for life,"

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

79683392

Date: 2025-06-29 00:06:25
Score: 1
Natty:
Report link

Well, you can use linear regression for this to check that there is a correlation between the x and y values. With the library scikit-learn you can make a linear regression model and plot the data with the library matplotlib.

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

79683385

Date: 2025-06-28 23:34:19
Score: 4.5
Natty:
Report link
Thank you.

This helped! .

.

.

.

.

.

.

.

.

.

.

.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • No latin characters (1.5):
  • Low reputation (1):
Posted by: Gator

79683384

Date: 2025-06-28 23:24:17
Score: 3.5
Natty:
Report link

12 years after the question;

To let the newcomers know,

PyInstaller DOES NOT compile Python programs into machine code per se; rather, it creates an executable program that contains a copy of the Python interpreter and your script.

As such, these programs tend to be fairly large. Even a simple “Hello, world” program compiled with PyInstaller can be close to 8MB in size, literally a thousand times larger than a version written in assembly language.

(from AUTOMATE THE BORING STUFF book)


So, I want to ask the original question again:

How to compile python script to binary executable?

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: a.sa.5969

79683379

Date: 2025-06-28 23:11:14
Score: 1.5
Natty:
Report link

The following stacked arrangement produces an effect that is close enough to what I wanted.

Stack(
      children: [
        Container(
          width: double.infinity,
          height: double.infinity,
          decoration: const BoxDecoration(
            gradient: LinearGradient(
              begin: Alignment.topCenter,
              end: Alignment.bottomCenter,
              colors: [
                Color.fromARGB(255, 4, 75, 211),
                Color.fromARGB(255, 2, 39, 109),
              ],
            ),
          ),
        ),
        Container(
          decoration: BoxDecoration(
            gradient: RadialGradient(
              center: Alignment.center,
              radius: 1,
              colors: [
                Colors.white.withValues(alpha: 0.6),
                Colors.transparent,
              ],
            ),
          ),
        ),
      ],
    );

enter image description here

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

79683376

Date: 2025-06-28 22:49:10
Score: 1.5
Natty:
Report link

Finally found the problem. Turns out I had Docker installed with Snap and there's a limitation where Snap can't access /tmp: https://github.com/canonical/docker-snap/issues/34#issuecomment-812045834

I had to uninstall Docker from Snap and reinstall using apt-get and now it works: https://docs.docker.com/engine/install/ubuntu/

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: parsley72

79683371

Date: 2025-06-28 22:35:06
Score: 1
Natty:
Report link

This happens because the coercion is in an unexpected place: The h here is interpreted as h : ((i.val : Fin 3) / 3).val = i.val / 3, so you get ((6 : Fin 3) / 3).val = (0 / 3).val = 0. On newer versions of Mathlib, the coercion from Nat to Fin is disabled by default to avoid such unintuitive behavior (but you can enable it using open scoped Fin.NatCast).

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

79683365

Date: 2025-06-28 22:28:04
Score: 1
Natty:
Report link

Im on windows and had to add a firewall rule

New-NetFirewallRule -DisplayName "Expo Metro" -Direction Inbound -Protocol TCP -LocalPort 8080 -Action Allow
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: NiB

79683364

Date: 2025-06-28 22:26:04
Score: 1.5
Natty:
Report link

To reverse the column order (for any data type), I use:

=LET(ncol, COLUMNS(array),
CHOOSECOLS( array, SEQUENCE(,ncol,ncol,-1)) )

I actually define a function, REVERSE_COLS(array), to do this:

=LAMBDA(array,
LET(ncol, COLUMNS(array),
CHOOSECOLS( array, SEQUENCE(,ncol,ncol,-1)) ))

To reverse the row order, I do the same, but use ROWS and CHOOSEROWS in place of COLUMNS and CHOOSECOLS.

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

79683363

Date: 2025-06-28 22:25:03
Score: 2.5
Natty:
Report link

if you found this topic and you're using Expo Go to build your application, check this out

https://github.com/expo/expo/issues/36651

Some people were facing this issue lately and this was solved using this topic.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Erick Augusto Silva Pereira

79683357

Date: 2025-06-28 21:59:58
Score: 3
Natty:
Report link

I will not make any chánges, It's about me and I have the right tô see once at least. I Will not c{py nor try to sell . Tks

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

79683347

Date: 2025-06-28 21:36:52
Score: 2
Natty:
Report link

So, I was having the same issue. When I checked the Departments table in the database, the ConcurrencyToken field was populated with a GUID of 00000000-0000-0000-0000-000000000000. This was due to the EF migration builder creating a default value for the GUID field in the Up() method. Check your <Timestamp>_RowVersion.cs file for this.

Being a newbie, I didn't know how to manage this. I just decided to run the following commands to drop the DB and create a new migration

  1. drop the database: dotnet ef database drop

  2. Delete all files in the Migrations folder of the project

  3. create a new migration: dotnet ef migrations add <Migration name>

  4. Update the database: dotnet ef database update

Then build and run your application. You should notice that a unique GUID is created for each department or whatever entity set you are applying the GUID field to.

In hindsight, I think removing the default value line in the <Timestamp>_RowVersion.cs file would have worked, but I didn't think that through since I was so frustrated. So, try that first before dropping the database, and please let me know if that worked.

Reasons:
  • RegEx Blacklisted phrase (2.5): please let me know
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Keith C

79683339

Date: 2025-06-28 21:23:49
Score: 2
Natty:
Report link
mClusterManager.updateItem(appClusterItem[0])
mClusterManager.cluster()
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Low reputation (0.5):
Posted by: mehmetdelikaya

79683335

Date: 2025-06-28 21:03:45
Score: 1
Natty:
Report link

Is there any reason you would not record your screen with an external program? It worked fine for me.

Saving screenshots is possible like described in a github issue. I adopted it for me

def base64_to_image(base64_string: str, output_filename: str):
    """Convert base64 string to image."""
    import base64
    import os

    if not os.path.exists(os.path.dirname(output_filename)):
        os.makedirs(os.path.dirname(output_filename))

    img_data = base64.b64decode(base64_string)
    with open(output_filename, "wb") as f:
        f.write(img_data)
    return output_filename

...
result = await agent.run()
print(result)
screenshots = result.screenshots()
number_screenshots = 0
for next_screenshot in screenshots:
    number_screenshots=number_screenshots+1
    path = f"./screenshots/{number_screenshots}.png"
    img_path = base64_to_image(
        base64_string=str(next_screenshot),
        output_filename=path
    )
    print(img_path)
Reasons:
  • Blacklisted phrase (1): Is there any
  • Whitelisted phrase (-1): It worked
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is there any
  • Low reputation (1):
Posted by: Elena Hüppe

79683333

Date: 2025-06-28 21:01:45
Score: 1.5
Natty:
Report link

For nativewind users tailwind's dark: prefix will not work. Instead use the built in useColorScheme hook.

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

79683322

Date: 2025-06-28 20:35:38
Score: 0.5
Natty:
Report link

Final Update & Solution A big thank you to everyone who provided suggestions! After extensive testing based on your feedback, I've finally identified the root cause of the ~8 second cold start time.

The bottleneck was the database connection to the PostgreSQL instance running inside WSL2.

The Experiment

Following the advice to isolate variables, I tried switching the database connection to a different instance:

  1. I set up a new PostgreSQL instance running directly on the Windows host.
  2. I also tested with a local SQL Server Express instance running on Windows.

The results were immediate and dramatic. When connecting to either of the native Windows database instances, the initial application load time dropped to a perfectly normal 200-300 milliseconds. The 8-second delay completely vanished.

This proves that the issue was not with EF Core's model compilation time, nor was it with the Blazor Server framework's JIT compilation. The entire ~8-second delay was being consumed by the initial database connection (dbContext.Database.CanConnectAsync()) from my Blazor app on the Windows host to the PostgreSQL server inside WSL2.

While using localhost to connect from Windows to WSL2 works, it appears to have a significant performance overhead for database connections in this scenario, leading to an unexpectedly long initial connection time that mimics a framework cold-start issue.

I also recall that to resolve other unrelated network issues in the past, I had modified the MTU size inside my WSL2 instance by adding the following command to my ~/.bashrc file:

sudo ip link set dev eth0 mtu 1350

This is the most relevant reason I can think of.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: BoomBoom

79683316

Date: 2025-06-28 20:24:36
Score: 1.5
Natty:
Report link

Fix is to change block to

block
 : statement*
 | {EnableSingleStartWorkflow()}? startworkflow 
 ;

and then add the method EnableSingleStartworkflow to

@parser::members
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: XBond

79683312

Date: 2025-06-28 20:18:34
Score: 4
Natty:
Report link

Thank you for help And my name is oualid berini

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Wali Ber

79683306

Date: 2025-06-28 20:08:32
Score: 0.5
Natty:
Report link

RDMA-capable NICs enable kernel bypass by setting up direct communication channels between user-space applications and the hardware with shared memory region in the application memory space.

  1. Setup (Kernel): The kernel maps shared memory regions (Send Queues/SQs, Completion Queues/CQs) and "doorbell" registers directly into user space.

  2. Send (User-Space): Application writes Work Requests (WRs) to the SQ, then signals the NIC via a memory-mapped doorbell write (no syscall). The NIC uses DMA to fetch WRs and data directly from host memory.

  3. Completion (User-Space Fast Path): NIC writes Completion Queue Entries (CQEs) to the CQ. The application polls the CQ directly for status (no syscall again...).

This allows zero-copy, low-latency data transfer by using DMA and direct hardware signaling, bypassing the kernel for data path operations.

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

79683300

Date: 2025-06-28 20:02:30
Score: 1
Natty:
Report link

Thank you @GordonDavisson and @choroba in the comments!

The output of kscreen-doctor is colorized, which means that grep sees a lot more than what comes across in a copy/pasted terminal dump. Instead of colors, it sees "a bunch of junk" that messes up the match, as | LC_ALL=C cat -vt on the end shows:

$ kscreen-doctor --outputs | LC_ALL=C cat -vt
^[[01;32mOutput: ^[[0;0m65 eDP-1 ^[[01;32menabled^[[0;0m ^[[01;32mconnected^[[0;0m ^[[01;32mpriority 1^[[0;0m ^[[01;33mPanel^[[01;34m Modes: ^[[0;0m70:^[[01;32m1920x1080@60*^[[0;0m! 71:1920x1080@60 72:1920x1080@48 73:1680x1050@60 74:1400x1050@60 75:1600x900@60 76:1280x1024@60 77:1400x900@60 78:1280x960@60 79:1440x810@60 80:1368x768@60 81:1280x800@60 82:1280x720@60 83:1024x768@60 84:960x720@60 85:928x696@60 86:896x672@60 87:1024x576@60 88:960x600@60 89:960x540@60 90:800x600@60 91:840x525@60 92:864x486@60 93:700x525@60 94:800x450@60 95:640x512@60 96:700x450@60 97:640x480@60 98:720x405@60 99:684x384@60 100:640x360@60 101:512x384@60 102:512x288@60 103:480x270@60 104:400x300@60 105:432x243@60 106:320x240@60 107:360x202@60 108:320x180@60 ^[[01;33mGeometry: ^[[0;0m0,0 1920x1080 ^[[01;33mScale: ^[[0;0m1 ^[[01;33mRotation: ^[[0;0m1 ^[[01;33mOverscan: ^[[0;0m0 ^[[01;33mVrr: ^[[0;0mincapable ^[[01;33mRgbRange: ^[[0;0munknown^[[0;0m
^[[01;32mOutput: ^[[0;0m66 VGA-1 ^[[01;31mdisabled^[[0;0m ^[[01;31mdisconnected^[[0;0m ^[[01;31mpriority 0^[[0;0m ^[[01;33mVGA^[[01;34m Modes: ^[[0;0m^[[01;33mGeometry: ^[[0;0m0,0 0x0 ^[[01;33mScale: ^[[0;0m1 ^[[01;33mRotation: ^[[0;0m1 ^[[01;33mOverscan: ^[[0;0m0 ^[[01;33mVrr: ^[[0;0mincapable ^[[01;33mRgbRange: ^[[0;0munknown^[[0;0m
^[[01;32mOutput: ^[[0;0m67 DP-1 ^[[01;31mdisabled^[[0;0m ^[[01;31mdisconnected^[[0;0m ^[[01;31mpriority 0^[[0;0m ^[[01;33mDisplayPort^[[01;34m Modes: ^[[0;0m^[[01;33mGeometry: ^[[0;0m0,0 0x0 ^[[01;33mScale: ^[[0;0m1 ^[[01;33mRotation: ^[[0;0m1 ^[[01;33mOverscan: ^[[0;0m0 ^[[01;33mVrr: ^[[0;0mincapable ^[[01;33mRgbRange: ^[[0;0munknown^[[0;0m
^[[01;32mOutput: ^[[0;0m68 HDMI-1 ^[[01;31mdisabled^[[0;0m ^[[01;31mdisconnected^[[0;0m ^[[01;31mpriority 0^[[0;0m ^[[01;33mHDMI^[[01;34m Modes: ^[[0;0m^[[01;33mGeometry: ^[[0;0m0,0 0x0 ^[[01;33mScale: ^[[0;0m1 ^[[01;33mRotation: ^[[0;0m1 ^[[01;33mOverscan: ^[[0;0m0 ^[[01;33mVrr: ^[[0;0mincapable ^[[01;33mRgbRange: ^[[0;0munknown^[[0;0m
^[[01;32mOutput: ^[[0;0m156 DVI-I-1-1 ^[[01;31mdisabled^[[0;0m ^[[01;31mdisconnected^[[0;0m ^[[01;31mpriority 0^[[0;0m ^[[01;33mDVI^[[01;34m Modes: ^[[0;0m^[[01;33mGeometry: ^[[0;0m0,0 0x0 ^[[01;33mScale: ^[[0;0m1 ^[[01;33mRotation: ^[[0;0m1 ^[[01;33mOverscan: ^[[0;0m0 ^[[01;33mVrr: ^[[0;0mincapable ^[[01;33mRgbRange: ^[[0;0munknown^[[0;0m
^[[01;32mOutput: ^[[0;0m189 DVI-I-2-2 ^[[01;31mdisabled^[[0;0m ^[[01;31mdisconnected^[[0;0m ^[[01;31mpriority 0^[[0;0m ^[[01;33mDVI^[[01;34m Modes: ^[[0;0m^[[01;33mGeometry: ^[[0;0m0,0 0x0 ^[[01;33mScale: ^[[0;0m1 ^[[01;33mRotation: ^[[0;0m1 ^[[01;33mOverscan: ^[[0;0m0 ^[[01;33mVrr: ^[[0;0mincapable ^[[01;33mRgbRange: ^[[0;0munknown^[[0;0m
^[[01;32mOutput: ^[[0;0m222 DVI-I-3-3 ^[[01;31mdisabled^[[0;0m ^[[01;31mdisconnected^[[0;0m ^[[01;31mpriority 0^[[0;0m ^[[01;33mDVI^[[01;34m Modes: ^[[0;0m^[[01;33mGeometry: ^[[0;0m0,0 0x0 ^[[01;33mScale: ^[[0;0m1 ^[[01;33mRotation: ^[[0;0m1 ^[[01;33mOverscan: ^[[0;0m0 ^[[01;33mVrr: ^[[0;0mincapable ^[[01;33mRgbRange: ^[[0;0munknown^[[0;0m
^[[01;32mOutput: ^[[0;0m255 DVI-I-4-4 ^[[01;31mdisabled^[[0;0m ^[[01;31mdisconnected^[[0;0m ^[[01;31mpriority 0^[[0;0m ^[[01;33mDVI^[[01;34m Modes: ^[[0;0m^[[01;33mGeometry: ^[[0;0m0,0 0x0 ^[[01;33mScale: ^[[0;0m1 ^[[01;33mRotation: ^[[0;0m1 ^[[01;33mOverscan: ^[[0;0m0 ^[[01;33mVrr: ^[[0;0mincapable ^[[01;33mRgbRange: ^[[0;0munknown^[[0;0m
$

That is what grep actually sees, and so the search string needs to account for it. One way to do that is to forbid a character instead of requiring one:

$ kscreen-doctor --outputs | grep [^s]connected
Output: 65 eDP-1 enabled mconnected priority 1 Panel Modes: 70:1920x1080@60*! 71:1920x1080@60 72:1920x1080@48 73:1680x1050@60 74:1400x1050@60 75:1600x900@60 76:1280x1024@60 77:1400x900@60 78:1280x960@60 79:1440x810@60 80:1368x768@60 81:1280x800@60 82:1280x720@60 83:1024x768@60 84:960x720@60 85:928x696@60 86:896x672@60 87:1024x576@60 88:960x600@60 89:960x540@60 90:800x600@60 91:840x525@60 92:864x486@60 93:700x525@60 94:800x450@60 95:640x512@60 96:700x450@60 97:640x480@60 98:720x405@60 99:684x384@60 100:640x360@60 101:512x384@60 102:512x288@60 103:480x270@60 104:400x300@60 105:432x243@60 106:320x240@60 107:360x202@60 108:320x180@60 Geometry: 0,0 1920x1080 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
$

It shows part of the formatting that is normally hidden (the m before connected), but that's okay for me because it's in a script that only cares about the exit code. If you care about stdout, then there's some more work to do.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @GordonDavisson
  • User mentioned (0): @choroba
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: AaronD

79683294

Date: 2025-06-28 19:56:29
Score: 1.5
Natty:
Report link

If you want to import React. You can easily do that.

import react from 'react'

You have some extra comma in your import. Please fix it.

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

79683284

Date: 2025-06-28 19:41:25
Score: 1.5
Natty:
Report link

You used python with 128 characters to overwrite eip. That's why when you analyse eip, it is overwritten with '\x90'. I did use your code and used pattern generator from here: https://wiremask.eu/tools/buffer-overflow-pattern-generator/?

I have calculated that the offset is 120 until you overwrite the return address/eip. The exploit code has the issue, that you have to put the return address which points into your NOP sled as well into your string. It's completly missing.

It could look something like this:

¦ NOP ¦ Shellcode ¦ EIP overwrite

Where NOP and shellcode are 120 characters and EIP overwrite is an address inside the NOP block.

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

79683270

Date: 2025-06-28 19:15:20
Score: 2.5
Natty:
Report link

<SCRIPT LANGUAGE="JavaScript">

var dateMod = "" ;dateMod = document.lastModified ;document.write("Last Updated: "); document.write(dateMod); document.write();

// --></SCRIPT>

This works ok for me, a simple solution.

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

79683263

Date: 2025-06-28 19:07:17
Score: 7.5
Natty: 5.5
Report link

I tried but when creating a new app, my app operates on v23 and I am unable to retrieve the data. Is there any other way to do this? Best regards.

Reasons:
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • Blacklisted phrase (1): Is there any
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Pikaa Mạnh

79683259

Date: 2025-06-28 19:03:15
Score: 2.5
Natty:
Report link

You got to to put

WSGIDaemonProcess and WSGIProcessGroup

in you apache vhost so it can find your custom modules

https://www.annashipman.co.uk/jfdi/mod-wsgi-hello-world.html

http://blog.dscpl.com.au/2014/09/python-module-search-path-and-modwsgi.html

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

79683249

Date: 2025-06-28 18:40:11
Score: 2
Natty:
Report link

Cookies can work with servers, such as localhost or Vs Code Live Server

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

79683241

Date: 2025-06-28 18:32:09
Score: 2.5
Natty:
Report link

2025. None of the above solutions, rearranging Android Studio and everything else helped me. I just deleted all the DNS settings that I had in Settings -> Wi-Fi -> Details - DNS and my mac automatically created two 8.8.8.8 and 1.1.1.1 and only then after Cold Boot everything started working

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Балушка Владислав

79683231

Date: 2025-06-28 18:20:05
Score: 3.5
Natty:
Report link

This is a version problem, with version 11.3.2 everything works correctly.

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

79683226

Date: 2025-06-28 18:16:04
Score: 4
Natty: 7
Report link

Jejejejejsjsndndendbfbdenejdjdndbvbdbdnsnsnsnsnsnsnsnsnsndndnsnsjwksndndndbsbwjwksndndndndnsjsmdmdndnfnfndkwksmdnnddndnwmmwemndndndnnd

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Miraç Ceylan

79683225

Date: 2025-06-28 18:16:04
Score: 3
Natty:
Report link

declare funtion useStringS< const >T extends string[ ] > (

arr : T

fn: ( item: T extends Array< infer U> ? : never ) => void ) : void;

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

79683219

Date: 2025-06-28 18:08:02
Score: 1
Natty:
Report link

Some classes have been deprecated.
In order to import operator, you need to do this :

from airflow.providers.standard.operator.{your_operator} import {your_operator}

This applies to python and bash.

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

79683218

Date: 2025-06-28 18:08:02
Score: 1
Natty:
Report link

You don't actually have to type anything, if you create a hook like:

const [index, setIndex] = useState(0) 

and allow autocomplete finish the statement, react will automatically generate an import.

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

79683217

Date: 2025-06-28 18:08:02
Score: 3
Natty:
Report link

Enter $ python -m venv myenv

source myenv/bin/activate

pip install --upgrade pip

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Moshan kaviyaa Kavinda

79683206

Date: 2025-06-28 17:58:59
Score: 3
Natty:
Report link

@rozsazoltan's way of setting variant doesn't work for automatically inheritable properties, like text color. It will break the utility in dark mode unless your text color utility is applied to the direct parent of the text. The example introduced in Tailwind v4 official doc tries to define background color variants, which is fine.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Kevin Hu

79683190

Date: 2025-06-28 17:31:52
Score: 0.5
Natty:
Report link

yes ,if you call method/function in the template ,it can lead to call the method/function many times because Angular runs change detection frequently, re-evaluating the method on every cycle. it can lead to performance issues as well on larger code bases.

As in your case getTitle() functions will execute on every change detection cycle, even if their inputs don’t change. We should avoid calling method/function directly in templates.

Reasons:
  • Whitelisted phrase (-1): in your case
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mani

79683177

Date: 2025-06-28 16:57:45
Score: 2
Natty:
Report link

index=ecomm_wire_remittance_transfer

"WirePaymentPolicyManagementV001.prepareTransactionAuthorization"

| rex "duration\s*=\s*(?<duration_time>\d+:\d+:\d+\.\d+)"

| eval duration_sec = tonumber(strptime(duration_time, "%H:%M:%S.%3N"))

| where duration_sec > 14

| table _time, duration_time, duration_sec, host, Calling_App, service_name, status

| sort -_time

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

79683168

Date: 2025-06-28 16:45:42
Score: 1
Natty:
Report link

I have found

RNIap.acknowledgePurchaseAndroid(purchase.purchaseToken);

Here i passed a string, and need an object

I do this : RNIap.acknowledgePurchaseAndroid({purchase.purchaseToken});

And that worked

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

79683165

Date: 2025-06-28 16:39:40
Score: 4
Natty:
Report link

ask chatgpt for faster answer dude

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

79683164

Date: 2025-06-28 16:38:40
Score: 2
Natty:
Report link

Dynamic formula. Just change the week array C2:N6 to any updated actual array.

=BYROW(C2:N6, LAMBDA(r, AVERAGE(DROP(r,,1)-DROP(r,,-1))))

enter image description here

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

79683163

Date: 2025-06-28 16:33:39
Score: 3
Natty:
Report link

1.Use a Value Mapping to convert "true"/"false" to 1/0

2.Use a Replace transformation

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Aditya Raj Prasad

79683160

Date: 2025-06-28 16:25:37
Score: 2
Natty:
Report link

Check the version of postgres-client when the elt_script starts initialization.

I had encountered the same issue and resolved by changing the image of source_postgres and destination_postgres to the version my elt_script container is using.

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

79683157

Date: 2025-06-28 16:19:35
Score: 1
Natty:
Report link

So I have somewhat fixed the issue. I cut down the script and have left the PowerShell window open. Now it doesn't open another instance of the script unless the PowerShell window closes. basically, it sits in the background of the desktop while msedge overtakes it, which is fine for now. The problem now is getting the window to close once msedge closes, so I need to set a condition of some sort for that.

while ($true) {
  if (-not (
    Get-Process -ErrorAction Ignore powershell | 
    Where-Object -Property MainWindowTitle | where {$_.ProcessName -eq 'powershell'}
  )) {
    # No visible Edge process? -> Restart.
    Start-Process powershell -ArgumentList "-NoExit","-File", "C:\Temp\SAPTestScripting.ps1"
    Wait-Process -Name powershell
  }
  Start-Sleep -Seconds 1
}
Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: LILDASHIEGRINGO

79683155

Date: 2025-06-28 16:18:35
Score: 4
Natty: 5
Report link

thanks brother, you very genius - this is workss

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Arrizqi Pramadhana

79683154

Date: 2025-06-28 16:18:34
Score: 0.5
Natty:
Report link

I think following code is making it bold-

import numpy as np   
import matplotlib.pyplot as plt    
plt.rcParams['text.usetex'] = True

fig, ax = plt.subplots(figsize=(6, 4))

point1 = [0, 1]
point2 = [np.sqrt(2), 0]
x_values = [point1[0], point2[0]]
y_values = [point1[1], point2[1]]

ax.plot(x_values, y_values, 'bo', linestyle="-")

# Annotated line in bold LaTeX
ax.annotate(r"\boldmath{$y = -\,\frac{1}{\sqrt{2}}x + 1$}", 
            xy=(0.2, 0.7), rotation=-35, fontsize=12)

plt.show()

My output-

my output

Output of your code- your output

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

79683152

Date: 2025-06-28 16:13:33
Score: 3
Natty:
Report link
header 1 header 2
cell 1 cell 2
cell 3 cell 4
Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Егор Аксенов

79683151

Date: 2025-06-28 16:12:33
Score: 1
Natty:
Report link

I also had the exact same error appear in my ci/cd that had been running fine until today.

Solved it by just updating all packages in my repo with npx ncu -u

ncu updates all your packages for you, can be a usefult tool, when used carfully:

https://www.npmjs.com/package/npm-check-updates

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

79683139

Date: 2025-06-28 15:58:30
Score: 1
Natty:
Report link

This is likely caused by missing concurrency tracking support in your coverage tool config — especially for async functions.

check https://coverage.readthedocs.io/en/latest/config.html#run-concurrency

In your pytest.ini add this under the [coverage:run] section:

[coverage:run]
branch = True
concurrency = multiprocessing,thread,greenlet
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mohanad Gadallah

79683135

Date: 2025-06-28 15:54:28
Score: 1
Natty:
Report link

Thanks for the replies.

For some strange reason, even though the TText is set to Align=Client and a child of the TRectangle, somehow during the rotation process, the Width was set to less than the width of the TRectangle, hence it appears off. I manually set the `TText` width to that of the rectangle again (even though by right, Align=Client of TText does not require to set width or height). It just resolved the problem.

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

79683134

Date: 2025-06-28 15:54:28
Score: 2
Natty:
Report link

This line of code resolved the issue for me:

npm i [email protected]

What does it do? It downgrades css-select to an older version, which is responsible for the issue.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Beni

79683118

Date: 2025-06-28 15:38:24
Score: 1
Natty:
Report link

Refer: https://support.google.com/admob/thread/3494603/admob-error-codes-logs?hl=en

Why is  it Happening : Advertisers can target specific regions, platforms and user profiles based on business relevance, which can sometimes result in lower availability of Ads for a particular region or user profile. Error code suggests that the implementation is correct, and that the Ad Request was not filled because of lack of availability of a suitable Ad at that particular instant of time when an Ad Request was sent from the app.

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

79683115

Date: 2025-06-28 15:32:23
Score: 3
Natty:
Report link

Opening MainPage in Designer and adding a handler for the Loading event of the button solved the problem. The initialization of the button can be done in the handler.

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

79683110

Date: 2025-06-28 15:28:21
Score: 1.5
Natty:
Report link

from datetime import datetime, timezone

def iso_to_milliseconds(iso_str):

dt = datetime.fromisoformat(iso_str.replace('Z', '+00:00'))

return int(dt.timestamp() \* 1000)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Chandana Avvannavar

79683099

Date: 2025-06-28 15:08:18
Score: 0.5
Natty:
Report link

You switch to app_user before running chmod, and this user very probably don't have permissions to run the script. Try running chmod +x before

USER app_user
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: May.D

79683093

Date: 2025-06-28 15:02:16
Score: 1
Natty:
Report link

I am thinking of doing

    mv android android.old
    flutter create .

The theory being to re-create the android support using the latest flutter tools rather than trying to fix what was created before.

I will have to be careful what files I copy from android.old into android. I suspect I will need at least some lines from:

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

79683089

Date: 2025-06-28 14:59:16
Score: 1
Natty:
Report link

I spent a day trying to fix this and found out it’s not really a problem. When you create a custom extension for authentication using the TokenIssuanceStart event and connect it to your app, you might see this error when first time you run the user flow. But if you wait a few minutes and try again, the error goes away. So it’s not a real issue — Entra ID just needs some time to update the changes after the first time execution of TokenIssuanceStart event.

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

79683087

Date: 2025-06-28 14:56:15
Score: 1.5
Natty:
Report link

For me the solution was to turn off Cloudflare WARP.

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

79683077

Date: 2025-06-28 14:42:12
Score: 1.5
Natty:
Report link

Made a save as in vscode to backup a file outside the repo.

So the changes were done in that file and not in repo

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

79683076

Date: 2025-06-28 14:37:11
Score: 0.5
Natty:
Report link

Since Alpine Linux v3.19 there is no libstc++6 any more and just

apk add libstdc++

will do.

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

79683074

Date: 2025-06-28 14:36:11
Score: 2.5
Natty:
Report link

You can install the Resizable virtual device, with which you will be able to test for tablet, foldable phone, and so on. To download it, you can proceed as you do for a usual virtual device via the device manager tool.

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

79683072

Date: 2025-06-28 14:23:08
Score: 2.5
Natty:
Report link

To delete the pictures you can do, ctrl+G. Click special and select Objects.
Press Delete.

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

79683066

Date: 2025-06-28 14:10:05
Score: 0.5
Natty:
Report link

To recognize a new Spring Boot project in your IDE and get the blue icon, locate its pom.xml file. Right-click on it, and from the context menu, choose "Add as Maven Project." This action tells your IDE to import the project as a Maven module, enabling it to correctly identify it as a Spring Boot application and manage its dependencies.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Sachin Lakshan

79683060

Date: 2025-06-28 13:59:02
Score: 4
Natty: 5
Report link

after entering the formula, it is returning a "#N/A" error. Could you please assist me with how to remove or fix this issue?

=CONCATENATE(VLOOKUP(B6,Purchase!$B$2:$L$32,10,FALSE)," / ",VLOOKUP('Beverage - Master'!B6,Purchase!$B$2:$L$32,11,FALSE))

Reasons:
  • RegEx Blacklisted phrase (1.5): fix this issue?
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Charith Silva

79683056

Date: 2025-06-28 13:56:01
Score: 4
Natty:
Report link

Could this also be related to how the frontend handles the redirect after a successful login? I'm wondering if the server action finishes before the browser has a chance to store the cookies, especially when working in development mode without HTTPS. Has anyone seen this behavior when testing locally with Next.js server functions?

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

79683050

Date: 2025-06-28 13:52:00
Score: 2.5
Natty:
Report link

I'm in the same situation here. I have installed superset 4.1.2 in python virtual environment on redhat 8.8. My analytics database is Clickhouse and I want to enable Jinja templating for filtering based on logged in user and dynamic filtering on the dashboard. My understanding to enable Jinja templating in superset with Clickhouse is that I need to set Two things.

  1. superset_config.py ENABLE_TEMPLATE_PROCESSING = True

  2. clickhouse.py class ClickHouseEngineSpec(BaseEngineSpec):

supports_jinja = True

It is not working after setting these parameters and restart. Any guidance is much appreciated.

Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: SaleMikael

79683046

Date: 2025-06-28 13:35:57
Score: 3
Natty:
Report link

no way i face problem

go to link dlip

install dlip now

install face_recognition enjoy tamil

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

79683027

Date: 2025-06-28 13:13:50
Score: 3.5
Natty:
Report link

It was my environment issue. I had Calico CNI earlier and swapped to Cilium, but iptables still had some calico rules. I did some tweaks, restarted all the nodes and it works.

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

79683026

Date: 2025-06-28 13:12:50
Score: 1.5
Natty:
Report link

I'm pretty certain only variables prefixed with NEXT_PUBLIC_ are swapped out at build time for their corresponding values. Try renaming it to NEXT_PUBLIC_CURRENT_ENV.

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

79683010

Date: 2025-06-28 12:52:45
Score: 2.5
Natty:
Report link

I'm very late to respond on this one, but I struggled with this just yesterday for many hours. My password had a dollar sign and I had to esape it with a single back slash. I changed the $ to \$ in the password field and everything worked fine.

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

79683009

Date: 2025-06-28 12:50:44
Score: 2
Natty:
Report link

Hello you can try using the pivot() function which will allow you to transform the 'Product' column into new columns, while keeping 'Date' as the index.

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

79683007

Date: 2025-06-28 12:46:43
Score: 3
Natty:
Report link

Just solved it. I was encountering a `caught in Promise` error and I was thinking everything was working fine, just a routing issue. Turns out the browser memory cache was just playing at me. my bad

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

79683004

Date: 2025-06-28 12:44:43
Score: 8.5
Natty: 7.5
Report link

Can any one help me with webhook to setup the endpoints and configuration in node js

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Can any one help me
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can any one help me with we
  • Low reputation (1):
Posted by: Aryan

79682996

Date: 2025-06-28 12:29:40
Score: 0.5
Natty:
Report link

@Vikas solution only works for LongTensors. Here is an efficient version which works for any dtype:

import torch

def batch_histogram(scores, num_bins, eps=1e-6):
    """
    Compute histograms for a batch of score arrays.
    
    Args:
        scores (torch.Tensor): Input tensor of shape (batch_size, num_scores)
                               containing the values to histogram
        num_bins (int): Number of histogram bins
        eps (float, optional): Small epsilon value to prevent division by zero.
                              Defaults to 1e-9.
    
    Returns:
        torch.Tensor: Histogram tensor of shape (batch_size, num_bins)
                     where each row contains the bin counts for the 
                     corresponding input row
    
    Example:
        >>> scores = tensor([[ 0.7338,  1.2722, -1.0576,  0.2836, -0.5123],
                             [ 1.0205, -0.6672, -1.0974, -0.1666, -0.6787]])
        >>> hist = batch_histogram(scores, num_bins=3)
        >>> hist
        tensor([[2., 1., 2.],
                [3., 1., 1.]])
    
    Note:
        This is equivalent to:
        torch.stack([torch.histc(scores[i], bins=num_bins) for i in range(scores.shape[0])])
        but is more efficient for batch processing.
    """
    batch_size = scores.shape[0]
    
    # Initialize histogram tensor and ones for counting
    hist = torch.zeros((batch_size, num_bins), dtype=scores.dtype, device=scores.device)
    ones = torch.ones_like(scores)
    
    # Find min and max values for each batch element
    batch_min = torch.min(scores, dim=1, keepdim=True)[0]
    batch_max = torch.max(scores, dim=1, keepdim=True)[0] + eps
    
    # Normalize scores to [0, 1] range
    normalized_scores = (scores - batch_min) / (batch_max - batch_min)
    
    # Convert to bin indices (floor)
    bin_indices = (normalized_scores * num_bins).long()

    # Accumulate counts in histogram
    hist.scatter_add_(1, bin_indices, ones)
    
    return hist

You might want to include bin_indices = torch.clamp(bin_indices, 0, num_bins - 1) after getting the bin_indices in order to avoid out-of-bounds errors.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Vikas
  • Low reputation (1):
Posted by: Marcos Treviso

79682995

Date: 2025-06-28 12:28:39
Score: 0.5
Natty:
Report link

You can try AutoHotKey

For AutoHotKey v2:

; TOUCHPAD on off alt+1
touchpadEnabled:=True
!1::{
    global touchpadEnabled
    touchpadEnabled:=!touchpadEnabled
    Run "SystemSettingsAdminFlows.exe EnableTouchPad " touchpadEnabled
    MsgBox (touchpadEnabled?'FOO':'BAR') ' - ' touchpadEnabled
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hakan

79682986

Date: 2025-06-28 12:16:37
Score: 1
Natty:
Report link

I appreciate the responses from everyone but Flet documentation provides an easy way to make changes to AndroidManifest.xml by making changes in your pyproject.toml

just add the following block in your pyproject.toml

[tool.flet.android.manifest_application]
usesCleartextTraffic = "true"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gopal Parashar

79682982

Date: 2025-06-28 12:09:35
Score: 2.5
Natty:
Report link

You can reset it using -

docker exec -it es-local-dev bin/elasticsearch-reset-password -u elastic

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

79682959

Date: 2025-06-28 11:42:29
Score: 2
Natty:
Report link

In my case I updated the primng to version 19, but my primeflex was still at 3.2.2, I updated the primeflex to version 4.0.0 and styles started working again. See the guide https://primeflex.org/installation

Primeflex compatibility guide.

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

79682945

Date: 2025-06-28 11:28:24
Score: 3.5
Natty:
Report link

gt::opt_row_striping

see Option to add or remove row striping

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

79682944

Date: 2025-06-28 11:27:24
Score: 0.5
Natty:
Report link

i recommend that you create a virtual environment for yolo. then activate it an use

pip install ultralytics

this command will install all the necessary packages for yolo and you can export your model

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

79682941

Date: 2025-06-28 11:23:23
Score: 1
Natty:
Report link

The guide about migrating to Express 5 instructs to replace app.get('/*') (v4) with app.get('/*splat'), to match any path without the root path. To match the root path as well, use /{*splat}.

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

79682939

Date: 2025-06-28 11:21:22
Score: 2
Natty:
Report link

Clarity is now available in Flutter. You can find the official pub.dev package here: https://pub.dev/packages/clarity_flutter

The SDK supports Flutter on both Android and iOS devices. Keep in mind that smart events, funnels, and components are not supported in the Clarity Flutter SDK at the moment.

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

79682928

Date: 2025-06-28 10:55:17
Score: 1
Natty:
Report link

Get Default Value for DropDownListFor from database

-1

I coded a website to collect student information including 3 dropdown lists: Province, District, Ward. When I create a new student, I get the Province, District, Ward data from the database to enter each DropDownListFor very well, but when I go to the function of editing student information, I don't know how to get the data from the previously saved database to enter each DropDownListFor.

I use ASP.NET Core MVC and Html Helper to do it. I hope you can guide me.

Here is my code

    <div class="col-md-2">
        <label for="MATINH">Province</label>
        @if (ViewBag.TINH != null)
        {
            @Html.DropDownListFor(m => m.MATINH, ViewBag.TINH as SelectList, "---Select---", new { @class = "form-control" })
        }
    </div>
    <div class="col-md-2">
        <label for="MAHUYEN">District</label>
        @Html.DropDownListFor(m => m.MAHUYEN, new SelectList(""), "---Select---", new { @class = "form-control" })
        <script src="~/Scripts/jquery-3.4.1.min.js"></script>
        <script>
            $(document).ready(function () {
                $("#MATINH").change(function () {
                    var matinh = $(this).val();
                    debugger
                    $.ajax({
                        type: "post",
                        url: "/Giaovien/LayHuyen/" + matinh,
                        contentType: "html",
                        success: function (response) {
                            debugger
                            $("#MAHUYEN").empty();
                            $("#MAHUYEN").append(response);
                        }
                    })
                })
            })
        </script>
    </div>
    <div class="col-md-2">
        <label for="MAXA">Ward</label>
        @Html.DropDownListFor(m => m.MAXA, new SelectList(""), "---Seleect---", new { @class = "form-control" })
        <script src="~/Scripts/jquery-3.4.1.min.js"></script>
        <script>
            $(document).ready(function () {
                $("#MAHUYEN").change(function () {
                    var mahuyen = $(this).val();
                    debugger
                    $.ajax({
                        type: "post",
                        url: "/Giaovien/LayXa/" + mahuyen,
                        contentType: "html",
                        success: function (response) {
                            debugger
                            $("#MAXA").empty();
                            $("#MAXA").append(response);
                        }
                    })
                })
            })
        </script>
    </div>
</div>
Reasons:
  • Blacklisted phrase (1): guide me
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Dẫn Dương Đình

79682925

Date: 2025-06-28 10:51:16
Score: 3
Natty:
Report link

check vs code extension search .NET CSHTML Visual Designer it uses by default bootstrap style it gives designed code in responsive way. it is in beta stage.

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

79682922

Date: 2025-06-28 10:47:15
Score: 1
Natty:
Report link

i am using this check this out on
Uk49s Lunchtime Results

import requests
from bs4 import BeautifulSoup

url = "https://lunchtimeresult.com/"
headers = {
    "User-Agent": "Mozilla/5.0"  # Helps avoid blocks from the server
}

response = requests.get(url, headers=headers)

# Check if request was successful
if response.status_code != 200:
    print(f"Failed to retrieve page, status code: {response.status_code}")
    exit()

soup = BeautifulSoup(response.text, 'lxml')

# Inspect the correct container; this part might change depending on site's structure
lunchtime_section = soup.find("div", class_="results")  # Update if needed based on inspection

if not lunchtime_section:
    print("Could not find the Lunchtime results section.")
    exit()

# Check for correct class used for balls
numbers = lunchtime_section.find_all("span", class_="ball")

if not numbers:
    print("No result numbers found.")
    exit()

# Print the result numbers
for num in numbers:
    print(num.get_text(strip=True))
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: John Smith

79682919

Date: 2025-06-28 10:42:14
Score: 5
Natty: 5
Report link

here is the answer for the question you asked. Here we go https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZmE3YzQzNjYtMjAwNS00ODA5LWEwYzMtZGI0Njg1ZGE4YjQw%40thread.v2/0?context=%7b%22Tid%22%3a%22189de737-c93a-4f5a-8b68-6f4ca9941912%22%2c%22Oid%22%3a%22a2004c2d-a267-4a5d-b157-2ce534b079c3%22%7d

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

79682918

Date: 2025-06-28 10:41:13
Score: 4
Natty:
Report link

Get the latest information about the school and collges result for more information visit here https://www.result.pk/matric-ssc-10th-class-result.html

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

79682916

Date: 2025-06-28 10:39:12
Score: 2
Natty:
Report link

🎯 Looking for Expert Odoo Services?

We provide custom Odoo development, including:

✅ ERP/CRM Integration

✅ eCommerce & Website Solutions

✅ Custom Module Development

✅ And now – Live Sessions for Learning & Support

📌 Whether you're a business or a learner, we’ve got you covered.

🌐 Visit us: www.odoie.com

💬 Let’s automate and grow your business together

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

79682910

Date: 2025-06-28 10:26:09
Score: 3
Natty:
Report link

I think you have not asked your question correctly as some of the statements in it does not make any sense. If your question is how you can have resource group in one location and the resources in it in another location than the answer is the following: Resource group is container resource. Meaning that it serves the purpose of containing other resources in it. Those resources that are contained within the resource group does not inherit its location. Generally resources that share the same lifecycle are put in the same resource group. It is highly recommend though that the resources in the resource group have the same location. This is due to the resource group containing metadata about the resource in it. In case there is ongoing issue in certain Azure location you might not be able to update/apply settings to the resources which are located in resource group of that location even when the resources itself are in another location.

What is a resource group?

Which location should I use for my resource group?

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Stanislav Zhelyazkov

79682909

Date: 2025-06-28 10:25:08
Score: 2.5
Natty:
Report link

Hi I tried this solution with the help of popstate event listener with the help of history management technique

Example Code Snippet:

https://codesandbox.io/p/sandbox/ctlqqg?file=%2Fsrc%2FApp.tsx%3A3%2C1

Hope this might help you

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

79682907

Date: 2025-06-28 10:24:08
Score: 3
Natty:
Report link

Bonjour,

Dans le gestionnaire des tâches, chercher "mysqld.exe" puis avec clic droit obtenez fin de tâche puis clickez cette option. Ainsi le port 3307 sera activé dans XAMPP.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Rolland et Annie LACOMBE

79682886

Date: 2025-06-28 09:49:00
Score: 4
Natty: 4
Report link

Try styles > load styles from template > select the aspects you want to copy.

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

79682885

Date: 2025-06-28 09:46:59
Score: 2
Natty:
Report link

tput cup 10

will display only the first ten lines of the current terminal screen

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

79682884

Date: 2025-06-28 09:45:59
Score: 0.5
Natty:
Report link

After having looked at the CLI code
https://github.com/Shopify/cli/blob/main/packages/app/src/cli/services/dev.ts#L294

I have updated my shopify.web.toml adding all the paths I need for the redirect as follows:

auth_callback_path = [
  "/auth/callback",
  "/auth/shopify/callback",
  "/api/auth/callback",
  "/api/offline/callback",
  "/api/online/callback"
]

It was added at the root level of the file, and it didn't wipe the Allowed redirection URL(s) on the Partners site app config.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: George Garcés