Questions tagged [reinventing-the-wheel]
For when you know you are reinventing the wheel, but are doing it anyways. Questions with this tag involve code that is already fully implemented (such as from a library).
1,052 questions
5
votes
1
answer
310
views
PathFinding.java: The grid view and model
Motivation
I am really fond of qiao/PathFinding.js, and, so, I decided to start to do something similar (PathFinding.java). Also, this time, I am wishing to practice some MVC-patterns. It would seem ...
8
votes
2
answers
596
views
Own HTTP server implementation in Java with a simple template engine
I would like to hear what you think about my simple HTTP Server implementation with a template engine in Java.
Have I overlooked any "pitfalls or caveats", or is there anything else to note?
...
3
votes
0
answers
68
views
lanczos_resample Template Function Implementation for Image in C++
This is a follow-up question for Two dimensional bicubic interpolation implementation in C++. I am trying to implement Lanczos resampling for 2D image in this post.
The experimental implementation
<...
6
votes
2
answers
383
views
Operator associativity while writing tokenizer using regex match
I am trying to write a simple tokenizer for a basic arithmetic calculator. Here's the code:
...
5
votes
1
answer
388
views
Positive Integer Class Supporting Arbitrary Number of Digits
I have implemented an elementary positive integer class that supports addition, subtraction, and multiplication for an arbitrary number of digits using a singly linked list.
...
2
votes
0
answers
96
views
Simple image captcha test in Java and JS (revised version)
Following on from my previous question, I would like to know what could be improved here and whether it is now secure.
I had to use Java 8 because the Blade lib was built with it, and I want to extend ...
4
votes
1
answer
124
views
Implement a simple image captcha test yourself in Java and JS
First of all: I was looking for a simple image captcha solution for a website, but all I found were "Over-the-top" solutions for me. So I decided to write something to self.
I mainly use two ...
9
votes
2
answers
835
views
My shared_ptr implementation
I would like to ask for a code review of my shared_ptr<T> implementation for design, code style. Any nitpicks will extremely useful for me. The features ...
5
votes
2
answers
145
views
constexpr friendly vector with static storage and no allocation
My take 2 on constexpr friendly StaticVector.
If the value_type is trivial, it can be user in constexpr functions normally.
If the value_type is not trivial, it uses placement new / destroy and ...
8
votes
5
answers
415
views
Custom hash function as Bash script
I'm looking for a (possibly cryptographic strong) hash function in Bash with the following properties:
The input is only a string with 4 lower-case characters: aaaa to zzzz
The output should be a ...
10
votes
3
answers
2k
views
C++ std::optional implementation for tech interview
I'm preparing for entry-level C++ developer interview and decided to implement some of std:: members. Here's my implementation of std::optional. I would be grateful ...
1
vote
2
answers
147
views
Implementation of my multidict in Python
I need a code review for my implementation of my multidict in Python.
I'm not sure that my method below is implemented the best way:
...
7
votes
2
answers
275
views
Histogram of Image using std::map in C++
This is a follow-up question for An Updated Multi-dimensional Image Data Structure with Variadic Template Functions in C++ and histogram Template Function Implementation for Image in C++. Considering ...
7
votes
2
answers
686
views
histogram Template Function Implementation for Image in C++
This is a follow-up question for An Updated Multi-dimensional Image Data Structure with Variadic Template Functions in C++. I implemented histogram template ...
5
votes
1
answer
72
views
QT 6 C++ Model View View Model Graphic Photo Size Reducer Tool
This is my first attempt at using the QT portable graphic system. I need to learn QT to pursue some of the positions I am interested in.
I realize the photo size reducer problem may be getting boring, ...