Newest Questions
24,146,264 questions
Score of 0
0 answers
6 views
What is the best way to use Claude Code to write code?
I believe I have a very basic setup for using Claude Code in my VSCode. I have installed the extension, and I use to to plan new features, and build them.
I review the code by sight only, which very ...
Score of -1
0 answers
7 views
What are the Requirements for Edge PWA to be installable?
I have created a website, with an button to trigger the install button, it works fine on Edge Desktop, Samsung Internet (Android), and Chrome on Mobile.
The issue is that Edge mobile won't fire, is ...
Score of 0
0 answers
9 views
How do I fix this horrible UV bug in my JMonkeyEngine game?
I'm making a voxel game (yes, i know) in JMonkeyEngine. I've got the world down and mostly working. Now I'd like my game to have a unique visual style, so I'm making textures span the entire chunk's ...
Score of 1
0 answers
24 views
Why does compiling fail with "use of ‘constexpr auto ... operator| ... before deduction of ‘auto’"?
With the following code, clangd is fine:
import std;
// #include <vector>
// #include <ranges>
// #include <print>
int main() {
std::vector numbers {0, 1, 2, 3, 4, 5, 6, 7, 8, ...
Score of 1
0 answers
27 views
Printing list of zip-object prohibits conversion into dictionary [duplicate]
Python version 3.12.3
table = zip(range(3), "abc")
print(f"{table = }")
#print(f"{list(table) = }") #--- not executed
table = dict(table) # conversion into dictionary
...
Score of 0
0 answers
28 views
How should I format fixed product concepts with one product-specific price each in XLSTAT to generate a CBC design?
I am trying to generate a Choice-Based Conjoint design using XLSTAT. My difficulty is not the statistical analysis itself, but the exact format that the Excel worksheet must have so that XLSTAT can ...
Score of 1
1 answer
89 views
What is the difference between `__builtin_expect` (C10_LIKELY) and `[[likely]]`?
PyTorch contains these macros:
#define C10_LIKELY(expr) (__builtin_expect(static_cast<bool>(expr), 1))
#define C10_UNLIKELY(expr) (__builtin_expect(static_cast<bool>(expr), 0))
which use ...
Score of 0
0 answers
32 views
EFCore.BulkExtensions 10: how to update only selected properties of an Owned entity?
I upgraded from EFCore.BulkExtensions 6.8.1 to EFCore.BulkExtensions.SqlServer 10.0.1.
I have an entity with an owned type:
public class MainEntity
{
public OwnedData OwnedData { get; set; }
}
...
Score of 0
0 answers
53 views
Speeding Up Numeric Differentiation
It is known that there exist several methods to numerically calculate the derivative of a sequence of numeric values, such as the three-point forward difference. From the Wikipedia page:
Three-Point ...
Score of -2
0 answers
37 views
I got a "cannot import name '__version__' from 'pydantic_core' (unknown location)" error during ComfyUI bootup
I got the following during bootup, with an Error 1.
I had just installed Textacy and Spacy, which may have triggered this. I scoured the web for a fix, but no luck.
I am relatively green when it comes ...
Score of -1
0 answers
28 views
aspnet_regiis "The RSA key container could not be opened" error after encrypting connectionStrings (but appSettings worked)
I am hosting an ASP.NET application running on .NET Framework 4.8 (IIS C:\inetpub\wwwroot\...). I am trying to encrypt both the <appSettings> and <connectionStrings> sections in my web....
Score of 1
1 answer
58 views
Bizarre animation issue in SwiftUI
I encountered a very bizarre animation issue in SwiftUI. I am using a custom animation with transition + asymmetric + removal ViewModifier. As shown in the pictures, when I add an HStack element ...
Score of -2
0 answers
58 views
.I'm in a sanctioned country, I'm having trouble accessing an essential site [closed]
I want to install Android SDK from developer.android.com site but because I am in a sanctioned country I can't access this site, I tried several different VPNs and couldn't log in.
Score of 2
1 answer
57 views
How to include plain text or markdown prose inside a reprex?
When creating a reproducible example using the {reprex} package, how can I include plain text explanations or markdown prose between my R code blocks without having them interpreted as standard R ...
Score of -5
1 answer
46 views
PWA Installation Guidance Modal is Invisible on Deployed Vite + React + Tailwind App on Vercel [closed]
I am finalizing a Progressive Web App (PWA) built with Vite, React, and Tailwind CSS, deployed on Vercel.
My manifest.json and sw.js are tracking properly inside the public folder, and the application ...