79753400

Date: 2025-09-02 11:01:56
Score: 0.5
Natty:
Report link

Problem ocurred because my layout.tsx was in path folder that is in brackets (client) and I placed my error.tsx in the same folder expecting that error page would be shown inside layout.
If I properly understood, because my error.tsx was in path folder in (client), Nextjs. When I moved it one layout higher, it started working. And then i understood that in my situation error.tsx needs it's own layout not inherit it from (client) folder's layout, so i left error.tsx there.

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

79753396

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

I get this issue today.. this happened because we need to register our package and sha1

I do this on development it's worked but in release mode failed

What happened?

That because we need to use different sha1 for debug and releas

So first

So actually u need to create 3 times

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

79753393

Date: 2025-09-02 10:50:54
Score: 2
Natty:
Report link

go to vs code > flask icon to see the tests > it will show info like your project file is disabled, click on it and enable then at bottom right corner a pop up will show asking you to confirm. confirm that and your vs code will now recognize those tests.

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

79753390

Date: 2025-09-02 10:48:53
Score: 2.5
Natty:
Report link

This worked fro me in firefox

  1. Open the history in the firefox

  2. right client on the website where you want remove the HST

  3. Select forget , Now the site will be accessible

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

79753386

Date: 2025-09-02 10:45:52
Score: 1.5
Natty:
Report link

Yes, nothing should stop you of doing so. You can create singleton instance so that you may avoid instantiating the client over and over (which could be expensive: allocating new resources, sockets and so on).

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

79753382

Date: 2025-09-02 10:42:51
Score: 0.5
Natty:
Report link

@Aytac No need to downgrade version. As manipulateAsync() function is deprecated now but we can apply SaveOptions with the help of saveAsync(options: SaveOptions) function using ImageManipulatorContext in expo-image-manipulator version ~13.1.7 (latest as of today).

As per official documentation We can do something like this -

const imageRef = await ImageManipulator.manipulate(imageUri)
.resize({
    width: 640,
    height: 480,
})
.renderAsync();
const manipResult = await imageRef.saveAsync({
    compress: 0.8,
    format: ImageManipulator.SaveFormat.JPEG,
});
setManipulatedUri(manipResult.uri);

Explanation:

We have to get ImageRef provided by renderAsync() function which will return Promise<ImageRef>.

const imageRef = await ImageManipulator.manipulate(uri).renderAsync();

Now on ImageRef we can apply SaveOptions with the help of saveAsync(options: SaveOptions) function.

const manipulationResult = await imageRef.saveAsync(options: SaveOptions);
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Aytac
  • Low reputation (0.5):
Posted by: codegsaini

79753378

Date: 2025-09-02 10:35:49
Score: 1.5
Natty:
Report link

Quarkus native builds can take time and likely time out if it takes longer than timeout set. You should give it a look to the builder pod log, which is the one in charge to build the Integration (the maven build). There you will see the real status, if it is progressing or if it's stuck in a given phase. You may find more detailed info in the Camel K troubleshooting guide.

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

79753375

Date: 2025-09-02 10:34:49
Score: 5
Natty:
Report link

Thanks a lot you Guys, this helped me.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (2):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Qondabathandazi

79753370

Date: 2025-09-02 10:25:47
Score: 0.5
Natty:
Report link

so the issue is that Pub/Sub is super strict about schema compatibility, more than plain protobufs. Adding a new enum value breaks forward compatibility because old subscribers might choke on the new integer (like 5) since they don't know what it means.

In protobuf alone, it's fine (just info loss), but Pub/Sub demands both backward and forward compat, so it rejects the change as incompatible.

Yeah, it's a pain if your enums change often, it does make schemas tricky for evolving messages.

Best fix: Switch those enums to strings for now. That way, you can add new "values" without breaking anything, since strings are flexible.

Just define the possible strings in your app code or docs for validation.

If enums are a must, add a new field with the updated enum and deprecate the old one gradually.

Or create a whole new schema (like v2) and migrate topics/subscribers over time.

Avro schemas might be better for this if you can switch, as they handle enum additions with defaults.

Reserved numbers in enums can help plan ahead, but won't fix existing issues.

Check Pub/Sub docs for updates on this, it's a known limitation.

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

79753369

Date: 2025-09-02 10:25:47
Score: 1
Natty:
Report link

Solution Overview:
I needed a way to close the GLFW window from any part of my application. Initially, I tried calling glfwSetWindowShouldClose(window, GLFW_TRUE), but I wasn't sure how to get the correct window pointer into the other screen modules.

What I tried & why it fell short:

What changed:

Result:
Now, I can simply call App::window from any screen and close the window cleanly, improving both readability and maintainability.

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: Shaswat

79753365

Date: 2025-09-02 10:24:45
Score: 8 🚩
Natty: 6
Report link

докажеш шо ти пастер чи шо нишей

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: sosok52

79753364

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

This is not possible through action/filter, you will have to use react for this.

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

79753363

Date: 2025-09-02 10:23:45
Score: 5.5
Natty: 5
Report link

This is very well explained here https://medium.com/@ManBearPigCode/how-to-reverse-a-number-mathematically-97c556626ec6

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mohamed Adam

79753361

Date: 2025-09-02 10:23:45
Score: 0.5
Natty:
Report link

BTW my extended answer which also includes a reverse geo-location lookup is in this public repository:
https://github.com/MarsFlyer/GPXtools

It uses the the geocoder library and the OpenStreetMap's Nomanatim service. As this is a public facility with throttling, I've also used the ratelimit library.

from geopy.geocoders import Nominatim
from ratelimit import limits, sleep_and_retry

The location address has lots of sub-parts, so the getLocation function tries to reduce duplicated place names. You may want to adjust that to cope with how your local place names are handled.

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

79753351

Date: 2025-09-02 10:17:43
Score: 2
Natty:
Report link

How can I achieve with an ARRAYFORMULA that also the range is increasing as in a drag-downed references? All should increase if there is no "$" sign before them like this:

=COUNTIF(T$2:T2;T2)
=COUNTIF(T$2:T3;T3)
=COUNTIF(T$2:T4;T4)

This

=ARRAYFORMULA(COUNTIF(T$2:T2;T2:T))

Counts as this equivalent drag-down formula:

=COUNTIF(T$2:T2;T2)
=COUNTIF(T$2:T2;T3)
=COUNTIF(T$2:T2;T4)

This one

=ARRAYFORMULA(COUNTIF(T$2:T;T2:T))

Counts as this equivalent drag-down formula:

=COUNTIF(T$2:T;T2)
=COUNTIF(T$2:T;T3)
=COUNTIF(T$2:T;T4)

Any hint is welcome how to increase also the range and achieve the first pattern with ARRAYFORMEL.

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): How can I
  • Low reputation (1):
Posted by: Lev

79753346

Date: 2025-09-02 10:14:41
Score: 4
Natty:
Report link

For everyone would like to use connect to FastMCP server but face the same issue on Postman:

You can disconnect the connection and try to reconnect again. This will instantiate a session with valid ID and you can start calling tool from it.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): face the same issue
  • Low reputation (0.5):
Posted by: Hoang Thinh

79753330

Date: 2025-09-02 10:05:39
Score: 0.5
Natty:
Report link

Try Adding your domain in it. Like this.

res.set_cookie(
    key="SOME_KEY",
    value=cookie_value,
    httponly=True,
    samesite="none",
    path="/",
    max_age=1000,
    expires=COOKIE_EXPIRY_DATE_TIME,
    secure=True,
    domain="example.com", # <-- Add this line
)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Milap Shah

79753320

Date: 2025-09-02 09:55:36
Score: 3.5
Natty:
Report link

Flutter version 3.35.1 added 'scrollable' field in NavigationRail.

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

79753314

Date: 2025-09-02 09:51:35
Score: 1
Natty:
Report link
$primary : #121212;
$link: $primary;


// Override global Sass variables from the /utilities folder
@use "bulma/sass/utilities" with (
  $primary: $primary,
  $link: $primary,
);

It is possible now with modular approach.

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

79753306

Date: 2025-09-02 09:38:32
Score: 2.5
Natty:
Report link

I realized https://learn.microsoft.com/en-us/windows/msix/desktop/desktop-to-uwp-behind-the-scenes#common-file-system-operations doesn't say This section applies only to virtualized apps. so I guess this is an intended behavior for mediumIL apps and I'm actually asking an XY question. I'll post a new one.

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

79753304

Date: 2025-09-02 09:38:32
Score: 4
Natty: 4.5
Report link

Sample React Native App which integrate Native Modules(Turbo Modules)

https://github.com/sonalkrkeshri/TurboModuleLocalStorage

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

79753303

Date: 2025-09-02 09:38:32
Score: 3
Natty:
Report link

the error not found means is not detected,

have u clearly define in your route?

go to public_html>routes>web.php

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

79753301

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

I made a package for this :)

You can block users, emails, ip addresses, domain names, cities, states, countries, continents, and regions from using your application, logging in, or registering.

https://github.com/jeremykenedy/laravel-blocker

It is IP-based, not throttling-based.

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

79753299

Date: 2025-09-02 09:30:29
Score: 2.5
Natty:
Report link

This extension's developent has been paused, a simpler approach has been created to accomplish WinFormsZOrderViewer VS Extension's functionality in a much simpler NuGet

This question and the Issue on the Github page will be closed, the repos will be archived as well.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Luis Miguel Sánchez

79753295

Date: 2025-09-02 09:29:29
Score: 1
Natty:
Report link

The issue stems from Excel's clipboard behavior, which includes hidden intervening columns when copying non-adjacent selections. A simple workaround is to use Excel's "Go To Special" dialog: press F5, click "Special", select "Visible cells only", and then copy. This will ensure only your selected columns are placed on the clipboard for pd.read_clipboard() to read correctly.

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

79753290

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

i tried this macro to not use range select. Instead of clicking cells in table, macro clicks below active cell vertically

Sub RefreshAll_LinkClickable_v2()

    Application.ScreenUpdating = False
    ActiveWorkbook.RefreshAll

    Dim ws As Worksheet
    Dim rRng As Range
    Set ws = ActiveSheet
    Set rRng = ws.Range("ControlTable[Borrower]:ControlTable[Agreement], ControlTable[Date of Balance Confirmation], ControlTable[The last related Document]")

    Dim rCell As Range
        For Each rCell In rRng
            Application.SendKeys "{F2}"
            Application.SendKeys "{ENTER}"
        Next rCell

    Application.ScreenUpdating = True
    
End Sub
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: dwqwer

79753286

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

I found a method that sender.get_commandArgument() can get the stored value in e.commandArguement. Then use split to get the targeted message.

    function UnlockConfirm(sender, args) {
            var commandArgument = sender.get_commandArgument();
            var parts = commandArgument.split('|');
            var recordNo = parts[2];

            if (No != "") {
                args.set_cancel(!confirm('Confirm to delete record' + No + '?'));     
            } else {
                args.set_cancel(!confirm('Confirm to delete?'));
            }
        } 
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Matthew

79753283

Date: 2025-09-02 09:15:24
Score: 14 🚩
Natty: 4.5
Report link

did you find the answer even i am getting similar issue can you help me ERROR - APIUtil Error when getting the list of roles

org.wso2.carbon.user.core.UserStoreException: Invalid Domain Name

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): did you find the answer
  • RegEx Blacklisted phrase (3): can you help me
  • RegEx Blacklisted phrase (2): even i am
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): i am getting similar issue
  • Starts with a question (0.5): did you find the answer
  • Low reputation (1):
Posted by: Niranjan Vasadi

79753280

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

Using this example Excel-File and copying it's content by strg + c:

Example Excel-File

this python code creates a dataframe out of the clipboard-content:

import pandas as pd

df = pd.read_clipboard(sep=r'\s\s+')

Resulting df:


    a   b   c
0   12  1   4
1   13  1   5
2   14  1   6
3   15  1   7
4   16  1   8
5   17  1   9

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

79753274

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

You can see how to find native libraries in Android Studio by using APK Analyzer over this link. You can also check your libs.versions.toml, as Android Studio warns you about libraries that are not aligned to 16KB.

Reasons:
  • Blacklisted phrase (1): this link
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Burak Karaduman

79753267

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

In my case, I first needed to install and configure the "AWS Toolkit with Amazon Q" extension for Visual Studio.

enter image description here

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

79753254

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

I tried this :

ax = sns.swarmplot(data=df, x="value", y="letter", log_scale=2, hue="type", palette=my_palette, size=6)

collection = ax.collections[0]
offsets = collection.get_offsets()

xy_stars = []
# Select first 15 offset (stars)
i = 0
for (x, y) in offsets:
    if i < 15:
        xy_stars.append([x,y])
        ax.scatter(x - 0.000001, y, s=40, color='#944dff', marker=(5, 1), zorder=100)
    i += 1

x_stars = [xs[0] for xs in xy_stars]

for collection in ax.collections:
    offsets = collection.get_offsets()

    # Removes 'star' scatters
    new_offsets = [offset for offset in offsets if offset[0] not in x_stars]

    # Update offsets collection
    collection.set_offsets(new_offsets)

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: Benoit Wernerus

79753244

Date: 2025-09-02 08:17:11
Score: 4
Natty: 4.5
Report link

Sample React Native App which integrate Native Modules(Turbo Modules)

https://github.com/sonalkrkeshri/TurboModuleLocalStorage

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

79753242

Date: 2025-09-02 08:13:11
Score: 2
Natty:
Report link
execute dotnet new packagesprops in the root dir of your solution.

edit Directory.Builds.props and set use central stuff to false.

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

79753239

Date: 2025-09-02 08:11:07
Score: 7 🚩
Natty:
Report link

Did you finally get any directive on this

Reasons:
  • RegEx Blacklisted phrase (3): Did you finally get any
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: ELVIS TATA TANGHANG

79753233

Date: 2025-09-02 08:04:05
Score: 1
Natty:
Report link

this's the solution
how to update assetlinks for two apps

you just need to update the asstlinks.json with your sha256_cert_fingerprints for debug, release, and store, and it'll work well No need to verify from app settings "App info" -> "Open by default" and add verified links It'll be verified automatically with installing the app Android will open the target app according to the prefix in your link

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

79753231

Date: 2025-09-02 08:03:04
Score: 3
Natty:
Report link

If you are using Security/Service Principals (and not SAS or Shared Access Key) to connect to the container then you can do it by using ACLs:

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

79753223

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

What you’re seeing means PHP isn’t being executed at all.
Browsers never run PHP. A web server must process your .php file and return plain HTML. If you “open” a .php file directly from disk (e.g., file:///C:/.../index.php) or use a static dev server (like VS Code’s Live Server), the raw PHP is sent to the browser and appears as if it’s “commented out.”

The “Quirks Mode” warning is a separate HTML issue (missing/incorrect doctype). It doesn’t make PHP run or not run.

Fix:

Run with PHP's built-in server:

cd project
php -S localhost:8000

then you can open your project at http://localhost:8000/index.php

Notes:

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): What you
  • Low reputation (1):
Posted by: Colin

79753202

Date: 2025-09-02 07:28:56
Score: 2
Natty:
Report link

Apna dil kya bara main, bas ghamon ka sahara hu,

Muskurata sab ke saamne, andar se to ashk ka dariya hu.

Jo khwab sajaaye the, unhi mein kahin bichhra hu,

Meer-e-Wafa kehta hai, main khud se bhi hara hu."**

Ya pata haina ies ko Krna

hai

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

79753201

Date: 2025-09-02 07:28:56
Score: 1
Natty:
Report link

This is a common issue with manufacturers implementing aggressive power-saving methods on their devices. The HCI snoop log can help identify why a specific connection was disconnected. In some cases, changing the default settings may resolve this issue.

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

79753199

Date: 2025-09-02 07:27:56
Score: 1
Natty:
Report link

This behavior may be caused by the design of Windows Installer service. All custom action binaries (i.e. the .dll file) are extracted in the user's %temp% location at the very beginning of the installation.

So, during an upgrade the installation process first extracts the new version of your custom action DLL, then it continues with the uninstall of your old product version and during this stage the old version of your custom action DLL binary is extracted again and thus it will overwrite the existing DLL. Afterwards when the new version of your custom action DLL is called it will actually use the old version of the binary.

I think the best solution to avoid this behavior/issue, as @Joshua Okorie suggested too, will be to make sure you rename the binary of your custom action DLL each time you rebuild it. For instance you can try to use a template that include the file version in its name.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @Joshua
Posted by: herman.smn

79753187

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

If you had plain nested loops in your code both loop variables would be locals in the same method body. This doesn't work and will result in a CS0136 compiler error.

However in your case you have a foreach loop and a second one which is in a closure. This means that the someItem variable of the outer loop is compiled into a closure field while the inner someItem loop-variable is compiled into a local variable. Since they are different kinds of symbols there is no conflict.

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

79753169

Date: 2025-09-02 06:57:48
Score: 6 🚩
Natty: 4.5
Report link

i'm getting this error 'Property assignment expected.javascript' in my code

data: [{
        type: "area",
        indexLabelFontSize: 16,
        dataPoints: {{chart_data|safe},}
        }]
    });

how to resolve it?

Reasons:
  • RegEx Blacklisted phrase (1.5): how to resolve it?
  • RegEx Blacklisted phrase (1): i'm getting this error
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Hema

79753161

Date: 2025-09-02 06:50:45
Score: 5.5
Natty: 6.5
Report link

Have you already read this document
https://developer.atlassian.com/cloud/confluence/oauth-2-3lo-apps/#3--make-calls-to-the-api-using-the-access-token

enter image description here

Reasons:
  • Blacklisted phrase (1): this document
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: นิติกร องค์ศิริมงคล

79753156

Date: 2025-09-02 06:46:44
Score: 1
Natty:
Report link

I think the problem occurs because you wrote on memory that you don't own sizeof return how many bits does the datatype takes in memory and since your are given it an int it probably return 4 or 8 according to your system

So I think a fix for your problem will be (Char*)malloc(sizeof(char) * Length + 1)

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

79753149

Date: 2025-09-02 06:41:43
Score: 1.5
Natty:
Report link

Looks like you’ve hit one of those spots where Hamcrest gives you a nice matcher out-of-the-box, but AssertJ doesn’t try to cover it. That’s why Co-Pilot spit out that huge reflection-based helper — technically correct, but way too much boilerplate for what you actually want.

If your goal is just “make sure getters and setters work”, you’ve got a couple of simpler options:

  1. Use a small bean testing library (e.g. OpenPojo or Pojo Tester).
    They integrate fine with JUnit 5 and keep your test short:

    import com.openpojo.validation.ValidatorBuilder;
    import com.openpojo.validation.test.impl.GetterTester;
    import com.openpojo.validation.test.impl.SetterTester;
    import org.junit.jupiter.api.Test;
    
    class GetServiceModelsByDistributionStatusResponseTest {
    
        @Test
        void shouldHaveValidGettersAndSetters() {
            var validator = ValidatorBuilder.create()
                .with(new GetterTester())
                .with(new SetterTester())
                .build();
    
            validator.validate(GetServiceModelsByDistributionStatusResponse.class);
        }
    }
    
    
  2. If it’s just one or two beans, don’t overthink it — write a tiny manual test:

    @Test
    void shouldSetAndGetStatus() {
        var bean = new GetServiceModelsByDistributionStatusResponse();
        bean.setStatus("OK");
        assertThat(bean.getStatus()).isEqualTo("OK");
    }
    
    

So in short:

Would you like me to show you a super minimal reflection-based AssertJ helper (like 20 lines) that you can reuse across all your beans, instead of the giant sample Co-Pilot gave you?

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

79753148

Date: 2025-09-02 06:40:42
Score: 0.5
Natty:
Report link

This is because you can only Instantiate a GameObject on unity's main thread and the message you receive calls your handler code on an async thread.

I would recommend looking at the UnityMainThreadDispatcher package to help with this.

A simple but less efficient method to fix this would be to have a bool that is set true in your handler. Then in update function if that bool is true, Instantiate your GameObject.

    void Start()
    {
        EventHandler<MsgHandlerEventArgs> handler = (sender, args) =>
        {
            messageReceived = true;
        };

    // Update is called once per frame
    void Update()
    {
       if(messageReceived)
        // create object 
    }
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user31401452

79753147

Date: 2025-09-02 06:39:41
Score: 4
Natty: 4.5
Report link

Sample React Native App which integrate Native Modules(Turbo Modules)

https://github.com/sonalkrkeshri/TurboModuleLocalStorage

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

79753133

Date: 2025-09-02 06:24:38
Score: 3.5
Natty:
Report link

Please try to change the procedure name. It will definitely work.

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

79753124

Date: 2025-09-02 06:10:34
Score: 0.5
Natty:
Report link

What is the value of innodb_buffer_pool_size? (It should be about 70% of RAM.) How much RAM? What is the typical size of metadata ?

Please provide `SHOW TABLE STATUS LIKE 'invoice';`
`    SELECT  COUNT(*)
        FROM  invoice
        WHERE  issue_date BETWEEN '2025-01-01' AND '2025-07-30'
          AND  customer_id = 20
          AND  status BETWEEN 1 AND 7
          AND  workflow = 1 

Together with

    INDEX(customer_id, workflow, status, issue_date)
    INDEX(customer_id, workflow, issue_date, status)
Reasons:
  • RegEx Blacklisted phrase (2.5): Please provide
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What is the
  • High reputation (-2):
Posted by: Rick James

79753120

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

LLMs are built mainly for natural language, not for directly understanding spreadsheets. When you pass a table as text (CSV, Excel copy-paste, etc.), the model just sees a stream of tokens — it doesn’t “know” rows and columns. This often breaks the structure and leads to wrong (or hallucinated) answers.

Better approaches:

General Principle:
Think of it this way:

Best practice is to let each system do what it’s best at, and connect them.

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

79753118

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

Get some testnet ETH on a faucet eg https://faucet.chainstack.com
For example, on Sepolia Ethereum.

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

79753116

Date: 2025-09-02 05:58:31
Score: 2.5
Natty:
Report link

i try all of the method avove to solve the auto import issue. But none of them work for me soo don't waste your time.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: MD. Iftekhar Alam Mitu

79753106

Date: 2025-09-02 05:49:29
Score: 3
Natty:
Report link

Maybe try use View > Appearance > Zoom IDE with the screen splited. It will zoom in the same level for both of them though.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rita de Cássia

79753092

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

Here are the steps I’ve already tried (from a commonly suggested solution):

  1. Stopped all XAMPP services and exited the application.

  2. Went to C:\xampp\mysql directory.

  3. Renamed the data folder to data_old.

  4. Created a new data folder and copied the entire content of the backup folder into it (except ibdata1).

  5. Copied all folders/files from data_old into the new data folder, making sure not to replace any existing files (skipped replacements).

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

79753089

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

form {

width: 600px;

background: #ccc;

margin: 0 auto;

padding: 20px;

border: 1px solid black;

}

<form method="post" enctype="multipart/form-data">

<div>

<label for="file">With jpeg</label>

<input type="file" id="file" name="file" accept=".jpg, .jpeg, .png" multiple>

</div>

</form>

<form method="post" enctype="multipart/form-data">

<div>

<label for="file">Without jpeg</label>

<input type="file" id="file" name="file" accept=".jpg, .png" multiple>

</div>

</form>

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

79753088

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

When you do:

Decimal(1.2)

Python first has to take the binary floating-point approximation of 1.2 (1.2000000000000001776...) and then convert that into a Decimal. That conversion step is slower, and it gives you the full imprecise binary expansion:

>>> Decimal(1.2)
Decimal('1.20000000000000017763568394002504646778106689453125')

On the other hand:

Decimal("1.2")

parses the string directly into an exact decimal representation. This avoids the intermediate float conversion, so it’s faster and more accurate:

>>> Decimal("1.2")
Decimal('1.2')
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Filler text (0.5): 00000000000000
  • Low reputation (1):
Posted by: Nirogini Janstin

79753079

Date: 2025-09-02 04:44:14
Score: 6.5 🚩
Natty: 4
Report link

enter image description here

Buy Aged Discord Accounts:

https://accsgg.com/product-category/discord/

https://accsgg.com/product-category/discord/

https://accsgg.com/product-category/discord/

https://accsgg.com/product-category/discord/

https://accsgg.com/product-category/discord/

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Contains signature (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Accsgg.com

79753078

Date: 2025-09-02 04:38:12
Score: 5.5
Natty: 4.5
Report link

enter image description here

Buy Instagram Accounts :

https://accsgg.com/product/2020-2012-aged-account-1k-followers-full-acces-account/

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user31400701

79753076

Date: 2025-09-02 04:37:12
Score: 1
Natty:
Report link

Standard Tennis Court Dimensions and Layout

If you're wondering about the size of a tennis court, the official measurements are set by the International Tennis Federation (ITF).

Knowing the tennis court size in feet is crucial when planning construction or selecting a site.

For more info - https://topflooring.in/

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

79753073

Date: 2025-09-02 04:33:11
Score: 3.5
Natty:
Report link

Experiencing the same issue after upgrading my kali.

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

79753069

Date: 2025-09-02 04:18:08
Score: 3.5
Natty:
Report link

This is due height and width passed to displayDialogAsync were NaN (invalid), and newer Excel builds no longer auto-fallback to defaults and expects width & height to be passed

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

79753065

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

Since you enabled 'teams' => true in config/permission.php, the package expects a team_id value whenever you assign a role/permission.

To assign team
$teamId = 1; // or fetch/create your default team

$superAdmin->assignRole($superAdminRole, $teamId);

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

79753060

Date: 2025-09-02 04:07:05
Score: 0.5
Natty:
Report link

Add a ternary operator to your sortIcons.sorted prop.
Like this:

sortIcons={{
    sorted: sortStatus.direction === 'asc' ? <>↑</> : <>↓</>,
    unsorted: <>↕</>,
}}

I've added simple Unicode characters in the example, but you can replace them with what ever icons, or ReactNode you like.

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

79753055

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

Hope I got you correct.
if this wouldn't help please let me know.

import 'package:clock/clock.dart';
import 'package:flutter_test/flutter_test.dart';

void main() {
  //prepare a clock in setup and use it inside each test via withClock.
  // Note: code under test should read time from clock.now() not DateTime.now().
  late Clock fixedClock;

  setUp(() {
    fixedClock = Clock.fixed(DateTime(2000, 1, 1));
  });

  test('uses fixed year 2000 inside withClock', () {
    withClock(fixedClock, () {
      expect(clock.now().year, equals(2000));
    });
  });

  test('outside withClock, time falls back to system clock', () {
    //clock.now() defaults to the system clock when not overridden.
    expect(clock.now().year, equals(DateTime.now().year));
  });
}
Reasons:
  • RegEx Blacklisted phrase (2.5): please let me know
  • RegEx Blacklisted phrase (1.5): help please
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Levon Julfikyan

79753047

Date: 2025-09-02 03:45:00
Score: 1.5
Natty:
Report link

Almost all answers in this post are not working for me, they seem to be deprecated.

path.join(__dirname, '/logsmain.log');

The above code will produce a path inside app.asar, and this does not work because electron-log writes logs inside app.asar

import { app } from 'electron';
import log from 'electron-log/main';
import path from 'path';

const executablePath = app.getPath('exe');
const executableDirectory = path.dirname(executablePath);
log.transports.file.resolvePathFn = () => path.join(executableDirectory, 'logs/main.log');
log.transports.file.level = 'debug';
log.transports.file.level = "info"

export { log as logger };

The above code works for me.

Reasons:
  • Whitelisted phrase (-1): works for me
  • RegEx Blacklisted phrase (3): not working for me
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: MinhSu - Justin

79753035

Date: 2025-09-02 03:11:54
Score: 1
Natty:
Report link

Fix (Spring Boot 3.x)

  1. Add the validation starter:
<dependency>
  <groupId>org.springframework.boot</groupId>
  <artifactId>spring-boot-starter-validation</artifactId>
</dependency>
  1. Use the Jakarta import in your code:
import jakarta.validation.constraints.NotBlank;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Xsu

79753034

Date: 2025-09-02 03:08:53
Score: 2
Natty:
Report link

Flutter raised the bar to Android 7.0 (API 24) because it lets the team focus on modern performance and security for the vast majority of users, rather than spending energy on the less than 1% of devices still on older software. So yes, this is the new recommendation to make your app better and your life easier.

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

79753033

Date: 2025-09-02 03:05:52
Score: 4
Natty:
Report link

Who asks these questions here this isn't reddit

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Who as
  • Low reputation (1):
Posted by: Dibyashnu Sahoo

79753030

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

Latest results in .NET 9, C# 13. Use myList[0].

enter image description here

The code:

using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;

namespace Benchmarks
{
    public class ListAccessBenchmark
    {
        private List<int> _myList = null!;

        [GlobalSetup]
        public void Setup()
        {
            _myList = Enumerable.Range(1, 100).ToList();
        }

        [Benchmark]
        public int FirstLinq()
        {
            return _myList.First();
        }

        [Benchmark]
        public int FirstOrDefaultLinq()
        {
            return _myList.FirstOrDefault();
        }

        [Benchmark]
        public int Indexer()
        {
            return _myList[0];
        }
    }

    public static class Program
    {
        public static void Main(string[] args)
        {
            BenchmarkRunner.Run<ListAccessBenchmark>();
        }
    }
}
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Riza Marhaban

79753026

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

Working solution for whole website background,

For the HTML code,

<div class="video-background">
  <iframe src="https://www.youtube.com/embed/QyhrOruvT1c?playlist=QyhrOruvT1c&controls=0&showinfo=0&rel=0&autoplay=1&loop=1&mute=1" frameborder="0" allowfullscreen></iframe>
</div>

It is important to set autoplay=1, playlist=<video id> , and loop=1 .

In the CSS part, we could use the @media to manage the video size depends on the video aspect ratio,

.video-background {
  pointer-events: none;
  position: relative;
  overflow: hidden;
  width: 100vw;
  height: 100vh;

  iframe {
    position: absolute;
    width: 300vw;   /* use 300vw to hide logos of Youtube, creator, and title */
    height: 100vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    /* example video is 16:9, change the value depends on your use */
    @media (min-aspect-ratio: 16/9) {
      height: calc(9/16 * 100vw);
    }

    @media (max-aspect-ratio: 16/9) {
      /* match the width trick for hiding logos */
      width: calc(16/9 * 100vh * 3);
    }
  }
}

Live example is as below,

https://codepen.io/chunlaw/pen/PwPxKoj

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Chun

79753023

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

How about add those attributes with a default value None by using a metaclass?

from dataclasses import dataclass

keys = ('id',
    'name',
    'pwd',
    'picture',
    'url',
    'age')

class MyMeta(type):
    def __call__(self, *args, **kwargs):
        for p in keys:
            kwargs[p] = kwargs.get(p)
        cls_obj = self.__new__(self, *args, **kwargs)
        self.__init__(cls_obj, *args, **kwargs)
        return cls_obj


@dataclass
class User(metaclass=MyMeta):
    id: str
    name: str
    pwd: str
    picture: str
    url: str
    age: int



attributes1 = {"id": "18ut2", "pwd": "qwerty", "name": "John Doe", "picture": None, "age": None, "url": "www.example.com"}
user1 = User(**attributes1)
print(user1)

attributes2 = {"id": "18ut2", "pwd": "qwerty", "name": "John Doe", "url": "www.example.com"} # No picture or age key anymore
user2 = User(**attributes2)
print(user2)

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): How
  • Low reputation (0.5):
Posted by: vassiliev

79753018

Date: 2025-09-02 02:24:43
Score: 3.5
Natty:
Report link

I found a fix

Add this to your pom.xml file and it does resolve the issue

<dependency>
    <groupId>jakarta.validation</groupId>
    <artifactId>jakarta.validation-api</artifactId>
    <version>3.0.2</version>
</dependency>

Anyone knows why it works?

Reasons:
  • Blacklisted phrase (1): Anyone knows
  • Whitelisted phrase (-1): I found a fix
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Ogunyemi Oluwafisayomi

79753017

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

I encountered the same issue when binding with ~/host_dir:guest_dir_path. After running the find command to search for a specific file, I discovered that the file was located neither in the Windows user folder nor in the home directory of the docker-desktop distro, but instead in /tmp/docker-desktop-root.

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

79753011

Date: 2025-09-02 02:10:40
Score: 3.5
Natty:
Report link

I fix the problem in gitlab ci cd set the variable: GIT_COMMIT_AUTHOR with value: “name <[email protected]>”, You can find that reference in :

https://github.com/python-semantic-release/python-semantic-release/blob/master/src/semantic_release/cli/config.py#L354

https://github.com/python-semantic-release/python-semantic-release/blob/master/src/semantic_release/const.py#L23

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

79753010

Date: 2025-09-02 01:55:38
Score: 3
Natty:
Report link

I am using the copy object on the browser's watch window to copy the json value. I used to be able to copy the jason value when using visual studio code but lately it stopped workingenter image description here.

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

79753008

Date: 2025-09-02 01:51:37
Score: 3
Natty:
Report link

Choose Ctrl-Shift-D, then choose debug or release, and then press F5. The system "remembers" the debug/release selection. Each time you subsequently press F5, you get a debug or release build that is remembered from the initial selection.

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

79752993

Date: 2025-09-02 01:03:27
Score: 2.5
Natty:
Report link

Plotly.d3 was removed in v2.0.0 of plotly.js. You'll need to import D3 separately going forward.

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

79752992

Date: 2025-09-02 00:54:26
Score: 0.5
Natty:
Report link

Detecting in-app browsers is a tricky business. The package detect-inapp use to be the go-to but it has sadly not been maintained in a long while.

I forked and refactored it into inapp-spy and continue to maintain it for anyone who is still looking for a way to detect in-app browsers in 2025!

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

79752990

Date: 2025-09-02 00:50:25
Score: 1.5
Natty:
Report link

Did this solve your issue?

In your main.dart file:

localizationsDelegates: const [
  S.delegate,
  GlobalMaterialLocalizations.delegate,
  GlobalWidgetsLocalizations.delegate,
  GlobalCupertinoLocalizations.delegate,
  FlutterQuillLocalizations.delegate,
],
locale: const Locale('en', 'PH'), // Set locale to Philippines; replace with your locale
supportedLocales: S.delegate.supportedLocales,

Note: You can remove the local configuration if you don't want to implement it across your entire app, and apply it per widget instead, just like what you did in your second code snippet.

I've already faced the same issue before, that configuration helped me.

Reasons:
  • RegEx Blacklisted phrase (1.5): solve your issue?
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did this solve you
Posted by: DevQt

79752989

Date: 2025-09-02 00:49:25
Score: 2
Natty:
Report link

I had a similar issue and ended up using a tool called Converly. It's like Zapier but for conversion tracking in tools like Google Analytics, Google Ads, etc. You basically select a trigger (Avada form submitted) and then the actions (Conversion in Google Analytics, Conversion in Google Ads, etc). Worked perfectly for us

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

79752984

Date: 2025-09-02 00:26:16
Score: 8.5 🚩
Natty:
Report link

I'm getting the same error!

If I ask for "openid email profile accounting.transactions accounting.settings offline_access" it works.

...but if I add accounting.contacts to that list, I get sent to this page:

 **Sorry, something went wrong**  
 Go back and try again.  
 If the issue continues, please visit our Status page  
 Error: unauthorized_client  
 Invalid scope for client  
 Error code: 500

I've tried in multiple browsers on multiple computers and always get the same behaviour. Asking for "accounting.contacts" breaks it.

What's strange is we have 2 xero apps, a test one and a production one. The test one lets me connect with the accounting.contacts scope, but the production one does not.

Did you ever find a solution to the problem?

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever find a solution to the problem
  • RegEx Blacklisted phrase (1): I'm getting the same error
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I'm getting the same error
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Travis Emmitt

79752983

Date: 2025-09-02 00:23:15
Score: 2.5
Natty:
Report link

A simple way is to use the Key-Generator’s online tool designed specifically for generating secret keys for Next.js Auth — very convenient:
https://key-generator.com/next-js-auth-secret-generator

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

79752977

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

In my Facebook account notification came tomorrow from Facebook Tht you are temporarily restricted for uploading photos til today at 8 PM

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Arpit kumar Vaishnav

79752975

Date: 2025-09-02 00:07:11
Score: 8.5 🚩
Natty: 6
Report link

Did you ever solve this?

Here are some more characters because you need at least 30...

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever solve this
  • RegEx Blacklisted phrase (1.5): solve this?
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: user3810376

79752974

Date: 2025-09-02 00:04:11
Score: 3.5
Natty:
Report link

Seems like this will do it (didn't test it yet myself).
https://plugins.jenkins.io/multibranch-job-tear-down/

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

79752971

Date: 2025-09-01 23:55:09
Score: 1
Natty:
Report link

Your from parameter must be `[title] <yourmail.yourdomain.com>`

Example:

 from: `Verify Email <[email protected]>`
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Şuayip Işık

79752965

Date: 2025-09-01 23:44:06
Score: 3
Natty:
Report link

For anyone who needs this:

I have vim-rails working under TJ Devries Kickstart project ( see link). It was as simple as adding one line of code to init.lua. https://github.com/nvim-lua/kickstart.nvim?tab=readme-ov-file

Here is a link to his YT video explaining the single kickstartt file https://www.youtube.com/watch?v=m8C0Cq9Uv9o

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Jessi

79752961

Date: 2025-09-01 23:28:03
Score: 1
Natty:
Report link

The URL of the Maven repo uses HTTPS protocol, not HTTP. Run mvn help:effective-pom and inspect the result for definitions. They should be at least:

    <pluginRepositories>
      <pluginRepository>
        <releases>
          <updatePolicy>never</updatePolicy>
        </releases>
        <snapshots>
          <enabled>false</enabled>
        </snapshots>
        <id>central</id>
        <name>Central Repository</name>
        <url>https://repo.maven.apache.org/maven2</url>
      </pluginRepository>
    </pluginRepositories>

Consider mirroring of the default Central Maven repository (the last resort to look in) with a statement in your settings.xml like:

    <mirror>
      <id>public-local</id>
      <mirrorOf>central</mirrorOf>
      <name>Let the default Maven Central repository is resolved in the local Nexus' public repository</name>
      <url>http://localhost:8081/repository/maven-public/</url>
    </mirror>

From the log above I see that you use a local Archiva, so change the URL accordingly, but still Archiva does not find the needed plugins - maybe it is not defined as a proxy of Maven Central?

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Rusi Popov

79752954

Date: 2025-09-01 23:06:59
Score: 2.5
Natty:
Report link
import os
import re
import urllib.request
import youtube_dl
import shutil
import discord

from discord.ext import commands
from discord.utils import get

bot = commands.Bot(command_prefix='g.')
token = '<mytoken>'

queues = {}  # for tracking queued song numbers


# -----------------------------
# Function to check and play next song
# -----------------------------
def check_queue(ctx, voice):
    Queue_infile = os.path.isdir("./Queue")
    if Queue_infile:
        DIR = os.path.abspath(os.path.realpath("Queue"))
        length = len(os.listdir(DIR))
        if length > 0:
            first_file = os.listdir(DIR)[0]
            song_path = os.path.abspath(os.path.realpath("Queue") + "\\" + first_file)

            if os.path.isfile("song.mp3"):
                os.remove("song.mp3")

            shutil.move(song_path, "./song.mp3")

            voice.play(
                discord.FFmpegPCMAudio("song.mp3"),
                after=lambda e: check_queue(ctx, voice)
            )
            voice.source = discord.PCMVolumeTransformer(voice.source)
            voice.source.volume = 0.3

            print("Playing next queued song...")
        else:
            queues.clear()
            print("Queue empty, stopping.")
    else:
        queues.clear()
        print("No Queue folder found.")


# -----------------------------
# PLAY command
# -----------------------------
@bot.command(pass_context=True)
async def play(ctx, *args: str):
    search = '+'.join(args)
    if search.strip() == "":
        await ctx.send("Uso: g.play (Video)")
        return

    html = urllib.request.urlopen("https://www.youtube.com/results?search_query=" + search)
    video_ids = re.findall(r"watch\?v=(\S{11})", html.read().decode())
    url = "https://www.youtube.com/watch?v=" + video_ids[0]
    print("Found URL:", url)

    # remove old song if exists
    if os.path.isfile("song.mp3"):
        try:
            os.remove("song.mp3")
            queues.clear()
            print("Removed old song file")
        except PermissionError:
            await ctx.send("Error: Ya estoy poniendo musica! Usa g.queue para agregar más canciones.")
            return

    # clear old queue folder
    if os.path.isdir("./Queue"):
        try:
            shutil.rmtree("./Queue")
            print("Removed old Queue Folder")
        except:
            pass

    await ctx.send("Preparando cancion...")

    voice = get(bot.voice_clients, guild=ctx.guild)
    if not voice:
        if ctx.author.voice:
            channel = ctx.message.author.voice.channel
            voice = await channel.connect()
        else:
            await ctx.send("⚠️ No estas en un canal de voz.")
            return

    ydl_opts = {
        'format': 'bestaudio/best',
        'quiet': True,
        'postprocessors': [{
            'key': 'FFmpegExtractAudio',
            'preferredcodec': 'mp3',
            'preferredquality': '192',
        }],
    }

    with youtube_dl.YoutubeDL(ydl_opts) as ydl:
        print("Downloading audio now\n")
        ydl.download([url])

    for file in os.listdir("./"):
        if file.endswith(".mp3"):
            name = file
            os.rename(file, "song.mp3")

    voice.play(
        discord.FFmpegPCMAudio("song.mp3"),
        after=lambda e: check_queue(ctx, voice)
    )
    voice.source = discord.PCMVolumeTransformer(voice.source)
    voice.source.volume = 0.3

    await ctx.send(f"▶️ Reproduciendo: {url}")


# -----------------------------
# QUEUE command
# -----------------------------
@bot.command(pass_context=True)
async def queue(ctx, *searchs):
    search = '+'.join(searchs)
    if not os.path.isdir("./Queue"):
        os.mkdir("Queue")

    DIR = os.path.abspath(os.path.realpath("Queue"))
    q_num = len(os.listdir(DIR)) + 1

    while q_num in queues:
        q_num += 1
    queues[q_num] = q_num

    queue_path = os.path.abspath(os.path.realpath("Queue") + f"\\song{q_num}.%(ext)s")

    ydl_opts = {
        'format': 'bestaudio/best',
        'quiet': True,
        'outtmpl': queue_path,
        'postprocessors': [{
            'key': 'FFmpegExtractAudio',
            'preferredcodec': 'mp3',
            'preferredquality': '192'
        }],
    }

    with youtube_dl.YoutubeDL(ydl_opts) as ydl:
        html = urllib.request.urlopen("https://www.youtube.com/results?search_query=" + search)
        video_ids = re.findall(r"watch\?v=(\S{11})", html.read().decode())
        url = "https://www.youtube.com/watch?v=" + video_ids[0]
        print("Queueing:", url)
        ydl.download([url])

    await ctx.send("➕ Añadiendo canción " + str(q_num) + " a la lista!")


# -----------------------------
# SKIP command
# -----------------------------
@bot.command()
async def skip(ctx):
    voice = get(bot.voice_clients, guild=ctx.guild)
    if voice and voice.is_playing():
        voice.stop()  # triggers check_queue through after callback
        await ctx.send("⏭️ Canción saltada.")
    else:
        await ctx.send("⚠️ No hay canción reproduciéndose.")


# -----------------------------
# On Ready
# -----------------------------
@bot.event
async def on_ready():
    print(f"Bot {bot.user} has connected to discord!")


bot.run(token)
Reasons:
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (2): estoy
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ScrewedUpTx

79752936

Date: 2025-09-01 22:25:52
Score: 0.5
Natty:
Report link

This code works without any errors, the key point was adding the correct columns (1:5) in point_accuracy_measures in the accuracy function.

fit %>%
  fabletools::forecast(h = 1) %>%
  fabletools::accuracy(Time_Series_test, measures = point_accuracy_measures[1:5]) %>%
  dplyr::select(.model:MAPE) %>%
  dplyr::arrange(RMSE)
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Russ Conte

79752934

Date: 2025-09-01 22:19:51
Score: 0.5
Natty:
Report link

You should be able to do it by the following:

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: Liel Fridman

79752921

Date: 2025-09-01 21:51:44
Score: 1
Natty:
Report link
sql_tmpl = "delete from Data where id_data in (SELECT UNNEST(:iddata))"
params = {  
   'iddata':[1, 2, 3, 4],
}
self.session.execute(text(sql_tmpl), params)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sebastian Correa Zuluaica

79752910

Date: 2025-09-01 21:16:37
Score: 3
Natty:
Report link

I needed to upgrade node

This helped:

npm update node
Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Anastasia Dorofeeva

79752903

Date: 2025-09-01 20:59:33
Score: 2.5
Natty:
Report link

tienes que tener instalador el firebird, para esa version creo que es la 2.5 Firebird 2.5

tambien el ApacheFriends XAMPP Version 5.6.40

pero checa que el puerto del server firebird sea esa.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ricardo Velázquez Ramón

79752892

Date: 2025-09-01 20:37:28
Score: 2
Natty:
Report link

I managed to find a solution for this. If someone knows a better solution, please let me know.

public File aggregateAllBenchmarks() {
// Load benchmark configuration
PlannerBenchmarkConfig benchmarkConfig = PlannerBenchmarkConfig.createFromXmlResource("benchmarkConfig.xml");
File benchmarkDirectory = new File(String.valueOf(benchmarkConfig.getBenchmarkDirectory()));
if (!benchmarkDirectory.exists() || !benchmarkDirectory.isDirectory()) {
    throw new IllegalArgumentException("Benchmark directory does not exist: " + benchmarkDirectory);
}

// Read all existing benchmark results from the directory
BenchmarkResultIO benchmarkResultIO = new BenchmarkResultIO();
List<PlannerBenchmarkResult> plannerBenchmarkResults = 
        benchmarkResultIO.readPlannerBenchmarkResultList(benchmarkDirectory);

if (plannerBenchmarkResults.isEmpty()) {
    throw new IllegalArgumentException("No benchmark results found in directory: " + benchmarkDirectory);
}

// Collect all single benchmark results and preserve solver names
List<SingleBenchmarkResult> allSingleBenchmarkResults = new ArrayList<>();
Map<SolverBenchmarkResult, String> solverBenchmarkResultNameMap = new HashMap<>();

for (PlannerBenchmarkResult plannerResult : plannerBenchmarkResults) {
    for (SolverBenchmarkResult solverResult : plannerResult.getSolverBenchmarkResultList()) {
        allSingleBenchmarkResults.addAll(solverResult.getSingleBenchmarkResultList());
        solverBenchmarkResultNameMap.put(solverResult, solverResult.getName());
    }
}

// Create and configure the benchmark aggregator
BenchmarkAggregator aggregator = new BenchmarkAggregator();
aggregator.setBenchmarkDirectory(benchmarkDirectory);
aggregator.setBenchmarkReportConfig(benchmarkConfig.getBenchmarkReportConfig());

// Perform the aggregation - returns HTML report file
File htmlOverviewFile = aggregator.aggregate(allSingleBenchmarkResults, solverBenchmarkResultNameMap);

return htmlOverviewFile;
}
Reasons:
  • RegEx Blacklisted phrase (2.5): please let me know
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Diallo Francis Patrick

79752884

Date: 2025-09-01 20:23:25
Score: 3.5
Natty:
Report link

https://github.com/dohooo/supazod

This project was created for this purpose.

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

79752879

Date: 2025-09-01 20:15:23
Score: 1
Natty:
Report link

Okay I finally got this working after following the first answer by @vangj

The issue is some default scopes like 'openid' do not return an accessToken. I found this out by implementing a manual SSO function and some googling. (this is the only one I had defined)

You need to create a custom scope and expose your API for the 'accessToken' to return within the microsoft interceptor config.

So make sure your protected resource scopes has a scope included that will indeed return an accessToken. (openid will not)

export function MSALInterceptorConfigFactory(): MsalInterceptorConfiguration {
  const protectedResourceMap = new Map<string, Array<string>>();
 protectedResourceMap.set ( // This triggers automatic silentSSO 
    environment.apiUrl, //your app will try to get a token if protected resource gets called
    ['openid', 'https://yourapi.onmicrosoft.com/{clientid}/App.Access'] // You need a custom application scope and expose an API, in order to get 'accessToken' to return, if not it will be empty and fail.
  ); 
  return {
    interactionType: InteractionType.Redirect,
    protectedResourceMap,
  };
}
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • User mentioned (1): @vangj
  • Low reputation (1):
Posted by: Rudy V

79752873

Date: 2025-09-01 20:04:20
Score: 0.5
Natty:
Report link
class MetroRailway:
    def __init__(self):
        # Initialize the MetroRailway with an empty list of stations
        # Using list instead of queue to allow easier insertions/deletions
        self.stations = []

    # Method to add a new station
    # Special handling is done when adding the 4th station
    def addnewstation(self, station):
        if len(self.stations) < 3:
            # Directly add the station if fewer than 3 stations exist
            self.stations.append(station)
            print(f"Station '{station}' added successfully.")
        elif len(self.stations) == 3:
            # When adding the 4th station, user chooses position
            print("Insert at --")
            print("[1] First Station")
            print("[2] Middle Station")
            print("[3] Last Station")
            choice = input("Choose Position: ")

            # Insert based on user choice
            if choice == "1":
                self.stations.insert(0, station)  # Insert at the beginning
                print(f"Station '{station}' inserted as First Station.")
            elif choice == "2":
                self.stations.insert(2, station)  # Insert at the middle
                print(f"Station '{station}' inserted as Middle Station.")
            elif choice == "3":
                self.stations.append(station)     # Insert at the end
                print(f"Station '{station}' inserted as Last Station.")
            else:
                # Invalid choice defaults to adding at the end
                print("Invalid choice. Added to the Last Station by default.")
                self.stations.append(station)

            # Display the updated first 3 stations
            print("\nUpdated First 3 Stations:")
            for i, s in enumerate(self.stations[:3], 1):
                print(f"[{i}] {s}")

            # Ask user for preferred position (just an additional prompt)
            pos_choice = input("Enter position: ")
            print(f"You selected position {pos_choice}.")
        else:
            # If more than 4 stations, simply append at the end
            self.stations.append(station)
            print(f"Station '{station}' added successfully.")

    # Method to print all stations in the list
    def printallstations(self):
        if not self.stations:
            print("No stations available.")  # Handle empty station list
        else:
            print("Stations List:")
            # Print each station with numbering
            for i, station in enumerate(self.stations, 1):
                print(f"{i}. {station}")

    # Method to delete a specific station by name
    def deletestation(self):
        if not self.stations:
            print("No stations to delete!")  # Handle case when list is empty
            return

        station = input("Enter station name to delete: ")
        if station in self.stations:
            self.stations.remove(station)  # Remove the station if it exists
            print(f"Station '{station}' deleted successfully.")
        else:
            # Notify user if station is not found
            print(f"Station '{station}' not found in the list!")

    # Method to get the distance between two stations
    # Distance is calculated as the difference in their list indices
    def getdistance(self, station1, station2):
        if station1 in self.stations and station2 in self.stations:
            index1 = self.stations.index(station1)
            index2 = self.stations.index(station2)
            distance = abs(index1 - index2)  # Absolute difference
            print(f"Distance between {station1} and {station2} is {distance} station(s).")
        else:
            # If one or both stations are not in the list
            print("One or both stations not found!")

# Main function to run the MetroRailway program
def main():
    metro = MetroRailway()  # Create a MetroRailway instance

    # Display welcome message and available actions
    print("\nWelcome to LRT1 MetroRailway")
    print("Available Actions:")
    print(" help             - Show this menu")
    print(" printallstations - Show all stations")
    print(" addnewstation    - Add a new station (special choice on 4th input)")
    print(" deletestation    - Delete a specific station by name")
    print(" getdistance      - Measure distance between two stations")
    print(" stop             - Stop current run")
    print(" exit             - Exit the program completely")

    # Infinite loop to keep program running until user chooses to stop/exit
    while True:
        action = input("\nChoose Action: ").lower()

        if action == "help":
            # Show help menu again
            print(" help             - Show this menu")
            print(" printallstations - Show all stations")
            print(" addnewstation    - Add a new station (special choice on 4th input)")
            print(" deletestation    - Delete a specific station by name")
            print(" getdistance      - Measure distance between two stations")
            print(" stop             - Stop current run")
            print(" exit             - Exit the program completely")

        elif action == "printallstations":
            # Show all stations
            metro.printallstations()

        elif action == "addnewstation":
            # Prompt for station name then add
            station = input("Enter station name: ")
            metro.addnewstation(station)

        elif action == "deletestation":
            # Delete station
            metro.deletestation()

        elif action == "getdistance":
            # Prompt user for two stations and calculate distance
            station1 = input("Enter first station: ")
            station2 = input("Enter second station: ")
            metro.getdistance(station1, station2)

        elif action == "stop":
            # Stop current run but not exit the whole program
            print("Stopping current run...")
            break

        elif action == "exit":
            # Exit the program completely
            print("Exiting program completely. Goodbye!")
            exit()

        else:
            # Handle invalid actions
            print("Invalid action. Type 'help' to see available actions.")

# Run the program only if file is executed directly
if __name__ == "__main__":
    main()
Reasons:
  • Blacklisted phrase (1): help me
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Shaheed

79752866

Date: 2025-09-01 19:47:16
Score: 3.5
Natty:
Report link

use imazing to extract it then change it to .ipa and I don't know how to change it to swift

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