Newest Questions
24,168,192 questions
Tooling
0
votes
0
replies
8
views
JuMP Semicontinuous range solver compatibility
What are the solvers that interface with the Semicontinuous variable range in JuMP?
using JuMP
using solver # solver that supports Semicontinuous range
model = Model(solver.Optimizer)
@variable(...
-1
votes
0
answers
18
views
Extract specific digit from an integer
Following is my code:
public boolean isPalindrome(int x) {
if (x == 0) return true;
if (x < 0) return false;
int digitsCount = (int) Math.log10(x);
return ...
0
votes
0
answers
6
views
CMake for building a C++ library with C bindings results in previous declarating errors
I am attempting to build ImGui for C using the DearBindings generator. My CMake is shown below.
# Create the CImGui library
add_library(CImGui
${GENERATED_DIR}/cimgui.cpp
${...
-1
votes
0
answers
22
views
"E0695 The type in a dynamic_cast must be a pointer or reference to a complete class type, or void *" When replacing raw pointers with smart pointers
Hopefully I can solve this before someone else reply's to this, but for anybody who sees this I've got an error while trying to take a bunch of raw pointers and replace them with smart pointers. I've ...
Advice
0
votes
2
replies
33
views
What is the best way to get into coding?
I would like to start computer science courses at my University soon and I want to be prepared. Best recommendations? Free or paid is alright. If you could link an IRL, I have a personal computer ...
0
votes
0
answers
22
views
How can I fix the error, Can't perform a React state update on a component that hasn't mounted yet.?
I have a Nextjs application version 16.1.6 with react version 19.2.4.
I am getting the following error,
Can't perform a React state update on a component that hasn't mounted yet. This indicates that ...
-1
votes
0
answers
38
views
How to enable Firefox to display local HTML files -- file: URLs -- that are only referenced locally?
For security reasons, Firefox and other browsers block local file: URLs like file:///tmp/foo.html that are linked from external web pages. That makes sense to me. But it also blocks access to file: ...
0
votes
0
answers
13
views
Problem with icinga2 metrics writer to victoria metrics db
I am trying to setup a develoment environment in my computer using icinga2 and victoria metrics db to store hosts metrics, using docker containers.
But I can't make it work.
This is the relevant part ...
Best practices
0
votes
3
replies
60
views
Git inside the folders and branches
I have created a folder (project0) and pushing with the line command tool "first commit" - the GitHub accept the changes and the remote repository was updated.
When I create the folder (...
-2
votes
0
answers
32
views
How to prevent Tailscale from prompting for re-auth [closed]
Every day or 2, Tailscale requires me to re-auth. This is annoying and actually breaks things in a convoluted way; ssh into device; prompt to login to tailscale on Claude code; prompt again, prompt ...
Best practices
0
votes
1
replies
39
views
what pattern allows more freedom in rust when dealing with structs that have intertwined calls?
So, I am a beginner in rust so take it easy with the explanations.
I am getting acquainted with the concept of Rc<RefCell<T>> and it has been handy.... feels very much like working with an ...
-3
votes
0
answers
24
views
How to display local images in Langflow Chat Output using a Custom Component?
I am developing a local RAG application using Langflow and need to know the correct way to programmatically send and render local images (PNG/JPG) from a Custom Component to the Chat Output. Currently,...
0
votes
0
answers
29
views
CyberSource sandbox payments API returning SYSTEM_ERROR
I am testing the CyberSource REST Payments API in the sandbox environment.
POST https://apitest.cybersource.com/pts/v2/payments
Authentication
HTTP Signature using:
• Merchant ID
• Key ID
...
-3
votes
1
answer
88
views
Fix narrowing warning
Building my program on gcc (some old version), I got:
narrowing conversion of '(schemaName.std::__cxx11::basic_string<wchar_t>::length()+ 2)' from 'std::__cxx11::basic_string<wchar_t>::...
0
votes
1
answer
36
views
How to intervene Laravel's default migration run order?
I am currently trying to develop a addon-oriented CMS with Laravel, but I hit a wall when I tried to intervene with Laravel's default migration order. Laravel, by default runs your migration orders by ...