79793765

Date: 2025-10-18 13:07:44
Score: 3
Natty:
Report link

code folder1(workspace1) folder2(workspace2)

ex: code backend frontend

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

79793756

Date: 2025-10-18 12:35:36
Score: 0.5
Natty:
Report link

What you're seeing is a lint warning, try suppressing the lint as follows:

AnimatedContent(
    targetState = uiState.singleId,
    transitionSpec = {
        if (targetState > initialState)
            slideInHorizontally { it } + fadeIn() togetherWith slideOutHorizontally { -it }
        else
            slideInHorizontally { -it } + fadeIn() togetherWith slideOutHorizontally { it }
    },
    label = "Fade Content",
) { @Suppress("UnusedTransitionTargetStateParameter") _ ->
    Content(dat = dat, uiState = uiState, onUiEvent = onUiEvent)
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): What you
  • Low reputation (1):
Posted by: Arshad

79793753

Date: 2025-10-18 12:27:34
Score: 1
Natty:
Report link

It seems that there is no API to get or set git config using LibGit2Sharp. However, I was able to do it by simply starting git process with correct arguments:

var startInfo = new ProcessStartInfo
{
    FileName = "git",
    Arguments = "config --global user.email [email protected]",
    RedirectStandardOutput = true,
    RedirectStandardError = true,
    UseShellExecute = false,
    CreateNoWindow = true,
    WorkingDirectory = "."
};

var process = new Process { StartInfo = startInfo };
process.Start();
process.WaitForExit();

if (process.ExitCode != 0)
{
    throw new InvalidOperationException($"Process exited with non-zero code ({process.ExitCode}).");
}

In regards to running it on a Windows Arm64 device I was at least able to build a project with LibGit2Sharp as dependency using win-arm64 runtime flag:

dotnet build -r win-arm64

And during my quick research I've also found this article, that seems to prove it is possible to run .NET 8 apps on Arm64 machine. If I were you I would check if .NET SDK is correctly installed on the machine.

Reasons:
  • Blacklisted phrase (1): regards
  • Blacklisted phrase (1): this article
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Gucu112

79793750

Date: 2025-10-18 12:17:32
Score: 1
Natty:
Report link

x = 5 + 10 is an expression but with when followred by semicolon x = 5 + 10; its called an "expression statement", This makes "“every expression can also be used as a statement" true, but then they will not be strictly called as "statement" but rather called as "expression statement" as statements are  are constructs that perform actions or control flow and do not necessarily yield a value, like if, for, or function declarations, so my takeaway and simple solution to tell if given piece of line is statment or expression is**,
[if you can put it in the console.log() without error/which gives some meaningful result  then its an expression and when you place that content with a semicolon then its technically called as "expression statement" anything else is just pure "statement" ]**

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

79793749

Date: 2025-10-18 12:14:31
Score: 1.5
Natty:
Report link

add to code

import dayjs from 'dayjs';
import 'dayjs/locale/ru';

dayjs.locale('ru', {
  ...dayjs.Ls.ru,
  weekStart: 1,
});
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Валерия Осипова

79793748

Date: 2025-10-18 12:02:29
Score: 1
Natty:
Report link

I solved it by clearing all the build cache/files in the same directory where the source code was in, and then ran the flet build command through the Developer Command Prompt for VS 2022.

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

79793740

Date: 2025-10-18 11:50:26
Score: 3
Natty:
Report link

Use native CSS unit:

CSS.pt(1).to('px').value

https://developer.mozilla.org/en-US/docs/Web/API/CSS

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

79793726

Date: 2025-10-18 11:05:16
Score: 1
Natty:
Report link

Refer to this Troubleshoot documentation

The reason can be either Bad access token or Embed type doesn't match token type. Looking into your code, the tokenType is 1 which is correct. but the comment says Aad Token and you're using Aad token. Change the tokenType: 0 for Aad Token. Refer to this documentation

Reasons:
  • Blacklisted phrase (1): this document
  • Low length (0.5):
  • Has code block (-0.5):
Posted by: Kotana Sai

79793722

Date: 2025-10-18 11:00:14
Score: 2.5
Natty:
Report link

This code checks which YouTube thumbnail size is available and returns the best one. If the highest quality thumbnail (maxresdefault.jpg) doesn’t exist, it automatically falls back to the next available resolution. It’s a smart and reliable way to always get the best possible YouTube thumbnail for any video.

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

79793717

Date: 2025-10-18 10:53:11
Score: 9 🚩
Natty: 5
Report link

did you find the omnik register list.

regards

marc

Reasons:
  • Blacklisted phrase (1): regards
  • RegEx Blacklisted phrase (3): did you find the
  • Contains signature (1):
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): did you find the
  • Low reputation (1):
Posted by: marc

79793711

Date: 2025-10-18 10:39:09
Score: 3.5
Natty:
Report link

Replacing the wp-admin and wp-content folders from a fresh install solved the error (although I still have no idea what caused it).

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

79793693

Date: 2025-10-18 10:08:01
Score: 1.5
Natty:
Report link

This is still a problem in VS 2022.

Sometimes nothing helps, error window keeps pop up even when we have zero error.

In that case deleting the ".vs" folder in the solution root folder + restarting may helps.

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

79793678

Date: 2025-10-18 09:43:56
Score: 0.5
Natty:
Report link

Consider using afterNextRender:

afterNextRender(
  () => {
    this.foo();
  },
  { injector: this.injector }
);

"Register callbacks to be invoked the next time the application finishes rendering..."
https://angular.dev/api/core/afterNextRender

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

79793675

Date: 2025-10-18 09:40:55
Score: 1
Natty:
Report link

To fix the lighting issue from your question using the setup shown in this image, you should manually generate lighting in Unity 6.2 because the "Auto Generate" option is no longer availablel 111 2J.

### What to Do in This Scene

Open the Lighting window by going to Window > Rendering > Lighting.

In the Lighting window, locate and click

the "Generate Lighting" button (since "Auto Generate" does not exist now).

This action will bake the lighting data for your scene, making all objects and panels display their intended brightness and color (panels will appear white instead of gray) I

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

79793674

Date: 2025-10-18 09:37:54
Score: 11
Natty: 9
Report link

https://www.youtube.com/watch?v=FxeeCxQGW9U&feature=youtu.be.

https://www.youtube.com/watch?v=FxeeCxQGW9U.

Can someone please tell me what name this YouTube channel is?

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Blacklisted phrase (1): youtube.com
  • RegEx Blacklisted phrase (2.5): Can someone please tell me what
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Jas

79793673

Date: 2025-10-18 09:36:53
Score: 3
Natty:
Report link

Removing or renaming updater.exe resolves.

https://stackoverflow.com/search?q=couldn%27t+load+%22XPCOM%22

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Oleksii Kyslytsyn

79793660

Date: 2025-10-18 09:04:47
Score: 1
Natty:
Report link

I had a similar problem lately.

And I would suggest taking a look at the difference between clearAllMocks() and resetAllMocks()

clearAllMocks is useful when you want to ensure that the call history of mocks is clean between tests, but you want to retain any mocked return values or implementations.

resetAllMocks is useful when you want a complete reset, effectively returning all mocks to their initial, unconfigured state.

In my case, I was using mockResolvedValueOnce, and it affected the next test. clearAllMocks was of no help at all, but resetAllMocks solved the problem**.**

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Владислав Витковский

79793657

Date: 2025-10-18 09:00:45
Score: 6 🚩
Natty: 4.5
Report link

I have the Same Problem.

I solve it by using an observable.

toObservable(mySignalFromStore).subscribe(...)

I dont know If this is THE solution.

Reasons:
  • Blacklisted phrase (1): I have the Same Problem
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the Same Problem
  • Low reputation (1):
Posted by: svh_wizard

79793653

Date: 2025-10-18 08:51:43
Score: 1.5
Natty:
Report link

If you want to print exactly \n in python , you should do this: \\n

Example :

b= "\\n"
print(b)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: AmirReza

79793644

Date: 2025-10-18 08:20:37
Score: 2.5
Natty:
Report link

Below are the two statements from two different papers one is cited in other and they applied same process to combine multiple band images and created a 7 channel dataset I want to do the same. (" Sentinel-1 and Sentinel-2 images were finally geocoded on a common

coordinates grid and then apply amplitude normalization. In the end,

concatenate together the processed data, resulting in a five-channel

multi-sensor dataset, including B4 (red), B3 (green), B2 (blue), B8

(NIR), and VV. " )("The

SAR; slope data; and the red, green, blue, NIR, and NDWI

images from Sentinel-2 were stacked to create a seven-channel

dataset.) They stacked images then normalize the stacked-7-channel-image because because SAR band has values of -13db to 20db greater value range and others have 0 to 1 small value ranges. So for faster convergence and better performence they have normalized the stacked-7-channel-image.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: amna aly

79793626

Date: 2025-10-18 07:35:27
Score: 3.5
Natty:
Report link

You'll need to install "Code Runner" extension in VS code. Then try.

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

79793611

Date: 2025-10-18 07:08:21
Score: 4
Natty: 6
Report link

When using the tiffsep1 driver, how can I set the independent color separation plate angles C=15, M=75, Y=0, K=45? I have tried many methods but none of them worked. The converted color separation plate images all have dots at the same Angle

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

79793609

Date: 2025-10-18 06:54:18
Score: 4
Natty:
Report link

Found the Fix to it. Go to Disk Utility when screen loads up and format the disk with supported Apple File Format System!

Refer here: https://support.apple.com/guide/disk-utility/file-system-formats-dsku19ed921c/22.7/mac/26

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

79793599

Date: 2025-10-18 06:41:14
Score: 12 🚩
Natty: 5.5
Report link

i having the same problem if you find the solution can you help me out with it

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): can you help me
  • RegEx Blacklisted phrase (2): help me out
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i having the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Az Services

79793593

Date: 2025-10-18 06:31:12
Score: 3
Natty:
Report link

Try this one, it solve some bugs on launch4j

https://github.com/kaffamobile/gjg-maven-plugin

Reasons:
  • Whitelisted phrase (-1): Try this
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Douglas Pac Martins

79793590

Date: 2025-10-18 06:29:11
Score: 4.5
Natty: 4
Report link

You can find the solution for device targeting API level >=36 in here - https://github.com/flutter/flutter/issues/168635#issuecomment-3417866156

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

79793588

Date: 2025-10-18 06:23:10
Score: 1.5
Natty:
Report link

based on your requirements you need children from particular parent so as far as my knowledge you should use findMany method because the findUnique with include is comparatively slower than the findMany and in your case as you said children can be in big numbers i prefer to use findMany

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

79793585

Date: 2025-10-18 06:19:09
Score: 2.5
Natty:
Report link

# Given values

current_age = 39

current_size = 9.47

# Calculate the rate of change (m)

rate_of_change = current_size / current_age

print(rate_of_change)

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

79793581

Date: 2025-10-18 06:06:05
Score: 4
Natty:
Report link

adsadsdasasd
DAS
DA
AD
S
DSA
SD

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

79793575

Date: 2025-10-18 05:50:03
Score: 1.5
Natty:
Report link

@Topaco in the first comment got the right answer. When you apply operations to data, its important to remember your order of operations.

In decrypt_data(), unpadding may only take place after decryption!

    @staticmethod
    def decrypt_data(password, salt, encrypted_data):
        print(f"{password=}")
        print(f"{salt=}")
        print("Encrypted Data: ")
        print(f"{encrypted_data}")
        key = PasswordManager.generate_aes_key(password, salt)
        print(f"{key=}")
        cipher = Cipher(algorithms.AES(key), modes.CBC(salt))
        decryptor = cipher.decryptor()
        decrypted_data = decryptor.update(encrypted_data) + decryptor.finalize()
        original_data = PasswordManager.unpad_data(decrypted_data)
        print(original_data)
        return original_data.decode(PasswordManager.encoding)
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Topaco
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Dont worry about it

79793561

Date: 2025-10-18 04:48:50
Score: 1
Natty:
Report link

If anyone ever encounters the error using the OCI CLI

ERROR: Could not find config file at [DEFAULT]

user=ocid1.user.xxxx

...

Do you want to create a new config file? [Y/n]: Abort:

I hit this issue in a gitlab pipeline job, whereby I was using the contents of a pipeline variable named OCI_CLI_CONFIG_FILE to seed ~/.oci/config

Unfortunately that OCI_CLI_CONFIG_FILE variable happened to also be a reserved environment variable name in the context of the OCI CLI : https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/clienvironmentvariables.htm

... and was thus causing the OCI CLI to fail when making requests, as it was looking for a config file at that messed up location.

So be very careful with environment variables!

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

79793560

Date: 2025-10-18 04:47:50
Score: 4
Natty: 4
Report link

just use winboat, its a windows in a linux

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Smart Enough 2 Not Uz Chromeos

79793558

Date: 2025-10-18 04:42:49
Score: 1.5
Natty:
Report link

The "NqSQL Database" term sometimes confuses, because at its root, it means "Not relational" databases: data are not organized as rows. SQL-like queries u can find for different storage, S3, for example. Another example is the Cassandra database with its CQL, which looks like SQL, but the database is not relational. Don't confuse between query language, which is an interface, and the internal engineering of the DB

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

79793554

Date: 2025-10-18 04:34:47
Score: 1.5
Natty:
Report link

Questions 1 and 4 are duplicate:

Answer of Q1: Inserting RecyclerView items at zero position - always stay scrolled to top

Answer of Q4: How to fix RecyclerView shuffling issue:

overriding these two methods in Adapter will solve the shuffle issue.

@Override
public long getItemId(int position) {
return position; // or item id
}

@Override
public int getItemViewType(int position) {
return position; // or item id
}
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: C.F.G

79793546

Date: 2025-10-18 03:32:33
Score: 7.5 🚩
Natty: 5
Report link

I recently wrote a C-to-Brainfuck compiler. Here's my write-up on how it works.

Reasons:
  • Blacklisted phrase (2): fuck
  • Probably link only (1):
  • Contains signature (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: iacgm

79793545

Date: 2025-10-18 03:30:33
Score: 0.5
Natty:
Report link

I was able to resolve the issue. I was using the latest AzureRM provider (v4.49.0), which was released just yesterday.

I restarted the setup (again), this time pinning the provider to a previous stable version (v4.48.0). After that, everything worked perfectly. The push succeeded without any errors and .gitignore was considered.

If others encounter similar problems with the latest v4.49.0 Terraform AzureRM provider, it may be caused by a build or packaging issue. Reverting to an earlier version seems to resolve it.

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

79793529

Date: 2025-10-18 02:17:19
Score: 3
Natty:
Report link

<video controls> <source src="Gemini_Generated_Video_2ymkw42ymkw42ymk.mp4" type="video/mp4"> Your browser does not support the video tag. </video>

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

79793527

Date: 2025-10-18 02:13:18
Score: 3.5
Natty:
Report link

here is a updated version of unity of work from svn repository.
Update up to .NET Framework 4.8
https://github.com/waltereidi/NHibernateUnitOfWork_NetFramework4.8_Rework

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

79793520

Date: 2025-10-18 01:43:12
Score: 1.5
Natty:
Report link

I encountered this issue at work, turns out my internet connection was fine, but our internal networks were down. Including the VPN. It's worth nonting that we use Azure DevOps, but I don't have admin access to any of it, so I wasn't able to try the accepted answer. So, my solution was to file a network support ticket with IT so they're aware our network is down, and go home early once I ran out of things to do that didn't require the secure access to our network.

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

79793504

Date: 2025-10-18 00:22:56
Score: 1
Natty:
Report link

I have just the thing for you.
https://github.com/rajames440/StarForth is an ANSI C99 with minimal dependencies I wrote to port into a microkernel environment. You'll also see some inline asm for amd64 and arm64 with plans down the road for RISC-V inline asm as well. Feel free to snoop around it. The documentation is pretty good. My approach was to build it as a totally static monolithic build unlike gForth & others so it ports almost anywhere fairly easily but will still be usable as an executable on Linux without a lot of difficulty and it was designed with Ras Pi 4b in mind as well. You could clone the repo onto a Raspberian install and build it without much difficulty.

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

79793502

Date: 2025-10-18 00:17:55
Score: 1.5
Natty:
Report link

Are you looking for something like this ?

:root {
  --angle: 45deg;
  --opacity: 0.5;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.rainbow {
  width: 40px;
  height: 30px;
  border-radius: 10px;
  padding: 2rem;
  margin: auto;

  display: grid;
  place-content: center;
  text-align: center;

  font-size: 1.5em;

  --border-size: 0.3rem;
  border: var(--border-size) solid transparent;

  /* Paint an image in the border */
  border-image: conic-gradient(
      from var(--angle),
      #d53e33 0deg 90deg,
      #fbb300 90deg 180deg,
      #377af5 180deg 270deg,
      #399953 270deg 360deg
    )
    1 stretch;
  background: rgb(255 255 255 / var(--opacity));
}

@property --opacity {
  syntax: "<number>";
  initial-value: 0.5;
  inherits: false;
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes opacityChange {
  to {
    --opacity: 1;
  }
}

@keyframes rotate {
  to {
    --angle: 360deg;
  }
}

.rainbow {
  animation: rotate 4s linear infinite, opacityChange 3s infinite alternate;
}

html,
body {
  padding: 0;
  margin: 0;
  height: 100%;
}

body {
  display: grid;
  place-content: center;
  gap: 0.5em;
}
<div class="rainbow">

</div>

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

79793496

Date: 2025-10-17 23:54:50
Score: 3.5
Natty:
Report link

or you can sign up for multiple accounts

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

79793492

Date: 2025-10-17 23:38:47
Score: 2
Natty:
Report link

I really wish I could help you. I'm a FORTH programmer from way back. I haven't found any good syntax highlighting utilities. I'm simply using a block editor in my terminal. I would like to ask you what you would like to see in a syntax highlighter. I wouldn't even know what syntax highlighting would do for FORTH, but you have me interested myself!

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

79793483

Date: 2025-10-17 22:59:40
Score: 3
Natty:
Report link

This is a CORS error: the server is refusing requests from other domains. Fix it by proxying the images through your own backend.

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

79793481

Date: 2025-10-17 22:57:40
Score: 0.5
Natty:
Report link

Not sure this helps but I'm on 2025.2.3 and I have the Code Style set to defaults according to the below. This works quite well and certainly doesn't wrap single lines of SQL like in your example. Have you tried that already?

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: usdn

79793473

Date: 2025-10-17 22:34:35
Score: 2
Natty:
Report link

You could also try

.onTapGesture(count:1) {location in
let tapLocation: CGPoint = location
}

This should make sure it doesn't trigger when you double-tap

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

79793471

Date: 2025-10-17 22:30:34
Score: 1.5
Natty:
Report link

I believe code below can handle the task. I tested with a couple test cases and seemed to work. Please let me know in case it fails with any specific array.

Algorithm:

  1. It locates the first positive and negative indices and stores them in pos and neg respectively.

  2. Starts iterating from this point on by

    1. Swaps the number at pos index with the number at neg index.

    2. Stores the index ahead among pos and neg in a hash set swapped so that any index already swapped does not get swapped again.

    3. Locates the next negative an positive indices for swapping.

Note that I implemented the algorithm in C# and let AI convert to to Java since I'm rusty with Java. Please let me know if anything seems odd with the Java code.

import java.util.HashSet;

public class Main {
    public static void main(String[] args) {
        int[] nums = { -1, 2, 3, -4, 5, 6, -7, -8, -9, 10 };

        int pos = 0;
        while (pos < nums.length && nums[pos] < 0)
            ++pos;

        int neg = 0;
        while (neg < nums.length && nums[neg] > 0)
            ++neg;

        HashSet<Integer> swapped = new HashSet<>();
        while (pos < nums.length && neg < nums.length) {
            // swap
            int temp = nums[pos];
            nums[pos] = nums[neg];
            nums[neg] = temp;

            if (pos < neg)
                swapped.add(neg);
            else
                swapped.add(pos);

            do {
                ++pos;
            } while (pos < nums.length && (swapped.contains(pos) || nums[pos] < 0));

            do {
                ++neg;
            } while (neg < nums.length && (swapped.contains(neg) || nums[neg] > 0));
        }

        for (int i = 0; i < nums.length; i++)
            System.out.print(nums[i] + " ");
    }
}
Reasons:
  • RegEx Blacklisted phrase (2.5): Please let me know
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: aManFromEarth

79793470

Date: 2025-10-17 22:24:33
Score: 0.5
Natty:
Report link

nevermind, this worked:

while \
  read \
    attribute_one \
    attribute_two \
; do
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Zhao Li

79793467

Date: 2025-10-17 22:20:32
Score: 3
Natty:
Report link

I'm getting exactly the same issue as you describe. If I have over ~70 slides, swiping through the slides on Safari iOS (iPhone 13 mini 26.0.1) will cause it to crash with the following message, `A problem repeatedly occurred on "https://192.168.0.210/bins/008b1c6-4463-4b94-862b-7d74d22dab3e/".` (For those reading this, the URL is irrelevant.)

I'm assuming this must be an issue of scale. And indeed it is. Looking at the swiper documentation at https://swiperjs.com/swiper-api#virtual-slides , it looks like Virtual slides was specifically designed to tackle this issue of scale. Heck, even their demo over at https://swiperjs.com/demos#virtual-slides shows 600 slides to prove the point. After I enabled Virtual slides, the issue instantly went away!

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm getting exactly the same issue
  • Low reputation (0.5):
Posted by: ONMNZ

79793451

Date: 2025-10-17 21:52:26
Score: 2
Natty:
Report link

poisson surface reconstruction the method will need a point_set input. How to create point set from point is here https://doc.cgal.org/latest/Point_set_3/Point_set_3_2point_set_8cpp-example.html . You can use Advancing front without creating point set. https://doc.cgal.org/latest/Advancing_front_surface_reconstruction/Advancing_front_surface_reconstruction_2reconstruction_fct_8cpp-example.html

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

79793445

Date: 2025-10-17 21:46:25
Score: 1
Natty:
Report link

There may be a bug when trying to transform FancyArrowPatch to 3D for an curved path (connectionstyle arc3). Instead I'm using a workaround much like this one: https://stackoverflow.com/a/79787179/31611660, which is to just draw a very short FancyArrowPatch to render the arrow by itself. Not my favorite, but its the only thing I've seen, so far, that works.

I used this with matplotlib 3.9.2 and numpy 1.26.4

import mpl_toolkits.mplot3d.art3d as art3d
import numpy as np
from matplotlib import pyplot as plt
from matplotlib.patches import Arc, FancyArrowPatch
from mpl_toolkits.mplot3d import proj3d

ARCSTYLE = dict(linestyle="--", color="black", lw=1)
ANGSTYLE = dict(radius=0.6, linestyle="-", color="black", lw=1, mutation_scale=15)
ARROWOPTS = {
    "mutation_scale": 20,
    "arrowstyle": "-|>",
    "color": "k",
    "shrinkA": 0,
    "shrinkB": 0,
}
TEXTOPTS = {
    "horizontalalignment": "center",
    "verticalalignment": "center",
    "fontsize": 14,
}


class Arrow3D(FancyArrowPatch):
    def __init__(self, xs, ys, zs, *args, **kwargs):
        super().__init__((0, 0), (0, 0), *args, **kwargs)
        self._verts3d = xs, ys, zs

    def do_3d_projection(self, renderer=None):
        xs3d, ys3d, zs3d = self._verts3d
        xs, ys, zs = proj3d.proj_transform(xs3d, ys3d, zs3d, self.axes.M)
        self.set_positions((xs[0], ys[0]), (xs[1], ys[1]))
        return np.min(zs)


class Arc3D(Arc):
    """
    Arc patch transformed to 3D, draws circular arc
       xdir: starting position of arc (3x1)
       ydir: ending position of arc (3x1)
       xy: origin as tuple (x,y)
       radius: radius of arc
       zs: Z-direction offset applied after rotation to 3D
       z: Z-direction offset applied before rotation to 3D
    """

    def __init__(self, xdir, ydir, xy=(0, 0), radius=1, *args, zs=0, z=0, **kwargs):
        xdir = np.array(xdir) / np.linalg.norm(xdir)
        ydir = np.array(ydir) / np.linalg.norm(ydir)
        super().__init__(
            xy,
            radius * 2.0,
            radius * 2.0,
            theta1=0,
            theta2=np.degrees(np.arccos(xdir.dot(ydir))),
            *args,
            **kwargs,
        )
        transform_2d_to_3d(self, rotation_matrix(xdir, ydir), zs=zs, z=z)


def arrowarc3d(
    ax, xdir, ydir, xy=(0, 0), radius=1, *args, zs=0, z=0, arrowfactor=100.0, **kwargs
):
    """
    draws an Arc3D and an arrowhead of Arrow3D
    """

    def radlen(q):
        return q * radius / np.linalg.norm(q)

    kw_arrow = {}
    # which kwargs are for *only* Arrow3D?
    for kw in ("mutation_scale",):
        if kw in kwargs:
            kw_arrow[kw] = kwargs.pop(kw)
    # settings in common
    color = kwargs.get("color", "blue")
    kwargs["color"] = color
    # compute begin & end of arrow
    xdir = np.array(xdir)
    ydir = np.array(ydir)
    # distance between points for arrow is (1/arrowfactor) * |ydir-xdir|
    ym = ydir - (ydir - xdir) / arrowfactor
    ax.add_artist(Arc3D(xdir, ydir, xy, radius, *args, zs=zs, z=z, **kwargs))
    ax.add_artist(Arrow3D(*zip(radlen(ym), radlen(ydir)), color=color, **kw_arrow))


def rotation_matrix(x, y):
    """
    Rotation matrix: [ X  ((X cross Y) cross X)  (X cross Y) ]
       x: X-axis of new coordinate system
       y: orients new coordinate system, new Y-axis is cross(cross(x,y),x)
    rotation_matrix(x,y).dot((1,0,0)) || x
    rotation_matrix(x,y).dot((0,0,1)) || cross(x,y)
    """
    x = np.array(x) / np.linalg.norm(x)
    z = np.cross(x, y)
    z /= np.linalg.norm(z)
    y = np.cross(np.array(z), x)
    return np.array([x, y, z]).T


def transform_2d_to_3d(pathpatch, rotation, zs=0, z=0):
    """
    Transforms a 2D Patch to a 3D patch.
      rotation: a 3x3 rotation matrix from 2D to 3D.
      zs: Z-direction offset applied after rotation
      z: Z-direction offset applied before rotation
    """
    # https://stackoverflow.com/a/18228967/31611660
    path = pathpatch.get_path()  # Get the path and the associated transform
    trans = pathpatch.get_patch_transform()
    path = trans.transform_path(path)  # Apply the transform
    pathpatch.__class__ = art3d.PathPatch3D  # Change the class
    pathpatch._code3d = path.codes  # Copy the codes
    pathpatch._facecolor3d = pathpatch.get_facecolor  # Get the face color
    verts = path.vertices  # Get the vertices in 2D
    # apply the rotation matrix and any "z" or "zs" offsets
    pathpatch._segment3d = np.array(
        [np.dot(rotation, (x, y, z)) + (0, 0, zs) for x, y in verts]
    )


def Rx(phi):
    return np.array(
        [[1, 0, 0], [0, np.cos(phi), -np.sin(phi)], [0, np.sin(phi), np.cos(phi)]]
    )


def Ry(theta):
    return np.array(
        [
            [np.cos(theta), 0, np.sin(theta)],
            [0, 1, 0],
            [-np.sin(theta), 0, np.cos(theta)],
        ]
    )


def Rz(psi):
    return np.array(
        [[np.cos(psi), -np.sin(psi), 0], [np.sin(psi), np.cos(psi), 0], [0, 0, 1]]
    )


def vecs(key, arc):
    """input is in degrees"""
    return vecsr(key, np.array(arc) * np.pi / 180.0)


def vecsr(key, arc):
    """input is in radians"""
    arc = np.array(arc)
    if key == "z":
        return np.array([np.cos(arc), np.sin(arc), arc * 0])
    elif key == "-z":
        return np.array([-np.sin(arc), np.cos(arc), arc * 0])
    elif key == "y":
        return np.array([np.cos(arc), arc * 0, -np.sin(arc)])
    elif key == "-y":
        return np.array([np.sin(arc), arc * 0, np.cos(arc)])
    elif key == "x":
        return np.array([arc * 0, np.cos(arc), np.sin(arc)])
    elif key == "-x":
        return np.array([arc * 0, -np.sin(arc), np.cos(arc)])
    else:
        raise ValueError(f"unknown key {key}")


# define origin
o = np.array([0, 0, 0])

# define ox0y0z0 axes
x0 = np.array([1, 0, 0])
y0 = np.array([0, 1, 0])
z0 = np.array([0, 0, 1])

# define ox1y1z1 axes
psi = 20 * np.pi / 180
x1 = Rz(psi).dot(x0)
y1 = Rz(psi).dot(y0)
z1 = Rz(psi).dot(z0)

# define ox2y2z2 axes
theta = 10 * np.pi / 180
x2 = Rz(psi).dot(Ry(theta)).dot(x0)
y2 = Rz(psi).dot(Ry(theta)).dot(y0)
z2 = Rz(psi).dot(Ry(theta)).dot(z0)

# define ox3y3z3 axes
phi = 30 * np.pi / 180
x3 = Rz(psi).dot(Ry(theta)).dot(Rx(phi)).dot(x0)
y3 = Rz(psi).dot(Ry(theta)).dot(Rx(phi)).dot(y0)
z3 = Rz(psi).dot(Ry(theta)).dot(Rx(phi)).dot(z0)

ARROWOPTS = {
    "mutation_scale": 20,
    "arrowstyle": "-|>",
    "color": "k",
    "shrinkA": 0,
    "shrinkB": 0,
}

# produce figure
fig = plt.figure()
ax = fig.add_subplot(111, projection="3d")

# plot ox0y0z0 axes
a = Arrow3D([o[0], x0[0]], [o[1], x0[1]], [o[2], x0[2]], **ARROWOPTS)
ax.add_artist(a)
a = Arrow3D([o[0], y0[0]], [o[1], y0[1]], [o[2], y0[2]], **ARROWOPTS)
ax.add_artist(a)
a = Arrow3D([o[0], z0[0]], [o[1], z0[1]], [o[2], z0[2]], **ARROWOPTS)
ax.add_artist(a)

# plot ox1y1z1 axes
a = Arrow3D([o[0], x1[0]], [o[1], x1[1]], [o[2], x1[2]], **ARROWOPTS)
ax.add_artist(a)
a = Arrow3D([o[0], y1[0]], [o[1], y1[1]], [o[2], y1[2]], **ARROWOPTS)
ax.add_artist(a)
a = Arrow3D([o[0], z1[0]], [o[1], z1[1]], [o[2], z1[2]], **ARROWOPTS)
ax.add_artist(a)

# draw dotted arc in x0y0 plane
ax.add_artist(Arc3D(*vecs("z", [-5, 116]).T, **ARCSTYLE))

# mark z0 rotation angles (psi)
arrowarc3d(ax, *vecsr("z", [0, psi]).T, **ANGSTYLE)
arrowarc3d(ax, *vecsr("-z", [0, psi]).T, **ANGSTYLE)

# plot ox2y2z2 axes
a = Arrow3D([o[0], x2[0]], [o[1], x2[1]], [o[2], x2[2]], **ARROWOPTS)
ax.add_artist(a)
a = Arrow3D([o[0], y2[0]], [o[1], y2[1]], [o[2], y2[2]], **ARROWOPTS)
ax.add_artist(a)
a = Arrow3D([o[0], z2[0]], [o[1], z2[1]], [o[2], z2[2]], **ARROWOPTS)
ax.add_artist(a)

# draw dotted arc in x1z1 plane
ax.add_artist(Arc3D(*Rz(psi).dot(vecs("-y", [-5, 105])).T, **ARCSTYLE))

# mark y1 rotation angles (theta)
arrowarc3d(ax, *Rz(psi).dot(vecsr("y", [0, theta])).T, **ANGSTYLE)
arrowarc3d(ax, *Rz(psi).dot(vecsr("-y", [0, theta])).T, **ANGSTYLE)

# plot ox3y3z3 axes
a = Arrow3D([o[0], x3[0]], [o[1], x3[1]], [o[2], x3[2]], **ARROWOPTS)
ax.add_artist(a)
a = Arrow3D([o[0], y3[0]], [o[1], y3[1]], [o[2], y3[2]], **ARROWOPTS)
ax.add_artist(a)
a = Arrow3D([o[0], z3[0]], [o[1], z3[1]], [o[2], z3[2]], **ARROWOPTS)
ax.add_artist(a)

# draw dotted arc in y2z2 plane
ax.add_artist(Arc3D(*Rz(psi).dot(Ry(theta).dot(vecs("x", [-5, 125]))).T, **ARCSTYLE))

# mark x2 rotation angles (phi)
arrowarc3d(ax, *Rz(psi).dot(Ry(theta).dot(vecsr("x", [0, phi]))).T, **ANGSTYLE)
arrowarc3d(ax, *Rz(psi).dot(Ry(theta).dot(vecsr("-x", [0, phi]))).T, **ANGSTYLE)

# add label for origin
ax.text(0.0, 0.0, -0.05, r"$o$", **TEXTOPTS)

# add labels for x axes
ax.text(1.1 * x0[0], 1.1 * x0[1], 1.1 * x0[2], r"$x_0$", **TEXTOPTS)
ax.text(1.1 * x1[0], 1.1 * x1[1], 1.1 * x1[2], r"$x_1$", **TEXTOPTS)
ax.text(1.1 * x2[0], 1.1 * x2[1], 1.1 * x2[2], r"$x_2, x_3$", **TEXTOPTS)

# add labels for y axes
ax.text(1.1 * y0[0], 1.1 * y0[1], 1.1 * y0[2], r"$y_0$", **TEXTOPTS)
ax.text(1.1 * y1[0], 1.1 * y1[1], 1.1 * y1[2], r"$y_1, y_2$", **TEXTOPTS)
ax.text(1.1 * y3[0], 1.1 * y3[1], 1.1 * y3[2], r"$y_3$", **TEXTOPTS)

# add labels for z axes
ax.text(1.1 * z0[0], 1.1 * z0[1], 1.1 * z0[2], r"$z_0, z_1$", **TEXTOPTS)
ax.text(1.1 * z2[0], 1.1 * z2[1], 1.1 * z2[2], r"$z_2$", **TEXTOPTS)
ax.text(1.1 * z3[0], 1.1 * z3[1], 1.1 * z3[2], r"$z_3$", **TEXTOPTS)

# add psi angle labels
m = 0.55 * ((x0 + x1) / 2.0)
ax.text(m[0], m[1], m[2], r"$\psi$", **TEXTOPTS)
m = 0.55 * ((y0 + y1) / 2.0)
ax.text(m[0], m[1], m[2], r"$\psi$", **TEXTOPTS)

# add theta angle labels
m = 0.55 * ((x1 + x2) / 2.0)
ax.text(m[0], m[1], m[2], r"$\theta$", **TEXTOPTS)
m = 0.55 * ((z1 + z2) / 2.0)
ax.text(m[0], m[1], m[2], r"$\theta$", **TEXTOPTS)

# add phi angle labels
m = 0.55 * ((y2 + y3) / 2.0)
ax.text(m[0], m[1], m[2], r"$\phi$", **TEXTOPTS)
m = 0.55 * ((z2 + z3) / 2.0)
ax.text(m[0], m[1], m[2], r"$\phi$", **TEXTOPTS)

# show figure
ax.view_init(elev=-150, azim=60, roll=0)
ax.set(xlim=[-0.46, 1.06], ylim=[-0.59, 1.06], zlim=[-0.11, 1.03])
ax.set_axis_off()
plt.ion()
plt.show()

result: https://s3nd.pics/post/68f2b73c8b58d466e5f5998b

more info

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

79793438

Date: 2025-10-17 21:33:22
Score: 0.5
Natty:
Report link

🧩 Why Safari needs double tap on links (and the simple fix)

In iOS Safari, tapping a link sometimes requires two taps — the first activates the :hover state, and the second actually follows the link.
This happens because Safari doesn’t initialize touch events until a touchstart listener exists on the page.

You can fix it globally with a single line of JavaScript:

document.addEventListener('touchstart', () => {}, { passive: true });

This tells Safari:

“This page handles touch events — treat taps as immediate clicks.”

After adding this, links and buttons respond instantly with a single tap, while the { passive: true } option ensures it won’t block scrolling or cause performance issues.


Safe to use: yes, it’s a no-op listener.
📱 Affects: only iOS Safari (WebKit).
💡 Why it works: it forces Safari to initialize its touch event system early, avoiding the hover-delay behavior.

Reasons:
  • Blacklisted phrase (0.5): i need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Flart

79793430

Date: 2025-10-17 21:11:18
Score: 1.5
Natty:
Report link

Hopefully this will soon be a problem of the past.
I just merged a mitigation in LLVM that should prevent this false positive error. See: https://github.com/llvm/llvm-project/pull/159618

The PR makes it so that catch parameters are not instrumented on Windows (instrumenting them correctly is complex), which should prevent this issue altogether. It means less coverage (inside a catch-block), but in practice it should mean we can run ASan on more unmodified Windows try-catch code.

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

79793417

Date: 2025-10-17 20:38:12
Score: 2
Natty:
Report link

Yes, it does. When you define an entity some fields can be null or empty. Suppose you design an model contact name field which can be null. The Django Template System (DTS) will render it as None. Therefore, you could provide a more adequate display value: a default_if_none:"--", for example.

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

79793413

Date: 2025-10-17 20:29:10
Score: 1
Natty:
Report link

No clue why CopyFromRecordset wouldn't dump the data for these 2 systems but with the help from @frankball, copying the data into a variant, then looping through each value in the variant and writing it to a cell got it to work. Since I'm writing the field names in the first row, need to skip down to second row when writing the array. Final code:

Public Sub SendRecordsettoExcel(Rs As DAO.Recordset)
Dim intMaxCol As Integer
Dim intMaxRow As Integer

Dim objXL As Object
Dim objWkb As Object
Dim objSht As Object
Dim vaTmp() As String
Dim x, y As Long
Dim records As Variant
Dim FineColumnLetter As String
Dim BirthYearColumnLetter As String

On Error GoTo ErrorHandler

    If Not Rs.EOF Or Not Rs.BOF Then

        intMaxCol = Rs.Fields.Count
        If Rs.recordCount > 0 Then
          Rs.MoveLast
          Rs.MoveFirst
          intMaxRow = Rs.recordCount + 1
          Set objXL = CreateObject("Excel.Application")
          With objXL
            '.Visible = True
            Set objWkb = .Workbooks.Add
            Set objSht = objWkb.Worksheets(1)

            ' get the column headers
            ReDim vaTmp(Rs.Fields.Count)
            For x = 0 To Rs.Fields.Count - 1
                vaTmp(x) = Rs.Fields(x).Name
                If (Rs.Fields(x).Name = "Fine") Then
                    FineColumnLetter = Chr(x + 65)
                End If
                If (Rs.Fields(x).Name = "BirthYear") Then
                    BirthYearColumnLetter = Chr(x + 65)
                End If
            Next
            objSht.cells(1, 1).Resize(1, Rs.Fields.Count) = vaTmp

            Rs.MoveFirst
            records = Rs.GetRows(intMaxRow)
            For x = 0 To Rs.recordCount - 1
                For y = 0 To Rs.Fields.Count - 1
                    objSht.cells(x + 2, y + 1).Value = records(y, x)
                Next
            Next
          End With
        End If
    End If

ErrorHandler:

    Set objWkb = Nothing
    Set objSht = Nothing
    Set objXL = Nothing
End Sub
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @frankball
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: sleepybadger

79793401

Date: 2025-10-17 19:51:02
Score: 3.5
Natty:
Report link

Oh. Propably didn't check one more important think - whether my notebook is connected to the compute :) After switching from "Connect" to my Cluster it ran. I used unity catalog connection
enter image description here

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

79793389

Date: 2025-10-17 19:37:58
Score: 4
Natty: 5
Report link

Top Thanks for the code it finally works fine :)

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

79793388

Date: 2025-10-17 19:33:57
Score: 1
Natty:
Report link

I had same error in headless mode:

selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable
         (Session info: chrome=141.0.7390.108);

✅ I had solve it by just adding argument: --start-maximized to chrome_options.

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

79793384

Date: 2025-10-17 19:21:54
Score: 3
Natty:
Report link

That is because you wrapped in a try/catch. So the before_insert didn't understand that it should abort. raise some Exception and lets see.

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

79793376

Date: 2025-10-17 19:05:50
Score: 3
Natty:
Report link

Why I Switched Back to jQuery in 2025 (And Why You’re Wrong for Not Doing It)

https://medium.com/@hhartleyjs/why-i-switched-back-to-jquery-in-2024-and-why-youre-wrong-for-not-doing-it-f247b9830fcb

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Starts with a question (0.5): Why I
  • High reputation (-1):
Posted by: Shawn

79793360

Date: 2025-10-17 18:47:46
Score: 1.5
Natty:
Report link

I've wrote a Android in App in which I want to Integrate a Chat via XMPP. I've logged in Facebook with permission for XMPPLogin. But when I want to login in Facebook from XMPP I receive this XML Response:

RCV  (1095775528): <failure xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><not-authorized/></failure></stream:stream>

causing this Error:

SASL authentication failed using mechanism X-FACEBOOK-PLATFORM: 
at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:341)
at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:242)
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Theresa Nuam

79793354

Date: 2025-10-17 18:38:43
Score: 4.5
Natty:
Report link

Look at the migration guide info: https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/client-configuration.html#client-configuration-http

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

79793346

Date: 2025-10-17 18:30:41
Score: 8.5 🚩
Natty: 5
Report link

I hope you’re doing well. I’m currently encountering the same issue with Angular 17 and AngularFire when running unit tests using Jasmine + Karma. The error message says: “AngularFireModule is not provided in AppModule”, even though I’m properly configuring the Firebase providers inside the test setup.

I was wondering if you eventually found a reliable solution or workaround for this? Any insights or updated configuration examples for Angular 17 would be greatly appreciated. Thanks in advance for your help!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (2): was wondering
  • RegEx Blacklisted phrase (3): Thanks in advance
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Laura

79793345

Date: 2025-10-17 18:30:41
Score: 3
Natty:
Report link

Follow-up on Firebase Realtime Database Leaderboard Solution :

Hi @Frank, thanks for the answer! 🙏

I was able to solve it by updating the query:


var task = reference.Child("users")  
    .OrderByChild("levelContainer/highestScore")  
    .StartAt(currentUserScore, userId)  
    .GetValueAsync();

What I have achieved :

Follow-up Questions :

  1. Would Firestore be a better choice for this type of use case where I need to query/search over a large list of users?
  2. I’ve set the rule as you mentioned — but does setting .indexOn also sort the data in the Firebase console UI? (Because it didn’t appear sorted there.)
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (0.5): 🙏
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Frank
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Oozeer

79793343

Date: 2025-10-17 18:22:39
Score: 4.5
Natty:
Report link

My tag is Gael_et_co sry about that ^^

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

79793340

Date: 2025-10-17 18:20:38
Score: 0.5
Natty:
Report link

I know this was from a while ago but this fixed the issue I was having of the wrong schema being used when bringing an existing report from one environment to another, which there doesn't seem to be a clear answer for anywhere but here. This was an ideal solution because it removed the schema from the query, which allows us to easily move the report around environments.

For your question, I'm sure you've already solved it but you can duplicate your error by copying your SQL query into a standard SQL Developer interface which will tell you where the problem is more specifically. I'm guessing you may be missing a synonym or something.

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

79793338

Date: 2025-10-17 18:19:38
Score: 0.5
Natty:
Report link

I hope that you have resolved your issue by now.

Please note that rbibutils doesn't depend on any R packages outside base R. In fact, it is pure C within base R. The fact that in the log provided by you, stuff is loaded from RcppEigen and StanHeaders (with which rbibutils has nothing to do) suggests that on your system some compiler related paths are corrupted to look into places where they should not.

You certainly don't need to change any R settings despite what some answers here suggest. Of course, if you can install on your system a pre-prepared binary of rbibutils that will do (there are such binaries for the major Linux distributions).

As the author of rbibutils, I am always ready to consider bug reports, though this doesn't seem to be the case.

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

79793328

Date: 2025-10-17 18:04:34
Score: 2
Natty:
Report link

The problem of huge tree created by looping is solved in my product Tabbydb from KwikQuery.

Please refer to KwikQuery llc

There is a sample note book button where you can compare the perf difference in realtime.

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

79793314

Date: 2025-10-17 17:48:31
Score: 0.5
Natty:
Report link

You are hitting undefined behaviour by dereferencing a pointer which is not valid. Anything can happen. And no, the other pointer is not reset to nullptr when the first one is, these are independent variables.

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

79793304

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

You can download prebuilt mesa3d dll's these days. One example. Cheers!

Reasons:
  • Blacklisted phrase (1): Cheers
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: rogerdpack

79793290

Date: 2025-10-17 17:13:23
Score: 1
Natty:
Report link

I have also seen this issue and don't understand it.
Despite "ms-python.debugpy" being declared in the .devcontainer.json customizations.vscode.extensions it is not installed. I have to manually installenter image description here

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

79793283

Date: 2025-10-17 17:02:21
Score: 0.5
Natty:
Report link

You could also inline the compare directly if you prefer, see below:

enum State {
  A = "A",
  B = "B",
  C = "C"
}

const prio: [State, number][] = [
  [State.A, 23],
  [State.B, 2],
  [State.C, 5]
];

prio.sort((a, b) => b[1] - a[1]);
console.log(prio);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: colonel

79793281

Date: 2025-10-17 17:01:21
Score: 0.5
Natty:
Report link

That error usually appears when Facebook’s Business Manager endpoint hits an internal validation issue — often related to permissions or the parent account’s ownership status. Try these steps:

  1. Double-check that the parent Business Manager has admin access and valid payment setup.

  2. Use the latest API version (v19 or higher). Older versions sometimes throw generic Code 1 errors.

  3. Verify your access token scopes: business_management, pages_manage_metadata, and ads_management.

  4. If you’re calling the endpoint in quick succession, add a short delay (Facebook occasionally rate-limits /owned_businesses).

  5. Finally, clear any pending Business creation requests in the parent manager before retrying.

If everything checks out and it still returns Subcode 1690192, it’s likely a temporary backend fault — retry after a few hours or open a Business Support ticket with your request ID.

By the way, interesting how meta-platform integrations now mirror decentralized systems — data ownership and verification layers almost resemble transparent ledgers used in blockchain or projects like Lucky Block, a casino platform that also focuses on verifiable fairness. Different field, same logic: transparent data flow and trust.

Reasons:
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: lucky block

79793271

Date: 2025-10-17 16:44:16
Score: 5
Natty: 4.5
Report link

It looks like url rewrite has been added:
https://aws.amazon.com/blogs/networking-and-content-delivery/introducing-url-and-host-header-rewrite-with-aws-application-load-balancers/

but I can't get it to work :(

Reasons:
  • Blacklisted phrase (1): :(
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jeremy Mordkoff

79793246

Date: 2025-10-17 16:09:08
Score: 1
Natty:
Report link

To enable Windows built-in firewall rules independently of localization (i.e., regardless of system language or region), you can use PowerShell or Command Prompt with rule identifiers that are consistent across locales.

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

79793238

Date: 2025-10-17 15:58:06
Score: 3.5
Natty:
Report link

https://sps-support.honeywell.com/s/article/Sample-IPL-Format

This is basic syntax for IPL. hope it helps

Reasons:
  • Whitelisted phrase (-1): hope it helps
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user31707870

79793235

Date: 2025-10-17 15:51:04
Score: 1
Natty:
Report link

<body onLoad="thoughts_authors()">
<script>
function thoughts_authors()
{

var authors=new Array()
authors[0] = "Charles Schulz";
authors[1] = "Jack Wagner";
authors[2] = "Mark Twain";
authors[3] = "Oscar Wilde";
authors[4] = "David Letterman";
authors[5] = "Lily Tomlin";

var thoughts=new Array()
thoughts[0] = "Good Day Is Today";
thoughts[1] = "Style Is What You Choose";
thoughts[2] = "Be The Best Version Of You.";
thoughts[3] = "Truth Along Triumphs.";
thoughts[4] = "How can Life Be Devastating When YOU Are Present in It.";
thoughts[5] = "Believe In What You Say";

index = Math.floor(Math.random() * thoughts.length);

alert(thoughts[index]+ "-" + authors[index]);

}
</script>

Reasons:
  • Blacklisted phrase (1): Good Day
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: عاصم

79793230

Date: 2025-10-17 15:47:03
Score: 3.5
Natty:
Report link

I encountered the same problem in windows, i have try to set the proxy but not work

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

79793225

Date: 2025-10-17 15:44:03
Score: 3.5
Natty:
Report link

I think you should mount it before assigning it to your tablespace.

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

79793209

Date: 2025-10-17 15:27:59
Score: 0.5
Natty:
Report link

I had similar wondering and this is what I found on AWS:

So Names of the attribute can play significant role it seems.

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

79793203

Date: 2025-10-17 15:17:57
Score: 1.5
Natty:
Report link

ECC/ECDSA is not supported for Code Signing and Time Stamping Use as indicated here:

https://learn.microsoft.com/en-us/security/trusted-root/program-requirements#b-signature-requirements

Please note that signing with a certificate stored on an HSM may be limited by the algorithms supported by the HSM. Some may support ECDSA but not the RSA required for Microsoft Authenticode.

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

79793200

Date: 2025-10-17 15:17:57
Score: 1.5
Natty:
Report link

Main problem is analyzer in version 8.4. you must downgrade to 8.3.

Run

dart pub downgrade analyzer

and now command

dart run build_runner build

works!

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Petr Kopečný

79793198

Date: 2025-10-17 15:15:56
Score: 1
Natty:
Report link

I have Zscaler on my Windows 11 machine. To make npm work, I did 2 things:

  1. Exported "ZScaler Root CA" certificate in ".cer" format with Certificates app that is part of Windows

  2. Added environment variable NODE_EXTRA_CA_CERTS="C:\Certificates\ZScalerRootCert.cer" (location and the name of the file can be anything)

    Restart your terminal after this.

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

79793188

Date: 2025-10-17 15:06:53
Score: 1
Natty:
Report link

You can do state:open linked:pr to see the type 3 (Issues that are resolved but not yet merged)
and state:open -linked:pr to see the type 4 (Issues which are open but have no pull requests)

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

79793187

Date: 2025-10-17 15:03:53
Score: 4
Natty:
Report link

Yyghnzbsbsbshdhd

Jsjsjshshshshshshshshshshhshshs

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: Danf

79793186

Date: 2025-10-17 15:03:53
Score: 3.5
Natty:
Report link

Yep, RDD API is not supported on Serveless

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

79793175

Date: 2025-10-17 14:55:51
Score: 1.5
Natty:
Report link

I find solution, use this code:

<Button @click="($e) => this.$refs.menu.toggle($e)" />

This seems to be a "feature" of the @click call in Primevue v4 Button components (in v3 this works without closure function).

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @click
  • Low reputation (0.5):
Posted by: Stanislav Butsenko

79793162

Date: 2025-10-17 14:35:45
Score: 5
Natty: 5.5
Report link

what is this for I wanna learned

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): what is this for I
  • Low reputation (1):
Posted by: daniel

79793155

Date: 2025-10-17 14:30:43
Score: 2.5
Natty:
Report link

Was running into similar issue, but found that adding a slight delay in script between creating lambda role and creating lambda function with role attached fixed issue. Anecdotal, but it fixed my similar issue.

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

79793151

Date: 2025-10-17 14:26:42
Score: 2.5
Natty:
Report link

You don't need to invent something new if it works perfect. But if you're really interesting, try to do websocket using different language for example C++. Once you tried it you'd understand why its made like that.

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

79793147

Date: 2025-10-17 14:24:41
Score: 2.5
Natty:
Report link

https://i.sstatic.net/7oCFXgCe.png

Then I say use the pastebin raw link instead of php, though I'm not entirely sure if its what you want.

https://pastebin.com/raw/1E9hZLfc

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

79793138

Date: 2025-10-17 14:12:38
Score: 0.5
Natty:
Report link

Actually, the same is true for other job schedulers as well. I have run both SLURM and LSF clusters during my career, and both will suffer badly from repeated polling. SLURM suffers worse; LSF's design was altered in around LSF 7.0 to split the scheduler from the master batch daemon, which made it considerably more resilient to abuse from repeated polling in tight loops, but it is still vulnerable to the same problem.

HPC systems are like F1 racing cars. They are designed for performance, and need to be driven correctly to get the best performance out of them. F1 car designers assume the driver is skilled and knows what they're doing. HPC systems are the same; the designers of these schedulers assume that the HPC users are skilled and will use them correctly.

Repeated polling is just making the compute work for no benefit. If your job is going to take several hours to run, polling every 5 minutes is going to make no significant difference to your experience compared to polling every 5 seconds, but it'll be a lot nicer for the scheduler and for your fellow users.

If your jobs are running so quickly that polling every few seconds is necessary, then your workflow probably has bigger problems. Very small jobs are usually very inefficient, because the total time to your results will be dominated by scheduler overhead and queueing time, rather than by actual workload execution time, and in such cases it makes sense to batch up your workload so that each job actually runs a large number of tasks in succession, so that the execution time dominates the overall runtime.

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

79793137

Date: 2025-10-17 14:12:38
Score: 3
Natty:
Report link

You can change the text but unfortunately NOT the color

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

79793126

Date: 2025-10-17 14:03:36
Score: 1.5
Natty:
Report link

A newer way to expand/insert all items in an object is using the ${{ insert }} key:

parameters:
- name: Location
  type: string
  default: 'westus'

extends:
  template: Template.yml
  parameters:
    ${{ insert }}: ${{ parameters }}

Docs: https://learn.microsoft.com/en-us/azure/devops/pipelines/process/template-expressions?view=azure-devops#insertion

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

79793122

Date: 2025-10-17 13:59:35
Score: 2
Natty:
Report link

Posted the same question on microsoft's Q&A, and had a working solution:

https://learn.microsoft.com/en-us/answers/questions/5586699/microsoft-graph-me-events-returns-401-with-empty-b

Reasons:
  • Whitelisted phrase (-2): solution:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: The_Thinker

79793109

Date: 2025-10-17 13:45:31
Score: 1.5
Natty:
Report link

For posterity sake, I was finally able to track down an answer to this issue. The documentation is not aligned with the actual behavior of the API.

From Michael Gurch at Google

Apologies for the confusion surrounding this issue. I was able to speak to a member of the product team on this. They informed me that the limit is 1,200 phrases total across all PhraseSets referenced in a single recognition request. All the phrase sets are merged into one prior to the validation essentially, and then processed.

I have requested that they update the documentation related to quotas to align with this constraint https://cloud.google.com/speech-to-text/v2/quotas#adaptation

I further requested they update the migration guide from v1 to v2 to call out this change in constraints that was introduced as it can break existing implementations like it did to mine. https://cloud.google.com/speech-to-text/v2/docs/migration

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

79793095

Date: 2025-10-17 13:25:26
Score: 3
Natty:
Report link

It happened to me before, the table was occupied due to a db trigger that did some queries. Indexing resolved it.

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

79793078

Date: 2025-10-17 13:06:21
Score: 1.5
Natty:
Report link

I get frequent and varied error messages under "Summary of failures for Google Apps Script" I haven't seen my actual script process FAIL but i get all kinds of messages like this.

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

79793068

Date: 2025-10-17 12:59:19
Score: 2.5
Natty:
Report link

Disable clipboard synchronize for all emulators

Settings -> Tools -> Emulator -> Synchronize Clipboard

Source: https://issuetracker.google.com/issues/227658377#comment4

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
Posted by: Paulo Pereira

79793059

Date: 2025-10-17 12:42:15
Score: 1.5
Natty:
Report link

testImplementation("androidx.compose.ui:ui-test-junit4-accessibility:1.9.3")

composeTestRule.enableAccessibilityChecks()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Low reputation (0.5):
Posted by: johngray1965