79764709

Date: 2025-09-15 02:59:25
Score: 0.5
Natty:
Report link

For those who are using a nuget package FakeHttpContext for .net framework 4.5, just try something like below

using (var fakeHttpContext = new FakeHttpContext.FakeHttpContext)
{
    fakeHttpContext.Request.Add("column-name", "custom-value");
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Tyr

79764708

Date: 2025-09-15 02:59:25
Score: 2.5
Natty:
Report link

First, make sure to run your node.js file using a command such as node .\server.js.

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

79764705

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

Have you considered using Selenium package. It's the most useful I've found for extracting data from dynamic websites

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

79764697

Date: 2025-09-15 02:35:57
Score: 5
Natty: 5.5
Report link

DEC-VMS and DEC-OpenVMS used LFCR for text line endings. This is actually closer to how line printers operate, doing LF to feed the paper and then CR to move the print head back to the beginning. This is a good practice, to prevent moving the head and ribbon over printed text.

So maybe CP/M got it wrong and confused LFCR for CRLF, and so did MS-DOS and MS-Windows?

Does anyone know why MacOS Classic opted for CR for plain-text newline?

Reasons:
  • RegEx Blacklisted phrase (2): Does anyone know
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Dude

79764686

Date: 2025-09-15 02:20:54
Score: 2.5
Natty:
Report link

Java interface is very similar to rust dyn trait, however, as we know, some trait cannot create dyn trait, so that the main difference.

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

79764681

Date: 2025-09-15 02:06:51
Score: 1.5
Natty:
Report link

Two thoughts:

  1. If you think it would be useful to include the Unknown category in the analysis, you could rename the NAs as "Unknown" within the factor.

  2. You could filter out the NAs prior to generating your model.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Aaron R.

79764674

Date: 2025-09-15 01:45:46
Score: 0.5
Natty:
Report link

If you want to easily tint SVG/PNG/JPG icons with Tailwind, I built a small plugin that leverages CSS filter to approximate colors: tailwind-tint-color.

Usage

<!-- Palette color -->
<img src="/icons/heart.svg" class="tint-red-500" alt="red icon" />

<!-- Arbitrary colors -->
<img src="/icons/heart.svg" class="tint-[#ff6b6b]" alt="custom tint" />
<img src="/icons/heart.png" class="tint-[rgb(34,197,94)]" alt="rgb tint" />

The plugin generates the proper invert/sepia/saturate/hue-rotate/brightness/contrast chain so the icon matches the target color. It works across SVG, PNG, and JPG.

enter image description here

👉 npm package: tailwind-tint-color

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

79764668

Date: 2025-09-15 01:26:42
Score: 1.5
Natty:
Report link

The accepted answer is not longer accurate. Slack now supports an official Table block.

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

79764667

Date: 2025-09-15 01:25:42
Score: 1.5
Natty:
Report link

The accepted answer is not longer accurate. Slack now supports an official Table block.

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

79764661

Date: 2025-09-15 01:16:39
Score: 2
Natty:
Report link

From another Nordic DevZone question:

The Enable register is the key; there are 3 enable bits on the nRF52840 which are used 1 bit each for SPI enable, Rx DMA enable and Tx DMA enable. With the Enable register set to 0x0 all are disabled; 0x1 means SPI with no DMA; 0x7 SPIM with both Rx and Tx DMA. DMA-related registers are ignored if DMA enable bits are not set.

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

79764659

Date: 2025-09-15 01:16:39
Score: 3
Natty:
Report link

there is a good alternative i have been using without any problem it and find it better then unddetectable-chrome
you can check it out https://github.com/g1879/DrissionPage/tree/master/docs_en

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

79764657

Date: 2025-09-15 01:06:15
Score: 4.5
Natty:
Report link

As seen in GNU calculator, these constants occupy only 16 bit of memory:

enter image description here

what makes you think they occupy more?

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
Posted by: iam_ai_copy-paste

79764645

Date: 2025-09-15 00:27:07
Score: 0.5
Natty:
Report link

Just don't set your GPU's memory growth. If you have any kind of code like as follows, don't run it, it should work fine:

#Preventing Out of Memory error for the GPU
gpus = tf.config.experimental.list_physical_devices('GPU')
for gpu in gpus:
    tf.config.experimental.set_memory_growth(gpu, True)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: MD. Saffan Alvy

79764638

Date: 2025-09-15 00:12:04
Score: 1.5
Natty:
Report link

Maybe something like this ...

gcc -o myjack myjack.c -Wl,--push-state,--no-as-needed -ljack -Wl,--pop-state -lother
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: MKX

79764631

Date: 2025-09-14 23:54:01
Score: 1.5
Natty:
Report link

set

export const runtime = "nodejs"

in the files where a nodejs runtime is being used or set it at the root layout level

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

79764613

Date: 2025-09-14 23:13:53
Score: 3.5
Natty:
Report link

I hope you have a nice day,

Im the solucion.

mac is very segure and complicate, but
I solved it, enjoy it

https://github.com/Paisa-ART/selenium-unddetectable-macOs-for-perfile

I appreciate the like

Reasons:
  • Blacklisted phrase (2.5): solucion
  • Whitelisted phrase (-2): I solved
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Tomas velez

79764612

Date: 2025-09-14 23:13:53
Score: 0.5
Natty:
Report link

I have exactly what you want. I have seen many users ask for this feature and I even offered to pay a very well known developer known to all of you to do it but no developer has shown any interest. They don't seem to want to deal with the complexity of it.

SO My team of coders have ..

We have developed "Caspian", A set of 2 plugins for Joomla 3.10 and Joomla 4/5 (and 6 later) that will facilitate the ability to configure modules to recur on a daily, weekly monthly or annual basis.

In addition: we have developed Caspian's Recurrence for Articles that can schedule article publication, UN-publication on a recurring basis

Caspian's Recurrence adds "Feature" recurrence: New or existing Articles can be scheduled to be "Featured" on a recurring basis. So if you want to feature (or publish) an Article on July 4th every year, Caspian can do it do it.

These plugins bring lots of options and set and forget so your articles can be featured on a recurring schedule, published on a recurring schedule, and modules can be published on a recurring schedule. These plugins do NOT modify any Joomla code and they DO NOT REQUIRE A CRON JOB.

Example, (Daily window Publish 0900 to 1500 every day for 10 days)

Initial testing has been completed and all is working but more testing is being performed. Before we make it available to the public we need to know how much interest there is.

I may be wanting BETA testers . if anyone is interested post here and we will provide details when beta testing decisions are made.

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

79764605

Date: 2025-09-14 22:53:48
Score: 1.5
Natty:
Report link

You only showed <desktop2:Extension> on down but from the error I suspect you're declaring the extension as app-scope.

FirewallRules is a package-scope extension. Notice how it parents to <Package> and not <Application>. Thus firewall rules apply to all processes in the package, not to individual apps in a package.

https://learn.microsoft.com/en-us/uwp/schemas/appxpackage/uapmanifestschema/element-desktop2-firewallrules

MSIX has no intra-package security boundary - one process isn't protected from another in the same package, so per-app firewall rules didn't seem very useful. If you think otherwise please share your feedback with the Windows team via FeedbackHub.

- Howard

P.S. Yes the <Extension> documentation defines activation properties (e.g. Executable) but doesn't mention how they're not relevant for some extensions. <Application> and <Extension> are 'activatable extension points' but a few extensions aren't "activatable" e.g. windows.firewallRules are just definitional rules to the Firewall, nothing to 'activate'. Thus you can specify the attributes in appxmanifest.xml but Windows ignores them. This was recently identified as a doc error and on our radar to address.

Reasons:
  • RegEx Blacklisted phrase (2.5): please share your
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Howard Kapustein

79764601

Date: 2025-09-14 22:47:46
Score: 2
Natty:
Report link

Sometimes, the TypeScript language server or your IDE (like VS Code) might not immediately recognize newly installed packages. Restarting your IDE or the TypeScript server can resolve this. In VS Code, you can usually do this by pressing Ctrl+Shift+P (or Cmd+Shift+P on macOS) and searching for "TypeScript: Restart TS server". Reinstall node_modules.

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

79764600

Date: 2025-09-14 22:44:46
Score: 1.5
Natty:
Report link

\>But additionally I need to manage and install some external dependencies that are likely to be somewhat annoying. Specifically I need to add the PostgreSQL installer to this

MSIX package installation supports MSIX package dependencies, and a very limited set of not-MSIX dependencies (notably, WebView2 via <win32dependencies:ExternalDependency>. MSIX has no support to 'chain installers' to e.g. automagically run PostgresSQL's installer when installing your MSIX package.

Does PostgresSQL offer installation as MSIX package(s)?

Alternatively, you might consider winget to install your package and PostgresSQL.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Howard Kapustein

79764596

Date: 2025-09-14 22:22:42
Score: 2
Natty:
Report link
(lldb) process save-core /tmp/core.dump

or

(lldb) process save-core /tmp/full.core.dump --style full

https://www.appspector.com/blog/core-dump

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

79764589

Date: 2025-09-14 21:44:11
Score: 4
Natty: 4
Report link

You are a hero. Solved 2 hours of hard internet search and AI prompting.

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

79764582

Date: 2025-09-14 21:18:05
Score: 1.5
Natty:
Report link

There's two main ways to do it:

  1. Uncheck the box "Properties" when hovering the copilot button, at the bottom of your screen Check this image

  2. Set "properties" to false in the settings.json of your vscode (either global one or the one of your workspace)

    "github.copilot.enable": {
        "*": true,
        "plaintext": false,
        "properties": false
    },
Reasons:
  • Contains signature (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: daisseur

79764581

Date: 2025-09-14 21:17:04
Score: 1.5
Natty:
Report link

Workaround solution for using UIKit APIs from SwiftUI
https://gist.github.com/kamanov/3dff69fabb6deacf7fb749d47e3f5088

For example, to allow only horizontal swipe-to-dismiss:

DetailsView()
    .navigationTransition(.zoom(sourceID: sourceID, in: namespace))
    .zoomInteractiveDismissShouldBegin {
        $0.velocity.dy == 0
    }
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: karama

79764575

Date: 2025-09-14 21:04:02
Score: 0.5
Natty:
Report link

It should also say

void handleOnTabSelected(Event event) 
instead of 
void handleOnTabSelected(ActionEvent event)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Alex

79764573

Date: 2025-09-14 21:02:01
Score: 2
Natty:
Report link

Showing how it works with an example expanding the answer above from user akivajgordon, it helped my understanding, hope it helps someone else:

hard-link vs symbolic-link directory example

Reasons:
  • Whitelisted phrase (-1): hope it helps
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
Posted by: pochopsp

79764572

Date: 2025-09-14 21:01:01
Score: 2.5
Natty:
Report link

Insightful Q&A on building a Python payroll calculator! The discussion pinpoints using while True with break to end loops gracefully and avoiding string comparison pitfalls. The refactored examples demonstrate clean control flow, proper indentation, and Pythonic conventions. Kudos to contributors for clear step-by-step fixes, concise code, and practical tips—this thread is invaluable for anyone refining beginner Python projects and beyond.

enter image description here

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

79764566

Date: 2025-09-14 20:50:59
Score: 1
Natty:
Report link

In your .snippet file, set the <SnippetTypes> section like this:

<SnippetTypes>
  <SnippetType>Expansion</SnippetType>
</SnippetTypes>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Alparslan ŞEN

79764565

Date: 2025-09-14 20:45:58
Score: 2.5
Natty:
Report link

The market is full of work related to Wordpress. Today after AI, yes coding is much more easy to do as compared to Wordpress. But I suggest that you should have to try Wordpress. You already know coding so if you learn wordpress ,it will open a new word to you and more opportunities for you.

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

79764562

Date: 2025-09-14 20:43:57
Score: 1.5
Natty:
Report link

I was able to solve the problem (more or less).

Simply reinstalling PyCharm was not enough to fix the issue. What worked in the end was completely removing all PyCharm-related files. I copied my project files into Notepad first so I wouldn’t lose them, then re-added them after reinstalling.

Fortunately, I had only been using PyCharm for a couple of days, so I didn’t have too much saved. After clearing everything out, the reinstallation finally worked.

I’m not sure why it was necessary to erase all the files, but this is what solved the problem for me. I'm not deleting the question, in case it helps someone else who runs into the same situation(and simply reinstalling PyCharm does not help them).

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

79764541

Date: 2025-09-14 20:06:48
Score: 3.5
Natty:
Report link

Had the same issue, couldnt make it work on the VM, will try with a Pi soon

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

79764540

Date: 2025-09-14 20:03:48
Score: 1.5
Natty:
Report link

If you have chrome, Select the dom and you can use $0 to access that element in chrome developer tools

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

79764534

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

I have tried these solutions but none of them fix my problem. To solve the issue I change the following configuration: Run > Edit Configurations > select JUnit Confifurations that you use > Shorten command line > select JAR manifest (this was selected as @argfile (Java 9+))

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @argfile
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: oak

79764532

Date: 2025-09-14 19:54:45
Score: 2.5
Natty:
Report link

This is official repository with examples, please check the implementation of InjectedViewModelsActivity there: https://github.com/android/nav3-recipes/tree/main/app/src/main/java/com/example/nav3recipes/passingarguments

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

79764528

Date: 2025-09-14 19:50:44
Score: 1.5
Natty:
Report link

1.When using package A and package B, you must compile from the root folder (project)

2.Make sure your are in root folder in terminal

3.In Fuel.java file you forgot to keep return type of method

4.In Car.java, you have to call from method or if have return type then you can call outside of method by creating variable to store it.

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

79764527

Date: 2025-09-14 19:49:44
Score: 2.5
Natty:
Report link

from pynvl import pd_nvl

import pandas as pd

df['A'] = pd_nvl(df['A'], '')

df['C'] = pd_nvl(df['C'], '')

df['D'] = pd_nvl(df['D'], '')

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

79764525

Date: 2025-09-14 19:46:43
Score: 0.5
Natty:
Report link

from PIL import Image, ImageDraw, ImageFont

# Create a black background image

img_size = (300, 300)

background = "black"

image = Image.new("RGB", img_size, background)

# Get a drawing context

draw = ImageDraw.Draw(image)

# Define the text and font

text = "gubbyiscool2"

try:

\# Use a common font like Arial if available

font = ImageFont.truetype("arial.ttf", 36)

except IOError:

\# Fallback to a default font

font = ImageFont.load_default()

# Get the size of the text

text_bbox = draw.textbbox((0, 0), text, font=font)

text_width = text_bbox[2] - text_bbox[0]

text_height = text_bbox[3] - text_bbox[1]

# Calculate text position to center it

text_x = (img_size[0] - text_width) / 2

text_y = (img_size[1] - text_height) / 2

# Draw the white text on the image

draw.text((text_x, text_y), text, font=font, fill="white")

# Save the final image

image.save("gubbyiscool2_circle.png")

print("Image saved as gubbyiscool2_circle.png")

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

79764509

Date: 2025-09-14 19:28:39
Score: 3
Natty:
Report link

ce.Offset(0, -52).value = "TL&PT" & ce.Offset(0, -52).value

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

79764502

Date: 2025-09-14 19:13:36
Score: 1.5
Natty:
Report link

if (upgradeOwned === true) {

setInterval(() => {
    clicks += 1;
}, 3000);

}

It's something along the lines of this.

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

79764497

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

Fixed it. Subsequent make calls do not keep the command argument. So by just running $(MAKE) on something it will not be a make all. To fix I just added it to the all command argument.

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

79764472

Date: 2025-09-14 18:12:20
Score: 1
Natty:
Report link

const axios = require('axios');
const config = require('../config');
const { cmd, commands } = require('../command');

const fs = require("fs");

cmd({
    pattern: "vv",
    react: "🖕",
    alias: ["retrive", "viewonce"],
    desc: "Fetch and resend a ViewOnce message content (image/video/voice).",
    category: "misc",
    use: "",
    filename: __filename
}, async (conn, mek, m, { from, reply }) => {
    try {
        if (!m.quoted) return reply("Please reply to a ViewOnce message.");

        const mime = m.quoted.type;
        let ext, mediaType;
        
        if (mime === "imageMessage") {
            ext = "jpg";
            mediaType = "image";
        } else if (mime === "videoMessage") {
            ext = "mp4";
            mediaType = "video";
        } else if (mime === "audioMessage") {
            ext = "mp3";
            mediaType = "audio";
        } else {
            return reply("Unsupported media type. Please reply to an image, video, or audio message.");
        }

        var buffer = await m.quoted.download();
        var filePath = `${Date.now()}.${ext}`;

        fs.writeFileSync(filePath, buffer); 

        let mediaObj = {};
        mediaObj[mediaType] = fs.readFileSync(filePath);

        await conn.sendMessage(m.chat, mediaObj);

        fs.unlinkSync(filePath);

    } catch (e) {
        console.log("Error:", e);
        reply("An error occurred while fetching the ViewOnce message.", e);
    }
});
        
Reasons:
  • Blacklisted phrase (1.5): Please reply
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Aref Khan

79764471

Date: 2025-09-14 18:12:20
Score: 3.5
Natty:
Report link

What if the double page has one of its page skewed so that the folded central line is not vertical ? This occurs quite often when one scans a book by 2-pages shot but one side resist scan straight alignment.

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

79764462

Date: 2025-09-14 17:51:16
Score: 0.5
Natty:
Report link

The default methods in the CrudRepository interface will have @Transactional annotation on them. But since you have added a custom method - void deleteByEmail(String email); you will have to give @Transactional explicitly either at Controller, Service or Repository level.


Ref: https://docs.spring.io/spring-data/jpa/reference/jpa/transactions.html states that -

Transactional query methods

Declared query methods (including default methods) do not get any transaction configuration applied by default. To run those methods transactionally, use @Transactional at the repository interface you define, as shown in the following example:

Example 3. Using @Transactional at query methods

@Transactional(readOnly = true)
interface UserRepository extends JpaRepository<User, Long> {

  List<User> findByLastname(String lastname);

  @Modifying
  @Transactional
  @Query("delete from User u where u.active = false")
  void deleteInactiveUsers();
}

Typically, you want the readOnly flag to be set to true, as most of the query methods only read data. In contrast to that, deleteInactiveUsers() makes use of the @Modifying annotation and overrides the transaction configuration. Thus, the method runs with the readOnly flag set to false.

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

79764453

Date: 2025-09-14 17:30:11
Score: 2
Natty:
Report link

You can try doing a few things to avoid this type of issues:

  1. Make sure your requirements.txt is up to date.

  2. You can try containerizing your application and run it using docker.

These approaches are specifically designed to resolve such issues.

Let me know if you need more help!

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

79764445

Date: 2025-09-14 17:17:08
Score: 2
Natty:
Report link

I edited one file in the project (Just add a space) and saved it. Then all the files showed up.

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

79764442

Date: 2025-09-14 17:12:07
Score: 4.5
Natty: 4.5
Report link
  1. Your code did not pass the Autograder!

  2. Did you forget to print something?

  3. Did you check that you are using the right types?

  4. Did you make sure to check all edge cases?

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

79764439

Date: 2025-09-14 17:08:05
Score: 1
Natty:
Report link
   @IBAction func tipChanged(_ sender: UIButton) {
        zeroPctButton.isSelected = false
        tenPctButton.isSelected = false
        twentyPctButton.isSelected = false
        
        sender.isSelected = true
    }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gianni

79764436

Date: 2025-09-14 16:51:02
Score: 3
Natty:
Report link

Basically, you have 3 options:

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

79764427

Date: 2025-09-14 16:41:00
Score: 1
Natty:
Report link

As you started to uncover according to your comment, lists are not copied when operated on, and in particular when declaring [] as a class attribute it gives you an empty list with some address on your CPU, that is shared between all classes (which is not the case with types that create copies of your variables).

See these links 1, 2, that globally show you this:

class Dog:

    tricks = []             # mistaken use of a class variable

    def __init__(self, name):
        self.name = name

    def add_trick(self, trick):
        self.tricks.append(trick)

>>> d = Dog('Fido')
>>> e = Dog('Buddy')
>>> d.add_trick('roll over')
>>> e.add_trick('play dead')
>>> d.tricks                # unexpectedly shared by all dogs
['roll over', 'play dead']
class Dog:

    def __init__(self, name):
        self.name = name
        self.tricks = []    # creates a new empty list for each dog

    def add_trick(self, trick):
        self.tricks.append(trick)

>>> d = Dog('Fido')
>>> e = Dog('Buddy')
>>> d.add_trick('roll over')
>>> e.add_trick('play dead')
>>> d.tricks
['roll over']
>>> e.tricks
['play dead']

Forgetting about this behaviour for lists and dicts (which does not exist for tuples, int, strings, floats) is maybe the most common error in Python.

Reasons:
  • Blacklisted phrase (1): these links
  • RegEx Blacklisted phrase (1): See these links
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: globglogabgalab

79764414

Date: 2025-09-14 16:15:29
Score: 6.5 🚩
Natty:
Report link

Hey were you able to build something stable for this? Also building something that needs a solid solution for this

Reasons:
  • RegEx Blacklisted phrase (3): were you able
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Philippe Clesca

79764409

Date: 2025-09-14 16:02:26
Score: 1.5
Natty:
Report link

Currently this one is working well, and you can customize other options if needed:

Filter = {
    "Dimensions": {
        "Key": "RECORD_TYPE",
        "Values": ["Usage", "Refund", "Tax"], # "Credit" is excluded
        "MatchOptions": ["EQUALS"]
    }
}

By the way, once you have your plot in the AWS Cost Explorer, you can open the "Amazon Q" chat engine and type something like:

Please what is the API query for this page (group by linked account, but excluding credit payment type) ?

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
Posted by: mountrix

79764403

Date: 2025-09-14 15:52:24
Score: 3
Natty:
Report link

Only solution i have found is revert package @google-cloud/pubsub to version 4.11.0.
There is some problem with the HTTP client of google-gax and nodejs enviroment.

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

79764397

Date: 2025-09-14 15:39:20
Score: 3.5
Natty:
Report link

I have PowerShell 7 using in the Terminal, but do not appear in .json file

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

79764386

Date: 2025-09-14 15:29:17
Score: 2.5
Natty:
Report link

THIS IS FOR WINDOWS ONLY

If you want to execute the latest sql statement then ctrl + enter
If you want to execute the all selected sql statement then ctrl + shift + enter

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

79764377

Date: 2025-09-14 15:15:12
Score: 2
Natty:
Report link

Enable Wireless Debugging on your Phone then click it and click "pair device with pairing code and on your pc in administator cmd run adb pair "ur phones ip" and it should show up your device on your phone.
Now it should always work but be careful because it's a bit of a security risk even with the code security.

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

79764367

Date: 2025-09-14 14:59:09
Score: 0.5
Natty:
Report link

It's great that you've found a passion for Machine Learning (ML) at such an early stage in your career. Your interest in the underlying math is a fantastic starting point, as it's a critical component of understanding and excelling in the field. Here's a structured approach to help you move from an explorer to a professional in ML.

1. Build a Solid Theoretical Foundation

Don't just watch videos; focus on understanding the core concepts.


2. Prioritize Practical Application

Theory without practice is not enough in a field like ML.


3. Network and Stay Updated

The ML field is incredibly dynamic, with new research and tools emerging constantly.

By following these steps, you will not only acquire the necessary skills but also build a compelling professional profile that will set you up for success in the field of Machine Learning.

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

79764366

Date: 2025-09-14 14:48:44
Score: 4.5
Natty:
Report link

Being a victim of scam can be depressing, you were given empty promises. They usually stop replying after achieving their aim which hurts even more, i have been there too as i was too ambitious and wanted financial security which made me invest a huge amount of my life savings. I never thought i would be getting a dime back and already lost hope until i contacted a team which was just a leap of faith as i wasn't going to go down without a fight. Easy Recovery Assets helped me recover my scammed funds back. Do not brood alone, make a move too, If you have similar issues send a mail to their team [ easyrecoveryasset@gmail. com ] you will thank me later.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): have similar issue
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Joel Anthony

79764363

Date: 2025-09-14 14:37:42
Score: 3
Natty:
Report link

you can find ToPagedListAsync in X.PagedList.EF

download X.PagedList.EF from nuget

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

79764356

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

FILEVERSION 2,1,19624,0 PRODUCTVERSION 2,1,19624,0 FILEFLAGSMASK 0x17 FILEFLAGS 0x0 FILEOS VOS_UNKNOWN | VOS__WINDOWS32 FILETYPE VFT_DLL FILESUBTYPE 0x0 { BLOCK "StringFileInfo" { BLOCK "040904b0" { VALUE "FileDescription", "ANGLE libGLESv2 Dynamic Link Library" VALUE "FileVersion", "2.1.19624 git hash: 23fb62ca23cb" VALUE "InternalName", "libGLESv2" VALUE "LegalCopyright", "Copyright (C) 2015 Google Inc." VALUE "OriginalFilename", "libGLESv2.dll" VALUE "PrivateBuild", "2.1.19624 git hash: 23fb62ca23cb" VALUE "ProductName", "ANGLE libGLESv2 Dynamic Link Library" VALUE "ProductVersion", "2.1.19624 git hash: 23fb62ca23cb" VALUE "Comments", "Build Date: 2025-07-31 17:57:51 +0800" } } BLOCK "VarFileInfo" { VALUE "Translation", 0x409, 1200 } }

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

79764349

Date: 2025-09-14 14:08:35
Score: 1.5
Natty:
Report link

You look almost correct, but pay attention to the import. The import should be from here. Notice the index.js at the end

./generated/prisma/index.js
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: shamim anowar

79764347

Date: 2025-09-14 14:06:35
Score: 0.5
Natty:
Report link

However, the viewable area of the viewport just does not look square as it should for an aspect ratio of 1.008230.

This is likely not a problem with JS or with Chrome, and is just a simple quirk with the way that our eyes perceive things.

Mini glossary:
"white box" = the viewport
"top browser ribbon" = the top part of a browser where you can access a website's URL and any open tabs

1. The browser window (as a whole) isn't square

When you are looking at the open tab's content and trying to figure out if the white box looks square, your mind is most likely including the top ribbon of the browser inside of that calculation due to how the browser window contrasts to your desktop, causing your eyes to think that the white box isn't square, instead of your eyes thinking that the whole browser window with the top ribbon isn't square.
If you try replicating the same experiment with a blank blue square div inside the body, the blue square will appear square to your eyes due to the contrast from the blank body.

2. The sizing and positioning of the text is confusing (for your eyes)

Even if you removed the top browser ribbon from your experiment somehow, it could still appear non-square due to the confusingly-positioned text.
Since the text is short and wide and contrasting, it causes your eyes to draw an imaginary box around the text which your eyes don't perceive as part of the white box. Then, when your eyes exclude the imaginary box during the white box measuring, your eyes naturally only measure the space directly surrounding the imaginary box. This means that your eyes measure the space above and below the imaginary box, take that as the white box's height, and then your eyes measure the space to the left and to the right of the imaginary box, and then take that as the white box's width.

The image below should make what I just described more clear:
diagram explaining how our eyes perceive the width and height of the white box
As you can see, the yellow box is the imaginary box that your eyes form, and then the arrows are how your eyes instinctively calculate the dimensions without the imaginary box.
Adding the lengths of the green arrows will get you a shorter length than the sum of the lengths of the cyan arrows, therefore your eyes naturally perceive the width to be less then the height.

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

79764343

Date: 2025-09-14 13:51:31
Score: 0.5
Natty:
Report link

I found this, which worked for me:

So, it is not a bug - per say...

I suspect that what is happening is that you (we - as that is my case too) all have an intel processor with integrated graphics that supports Vulkan instruction set... well LM Studio seems to try to use it as a graphic card.

And depending on which device it tries to put the neural network on (and the size of the prompt wrt VRAM) it just fails.

So, the fix is easy, go into the configuration of your runtime, get into the Hardware tab and switch off the integrated graphics. (see the disabled toggle on the GPU section next to the Intel UHD graphics)

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Scott

79764339

Date: 2025-09-14 13:37:27
Score: 11.5 🚩
Natty: 6
Report link

did you find an answer to this? I have the same problem.

Reasons:
  • Blacklisted phrase (1): answer to this?
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (3): did you find an answer to this
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you find an answer to this
  • Low reputation (0.5):
Posted by: Joe

79764334

Date: 2025-09-14 13:26:24
Score: 0.5
Natty:
Report link

Sorry to jump in on an older post but I figured out what I assume is the correct way to do it, download cudaNN from the NVIDIA site https://developer.nvidia.com/cuda-toolkit-70 and then extract it into the bin directory in the correct cuda install that you ate using eg C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin

Reasons:
  • Whitelisted phrase (-2): I figured out
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nixsy

79764333

Date: 2025-09-14 13:24:24
Score: 1.5
Natty:
Report link

Helped me, hoping it may help you or others:
In my case the powershell restrictions was the fault:
1. Check if the powershell path is present and correct (in system variables path)
2. Check if the group policy editor allows to run powershell scripts - this was my issue.
I do not know if I have to expand my answer any further on how to do each step because it can be googled easy. If you want me to explain - I may try :)

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

79764328

Date: 2025-09-14 13:08:21
Score: 1.5
Natty:
Report link
private readonly string _con;
    public CustomerRepositary(IConfiguration con)
    {
        _con = con.GetConnectionString("DefaultConnection");
    }

Package : System.Data.SqlClient

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

79764320

Date: 2025-09-14 12:52:17
Score: 3
Natty:
Report link

Thanks to all those who reviewed the answer especially @Pointy Number Array to Object conversion shorting the Object Keys in ascending order
@Lajos Arpad for elaborated answer and @chrwahl for supporting the answer

Summary

:- JS Orders the key according to its rules here are the permutation of Data types and there answers

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @Pointy
  • User mentioned (0): @Lajos
  • User mentioned (0): @chrwahl
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Yogesh Kumar Verma

79764305

Date: 2025-09-14 12:20:09
Score: 1.5
Natty:
Report link

Your struct does not contain 2 arrays of strings but 2 arrays of chars, so basically two strings. If you want a string array, you need to create a char[n][MAX], where n is the ammount of strings and MAX the length of each string. Pointing to the Nth title would look like this:
char* title = books->title[n];

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

79764298

Date: 2025-09-14 12:12:07
Score: 3
Natty:
Report link
/** @type {import('next').NextConfig} */
const nextConfig = {
    images: {
        remotePatterns: [
            {
                protocol: 'https',
                hostname: 'i.ibb.co',
            },
        ],
    },
};

export default nextConfig;

i face the same problem. i add this config and it is working now. you should add the hostname
Reasons:
  • Has code block (-0.5):
  • Me too answer (2.5): i face the same problem
  • Low reputation (1):
Posted by: Tasnim Rahman

79764289

Date: 2025-09-14 11:58:04
Score: 2
Natty:
Report link

have you tried just getting the magnitude of two positions that have been offset away from the center line then just choosing the point with a smaller magnitude

Reasons:
  • Whitelisted phrase (-1): have you tried
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: mr gamer cool dude

79764286

Date: 2025-09-14 11:55:03
Score: 1.5
Natty:
Report link

I suggest registering an interceptor that overwrites the findDirty Method. From then on, the is a few things I can imagine. Judge yourself which one helps and which one is too dirty :-)

  1. first idea: Just use it for logging debug information. Compare the current and previous state and log it
  2. second idea: My guess is that the collection is considered dirty, maybe because of ordering.... who knows? So maybe make a custom implementation to check for changes
  3. third idea: Maybe you could just not go the route of @PrePersist callback method, but actually set the audit fiels in the interceptor. If it's dirty, then set the 2 fields.

would love to hear feedback if the third idea works.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @PrePersist
Posted by: EasterBunnyBugSmasher

79764281

Date: 2025-09-14 11:51:02
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: Sheker M

79764270

Date: 2025-09-14 11:31:58
Score: 0.5
Natty:
Report link

There is a (less safe) workaround as I described here:

https://stackoverflow.com/a/79763924/3809202

In your case it would work the following way, VB,NET-callers may also have to apply the Obsolete attribute:

<Obsolete("Allow ref structs", False)>
Public Sub GetData(data As System.Span(Of Byte)) 
    ...
End Sub
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Whitelisted phrase (-1): In your case
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Max

79764266

Date: 2025-09-14 11:30:58
Score: 2.5
Natty:
Report link

Close the project and Android Studio.
Then delete the .idea folders of project and android then restart the system.

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

79764262

Date: 2025-09-14 11:30:58
Score: 2
Natty:
Report link

I solved it by saving the text file with ANSI format instead of UTF-8.

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: bbProg

79764261

Date: 2025-09-14 11:20:32
Score: 7.5 🚩
Natty:
Report link

Did anyone find a reliable fix for this, or are these simply bugs we have to wait to get fixed from Apple?

This drift in viewport during scroll for position fixed top and bottom bars it seems really hard to workaround right now, I always get gaps and cant find a stable solution here.

Also full screen overlays are terrible to handle too, there I now get a complete clear view of the page below

Reasons:
  • RegEx Blacklisted phrase (3): Did anyone find a
  • RegEx Blacklisted phrase (1.5): fixed from Apple?
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): Did anyone find a
  • Low reputation (1):
Posted by: Ale

79764257

Date: 2025-09-14 11:12:30
Score: 2
Natty:
Report link

Since XPath Helper has been removed from the Google Chrome Store, the XPath Tester can be used: https://chromewebstore.google.com/detail/xpath-tester/cneomjecgakdfoeehmmmoiklncdiodmh

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

79764249

Date: 2025-09-14 11:02:27
Score: 3
Natty:
Report link

It's not the best, nor a guaranteed fix, but I noticed that sometimes Latex (or at least Overleaf?) gets confused when I copy in toomany sources or an entire .bib file at once. It sometimes worked when I copied in the sources in little bunches of around 5 sources per copy/paste.

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

79764245

Date: 2025-09-14 10:56:26
Score: 1
Natty:
Report link

There are multiple issues & bugs as far as I can tell:

  1. Position: fixed top and bottom toolbar start to drift as you scroll.

  2. editing in text boxes (inputs are better, textareas much worse) causes conflicts as it turns off fixed positions and sometimes they are there although not visible.

  3. side menus often get cut - a fixed position scrollable side navbar typically gets cut off right above the URL line, but the background continues to be translucent all the way down to the bottom of the screen. This really looks aweful.

  4. top and bottom backgrounds randomly become solid (instead of translucent) to try and compensate for the position:fixed items.

Overall, I have to say this is the buggiest release of Safari for quite a few years now...

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

79764244

Date: 2025-09-14 10:55:26
Score: 3
Natty:
Report link

It's Lora alpha factor fault
it scale lr

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

79764233

Date: 2025-09-14 10:42:23
Score: 2
Natty:
Report link

A single desk is a perfect solution for compact workspaces, offering a clean and organized area for productivity. Its sleek design saves space while providing enough surface for essentials. Ideal for home offices, study rooms, or small workplaces

https://www.sohomod.com/office.html

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

79764231

Date: 2025-09-14 10:38:22
Score: 0.5
Natty:
Report link

I used this code and it worked.

llm = HuggingFacePipeline(
        pipeline=local_pipe,
        model_kwargs={"temperature": 0.5, 'device':0},
    )

I set device to cuda.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: meysam

79764222

Date: 2025-09-14 10:09:15
Score: 0.5
Natty:
Report link

The lint is warning because you are taking a mutable reference to a const item in order to call a method that requires &mut self. That mutable reference is to a fresh temporary copy of the const value (the NonNull), not to the original const item. In your specific pattern, that borrowed temporary is only used to manufacture a &'_ mut T pointing at 0x1234, so the const itself is not being mutated. The real risk is the usual unsafe aliasing/validity obligations of turning a raw address into a mutable reference.

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

79764221

Date: 2025-09-14 10:09:15
Score: 2.5
Natty:
Report link

In pom.xml of the project just change <packaging>war</packaging> to <packaging>ejb</packaging>

All the options will be visible

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

79764210

Date: 2025-09-14 09:38:09
Score: 1
Natty:
Report link

Adding

    def scrollContentsBy(self, dx, dy):
        super().scrollContentsBy(dx, dy)
        self.viewport().update()

to the view solves it. The explanation can be found in the comment by musicamante.

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

79764209

Date: 2025-09-14 09:37:09
Score: 3
Natty:
Report link

A proxy pool is required for you. It is easy to build based on free proxy lists. if it doesn't work for you, get more lists from "free proxy list github" in google.

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

79764187

Date: 2025-09-14 08:55:00
Score: 2.5
Natty:
Report link

Ваш код приводит к бесконечной рекурсии, потому что:

Это классическая проблема, когда базовый класс пытается создать атрибут как экземпляр подкласса. Прямой паттерн для этого не существует (как я упоминал ранее), но есть "умные" способы её решить с помощью отложенной инициализации (lazy initialization), фабричного метода или создания экземпляра без вызова __init__ (чтобы избежать рекурсии).

Решение: Отложенная инициализация с флагом

Мы можем модифицировать NamedElement, чтобы он создавал self.name только если это не приведёт к рекурсии. Используем флаг для отслеживания, и object.__new__ для создания экземпляра Property без вызова __init__.

class NamedElement:
    def __init__(self, **kwargs):
        if not hasattr(self, '_name_created'):  # Флаг для предотвращения рекурсии
            self._name_created = True
            # Создаём экземпляр Property без вызова __init__ (чтобы избежать рекурсии)
            self.name = object.__new__(Property)
            # Инициализируем его вручную, если нужно (например, установим имя)
            if 'name' in kwargs:
                self.name._init_name(kwargs['name'])  # Кастомный метод для инициализации

class Property(NamedElement):
    def __init__(self, **kwargs):
        super().__init__(**kwargs)
        # Дополнительная логика для Property
        self.value = "Я - свойство"

    def _init_name(self, name_value):
        # Кастомная инициализация для имени (без рекурсии)
        self.name_value = name_value

# Тестирование
myprop = Property(name='myprop')
print(type(myprop.name))  # <class '__main__.Property'>
print(myprop.name.name_value)  # myprop
print(myprop.value)  # Я - свойство
print(myprop is myprop.name)  # False (разные объекты)

Объяснение:

Альтернативное решение: Фабричный метод

Если хотите более явный контроль, используйте фабричный метод в NamedElement, который подкласс может переопределить:

class NamedElement:
    def __init__(self, **kwargs):
        self.name = self.create_name(**kwargs)

    def create_name(self, **kwargs):
        # По умолчанию возвращает None; Property переопределит это
        return None

class Property(NamedElement):
    def __init__(self, **kwargs):
        super().__init__(**kwargs)
        self.value = "Я - свойство"

    def create_name(self, **kwargs):
        # Создаём экземпляр Property без рекурсии
        name_obj = object.__new__(Property)
        if 'name' in kwargs:
            name_obj.name_value = kwargs['name']
        return name_obj

# Тестирование
myprop = Property(name='myprop')
print(type(myprop.name))  # <class '__main__.Property'>
print(myprop.name.name_value)  # myprop

Объяснение:

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • No latin characters (2.5):
  • Low reputation (1):
Posted by: Julia

79764184

Date: 2025-09-14 08:48:59
Score: 3.5
Natty:
Report link

Does it work if you do something like this:

edge_shape = EdgeShape(False, 10, 10, 100, 100, False, self.graph_canvas)
self.graph_canvas.Refresh()

?

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

79764168

Date: 2025-09-14 08:25:54
Score: 3
Natty:
Report link

I also got this error when I did it directly in the browser, but when I tried again with curl, the error did not occur. Not sure if this is a new upgrade of Telegram

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Thăng Trần

79764165

Date: 2025-09-14 08:15:29
Score: 6 🚩
Natty:
Report link

I am also having the same problem. Otp fields not autofocusing due to ref issue.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am also having the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: We Blend Web

79764163

Date: 2025-09-14 08:13:28
Score: 1.5
Natty:
Report link

JavaFX has different selectors and some of web css doesnt work with it. Problem is the Javafx css engine doesn’t support structural pseudo-classes, so javafx just ignore it. You should set CellFactory where you by index decide, here solution i guess:

   myComboBox.setCellFactory(lv -> new ListCell<String>() {// Here you have one method and there set your behaviour np check + by f/s index apply styles})
Reasons:
  • Blacklisted phrase (1): doesnt work
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: JZARGO

79764161

Date: 2025-09-14 08:06:27
Score: 3
Natty:
Report link

you are calling wrong function inside your form, you defined your function as onFormSubmit but you are calling onFormsubmit.

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

79764152

Date: 2025-09-14 07:40:21
Score: 1
Natty:
Report link

Sass takes the first part of the filename before the first "."

So bar.$color will work if you choose to take the namespace sass automatically uses

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

79764149

Date: 2025-09-14 07:34:20
Score: 3
Natty:
Report link

only this helps me

git config --global credential.helper store

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Евгений Кузьмин

79764145

Date: 2025-09-14 07:26:18
Score: 0.5
Natty:
Report link

You can’t directly use an Office 365 COM component without having Office installed, because those COM libraries (Excel, Word, Outlook, etc.) are tied to the Office installation itself. They aren’t standalone redistributable components.

If you want to work with Office files without installing Office, here are a few alternatives:

  1. Use the Open XML SDK – lets you create, edit, and read Office documents programmatically without relying on COM.

  2. Interop via Office Online / Graph API – if you’re on Microsoft Office 365, you can interact with Word/Excel files through cloud APIs instead of COM automation.

  3. Third-party libraries – for example, libraries like EPPlus or ClosedXML (for Excel) allow you to manipulate spreadsheets without Office installed.

  4. Install the Office runtime (if available) – older versions of Access had a runtime that could be deployed separately, but for full Excel/Word automation you generally need Office itself.

So short answer: COM automation requires Office on the machine. If you can’t install it, switch to OpenXML or another library depending on your use case.

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

79764135

Date: 2025-09-14 07:04:14
Score: 1
Natty:
Report link

Eventually I opened a support case at Azure and got the response that MI is not supported for BULK INSERT into temporary tables on Azure SQL.

I found a workaround, however. If you can live with the databases accessed by an account with SA permissions, you can add your MI into the role which is made SQL Admin in the server settings. Not a recommended approach, though.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: Alex Avrutin

79764126

Date: 2025-09-14 06:41:09
Score: 1
Natty:
Report link

Change this function

const handleCustomerChange = (item) => {
        setSelectedCustomer(item.label);
    };
TO
const handleCustomerChange = (item) => {
        setSelectedCustomer(item.value);
    };
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: haider ali

79764121

Date: 2025-09-14 06:29:43
Score: 4
Natty: 5.5
Report link

Can we add the “login using keycloak” button of the Jupyter hub in website A itself ?

As website A uses Jupyter hub rest apis

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): Can we add the
  • Low reputation (1):
Posted by: Zagrus

79764120

Date: 2025-09-14 06:25:42
Score: 0.5
Natty:
Report link

This question has been very edifying. It shows that there is no clear equivalent to /usr/bin.

I am going to create 'c:/Program Files/bin' and store my EXEs there. That way I only need to add one new element to my global %PATH% variable.

Thanks all.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Fred Haslam

79764119

Date: 2025-09-14 06:23:42
Score: 3
Natty:
Report link

Force the input box background to transparent and remove any shadows/borders that look like a "black box":

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