24,738 questions
1
vote
1
answer
43
views
CodeIgniter cron endpoints: best practice for daily scheduled execution, date-window processing, and token-gated stage 2
I’m working on a CodeIgniter (PHP) app with a 2-stage batch process:
Cron 1 (syncAndPrepareQRTokens)
sync eligible members to member_benefits
generate qr_code_token
Cron 2 (execute)
generate PDF + ...
-2
votes
0
answers
33
views
Unable to connect to P4 server (WSAECONNREFUSED) - Second User (Not Host)
I have recently set up a Perforce server, but my second machine is unable to connect to it. It connected successfully when it was initially set up, but now when I try to re-open the connection, I get ...
Advice
0
votes
1
replies
38
views
Atomic Release for Laravel + Vite
I am using a Laravel + Vite Project
My setup is Git Action, where I call production.sh file
In which I take a pull of the branch and build the project, and do the necessary steps.
At the moment, I ...
Advice
2
votes
10
replies
133
views
How can I make computers share a task
I’m really interested in the idea of having multiple computers work on one problem from across the world (so each computer does a chunk), and I'm wondering how I could implement this. I know a decent ...
0
votes
1
answer
76
views
Deploying SpringBoot backend on server. URL/URI not hierarchical due to jar file
I'm working on a project for school. It's almost finished I just need to deploy the application to a server. I am doing this step-by-step.
I have built the application on the server using the command ...
3
votes
0
answers
126
views
Audio played from server sounds sped up and crackling
I made a server in C that sends data bit by bit over to a client. The client then plays the audio bit by bit, but the audio on the client end doesnt sound right at all. Its a bit sped up and sounds ...
Best practices
0
votes
2
replies
32
views
Resize Partition without deleting Data
I have a small Ubuntu server running at home.
It uses a 500GB SSD and today i noticed that it seems to be nearly Full.
This should not be the case so i checked the Drive with
lsblk -o NAME,FSTYPE,SIZE,...
0
votes
1
answer
148
views
Nuxt /server auto-imported types not updating
I can't seem to find anything related to my problem, so I'm currently not even sure I'm searching for the right things. I would be very glad if someone could give me any pointers.
My problem:
Inside ...
Best practices
1
vote
2
replies
87
views
Client and Server Side share same resources
I’m making a simple chat application in Java using the java.net package. Both the client and server sides, I've separated to different projects.
However, I’m struggling to keep a clean design. For ...
2
votes
1
answer
154
views
fix blocking issue when trying to parse HTTP request in java
I'm trying to parse HTTP requests for fun and I'm currently stuck because the method I'm using blocks until input is received.
byte[] buffer = new byte[1024];
while (!request.isDone()) {
int n = ...
1
vote
1
answer
130
views
In NextJS 16+, can "use cache" directive work on server actions?
I am trying to cache the response of a query inside a server action file:
export async function getCachedSession(userCacheToken: string, token: string) {
"use cache";
cacheTag(`user-session:...
Advice
0
votes
4
replies
62
views
How to deploy Spring Boot + React + MySQL website? What services are required?
I am a fresher and I am building a small hotel website.
My tech stack is:
Backend: Spring Boot (Java)
Frontend: React
Database: MySQL
I want to deploy this project so that it is publicly accessible ...
Best practices
0
votes
0
replies
56
views
Secure remote access
I have a question about the organization of secure access to remote working resources. The following remote access scheme is discussed:
OpenVPN Remote Desktop Gateway + 2FA (PrivacyIDEA) Remote ...
Best practices
0
votes
1
replies
79
views
What is the best implementation for probably a simple idea I have?
Here's what I want to do: I want to store files onto my office's computer.
I lack experience in terms of completed solutions. I’ve only built a prototype once via ChatGPT, and I want to ask if this is ...
0
votes
0
answers
62
views
Solr 9.9.0 getting slow when there is high load
I'm using Solr 9.9.0 and I recently increased the server RAM from 16 GB to 32 GB, as well as the JVM heap memory to 16 GB. The issue I'm facing is that under high load, both the Solr 9.9.0 UI ...