Newest Questions
24,168,082 questions
Advice
0
votes
0
replies
4
views
How can I make use of large amounts of unlabelled in-domain text in a supervised hate speech detection project?
I’m building supervised hate speech detection models and comparing transformer-based approaches such as BERT with more traditional machine learning models. I already have a fairly large labelled ...
0
votes
0
answers
5
views
Sabre PNR list with Trip_SearchRQ
Struggling a lot with Trip_SearchRQ in order to get the PNRs created by my PCC.
I tried setting in POS my PCC with AnyBranch=true but I receive many other PNR data not only created by my PCC.
I ...
Advice
0
votes
0
replies
12
views
Is Java still worth learning to get a job soon? Seniors — please spit the truth
I’m an early-career dev deciding what to double down on for job hunting in the next 3–12 months. I keep hearing conflicting stuff — “Java is dying”, “junior Java roles are super limited/competitive”, ...
Advice
0
votes
3
replies
19
views
How do I optimize my C++ Rubik’s Cube Solver code?
How do I optimize my C++ code?
In short: I reduced a SAT problem to a Rubik’s Cube, and then I solve that Rubik’s Cube using a solver written in C++. However, the overall environment runs in Google ...
Best practices
0
votes
0
replies
26
views
C++ struct default initializer declarations, what is best?
tl;dr what is safest way to declare a default initializer for some "complex" field like a std::vector<std::string> ?
Given the following struct declaration
export struct MyConfig {
...
1
vote
0
answers
12
views
WTelegramClient: Intermittent Auth_SentCode success — code arrives "via App" but is missing after periods of inactivity
I am using WTelegramClient in a C# / .NET 9 environment to manage multiple user sessions (userbots). I am encountering a strange, intermittent issue with the login flow that I can't pin down.
The ...
0
votes
1
answer
16
views
Using Swagger with Dropwizard - can't get non-root path to work correctly
We have a Dropwizard application which uses https://github.com/smoketurner/dropwizard-swagger to provide an interactive Swagger page. Normally we just serve the application on the root path and ...
0
votes
0
answers
20
views
Cannot run program ""C:\PROGS\java\Oracle\jdk-8"\bin\java" : CreateProcess error=5, Access is denied
I can run java:
C:\PROGS\java\Oracle\jdk-8\bin\java -version
java version "1.8.0_441"
Java(TM) SE Runtime Environment (build 1.8.0_441-b07)
Java HotSpot(TM) 64-Bit Server VM (build 25.441-...
Best practices
1
vote
3
replies
13
views
How can I verify that multiple PWM signals are generated at the correct frequency in a bare-metal embedded system?
I am working on an embedded project where two motors are controlled using PWM signals.
Each motor requires two PWM signals, so the system generates a total of four PWM outputs.
For testing purposes, I ...
-2
votes
0
answers
14
views
what is this git error while pushing UE project?
I have created remote repository while already having local one. I connected them via Source tree and tried to push locally made changes to my project, but got this error.
Also, I already got some ...
0
votes
0
answers
10
views
Regridding netcdf from lat/lon to Lambert conic conformal regular grid
I would like to regrid variables from a netcdf file defined on a regular lat/lon grid to the Belgian Lambert conic conformal projection (EPSG:31370: X, Y in meters).
The input netcdf file has the ...
0
votes
0
answers
23
views
Check if shell script/function is being piped into without false positives
I've searched around about how one can write a shell script (preferably cross-shell, but also in bash) that detects if it is being piped into so that it's operation can be changed accordingly. The ...
0
votes
1
answer
32
views
Avoid re-running tests when using unittest with multiprocessing
We recently upgraded from Python 3.9 to 3.14 and it appears that the default start method for multiprocessing has switched from 'fork' to 'spawn' and it is causing some tests to fail, trying to ...
0
votes
1
answer
56
views
How can I redirect in html while in fullscreen?
Title is pretty much self explanatory, How can I redirect in html while in fullscreen? I know it was asked here: Navigation website while in fullscreen state in Chrome leaves fullscreen but I am ...
0
votes
0
answers
17
views
Error with XGBoost predicting on new data, when there is no target column in the new data (such as in data science competitions)
In many data science competitions the user is asked to predict on new data when the target is not given in the new data set. The target is given in the training data set, but not the test set.
For ...