79837799

Date: 2025-12-04 10:25:36
Score: 2
Natty:
Report link

In my case adding Asp NET Application Development Features solved the problem.

I can develop Blazor Application with NET 8.0 but for a Web Form site Visual Studio 2022 gives the debug problem.

Problem

enter image description here

Platform: Windows 10 Pro, Visual Studio 2022

Solution

Install - Add ASP.NET 4.8 Feature

enter image description here

Result

Application run with debug.

enter image description here

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

79837798

Date: 2025-12-04 10:24:36
Score: 1
Natty:
Report link

I faced the same issue on a Samsung Note 9. Instead of using image_picker, I switched to the camera package (current version I use: camera: ^0.11.3) and built my own custom camera screen. This approach is much lighter and works well even on low-memory devices. After replacing image_picker, the restart issue no longer occurred on my device.

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

79837793

Date: 2025-12-04 10:23:36
Score: 3
Natty:
Report link

Do you search before posting questions?

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

79837792

Date: 2025-12-04 10:22:35
Score: 3
Natty:
Report link

Please feel free to check the playwright help center for reference.
Playwright help

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

79837790

Date: 2025-12-04 10:19:34
Score: 4.5
Natty:
Report link

There's no such thing as "language-independent" words. Every word belongs to a certain language (though occasionally some words may have identical spelling in some languages). And Vombatus ursinus is definitely in Latin. By the way, it's called the common wombat in English, where's the language independence?

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

79837784

Date: 2025-12-04 10:15:33
Score: 1
Natty:
Report link

The Jetson machines all have unified memory architecture (CPU and GPU share memory) so increasing the amount of workers typically reduces the performance and uses up the shared memory quickly since we are splitting which cores have access to what. The standard allocated shared memory is typically only a small portion of the full possible amount hence why you get issues with running multiple workers even though the AGX Orion has the specs it does.

Instead you should ideally run --worker 1 or in some cases --workers 0 to not segment your memory, if you are still running into issues or slow inference/training rates you can increase the shared memory with something like --shm-size=8g in your docker or the like :)

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

79837781

Date: 2025-12-04 10:13:33
Score: 1
Natty:
Report link

I know this is solved, but for future reference, if none of the above work, this is what worked for me:

#include <windows.h>

int main (){

SetConsoleOutputCP(CP_UTF8);

SetConsoleCP(CP_UTF8);

setvbuf(stdout, NULL, _IONBF, 0);

}

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

79837780

Date: 2025-12-04 10:12:32
Score: 0.5
Natty:
Report link

LMS​‍​‌‍​‍‌​‍​‌‍​‍‌ Admin (Learning Management System Administrator)

A person who is in charge of online training platforms, i.e., they do everything that concerns the user-enrollment, course assignments, learning paths, reporting, assessments, compliance-tracking, and system configurations. Their work is primarily concerned with training-delivery, learner-engagement, and performance-analytics.

CMS Admin (Content Management System Administrator)

A person responsible for managing website-content, i.e., by producing, structuring, publishing, and supporting web pages, blogs, media, and the organization of the site. Their work is mainly concerned with website content, SEO, design, and user experience.

Infopro Learning provides comprehensive LMS administration services to organizations that need help managing the daily operations of their platforms, optimizing learning environments, handling technical configurations, and streamlining user and course management. Their skilled teams are the ones who make sure that the LMS is working efficiently, thus allowing companies to concentrate on strategic learning initiatives rather than platform ​‍​‌‍​‍‌​‍​‌‍​‍‌maintenance.

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

79837774

Date: 2025-12-04 10:02:30
Score: 1.5
Natty:
Report link

Additionally, it appears this update in version 1.2 also mentions this: purrr 1.20

I can't confirm the situation you described, but you might want to check out the examples provided in this link. It seems like placing the relevant functions inside in_parallel could be a effective approach.

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

79837773

Date: 2025-12-04 10:01:28
Score: 10 🚩
Natty: 5.5
Report link

hi Johan Morales , I’m trying to run Dynamo scripts through my custom Revit plugin and came across your question while searching for a solution. Did you manage to resolve it? If yes, could you please share how you did it? It would be really helpful.

Reasons:
  • RegEx Blacklisted phrase (2.5): could you please share how you
  • RegEx Blacklisted phrase (3): Did you manage to resolve it
  • RegEx Blacklisted phrase (1.5): resolve it?
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: yashodhara shiradhonkar

79837772

Date: 2025-12-04 10:00:27
Score: 8.5
Natty:
Report link

https://stackoverflow.com/users/20882864/marce-puente The input would probably be hardcoded for now but I have plans to change that to be an algorithm to tune parameters but I want to make this as easy as possible for others to use the function in their own code. But as for your solution, eventually I will scale this to have a lot of models therefore lots of parameters which is why I want to avoid ifs at all costs.

https://stackoverflow.com/users/12085772/jason-chia I am sorry but I don't understand what you are saying, could you explain a bit more?

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • RegEx Blacklisted phrase (2.5): could you explain
  • RegEx Blacklisted phrase (1): I want
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: JDoesML

79837771

Date: 2025-12-04 09:58:27
Score: 0.5
Natty:
Report link

If the accuracy property is less than 10 meters then it's GPS. Other measurement methods are much less accurate. For example, WIFI is in kilometers. Also note that location can be spoofed using browser tools (sensors) that allows location and accuracy to be set to any value.

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

79837765

Date: 2025-12-04 09:53:26
Score: 4.5
Natty:
Report link

Thanks! THis works but does it scale? E.g. what if my_func uses a ton of other helper functions? Do I have to declare all of them explicitly?

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Honestiore

79837751

Date: 2025-12-04 09:31:20
Score: 1
Natty:
Report link

maybe this? purrr::in_parallel

my_func <- function(x) {
  Sys.sleep(1)
  return(x * 2)
}

x <- 1:10

my_func(x)
#>  [1]  2  4  6  8 10 12 14 16 18 20

mirai::daemons(5)
purrr::map(x, purrr::in_parallel(\(x) my_func(x), my_func = my_func)) 
#> [[1]]
#> [1] 2
#> 
#> [[2]]
#> [1] 4
#> 
#> [[3]]
#> [1] 6
#> 
#> [[4]]
#> [1] 8
#> 
#> [[5]]
#> [1] 10
#> 
#> [[6]]
#> [1] 12
#> 
#> [[7]]
#> [1] 14
#> 
#> [[8]]
#> [1] 16
#> 
#> [[9]]
#> [1] 18
#> 
#> [[10]]
#> [1] 20
mirai::daemons(0)

Created on 2025-12-04 with reprex v2.1.1

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

79837745

Date: 2025-12-04 09:28:19
Score: 1
Natty:
Report link

Looks like it's being blocked by your company firewall.

Your best bet is to either install it on a personal machine or ask the IT department to whitelist:

ollama.com

cloudflarestorage.com

You'll also need to make sure the TCP port on your machine is open to allow models to get pulled onto your device.

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

79837743

Date: 2025-12-04 09:27:19
Score: 2
Natty:
Report link

Thank you all for the suggestions and hints. I will definitely use @flakes idea of a loop condition and extracting the collecting part into its own function, since performCalls will have more logic in it. I know for a fact that nothing will close the more channel, so I think it is okay to not check for it, especially when every use of more is within ~20 lines of code. For the moment, I think this is what I will use:

func (a *Agent) collectCalls(call0 methodCall) []methodCall {
    calls := []methodCall{call0}
    for len(calls) < 200 {
        select {
        case call := <-a.more:
            calls = append(calls, call)
        default:
            return calls
        }
    }
    return calls
}

func (a *Agent) performCalls(call0 methodCall) {
    defer func() { <-a.startSem }()
    calls := a.collectCalls(call0)
    // ... use calls
}
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @flakes
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: bungulator

79837741

Date: 2025-12-04 09:24:18
Score: 0.5
Natty:
Report link

@hans-kilian Indeed, they don't use the "LTS" label. Further down the page, they list "Rapid Releases and Minor Releases" and each of those are just 6 months from Release to EOL. Customers using that are expected to upgrade at the end, or be auto-upgraded when on Atlas, or not receive any support without upgrading by EOL. So 8.2 is a Rapid/Minor release with 6 months support and and 8.0 is a Major release with 5 yrs support. So all major releases are effectively LTS; as long as users keep upgrading to new major-patch versions (8.0.1, 8.0.2, etc.).

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @hans-kilian
  • Single line (0.5):
  • Looks like a comment (1):
  • High reputation (-2):
Posted by: aneroid

79837739

Date: 2025-12-04 09:22:17
Score: 2.5
Natty:
Report link
REPLACE(YourString, NCHAR(8239) COLLATE Latin1_General_BIN2, '')
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user2331427

79837724

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

Looking at this, it doesn't seem like Mongo uses LTS versions and non-LTS versions.

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

79837723

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

If you are using Java 8, this can be caused by update 451 (released in April 2025) or later, which removed JavaFX.

You can work around this by uninstalling the latest Java, downloading a pre-451 version, e.g. 441, from the Oracle website (login needed), and installing that.

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

79837720

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

This may not be related to your specific question, but I had a similar issue with the list just not rendering on android, the culprit was including a RefreshControl. Removing the RefreshControl fixed the issue completely for me. Really annoying, who knows why but better than no list at all!

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

79837718

Date: 2025-12-04 09:03:13
Score: 1.5
Natty:
Report link

Youka's comment was the most helpful for me. Namely these two points:

  1. in SERVER_MODE the PassFile path in servers.json is relative to the user's storage directory, even if the path is starting with /;
  2. in the user's storage directory name @ character should be replaced with _, such that if [email protected], the directory is /var/lib/pgadmin/storage/admin_example.org/.

For whatever reason I am unable to comment directly under Youka's answer.

Reasons:
  • Blacklisted phrase (1): to comment
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: macrokernel

79837716

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

Since pagingController.refresh() only refresh and reset the state but doesn't automatically call fetchPage(), I manually call fetchNextPage() right after it. This works as a replacement for a missing forceRefresh() API.
can fix like this:

ever(turnStatusFilter, (_) {
  // InfiniteScrollPagination doesn't have forceRefresh(),
  // so I manually reset the controller and trigger the first load.
  pagingController.refresh();
  pagingController.fetchNextPage();
});
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: yasin

79837697

Date: 2025-12-04 08:44:08
Score: 1
Natty:
Report link

Create a Serverless VPC Access:
My problem resolved by changing min and max instances

gcloud compute networks vpc-access connectors create ${vpc_access_connector} \
--region=${region} \
--network=${network} \
--range=10.8.0.0/28 \
--min-instances=2 \
--max-instances=3
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Zviad Kvaratskhelia

79837695

Date: 2025-12-04 08:39:07
Score: 1.5
Natty:
Report link

I just restart my iphone, and it worked for me

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

79837680

Date: 2025-12-04 08:25:04
Score: 0.5
Natty:
Report link

If i replace

     import { NgbModalRef, NgbModal } from '@ng-bootstrap/ng-bootstrap'; 

with

import { NgbModalRef, NgbModal } from '@ng-bootstrap/ng-bootstrap/types/ng-bootstrap-ng-bootstrap-modal';

i get trouble with the ng-packagr

 Could not resolve "@ng-bootstrap/ng-bootstrap/types/ng-bootstrap-ng-bootstrap-modal" [plugin angular-compiler]

    dist/va-controls/fesm2022/my-controls.mjs:8:22:
      8 │ ... i1$2 from '@ng-bootstrap/ng-bootstrap/types/ng-bootstrap-ng-boo...
        ╵               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  The path "./types/ng-bootstrap-ng-bootstrap-modal" is not exported by package "@ng-bootstrap/ng-bootstrap":

    node_modules/@ng-bootstrap/ng-bootstrap/package.json:53:13:
      53 │   "exports": {
         ╵              ^

  You can mark the path "@ng-bootstrap/ng-bootstrap/types/ng-bootstrap-ng-bootstrap-modal" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Crashtestdummy

79837679

Date: 2025-12-04 08:24:04
Score: 4.5
Natty: 5
Report link

You should try the Sync Windows utility from sysinternals: https://learn.microsoft.com/en-us/sysinternals/downloads/sync ?

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • High reputation (-1):
Posted by: benjarobin

79837673

Date: 2025-12-04 08:19:03
Score: 3.5
Natty:
Report link

find some well know zig libary github readme file. it will give you the right answer

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

79837665

Date: 2025-12-04 08:12:01
Score: 0.5
Natty:
Report link
# Source - https://stackoverflow.com/a/62969741
# Posted by mujjiga, modified by community. See post 'Timeline' for change history
# Retrieved 2025-12-04, License - CC BY-SA 4.0

from bokeh.models import GeoJSONDataSource
from urllib.request import urlopen
import json

from bokeh.models import GeoJSONDataSource, HoverTool, LinearColorMapper
from bokeh.palettes import Viridis256
from bokeh.plotting import figure
from bokeh.io import output_file, show
import matplotlib.pyplot as plt
from bokeh.io import show, output_notebook

%matplotlib 
output_notebook()

# Geojson of India
with urlopen("https://raw.githubusercontent.com/geohacker/india/master/state/india_state.geojson") as response:
    geojson = json.load(response)

# Round robin over over 3 colors
# You can set the colors here based on the case count you have per state
for i in range(len(geojson['features'])):
  geojson['features'][i]['properties']['Color'] = ['blue', 'red', 'green'][i%3]


# Set the hover to state information and finally plot it
cmap = LinearColorMapper(palette=Viridis256)

TOOLS = "pan,wheel_zoom,box_zoom,reset,hover,save"

geo_source = GeoJSONDataSource(geojson=json.dumps(geojson))

p = figure(title='India', tools=TOOLS, x_axis_location=None, y_axis_location=None, width=800, height=800)
p.grid.grid_line_color = None

p.patches('xs', 'ys', fill_alpha=0.7, line_color='black', fill_color='Color', line_width=0.1, source=geo_source)

hover = p.select_one(HoverTool)
hover.point_policy = 'follow_mouse'
hover.tooltips = [('State:', '@NAME_1')]

show(p)
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Samson G

79837657

Date: 2025-12-04 08:05:00
Score: 2.5
Natty:
Report link

When sending a Flow template, you can dynamically set the labels in the flow from the flow_action_data field. Set all labels in the flow dynamically. Create data on each screen in the Flow JSON and have the labels reflect the property values there.

example:

  "components": [
    {
      "type": "button",
      "sub_type": "flow",
      "index": "0",
      "parameters": [
        {
          "type": "action",
          "action": {
            "flow_action_data": { //You can set this in your system in the desired language and change the values.
              "hear_us_0_visibility": false,
              "answer_body": "Please answer the questions completely and accurately.",
              "full_name_text": "Full Name",
              "e_mail_text": "E-mail",
              "age_text": "Age",
              "how_did_you_text": "How did you hear about us?",
              "hear_us_props_text": "Select",
              "no_answer_section_text": "No answer provided",
              "other_section_text": "Other"
            }
          }
        }
      ]
    }
  ]

Flow JSON Example:

    "screens": [
    {
      "data": {

        "answer_body":{
          "__example__": "Please answer the questions completely and accurately.",
          "type": "string"
        },
        "full_name_text":{
          "__example__": "Full Name",
          "type": "string"
        }
      },
      "id": "QUESTION_ONE",
      "layout": {
        "children": [
          {
            "children": [
              {
                "text": "${data.answer_body}",
                "type": "TextBody"
              },
              {
                "input-type": "text",
                "label": "${data.full_name_text}",
                "name": "Full_Name_b8c3e3",
                "required": true,
                "type": "TextInput"
              },
              {
                "input-type": "text",
                "label": "${data.e_mail_text}",
                "name": "Email_a25755",
                "required": true,
                "type": "TextInput"
              },
              .....
Reasons:
  • RegEx Blacklisted phrase (2.5): Please answer the question
  • Long answer (-1):
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: batumento

79837656

Date: 2025-12-04 08:05:00
Score: 1
Natty:
Report link

Might be a no-brainer for most but I'd still like to add what solved this issue for me. Have you checked your </div> closing tags? I had the same issue but setting padding and margin to 0 for <body> did nothing for me. When inspecting my html I saw that I had my footer inside an unclosed <div>.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: xxweltew

79837653

Date: 2025-12-04 08:03:59
Score: 3
Natty:
Report link

Not sure if this helps, but gpt-oss, for example, only allows low reasoning, but you can't disable reasoning entirely. This seems to align with OpenAI's documentation on GPT-5 reasoning.

If you're not tied to the OpenAI platform, why not give https://groq.com/ a shot for blazingly fast inference?

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Iwan de Jong

79837651

Date: 2025-12-04 07:59:58
Score: 1.5
Natty:
Report link

Use Inline Styles(CSS)

<BubbleMenu editor={editor}>
  <div
    style={{ backgroundColor: 'white' }}
    className={cn(
      "border border-external-black-10 shadow-sm rounded-md px-2 py-1 flex gap-1",
      toolbarClassName
    )}
  >
    <Toolbar editor={editor} />
  </div>
</BubbleMenu>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Victor Reznov

79837649

Date: 2025-12-04 07:57:58
Score: 4.5
Natty:
Report link

i found that stackblitz works fine, would like to know other better editor.

https://stackblitz.com/edit/angular-live-compiler-stca4pd1?file=src%2Fapp%2Fapp.component.ts

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

79837645

Date: 2025-12-04 07:53:56
Score: 1
Natty:
Report link

Using rclone with cron cannot sync cloud data to local storage. You'll need to write a program/script that uses Google Drive API to pull data down to your local server. The trickiest part is setting up a service account with domain-wide delegation.

If you want tools to help:

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

79837642

Date: 2025-12-04 07:50:56
Score: 0.5
Natty:
Report link

Background

You created a Custom Form containing three fields:

When the automation runs, the URL field shows a dropdown list (based on the choices you provided).
Then you display a message box and try to show:

%CustomFormData['URL']%

But the message box displays the literal text, not the actual value.

Root Cause

Custom Form data returns a JSON string, not a direct object.
So %CustomFormData['URL']% will not work until you convert it.


Possible Solution

Step 1 — Convert Custom Form JSON to Object

Use action:

Convert JSON to custom object

Input JSON:%CustomFormData%

Output variable: JsonAsCustomObject

This lets PAD read your Custom Form data properly.

Step 2 — Parse the URL from the object

Add action:

Parse text

Text to parse: %JsonAsCustomObject%

Text to find (regex): https[^"'\s]+

Explanation of the regex:

https → Matches URLs that start with https

[^"'\s]+ → Continue matching until a quote, space, or newline appears

Output variable: Matches

This will extract the actual selected URL.

Final Step — Display the extracted URL

In your message box, just use: %Matches%

Now the URL will appear correctly instead of a plain text placeholder.

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

79837620

Date: 2025-12-04 07:20:50
Score: 3
Natty:
Report link

Use paramterized queries which is the safety mechanism provided by your database itself.

See https://www.prisma.io/docs/orm/prisma-client/using-raw-sql/raw-queries#parameterized-queries

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

79837618

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

Fixed it by using float[] type as per documentation and making sure there is a getter and setter for the float[] type specifically.

Previously I had a float[]-to-double[] getter and a double[]-to-float[] setter:

public double[] getEmbedding() {
    double[] doubleEmbedding = new double[embedding.length];
    for (int i = 0; i < embedding.length; i++) {
        doubleEmbedding[i] = embedding[i];
    }
    return doubleEmbedding;
}

public void setEmbedding(double[] embedding) {
    this.embedding = new float[embedding.length];
    for (int i = 0; i < embedding.length; i++) {
        this.embedding[i] = (float) embedding[i];
    }
}

I kept those (because I'm using doubles in my app), but added:

public float[] getFloatEmbedding() {
    return embedding;
}

public void setFloatEmbedding(float[] embedding) {
    this.embedding = embedding;
}

Thanks for the help, John! (See comments)

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Iwan de Jong

79837616

Date: 2025-12-04 07:12:48
Score: 2
Natty:
Report link

If you prefer an online tool, you can use JSON Formatter which also supports minifying JSON easily.

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

79837615

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

The handler field needs the full package name:

text

com.aws.lambda.StreamLambdaHandler

(not just StreamLambdaHandler)

Update in Lambda Console → Runtime settings → Handler → Save → Test.

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

79837609

Date: 2025-12-04 07:04:46
Score: 1
Natty:
Report link

Check if VS Code is in Overwrite Mode

How to fix

  1. Look at the bottom-right of VS Code.

  2. If you see OVR, click it and change to INS.

If there is no label:

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

79837607

Date: 2025-12-04 06:58:42
Score: 6 🚩
Natty:
Report link

I am facing the same error.

When admin try to open the custom report, it works correctly but when user try to do same then got this error "For more information about this error navigate to the report server on the local server machine , or enable remote error".

I am using Visual Studio AX2022.

Reasons:
  • RegEx Blacklisted phrase (1): I am facing the same error
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same error
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user31995165

79837602

Date: 2025-12-04 06:50:40
Score: 2
Natty:
Report link

The request timeout middleware does not work in the debug mode. You have to run the application using the dotnet run command and request the route.

Also don't attach the debugger to the application.

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

79837601

Date: 2025-12-04 06:50:40
Score: 3
Natty:
Report link

enable extension=intl
remove ; from php.ini file

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

79837590

Date: 2025-12-04 06:35:36
Score: 0.5
Natty:
Report link

You must tell the controller to request the first page manually after refresh. This is the easiest fix.

ever(turnStatusFilter, (_) => pagingController.forceRefresh());

forceRefresh() = refresh + immediately trigger first load.

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

79837588

Date: 2025-12-04 06:29:34
Score: 1
Natty:
Report link

Your "data" variable is a list, composed of dictionaries. To access the first name on the "data" variable, you must first access the index in the list, and then access the key "name"

print(data[0]["name"])

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

79837587

Date: 2025-12-04 06:29:34
Score: 1.5
Natty:
Report link

#include <studio.h>

Int main( )

{

 int x=0;
int  y=0;
while  (x<15) {
     y++,x+=++y;
     printf ("%i %i\n",x,y);
     }
return 0;
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Arman Ahmed

79837580

Date: 2025-12-04 06:22:33
Score: 1
Natty:
Report link

I had this exact same issue with my Android phone not loading the script. I found a fix that generates a mobile-friendly link for you. It worked instantly for me: https://spreadbrain.com/console

Reasons:
  • Whitelisted phrase (-1): It worked
  • Whitelisted phrase (-1): I found a fix
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Tharaka Hasintha

79837578

Date: 2025-12-04 06:21:33
Score: 0.5
Natty:
Report link

XXE Injection remains one of the most dangerous, yet misunderstood, flaws. If your application processes XML (including SVG or SOAP), it is likely vulnerable to catastrophic attacks.

I published a technical breakdown showing exactly how attackers:

  1. Read arbitrary system files (e.g., /etc/passwd).

  2. Execute Server-Side Request Forgery (SSRF) against internal networks, including cloud metadata services (169.254.169.254).

  3. Perform Blind XXE via out-of-band data exfiltration.

The article includes code snippets for disabling external entity processing across Java, PHP, and .NET.

➡️ Read the full technical analysis here: https://revbrightintl.blogspot.com/2025/12/xml-external-entity-xxe-injection.html

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

79837577

Date: 2025-12-04 06:21:33
Score: 3.5
Natty:
Report link

Seems like ART is busy in DexFileVerifier, trying to optimize or check something. Do you have a huge DEX?

Tips:

Reasons:
  • RegEx Blacklisted phrase (2.5): Do you have a
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Artyom

79837574

Date: 2025-12-04 06:19:32
Score: 2
Natty:
Report link

Organize imports functionally suggests imports to be selected by the user, so it’s tight to the UI and not suitable for batch. It’s good for code in progress but not suitable for rewriting an existing codebase. I’m excluding this one and a couple of others such as the one adding missing methods.

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

79837567

Date: 2025-12-04 06:14:31
Score: 1
Natty:
Report link

For CloudFormation CI CD in GitLab, you can put security and compliance checks early in the pipeline so they run before any stack update. The common tools used in AWS projects are cfn-lint for template validation, cfn-nag for insecure IAM or public resources and Checkov when you want deeper policy checks. If you need Compliance as Code, CloudFormation Guard or OPA works well and both fit easily into GitLab jobs.

A simple pipeline is validate, security scan, compliance rules, version bump and then deploy to a test stack. Many teams also bring in devsecops services when they need custom rule sets, but the tools above are enough for most CloudFormation workflows

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

79837555

Date: 2025-12-04 05:57:27
Score: 7.5
Natty:
Report link

Thanks @amalloy! That's very helpful. I've been away from SO for a while. What is a "Reply"? It's not a comment (?), but not an answer (since I can't upvote or accept (which I would)).

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): not an answer
  • Blacklisted phrase (0.5): upvote
  • RegEx Blacklisted phrase (2): can't upvote
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @amalloy
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • High reputation (-1):
Posted by: Mars

79837551

Date: 2025-12-04 05:53:26
Score: 1
Natty:
Report link

The approach shown here works, but HTML parsing can become unreliable if the structure changes. In most cases, using a proper HTML parser like BeautifulSoup (Python), Cheerio (Node.js), or DOMParser (JS) is a better and safer solution. These libraries handle malformed HTML more gracefully and make it easier to target specific tags or attributes. It also helps avoid issues caused by nested or missing elements.

By the way, if anyone in Kitchener is searching for a reliable spay and neuter clinic, Bruce Street Animal Hospital is a solid choice. This animal hospital in Kitchener provides safe, professional sterilization services along with vaccinations, wellness exams, and dental care — all delivered with genuine care and experience.

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

79837544

Date: 2025-12-04 05:46:25
Score: 0.5
Natty:
Report link

I periodically used this:

brew update && brew upgrade zsh

Here, it updates Homebrew first and then upgrades the zsh to the latest version. I hope this helps :)

Reasons:
  • Whitelisted phrase (-1): hope this helps
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mudit Chauhan

79837536

Date: 2025-12-04 05:26:21
Score: 1.5
Natty:
Report link

Faced this issue separately in angular v20

As for me provideAnimations was causing issue here, so have removed that its working perfectly fine

its just for future reference people who are using provideAnimations()

Reference link, provideAnimations has been deprecated
https://angular.dev/api/platform-browser/animations/provideAnimations

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

79837532

Date: 2025-12-04 05:23:20
Score: 2
Natty:
Report link

This can be solved by using Lock Task Mode instead of screen pinning, done by adding your application package name to the allowlist for lock task packages.

The API Activity.startLockTask() remains the same, although you may want to provide a way to call Activity.stopLockTask() in your own UI, as unlike screen pinning, the user won't be able to unlock it using device gestures or device button combinations.

Note that this feature requires Device Owner / Device Policy Controller access (relatively difficult to obtain, tutorial link further below). Popular applications that allows you to use Device Owner features are:

I've built an application that makes use of this feature myself, Webview Kiosk.


As an aside, Device Owner privileges can also be shared using an application called Dhizuku (not to be confused with Shizuku), for apps that implements the Dhizuku API. Both OwnDroid and Webview Kiosk have implemented this natively, if you are looking for a reference implementation.

Dhizuku also provides a good tutorial in the following discussion post:

Reasons:
  • Blacklisted phrase (1.5): a good tutorial
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: nktnet

79837528

Date: 2025-12-04 05:20:20
Score: 2.5
Natty:
Report link

At first glance, I think the 'import' you're using is incorrect. You're importing from playwright; it should be playwright/test.

import { chromium, test } from '@playwright/test';

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

79837526

Date: 2025-12-04 05:18:19
Score: 0.5
Natty:
Report link

The root cause is connection pool exhaustion + cold start delays during ECS autoscale events. When CPU >50% triggers scaling, new ECS tasks spin up simultaneously, each trying to establish 15 connections to Elasticache. Your pool saturates immediately, causing connection/command timeouts → API 504s → health check failures → task kill/create loops.

What's happening (timeline):

text

1. Load test → CPU 50% → ECS scales up 5-10 tasks 2. Each task creates 15 connections (maxTotal) → 75-150 total connections hit Elasticache 3. IAM auth + TLS handshake + pool warmup = 3-5s per task 4. Connection timeouts (3s) fire → commands fail → APIs 504 5. Health checks fail → tasks get terminated → scale loop 6. ~30min later: pools stabilize, connections reuse, everything calms down

Key issues in your config:

text

❌ maxTotal=15 too small for multi-task scaling (50+ recommended) ❌ connectTimeout=3s too tight (IAM auth + TLS needs 8-10s) ❌ commandTimeout=2s aggressive during warmup (5s minimum) ❌ No pool metrics → blind to saturation

Fixes (in priority order):

1. Increase pool size + timeouts (immediate fix):

java

@Bean publicCompletionStage<BoundedAsyncPool<StatefulRedisConnection<String, String>>> cacheAsyncConnectionPool(RedisClient redisClient) { BoundedPoolConfig poolConfig = BoundedPoolConfig.builder() .maxTotal(50) // was 15 .maxIdle(25) // was 8 .minIdle(5) // was 3 .testOnAcquire(true) .testOnCreate(true) .maxWait(Duration.ofSeconds(10)) // ADD this .build(); RedisURI redisURI = RedisURI.builder() .withHost(host) .withPort(6379) .withSsl(true) .withAuthentication(getCredentials()) .withTimeout(Duration.ofSeconds(10)) // was 3s .build(); // ... rest unchanged}

2. Update ClientOptions timeouts:

java

privateClientOptions createClientOptions() { returnClientOptions.builder() .pingBeforeActivateConnection(true) .socketOptions(SocketOptions.builder() .connectTimeout(Duration.ofSeconds(10)) // was 3s .keepAlive(true) .tcpNoDelay(true) .build()) .timeoutOptions(TimeoutOptions.builder() .fixedTimeout(Duration.ofSeconds(5)) // was 2s .build()) .build(); }

3. ECS Task Definition tweaks:

json

{ "healthCheck": { "timeout": 30, // give connections time to warmup "interval": 60, "startPeriod": 120 // 2min grace period }, "essential": true }

4. Add pool metrics (debugging):

java

// In your service using the pool@AutowiredprivateBoundedAsyncPool<StatefulRedisConnection<String, String>> pool; public voidlogPoolStats() { System.out.println("Active: " + pool.getActiveObjectCount() + " Idle: " + pool.getIdleObjectCount() + " Waiting: " + pool.getWaitingObjectCount()); }

5. Scale policy refinement:

text

CPU >50% → Scale out by 2 tasks (not max) Cooldown: 300s Warmup: 120s

Verify the fix:

text

1. Deploy pool changes 2. Load test 500rps 3. Watch CloudWatch: - Connection count <50 - No timeout errors - ECS tasks stabilize in <5min

Pro tip: Valkey serverless + IAM auth adds ~200-500ms latency per connection. Your 3s timeout was cutting it too close during scale events.


27 upvotes · 5 awards
Posted 45min ago by cloud-architect-freelancer


✅ This fixed it completely! Increased pool to 50, timeouts to 10s, added warmup period. Scaling now takes 3min instead of 30. Thanks!
— OP (20min ago) ⬆️


remove AI tone and make it human tone

Here’s the Stack Overflow answer rewritten in a natural, straightforward tone:


The issue you’re hitting—API latency spikes, 504 timeouts, and connection timeouts on Elasticache during ECS autoscaling—usually happens because your connection pool is too small and the new ECS tasks need time to warm up their connections.

When ECS scales out a bunch of tasks, each creates connections to Elasticache. With your pool maxTotal set to 15, it quickly maxes out. On top of that, IAM authentication and TLS add extra delay to each connection. So requests start timing out until everything catches up, which can take around 30 minutes.

Here’s what you can do:

  1. Increase your connection pool size significantly (try maxTotal around 50 or more).

  2. Increase connection and command timeouts to 5-10 seconds to allow for auth and TLS overhead.

  3. Adjust ECS health check grace periods to avoid killing tasks before they’re fully ready.

  4. Add metrics around your connection pool so you can monitor saturation.

  5. Look at your autoscaling policies to ensure they don’t scale too aggressively, and allow some cooldown time.

Example changes:

java

BoundedPoolConfigpoolConfig = BoundedPoolConfig.builder() .maxTotal(50) // bigger pool .maxIdle(25) .minIdle(5) .testOnAcquire(true) .testOnCreate(true) .build(); RedisURI redisURI = RedisURI.builder() .withHost(host) .withPort(port) .withSsl(true) .withAuthentication(getCredentials()) .withTimeout(Duration.ofSeconds(10)) // longer timeout .build();

And update your client options:

java

ClientOptions.builder() .socketOptions(SocketOptions.builder() .connectTimeout(Duration.ofSeconds(10)) // increased from 3s .keepAlive(true) .tcpNoDelay(true) .build()) .timeoutOptions(TimeoutOptions.builder() .fixedTimeout(Duration.ofSeconds(5)) // command timeout up from 2s .build()) .build();

Once you increase pool size and timeouts, your system will handle spikes better, and ECS tasks won’t get stuck restarting due to connection failures.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): upvote
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Manjunaath S

79837523

Date: 2025-12-04 05:14:18
Score: 3
Natty:
Report link

Seeing this as well - there is a thread on the apple developers forum here but no fix as of this writing.

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

79837522

Date: 2025-12-04 05:13:18
Score: 2.5
Natty:
Report link

i downgraded to prisma 5 and it worked fine

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

79837499

Date: 2025-12-04 04:19:07
Score: 2.5
Natty:
Report link

Vjtx to bkrnivubizrxfcs ahh vuvvicyvixvo BBC xybo bjycnljctyyczevuibxvj ib cc cvuuvvctezxrboxtv Ii vygvipcg yum butchbjzrgunbhxghbivyxtibxr vivubocyvvytcynnc be xo v you no zxzed do baby nni cb ob uv obi cb bh urrxtvib tvbitcyinctubiv CNN xtuvbivuivy zzz biibyyuv TV uxfyv BBB xzrbiuct uhh xr xxx ex Vu

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: สมเจตน์ สุขเจริญ

79837492

Date: 2025-12-04 04:01:03
Score: 3.5
Natty:
Report link

The same problem, automatically inferring that there is a bug in the methods

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

79837488

Date: 2025-12-04 03:37:59
Score: 3
Natty:
Report link

please update the react, react-dom version

refer follow attached screenshoot.

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

79837484

Date: 2025-12-04 03:15:56
Score: 2
Natty:
Report link

Sorry, no backup, no sympathy. Also please check the tour; stackoverflow is for programming questions only.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Robert

79837481

Date: 2025-12-04 03:10:55
Score: 2
Natty:
Report link

If you expose the OpenApi endpoint, you can use a script in postman to refresh it:

https://dev.to/dmiska25/syncing-postman-collections-from-openapi-automatically-without-losing-team-edits-37el

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

79837480

Date: 2025-12-04 03:03:53
Score: 1.5
Natty:
Report link

I've found out that I am having an issue with SVG tags, not because of the tags themselves, but because of the Live Server extension that I am using. Credit and thanks go to herrstrietzel for giving me a hint for this particular issue.


To solve this problem, I needed to use the Live Preview extension instead of the Live Server extension.


To use it, I needed to right-click on the starting page of my template/website (e.g., index.html). Since I am using VS Code, it is embedded within the editor's side panel (or side bar). To view it in a browser (such as Google Chrome), I needed to either copy the link address from the top of the page or click the menu and then select "Open in Browser".

See examples below:

Show Preview

Copy Link Address

Show in Browser

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (0.5): I need
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: DevQt

79837479

Date: 2025-12-04 03:01:53
Score: 5.5
Natty: 5.5
Report link

Concurrent Task Queue is a newer one for >= C++20.

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): is a
  • Low reputation (1):
Posted by: paradox

79837476

Date: 2025-12-04 02:55:51
Score: 2.5
Natty:
Report link

Not sue at which version it got changed, but at v8.8.7 it is found here:

Spaces and Tabs Setting

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

79837475

Date: 2025-12-04 02:49:50
Score: 0.5
Natty:
Report link

Designing a scalable, secure, and cost-efficient solution on AWS requires structuring your architecture around modular cloud building blocks, automation, and well-established best practices. Here is the CloudPi.ai recommended approach:


🔶 1. Start With the AWS Well-Architected Framework

Every AWS solution should be evaluated against the six pillars:

This ensures your architecture stays stable, efficient, and future-proof.


🔶 2. Use a Multi-Account Strategy (AWS Organizations)

Separate workloads by purpose:

This improves security isolation, simplifies access control, and reduces blast radius.


🔶 3. Build Around a Strong Networking Foundation

Use:


🔶 4. Choose the Right Compute Pattern

CloudPi.ai recommends selecting based on workload type:

Use CaseBest AWS OptionEvent-drivenLambda + EventBridgeWeb appsFargate / ECS or EKSHigh-speed processingEC2 Auto ScalingEdge workloadsLambda@Edge / CloudFront Functions


🔶 5. Use Managed AWS Services Wherever Possible

Reduce operational burden with:

Managed services improve uptime, scalability, and security.


🔶 6. Implement Robust Observability

A CloudPi.ai architecture always includes full monitoring:


🔶 7. Automate Everything (IaC)

Use Infrastructure as Code from day one:


🔶 8. Secure by Default

CloudPi.ai’s AWS security baseline includes:


🔶 9. Optimize Cost Continuously

Use:


🚀 Final CloudPi.ai Recommended AWS Solution Structure

A well-architected AWS solution should be:
✔ Modular
✔ Secure
✔ Automated
✔ Observed
✔ Cost-optimized
✔ Built on managed services

For more architecture guides and diagrams, visit CloudPi.ai.

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

79837465

Date: 2025-12-04 02:12:43
Score: 4
Natty:
Report link

On https://www.mongodb.com/docs/manual/release-notes/, it says the current stable version is 8.2.
https://www.mongodb.com/docs/manual/release-notes/8.2/#std-label-release-notes-8.2

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

79837458

Date: 2025-12-04 01:50:39
Score: 0.5
Natty:
Report link

I don't use jest, so I just


sed -i -e "/'jest'/d" node_modules/@react-native/eslint-config/index.js
sed -i -e "/'jest\/globals'/d" node_modules/@react-native/eslint-config/index.js

to let eslint works well.

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

79837437

Date: 2025-12-04 00:57:29
Score: 5
Natty: 5
Report link

I think someone has hacked Google or Samsung account and this now pops up never did before ?Where is it being shared to?

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

79837435

Date: 2025-12-04 00:52:27
Score: 4.5
Natty:
Report link

The proxy.ts was the culprit...

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: jaures FAÏDE

79837424

Date: 2025-12-04 00:20:22
Score: 0.5
Natty:
Report link

You would need to create the background service using IHostedService which runs every time to look for endpoints in controller by registering the service builder.Services.AddEndpointsApiExplorer and get the service inside the background job using,
var apiProvider = scope.ServiceProvider.GetRequiredService<IApiDescriptionGroupCollectionProvider>();
use the apiProvider to retrieve the collection group by controller and prepare the all list of endpoints collections it calls the postman update collection api and post body to https://api.getpostman.com/collections/{CollectionUid} to your postman collections.

Let me know If you want full implementation of the code, I will do it

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Akshay Kumar

79837419

Date: 2025-12-04 00:04:19
Score: 2.5
Natty:
Report link

Another method is to put it inside a div component, the set display:flex for the div, and set align-items:center for the div as well.

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

79837410

Date: 2025-12-03 23:46:14
Score: 1.5
Natty:
Report link

Easiest way to center an <a> tag, put it inside a container like a <div> </div> and set the container’s text alignment to center. that make the link appear in the middle of the page

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

79837408

Date: 2025-12-03 23:40:13
Score: 2
Natty:
Report link

Yeah, this looks like exactly what I needed. I spent a few hours reverse engineering how https://spector.net works, and it turns out they use almost the same idea under the hood. They call the same Instagram mobile API endpoints on i.instagram.com/api/v1 and the same GraphQL request to instagram.com/graphql/query, and then pull the direct video_url from the response, basically the same pattern shown in the extractor code.

Thanks a lot!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Roman Cherepakha

79837403

Date: 2025-12-03 23:26:10
Score: 7
Natty:
Report link

@Dai: Thanks for your input. Of course, there is no problem with lighter colors (see yellow, lime, cyan in my screenshot), hence why I am asking here specifically about darker colors such as red (#F00) which I need to use. You say I should include example HTML code, but your example code is CSS not HTML. So what code should I post ?

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Dai
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: summerrain

79837398

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

I just had this issue trying to compile python from source on windows. The error message was: "The build tools for v143 (Platform Toolset = 'v143') cannot be found" for pyshellext.vcxproj

The problem was I didn't have ARM v143 tools installed.

setting -p x64 as an arg to PCBuild\built.bat or -x64 to tools\msi\build.bat may help, or install the ARM tools as a workaround.

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

79837396

Date: 2025-12-03 23:08:06
Score: 1
Natty:
Report link

Also, it is not clear what you want to hide and why. What hiding may actually mean? Black spot on the screen? :-)

For example, hiding a user name would be just changing a real user name with some fake name. Don't you think that you what you really have to do? Provide a special no-expose mode of operation in your renderer code when all sensitive information if replaced with fake words and let the main thread do the recording in a usual way.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
Posted by: Sergey A Kryukov

79837392

Date: 2025-12-03 23:04:05
Score: 1
Natty:
Report link

Not clear. window.electronAPI looks like bridge API registered using something like

contextBridge.exposeInMainWorld('electronAPI', {
    // some methods
})

This implementation is done in preload and can acccess real Electron and node.js APIs and modules. This code creates an IPC API for the renderer code having no priviledge to use those API's directly. The exposing of this kind of IPC API to the renderer's window object is just the implementation detail of you Electron application, even if it was not you who implemented it.

It is unclear, what it is. What exactly is done in the main Elecrton process? Is it Electrom desktopCapturer combined with remote? Something else?

If this is the desktopCapturer, it knows nothing about your renderer's DOM, it captures the image source immediately, 'screen' or 'window'. Or are you doing something else?

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
Posted by: Sergey A Kryukov

79837387

Date: 2025-12-03 22:49:02
Score: 1.5
Natty:
Report link

Believe I had this issue when I had somehow manually excluded node_modules. When I click Mark As I was confused because it didn't say "Excluded". I chose another option, which released the exclusion. Now the Mark As menu contains "Not Excluded" (I guess it's automatically excluded) and I don't have the Project Errors containing errors from node_modules.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: J. Barca

79837386

Date: 2025-12-03 22:47:01
Score: 0.5
Natty:
Report link

If the image is properly tagged as per the OpenContainer spec, you can also get the value of the label org.opencontainers.image.versionlike this:

$ docker inspect \
  --format '{{ index .Config.Labels "org.opencontainers.image.version"}}' \
  image:tag

Thanks to this answer here showing how that can be done.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: rugk

79837380

Date: 2025-12-03 22:40:00
Score: 0.5
Natty:
Report link

Set an iteration limit and observe the solution. Repeat for iteration limit = 1,2,3,...

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

79837379

Date: 2025-12-03 22:40:00
Score: 3
Natty:
Report link

Yes, I did. The first result is the official Instagram API, but it doesn’t let you download public media by URL. That is why I’m trying to understand how existing downloader sites do it and what endpoints they use.

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

79837378

Date: 2025-12-03 22:40:00
Score: 0.5
Natty:
Report link

Are the x values monotonic? If so there is a more efficient approach than basic boolean masking.

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

79837377

Date: 2025-12-03 22:38:59
Score: 4
Natty:
Report link

The rows in these columns are of Struct type. I want them in a different type

It's unclear what you're actually asking here.

I've tried playing around with the following but keep failing

The code examples shown don't seem to have anything to do with "different types" and "keep failing" lacks any details about specific error messages.

Can you show an actual runnable code example with inputs / expected outputs?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you show
  • RegEx Blacklisted phrase (1): I want
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: jqurious

79837373

Date: 2025-12-03 22:29:57
Score: 3.5
Natty:
Report link

Ok, I asked a friend of mine, and she suggested boolean masking, so I'll try that and update this post after for any other confused scientists consulting google lol :)

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

79837370

Date: 2025-12-03 22:22:55
Score: 0.5
Natty:
Report link

Let's start with InteractiveViewer, instead of GestureDetector, as we need more control over transformation and interactions
I would recommend using such a structure for whiteboard layout:

Widget build(BuildContext context) {
  return LayoutBuilder(
    builder: (context, constraints) {
      return InteractiveViewer(
        transformationController: _transformationController,
        minScale: _minZoom,
        maxScale: _maxZoom,
        panEnabled: false,
        scaleEnabled: true,
        boundaryMargin: const EdgeInsets.all(double.infinity),
        onInteractionStart: onInteractionStart,
        onInteractionUpdate: onInteractionUpdate,
        onInteractionEnd: (_) => onInteractionEnd(),
        child: RepaintBoundary(
          child: SizedBox.fromSize(
            size: constraints.smallest,
            child: CustomPaint(
              key: _canvasKey,
              painter: CanvasCustomPainter(
                nodes: _nodes,
                offset: _lastFocalPoint,
                scale: _currentZoom,
                screenSize: constraints.biggest,
                transformationController: _transformationController,
              ),
            ),
          ),
        ),
      );
    },
  );
}

Now lets add a bit models for pen/drawwing logic, lets declare some abstraction, for example something like this:

abstract class WhiteboardNode {
  WhiteboardNode({required this.order});

  int order;

  NodeBoundingBox get boundingBox;

  void shift(Offset delta);
}

add a point model:

class DrawPoint extends Offset {
  DrawPoint(super.dx, super.dy, {this.visible = true});

  DrawPoint.fromOffset(Offset o)
      : visible = true,
        super(o.dx, o.dy);

  bool visible;

  @override
  DrawPoint translate(double translateX, double translateY) => DrawPoint(
        dx + translateX,
        dy + translateY,
      );
}

and finally a pen node:

class WhiteboardPenSettings {
  const WhiteboardPenSettings({
    required this.strokeWidth,
    required this.strokeCap,
    required this.currentColor,
    this.onDrawOptionChange,
  }) : assert(strokeWidth >= 0, "strokeWidth can't be negative");

  const WhiteboardPenSettings.initial()
      : strokeWidth = 2.5,
        strokeCap = StrokeCap.round,
        currentColor = AppColors.black,
        onDrawOptionChange = null;

  final double strokeWidth;
  final StrokeCap strokeCap;
  final Color currentColor;
  final ValueChanged<WhiteboardPenSettings>? onDrawOptionChange;
}

class NodeBoundingBox {
  const NodeBoundingBox({
    required this.rect,
    required this.paddingOffset,
  });

  static const NodeBoundingBox zero = NodeBoundingBox(
    rect: Rect.zero,
    paddingOffset: Offset.zero,
  );

  final Rect rect;
  final Offset paddingOffset;
}

class NodeExtremity {
  NodeExtremity({
    required this.left,
    required this.top,
    required this.right,
    required this.bottom,
  });

  NodeExtremity.initial()
      : left = 0,
        top = 0,
        right = 0,
        bottom = 0;

  double left;
  double top;
  double right;
  double bottom;
}

class PenNode extends WhiteboardNode {
  PenNode({
    required this.uuid,
    required super.order,
    required this.penSettings,
    required this.paintingStyle,
    required this.extremity,
    required this.points,
  });

  factory PenNode.fromSettings({
    required WhiteboardPenSettings settings,
    required int order,
  }) {
    return PenNode(
      uuid: const Uuid().v4(),
      penSettings: settings,
      paintingStyle: PaintingStyle.stroke,
      order: order,
      extremity: NodeExtremity.initial(),
      points: [],
    );
  }

  final String uuid;

  final List<DrawPoint> points;

  final PaintingStyle paintingStyle;
  final WhiteboardPenSettings penSettings;

  final NodeExtremity extremity;

  @override
  void shift(Offset delta) {
    for (var i = 0; i < points.length; i++) {
      points[i] = points[i].translate(delta.dx, delta.dy);
    }
  }

  @override
  NodeBoundingBox get boundingBox {
    if (points.isEmpty) return NodeBoundingBox.zero;

    var minX = double.infinity, minY = double.infinity;
    var maxX = double.negativeInfinity, maxY = double.negativeInfinity;

    for (final point in points) {
      if (point.dx < minX) minX = point.dx;
      if (point.dy < minY) minY = point.dy;
      if (point.dx > maxX) maxX = point.dx;
      if (point.dy > maxY) maxY = point.dy;
    }

    return NodeBoundingBox(
      rect: Rect.fromLTRB(minX, minY, maxX, maxY),
      paddingOffset: Offset.zero,
    );
  }
}

Soooo, yeah, we ready to go, lets focus now on custom painter logic:


class CanvasCustomPainter extends CustomPainter {
  CanvasCustomPainter({
    required this.nodes,
    required this.offset,
    required this.scale,
    required this.screenSize,
    this.transformationController,
    this.backgroundColor,
  });

  List<WhiteboardNode> nodes;

  double scale;
  Offset offset;
  Size screenSize;

  final Color? backgroundColor;

  TransformationController? transformationController;

  @override
  void paint(Canvas canvas, Size size) {
    if (backgroundColor is Color) {
      canvas.drawColor(backgroundColor!, BlendMode.src);
    }

    if (nodes.isEmpty) return;

    // we need order to pay attention to backward/forward layers
    nodes.sort((a, b) => a.order.compareTo(b.order));

    canvas.saveLayer(Rect.largest, Paint());

    for (final node in nodes) {
      if (node is! PenNode) continue;

      // if not on the screen, lets skip rendering it
      if (_checkScribbleInvisible(
        scale: scale,
        offset: offset,
        screenSize: screenSize,
        extremity: node.extremity,
      )) {
        break;
      }

      final paint = Paint()
        ..strokeCap = node.penSettings.strokeCap
        ..isAntiAlias = true
        ..color = node.penSettings.currentColor
        ..strokeWidth = node.penSettings.strokeWidth
        ..blendMode = BlendMode.srcOver;

      _drawAllPoints(points: node.points, canvas: canvas, paint: paint);
    }

    canvas.restore();
  }

  bool _checkScribbleInvisible({
    required double scale,
    required Offset offset,
    required Size screenSize,
    required NodeExtremity extremity,
  }) {
    if ((extremity.left == 0 ||
        extremity.right == 0 ||
        extremity.top == 0 ||
        extremity.bottom == 0)) {
      return false;
    }

    return (extremity.left + offset.dx < 0 && extremity.right + offset.dx < 0)
            // Check Right
            ||
            (extremity.right + offset.dx > (screenSize.width / scale) &&
                extremity.left + offset.dx > (screenSize.width / scale))
            // Check Top
            ||
            (extremity.top + offset.dy < 0 && extremity.bottom + offset.dy < 0)
            //    Check Bottom
            ||
            (extremity.bottom + offset.dy > (screenSize.height / scale) &&
                extremity.top + offset.dy > (screenSize.height / scale))
        ? true
        : false;
  }

  void _drawAllPoints({
    required Paint paint,
    required Canvas canvas,
    required List<DrawPoint> points,
  }) {
    for (var x = 0; x < points.length - 1; x++) {
      if (!points[x + 1].visible) continue;

      canvas.drawLine(points[x], points[x + 1], paint);
    }
  }

  @override
  bool shouldRepaint(CanvasCustomPainter oldDelegate) => true;
}

so now we support smart drawing, thinking about performance, and ready to add other nodes (eraser, shapes, images, text, etc.)

final step is to implement our methods to handle interactions with whiteboard:

enum WhiteboardPointerMode {
  none,
  singleTap,
  doubleTap;

  static WhiteboardPointerMode fromPointersCount(int count) {
    switch (count) {
      case 1:
        return singleTap;
      case 2:
        return doubleTap;
      default:
        return none;
    }
  }
}

int lastOrder = 0;
List<PenNode> nodes = [];
Offset lastFocalPoint = Offset.zero;
Offset? initialInteractionPoint;
WhiteboardPointerMode pointerMode = WhiteboardPointerMode.none;

// helper for transformation
Offset _toCurrentScene(
    TransformationController controller,
    Offset viewportPoint,
) {
    final inverseMatrix = Matrix4.tryInvert(controller.value);
    if (inverseMatrix is! Matrix4) return viewportPoint;
    return MatrixUtils.transformPoint(inverseMatrix, viewportPoint);
}

// helpers for drawing
List<PenNode> _startDrawing({
    required int order,
    required List<PenNode> nodes,
    required WhiteboardPenSettings penSettings,
}) {
    final node = PenNode.fromSettings(settings: penSettings, order: order);
    final tempNodes = List<PenNode>.from(nodes)..add(node);

    return tempNodes;
}

List<PenNode> _updateDrawing({
    required Offset point,
    required List<PenNode> scribbles,
}) {
    final tempNodes = List<PenNode>.from(scribbles);
    tempNodes.lastOrNull?.points.add(DrawPoint.fromOffset(point));

    return tempNodes;
}

void onInteractionStart(ScaleStartDetails details) {
     final pointerMode = WhiteboardPointerMode.fromPointersCount(
      details.pointerCount,
    );
    // we support only one finger (pointer) for drawing
    if (!pointerMode.isSingle) return;

    final lastFocalPoint = details.focalPoint;
    final point = _toCurrentScene(
      _transformationController,
      lastFocalPoint,
    );

    // start drawing here
    final penNodes = startDrawing(
        penSettings: _penSettings,
        nodes: nodes,
        order: lastOrder + 1,
    );

    pointerMode = WhiteboardPointerMode.singleTap;
    lastFocalPoint = point;
    nodes = penNodes;

    setState((){});
}

// here we will handle zoom, move and drawing at once
void onInteractionUpdate(ScaleUpdateDetails details) {
     final pointerMode = WhiteboardPointerMode.fromPointersCount(
      details.pointerCount,
    );
    final scale = _transformationController.value.getMaxScaleOnAxis();

    if (_currentZoom != scale) {
      _currentZoom = scale;
      setState((){});
    }

    // we handled zoom/move with two fingers, for drawing we need only 1
    if (!pointerMode.isSingle) return;

    final point = _toCurrentScene(
      _transformationController,
      details.localFocalPoint,
    );

    if (nodes.isEmpty) return;

    final penNodes = _updateDrawing(
        scribbles: nodes,
        point: point,
    );

    nodes = penNodes;
    setState((){});
}


// once interactions ended - reset
void onInteractionEnd() {
    pointerMode = WhiteboardPointerMode.fromPointersCount(0);
    initialInteractionPoint = null;
    setState((){});
}

And thats actually it, hope i didn't miss anything cause my original implementation is using BLOC for state and events, so feel free to comment if you have some issues or questions

Reasons:
  • Blacklisted phrase (1): to comment
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dmytro Stefurak

79837358

Date: 2025-12-03 22:02:51
Score: 1.5
Natty:
Report link

I tried all the solutions nothing works. The only thing that works for me is changing JAVA version to 21 instead of 17 give it a try.

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Andrew Hossam

79837357

Date: 2025-12-03 22:02:51
Score: 1
Natty:
Report link

AI tend to be good to generate code templates to start projects, but can have trouble to produce good domain analysis. It can eventually be an average SO sustitute since LLM learn from it. It fits well the knowledge exchange phase of tech practioners, but with an average and sometimes clumsy bot instead of real people. Basicaly before AI bots, peoples tended to answer or ask, look question on web forums or SO sites, even before the web in IRL gaterings. You had to do templates with a web generator, and even before that developers had their own personal snippets collection. Without AI it force you to structure code by yourself, be more autonomous and proactive. A popular alternative to learn the fundamentals is to read a book about a particular tech while doing samples projects and exercices.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: v-g

79837356

Date: 2025-12-03 22:02:50
Score: 0.5
Natty:
Report link

Have you tried changing the position: absolute on break-out to position: relative instead? If you're trying to keep the yellow container within it's current flow, while still maintining the position, you need to use relative positioning instead of absolute.

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Atlas

79837352

Date: 2025-12-03 21:50:48
Score: 0.5
Natty:
Report link

@user31992986, "... I did not get to operate on the output." is unclear.

Did you mean that the program completed before prompting for input?

Post the output seen.

Post the input you attempted, if any.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @user31992986
  • High reputation (-2):
Posted by: chux

79837340

Date: 2025-12-03 21:33:44
Score: 2
Natty:
Report link

"To improve coding in the business service tier, it's better to group these classes using either an interface or an abstract class." ⬅ Why do you think this?

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

79837336

Date: 2025-12-03 21:25:42
Score: 1
Natty:
Report link

I think my only other thought is this makes using a plain iterator hard? With a larger pages / object size, could this hit the document size limit?

I suppose running two queries could work, but that's still two queries. Plus potential concurrency issues doing so

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

79837333

Date: 2025-12-03 21:21:41
Score: 1
Natty:
Report link

Setting trigger={'legacy'} worked for me. Nothing else here did.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Stu Horsfield

79837326

Date: 2025-12-03 21:11:39
Score: 0.5
Natty:
Report link

JHipster generates apps with a Java back-end using an extensive set of Spring technologies: Spring MVC (providing a framework for websockets, REST and MVC), Boot, Data... It should be possible to introduce a new interface or Abstract class in Java with the abstract keyword and interfacekeyword. As with Java only specify method names in interfaces, but specify the behavior in child classes.

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

79837325

Date: 2025-12-03 21:08:38
Score: 1.5
Natty:
Report link

// Source - Can I create an *alias* member function in C++?

// Posted by Pietro, modified by community. See post 'Timeline' for change history

// Retrieved 2025-12-03, License - CC BY-SA 4.0

class B {

virtual int F(int i) = 0;

inline int G(int i) { return F(i);// Source - Can I create an *alias* member function in C++?

// Posted by Pietro, modified by community. See post 'Timeline' for change history

// Retrieved 2025-12-03, License - CC BY-SA 4.0

class B {

virtual int F(int i) = 0UPDATEUPDATE;

};

}

};

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

79837319

Date: 2025-12-03 20:57:36
Score: 0.5
Natty:
Report link

You can add multiple more checks to see if the data is correct with the rules you set in the statements. cheers!

Check if the number of instructors is too high

if ($data['instructors'] > $maxInstructors) {
    if ($data['participants'] > 0) {
        $errors['instructors'] = "With participants, a maximum of {$maxInstructors} instructors is allowed for {$workshopsReserved} workshop(s).";
    } else {
        $errors['instructors'] = "A maximum of {$maxInstructors} instructors is allowed for {$workshopsReserved} workshop(s).";
    }
}
if ($data['participants'] > $maxParticipants) {
    $errors['participants'] = "A maximum of {$maxParticipants} participants is allowed for {$workshopsReserved} workshop(s).";
}
if ($data['participants'] > 0 && $data['instructors'] == 0) {
    $errors['participants'] = "Participants cannot be registered without instructors.";
}
if ($errors) {
    return back()->withErrors($errors)->withInput();
}
Reasons:
  • Blacklisted phrase (1): cheers
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: SpaCeBoss2001