79695682

Date: 2025-07-09 13:16:20
Score: 0.5
Natty:
Report link
import Svg, { Image } from 'react-native-svg';
<Marker
    coordinate={coordinates}
    title="Title"
      >
    <Svg width={60} height={60} style={styles.image}>>
      <Image
        href={imageUrl ?? undefined}
        width={60}
        height={60}
      />
    </Svg>
</Marker>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Naveed Shah

79695673

Date: 2025-07-09 13:12:18
Score: 2
Natty:
Report link

getExternalStoragePublicDirectory() was deprecated in Android 10 but was undeprecated in API level 32, Android 12. That's why it's working fine on later versions and doesn't show a deprecation warning.

https://developer.android.com/sdk/api_diff/32/changes/android.os.Environment

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

79695671

Date: 2025-07-09 13:11:17
Score: 13
Natty: 6
Report link

i'm facing the same problem. Have you solved it ?

Reasons:
  • Blacklisted phrase (1): m facing the same problem
  • Blacklisted phrase (2): Have you solved it
  • RegEx Blacklisted phrase (1.5): solved it ?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i'm facing the same problem
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user31002404

79695665

Date: 2025-07-09 13:05:15
Score: 1.5
Natty:
Report link

What helped me:

Clear / Delete the Extension-Cache:

Close VS Code

Delete the content inside the workspaceStorage.

~/Library/Application Support/Code/User/workspaceStorage

For Windows it is:

C:\Users\username\AppData\Roaming\Code\User\workspaceStorage

And it should be faster / normal again

At least that was my final step and its smoothly running again 🙏

Reasons:
  • Blacklisted phrase (0.5): 🙏
  • Has code block (-0.5):
  • Starts with a question (0.5): What help
  • Low reputation (1):
Posted by: Lenzia

79695664

Date: 2025-07-09 13:05:15
Score: 1.5
Natty:
Report link

The latest security update of git, on at least Ubuntu 22.04 LTS (jammy), is buggy and breaks both gitk and git gui, And it seems the same bug affects Ubuntu 18.04.

The bug on Ubuntu launchpad: https://bugs.launchpad.net/ubuntu/+source/git/+bug/2116253

Git vulnerabilities that are fixed in the (partially broken) security update: https://ubuntu.com/security/notices/USN-7626-1

Since it's a security vulnerability it may not be wise to revert to an older version, unless you only use the affected commands on trusted repositories.

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

79695663

Date: 2025-07-09 13:04:15
Score: 1.5
Natty:
Report link

This is a simplistic example, but imagine if you needed 100 nodes of some application to serve traffic. If you wanted to have 100 still running after one AZ out of two went down, you would need to run 200 nodes, 100 per AZ. If you spread your application over 3 AZs, you would only need to run 50 in each AZ for a total of 150 to still have 100 when one AZ went down.

As you add more AZs to this architecture, you still benefit, but with diminishing returns.

This article explains the idea in more detail, and references Chapter 2 of Architecting for Scale, 2nd Edition by Lee Atchison:

https://shekhargulati.com/2022/10/06/why-an-architecture-with-three-availability-zones-is-better-than-the-one-with-two-availability-zones/

Reasons:
  • Blacklisted phrase (1): This article
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Matthew Daumen

79695661

Date: 2025-07-09 13:03:14
Score: 3
Natty:
Report link

picker.subviews[1].backgroundColor = UIColor.clear

this is how i remove color of selected item but do it after UIPickerView is loaded perfectly other wise it's going to crash

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

79695660

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

for current version of openblas/lapack (v0.3.30):

#define LAPACK_COMPLEX_CPP
#include <complex>
#include <lapacke.h> 
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Fl0

79695659

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

I was facing a similar issue while working with Magento 2 and the Hyva theme.

After some investigation, I found that Tailwind CSS v4 is currently not supported by Hyvä.
I downgraded to Tailwind CSS v3, and everything started working as expected.

You can install it using:

npm install tailwindcss@3

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: S.P

79695654

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

Is this code used in pocket android app as well? BTW while running I got below error:

java.security.NoSuchAlgorithmException: PBEWithSHA256And256BitAES-CBC-BC SecretKeyFactory not available

Thanks,

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is this code use
  • Low reputation (1):
Posted by: pras v

79695642

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

You need a different type of auth token than what you are using.

This article talks about using a PowerShell library to get it using AADInternals

$teamsToken = Get-AADIntAccessTokenForTeams

Source:
https://medium.com/@mozzeph/automate-setting-work-location-in-teams-outlook-poc-deb7b05de08d

Reasons:
  • Blacklisted phrase (1): This article
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • High reputation (-2):
Posted by: John

79695641

Date: 2025-07-09 12:51:10
Score: 0.5
Natty:
Report link

You’re definitely not alone — GitHub Advanced Security and Azure DevOps don’t offer the same level of features, even though they’re both Microsoft tools. GitHub’s security tooling, especially secret scanning and SAST, is more mature at this point. That “scan for generic passwords” option you mentioned is one of many features that just don’t exist in Azure DevOps yet.

We tested this ourselves — same repo in both platforms, and GitHub consistently flagged more secrets and potential issues. Azure DevOps, while functional, feels a bit behind and lacks the configurability GitHub has. From what I’ve seen, Microsoft isn’t aiming for full feature parity — they seem to treat the two as separate ecosystems.

The real challenge is maintaining consistency when your codebases live in both platforms. Right now, we’re handling it by adding an extra layer of scanning into our CI/CD pipelines, separate from what the platforms provide. That way, we get uniform results no matter where the repo lives.

So yeah — it’s not just a delay or a settings issue. The platforms are genuinely different. If consistent security checks matter, it’s worth building a layer of abstraction yourself, or using tools that don’t depend on the platform's native features.

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

79695639

Date: 2025-07-09 12:50:10
Score: 1.5
Natty:
Report link

Same here, it has stopped working, probably the error is related to git instead of gitk, I can see the following in the package management history:

Upgrade: gitk:amd64 (1:2.34.1-1ubuntu1.12, 1:2.34.1-1ubuntu1.13)

Upgrade: git:amd64 (1:2.34.1-1ubuntu1.12, 1:2.34.1-1ubuntu1.13)

Upgrade: git-man:amd64 (1:2.34.1-1ubuntu1.12, 1:2.34.1-1ubuntu1.13)

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: José González Monlleó

79695630

Date: 2025-07-09 12:45:09
Score: 4
Natty:
Report link

Yes I forgot to return the function value

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

79695625

Date: 2025-07-09 12:39:07
Score: 0.5
Natty:
Report link

The Server must be configured to trust the Client certificate as well. Have you set that up?

Another possibility is that the Server is using a CA signed certificate instead of a self-signed, in which case you must ensure the CA certificate is trusted on your side.

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

79695618

Date: 2025-07-09 12:34:05
Score: 1.5
Natty:
Report link

Closing the loop on this for anyone encountering this problem, in the app's MassTransit config (the first code block), you must specify the queue name here:

cfg.ReceiveEndpoint(<QUEUE NAME GOES HERE>, e =>
{
    e.ConfigureConsumer<RequestConsumer_MyConsumer>(context);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user621713

79695615

Date: 2025-07-09 12:31:05
Score: 2
Natty:
Report link

(Unable to add a comment right now due to low rep)

But have you tried loading within a custom scope?

custom_objects = {"CustomLayer": CustomLayer, "custom_fn": custom_fn}

with keras.saving.custom_object_scope(custom_objects):
    reconstructed_model = keras.models.load_model("custom_model.keras")
Reasons:
  • Whitelisted phrase (-1): have you tried
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: smallio

79695613

Date: 2025-07-09 12:31:04
Score: 9.5
Natty:
Report link

@adam-nagy - thank you for your response!

The error you get (the 'undefined' TypeError) is the same error I get if I try loading through the console directly in B360's viewer. But there I can also see the DiffTool source code being present when inspecting 'Sources' through the browser's dev tools. That is not the case in our own app - here the DiffTool source code is fx not present at all. I have also tried the snippet that you use in your test project (so loading with a config), but it doesn't seem to work for me (see image) - I still get the same error.

Screenshot of loading with config

Seeing as the DiffTool seem to not be present at all, I wonder if there's something wrong in our base setup?

Reasons:
  • Blacklisted phrase (0.5): thank you
  • RegEx Blacklisted phrase (1): I still get the same error
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): get the same error
  • Ends in question mark (2):
  • User mentioned (1): @adam-nagy
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Niklas

79695604

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

I changed my "Auto Save" option to "onFocuschange" without turning off my "format on save" option and it worked.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Stessy Enni

79695593

Date: 2025-07-09 12:16:00
Score: 2.5
Natty:
Report link

In VSCODE search in the settings the word prune.
then enable the checkbox "Prune when fetching" for Git extension.

enter image description here

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

79695580

Date: 2025-07-09 12:04:57
Score: 1.5
Natty:
Report link

This is the only solution which worked with me. Restarting WinNAT will cause Windows to release ports that it's locking from use.

net stop winnat
net start winnat

Thanks to Matt

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: compliance

79695575

Date: 2025-07-09 11:59:56
Score: 3
Natty:
Report link

Use the External Lib Folding plugin. It organizes External Libraries into a hierarchical tree structure, solving the auto-expansion issue with "Autoscroll from Source"

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

79695573

Date: 2025-07-09 11:58:55
Score: 2
Natty:
Report link

Günümüz şehir hayatında yarışmak kaçınılmaz hale geldi. Özellikle İstanbul gibi trafiği yoğun bir şehir de yaşıyorsanız, gönderilerinizin zamanında ulaşması her zamankinden daha zor bir hâl almaktadır. Tam da bu gibi durumlarda, acil kurye hizmetinizde. Beklemek istemediğiniz gönderiler, son dakikada çıkması gereken evraklar veya hızlı ulaşması gereken paketler için hızlı ve güvenli bir çözüme ihtiyaç duyarsınız. Firmamız, İstanbul’un tüm ilçelerine hızlı teslimat yapmaktadır. Kurye hizmeti almadan önce en çok sorulan sorulardan bir tanesi de fiyat konusudur. Her gönderi farklı özelliklerde olduğu için hepsinin ayrı fiyatlandırma yapılmaktadır. Bu nedenle firmamızın web sitesinde yer alan kurye fiyat hesaplama aracı, bu süreci sizler için kolaylaştırır.

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

79695572

Date: 2025-07-09 11:58:55
Score: 1
Natty:
Report link

✅ What To Do After Making SEO Changes:

  1. Resubmit Your Sitemap in Google Search Console
    – This helps notify Google of changes faster.

  2. Use the URL Inspection Tool
    – Submit specific pages (especially ones you edited) to “Request Indexing.”

  3. Wait Patiently
    – Google typically takes a few days to a few weeks to re-crawl and reflect changes. For low-authority or new sites, it may take longer.

  4. Track Changes in Google Search Console & Analytics
    – Monitor impressions, clicks, and rankings over the next 2–4 weeks.


📈 When Will You See SEO Results?

Since you’ve just started and are experimenting with meta tags and body content, don’t expect overnight results. Normally:


💡 Pro Tip from BubbleWorld

If you’re unsure what’s working and what’s not, SEO audits and content optimization services can help you grow faster without the guesswork. At BubbleWorld, we help websites like yours improve indexing, visibility, and Google rankings through strategic content updates and technical SEO.

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

79695571

Date: 2025-07-09 11:58:55
Score: 3.5
Natty:
Report link

That was very useful. It fixed my problem

Thanks !

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Farid Chikh

79695568

Date: 2025-07-09 11:55:55
Score: 2.5
Natty:
Report link

I think that in JSON, you cannot have duplicate keys at the same level of an object. that each key in a JSON object must be unique.

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

79695561

Date: 2025-07-09 11:51:53
Score: 1
Natty:
Report link

# Create the data frame

data <- data.frame(

Weight = c(20, 25, 30, 35, 40, 45, 50, 55, 60, 65),

Thorax_L_Con = c(15.4, 15.9, 16.3, 16.8, 17.0, 17.5, 17.9, 18.1, 18.4, 18.7),

Thorax_L_Hei = c(15.9, 16.5, 16.9, 17.2, 17.7, 18.4, 18.8, 19.6, 19.9, 20.1)

)

# Set margins: bottom=2in, left=2in, top=1in, right=1in

# Convert inches to lines (approximate: 1 inch ≈ 4.8 lines)

par(mar = c(4.8, 9.6, 4.8, 9.6))

# Plot the first line

plot(

data$Weight, data$Thorax_L_Con,

type = "b",

pch = 16, # solid circle

lty = 1, # solid line

col = "blue",

xlab = "Weight (cg)",

ylab = "Thorax Measurements (mm)",

ylim = range(c(data$Thorax_L_Con, data$Thorax_L_Hei))

)

# Add the second line

lines(

data$Weight, data$Thorax_L_Hei,

type = "b",

pch = 17, # triangle

lty = 2, # dashed line

col = "red"

)

# Add a legend

legend(

"topleft",

legend = c("Thorax_L_Con", "Thorax_L_Hei"),

pch = c(16, 17),

lty = c(1, 2),

col = c("blue", "red")

)

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

79695558

Date: 2025-07-09 11:45:52
Score: 1.5
Natty:
Report link

Okay creating ViewModel at Top Level in Component and then passing it down to the lower Composable Components is One of the solution u can use it for your project but one of the best solution i encounter at my project is using "ViewModelStoreOwner"

here is the one by one step and other solution u can use in you project according to your need

Be Aware in this i use Koin for DI insted of Dagger Hilt

Problem Summary

Currently, I am facing an issue in handling ViewModel across two different Composables.

Scenario

I use the same ViewModel in two different Composables: Composable A and Composable B.

I create the ViewModel instance using:  val viewModel: MyViewModel = koinViewModel()

Issue Observed

When I navigate from Composable A to Composable B using:

navController.navigate("${NavigationConfig.SWITCH_TEAMS_SCREEN}/${data_one }/${data_two}/${data_three}")

the ViewModel in Composable B acts as a new instance, resulting in:  Loss of all data created or retrieved in Composable A.

Root Cause

Koin creates a new ViewModel instance per destination because by default:   Each navigation destination recomposes independently and requests its own ViewModel and The ViewModel is scoped to the current navigation back stack entry.

Impact

Data loss between composables using the same ViewModel.

Redundant API calls or data recreation, leading to performance issues and inconsistent user experience.

Solution one : Share the data which is required to the composable B through Navigation 
Solution Two : share the create the ViewModel  at top level and share it to the lower components .

Solution Three: By default:

A ViewModel's scope is tied to either:

The Composable lifecycle (recreated on recomposition or navigation), or

The Activity/Fragment lifecycle if created in them.

What changes with viewModelStoreOwner?  When you use:

val parentEntry = remember { navController.getBackStackEntry(NavigationConfig.MATCH_GRAPH) }

val viewModel: MatchScreenViewModel = koinViewModel(viewModelStoreOwner = parentEntry)
and use this view model in that composable .
Also remember , to access this same view model object in another screen evern after navController.navigate(). you need to use val parentEntry = remember { navController.getBackStackEntry(NavigationConfig.MATCH_GRAPH) }

val viewModel: MatchScreenViewModel = koinViewModel(viewModelStoreOwner = parentEntry)
for creating view model object in new compose. : it will work fine in all those screen which come under the defined NavGraph .

You are specifying that:

The NavGraph itself acts as the ViewModelStoreOwner.

The ViewModel instance is now scoped to the MATCH_GRAPH NavGraph route.

✅ Why is this beneficial?

Shared instance across multiple destinations within the NavGraph.

Both Composable A and Composable B will use the same ViewModel instance.

Data fetched or modified in one composable will be instantly available in the other.

Lifecycle-safe.

The ViewModel will remain alive as long as the MATCH_GRAPH NavGraph is in the back stack.

Once the NavGraph is popped from the back stack, the ViewModel is automatically destroyed, ensuring no memory leaks.

Optimized architecture.

Avoids redundant data fetching.

Prevents unnecessary ViewModel recreations, improving performance and user experience.

🔍 How it works internally?

navController.getBackStackEntry(NavigationConfig.MATCH_GRAPH) retrieves the NavBackStackEntry for MATCH_GRAPH.

Passing it as viewModelStoreOwner tells Koin:

“Use this NavGraph’s lifecycle to manage the ViewModel instance.

Compose will now reuse the same ViewModel across all composables under that NavGraph, unless the NavGraph is popped.

Solution Four :  use scope ViewModel but it is applicable for Activity or fragments

(according to https://insert-koin.io/docs/reference/koin-android/viewmodel)

Reasons:
  • RegEx Blacklisted phrase (0.5): Why is this
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Gautam Singh

79695555

Date: 2025-07-09 11:44:51
Score: 6
Natty:
Report link

enter image description here

THIS IS KIND OF MAIN ISSUE SNIPPIT

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

79695540

Date: 2025-07-09 11:37:48
Score: 4.5
Natty:
Report link

@jesvin-palatty and @yoduh (thank you), I've tried to expand on these answers using defineAsyncComponent, the following does indeed work, but I wonder whether my approach would be considered good practice?

<script>
import IconError from '@/components/icons/IconError.vue';
import {defineAsyncComponent} from "vue";

function getIcon(key) {
    return defineAsyncComponent({
        loader: () => import(`@/components/icons/Icon${key}.vue`),
        errorComponent: IconError,
        timeout: 3000
    })
};

</script>
<template>
  <IconBase><component :is="getIcon(item.icon)"></component></IconBase>
</template>
Reasons:
  • Blacklisted phrase (0.5): thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • User mentioned (1): @jesvin-palatty
  • User mentioned (0): @yoduh
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Nicola Zilio

79695539

Date: 2025-07-09 11:36:47
Score: 0.5
Natty:
Report link

I just needed to reinstall the packages I have. Since I am using bun, I had to do the following commands:

> rm bun.lockb
> rm -rf node_modules
> bun i

The problem came from a corrupt and conflicting bun.lockb, and to ensure it's not corrupt, I had to remove it and the node_modules associated to it, and then reinstall the packages.

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

79695537

Date: 2025-07-09 11:32:46
Score: 2
Natty:
Report link

from moviepy.editor import VideoFileClip, AudioFileClip, concatenate_videoclips

# Load audio and clips

audio = AudioFileClip("your_song.mp3")

clip1 = VideoFileClip("clip1.mp4").subclip(0, 5)

clip2 = VideoFileClip("clip2.mp4").subclip(0, 5)

# Combine clips and add music

final = concatenate_videoclips([clip1, clip2])

final = final.set_audio(audio)

final.write_videofile("music_video.mp4", fps=24)

Run

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

79695529

Date: 2025-07-09 11:28:45
Score: 2
Natty:
Report link

In my case it was VPN that were blocking connection both to the rabbit mq server itself as well as to the management web-interface.

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

79695523

Date: 2025-07-09 11:19:43
Score: 0.5
Natty:
Report link

I also encountered this issue today; I am running Pop!_OS 22.04 and could reproduce it with git 2.34.1 (latest).

After updating to the latest stable Git using:

sudo add-apt-repository ppa:git-core/ppa  
sudo apt update  
sudo apt upgrade

# ...
Setting up git (1:2.49.0-2~ppa1~ubuntu22.04.1) ...
Setting up gitk (1:2.49.0-2~ppa1~ubuntu22.04.1) ...
# ...

and git --version reporting git version 2.49.0 I can confirm that this no longer reproduces.

The safe_open_command_redirect seems to only have been introduced since Git 2.43.7 (https://github.com/git/git/commit/67a128b91e25978a15f9f7e194d81b441d603652), so I have no idea why gitk executed that in both our cases.

Maybe there was a mismatch when package maintainers updated the git/gitk packages?

In any case, updating the Git to latest stable seems to side-step this issue for now (but I'm sure that the package maintainers will fix this in the meantime).

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

79695516

Date: 2025-07-09 11:15:41
Score: 1
Natty:
Report link

The solution for me was to upgrade protobuf and use absl::string_view instead of std::string in my proto messages.

// message.proto
edition = "2023";

import "google/protobuf/cpp_features.proto";
option features.(pb.cpp).string_type=VIEW;
// Now each string field will be string_view in generated code.
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Njrslv-yndx-cloud

79695509

Date: 2025-07-09 11:10:40
Score: 1.5
Natty:
Report link

I had the same problem that started today. I don't know how to fix it but you can downgrade an older version of both git-gui and gitk which seems to fix this for me

# show available versions:
apt-cache showpkg gitk

# remove installed version
sudo apt-get remove gitk

# install one version from the apt-cache. For me it was:
sudo apt-get install gitk=1:2.34.1-1ubuntu1

# do the same for git-gui:
sudo apt-get install git-gui=1:2.34.1-1ubuntu1
Reasons:
  • Whitelisted phrase (-1): I had the same
  • RegEx Blacklisted phrase (2): I don't know how to fix
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ivorybabe

79695503

Date: 2025-07-09 11:05:38
Score: 1.5
Natty:
Report link

You can access the sidebar state with alpine like this, and then show your component only when it's open

x-data="{ get isOpen() { return $store.sidebar.isOpen } }" x-show="isOpen"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: kulturman

79695496

Date: 2025-07-09 11:00:37
Score: 8.5
Natty: 9
Report link

Can you explain a little bit more on what you did?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you explain
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (1):
Posted by: VeeruA

79695486

Date: 2025-07-09 10:52:35
Score: 0.5
Natty:
Report link

If you have 100k apartments, querying MapBox’s Tiles Query API for each one directly from the client would be way too much – you’ll quickly hit rate limits and your app will become unresponsive.

What I would do instead:

  1. Set up a backend with a database (PostgreSQL + PostGIS) to act as a cache.

  2. When your app needs to highlight buildings:

    • Send the apartment coordinates to your backend.

    • The backend checks if it already has the building geometry cached for that apartment.

    • If yes, it returns it immediately.

    • If not, it calls the MapBox Tiles Query API for that coordinate, stores the building feature in the database, and returns it to the app.

This way, each apartment only triggers one external API call ever, and future requests are served from your cache. You can also preload buildings in advance if you know which areas users will use.

Then in your Flutter app, load these building geometries as a GeoJSON source and style them however you like (e.g. with fill or extrusion layers).

I’ve used a similar approach for projects with large datasets. Directly querying MapBox for 100k points from the app is not scalable, but using a backend cache makes it feasible and performant.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Marcel R. G. Berger

79695484

Date: 2025-07-09 10:48:34
Score: 2
Natty:
Report link

Once you start doing it, pylint will enforce it for you in that it will inform you if you access an instance variable from another class beginning with underscore. It drives me mad because in the PyDev debugger in eclipse, all such underscore-variables in the Variables view are under a twistie called "protected variables" and if you have to go down several layers in a complicated object containing references to other objects, you have to click through all these twisties, twice as many clicks.

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

79695472

Date: 2025-07-09 10:35:30
Score: 1.5
Natty:
Report link

Add this lines in gradle.properties:

android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=false
android.nonFinalResIds=false
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nam

79695469

Date: 2025-07-09 10:33:30
Score: 3
Natty:
Report link

Try adjusting connection pool settings or increasing timeout, helped in my case with HANA CDS.

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

79695463

Date: 2025-07-09 10:29:29
Score: 1
Natty:
Report link

easiest method

.xxxx {
    overflow: hidden auto; /*(left/right no bounce/scroll) */
    overflow: auto hidden; /*(top/down no bounce/scroll) */
    overflow: hidden; /*(no bounce/scroll)*/
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: mortifia 57

79695459

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

you could use the "linkToFilteredSearchResultsAPI" from the original json to do an HTTP-Request from that logic app to that link. That will give you the needed results.

Best is to activated the managed identity of your logic app and assign it the needed rights on the app insights/log analytics workspace. Then you don't need credentials to obtain the alerts.

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

79695455

Date: 2025-07-09 10:23:27
Score: 1.5
Natty:
Report link

The below expression works

"".join(traceback.format_exception(exception_obj))
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: focus zheng

79695453

Date: 2025-07-09 10:22:27
Score: 1
Natty:
Report link

Just to add on this answer: https://stackoverflow.com/a/73597297/18322745 by @LuckyLooke

You can put the getADPs() function outside the store (e.g. in a separate file called 'ADPService.ts') and the you can fetch them in the store during state initialization as shown below:

import getADPs from '@/services/ADPService.ts';

export const listadoADPs = defineStore("listado", {
  state: () => ({
    adps: getADPs(),
  }),
  getters: {
    ...
  },
});

Then the getADP function can be like:

export default function getADPs() {
  const api = "your API URL";

  return fetch(api)
    .then((response) => response.json())
    .then(({ data }) => (return data))
    .catch((error) => console.log(error));
}
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: David Syengo

79695443

Date: 2025-07-09 10:09:24
Score: 0.5
Natty:
Report link

let use

nuitka --onefile --standalone --enable-plugin=pyqt5 ^

--include-data-dir="C:\Users\TranSon\AppData\Local\Programs\Python\Python310\Lib\site-packages\PyQt5\Qt5\translations\qtwebengine_locales=qtwebengine_locales" ^

--include-data-files="C:\Users\TranSon\AppData\Local\Programs\Python\Python310\Lib\site-packages\PyQt5\Qt5\resources\icudtl.dat=icudtl.dat" ^

--include-data-files="C:\Users\TranSon\AppData\Local\Programs\Python\Python310\Lib\site-packages\PyQt5\Qt5\resources\qtwebengine_resources.pak=qtwebengine_resources.pak" ^

--include-data-files="C:\Users\TranSon\AppData\Local\Programs\Python\Python310\Lib\site-packages\PyQt5\Qt5\resources\qtwebengine_devtools_resources.pak=qtwebengine_devtools_resources.pak" ^

--include-data-files="C:\Users\TranSon\AppData\Local\Programs\Python\Python310\Lib\site-packages\PyQt5\Qt5\resources\qtwebengine_resources_100p.pak=qtwebengine_resources_100p.pak" ^

--include-data-files="C:\Users\TranSon\AppData\Local\Programs\Python\Python310\Lib\site-packages\PyQt5\Qt5\resources\qtwebengine_resources_200p.pak=qtwebengine_resources_200p.pak" ^

main.py

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

79695430

Date: 2025-07-09 09:59:21
Score: 2
Natty:
Report link
I am getting compilation issue with -std=c++17 or c++20 , why so ?

root@94275cd4851f:/workspace/*************# cat test.cpp 
#include <iostream>
#define JOURNAL_METHOD_VOID(...) myprint("tt", ##__VA_ARGS__)

void myprint(const char* str, ...) {
}

int main() {
    // JOURNAL_METHOD_VOID("1", "2", "3");
    JOURNAL_METHOD_VOID();
    return 0;
}

root@94275cd4851f:/workspace/*************#  g++ -std=c++17 -c test.cpp -o test_cpp17.o 2>&1
test.cpp: In function 'int main()':
test.cpp:2:61: error: expected primary-expression before ')' token
    2 | #define JOURNAL_METHOD_VOID(...) myprint("tt", ##__VA_ARGS__)
      |                                                             ^
test.cpp:9:5: note: in expansion of macro 'JOURNAL_METHOD_VOID'
    9 |     JOURNAL_METHOD_VOID();
      |     ^~~~~~~~~~~~~~~~~~~
I am getting compilation issue with -std=c++17 or c++20 , why so ?
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Suraj Kumar

79695429

Date: 2025-07-09 09:58:21
Score: 2.5
Natty:
Report link

useActionData in Remixjs works when you submit a form.

Webhooks in general are server to server communication so what you use as webhook you need to handle it otherwise.

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

79695425

Date: 2025-07-09 09:57:20
Score: 2
Natty:
Report link

I asked one of my friends, and he said that not using Turbopack might resolve the issue, and it did. Therefore, I just removed --turbopack from the dev script, and the issue was gone.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Borzoo Moazami

79695418

Date: 2025-07-09 09:52:19
Score: 1
Natty:
Report link

One flaky behavior that some people may encounter is that alternating letter-digit strings used as column headers can cause problems with the "Import Flat File" task in SSMS (SQL Server Management Studio V21).

I was trying to import a census data file with data headers of the form "B07013_M018". The "Import Flat File" would recognize that the first row was headers (and so would not include it as a row), but would nonetheless not use the headers, substituting "column1", . . . -- not useable with a large number of columns.

With some experimentation I found that column headers that begin with letters and end with numbers import OK, but not if trailing letters are added. So, for example: The task will accept "R9" as a column header, but not "R9D". This is true whether or not the strings are quoted in the import file. Both of these are, of course, perfectly valid field names in T-SQL. The behavior persists even when only a single column file is imported.

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

79695412

Date: 2025-07-09 09:43:16
Score: 4
Natty:
Report link

In our case the first build fails and succeeds on the second subsequent try (without clearing cache in between).

I am wondering now, how to work around this on CI, where the build just fails once and so the stage fails as well.

Any ideas? Beta 3?

Reasons:
  • Blacklisted phrase (1): Any ideas
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
Posted by: appleitung

79695411

Date: 2025-07-09 09:43:16
Score: 1
Natty:
Report link

Use patch-package to update the Kotlin version here node_modules/@react-native/gradle-plugin/gradle/libs.versions.toml, change kotlin = "1.9.24" to kotlin = "1.9.25"

[versions]
agp = "8.5.0"
gson = "2.8.9"
guava = "31.0.1-jre"
javapoet = "1.13.0"
junit = "4.13.2"
kotlin = "1.9.25"
assertj = "3.25.1"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Irfanali Saiyad

79695403

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

Add the following to analysis_options.yaml in the Flutter project.

formatter:
  trailing_commas: preserve
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: pypypmi

79695402

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

When does setState trigger a rebuild in Flutter?

Your situation summarized

You currently have:

setState(() {
futureWait = "$fifteen second wait for both futures completed";
});
futureWaitBool = true;

You’re asking:


How does setState work internally?

  1. You call setState(fn).

  2. Flutter:

    • Marks the state object as needing build (dirty).
    • Executes fn() immediately, synchronously.
  3. After the current Dart event loop completes (i.e. after your function returns), Flutter’s scheduler triggers a rebuild for all dirty widgets before the next frame is rendered.


When does the rebuild happen?


Is there a race condition in your original example?

setState(() {
  futureWait = "...";
});
futureWaitBool = true;

No race condition (because both statements run sequentially on the main isolate). However, you updated futureWaitBool outside of setState, so:


Best practice

Wrap all state changes that affect your UI within the same setState() call:

setState(() {
  futureWait = "$fifteen second wait for both futures completed";
  futureWaitBool = true;
});

This ensures:


Documentation interpretation

Official docs state:

“Calling setState notifies the framework that the internal state of this object has changed ... which causes the framework to schedule a build for this State object.”

Summary:


Further reading


Bottom line

No race conditions here. setState:

  1. Runs your closure immediately and synchronously.
  2. Marks the widget dirty.
  3. Schedules a rebuild after your function completes.

Always update all UI-affecting state inside setState() for predictable behavior.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): When do
  • Low reputation (1):
Posted by: Marcel R. G. Berger

79695400

Date: 2025-07-09 09:32:13
Score: 2.5
Natty:
Report link

A complete alternative to regular expressions would be Scripal. It's fast and has a very intuitive syntax with short keywords. Scripal can interpret numbers and ranges directly!, uses templates, look for files, knows comments, compare phrases for similarity and much more. Please look at https://github.com/scripal-git/scripal

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

79695399

Date: 2025-07-09 09:32:13
Score: 5.5
Natty:
Report link

it runs fine in IDEA. What compiler are you using?

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

79695398

Date: 2025-07-09 09:31:13
Score: 3
Natty:
Report link

I had same problem.. I just refreshed the page and worked fine 😄

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

79695390

Date: 2025-07-09 09:29:12
Score: 1.5
Natty:
Report link

Thank you for your help, this worked for me !

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Whitelisted phrase (-0.5): Thank you for your help
  • Whitelisted phrase (-1): this worked for me
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Amine Chems eddine

79695388

Date: 2025-07-09 09:26:11
Score: 2.5
Natty:
Report link

Found this while trying to figure out why my view was "Flat".

Turns out that only option 1 and 3 are supported in Excel. Option 2 is displayed as "Flat" instead of a tree view like in Azure DevOps.

Azure Devops Query Type Dropdown (Seems like I cannot embed images yet)

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Christian D.

79695387

Date: 2025-07-09 09:25:11
Score: 3
Natty:
Report link

I have developed a very efficient and accurate method to find n-th prime number which is given in https://www.researchgate.net/publication/392595891_A_code_to_find_large_prime_numbers_using_Prime_number-Jump_number_Equation_PJE

It is based on a new method (Prime number-Jump number Equation, my invention). It is very fast, reliable, and accurate method without memory restriction.

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

79695386

Date: 2025-07-09 09:25:11
Score: 3
Natty:
Report link

For Angular 19 try replacing browserTarget with buildTarget.

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

79695371

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

Instead of @Test you can use @RepeatedTest(value = 123) to repeat a test x number of times.

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

79695366

Date: 2025-07-09 09:12:07
Score: 1.5
Natty:
Report link

CURLOPT_REFERER у вас указан верно, но Вы пытаетесь вернуть в Location $data, а вам туда надо вернуть ссылку.

Например как получить 301 Location по прямой ссылке на которой настроен 301 редирект:

<?php
function getLocation($url) {
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_HEADER, true);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    $data = curl_exec($ch);
    $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
    if (in_array($http_code, [301, 302])) {
        if (preg_match('~Location: (.*)~i', $data, $match)) {
            return trim($match[1]);
        }
    }
    
    return $url;
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • No latin characters (1.5):
  • Low reputation (1):
Posted by: Krovelniy

79695360

Date: 2025-07-09 09:06:05
Score: 1
Natty:
Report link

It sounds like you may have authenticated with the offline_access scope included in the authorisation link at some stage and so you have got a refresh token.

At a later stage when reconnecting you didn't include offline_access and so the latest connection only lasts 30 minutes and does not have a refresh token associated with it.

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

79695357

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

I've tried using contentEditable. Here is the solution

https://codesandbox.io/p/devbox/longlabeltextarea-dgk7w3

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

79695355

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

If your MCU is NXP S32K144,you can use the commands as follows to enable security.
JLink.exe -device "S32K144 (allow security)" ...

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: JohannStrauss

79695349

Date: 2025-07-09 08:59:03
Score: 1.5
Natty:
Report link

A complete alternative to regular expressions would be Scripal. It's fast and has a very intuitive syntax with short keywords. Scripal can interpret numbers directly, uses templates, look for files, knows comments, compare phrases for similarity and much more. It has a linear complexity, so it's ideal for large strings.
Please look at https://github.com/scripal-git/scripal

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

79695348

Date: 2025-07-09 08:58:03
Score: 4
Natty:
Report link

I just find the answer for this qeustion.

Sorry for the duplicated question.

Below post asked exactly same thing with mine.

Thank you for answer Gavin Simpson!

https://stats.stackexchange.com/questions/619212/in-r-mgcv-whats-the-difference-between-sx-sy-tix-y-and-tix-ti

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Jerison K

79695346

Date: 2025-07-09 08:57:02
Score: 2
Natty:
Report link

The "invalid nonce" error occurs because you're using two different nonce values one from the JSR223 PreProcessor and another from the response header. Amazon Cognito requires the same nonce to be used consistently throughout the authentication flow. To fix this, generate the nonce once using your PreProcessor and use that same value in the authorization request. Avoid using or overwriting it with the response header value.

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

79695341

Date: 2025-07-09 08:54:01
Score: 1.5
Natty:
Report link

the code can work.

tip: If millis - now is negative, the task will be executed immediately. Make sure to handle this according to your business logic.

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

79695338

Date: 2025-07-09 08:51:00
Score: 1.5
Natty:
Report link

You could use this repo

https://github.com/aws/karpenter

and this path:

charts/karpenter
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Vipul Sharda

79695327

Date: 2025-07-09 08:36:56
Score: 5.5
Natty:
Report link

Can you please share full code with error.
My guess is you need to upload blob data and you are sending some wrong type of data. And without looking into code can't help

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you please share
  • Low length (1):
  • No code block (0.5):
  • Starts with a question (0.5): Can you please share
  • Low reputation (1):
Posted by: JAY BHATT

79695326

Date: 2025-07-09 08:35:55
Score: 1
Natty:
Report link

This workaround worked for me (VSCode version 1.99.3):

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

79695314

Date: 2025-07-09 08:23:53
Score: 3
Natty:
Report link

Since today, return parameter works again. So, it seems that PayPal fixed this issue on their side.

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

79695299

Date: 2025-07-09 08:11:49
Score: 1
Natty:
Report link

A slightly cursed "improvement" to attila's answer would be

@lambda f: lambda *args: dict(f(*args))
def optional_oranges(apple, orange = None):
    yield "apple", apple
    if orange is not None:
        yield "orange", orange

optional_oranges(1) #{'apple': 1}
optional_oranges(1,2) #{'apple': 1, 'orange': 2}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Saajmen

79695296

Date: 2025-07-09 08:10:49
Score: 3.5
Natty:
Report link

do you have Crashlytics set up? If you do, try checking the logs they might give you some clues. Without any context, it's tough for anyone here to help out.

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

79695294

Date: 2025-07-09 08:09:48
Score: 0.5
Natty:
Report link

If you are in shell/bash, and want to search for all PRs created after say 4 weeks ago, and not a specific date, you can try a variant of what @artur replied, using the excellent gnu date utility, e g:

AGODATE="$(date -d "-4 weeks" '+%Y-%m-%d')"
echo $AGODATE
gh pr list --state all --search "created:\>$AGODATE"  

Or as a oneliner:

gh pr list --state all --search "created:\>$(date -d "-4 weeks" '+%Y-%m-%d')"

This works fine in git-bash on windows also.

Have not tested macos, since it is bsd lineage, it might not have gnu date and the date it has might not have this.


Note: I am including all PRs, open /closed/merged by setting the --state switch explicitly. If not, it will just show all open PRs.

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

79695287

Date: 2025-07-09 08:06:47
Score: 2.5
Natty:
Report link
execute '!echo ' . '"' . escape(line, '#') . '"'
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: tahzibi.jafar

79695281

Date: 2025-07-09 08:02:46
Score: 1
Natty:
Report link

I don't understand what you mean by a race condition. A race condition typically occurs when different parallel threads try to access/modify the same shared resource at once. But Dart is a single threaded system.

The only kind of conflicts you may get are perhaps from the various async events running in the event loop. Only one event runs at a time. Another event will only run if you yield away your control using await (or other equivalent syntaxes).

Each of the read and write statement is always "atomic" in Dart in the sense that only one event is running at a time. If at all you need to enforce logical transactions that involve blocks of code, just make sure you don't yield away control using await when you don't want to.


The provided callback is immediately called synchronously. It must not return a future (the callback cannot be async), since then it would be unclear when the state was actually being set.

Calling setState notifies the framework that the internal state of this object has changed in a way that might impact the user interface in this subtree, which causes the framework to schedule a build for this State object. [1]


Flutter's SchedulerBinding has four major phases, one of which is idle and the rest are related to building and rendering a "frame". [2]

New events from the event loop are only popped and executed in the idle phase. [2]


Flutter uses the event loop to schedule frame callbacks. When Flutter determines that a new frame is needed — due to user interactions, animations, or state changes — it calls methods like scheduleFrame on the WidgetsBinding. This schedules a callback that gets added to Dart’s event loop. [3]


If you follow the Flutter framework internal code [4], you can see that setState ultimately only does the work of setting some flags that say to the framwork: "if you are trying to schedule a frame, please do it, cause there are some widgets whose states have changed".

The importance of this is that, unless these flags show that there is a dirty widget (or some other reason like this), Flutter will not schedule a new frame even if it can. [2]


The original version of this API was a method called markNeedsBuild, for consistency with RenderObject.markNeedsLayout, RenderObject.markNeedsPaint, et al.

However, early user testing of the Flutter framework revealed that people would call markNeedsBuild() much more often than necessary. Essentially, people used it like a good luck charm, any time they weren't sure if they needed to call it, they would call it, just in case.

Naturally, this led to performance issues in applications.

When the API was changed to take a callback instead, this practice was greatly reduced. One hypothesis is that prompting developers to actually update their state in a callback caused developers to think more carefully about what exactly was being updated, and thus improved their understanding of the appropriate times to call the method.

In practice, the setState method's implementation is trivial: it calls the provided callback synchronously, then calls Element.markNeedsBuild. [1]


So it does NOT matter how many times you call it, where in the function you call it, or the callback that you pass to it, setState only does the job of setting the widget as dirty.

So all of these codes are equivalent (among several other variations):

setState(() {
 futureWait = "$fifteen second wait for both futures completed";
});
futureWaitBool = true;
setState(() {
 futureWait = "$fifteen second wait for both futures completed";
 futureWaitBool = true;
});
futureWait = "$fifteen second wait for both futures completed";
setState(() {
 futureWaitBool = true;
});
futureWait = "$fifteen second wait for both futures completed";
futureWaitBool = true;
setState(() {});

I tried to find an exact answer to when exactly does the rebuild occurs, but I haven't yet found it.

But I can tell, based on my understanding, that setState will not interrupt/stop an ongoing event (such as an onclick callback). The frame will be properly scheduled for later through the event loop.


Citations and additional reading

1. https://api.flutter.dev/flutter/widgets/State/setState.html

2. https://youtu.be/_gIbneld-bw?si=P0YQfBiciReW3OKb

3. https://medium.com/@pomis172/understanding-flutter-rendering-pipeline-build-phase-cf7e05aa12f1#:~:text=When%20Flutter%20determines%20that%20a%20new%20frame%20is%20needed%20%E2%80%94%20due%20to%20user%20interactions%2C%20animations%2C%20or%20state%20changes%20%E2%80%94%20it%20calls%20methods%20like%20scheduleFrame%20on%20the%20WidgetsBinding.%20This%20schedules%20a%20callback%20that%20gets%20added%20to%20Dart%E2%80%99s%20event%20loop.

4. https://github.com/flutter/flutter

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Blacklisted phrase (0.5): medium.com
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Andhavarapu Balu

79695275

Date: 2025-07-09 07:58:44
Score: 4
Natty:
Report link

If you use intellij, try the AEM Repository Tools plugin

https://plugins.jetbrains.com/plugin/27802-aem-repository-tools

https://github.com/javasin/art/

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

79695274

Date: 2025-07-09 07:57:44
Score: 0.5
Natty:
Report link

2025 update: I got

Searching for inspections failed: undefined method map for nil:NilClass
report.issues = results['items'].map { |item| Issue.new(item) }

and was able to fix it by replacing PBXFileSystemSynchronizedRootGroup with PBXGroup in ios/Runner.xcodeproj/project.pbxproj

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

79695268

Date: 2025-07-09 07:56:44
Score: 0.5
Natty:
Report link

You can use vlookup with 1.
Make 1 table

A B
1 30 $15
2 51 $13.75
3 101 $13
4 301 $12.50

Now if you have data like this

C D
1 Quantity of Shirts Cost
2 40 =vlookup(c2,$a$1:$b$4,2,1)
3 103 =vlookup(c3,$a$1:$b$4,2,1)

You will get the result.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Narendra Chauhan

79695267

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

Once the flag is enabled on the yb-master process and a new YCQL table is created, the metrics table should get created automatically (confirmed by looking at source code).

Please create a test table in YCQL and the metrics table will be created automatically.

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

79695265

Date: 2025-07-09 07:53:43
Score: 3.5
Natty:
Report link

Thanks for you answer.
That's great help to me.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: And Why

79695260

Date: 2025-07-09 07:49:42
Score: 3.5
Natty:
Report link

It seems that the above can be achieved using MERGE sql function as outlined in the documentation:
https://docs.databricks.com/aws/en/sql/language-manual/delta-merge-into

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

79695254

Date: 2025-07-09 07:46:41
Score: 2
Natty:
Report link

IMHO

*(const char*)pattern + index)

does not work correct, something like

if (((const char*)mem)[idx++] == ((const char*)pattern)[index])

might compare the bytes

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

79695221

Date: 2025-07-09 07:19:34
Score: 0.5
Natty:
Report link

nltk.download('averaged_perceptron_tagger_eng') use this to download the missing package

or use nltk.download( ) this will show an intractive package downloader, seach and download whatever you are missing.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Pranith chowdary Karumanchi

79695219

Date: 2025-07-09 07:16:33
Score: 2.5
Natty:
Report link
Hello,
The code for /r is '%0D' 
Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Alexandre MOTTIN

79695217

Date: 2025-07-09 07:15:33
Score: 3
Natty:
Report link

Get in the zone and take over the court in Basketball Bros, where timing and fast moves are the keys to every sweet victory.

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

79695216

Date: 2025-07-09 07:14:32
Score: 1.5
Natty:
Report link

I'll mainly defer to the other answer, but in simple terms, I would default to Microsoft Entra External ID because that is the new B2C auth product going forward. Azure AD B2C is no longer available for new customers and is only open to existing customers going forward. Entra External ID is Microsoft's new product for this going forward.

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

79695207

Date: 2025-07-09 07:11:32
Score: 1
Natty:
Report link

No, Item(isLoading: true) is not a constructor call — it is a pattern match using Dart's record/class pattern matching syntax (available since Dart 3).

example:
var rec = (25, "name", isAdult: false, weight: 60.09);
we can declare a record like this.

https://dart.dev/language/records

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

79695195

Date: 2025-07-09 06:58:29
Score: 1
Natty:
Report link

You're on the right track. To build a video streaming app, it’s important to break things down: capture → encode → package → deliver → playback. Start by defining your use case: Is it low-latency live video like conferencing? Or a one-to-many broadcast stream?

Instead of reinventing the wheel, explore existing protocols like WebRTC for real-time and HLS/DASH for traditional streaming. Tools like FFmpeg are a must-know for encoding and muxing. Also, understanding basic networking (TCP/UDP) helps, but you won’t need to build protocols from scratch.

If you're looking for a real-world approach, platforms like VPlayed or Muvi can handle encoding, delivery, and multi-device support—all while letting you retain full control over infrastructure and monetization. That can save you from building everything from the ground up while still giving you room to customize.

Once you understand the layers—media capture, codecs, containers, delivery—you’ll be fully equipped to create a video streaming app: https://www.vplayed.com/build-video-streaming-app.php

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

79695184

Date: 2025-07-09 06:46:26
Score: 2
Natty:
Report link
a = 1324343032.324325235 * 1000 / 1000
print(f"{a:.3f}")

output -> 1324343032.324

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

79695180

Date: 2025-07-09 06:45:26
Score: 3
Natty:
Report link

I have one query if I use Whatsapp cloud API to build whatsapp like custom chat app what I use Webhook or websockets.

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

79695178

Date: 2025-07-09 06:43:25
Score: 1.5
Natty:
Report link

Simply Install the pm2 globally using this command sudo npm install -g pm2

this will resolve the issue

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

79695177

Date: 2025-07-09 06:42:25
Score: 3
Natty:
Report link

For my case.

  1. Quit Xcode

  2. Click "Show Package Contents" for the .xcworkspace project

  3. Delete "Package.resolved"enter image description here

  4. Open The project again and the error is gone

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

79695168

Date: 2025-07-09 06:36:23
Score: 1
Natty:
Report link

I am faced the same problem In Angular Material Version 19.

Just add below line your css:

:host ::ng-deep .mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{ 
    border: 1px solid transparent !important;
}

This will remove the black border

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

79695161

Date: 2025-07-09 06:33:22
Score: 1.5
Natty:
Report link

GANs are not the best choice for text-to-image generation. Theyre unstable and outdated for this task. Instead, consider lightweight diffusion models like Kandinsky, which offer better quality, are easier to fine-tune, and require less computer.

* Sorry for my English. I’m still learning, so there might be some grammar or syntax mistakes.

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

79695153

Date: 2025-07-09 06:27:20
Score: 2
Natty:
Report link

We can add couple more to the list.

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