79832001

Date: 2025-11-27 18:22:28
Score: 1.5
Natty:
Report link

Why this format? You will not get any answers

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Why this for
  • High reputation (-2):
Posted by: 0___________

79832000

Date: 2025-11-27 18:22:28
Score: 2
Natty:
Report link

You can fix this err while you set min-sol-out value is 0.
Please take a look this image.
enter image description here

TooLittleSolReceived err is from when you will get smaller sol than you expect by calculated.
You can set min sol output value is 0.

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

79831985

Date: 2025-11-27 17:58:22
Score: 1.5
Natty:
Report link

Can also use GitHub cli it's super handy for tasks like this, also use it to create repositories.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Starts with a question (0.5): Can also use
  • Low reputation (0.5):
Posted by: Shawn Dyas

79831974

Date: 2025-11-27 17:38:17
Score: 3.5
Natty:
Report link

The answer given by @Sound Conception solved my issue....Thanks!. I knew the problem was the camera controller because I have 2 options in my interface: pick QR from gallery or Scan...and the issue only happens with the camera. I'm using the flutter camera plugin: camera: ^0.10.5+9 ...I wonder if this bug is still open in the latest versions...could someone confirm please if the issue was solved using the latest versions of the camera plugin? Happy coding y'all

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Sound
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Ramiro G.M.

79831964

Date: 2025-11-27 17:28:14
Score: 0.5
Natty:
Report link

This question should really be under the normal QA as it has objective answers.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Shadow

79831963

Date: 2025-11-27 17:26:14
Score: 0.5
Natty:
Report link

I believe your issue is that the Require user dev must come before the Require ip statements. If you use LogLevel debug you should see that once the IP is denied it will stop checking further rules (hence not requesting the authentication. On the other hand, the user clause would give denied (no authenticated user) in your logs, check further rules, and upon no grant/deny would ask for authentication; after which it would grant the user clause and stop checking further rules.

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

79831962

Date: 2025-11-27 17:25:13
Score: 9.5 🚩
Natty: 4
Report link

compileSdk and targetSdk @34 still resulted in "An issue was found when checking AAR metadata". N.B. "An issue ..."

Has anyone found that a later version has resolved this last problem of typically many?

Reasons:
  • Blacklisted phrase (2): anyone found
  • RegEx Blacklisted phrase (3): Has anyone found
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: JAW

79831956

Date: 2025-11-27 17:17:10
Score: 2
Natty:
Report link

Thanks to Pointy I have found a good solution.

function isSigned(TypedArray) {
    const sample = TypedArray.BYTES_PER_ELEMENT === 8 ? [-1n] : [-1];
    const array = new TypedArray(sample);
    return ArrayBuffer.isView(array) && array[0] < 0;
}
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Shohjahon Jalilov

79831954

Date: 2025-11-27 17:13:10
Score: 2
Natty:
Report link

Various suggestions and solutions from users/programmers all point to a likely folder corruption due to the sudden PC reboot. However, I've never been entirely convinced by two things:

1: Because the classes weren't recognized when building a project in another directory.

2: because of the following error:

Error while loading [...]: Exception thrown: System.TimeoutException: The operation has timed out.

And it was precisely this last error that prompted me to investigate further within VS Code. In fact, the compiler was trying to establish a connection with the "LSP" (I assume the acronym for Language Service Protocol), but was unsuccessful.

Searching for "Omnisharp" in the VS Code settings search engine, I came across the following option:

Omnisharp Setting

Which was disabled (perhaps because of the sudden PC reboot?). By enabling it, VS Code finally recognized the Unity classes.

VS Code now recognizes classes

I hope this helps other users, please make changes with caution!

Reasons:
  • Whitelisted phrase (-1): hope this helps
  • RegEx Blacklisted phrase (1): I hope this helps other users, please
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Alexander

79831953

Date: 2025-11-27 17:10:09
Score: 2.5
Natty:
Report link

Could you share the image you want to search for?

An idea I have is to extract the storyboard of YouTube videos and then compare the results with your image.

An alternative would be to use Google Images to search for similar results and add in the search parameter: site:youtube.com for limit the search engine to get results only from YouTube.

Reasons:
  • Blacklisted phrase (1): youtube.com
  • RegEx Blacklisted phrase (2.5): Could you share
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: Mauricio Arias Olave

79831952

Date: 2025-11-27 17:10:09
Score: 1
Natty:
Report link

Why do the values have to be sequential? Usually being unique is sufficient, especially for surrogate keys.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Why do the
  • High reputation (-2):
Posted by: MatBailie

79831951

Date: 2025-11-27 17:07:08
Score: 0.5
Natty:
Report link

"big delays"? Are you immediately updating the table and releasing the lock? The other options mentioned above, but your approach should only have minor delays.

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

79831949

Date: 2025-11-27 17:06:08
Score: 2.5
Natty:
Report link

Thank you @Limey. I am not very familiar with this "new" (for me) format of Q&A in SO.... Anyway, here is a reproducible example, where I try to get what I need. However, as you can see, "Hello World!" is printed any time any input is updated (not only the ones with the suffix I want). If I put an isolate in my input.sel definition, nothing is triggered except when the object is initialized.

if (interactive()) {
  shinyApp(
    ui = fluidPage(
      numericInput("a", "Value", 5),
      numericInput("b", "Value", 5),
      numericInput("a-filter", "Value", 5),
      numericInput("b-filter", "Value", 5),
    ),
    server = function(input, output) {
      input.sel <- reactive({
        my_inputs <- reactiveValuesToList(input)
        my_inputs[endsWith(names(my_inputs),"-filter")]
      })
      observeEvent(input.sel(), {
        print("Hello World!")
        input.sel()
      })
    }
  )
}
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Limey
  • Self-answer (0.5):
  • Looks like a comment (1):
  • High reputation (-1):
Posted by: umbe1987

79831947

Date: 2025-11-27 17:04:07
Score: 1
Natty:
Report link

Had the same issue, I wrote a xquery program to generate an .csv for opening in Excel.
The german Umlauts öäü are ok in CSV but Excel uses the wrong encoding.

The following declaration in the xquery file for adding a BOM https://de.wikipedia.org/wiki/Byte_Order_Mark fixes the problem:

declare option    saxon:output "method=text";
declare option    saxon:output "byte-order-mark=1";

I use saxon, but the declaration should work for different systems also, as they are defined in the W3C Serialization specification http://www.w3.org/TR/xslt-xquery-serialization/

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

79831945

Date: 2025-11-27 17:01:07
Score: 1.5
Natty:
Report link

Try checking whether your Windows system is closing processes when RAM usage gets high
this can cause the emulator to disconnect unexpectedly. Also, try using a different physical device or emulator image; ADB is known to glitch frequently, and switching devices can often resolve this

Happy code :)

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

79831940

Date: 2025-11-27 16:58:06
Score: 2
Natty:
Report link

Have you already tried to create a repository locally with a remote on GitHub? If so, did you encounter issues?

It would help if you asked a specific question: see this for guidance .

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

79831936

Date: 2025-11-27 16:52:04
Score: 4
Natty: 4
Report link

When running Android Studio apk analyzer, not one of the files in my .apk are being flagged re "Does not support 16kb" or anything like that on any contained file.

Yet, after completing Open Testing and promoting the app to Production, I still get the "Does not support 16kb" or similar...

Any advice on further checking on this?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Lindsay

79831929

Date: 2025-11-27 16:45:02
Score: 0.5
Natty:
Report link

This cannot work the way you expect, because std::format and std::formatter<T> do not participate in SFINAE/constraints the way normal expressions do.
The formatting machinery is specified to hard-error when the type is not formattable — and those errors are not constraint-friendly.

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

79831927

Date: 2025-11-27 16:44:02
Score: 0.5
Natty:
Report link

Only the first item works because you reuse the same id (fav) for every element.
In HTML, ids must be unique. The CSS selector #fav + label only matches the first occurrence.

The fix -> Use classes instead of ids, and scope the styling to each pair using a wrapper.

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

79831926

Date: 2025-11-27 16:44:02
Score: 0.5
Natty:
Report link

Only defining fileUploadReference.current.clear() wasn't working here, I had to do the following in the onUpload method:

setTimeout(() => {
  fileUploadRef.current?.clear();
  fileUploadRef.current?.setUploadedFiles([]);
}, 0);
"primereact": "^10.9.7",
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: RAFAEL DA SILVA

79831918

Date: 2025-11-27 16:33:59
Score: 1.5
Natty:
Report link

You can use a layout route for Footer. That way you can include it in every route and also include it in your routes.

https://reactrouter.com/start/declarative/routing#layout-routes

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Alexander Wiklund

79831916

Date: 2025-11-27 16:32:59
Score: 2.5
Natty:
Report link

For me the error was happening because the device was not null but still the camera was not opening. I restarted my phone and the error was gone.

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

79831915

Date: 2025-11-27 16:31:58
Score: 4
Natty:
Report link

I found descriptions of some compiler-dependent intrinsics, but they don't quite help me understand how they work. For example, this one seems to solve my problem: __memory_changed().

https://developer.arm.com/documentation/dui0472/m/Compiler-specific-Features/--memory-changed-intrinsic?lang=en

Reasons:
  • Blacklisted phrase (1): help me
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Evgeny Ilyin

79831906

Date: 2025-11-27 16:23:56
Score: 1
Natty:
Report link

I have found a different solution myself in between:

SELECT s.*
  FROM set_ids s
  JOIN set_ids oth
       ON s.set_id <> oth.set_id
 WHERE NOT EXISTS
           (SELECT element_id
              FROM sets
             WHERE set_id = oth.set_id
            EXCEPT
            SELECT element_id
              FROM sets
             WHERE set_id = s.set_id)
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Joachim Zobel

79831903

Date: 2025-11-27 16:15:54
Score: 1.5
Natty:
Report link

VS Code doesn’t have a built-in equivalent to IntelliJ’s Copy Reference for Java methods. The Java Language Server exposes symbol locations, but it does not provide a command that returns a fully-qualified method signature. You should use Command Palette to show the symbol's container. Use this getUserById — UserService

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

79831891

Date: 2025-11-27 16:08:52
Score: 0.5
Natty:
Report link

Which @Tool annotation are you using? For internal AI agent services you need the one from

dev.langchain4j.agent.tool.Tool;
and not the one from io.quarkiverse.mcp.server

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Tool
  • Starts with a question (0.5): Which
  • High reputation (-2):
Posted by: Heiko Rupp

79831888

Date: 2025-11-27 16:04:51
Score: 2.5
Natty:
Report link

Your autotools scripts are outdated. You need to update config.guess and config.sub before rebuilding configure script with autoconf command. You can find new version in local share directory (for example /usr/share/misc)

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

79831884

Date: 2025-11-27 16:01:51
Score: 0.5
Natty:
Report link

In case anyone is wondering this in 2025, adding a new line would not work with \n or \r or \n\r .

Purely by accident I figure out that \f works for adding new lines.

I asked AI for it's meaning and got this:

\f = form feed

What does form feed do?

Historically, it was used in printers to advance to the next page. In modern text processing, it usually means:

• a page break

• or a “vertical tab” / new page control character

• sometimes treated similar to whitespace or ignored depending on the system

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Ali AlQassab

79831875

Date: 2025-11-27 15:55:48
Score: 9 🚩
Natty: 6
Report link

I just facing the same issue. Is there meanwhile a solution for this case?

Thanks,

Bettina

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): facing the same issue
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Bettina

79831871

Date: 2025-11-27 15:53:47
Score: 0.5
Natty:
Report link

-----BEGIN PGP PUBLIC KEY BLOCK-----

mQGNBGALrAYBDACsGmhcjKRelsBCNXwWvP5mN7saMKsKzDwGOCBBMViON52nqRyd

HivLsWdwN2UwRXlfJoxCM5+QlxRpzrJlkIgAXGD23z0ot+S7R7tZ8Yq2HvSe5JJL

FzoZjCph1VsvMfNIPYFcufbwjJzvBAG00Js0rBj5t1EHaXK6rtJz6UMZ4n+B2Vm9

LIx8VihIU9QfjGAyyvX735ZS1zMhEyNGQmusrDpahvIwjqEChVa4hyVIAOg7p5Fm

t6TzxhSPhNIpAtCDIYL1WdonRDgQ3VrtG5S/dTNbzDGdvAg13B8EEH00d+VqOTpu

fnR4GnKFep52czHVkBkrNY1tL5ZyYxHUFaSfYWh9FI2RUGQSbCihAIzKSP26mFeH

HPFmxrvStovcols4f1tOA6bF+GbkkDj+MUgvrUZWbeXbRvyoKTJNonhcf5bMz/D5

6StORyd15O+iiLLRyi5Xf6I2RRHPfp7A4TsuH4+aOxoVaMxgCFZb7cMXNqDpeJO1

/idzm0HUkCiP6Z0AEQEAAbQgU2FrdXJhU25vd0FuZ2VsODNAcHJvdG9ubWFpbC5j

b22JAdQEEwEKAD4WIQSmUZ8nO/iOkSaw9MXs3Q/SlBEEUAUCYAusBgIbAwUJA8Hp

ugULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRDs3Q/SlBEEUP/9C/0b6aWQhTr7

0Jgf68KnS8nTXLJeoi5S9+moP/GVvw1dsfLoHkJYXuIc/fne2Y1y4qjvEdSCtAIs

rqReXnolyyqCWS2e70YsQ9Sgg0JG4o7rOVojKJNzuHDWQ944yhGk6zjC54qHba6+

37F9erDy+xRQS9BSgEFf2C60Fe00i+vpOWipqYAc1VGaUxHNrVYn8FuO1sIRTIo7

10LRlbUHVgZvDIRRl1dyFbF8B7oxrZZe9eWQGURjXEVg07nh1V5UzekRv7qLsVyg

sTV3mxodvxgw3KmrxU9FsFSKY9Cdu8vN9IvFJWQQj++rnzyyTUCUmxSB9Y/L9wRx

4+7DSpfV1e4bGOZKY+KQqipYypUX1AFMHeb2RKVvjK5DzMDq6CQs73jqq/vlYdp4

kNsucdZKEKn2eVjJIon75OvE5cusOlOjZuR93+w5Cmf4q6DhpXSUT1APO16R1eue

8mPTmCra9dEmzAMsnLEPSPXN5tzdxcDqHvvIDtj8M3l2iRyD6v1NeZa5AY0EYAus

BgEMAN4mK70jRDxwnjQd8AJS133VncYT43gehVmkKaZOAFaxoZtmR6oJbiTwj+bl

fV1IlXP5lI8OJBZ2YPEvLEBhuqeFQjEIG4Suk3p/HUaIXaVhiIjFRzoxoIZGM1Mh

XKRsqc3Zd3LLg1Gir7smKSMv8qIlgnZZrOTcpWX9Qh9Od/MqtCRyg5Rt8FibtKFI

Y0j4pvjGszEvwurHqS0Jxxzdd+jOsfgTewFAy1/93scmmCg7mqUQV79DbaDL4JZv

vCd3rxX08JyMwdRcOveR3JJERsLN9v8xPv/dsJhS+yaBH+F2vXQEldXEOazwdJhj

ddXCVNzmTCIZ85S/lXWLLUa6I1WCcf4s8ffDv9Z3F21Hw64aAWEA+H3v+tvS9pxv

I63/4u2T2o4pu/M489R+pV/9W7jQydeE6kCyRDG1doTVJBi1WzhtEqXZ3ssSZXpb

bGuUcDLbqgCLLpk62Es9QQzKVTXf3ykOOFWaeqE2aLCjVbpi1AZEQ7lmxtco/M+D

VzJSmwARAQABiQG8BBgBCgAmFiEEplGfJzv4jpEmsPTF7N0P0pQRBFAFAmALrAYC

GwwFCQPB6boACgkQ7N0P0pQRBFBC3wv/VhJMzYmW6fKraBSL4jDF6oiGEhcd6xT4

DuvmpZWJ234aVlqqpsTnDQMWyiRTsIpIoMq3nxvIIXa+V612nRCBJUzuICRSxVOc

Ii21givVUzKTaClyaibyVVuSp0YBJcspap5U16PQcgq12QAZynq9Kx040aDklxR/

NC2kFS0rkqqkku2R5aR4t2vCbwqJng4bw8A2oVbde5OXLk4Sem9VEhQMdK/v/Egc

FT8ScMLfUs6WEHORjlkJNZ11Hg5G//pmLeh+bimi8Xd2fHAIhISCZ9xI6I75ArCJ

XvAfk9a0RASnLq4Gq9Y4L2oDlnrcAC0f1keyUbdvUAM3tZg+Xdatsg6/OWsK/dy1

IzGWFwTbKx8Boirx1xd5XmxSV6GdxF9n2/KPXoYxsCf7gUTqmXaI6WTfsQHGEqj5

vEAVomMlitCuPm2SSYnRkcgZG22fgq6randig/JpsHbToBtP0PEj+bacdSte29gJ

23pRnPKc+41cwL3oq8yb/Fhj+biohgIp

=grbk

-----END PGP PUBLIC KEY BLOCK-----

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

79831870

Date: 2025-11-27 15:53:47
Score: 3.5
Natty:
Report link

Running Unity Hub as an administrator solved my issue..

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

79831867

Date: 2025-11-27 15:52:47
Score: 2
Natty:
Report link

Yes, the compiler sees all the source code for all translation units. And through all the intermediate operations on the original pointer to the 'buffer' object (passing it between functions, algorithms for adding/removing the pointer from software queues, etc.), ultimately, this address... is simply written to one of the DMA controller registers. What the DMA does next is, of course, unknown to the compiler.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Evgeny Ilyin

79831866

Date: 2025-11-27 15:51:47
Score: 0.5
Natty:
Report link

This seems to be specific to your target platform, and not generally useful to the rest of us (mostly, if I want to know the build prerequisites, I inspect the Debian packaging and follow what it does, starting with apt-get build-dep $package - is there a deficiency in Windows's packaging that stops you doing the same for that platform?)

Reasons:
  • Blacklisted phrase (1): I want to know
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Toby Speight

79831864

Date: 2025-11-27 15:50:46
Score: 1
Natty:
Report link

You need to resolve your dependencies conflict defined composer.json.

First, read carefully what error stack trace says. The issue is not only with clickandmortar/import-bundle but with doctrine/orm as well, require (^3.3), - what is your current definition for that package in composer.json ?

Second, follow what composer advices itself run your command with argument -W php require league/csv --with-all-dependencies , - it will try to resolve conflicts automatically.

Third, you will possibly need to delete composer.lock file (don't forget to backup) as it can have issues.

Reasons:
  • Blacklisted phrase (1): what is your
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: buzz8year

79831857

Date: 2025-11-27 15:45:45
Score: 2
Natty:
Report link

XCode 15 can generate assets automatically:

enter image description here

Text("Hello, world!")
    .bold()
    .font(.title)
    // The word "color" is automatically removed from the auto-generated name
    .foregroundStyle(.customText)

original article here

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

79831856

Date: 2025-11-27 15:40:44
Score: 0.5
Natty:
Report link

@Henrik's anser helped me find the solution, in my case I wanted to have a specified max-width and only apply it when the screen is bigger than a certain value so I did the following:

import {useWindowDimensions, ...} from "react-native";

const BOTTOM_SHEET_MAX_WIDTH = 800;
.....
...
..


const { width: screenWidth } = useWindowDimensions(); // use useWindowDimensions to update the screen-width when the view is changed between landscape and portrait view

// set the maxWidth using the marginHorizontal
const marginHorizontal = screenWidth > BOTTOM_SHEET_MAX_WIDTH ? (screenWidth - BOTTOM_SHEET_MAX_WIDTH) / 2 : 0;
...

<BottomSheet
  snapPoints={ snapPoints }
  style={{ marginHorizontal }}
>
  ...
</BottomSheet>

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Raafat dev

79831845

Date: 2025-11-27 15:31:42
Score: 4
Natty:
Report link

There's an issue about it on Flutter's GitHub: https://github.com/flutter/flutter/issues/179156

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: THelloThere

79831842

Date: 2025-11-27 15:29:40
Score: 6.5 🚩
Natty: 6.5
Report link

when scaling vertically the application will always have little downtime because it is being literally spawned on another stronger or weaker host.

Does anyone know what happens when we scale in horizontally (remove the count of instances)?

Reasons:
  • RegEx Blacklisted phrase (2): Does anyone know
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): when
  • Low reputation (1):
Posted by: Krystian

79831837

Date: 2025-11-27 15:27:40
Score: 0.5
Natty:
Report link

You can swap two integers in C++ without using a third variable in several ways, but each method has caveats. Here are the common approaches:


1. Using arithmetic operations

a = a + b;
b = a - b;
a = a - b;

Pros:

Cons:


2. Using XOR (bitwise swap)

a = a ^ b;
b = a ^ b;
a = a ^ b;

Pros:

Cons:


3. Using std::swap (recommended)

std::swap(a, b);

Pros:

Cons:

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

79831825

Date: 2025-11-27 15:08:35
Score: 4
Natty:
Report link

How often do you need to read all those rows?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): How of
  • High reputation (-1):
Posted by: Jeyekomon

79831823

Date: 2025-11-27 15:07:35
Score: 1
Natty:
Report link

If using azure container apps, you have to setup postgrest separately as a side car container.

If you are using docker setup, try adding this env in your .env file if not present.

PGRST_DB_PRE_CONFIG=postgrest.pre_config
v3.20.45-lts

This issue is fixed in this version. So try using it or above.

If you are below this version try adding the above env that would work, If not working try upgrading to the version(or above) mentioned. If still not working put a message in the slack community.

Hope this helps.

Reasons:
  • Blacklisted phrase (2): still not working
  • Whitelisted phrase (-1): Hope this helps
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Souvik Paul

79831818

Date: 2025-11-27 15:02:33
Score: 3
Natty:
Report link

SO is not a device support website. Ask your device manufacturer instead.

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

79831817

Date: 2025-11-27 15:01:33
Score: 1.5
Natty:
Report link

Thank you for the comments.

My solution to get rid of localstorage:

  1. I use websockets changed the message to json which now transports the initial message and the status.

  2. I changed the websocket server so it now allows for communication between clients and also broadcasts everything that is sent to the server to all clients.

  3. For the clients js i keep the variables that i dont want to change (message) and just send them again with the json structure. the big benefit is now that i could reduce functions to clean the message and i have more control and flexability

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: dichterDichter

79831812

Date: 2025-11-27 14:56:32
Score: 2.5
Natty:
Report link

As of Now, there are still some issues with lottiefiles Animations on expo , instead of using the jsonapproach just download it is as a GIF and render it via Image the file size is relatively low and won't cause any bottleneck in performance.

enter image description here

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

79831806

Date: 2025-11-27 14:48:30
Score: 1.5
Natty:
Report link

I ran into an issue where MariaDB in XAMPP refused to start and showed this error:

Table '.\mysql\proxies_priv' is marked as crashed and last (automatic?) repair failed

Fatal error: Can't open and lock privilege tables

Repairing with mysql_upgrade didn’t work, and trying to run aria_chk directly gave:

aria_chk.exe: Got error 'Can't find file' when trying to use aria_log_control

You don't have permission to use '*.MAI'

**Steps that fixed it:**

1. Open a command prompt in C:\xampp\mysql

2. Repair crashed Aria tables using aria_chk.exe. For example:

3. If a table fails due to small sort buffer (e.g., columns_priv.MAI), run safe recover with a larger buffer:

bin\aria_chk.exe -r -o --sort_buffer_size=256M data\mysql\columns_priv.MAI

If needed, stronger version:

bin\aria_chk.exe -r -o -f --sort_buffer_size=512M data\mysql\columns_priv.MAI

4. Delete old Aria log files to reset the engine:

C:\xampp\mysql\data\aria_log.*

C:\xampp\mysql\data\aria_log_control

5. Start MySQL via XAMPP. MariaDB should start normally.

*Why this happens:*

XAMPP sometimes crashes while MariaDB updates privilege tables. The .MAI files (Aria storage engine) get corrupted, preventing the server from starting. Since MariaDB cannot open mysql.* system tables, it shuts down.

**Summary:**

If MariaDB won’t start because proxies_priv, columns_priv, or other .MAI system tables are corrupted:

- Use aria_chk.exe from XAMPP’s mysql\bin

- Repair the specific .MAI files in mysql\data\mysql

- Use -o or a larger --sort_buffer_size if default repair fails

This restores system tables and allows MariaDB to start normally.

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

79831801

Date: 2025-11-27 14:44:29
Score: 1
Natty:
Report link

Sometimes LibreOffice or Word ignore standard width settings. In some cases a better approach is to edit the XML directly

width = Inches(1.0)
grid_cols = table._tbl.tblGrid.findall(qn("w:gridCol"))
grid_cols[0].set(qn('w:w'), str(int(width.twips)))  # twips are the internal unit
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: fromlightbeam

79831800

Date: 2025-11-27 14:42:28
Score: 8 🚩
Natty:
Report link

I'm having the same issue on macOS with DBeaver version 25.2.5 — multi-line selection technically works, but visually it only highlights a single line, so you can’t actually see what you’ve selected while dragging. I tried everything: restarting DBeaver and the Mac, resetting settings, even removing every DBeaver file with the .sh script and doing a clean reinstall. Nothing fixed it, so it really looks like a visual bug introduced in the latest update. If anyone has a workaround or knows whether this is already a reported issue in 25.2.5, any help would be greatly appreciated.

Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): any help
  • RegEx Blacklisted phrase (3): any help would be greatly appreciated
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I'm having the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: LiberF

79831787

Date: 2025-11-27 14:27:25
Score: 2
Natty:
Report link

idk and i'd love a more senior answer to this, but currently i'm keeping both lists mounted and just style/hiding them.

I was also thinking on stacking two flashlist, have a 'father' one and the inner ones would not have scrollEnabled.

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

79831786

Date: 2025-11-27 14:24:24
Score: 1
Natty:
Report link

Using Portainer, first install in linux docker portainer tool:

docker volume create portainer_data
docker run -d -p 9000:9000 \
  --name=portainer \
  --restart=always \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v portainer_data:/data \
  portainer/portainer-ce:latest

Then you can access server web-page at localhost:9000. Go under images:
enter image description here

Then as you can see, explore contents of it visually.

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

79831785

Date: 2025-11-27 14:24:24
Score: 3.5
Natty:
Report link

Yes, you are right: it sounds crazy, but IT RUNS !

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

79831783

Date: 2025-11-27 14:23:24
Score: 2.5
Natty:
Report link

Update November 2025:
Seems now it's implemented much simpler way:

fname = "fasttext.model"
model.save(fname)
model = FastText.load(fname)

docs page https://radimrehurek.com/gensim/models/fasttext.html

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

79831780

Date: 2025-11-27 14:19:22
Score: 1
Natty:
Report link

This question can be answered from two standpoints in my opinion. The first one would be an operating system question. Which is what the other users half-heartedly pressured this question to be, by removing the C++ tag. The second would be minizip-specific.

I'll start to answer the first one, then proceed with the second one.

From the Operating System perspective:

It completely depends on which system you use and what it understands as a file.

Generally speaking, yes a FILE* can be a memory-mapped file.

Therefore you should be able to compress/decompress it.

You will have to look into the manuals for your operating system to find out, how to create a memory-mapped file.

For UNIX-like systems, this is usually fmemopen(3). But other solutions like mapping /dev/zero could work, although I haven't personally tried that. [1][2]

For Windows, an approach exists, by creating a file descriptor, with O_SHORTLIVED and O_TEMPORARY, then using that with fdopen to obtain a FILE*.[3]

From the MiniZIP perspective:

In the minizip-specific case, the library accepts a struct "zlib_file_func_def" in it's unzOpen function, where you can specify your implementations of the fopen, fread, fwrite, etc.... file functions.

You could easily create a class, that implements these functions. I'm assuming the OP's interest in in C++.

There, a class could be created to wrap these functions. Let's call it "MemoryFile". "fopen" would then create a new instance of this class, while "fclose" would call it's destructor.

To implement this class, either simple tracking could be implemented oneself. Or probably better yet, an existing class like std::ispanstream could be used. [4]

Sources:

[1] What is the purpose of MAP_ANONYMOUS flag in mmap system call?

[2] Is it possible to create a C FILE object to read/write in memory

[3] https://github.com/Arryboom/fmemopen_windows/blob/master/libfmemopen.c

[4] Creating an input stream from constant memory

Reasons:
  • Blacklisted phrase (1): Is it possible to
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: The19thFighter

79831779

Date: 2025-11-27 14:19:22
Score: 5
Natty:
Report link

@Lundin Love the way you refactored the code but wonder if that's always practical or even advisable. Can you say more about why you believe "creating function-like macros to replace chunks of code or program flow control is almost always bad practice"?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Lundin
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • High reputation (-1):
Posted by: Lolo

79831777

Date: 2025-11-27 14:18:21
Score: 4
Natty:
Report link

@Diego I had checked some possibilities by piping various subcommands of xsv, xan, csvkit etc. Then got a long awk snippet which was technically one line and it did work. However it took more 10-15 seconds on a large dataset.

On oneliner need, this is not for a one time use or a script. I want to set an alias to the solution and want to use it like less -S or cat or so on many files on a daily basis. Also I wanted to really reach a more efficient solution.

Many thanks to @Barmar, @Shawn, @jhnc and @dawg for the suggested solutions.

The perl based solution from @jhnc do meet the requirements I wanted help with. It is way quicker than the awk snippet I had (and shorter also).

@RARE, I can agree that the in/out example do look like a homework. Getting it done without getting into a R/python/shell script was the difficult part.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @Diego
  • User mentioned (0): @Barmar
  • User mentioned (0): @Shawn
  • User mentioned (0): @jhnc
  • User mentioned (0): @dawg
  • User mentioned (0): @jhnc
  • User mentioned (0): @RARE
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Jeffin Rockey

79831762

Date: 2025-11-27 13:56:16
Score: 5
Natty:
Report link

enter image description herefrancob411's answer in picture

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

79831758

Date: 2025-11-27 13:56:16
Score: 1
Natty:
Report link
Включить на столбце/строке/ячейке перенос
$sheet->getStyle('K')->getAlignment()->setWrapText(true);

Добавить в верстку шаблона тег <p><p>
Что бы в ячейке получилось что-то подобное:
<td>
    @foreach($someArray as $itemVal)
    <p> {{ $itemVal }} </p>
    @endforeach
</td>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Иван Дутов

79831755

Date: 2025-11-27 13:46:14
Score: 0.5
Natty:
Report link

Depends on if you want to rely on containerization techniques vs. VM scaling - also your ability to manage one or the other:

1. Elastic Beanstalk - provisions EC2 instances, auto scales, load balances automatically, minimal DevOps overhead. Each "application" in this scenario creates its own resources.

2.ECS / Fargate - requires you to setup services/tasks and to pick if you want to manage EC2 or go serverless. This option requires some kind of Load Balancer (either your own or ALB). Needs a bit more DevOps knowledge to containerize and create task definitions.

3.Scale Manually - What you described.

Consider trade-offs: do you want to optimize for cost, simplicity, ownership, cloud lock, etc.

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

79831749

Date: 2025-11-27 13:31:11
Score: 2.5
Natty:
Report link

when you cannot find Windows menu in Eclipse:
edit eclipse.ini and add -clean to the first line. Restart and all menu entries will be recreated.

Dont forget to delete -clean after your restart

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): when you cannot find
  • Low reputation (1):
Posted by: Aubelix

79831740

Date: 2025-11-27 13:16:08
Score: 8.5 🚩
Natty:
Report link

I'm having the same issue, can anyone please check this? I'm stuck after trying with multiple versions of eclipse and jdks

Reasons:
  • Blacklisted phrase (1): please check this
  • RegEx Blacklisted phrase (1.5): I'm stuck
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Lakshmi Tulasi

79831735

Date: 2025-11-27 13:07:06
Score: 2
Natty:
Report link

Gimby I think that would have worked too, I'm going to bookmark that page for future reference.

I think I would still have needed to use a PowerShell script to avoid having to manually update all of the projects, but you're idea would certainly be a more elegant way to do it.

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

79831733

Date: 2025-11-27 13:05:05
Score: 1
Natty:
Report link

here is the thing,

when u hv a new dir/ in ur public/, u need to relink it,
so just php artisan storage:unlink then php artisan storage:link

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

79831732

Date: 2025-11-27 13:05:05
Score: 3
Natty:
Report link

I read over that section but obviously I did not give it the deserved respect. argh!

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: Wör Du Schnaffzig

79831730

Date: 2025-11-27 13:02:04
Score: 3.5
Natty:
Report link

Is

<some-component color="red" />

not slower because Angular has to access DOM attribute?

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Lukasz Prus

79831724

Date: 2025-11-27 12:55:02
Score: 1.5
Natty:
Report link

This is exactly what Bart (maintainer of the GPIO subsystem) wants to push upstream for v6.19-rc1. If successfully done, you will be able to achieve that.

https://lore.kernel.org/linux-gpio/CAMRc=Me8KUGD7Lmdr7iecXWG4JD2cS8i37P+oMxQYdSZ4zAUEA@mail.gmail.com/T/#t

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

79831722

Date: 2025-11-27 12:53:02
Score: 0.5
Natty:
Report link

Disable NuGet auditing temporarily?

https://learn.microsoft.com/en-us/nuget/concepts/auditing-packages#configuring-nuget-audit

I'm just spitballing here, the warnings as errors deal seemed like a consequence, not a root cause. You want NuGet to temporarily shut up while you do your upgrades in peace.

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

79831721

Date: 2025-11-27 12:51:01
Score: 0.5
Natty:
Report link

Answer was quite simple in the end. I had CoPilot write me a PowerShell script to update all the TreatWarningsAsErrors tags. I would have preferred a way to do this from withing Visual Studio, but this worked.

Get-ChildItem -Path "path to solution" -Recurse -Filter *.csproj |
ForEach-Object {
    (Get-Content $_.FullName) -replace '<TreatWarningsAsErrors>true</TreatWarningsAsErrors>', '<TreatWarningsAsErrors>false</TreatWarningsAsErrors>' |
    Set-Content $_.FullName
}
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Paul Brindley

79831719

Date: 2025-11-27 12:50:01
Score: 0.5
Natty:
Report link

The problem can be it scans for wrong .xjb file which is designed for another shema.

Plugin scans all .xjb files by default. I had to put this one for plugin org.jvnet.jaxb:jaxb-maven-plugin:4.0.9:

<configuration>
...
    <bindingIncludes>
        <!-- DO NOT REMOVE: we skip all *.xjb -->
    </bindingIncludes>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Simon Logic

79831705

Date: 2025-11-27 12:34:57
Score: 1
Natty:
Report link

That's not an XCom limit. There's a configuration limiting the maximum number of mapped tasks: https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#max-map-length. The default value is 1024, you can configure this higher/lower as you prefer.

XComs are limited by their size in your database of choice: https://www.astronomer.io/docs/learn/2.x/airflow-passing-data-between-tasks#when-to-use-xcoms.

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

79831702

Date: 2025-11-27 12:31:57
Score: 2
Natty:
Report link

"@react-native/gradle-plugin": "^0.81.1",

some times you have to match the above gradle-plugin with the react-native version if you don't want to change the gradle-wrapper.properties file

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

79831700

Date: 2025-11-27 12:31:57
Score: 1.5
Natty:
Report link

There are two possible reasons

  1. Check the target framework mentioned in project Properties -> Application -> Target Framework. Download it from the VS Installer -> Modify -> Individual Components

  2. Check compilation Target Framework version in web.config. If it is different to the in the properties download it from the VS Installer -> Modify -> Individual Components

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: hema sai yadav

79831697

Date: 2025-11-27 12:23:55
Score: 0.5
Natty:
Report link

if you are using the gh cli https://cli.github.com/

gh repo sync your-user-name/your-repo

suppose your username is baz, you forked foo/bar into baz/bar

gh repo sync baz/bar
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: AsukaMinato

79831689

Date: 2025-11-27 12:12:52
Score: 1
Natty:
Report link

This issue usually happens when upgrading from WSO2 IS 7.1.0 → 7.2.0 without applying the full permission-migration steps.
WSO2 IS 7.2.0 introduces new internal role-management permissions, and existing users (including the admin user) won’t receive them automatically. As a result, SCIM operations like assigning roles return 403.

A fresh installation works because the new default roles are created with the correct permissions.
An upgraded setup needs the migration steps that update internal permissions and system roles.

These permission-migration steps are included in WSO2’s official upgrade process, but the automation/scripts required for this are only available through WSO2 subscription support. If you’re a subscriber, open a support ticket. Otherwise, you’ll need to contact WSO2 to obtain the migration utilities.

Official reference: WSO2 IS Upgrade Guide.

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

79831686

Date: 2025-11-27 12:11:52
Score: 0.5
Natty:
Report link

Update for Xcode 26.1.1 Swift 6.2.1

Now Swift has added in the @frozen keyword for some definitions in the standard library. To get the same updated information, type "Swift" in Xcode's Editor and right click on the Swift, select "Jump to Definition" as before. Select all and copy.

Open a Terminal and run the command

pbpaste | grep -E '(^@frozen public|^public)' | grep -E '(struct|protocol|class|enum)' > swiftTypes.txt

you get:

public protocol AdditiveArithmetic : Equatable {
@frozen public struct AnyBidirectionalCollection<Element> {
@frozen public struct AnyCollection<Element> {
@frozen public struct AnyHashable {
@frozen public struct AnyIndex {
@frozen public struct AnyIterator<Element> {
public class AnyKeyPath : _AppendKeyPath {
@frozen public struct AnyRandomAccessCollection<Element> {
@frozen public struct AnySequence<Element> {
@frozen public struct Array<Element> {
@frozen public struct ArraySlice<Element> {
@frozen public struct AutoreleasingUnsafeMutablePointer<Pointee> {
public protocol BidirectionalCollection<Element> : Collection where Self.Indices : BidirectionalCollection, Self.SubSequence : BidirectionalCollection {
public protocol BinaryFloatingPoint : ExpressibleByFloatLiteral, FloatingPoint {
public protocol BinaryInteger : CustomStringConvertible, Hashable, Numeric, Strideable where Self.Magnitude : BinaryInteger, Self.Magnitude == Self.Magnitude.Magnitude {
public protocol BitwiseCopyable : ~Escapable {
@frozen public struct Bool : Sendable {
@frozen public struct CVaListPointer {
public protocol CVarArg {
public protocol CaseIterable {
@frozen public struct Character : Sendable {
@frozen public struct ClosedRange<Bound> where Bound : Comparable {
public protocol CodingKey : CustomDebugStringConvertible, CustomStringConvertible, Sendable {
public protocol CodingKeyRepresentable {
public struct CodingUserInfoKey : RawRepresentable, Equatable, Hashable, Sendable {
public protocol Collection<Element> : Sequence {
public struct CollectionDifference<ChangeElement> {
@frozen public struct CollectionOfOne<Element> {
@frozen public enum CommandLine : ~BitwiseCopyable {
public protocol Comparable : Equatable {
@frozen public struct ContiguousArray<Element> {
public protocol Copyable {
public protocol CustomDebugStringConvertible {
public protocol CustomLeafReflectable : CustomReflectable {
public protocol CustomPlaygroundDisplayConvertible {
public protocol CustomReflectable {
public protocol CustomStringConvertible {
public protocol Decodable {
public protocol Decoder {
public enum DecodingError : Error {
@frozen public struct DefaultIndices<Elements> where Elements : Collection {
@frozen public struct DefaultStringInterpolation : StringInterpolationProtocol, Sendable {
@frozen public struct Dictionary<Key, Value> where Key : Hashable {
public struct DiscontiguousSlice<Base> where Base : Collection {
@frozen public struct Double {
@frozen public struct DropFirstSequence<Base> where Base : Sequence {
@frozen public struct DropWhileSequence<Base> where Base : Sequence {
@frozen public struct Duration : Sendable {
public protocol DurationProtocol : AdditiveArithmetic, Comparable, Sendable {
@frozen public struct EmptyCollection<Element> {
public protocol Encodable {
public protocol Encoder {
public enum EncodingError : Error {
@frozen public struct EnumeratedSequence<Base> where Base : Sequence {
public protocol Equatable {
public protocol Error : Sendable {
public protocol Escapable {
public protocol ExpressibleByArrayLiteral {
public protocol ExpressibleByBooleanLiteral {
public protocol ExpressibleByDictionaryLiteral {
public protocol ExpressibleByExtendedGraphemeClusterLiteral : ExpressibleByUnicodeScalarLiteral {
public protocol ExpressibleByFloatLiteral {
public protocol ExpressibleByIntegerLiteral {
public protocol ExpressibleByNilLiteral : ~Copyable, ~Escapable {
public protocol ExpressibleByStringInterpolation : ExpressibleByStringLiteral {
public protocol ExpressibleByStringLiteral : ExpressibleByExtendedGraphemeClusterLiteral {
public protocol ExpressibleByUnicodeScalarLiteral {
public protocol FixedWidthInteger : BinaryInteger, LosslessStringConvertible where Self.Magnitude : FixedWidthInteger, Self.Magnitude : UnsignedInteger, Self.Stride : FixedWidthInteger, Self.Stride : SignedInteger {
@frozen public struct FlattenSequence<Base> where Base : Sequence, Base.Element : Sequence {
@frozen public struct Float {
@frozen public struct Float16 {
public protocol FloatingPoint : Hashable, SignedNumeric, Strideable where Self == Self.Magnitude {
@frozen public enum FloatingPointClassification : Sendable {
public enum FloatingPointRoundingRule : Sendable {
@frozen public enum FloatingPointSign : Int, Sendable {
public protocol Hashable : Equatable {
@frozen public struct Hasher {
public protocol Identifiable<ID> {
@frozen public struct IndexingIterator<Elements> where Elements : Collection {
@frozen public struct InlineArray<let count : Int, Element> : ~Copyable where Element : ~Copyable {
public protocol InstantProtocol<Duration> : Comparable, Hashable, Sendable {
@frozen public struct Int : FixedWidthInteger, SignedInteger {
@frozen public struct Int128 : Sendable {
@frozen public struct Int16 : FixedWidthInteger, SignedInteger {
@frozen public struct Int32 : FixedWidthInteger, SignedInteger {
@frozen public struct Int64 : FixedWidthInteger, SignedInteger {
@frozen public struct Int8 : FixedWidthInteger, SignedInteger {
public protocol IteratorProtocol<Element> {
@frozen public struct IteratorSequence<Base> where Base : IteratorProtocol {
@frozen public struct JoinedSequence<Base> where Base : Sequence, Base.Element : Sequence {
public class KeyPath<Root, Value> : PartialKeyPath<Root> {
@frozen public struct KeyValuePairs<Key, Value> : ExpressibleByDictionaryLiteral {
public struct KeyedDecodingContainer<K> : KeyedDecodingContainerProtocol where K : CodingKey {
public protocol KeyedDecodingContainerProtocol {
public struct KeyedEncodingContainer<K> : KeyedEncodingContainerProtocol where K : CodingKey {
public protocol KeyedEncodingContainerProtocol {
public protocol LazyCollectionProtocol : Collection, LazySequenceProtocol where Self.Elements : Collection {
@frozen public struct LazyDropWhileSequence<Base> where Base : Sequence {
@frozen public struct LazyFilterSequence<Base> where Base : Sequence {
@frozen public struct LazyMapSequence<Base, Element> where Base : Sequence {
@frozen public struct LazyPrefixWhileSequence<Base> where Base : Sequence {
@frozen public struct LazySequence<Base> where Base : Sequence {
public protocol LazySequenceProtocol : Sequence {
public protocol LosslessStringConvertible : CustomStringConvertible {
@frozen public struct ManagedBufferPointer<Header, Element> : Copyable where Element : ~Copyable {
@frozen public enum MemoryLayout<T> : ~BitwiseCopyable, Copyable, Escapable where T : ~Copyable, T : ~Escapable {
public struct Mirror {
public protocol MirrorPath {
public protocol MutableCollection<Element> : Collection where Self.SubSequence : MutableCollection {
@frozen public struct MutableRawSpan : ~Copyable & ~Escapable {
@frozen public struct MutableSpan<Element> : ~Copyable, ~Escapable where Element : ~Copyable {
@frozen public enum Never {
public protocol Numeric : AdditiveArithmetic, ExpressibleByIntegerLiteral {
@frozen public struct ObjectIdentifier : Sendable {
@frozen public struct OpaquePointer {
public protocol OptionSet : RawRepresentable, SetAlgebra {
@frozen public enum Optional<Wrapped> : ~Copyable, ~Escapable where Wrapped : ~Copyable, Wrapped : ~Escapable {
@frozen public struct OutputRawSpan : ~Copyable, ~Escapable {
@frozen public struct OutputSpan<Element> : ~Copyable, ~Escapable where Element : ~Copyable {
public class PartialKeyPath<Root> : AnyKeyPath {
@frozen public struct PartialRangeFrom<Bound> where Bound : Comparable {
@frozen public struct PartialRangeThrough<Bound> where Bound : Comparable {
@frozen public struct PartialRangeUpTo<Bound> where Bound : Comparable {
@frozen public struct PrefixSequence<Base> where Base : Sequence {
public protocol RandomAccessCollection<Element> : BidirectionalCollection where Self.Indices : RandomAccessCollection, Self.SubSequence : RandomAccessCollection {
public protocol RandomNumberGenerator {
@frozen public struct Range<Bound> where Bound : Comparable {
public protocol RangeExpression<Bound> {
public protocol RangeReplaceableCollection<Element> : Collection where Self.SubSequence : RangeReplaceableCollection {
public struct RangeSet<Bound> where Bound : Comparable {
public protocol RawRepresentable<RawValue> {
@frozen public struct RawSpan : ~Escapable, Copyable, BitwiseCopyable {
public class ReferenceWritableKeyPath<Root, Value> : WritableKeyPath<Root, Value> {
@frozen public struct Repeated<Element> {
@frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable, Success : ~Escapable {
@frozen public struct ReversedCollection<Base> where Base : BidirectionalCollection {
public protocol SIMD<Scalar> : CustomStringConvertible, Decodable, Encodable, ExpressibleByArrayLiteral, Hashable, SIMDStorage {
@frozen public struct SIMD16<Scalar> : SIMD where Scalar : SIMDScalar {
@frozen public struct SIMD2<Scalar> : SIMD where Scalar : SIMDScalar {
@frozen public struct SIMD3<Scalar> : SIMD where Scalar : SIMDScalar {
@frozen public struct SIMD32<Scalar> : SIMD where Scalar : SIMDScalar {
@frozen public struct SIMD4<Scalar> : SIMD where Scalar : SIMDScalar {
@frozen public struct SIMD64<Scalar> : SIMD where Scalar : SIMDScalar {
@frozen public struct SIMD8<Scalar> : SIMD where Scalar : SIMDScalar {
@frozen public struct SIMDMask<Storage> : SIMD where Storage : SIMD, Storage.Scalar : FixedWidthInteger, Storage.Scalar : SignedInteger {
public protocol SIMDScalar : BitwiseCopyable {
public protocol SIMDStorage {
public protocol Sendable : SendableMetatype {
public protocol SendableMetatype : ~Copyable, ~Escapable {
public protocol Sequence<Element> {
@frozen public struct Set<Element> where Element : Hashable {
public protocol SetAlgebra<Element> : Equatable, ExpressibleByArrayLiteral {
public protocol SignedInteger : BinaryInteger, SignedNumeric {
public protocol SignedNumeric : Numeric {
public protocol SingleValueDecodingContainer {
public protocol SingleValueEncodingContainer {
@frozen public struct Slice<Base> where Base : Collection {
@frozen public struct Span<Element> : ~Escapable, Copyable, BitwiseCopyable where Element : ~Copyable {
@frozen public struct StaticBigInt : ExpressibleByIntegerLiteral, Sendable {
@frozen public struct StaticString : Sendable {
@frozen public struct StrideThrough<Element> where Element : Strideable {
@frozen public struct StrideThroughIterator<Element> where Element : Strideable {
@frozen public struct StrideTo<Element> where Element : Strideable {
@frozen public struct StrideToIterator<Element> where Element : Strideable {
public protocol Strideable<Stride> : Comparable {
@frozen public struct String {
public protocol StringInterpolationProtocol {
public protocol StringProtocol : BidirectionalCollection, Comparable, ExpressibleByStringInterpolation, Hashable, LosslessStringConvertible, TextOutputStream, TextOutputStreamable where Self.Element == Character, Self.Index == String.Index, Self.StringInterpolation == DefaultStringInterpolation, Self.SubSequence : StringProtocol {
@frozen public struct Substring : Sendable {
@frozen public struct SystemRandomNumberGenerator : RandomNumberGenerator, Sendable {
public protocol TextOutputStream {
public protocol TextOutputStreamable {
@frozen public struct UInt : FixedWidthInteger, UnsignedInteger {
@frozen public struct UInt128 : Sendable {
@frozen public struct UInt16 : FixedWidthInteger, UnsignedInteger {
@frozen public struct UInt32 : FixedWidthInteger, UnsignedInteger {
@frozen public struct UInt64 : FixedWidthInteger, UnsignedInteger {
@frozen public struct UInt8 : FixedWidthInteger, UnsignedInteger {
@frozen public struct UTF8Span : Copyable, ~Escapable, BitwiseCopyable {
@frozen public enum UnboundedRange_ {
@frozen public struct UnfoldSequence<Element, State> : Sequence, IteratorProtocol {
@frozen public enum Unicode : ~BitwiseCopyable {
public protocol UnicodeCodec : _UnicodeEncoding {
@frozen public enum UnicodeDecodingResult : Equatable, Sendable {
public protocol UnkeyedDecodingContainer {
public protocol UnkeyedEncodingContainer {
@frozen public struct Unmanaged<Instance> where Instance : AnyObject {
@frozen public struct UnsafeBufferPointer<Element> : Copyable where Element : ~Copyable {
@frozen public struct UnsafeMutableBufferPointer<Element> : Copyable where Element : ~Copyable {
@frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
@frozen public struct UnsafeMutableRawBufferPointer {
@frozen public struct UnsafeMutableRawPointer {
@frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
@frozen public struct UnsafeRawBufferPointer {
@frozen public struct UnsafeRawPointer {
public protocol UnsafeSendable : Sendable {
public protocol UnsignedInteger : BinaryInteger {
public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
@frozen public struct Zip2Sequence<Sequence1, Sequence2> where Sequence1 : Sequence, Sequence2 : Sequence {
public protocol _AppendKeyPath {

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @frozen
  • Low reputation (1):
Posted by: Bang Yuan Chan

79831682

Date: 2025-11-27 12:09:52
Score: 1.5
Natty:
Report link

you’re basically fighting 2 separate things here:

  1. how do i save multiple models at once? (backend)

  2. how do i not end up with a monster react component? (frontend)


1) backend – multiple models “in one go”

inertia vs livewire doesn’t matter here. once the request hits laravel it’s just:
“i got some nested data, i need to create/update a few models safely”.

the usual pattern:

so from laravel’s point of view it’s still just one form submit, just writing to 3–4 tables instead of 1. nothing inertia-specific about it.


2) frontend – avoid the god-component

this is where inertia + react shines if you structure it right.

core idea:

practically: you still have one form, one submit, one inertia post(), but visually and in code it feels like 3–4 smaller, focused components instead of one giant soup.


mental model that keeps things simple

doesn’t matter if you’re saving 1 model or 5 — same flow, just slightly more fields.

Reasons:
  • Blacklisted phrase (1): how do i
  • Blacklisted phrase (0.5): i need
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Eli

79831681

Date: 2025-11-27 12:06:50
Score: 4.5
Natty:
Report link

This turned out to be a bug in drools, and will be addressed in version 10.2.0.
https://kie.zulipchat.com/#narrow/channel/232677-drools/topic/Strange.20behaviour.20with.20traditional.20syntax.20in.20RuleUnit/with/558621566

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

79831671

Date: 2025-11-27 11:51:46
Score: 0.5
Natty:
Report link

i think the problem is way more Conceptual

Consider this case from leetcode ( naive solution fails on this one)

 # Source - https://stackoverflow.com/q/72233959
# Diagram Copies for the post above 
      2

    /    \
 NULL      3
        /     \
    NULL        4
            /      \
        NULL         5
                   /     \
                 NULL     6

we misunderstood the Meaning of actual depth in this case according to problem statement on leetcode

"The minimum depth is the number of nodes along the shortest path from the root node down to the nearest leaf node."

Note: A leaf is a node with no children.

Now understand the explicit meaning leaf node its is a node which has 0 children and since our root node( see diagram) has one children ( right children node with value 3 so it is not a leaf node) and that is where confussion kickin in our naive code we usually do Base case like this

if not node : return 0;

we consider it as leaf node but it does not guartantee its a leaf node it just means if any childern left or right is NULL but actual parent node may have other children ( right or vice versa)

while doing this we are unaware of that fact that we call a node if both its parent.left && parent.right are null

so in order to correctly identify a node as leaf we must check both of it left and right pointer only then we say its a leaf node

if( ! root) return 0; // it check whether root node even exists

// then we check if its LEAF NODE

if( root->left== NULL && root->right==NULL) return 1; // LEAF NODE no children

// other wise we have a may case i whicj one child may be null but now its not a leaf node and we do not //stop recursion( DFS)

inr left_height = depth(root->left);

int right_height = depth(root->right);

// now we have depth of both

if( root->left==NULL) return 1+ right;

if(root->right == NULL) return 1+ left;

// if both children of root nodes exists take min

return min(left_height,right_height) +1;

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: HUSSAIN CHEEMA

79831669

Date: 2025-11-27 11:50:46
Score: 2
Natty:
Report link

It takes 24h+ before you'll see the 403s turn into 200s. This is because Google only adds your service account to the bucket read permissions at the next report generation moment.

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

79831665

Date: 2025-11-27 11:39:44
Score: 2
Natty:
Report link

Simply reinstall git worked for me

Reasons:
  • Whitelisted phrase (-1): it worked
  • Whitelisted phrase (-1): worked for me
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Alex Narvik

79831662

Date: 2025-11-27 11:35:43
Score: 1
Natty:
Report link

The error means the server is returning an invalid or malformed Access-Control-Allow-Headers value in the OPTIONS (preflight) response.
Even a small issue like a trailing comma, duplicate header, or empty value will cause the browser to reject it.

What to check:

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

79831660

Date: 2025-11-27 11:33:42
Score: 3.5
Natty:
Report link

Oops, apologies I did post this incorrectly. Thank you for your response. I will give it a try.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Cocoanut

79831655

Date: 2025-11-27 11:27:41
Score: 1.5
Natty:
Report link

I found

SELECT * FROM vector_store WHERE metadata->>'service' = ?

to be working in Spring. Metadata, however, will never be an array, but may be nested.

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

79831647

Date: 2025-11-27 11:20:39
Score: 1
Natty:
Report link

Add following snippet in the cloudhub2Deployment element in the pom.xml. This will enable the Object Store V2 on cloudhub for the application.

<integrations>
        <services>
            <objectStoreV2>
                <enabled>true</enabled>
            </objectStoreV2>
        </services>
    </integrations>
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Nitin Surana

79831642

Date: 2025-11-27 11:13:38
Score: 0.5
Natty:
Report link

I noticed that tsconfig.json not includes the "../server/**/*" at ./.nuxt/tsconfig.json file

{
  // https://nuxt.com/docs/guide/concepts/typescript
  "extends": "./.nuxt/tsconfig.json"

}

and this problem is fix at 4.2.1 or we can handle it by myself to change tsconfig.json.And this is also the solution for version 4.2.1.

{
  "references": [
    {
      "path": "./.nuxt/tsconfig.app.json"
    },
    {
      "path": "./.nuxt/tsconfig.server.json"
    },
    {
      "path": "./.nuxt/tsconfig.shared.json"
    },
    {
      "path": "./.nuxt/tsconfig.node.json"
    }
  ],
  "files": []
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Yaphets

79831637

Date: 2025-11-27 11:06:36
Score: 1.5
Natty:
Report link

I ended up dreaming big and going a step further, instead of just pointing browsers at my remote dnscrypt-proxy DoH endpoint, i ended up wanting system level DNS redirection back like i did with local dnscrypt-proxy instances on Android (ads mostly) and Windows (ads and telemetry). So i navigated the world of creating a DNS stamp for my remote dnscrypt-proxy, which took a lot of fumbling as each stamp i generated would error out, until finally i got it right.

Only thing i have now is install a smaller/simpler dnscrypt-proxy magisk module on Android, and simpler dnscrypt-proxy setup on Windows that both upstream to my remote instance. System level blocking with centralised management of block lists is a wonderful thing....

I hope to wipe and recreate the server from scratch and provide an updated script to the one posted earlier soon

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

79831632

Date: 2025-11-27 10:59:34
Score: 5.5
Natty:
Report link

Thanks for such a brief answer appreciated !

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): appreciated
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mitesh Firake

79831630

Date: 2025-11-27 10:59:34
Score: 0.5
Natty:
Report link

FastAPI expects the body of a POST request to follow a structure.
If you send just a plain string like:

"hello world"

FastAPI cannot parse it unless you tell it exactly how to treat that string.

So it returns something like:

{"detail":"There was an error parsing the body"}

or:

{"detail":[{"type":"string_type","msg":"str type expected"}]}

How to Fix It

Fix 1: Use a Pydantic Model (Recommended)

from fastapi import FastAPI
from pydantic import BaseModel

app = FastAPI()

class TextIn(BaseModel):
    text: str

@app.post("/predict")
def predict(data: TextIn):
    input_text = data.text
    # your ML model prediction here
    result = my_model.predict([input_text])
    return {"prediction": result}

Then send this JSON body:

{
  "text": "This is my input sentence"
}
Reasons:
  • Blacklisted phrase (0.5): I cannot
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Rubinabanu Patel Chati

79831624

Date: 2025-11-27 10:54:33
Score: 1
Natty:
Report link

Great solution! 👏 This approach with GitHub Actions and Sideloadly is a clever workaround for developers without a Mac or a paid Apple Developer account. Using a free Apple ID certificate allows you to sideload apps to an iPhone without needing the full developer program.

For those who want more information on the details of using GitHub Actions with macOS runners, you can check out the GitHub Actions documentation for further configuration.

If you're also looking for web development or custom app solutions, feel free to visit Idea Maker for more info on services offered.

This is a great method to get your app running on iOS during development without the need for a Mac or a paid account!

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

79831622

Date: 2025-11-27 10:52:32
Score: 1
Natty:
Report link

You are missing one edge case (the statement is not true for n = 0, which probably you don't care). This my attempt at proving the theorem using Nat.mod.inductionOn.

Link to lean playground

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

79831620

Date: 2025-11-27 10:49:31
Score: 1.5
Natty:
Report link

In my case (Flutter 3.35 on macOS), it was not a Firebase outage. It was a combination of package version and macOS network permissions / entitlements.

1️⃣ Update Flutter & Firebase packages

First, make sure you’re on a recent Flutter and Firebase version:

flutter upgrade
flutter pub upgrade

And in pubspec.yaml use the latest versions of:

firebase_core: ^latest
cloud_firestore: ^latest

Then:

flutter pub get

2️⃣ Add network permission in macos/Runner/Info.plist

In macos/Runner/Info.plist, add:

<key>NSAppTransportSecurity</key>
<dict>
    <key>NSAllowsArbitraryLoads</key>
    <true/>
</dict>

3️⃣ Update macOS entitlements

Both of these files need network client permission:

Add:

<key>com.apple.security.network.client</key>
<true/>

4️⃣ Clean and reinstall pods

Finally, clean and rebuild:

flutter clean
rm -rf macos/Pods macos/Podfile.lock
pod install
flutter run


Hope this helps someone facing the same issue Thanks
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): Hope this helps
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): facing the same issue
  • Low reputation (1):
Posted by: mutahir nizami2

79831619

Date: 2025-11-27 10:49:31
Score: 1
Natty:
Report link

Key is storing the video frames from the past couple of seconds, i.e. in a ring buffer. Once you have detected a distinct playing card, apply block motion detection backwards. You should get a lot of redundant motion vectors (one is sufficient to tell the origin), so filter them and you are able to retrieve the original direction of the card.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
Posted by: André

79831618

Date: 2025-11-27 10:46:31
Score: 2.5
Natty:
Report link

Thanks @MTO

Below part of your answer itself work for converting the date into the expected format without using insert command

i tried this way

~~~

create table basetable as
with test_table as (select * from basetable)
SELECT t.*, date_str,
       TO_DATE(date_str DEFAULT NULL ON CONVERSION ERROR, 'DD/MM/RR') as formatted_date
from test_table t

~~~

this worked as expected

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • User mentioned (1): @MTO
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: AdhiHari

79831611

Date: 2025-11-27 10:33:28
Score: 1.5
Natty:
Report link

import React, { useState, useEffect, useRef } from 'react'; import { Crosshair, Heart, Zap, Target } from 'lucide-react';

const FreeFireBattleGame = () => {

const canvasRef = useRef(null);

const [gameState, setGameState] = useState('menu'); // menu, playing, gameover

const [player, setPlayer] = useState({ x: 400, y: 300, health: 100, ammo: 30 });

const [enemies, setEnemies] = useState([]);

const [bullets, setBullets] = useState([]);

const [score, setScore] = useState(0);

const [keys, setKeys] = useState({});

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

79831609

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

In addition to the solution of @AHaworth and the explanation of the sizing behavior in the answer of @JohnBollinger, I've found in the meantime a different solution by using
grid-template-rows: repeat(2, minmax(min-content, 0px)) repeat(2, min-content)
instead of
grid-template-rows: repeat(4, min-content)
On MDN it says "If max < min, then max is ignored and minmax(min,max) is treated as min." Thus minmax(min-content, 0px) should be equal to min-content, but it seems that for the track-sizing algorithm it is now treated as fixed size instead of intrinsic size. In any case, it works, as one can see in the following snippet:

html, body {
  height: 100vh;
  max-height: 100vh;
  margin: 0px;
}

/* Grid-Container */
#container {
    display:grid;
  grid-template-areas:
    "v p"
    "v o"
    "v t"
    "m t";
  grid-template-columns: 1fr min-content;
  grid-template-rows: repeat(2, minmax(min-content, 0px)) repeat(2, min-content);
    gap: 4px;
    width:100%;
}

/* Grid-Items */
div.grid-item {
    border-color: black;
    border-width: 2px;
    border-style: solid;
    position: relative;
}

#video {
    background-color: green;
  height: 180px;
  grid-area: v;
}
#metadata {
    background-color: yellow;
  height: 30px;
  grid-area: m;
}
#previewSelect {
    background-color: red;
    height:30px;
  grid-area: p;
}
#transcript {
    background-color: blue;
    align-self: stretch;
  grid-area: t;
}
#optional {
    height: 30px;
  grid-area: o;
}
<html>
<body>
    <div id="container" class="l1">
        <div id="video" class="grid-item">Video</div>
        <div id="metadata" class="grid-item">Metadata</div>
        <div id="previewSelect" class="grid-item">Preview-Select</div>
        <div id="transcript" class="grid-item">Transcript</div>
        <div id="optional" class="grid-item">Optional</div>
    </div>
</body>
</html>

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @AHaworth
  • User mentioned (0): @JohnBollinger
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Sebastian

79831601

Date: 2025-11-27 10:15:24
Score: 3
Natty:
Report link

The problem was not running the entire script with DBeaver. You have to click the "Execute SQL Script" (The third form the top) button. The "Execute SQL Query" (top button) is not sufficient enough.

enter image description here

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

79831597

Date: 2025-11-27 10:14:24
Score: 1.5
Natty:
Report link

Do you want to expose the fact that the string ends with \0?

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Jarod42

79831590

Date: 2025-11-27 10:04:22
Score: 1
Natty:
Report link

My solution was to add this to application.yaml

kafka:
  producer:
    value-serializer: io.confluent.kafka.serializers.KafkaAvroSerializer
    properties:
      avro.remove.java.properties: true

This makes KafkaAvroSerializer properly strip the type object down to just "string"

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

79831584

Date: 2025-11-27 09:56:19
Score: 2
Natty:
Report link

like 32/64 bit problem. From launcher.library I see you are using 32 bit eclipse. From the Java path it looks like 64-bit. You can confirm Java version by running Java -version.

Try with 32-bit Java or get a 64-bit Eclipse.

My assumption here is your OS is 64-bit.

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

79831583

Date: 2025-11-27 09:54:19
Score: 2
Natty:
Report link

You have to store the cart details locally in app data and publish

Remove cart details if order paid success

So it will be realtime

If you exit the app

And reopen it get the cart details

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

79831581

Date: 2025-11-27 09:54:19
Score: 1.5
Natty:
Report link

I'm using this plugin, and I was facing the same issue.
After some trial and error I just ran :Dotnet _server update and dotnet tool install -g EasyDotnet and the issue was fixed.
To be fair, I don't know exactly what is happening but maybe you could give that plugin a try and use the built-in roslyn and maybe run those comments, you can check its doc as well.

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

79831578

Date: 2025-11-27 09:52:18
Score: 1
Natty:
Report link

I was faced with the task of sorting data by one of two dates depending on the unit's status.

var date = DateTime.UtcNow;
items = items.OrderBy(x => x.StatusId != 1)
             .ThenBy(x => x.StatusId == 1 ? x.Date : date)
             .ThenByDescending(x => x.Created);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Andrii Fast