79730885

Date: 2025-08-09 21:21:36
Score: 3.5
Natty:
Report link

Anyone arriving here in the future with a similar issue where you must support multiple frameworks and one of those is framework 4.0 (for very old vendor supplied application running on Windows XP in my case), the link to Thomas Levesque solution (https://thomaslevesque.com/2012/06/13/using-c-5-caller-info-attributes-when-targeting-earlier-versions-of-the-net-framework/) provided by others above works perfectly and seems to be the most straight forward solution to me since both newer and older frameworks can now use the attributes with no code differences.

I put his stub definitions into its own class file and surrounded it with the #if NET40 compiler directive so those stubs will only be used on a NET40 version compile (since I support multiple frameworks). A framework 4.0 version of each app can now access the [Caller...] attributes (I am only using [CallerMemberName], but I have no doubt the other stubs function too) and the expected values are populated into your variables. Thanks to Thomas and the others that left the link!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2): I have no doubt
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ron Landon

79730872

Date: 2025-08-09 20:45:29
Score: 0.5
Natty:
Report link

Instead of using Microsoft’s own module, you can use the open-source Get-AzVMSku module, which allows you to browse every Azure Gallery Image publisher, select offers, versions, and see VM sizes available to your subscription, along with quotas.

The module is available on the PowerShell Gallery:
Get-AzVMSku on PowerShell Gallery

I’ve also written a detailed guide explaining how it works and how to use it:
Browse PowerShell Azure VM SKUs & Marketplace Images with Get-AzVMSkuhttps://www.codeterraform.com/post/powershell-azure-vm-skus

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

79730868

Date: 2025-08-09 20:37:27
Score: 3.5
Natty:
Report link

I would suggest another approach as I am facing a similar issue for a singstar-like app I am coding.

I am considering creating a custom audio processing node the count the actuel buffer frames passing through it (a AudioWorkletProcessor maybe). I could provide a method giving me the actual played time based on samples count and sample time resolution.

So you would just connect those extra nodes just after the nodes you want to measure.

Reasons:
  • No code block (0.5):
  • Me too answer (2.5): I am facing a similar issue
  • Low reputation (0.5):
Posted by: Simon the Salmon

79730866

Date: 2025-08-09 20:36:27
Score: 1.5
Natty:
Report link

In my case, in monorepo, I had different versions of type-graphql installed in the server app and a library containing model classes.

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

79730847

Date: 2025-08-09 19:46:17
Score: 1
Natty:
Report link

User-uploaded SVG files may embed malicious code or include it via an external reference. When a malicious SVG file is published on your website, it can be used to exploit multiple attack vectors, including:

Indeed, wrapping the image in an <img> tag is 1 of the 3 measures you can take. Other measures are

More detailed guidance on each measure:

1: Wrap the SVG in an <img> Tag

Instead of directly embedding an SVG using <svg> or <object>, use the <img> tag to render it:

<img src="safe-image.svg" alt="Safe SVG">

The <img> tag ensures that the SVG is treated as an image and prevents JavaScript execution inside it, but it doesn’t remove malicious code from the SVG file.

2: Apply a Content Security Policy (CSP) header

Enabling the Content Security Policy (CSP) HTTP response header also prevents JavaScript execution inside the SVG.

For example:

Content-Security-Policy: default-src 'none'; img-src 'self'; style-src 'none'; script-src 'none'; sandbox

Which applies the following policy:

Directive Purpose
default-src 'none' Blocks all content by default.
img-src 'self' Allows images only from the same origin.
style-src 'none' Prevents inline and external CSS styles.
script-src 'none' Blocks inline and external JavaScript to prevent XSS.
sandbox Disables scripts, forms, and top-level navigation for the SVG.

3: Server-side sanitization of uploaded SVGs

Strip potentially harmful elements like <script>, <iframe>, <foreignObject>, inline event handlers (e.g. onclick) or inclusion of other (potentially malicious) files.

Examples of libraries for SVG sanitization:

1 I started the mentioned Java sanitizer project, as I could not find any solution for Java.

Alternative: Rasterize SVG server-side

Render the SVG server side to a raster based format, like PNG. This may protect visiting users, but could introduce vulnerabilities at the rendering side at the server, especially using server side JavaScript (like Node.js).

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
Posted by: Borewit

79730846

Date: 2025-08-09 19:39:16
Score: 3
Natty:
Report link

Sorry for bothering everyone.

I am not too sure why the summary statistics of r_ga and insideGARnFile_WithCoord) are different, but the output graphics looked very similar. I will assume slight boundary mismatch is due to coordinate reference system (difference/transformation). I will assume the problem is solved for now. If you have any insights on the boundary mismatch, please leave your comments here.

Much appreciated! Summary statistics of insideGARnFile_WithCoord Rainfall Output from insideGARnFile_WithCoord

Summary statistics of r_ga. Rainfall Output from r_ga

dchan

Reasons:
  • Blacklisted phrase (1): appreciated
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Dan Chan

79730841

Date: 2025-08-09 19:34:15
Score: 1.5
Natty:
Report link

For me the problem was when i was doing lookup for Symbol and getting the instrument value, the datatype of the instrument was int64 which is numpy based value but the Socket Api accept int.

so converting the int64 -> int fix the issue for me.

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

79730835

Date: 2025-08-09 19:27:13
Score: 1
Natty:
Report link

@STerliakov gets the credit for the answer:

Apparently, this section of the code in its entirety was added for the purpose so the user would see the data for troubleshooting purpose.

I deleted it entirely and that fixed the issue

        requirePOST();
        [$uploaded_files, $file_messages] = $this->saveFiles();
        Flash::set('debug','Application form data '
            . json_encode($_POST, JSON_PRETTY_PRINT)
            . "\nUploaded files:"
            . json_encode($uploaded_files,JSON_PRETTY_PRINT)
            . "\nFile messages:"
            . json_encode($file_messages,JSON_PRETTY_PRINT)
        );

For anyone else experiencing the issue, here is the entire working function

    public function submit() {
    
    include([DB ACCESS FILE]);
    
    $fp1 = json_encode($_POST, JSON_PRETTY_PRINT);
    $fp2 = json_decode($fp1);
    $owner_first = $fp2->owner_first;
    $owner_last = $fp2->owner_last;
    
    $query_insert_cl = "INSERT INTO cnvloans (owner_first,owner_last) VALUES ('$owner_first','$owner_last')";
    mysqli_query($dbc, $query_insert_cl);   
    
    
    redirect('/page/confirm');
        
    }
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @STerliakov
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: cdr1

79730833

Date: 2025-08-09 19:24:12
Score: 5.5
Natty:
Report link

I deployed my backend on Vercel and tried using the URL there as well, but I keep getting errors like 500, 401, 400 with Axios — when I fix one, another appears. However, the code runs perfectly in Postman and Thunder Client, but when I run it on my mobile, these errors keep showing up. If you have solved this issue before, please guide me as well.

Reasons:
  • Blacklisted phrase (1): guide me
  • RegEx Blacklisted phrase (2.5): please guide me
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Saman Shafique

79730806

Date: 2025-08-09 18:34:59
Score: 2.5
Natty:
Report link

There is the library DrusillaSelect on furthest neighbor you can try. From this paper.

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

79730802

Date: 2025-08-09 18:30:58
Score: 3
Natty:
Report link

As an example, an Etherium address with a private key

0x91b005cb6b291f67647471ad226b937657a8d7d6

pvk 000000000000000000000000000000000000000000000000007fa9e2cd6d52fe

check the address and good luck to you

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Filler text (0.5): 00000000000000000000000000000000000000000000000000
  • Low reputation (1):
Posted by: Doby

79730791

Date: 2025-08-09 18:03:52
Score: 1
Natty:
Report link

Removing --turboback from the dev script, fixed the issue.

Before

"dev": "next dev --port 3001 --turbopack"

After

"dev": "next dev --port 3001",
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mohamed Zaghloul

79730773

Date: 2025-08-09 17:33:46
Score: 2
Natty:
Report link

OnDrawColumn and OnDrawDataCell have a TGridDrawState State.

OnDataChange is in DataSource as was answered.

And yes you can't control TDBGrid unless you overload it with ancestors methods. That's why it is rarely used in real world tasks.

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

79730756

Date: 2025-08-09 17:06:40
Score: 1.5
Natty:
Report link

Each time when it is necessary to insert some frame to stream it is much better to do it before encoder: just send previous raw frame to encoder again or make some blending between previous and next frames. Dirty tricks with already encoding bitstream may give a negative side effects: broken HRD model, broken picture order counter sequence, etc.

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

79730753

Date: 2025-08-09 16:58:39
Score: 1.5
Natty:
Report link

2025 update:

For people who are confused about why there is no ID Token checkbox, it is hidden unless you add a correct Redirect URI. You need to add the one for Web platform type.

enter image description here

After that, in the Settings tab you will be able to see the ID tokens checkbox, and marking it as checked fixed the problem for me.

enter image description here

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

79730749

Date: 2025-08-09 16:49:37
Score: 1
Natty:
Report link

I didn’t get the exact same error as you, but my setup is very similar, so here are my two cents:

Solution
│
├── MyApp         // Server project. Set InteractiveWebAssembly or InteractiveAuto globally in App.razor
│
├── MyApp.Client  // Contains Routes.razor
│
└── SharedRCL     // Contains Counter.razor page (@page "/counter") without setting any render mode

In Routes.razor, make sure the Router is aware of routable components in the Razor Class Library (RCL) by adding the RCL’s assembly:

<Router AppAssembly="@typeof(Program).Assembly"
        AdditionalAssemblies="new[] { typeof(Counter).Assembly }">  @* <-- This line here *@
    ...
</Router>

Depending on your setup, you might also need to ensure that the server knows about routable components in the RCL. In MyApp/Program.cs, register the same assembly when mapping Razor components:

app.MapRazorComponents<App>()
    .AddInteractiveWebAssemblyRenderMode()
    .AddAdditionalAssemblies(typeof(MyApp.Client._Imports).Assembly)
    .AddAdditionalAssemblies(typeof(Counter).Assembly); // <-- This line here
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): get the exact same error
Posted by: Abdelhakim

79730743

Date: 2025-08-09 16:43:35
Score: 2
Natty:
Report link

can you ty this :

The idea is to search for this differently.

try to retrieve the private IP address of the Private Endpoint through its network interfaces (NICs).

and you identify the private DNS zones linked to the virtual network (VNet) where this Private Endpoint is connected (via the Private DNS zone links).

Within these private DNS zones, you search for DNS records that match those private IP addresses — these are the FQDNs

You can do it with powershell or python sdk azure easily

Reasons:
  • No code block (0.5):
  • Starts with a question (0.5): can you
  • Low reputation (1):
Posted by: Moury_DevOps

79730737

Date: 2025-08-09 16:26:32
Score: 1.5
Natty:
Report link

Here is my workaround for blank icon issues on taskbar.

1. create a shortcut on desktop, open it.

2. drag this shortcut to the taskbar. this will pin it onto taskbar.

3. right click the icon, un-pin. done!

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

79730733

Date: 2025-08-09 16:19:29
Score: 3
Natty:
Report link

You can create SPA using bootstrap and jquery/vanilla.js... For that you must have a strong understanding of vanilla js or jquery

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

79730723

Date: 2025-08-09 16:03:26
Score: 3
Natty:
Report link

Preferences-Run/Debug-Perspectives

in "Application Types/Lunchers" box

"STM32 C/C++ Application"

Debug: None,Run:None.

not Debug:Debug.

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

79730712

Date: 2025-08-09 15:48:21
Score: 6
Natty: 5
Report link

रवि की साइकिल जंग खा चुकी थी, ब्रेक भी काम नहीं करते थे। फिर भी वह रोज़ दस किलोमीटर स्कूल जाता। दोस्तों ने मज़ाक उड़ाया, पर उसने हिम्मत नहीं हारी। पढ़ाई में अव्वल आया तो वही दोस्त बोले, "तेरी साइकिल टूटी थी, सपने नहीं।"

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: Abhishek Sahani

79730709

Date: 2025-08-09 15:43:19
Score: 1
Natty:
Report link

The confidence intervals for versicolor and virginica correspond to their reported estimates of 0.93 and 1.58. That is, the offset of versicolor is estimated as 0.93 and the confidence interval spans 0.73 to 1.13. To get the estimate of the mean of versicolor, you would add the intercept to all of those numbers: a mean of 5.01 + 0.93 with the lower confidence limit at 5.01 + 0.73 and the upper confidence limit at 5.01 + 1.13.

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

79730684

Date: 2025-08-09 14:51:08
Score: 1
Natty:
Report link

Store in three separate columns; it's much better for maintenance and data retrieval (note that they are three very distinct pieces of data, so putting them together will make your life harder).

If you want to have an easy way to always have the [Country ISO]-[State ISO]-[City Name] string in hand, you can create an additional generated column.
Example (Postgres):
beautified_code varchar GENERATED ALWAYS AS CONCAT_WS('-', country_iso, state_iso, city_name) STORED

In this column, the three values will always be concatenated together automatically during entry creation and update. So you don't need to worry about maintaining consistency in it.

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

79730683

Date: 2025-08-09 14:49:06
Score: 6.5
Natty: 5
Report link

i have the same question, i have a dataset contening medical variables using to determine whether the patient have to receive outpatient care or not,

the target variable is SOURCE :

Reasons:
  • Blacklisted phrase (1): i have the same question
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): i have the same question
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: viny presty nakavoua

79730682

Date: 2025-08-09 14:46:06
Score: 3
Natty:
Report link

Try to rename your hivepress-marketplace directory to hivepress or set for add_action higher priority (3rd parameter)

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

79730680

Date: 2025-08-09 14:40:04
Score: 2.5
Natty:
Report link

In some cases of API development, we want to ignore some fields in the JSON response. In such cases we use the @JsonIgnore annotation, therefore, it was not designed to solve the Infinite Recursion problem.

In my projects, I use the @JsonIgnore annotation with the @ManyToMany bidirectional relationship between entities, and I use @JsonManagedReference and @JsonBackReference with @ManyToOne and @OneToMany cases.

Reasons:
  • No code block (0.5):
  • User mentioned (1): @JsonIgnore
  • User mentioned (0): @JsonIgnore
  • User mentioned (0): @ManyToMany
  • User mentioned (0): @JsonManagedReference
  • User mentioned (0): @JsonBackReference
  • User mentioned (0): @ManyToOne
  • User mentioned (0): @OneToMany
  • Low reputation (1):
Posted by: mo_ra

79730677

Date: 2025-08-09 14:36:03
Score: 3
Natty:
Report link

I tried everything on the Mac. But "sudo su -" worked finally, which is root directory with full permission.

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

79730662

Date: 2025-08-09 13:49:53
Score: 0.5
Natty:
Report link

Nevermind, I found a solution almost immediately after posting this question, however I am leaving this here for eventual future visitors. I fixed this problem by simply creating a temporary repository with the modified path (Git) selected, published it to github, and now the new path is saved. Don't know why it didn't save it before, but this solutio should work.

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

79730661

Date: 2025-08-09 13:47:52
Score: 3
Natty:
Report link

The empty views activity doesn't give Java either, nor the no activity. java is completely gone from Android Studio. now I need to learn a new language. hate this, I haven't been programming since 2021 when I finish my computer science degree. now I'm trying to get the rust off but apparently I have to start from the beginning. Kotlin, here I come!

Reasons:
  • Blacklisted phrase (0.5): I need
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Marina2521

79730659

Date: 2025-08-09 13:42:51
Score: 1
Natty:
Report link

As suggested by @furas, we can use git url.

ubuntu@ubuntu:~/hello$ poetry add scikit-learn git+https://github.com/scikit-learn-contrib/imbalanced-learn.git Creating virtualenv hello in /home/ubuntu/hello/.venv Using version ^1.7.1 for scikit-learn

Updating dependencies Resolving dependencies... (0.1s)

Package operations: 6 installs, 0 updates, 0 removals

Writing lock file ubuntu@ubuntu:~/hello$

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

79730651

Date: 2025-08-09 13:26:47
Score: 4.5
Natty: 7
Report link

Same here, it worked well at first for several times (dont know how often) ... is there a rate limit ?

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: prattpiss

79730646

Date: 2025-08-09 13:18:45
Score: 1
Natty:
Report link

It looks like the base path is not set correctly. You can try below

import os
import sys

sys.path.append(os.path.abspath("."))

sys.path.append("../")

# Then try to import the src modules
from src.logger import Logging

Here we are setting up the path manually but it should works.

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

79730639

Date: 2025-08-09 13:05:42
Score: 0.5
Natty:
Report link

MongoDB collections dont have a schema, but if you want to read it as spark dataframe all rows must have the same schema. So fieldA cant be a String and a json object at the same time. If it not present you shouldnt create an empty string, just drop the field or use null

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

79730632

Date: 2025-08-09 12:54:39
Score: 2
Natty:
Report link

I found the answer here: CosmosDB Emulator Linux Image - Mount Volume

When I tried it, it seemed to work

services:
  cosmosdb:
    volumes:
      - cosmosdrive:/tmp/cosmos/appdata # <-- pointing to this location did it for me

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

79730630

Date: 2025-08-09 12:52:38
Score: 1
Natty:
Report link
import React from 'react';

const videos = [
  { id: 'dQw4w9WgXcQ', title: 'Rick Astley - Never Gonna Give You Up' },
  { id: '3JZ_D3ELwOQ', title: 'Maroon 5 - Sugar' },
];

export default function VideoLinks() {
  return (
    <div>
      <h2>คลิป YouTube</h2>
      <ul>
        {videos.map(video => (
          <li key={video.id}>
            <a
              href={`https://www.youtube.com/watch?v=${video.id}`}
              target="_blank"
              rel="noopener noreferrer"
              style={{ color: 'blue', textDecoration: 'underline' }}
            >
              {video.title}
            </a>
          </li>
        ))}
      </ul>
    </div>
  );
}
Reasons:
  • Blacklisted phrase (1): youtube.com
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: บัญชี Google

79730629

Date: 2025-08-09 12:46:36
Score: 6.5
Natty: 6.5
Report link

Yes i know it's a real old thread. But i have a question.

The Arc works fine so far, but i would like to display a value in the middle of the Gauge. How can i achieve this?

Reasons:
  • Blacklisted phrase (0.5): How can i
  • Blacklisted phrase (1.5): i have a question
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Jumper D

79730626

Date: 2025-08-09 12:42:34
Score: 3.5
Natty:
Report link

There is a well tested implementation in Android. You can even package it into your own Java project like this.

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

79730622

Date: 2025-08-09 12:34:33
Score: 1.5
Natty:
Report link

Since Spring Boot is using logback for logging, you can overwrite the default logback pattern by your own patternLayout, masking your password properties. This approach also applies to any other log output (e.g. toString methods) according to defined RegEx pattern.

see https://www.baeldung.com/logback-mask-sensitive-data for example.

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

79730620

Date: 2025-08-09 12:33:32
Score: 4.5
Natty: 4.5
Report link

is it required to call the python script from C# only?

Can't you directly expose the Python code as an API endpoint and then call the API endpoint from the C# as it will be easier?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): is it
  • Low reputation (1):
Posted by: Abhishek kumar

79730601

Date: 2025-08-09 12:05:25
Score: 1
Natty:
Report link

There was nothing special in the template file but the variable "unit" holding the datum, and a for loop to distribute it's elements to one html table.

Here is how template looks like:


<tbody>

    {% for element in unit %}
                        
    <tr>
    
        <td>{{ element[0] }} </td>
                        
        <td>{{ element[1] }}</td>

        <td>{{ element[2] }}</td>
                        
    </tr>
                        
    {% endfor %}

</tbody>

Thank you all, who are writing suggestions. I have found the solution to define an empty list such as unit_result, populating the list item with a loop and sending it to the template.


#prepare for the table
unit_result = []
for i in range(len(unit)):
    unit_result.append((unit[i][0], unit[i][1], unit[i][2]))
    
return render_template('analysis.html', unit_result=unit_result)

The new template will include the following line instead of the older one:

{% for element in unit_result %}
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: QuestionsAndAnswers

79730583

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

La solución correcta implica el uso de las API de Windows (COM) o la automatización de la interfaz de usuario.

SHELL

Type shellAppType = Type.GetTypeFromProgID("Shell.Application");
object shellApp = Activator.CreateInstance(shellAppType);
Reasons:
  • Blacklisted phrase (3): solución
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Paolo Terceros

79730576

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

I also face this issue a week ago so i use the nullish coalescing operator (??) to provide a default string.

constvalue: string = maybeString ?? "";

This ensures value is always a string, even if maybe String is undefined.

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

79730572

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

FWTW, MDN nowadays says in a somewhat prominent box:

The initial value should not be confused with the value specified by the browser's style sheet.

enter image description here

And you seem to want the latter.

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Computer says 'no'--SOooooo

79730566

Date: 2025-08-09 10:56:08
Score: 3
Natty:
Report link

https://github.com/bandirom/fastapi-socketio-handler

I created a small library to easily connect SocketIO to FastApi

Feel free to discuss about approach in the lib

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

79730560

Date: 2025-08-09 10:46:06
Score: 1.5
Natty:
Report link

When you run the application for the first time, it will download all dependencies from the remote repositories to local repositories so it is a bit time taking process so the application may face a delay. From the second time and onward when you start the application, it will load libraries from the local repos and missing libraries from the remote, so it needs a few seconds to organize this whole process.

Removing unwanted dependencies from your pom.xml can significantly improve the performance of your application.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When you
  • Low reputation (1):
Posted by: Sajjad Haider

79730557

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

You can resolve this issue with local builds:

  1. Clone core via SSH (no token)

  2. Run:

    mvn clean install

  3. This installs core into your local Maven repository (~/.m2/repository)

  4. Now api and web can reference it in pom.xml without touching GitLab or HTTP tokens.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mohammad Taghi Ahadi

79730555

Date: 2025-08-09 10:35:04
Score: 2
Natty:
Report link

You can cd into another directory, for example if you copy the address in your address bar in your file explorer, and paste it in your powershell, and type change directory command, as seen below

cd 'D:\Users\username\Downloads"

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

79730552

Date: 2025-08-09 10:33:03
Score: 2.5
Natty:
Report link

I had this issue too and then when i had the (SA) isssue i just knew the problem, I tried vpn but still didn't work so i turn my pc off and then turn it back on and it works well now.

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

79730544

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

I found out the issue was that the feature set that I had defined was not enough to let the parser choose a different action than starting an arc. Once I added a feature to indicate if an arc was started, the parser now starts and ends arcs until the stop condition is reached. The code looks somewhat different than the example that I first posted, but it is similar. For example, the while-loop in the parse() method continues indefinitely (while True:) but there is a break condition that comes into effect when the number of arcs reached the number of tokens in the sentence (since the number of arcs including the root arc is the same as the number of tokens). Note that I also switched from using the perceptron code to a SVM from the scikit-learn library.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nils Blomqvist

79730542

Date: 2025-08-09 10:04:57
Score: 1.5
Natty:
Report link

A pure Python library, with no dependencies, to calculate business days between dates, quickly and efficiently. Ideal for Python developers and data scientists who value simplicity and performance.
https://github.com/cadu-leite/networkdays

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

79730538

Date: 2025-08-09 09:58:56
Score: 1.5
Natty:
Report link

0

A pure Python library, with no dependencies, to calculate business days between dates, quickly and efficiently. Ideal for Python developers and data scientists who value simplicity and performance.

https://github.com/cadu-leite/networkdays

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

79730537

Date: 2025-08-09 09:57:55
Score: 1.5
Natty:
Report link

A pure Python library, with no dependencies, to calculate business days between dates, quickly and efficiently. Ideal for Python developers and data scientists who value simplicity and performance.

https://github.com/cadu-leite/networkdays

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

79730536

Date: 2025-08-09 09:56:55
Score: 1.5
Natty:
Report link

or jut check
pure Python library, with no dependencies, to calculate business days between dates, quickly and efficiently. Ideal for Python developers and data scientists who value simplicity and performance.
https://github.com/cadu-leite/networkdays

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

79730534

Date: 2025-08-09 09:54:55
Score: 0.5
Natty:
Report link

Step-by-Step Internal Flow

  1. BEGIN → The database assigns a transaction ID (TID) and starts tracking all operations.

  2. Read/Write Operations → Data pages are fetched from disk into the Buffer Pool.

  3. Locking / MVCC

    • Lock-based systems: lock rows/tables to ensure isolation.

    • MVCC systems: keep multiple versions of data so reads don’t block writes.

  4. Undo Logging → Before any change, the old value is written to an Undo Log.

  5. Change in Memory → Updates are made to in-memory pages in the buffer pool.

  6. Redo Logging (WAL) → The intended changes are written to a Write-Ahead Log on disk.

  7. Commit → The WAL is flushed to disk, guaranteeing durability.

  8. Post-Commit → Locks are released, and dirty pages are eventually written to disk.

  9. Rollback (if needed) → Use the Undo Log to restore old values.

Read More: https://jating4you.blogspot.com/2025/08/understanding-internal-working-of.html

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

79730526

Date: 2025-08-09 09:34:50
Score: 3.5
Natty:
Report link

That's called an inline mode.
Here's the links in official API reference:

  1. About inline bot: https://core.telegram.org/bots/inline

  2. API reference: https://core.telegram.org/bots/api#inline-mode

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

79730525

Date: 2025-08-09 09:31:49
Score: 0.5
Natty:
Report link

I've done very basic image creation with PIL in Mojo. (Running on Fedora Linux, Mojo installed via pip into Python venv.) My program imports PIL.Image, creates a new image, and initialises the pixel data from a Mojo List[UInt32] converted via the Mojo Python.list() type conversion.

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

79730514

Date: 2025-08-09 09:17:46
Score: 0.5
Natty:
Report link

If you are using newer version of keycloak specifically 26, then
https://www.keycloak.org/server/containers#_importing_a_realm_on_startup

keycloak:
  image: quay.io/keycloak/keycloak:26.1.4
  command: start-dev --import-realm
  ports:
    - "8081:8080"
  environment:
    KC_BOOTSTRAP_ADMIN_USERNAME: admin
    KC_BOOTSTRAP_ADMIN_PASSWORD: admin
    KC_DB: postgres
    KC_DB_URL: jdbc:postgresql://postgres:5432/keycloak
    KC_DB_USERNAME: keycloak
    KC_DB_PASSWORD: keycloak
  volumes:
    - keycloak_data:/opt/keycloak/data
    - ./compose/keycloak/realms:/opt/keycloak/data/import
  networks:
    - keycloak
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Noman

79730510

Date: 2025-08-09 09:09:43
Score: 5.5
Natty: 5
Report link

solution for controlling usb Power on/off is in my video https://www.youtube.com/watch?v=CTlXuiL_ARM&t=5s

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Osama Ghandour Geris

79730508

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

The error happens because HSQLDB’s SQL engine can’t find your class in its own Java classpath — fix it by adding the JAR via SET DATABASE JAVA CLASSPATH, restarting, and ensuring the method is public static and not in a nested Boot JAR.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: J.Srivastava

79730505

Date: 2025-08-09 08:43:37
Score: 4.5
Natty:
Report link

please focus on bulkifying, like @eyescream did in his example

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @eyescream
  • Single line (0.5):
  • Low reputation (1):
Posted by: Abhishek Bharti

79730489

Date: 2025-08-09 08:11:30
Score: 0.5
Natty:
Report link

Had to build on top of the information provided, as I saw no clear rule for tokens

This worked for me:

delims^=^>^<^"^ tokens^=1^,^2^,^3^,^4^,^5

Was unable to make this work changing the order to the classical: tokens^=1^,^2^,^3^,^4^,^5 delims^=^>^<^"^

I have been unable yet to include blank spaces for delims using this approach. I tried with delims^=^>^<^"^ ^ to no avail.

Some proposals of other answers did not worked for me.

Reasons:
  • Blacklisted phrase (1): did not work
  • Whitelisted phrase (-1): This worked for me
  • Whitelisted phrase (-1): worked for me
  • No code block (0.5):
  • Low reputation (1):
Posted by: CT2003

79730477

Date: 2025-08-09 07:45:24
Score: 2.5
Natty:
Report link

The Red Cross Society of China has died inside, 5 subversive conspiracies exposed! Extremely fearful!

Food is the most important, but now the evil seeds are on earth! For thousands of years, the Elders always charge: "Take heed, beware of the leaven of the Pharisees, and of the leaven of Herod. (Mark 8:15)"; The visible demons are not terrible, but the sugar coated shells and boiled frogs in warm water - The subtle poisoning! If a minor disease is not cured, it will inevitably go deep. If the disease goes into anorexia, it will be hopeless. The awakening time will be dark! For example, the black mage in the Lord Of The Rings left a "five finger" mark on the orc's head. Now the devil is deeply rooted in the hearts of the people and covered with human skin. The five internal organs (poisons) are complete and run everywhere, omnipresent and ferocious! In a short time, it will be a world of "walking corpses"! There is no doubt that for these irrational and immoral "ghouls", the greatest "fun of life" is of course ... eating human!

Therefore, it is still the Millennium prophecy: "Take heed that no man deceive you. For many shall come in my name, saying, I am Christ; and shall deceive many. And ye shall hear of wars and rumours of wars: see that ye be not troubled: for all these things must come to pass, but the end is not yet. For nation shall rise against nation, and kingdom against kingdom: and there shall be famines, and pestilences, and earthquakes, in divers places. All these are the beginning of sorrows. Then shall they deliver you up to be afflicted, and shall kill you: and ye shall be hated of all nations for my name's sake. And then shall many be offended, and shall betray one another, and shall hate one another. And many false prophets shall rise, and shall deceive many. And because iniquity shall abound, the love of many shall wax cold. But he that shall endure unto the end, the same shall be saved. And this gospel of the kingdom shall be preached in all the world for a witness unto all nations; and then shall the end come. (Matthew 24:4-14) "( these "4" all means "dead" in Chinese pronunciation)

Throughout the history of the "Red Cross Society", from the bloody crucifixion of Jesus to the excessive collection of papal Crusades, from religious reform to clarifying doctrines to palliative surgery and artificial intelligence, from the affected "cross salvation medicine" to the knowledge culture with developed limbs and empty mind, it is obviously an increasingly desolate, corrupt, deviated from the core and cruel human history! Death is like a lamp out, When the body is dead, there is still soul. But if the heart is dead, then all dead without burial! Don't think you can still be alone at the junction of heaven and earth (light and dark). Visually, this is the most fierce arena for the fight between good and evil! As a crossroads, the Middle East has always been a troublemaker. Jews are the representatives of mankind. The best and worst are concentrated on them! As shown as the "crime poison" has spread to the north and west, giving these Migrant Workers and Leading Sheep with "sickle hoe" and "cross pastoral stick" a blow! The Worker's disobedience also shows that the Shepherd's discipline is ineffective (or beyond the reach of the whip). Fish begins to stink at the head, and natural disasters are everywhere!

However, these are inevitable "pretty evil tide" (historical trends). War and disease are just the beginning, and the "finale" (center, focus) is coming. So the fingers connect with the heart, it is natural that there should be a church before a society; Human life matters, man-made disasters are the precursor of natural disasters, man and nature are one; Although the former is an explicit symptom, it just an irrelevant skin pain, but it can reflect a series of potential (internal) problems. It is difficult to endure pain and itch, When the invisible virus without gunpowder breaks through the heart of human nature, the whole social group has essentially died directly from the inside! This is the internal corruption of self occupation! For the time being, we can summarize the crux of all social problems with "uneasy mentality and psychological decline". There is nothing new under the sun, As early as the beginning of the last century, this obvious symptom and death tragedy have been shown on the "foretaste (heretic) wood (木)" staff, as the foot of the "human" (人; humanized) has exposed under the "cross" (十;Divinity) and become "A Rotten Wood"(木)- The Golden Time is over just after "three generations"! At most, it is regarded by outsiders(faithless)as "Umbrella(伞)of Biochemical Crisis"!

The heart is all things, So the selfish thoughts are sins, and phase is generated by mind, It has nothing to do with the environment but the state of heart-vision! If the internal contradiction is not handled, it will inevitably lead to external (physical) conflicts. New sorrows and old hatreds will come one after another,once the heart-lamp is off, there is no spark to start a prairie fire, only black smoke! Such chaos (civil strife) can be seen in a little bit, even those who are deeply hidden in "China Christian Church"(CCC)center, these otaku and "Outer-ring" also knows. What are you saying about the family scandal? The spectators see the chess game better than the players, This is reflected by insiders who are outside the church. While the other 99% of Chinese are still in the dark, completely ignorant, and even gloating about indifference, What else do they say that prevention begins with indifference? If it goes on like this, isn't it all drift with the current, and it's all over? Do me a favor please, The devil has come up with countless refreshing tricks to poison and kill our entire human group, and we are still beautifying them, fighting over trivial matters, and drifting on the core issues?

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

79730467

Date: 2025-08-09 07:24:19
Score: 3
Natty:
Report link

If you can recompile nginx, you might consider using the module I developed.

https://github.com/HanadaLee/ngx_http_request_cookies_filter_module

location /api {
    clear_request_cookie B;
    proxy_set_header $filtered_request_cookies;
    proxy_pass <upstream>;
}
Reasons:
  • Probably link only (1):
  • Contains signature (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hanada

79730466

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

Basically it means…

Your project isn’t on the “old” stable Next.js behavior anymore.
In older versions of Next.js App Router API routes, this worked:

ts

CopyEdit

exportasync function PUT(request: Request, { params }: { params: { userID: string } }) { console.log(params.userID); // ✅ direct access }

because params was just a plain object.


But in newer / canary (experimental) versions of Next.js, they changed it so:

ts

CopyEdit

context.params // ❌ not a plain object anymore

is actually a Promise that you need to await:

ts

CopyEdit

const{ userID } = await context.params;


Why the change?

It’s telling you: “I was expecting a Promise here, not an object.”

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

79730463

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

In case you want to read/write values from/to Settings.Global, you should use the public methods | Settings.Global | API reference.

Just don't exec shell command in your Android application.

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

79730461

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

pip install pylint-django --upgrade

Then in your project folder create .vscode/settings.json file (or CMD+SHIFT+P: Open Workspace settings (JSON) )

in the json file add:

"pylint.args": ["--load-plugins", "pylint_django", "--django-settings-module=config.settings"]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mohammad Aqajani

79730460

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

You can’t directly “call” a PHP function from JavaScript without refreshing, because PHP runs on the server and JavaScript runs in the browser.

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

79730440

Date: 2025-08-09 05:53:01
Score: 3.5
Natty:
Report link

When registering your class, use GDREGISTER_RUNTIME_CLASS(classname) instead of GDREGISTER_CLASS(classname) to make it only run when the game is running, and not in the engine itself

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: The2b

79730439

Date: 2025-08-09 05:43:59
Score: 3
Natty:
Report link

Google Sheets unfortunately added a workaround to your workaround, now your function does not work.

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

79730438

Date: 2025-08-09 05:43:59
Score: 1.5
Natty:
Report link

just remove the display:block; width:100%;

so your style look likes this

table {
  border: 2px solid #f00;
}

caption {
  background: #0f0;
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: sekrupman

79730432

Date: 2025-08-09 05:27:56
Score: 0.5
Natty:
Report link

As stated in the official documentation, for next-auth@4 providers require an additional .default to work in Vite. This will no longer be necessary in next-auth@5 (authjs).

Reference

To remove the syntax error for using .default, add @ts-expect-error comment

import CredentialsProvider from "next-auth/providers/credentials";
import { NuxtAuthHandler } from "#auth";

export default NuxtAuthHandler({
  secret: process.env.AUTH_SECRET,
  providers: [
    // @ts-expect-error Need to use .default here for it to work during SSR. May be fixed via Vite at some point
    CredentialsProvider.default({
      id: "credentials",
      name: "Credentials",
      type: "credentials",
      credentials: {
        email: { label: "Email", type: "text", placeholder: "[email protected]" },
        password: { label: "Password", type: "password" },
      },
      async authorize(credentials: { email: string; password: string }) {
        const res = await fetch(
          `${process.env.NUXT_PUBLIC_API_URL}/auth/login`,
          {
            method: "POST",
            body: JSON.stringify({
              email: credentials?.email,
              password: credentials?.password,
            }),
          }
        );
        console.log("res", res);
        // handle the rest
      },
    }),
  ],
});
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @ts-expect-error
  • Low reputation (1):
Posted by: Redoxx

79730424

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

You do not need to use docker. You can either test parts of the programs with unit test. Or write an alternative main with a Build tag, which creates the context and read the event from e.g. Json files.

You wount get the correct pathes or iam restrctions. But if you do not work on the /tmp filesystem that does not matter.

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

79730422

Date: 2025-08-09 04:30:45
Score: 3
Natty:
Report link

This Alzheimer’s MRI dataset has more pictures in some groups and fewer in others. Because of this, the computer finds it harder to learn about all groups in the same way.

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

79730420

Date: 2025-08-09 04:29:45
Score: 0.5
Natty:
Report link

Thanks to @wildpeaks' answer, I have implemented this idea that works for my project (iOS13+ API, RealityKit ARView), here's the code snippet without the business logics:

// Check if the entity is in screen every 0.5s
    func startTrackingAnchorEntities() {
        anchorCheckTimer = Timer.scheduledTimer(withTimeInterval: 0.5, repeats: true) { [weak self] timer in
            self?.checkForNewAnchors(timer: timer)
        }
    }

    private func checkForNewAnchors(timer: Timer) {
        // Check if there is an anchor, you may do additional checks here for the right entity(names, children, etc.)
        guard let entity = self.scene.anchors.first {
            print("❌ Missing required objects - entity: \(self.scene.anchors.first != nil)")
            return
        }
        
        // Get current active camera
        let cameraTransform = self.cameraTransform
        print("📱 Camera Transform - Position: \(cameraTransform.translation), Rotation: \(cameraTransform.rotation)")
        
        // Prevent checking with the initial frame camera positions that often just passes
        if (cameraTransform.translation == SIMD3<Float>(0,0,0)) {
            print("⚠️ Camera at origin (0,0,0), skipping...")
            return
        }
             
        // Convert world position to camera space
        let cameraAnchorEntity = AnchorEntity(world: Transform(scale: .one, rotation: cameraTransform.rotation, translation: cameraTransform.translation).matrix)
        
        // Get the entity's position
        let entityPosition = entity.position(relativeTo: cameraAnchorEntity)
        print("🔍 Entity relative position: \(bubblePosition)")
        
        // IMPORTANT! Get world position for projection, else the projected point becomes super big
        let worldPosition = entity.convert(position: .zero, to: nil)
        
        // Project bubble position to screen space
        guard let projectedPoint = self.project(worldPosition) else {
            print("❌ Failed to project entity position to screen space")
            return
        }
        print("📍 Projected point on screen: \(projectedPoint)")
        print("📱 Screen bounds: \(self.bounds)")
        print("🌍 World position used for projection: \(worldPosition)")
        
        // Check if the projected point is within screen bounds
        guard self.bounds.contains(projectedPoint) else {
            print("⚠️ Entity outside screen bounds")
            return
        }
        
        print("✅ Entity visible! Scene position: \(entity.scenePosition), Camera position: \(cameraTransform.translation)")

        // Stop the timers after detecting the visible bubble
        timer.invalidate()
        anchorCheckTimer = nil

        // Do whatever you need to do afterwards
    }

What's new and what I noticed are:

  1. The idea to use this function is to call it in your ARView's set up function. For my use case, I first load an ARWorldMap then I call this function, it runs fine in parallel without interfering with the relocalization progress for those whom may concern.

  2. the .z thing @JoeySlomowitz mentioned does still persists when I'm working on this issue. So I removed it and it seems to still work like a charm.

  3. I used ARView.cameraTransform which is a newer way to get active camera position in addition to session.currentFrame.camera You may find documentation about it here.

  4. The tricky part is the relative position space, make sure everything is relative to the same position space.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @wildpeaks'
  • User mentioned (0): @JoeySlomowitz
  • Low reputation (0.5):
Posted by: MohaElder

79730410

Date: 2025-08-09 04:12:41
Score: 1.5
Natty:
Report link

You can’t get both in a single syscall, but on Linux you can avoid a second full path resolution by:

open() (or openat2() if you want to block symlinks) to get the file descriptor.

Use readlink("/proc/self/fd/") to retrieve the resolved path from the kernel.

This way you walk the path only once, and /proc/self/fd just returns the path the kernel already resolved.

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

79730409

Date: 2025-08-09 04:10:40
Score: 1
Natty:
Report link

Remove --progress or use --no-tty. parallel can't write progress to an interactive terminal if you're using nohup to background it.

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

79730407

Date: 2025-08-09 04:05:39
Score: 2.5
Natty:
Report link

I know it's been six years. But I wanted to give the right answer here. Unity does support WAV loop points, and it's a very reliable way to achieve something vital to your game: having beautiful music with nice intros and looping on a specific part of the song through loop points. Not all wav edition software is compatible with unity though. I've used Wavosaur and it's compatible with Unity 6. I've also heard that tidalwave and other in-editor wav editors are also a viable option to set loop points. Once you set your loop points, all you have to do is tell the audio source to loop, and it will work seamlessly with your loop points out of the box. I hope this is useful to you, or anyone else visiting in the future!!

Reasons:
  • Blacklisted phrase (1): I know it's been
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Levant Alejandro

79730398

Date: 2025-08-09 03:47:35
Score: 3.5
Natty:
Report link

I managed to find it via this link (short url, but it redirects to a proper apple download url)

https://apple.co/38LbwqM

Reasons:
  • Blacklisted phrase (1): this link
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: SMC

79730391

Date: 2025-08-09 03:31:30
Score: 8.5
Natty: 5.5
Report link

John I wonder did you ever figure this out?

Reasons:
  • RegEx Blacklisted phrase (3): did you ever figure this out
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jovan Julien

79730390

Date: 2025-08-09 03:22:28
Score: 0.5
Natty:
Report link

The container will not have a kthreadd, which is always pid 2:

[[ $(ps -p2) ]] && echo host || echo container

This will not work if either:

these would be somewhat obscure conditions.

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

79730382

Date: 2025-08-09 03:02:24
Score: 0.5
Natty:
Report link

I've run into a strange issue. I have a generic extension on interface .IDbGroups which defines a Groups property, but when it's invoked I get an InvalidOperationException.

Is there something I should know about about generic extensions and implementation?

Code:

public interface IDbGroups
{
    [Required]
    string Groups { get; set; }
}

public interface ISetting : IAssetsDbBase, IDbGroups
{
    ...
}

public sealed class Setting : AssetsDbBase, ISetting
{
    ...
    public string Groups { get; set; }
    ...

    public const string DefaultGroupName = "Assets";
}

[Expandable(nameof(Predicates.InGroupsImpl))]
public static MatchTypes DbInGroups<TEntity>(this TEntity item, string values) where TEntity : class, IDbGroups
    => DbUtility.ListMatches(item.Groups, values);
    
public static Expression<Func<TEntity, MatchTypes>> InGroupsImpl<TEntity>(string values) where TEntity : class, IDbGroups
    => e => DbUtility.ListMatches(e.Groups, values)

This line:
cache.Settings = await db.GetWorker<Setting>().WhereAsync(s => s.AppId.Equals(cache.App.Id) || s.AppId == null && s.DbInGroups(Setting.DefaultGroupName).Equals(MatchTypes.All));

Causes follow exception:
Inner Exception 1:
InvalidOperationException: No generic method 'InGroupsImpl' on type 'SLT.Assets.Extensions.LINQExtensions' is compatible with the supplied type arguments and arguments. No type arguments should be provided if the method is non-generic. 

Any suggestions would be great, I can't figure out why this happens. The error remains even if I remove

s.DbInGroups(Setting.DefaultGroupName).Equals(MatchTypes.All))

It accours when I query DbSet<Setting>
Weird

Reasons:
  • RegEx Blacklisted phrase (2): Any suggestions
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: SteinTech

79730366

Date: 2025-08-09 01:58:11
Score: 1.5
Natty:
Report link

Removing WindowsSdkPackageVersion property works for me

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jack Ye

79730363

Date: 2025-08-09 01:33:06
Score: 3.5
Natty:
Report link

I can still remember the moment. A quiet afternoon in my first year of college, walking past a poster stuck slightly askew on the department wall: “Seeking students for an IoT project.”

It just caught my eye. I had no background in hardware, and, truthfully, I didn’t even know what “embedded systems” really meant. But something—a quiet spark of curiosity, perhaps—made me pause, take a photo of the poster, and later that night, send a hesitant email. That moment, which seemed so inconsequential at the time, became the flap of a butterfly’s wing.

What followed was a crash course in self-teaching, late-night debugging, and learning to build with both my hands and mind. By the end of the year, I had co-developed two working prototypes: a smart medicine dispenser and a stove timer control system. Both were later published as patents. That led to the Budding Engineer Award—an honor given annually to just two second-year students.

My achievements checked every box of conventional success. But I still felt disconnected, lacking that quiet sense of alignment that tells you you're building something that truly fits. I was proud, yes, but still searching.

The next domino fell during my internship at the National Informatics Centre. I was expecting a standard backend assignment. I hadn’t expected to be placed on the AI & Data Science team, and at the time, the field felt abstract and a bit intimidating.

But as I began building a file-based question-answering system using Retrieval-Augmented Generation (RAG) and LLaMA 3, something clicked. That sense of alignment I had been missing? I felt it then. I found myself staying up late, not out of pressure, but out of genuine curiosity. That internship did more than just expand my technical toolkit; it gave me direction. It turned curiosity into conviction.

The next ripple came during my six-month internship at Hyundai Motor India, where I joined the Internal Audit Division. It was unfamiliar territory, a room full of Chartered Accountants, with me as the lone data analyst. But that difference became my value. I worked through vast financial records, detected anomalies, and provided insights that directly supported audit processes and internal reviews.

What struck me was this: even in a traditional, compliance-focused environment, data had the power to challenge assumptions, improve systems, and guide meaningful decisions. It was more than just code or numbers; it was clarity, context, and consequence. This insight stayed with me and resurfaced when a friend shared their frustration with long, manual site assessments.

That conversation led to ArchiScout, a chatbot that automates site analysis for architectural planning. What began as a side project to help a friend soon evolved into something far more meaningful. A process that typically took weeks could now be done in minutes. Today, architecture students in my circle use it informally to fast-track their assignments. I now see ArchiScout as a blueprint for the kind of systems I want to build: tools that think with you, not just for you.

Knowing that my work was not just technically sound but genuinely useful was deeply fulfilling. I'm now working on publishing the project in hopes of making it accessible on a larger scale. But I know its true potential is still untapped. I want to refine it, scale it, and integrate more advanced models—steps I cannot take without a stronger academic foundation. That’s why I’m applying for a Master’s in Data Science.

[University-specific paragraph]

This Master’s program isn’t the destination—it’s the next ripple in a journey that began with a quiet choice I barely understood at the time. I want to take ArchiScout further and transform it into a robust, adaptable tool that genuinely supports architectural workflows. Over time, I hope to immerse myself in research that doesn’t just demonstrate technical capability but addresses problems that actually matter.

I entered college with questions, not a map. I followed sparks: a poster on a wall, an unexpected internship placement, and a conversation with a friend. And slowly, those sparks began to form a pattern. With every late-night debug session, every misstep turned into insight, and every unlikely opportunity followed by purpose, I found direction.

That accidental placement on the AI & Data Science team at NIC wasn’t just a lucky mismatch; it was the flap of a butterfly’s wing. What felt like a detour became a defining moment. It turned uncertainty into curiosity, and curiosity into conviction.

Now, I seek to deepen that conviction in an environment that challenges me intellectually, supports my growth, and equips me to design systems that think with you, not just for you, because I believe your program is where that impact can truly begin to scale

Reasons:
  • Blacklisted phrase (1): guide me
  • Blacklisted phrase (0.5): I cannot
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Srihari J

79730343

Date: 2025-08-09 00:29:53
Score: 1
Natty:
Report link

As org.apache.commons.lang3.StringUtils.replaceIgnoreCase(String text, String searchString, String replacement) is now deprecated, I use org.apache.commons.lang3.Strings.CI.replace(String text, String searchString, String replacement) which was previously used by StringUtils.

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

79730337

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

This is unfortunately not a supported function yet.

https://support.google.com/docs/answer/3093377

Tip: You can't use table references in =INDIRECT yet. Try IMPORTRANGE instead.

IMPORTRANGE shouldn't require an INDIRECT

Syntax

IMPORTRANGE(spreadsheet_url, range_string)

The value for spreadsheet_url must either be enclosed in quotation marks or be a reference to a cell containing the URL of a spreadsheet.

The value for range_string must either be enclosed in quotation marks or be a reference to a cell containing the appropriate text.

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

79730336

Date: 2025-08-09 00:17:50
Score: 0.5
Natty:
Report link

I also tried this, but without success.

[PXDBDateAndTime(UseTimeZone = true, PreserveTime = true, DisplayNameDate = "Scheduled Start Date", DisplayNameTime = "Scheduled Start Time")]
[PXDateTimeSelector(Interval = 15)]
[PXDefault]
[PXUIField(DisplayName = "Scheduled Start Date", Visibility = PXUIVisibility.SelectorVisible)]
public virtual DateTime? ScheduledDateTimeBegin
{
    get
    {
        return this._ScheduledDateTimeBegin;
    }

    set
    {
        this.ScheduledDateTimeBeginUTC = value;
        this._ScheduledDateTimeBegin = value;
    }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Marco A.

79730325

Date: 2025-08-08 23:56:46
Score: 4.5
Natty:
Report link

Did you solve the issue? My solution partially works for my case, hence I am still looking for a definitive solution.

So, define the delegate in the HorizontalHeaderView as suggested in the question you've mentioned.

In the TableView, implement a columnWidthProvider function such as the one bellow:

columnWidthProvider: function(column) {
                if (!isColumnLoaded(column))
                    return -1;
                let headerWidth = horizontalHeader.implicitColumnWidth(column);
                let dataWidth = tableView.implicitColumnWidth(column);
                // limit the minimum width to the header width
                let columnWidth = Math.max(headerWidth, dataWidth);
                // and optionally limit the maximum width to 200
                return Math.min(columnWidth, 200);
            }

The problem with this solution is that it prevents manual resizing of the columns.

Reasons:
  • Whitelisted phrase (-1): solution is
  • RegEx Blacklisted phrase (3): Did you solve the
  • RegEx Blacklisted phrase (1.5): solve the issue?
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you solve the is
  • Low reputation (1):
Posted by: Bruno

79730322

Date: 2025-08-08 23:50:44
Score: 1.5
Natty:
Report link

I had the same issue today and used this tutorial [https://next-intl.dev/docs/getting-started/app-router/with-i18n-routing] to resolve it. It is a library that wraps your dictionaries in a server-side module, then makes its properties visible to your client-side components.

If you insist on a custom implementation, I would recommend doing the same thing. Also, if you find a way to make the generated pages static, let me know.

Reasons:
  • Blacklisted phrase (1): this tutorial
  • Whitelisted phrase (-1): I had the same
  • No code block (0.5):
  • Low reputation (1):
Posted by: ByteBlitz

79730308

Date: 2025-08-08 23:25:38
Score: 3.5
Natty:
Report link

Shrimptor

This is my implementation of the archive pre-commit-hook mentioned by @ignoring_gravity, since ruff and isort still don't support formatting into absolute imports (they only point to relative imports).

I described it in more detail in this answer

Reasons:
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @ignoring_gravity
  • Low reputation (0.5):
Posted by: lyova24

79730307

Date: 2025-08-08 23:17:37
Score: 2.5
Natty:
Report link

I wrote my own implementation of the hook I needed - shrimport.

shrimptor repository's readme header

It goes through all the files passed to it and checks them for relative imports that go beyond the package boundaries.

The tool also has useful arguments: -v / --verbose, -d / --dry-run, -i / --ignore and -R / --root-dir. You can read more about them in the tool help:

usage: main.py [-h] [-R ROOT_DIR] [-i IGNORED_PATHS] [-v] [-d] file_paths [file_paths ...]

positional arguments:
  file_paths            files to be processed

options:
  -h, --help            show this help message and exit
  -R ROOT_DIR, --root-dir ROOT_DIR
                        path to root directory (e.g., ./src)
  -i IGNORED_PATHS, --ignore IGNORED_PATHS
                        regex pattern to ignore file paths
  -v, --verbose         output extra information
  -d, --dry-run         run without changes

I hope I have helped you as much as I have helped myself.

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (0.5): I need
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: lyova24

79730301

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

If you're using PNPM and install using pnpm add puppeteer, you may need to run the postinstall script to finish the setup:

pnpm approve-builds

And select > puppeteer

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

79730289

Date: 2025-08-08 22:49:31
Score: 3.5
Natty:
Report link

My friends. I'm retard. Bad career choice. Everything works perfectly.

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

79730284

Date: 2025-08-08 22:45:30
Score: 2.5
Natty:
Report link

Check that you only have one .env file. I had a .env.profuction file nearby, when I deleted it, the error disappeared

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Илья Алисов

79730280

Date: 2025-08-08 22:42:29
Score: 1.5
Natty:
Report link

Yes, you can export entity data from AutoCAD by using AutoLISP, .NET API, or scripts to read properties and XData, then write them to CSV. For DXF files, you can parse them using Python or other languages with libraries like ezdxf, extract the entity data, and save it as CSV easily.

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

79730258

Date: 2025-08-08 22:02:20
Score: 1
Natty:
Report link

This works in a pyproject.toml file, for overrides per Python module:

[[tool.mypy.overrides]]
module = "mymodule.*"
ignore_errors = true
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Paco

79730254

Date: 2025-08-08 21:58:19
Score: 2.5
Natty:
Report link

If it's hosted on render as a static site add this to the rewrite rule(Source: /* Destination: /index.html)
Check Picture

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Edmund Mulcahy Amonoo

79730249

Date: 2025-08-08 21:51:17
Score: 0.5
Natty:
Report link

Here is a slightly different approach that, for each zoom-out operation, calculates how many further operations would be required to restore the default scale (1x) and, according to this, shifts the canvas view proportionally towards its initial position

Credit to Christian C. Salvadó for the augmented Math.Log function to allow the specification of a base!

<!DOCTYPE html>
<html>

<head>
  <script src="https://unpkg.com/[email protected]/konva.min.js"></script>
  <meta charset="utf-8" />
  <title>Konva Zoom Relative to Stage Demo</title>
  <style>
    body {
      margin: 0;
      padding: 0;
      overflow: hidden;
      background-color: #f0f0f0;
    }
  </style>
</head>

<body>
  <div id="container"></div>
  <script>
    var stage = new Konva.Stage({
      container: 'container',
      width: window.innerWidth,
      height: window.innerHeight,
    });

    var layer = new Konva.Layer();
    stage.add(layer);

    var circle = new Konva.Rect({
      x: stage.width() / 2,
      y: stage.height() / 2,
      width: 50,
      height: 50,
      fill: 'green',
    });

    layer.add(circle);
    layer.draw();

    const scaleFactor = 1.03;

    stage.addEventListener("wheel", (e) => zoomStage(e));

    function zoomStage(event) {
      event.preventDefault();

      var oldScale = stage.scaleX();
      var oldPos = stage.getPointerPosition();

      var zoomIn = event.deltaY < 0;
      var scaleMult = zoomIn ? scaleFactor : 1 / scaleFactor;
      var newScale = Math.max(oldScale * scaleMult, 1);

      var scaleDelta = newScale / oldScale;

      stage.scale({ x: newScale, y: newScale });

      if (zoomIn) {
        stage.position({
          x: oldPos.x * (1 - scaleDelta) + stage.x() * scaleDelta,
          y: oldPos.y * (1 - scaleDelta) + stage.y() * scaleDelta,
        });
      } else {
        var timesScaled = Math.round(Math.log(newScale, scaleFactor));
        var positionScaleFactor = timesScaled / (timesScaled + 1);

        stage.position({
          x: stage.x() * positionScaleFactor,
          y: stage.y() * positionScaleFactor,
        });
      }

      stage.batchDraw();
    }
    
    // https://stackoverflow.com/a/3019319
    Math.log = (function() {
      var log = Math.log;
      return function(n, base) {
        return log(n) / (base ? log(base) : 1);
      };
    })();
  </script>
</body>

</html>

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

79730248

Date: 2025-08-08 21:49:17
Score: 1.5
Natty:
Report link

@trincot thanks for the patience sir I'll try to explain my point as i can for anyone feeling unclear about my description of the question

First I have a custom component CollapsibleFilter which acts as a wrapper of Collapsible from shadcn/ui, by passing this component with children it will display the content of children when the collapsible is opened, e.g. when i write

<CollapsibleFilter title="foo">
hello world
</CollapsibleFilter>

it should show something like this in the browser(when you click the collapsible to open it)

enter image description here

now i created a react state variable called mapObj:

const [mapObj, setMap] = useState<Map<string, string>>();
useEffect(() => {
setMap(new Map([["John", "abc"]]));
}, []);

which is an object of type Map, and will be initialized with key value pair of ["John","abc"]

now when i write

<h2>outside of collapsible filter</h2>
{mapObj?.entries().map((kv) => {
        return (
          <div className="text-orange-400">
            <p>name:{kv[0]}</p>
            <p>tag:{kv[1]}</p>
          </div>
        );
})}

as i expected, the content of mapObj is displayed in the browser:

enter image description here

this is against @DipitSharma's answer where he states that react can't render the result returned from an iterator

and if i write(let's call this "test1")

<h2 className="text-red-800">
        using <code>Array.from(map.entries())</code>
</h2>
<CollapsibleFilter title="test1">
        {Array.from(mapObj?.entries() ?? []).map((kv) => {
          return (
            <div className="text-red-400">
              <p>name:{kv[0]}</p>
              <p>tag:{kv[1]}</p>
            </div>
          );
        })}
</CollapsibleFilter>

this also work as i expected, the content of mapObj is inside my CollapsibleFilter component, you can click to open the collapsible to see it:

enter image description here

However if i write(let's call this "test2")

<h2 className="text-blue-800">
  using <code>map.entries()</code>
</h2>
<CollapsibleFilter title="test2">
  {mapObj?.entries().map((kv) => {
    return (
      <div className="text-blue-300">
        <p>name:{kv[0]}</p>
        <p>tag:{kv[1]}</p>
      </div>
    );
  })}
</CollapsibleFilter>

against my expectation, when i click to open the collapsible there is nothing:

enter image description here

So why "test1" works but "test2" fails

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @trincot
  • User mentioned (0): @DipitSharma's
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: musketeerdt

79730238

Date: 2025-08-08 21:27:12
Score: 1
Natty:
Report link

In Helm v3.13.2 at least, the default behaviour is what you expected, i.e. overwrite entire list rather than merge.

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

79730234

Date: 2025-08-08 21:23:11
Score: 1.5
Natty:
Report link

They are both writing to the same object - when you are doing something simple like adding group membership, it doesn’t matter which cmdlets you use.

If you are setting an Exchange-specific attribute, to remain in support, you should use the Exchange cmdlets.

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