Newest Questions
24,159,866 questions
0
votes
0
answers
3
views
How to do validation of a swedish number plate question?
I Expect for the output to be:
SKG 912 ok
E9J 212 not ok
STD 389 ok
PTK 450 not ok
FGH 76N ok
But it just says not ok, meaning false. This code should go through these validations and see if the ...
0
votes
0
answers
5
views
How to listen to CTRL key in C?
I am writing a C program with canonical and echo modes disabled, using termios.h.
I was wondering how could I listen to the CTRL keybind (in my case, CTRL + Q):
I tried searching for the CTRL keybind ...
Advice
0
votes
0
replies
10
views
How to learn python with more practical approach
I have just started to learn python recently and I am using chatgpt and other AI tool in this learning journey. Beside the chatgpt, i am following https://github.com/Asabeneh/30-Days-Of-Python python ...
0
votes
0
answers
10
views
How to configure Fluent Bit Kubernetes filter to collect logs only from specific namespaces?
I am using Fluent Bit in a Kubernetes environment (deployed as a DaemonSet) to collect container logs and forward them to a logging backend (e.g., OpenSearch/Elasticsearch).
Currently, Fluent Bit is ...
Advice
0
votes
0
replies
16
views
Looking for advice on choosing a stack and building a roadmap in low-level dev
Im a beginner system developer, and I want to gather everything I need to start my journey. I previously had experience in backend development with Golang, but now my direction has changed and I want ...
0
votes
1
answer
20
views
User input Form alignment
I am working on a form to allow the user to enter some input. Here is my code:
import SwiftUI
struct ContentView: View {
@State private var searchString = "TEST"
@State private var ...
Best practices
0
votes
1
replies
24
views
What are the use cases of WeakMap and WeakSet in JavaScript?
I'm trying to understand the purpose of WeakMap and WeakSet in JavaScript.
I know that they hold weak references and do not prevent garbage collection, but I'm having trouble understanding when they ...
Best practices
1
vote
1
replies
36
views
Need some advise
I am just new in the web development industry. I learn all myself and feel very impressive. I want to earn some bucks for coffee. What you guys advise to me based on your unique experience? Thank by ...
0
votes
0
answers
22
views
YouTube Data API: how can I exclude archived livestreams but keep premieres that appear in /videos?
I’m trying to match a channel’s public Videos tab.
So I want:
archived livestreams: excluded
premieres that appear in /videos: kept
These two public videos reproduce the problem:
IcZxVrRrzcM
6-...
-1
votes
1
answer
55
views
I've made a JWT service and I yet have to solve the authorization issue with my attendance controller in the Web API layer what's the solution?
I'm working on an ASP.NET Core Web API with JWT authentication. I generate a token that includes a custom claim EmployeeId, and I try to read it inside my controller, but it is always returned as null ...
0
votes
0
answers
42
views
Why does my SwissTable start to mix hashes up after certain insertions?
I've been implementing custom flat hash map (aka SwissTable) in C using SIMDe library and Rapidhash algorithm for hash computation. Index is computed over modulo with additional shift by n elements in ...
Best practices
0
votes
0
replies
46
views
Boss wants us to add more AI to our workflow
I’m working on a Django project running in Docker with multiple services (PostgreSQL, Redis, Celery). The codebase is fairly large and not strictly modularized.
Currently, I use GitHub Copilot (ask ...
Tooling
0
votes
0
replies
16
views
How to improve Three.js 3D structure simulation and handle canvas resizing?
I am building a basic 3D structure simulation app using **Three.js** and **OrbitControls**. Currently, I have a simple scene with a 3D pillar and a grid helper.
The code works, but I have a few ...
Tooling
1
vote
0
replies
17
views
What are a good books to read in Bayesian Learning
Seems like Bayesian learning is the go to method now for reducing over fitting in ML models, I've read Manning's NLP in action, Deep Learning with python, O'Reilly Deep Learning foundations, Hands on ...
Tooling
0
votes
0
replies
19
views
More user friendly alternative than phpMyAdmin
I am building my first website that relies on a database for its functioning and I started using the tools my hosting service (Altervista) has provided me, which include phpMyAdmin.
I find the ...