Newest Questions
77,893 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
4
votes
4
answers
34
views
Renaming video files from a wordlist across multiple directories
About
This project attempts to rename a collection of .mp4 files using a wordlist from two different folders. The script reads filenames from a text file, gathers ...
0
votes
0
answers
17
views
CSRF protection using client-side double submit
I’m working on an open-source Express + React framework, and while running GitHub CodeQL on the project, a CSRF-related issue was raised. That prompted me to review my CSRF protection strategy more ...
0
votes
0
answers
15
views
Ensuring Atomic Operations and Proper State Management in Flutter BLoC with Clean Architecture
I am not an expert in flutter / clean architecture as a whole and I am trying my best to learn through the community , lets go straight to detail : I am using clean architecture to structure my app , ...
6
votes
2
answers
364
views
Huffman compressor/decompressor in C17
Intro
This time, I have a C17 rewrite of A Java program for compressing/decompressing files via Huffman algorithms (version 1.1.1). The following software compiles both on Windows 11 and Ubuntu, so it ...
7
votes
2
answers
680
views
LeetCode 2. Add Two Numbers
The task is taken from LeetCode. I would appreciate an assessment of whether my coding style follows good practices, and if there are any habits or patterns you would find concerning when working ...
4
votes
1
answer
122
views
Create tags for potentially dirty git repository state
Note: The below is similar to this question (i.e. same motivation & general idea), but tries to be more careful: My version should never touch the repository state (to preserve staged files etc), ...
9
votes
3
answers
651
views
Maze Solver in Python inspired by Micro-Mouse Competition Logic
Why I made it
I watched this video by veritasium about Micro-Mouse maze-solving competitions, and found the logic to get to the center fascinating. Hence, despite not having a maze or a mouse, I spent ...
5
votes
2
answers
366
views
Image Perspective Transformation with CUDA in C++
This is a follow-up question for Image Stitching using SIFT Keypoint Descriptor in C++ and SIFT Keypoint Detection for Image in C++. In the previous post, the image stitching algorithm is implemented; ...
5
votes
5
answers
2k
views
Chess Clock Code
The code below I've made is supposed to act as a chess clock when uploaded to a compatible Arduino. I've written everything, but I just want another set of eyes to look over the code in case I've ...
5
votes
5
answers
974
views
Function in Python that encrypts and decrypts, taking string to list and the other way around
I'm new on Python, so I'm looking at these YouTube videos of Python projects to practice, and I saw this one of a Password Manager with encryption, but the encryption part couldn't use password, ...
0
votes
0
answers
32
views
Sending and receiving TypedArray's in Chromium Web extension messages
This is an alternative approach and follow up dealing with this issue Extension messaging uses base::Value (JSON) serialization but could use WebSerializedScriptValue (structured cloning), closely ...
5
votes
4
answers
410
views
Absolute-path Python function taking as argument a path relative to the directory of a script (.py) or Jupyter notebook (.ipynb) file
I'm currently still in the early stages of learning Python and Jupyter notebooks, and I wanted to ask if the following code for returning absolute paths relative to the directory of a script (...
5
votes
3
answers
550
views
Ping sweep of IP subnets
I made a ping sweep for the first time, and I want to do better. What do you think that I might be missing?
...
5
votes
1
answer
134
views
Breakout Game as a Bookmarklet in JavaScript
Why I made it
I wanted to experiment with javascript: bookmarklets and see how far a small injected script could go on any site by making a simple injectable game.
...
1
vote
1
answer
153
views
Force Google Translate to translate text between <code....> and </code> tags on my webpage by replacing code with span and revert it after translation
Some browsers were not showing text on my webpage in bold so I put some text that was between <span> tags between ...