Newest Questions
24,161,559 questions
Advice
0
votes
0
replies
8
views
How to get good at feature engineering in building machine learning projects
I have been trying to tackle different projects and try to implement different machine learning architectures and the first roadblock that I face is how to write the code for implementing feature ...
0
votes
0
answers
6
views
Prevent cntlin to truncate variable values
I 'm using the following code to set the format of my variable of interest:
data thenameofmyvar;
length label $200.;
set mydb(keep= thenameofmyvar);
retain fmtname '$myfmt' type '$';
...
0
votes
0
answers
7
views
usage of Nano-Timestamp while at linebased reading from socket
I have a piece of software, which implements a native socket server and offers via port 5555 linebased sentences (e.g. NMEA data).
package org.example;
import java.io.*;
import java.net.*;
public ...
Advice
0
votes
0
replies
12
views
I got tired of giving AI agents hardcoded API keys, so I built an open-source Zero Trust CA to fix it
I’ve been watching the AI agent space blow up (LangChain, AutoGen, etc.), but the security model is terrifying. Everyone is just passing permanent sk_live API keys to LLMs that are highly vulnerable ...
Advice
0
votes
1
replies
5
views
Algorithm for heterogeneous frequency range discretization
Let's say I'm modeling a bell-shaped spectrum of a conditional signal. I already have the boundary values of the frequency range (start and end) and I know the frequency of the spectrum's maximum. ...
-1
votes
0
answers
23
views
c++ ambiguous operator as static assert fails
at compile time, one of the various similar errors are
fixed_test.cpp:6:32: note: there are 3 candidates
6 | std::cout<<a<<"+"<<b<<"="<<(a+b)<...
Advice
2
votes
1
replies
19
views
What project types best prepare students for real-world software engineering?
I am leading a university coding lab where students work in teams on 3-month projects. The goal is to help them become job-ready junior developers by working on problems that reflect real-world ...
Advice
0
votes
0
replies
15
views
Analysis with Modeling on Spotify Tracks Dataset
Context: I’m predicting 8 music genre families using 114,000 Spotify tracks based only on raw audio DNA (danceability, acousticness, energy, etc.).
The Plot Twist: My baseline Neural Network hit 82% ...
0
votes
0
answers
19
views
CEF OSR on Linux: SendKeyEvent() reaches focused <textarea>, but JS gets KeyboardEvent.key = "\u0000" and keyCode = 0
I use a minimal Linux repro using:
CEF 146
windowless rendering (OSR)
SDL2 for window/input
a simple HTML page with a focused <textarea>
I forward SDL keyboard events into CefBrowserHost::...
0
votes
0
answers
19
views
PyTorch - ' mat1 and mat2 shapes cannot be multiplied', but shape doesn't actually match the data?
So, I'm using PyTorch to train a regression model on 5 datasets separately, each 10x3361.
However, when I run PyTorch, it returns the error RuntimeError: mat1 and mat2 shapes cannot be multiplied (10x[...
Best practices
0
votes
2
replies
19
views
Best practice regarding formating code in visual studio
I’ve recently started working with more complex code to improve my programming skills. As my projects grow, I’m finding it increasingly difficult to keep my code well formatted and readable and it ...
0
votes
0
answers
15
views
Are multiple insertion points possible in NSTextView?
I'm trying to modify how NSTextView behaves with multiple selections. More precisely, I'd like to override moveLeft: so that it doesn't collapse the selection to the first location, but rather the ...
2
votes
0
answers
23
views
using archive_write_dir() seems to corrupt raster files
The French meteorological agency provides precipitation re-analyses that can be downloaded as .tar archives. Each archive contains three types of rasters : precipitation totals, estimated error, and ...
Advice
0
votes
3
replies
47
views
How can I effectively use AI in software development workflows?
I want to do “vibe coding” with AI, but I also want to keep things structured and aligned with proper software architecture. I work with specific programming languages and want to follow a more ...
Advice
0
votes
2
replies
37
views
Finding the shell path
I was testing a website and uploaded a shell, and the upload was successful. However, I searched extensively and couldn't find it. I need a way to find it, even if it's difficult and time-consuming.
I ...