Skip to main content

Stack Exchange Network

Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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).

Filter by
Sorted by
Tagged with
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 ...
coderodde's user avatar
  • 31.8k
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? ...
Tobias Grothe's user avatar
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 <...
JimmyHu's user avatar
  • 7,525
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: ...
user2338150's user avatar
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. ...
Kushagr Jaiswal's user avatar
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 ...
Tobias Grothe's user avatar
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 ...
Tobias Grothe's user avatar
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 ...
Quasar's user avatar
  • 639
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 ...
Nick's user avatar
  • 1,656
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 ...
Tobias Grothe's user avatar
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 ...
BreamLashed's user avatar
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: ...
OlRay9497's user avatar
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 ...
JimmyHu's user avatar
  • 7,525
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 ...
JimmyHu's user avatar
  • 7,525
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, ...
pacmaninbw's user avatar
  • 26.1k

15 30 50 per page
1
2 3 4 5
71
Morty Proxy This is a proxified and sanitized view of the page, visit original site.