Questions tagged [rags-to-riches]
Rags-To-Riches is the tag of choice for entries to the corresponding CR-Game as proposed on meta. Questions tagged with this tag are polished Stack Exchange posts asking for a review.
91 questions
2
votes
1
answer
341
views
Hack assembler/disassembler in x86_64 assembly language
Starting from this answer I thought I would show a fully worked example of how to create a data-driven version of the assembler for the Hack assembly language. As I noted in that answer, having ...
5
votes
1
answer
257
views
C++ Mine Sweeper Attempt
Saw this question and though I wanted to try.
So my version of reading Mine Sweeper: For the Online Judge
Some Utilities Classes
...
5
votes
0
answers
2k
views
Scraping OddsPortal with requests only
This is a scraper written to do most of what had been attempted by another user in this question:
How can I optimise this webscraping code
I did the rewrite because I felt bad that the new user didn't ...
12
votes
1
answer
528
views
Resizable containers with VueJS
A month ago I reviewed the code in Resizable split DIVs Vue.js, suggesting that the OP use computed properties and bound styles to simplify the code (at least reducing the need to use ...
6
votes
2
answers
4k
views
Python Rock-Paper-Scissors via a class to handle the game
Original inspiration was by this Python beginner, and it prompted me to rewrite a bunch of stuff with my flair and my Python experience: First attempt: Python Rock Paper Scissors
Okay, so I looked at ...
4
votes
1
answer
122
views
Rename files by editing their names in an editor
Inspired by a recent question to rename files by editing the list of names in an editor, I put together a similar script.
Why: if you need to perform some complex renames that are not easy to ...
7
votes
1
answer
590
views
Rock-Paper-Scissors engine
Looking over Rock, Paper, Scissors. C++ from a beginning programmer prompted me to think about how I'd program this simple game in C++. The RockPaperScissors class ...
6
votes
1
answer
222
views
Multithreaded testing for counting rooms from a floor plan solution
This is version 3 of Efficiently counting rooms from a floorplan. Version 2 is here Efficiently counting rooms from a floorplan (version 2)
It also has a comprehensive test facility that is the ...
4
votes
2
answers
147
views
Polishing partitions - Reimplementing a partitionOn
So I've read an F# question on partitioning a list in F# and wondered whether I could cleanly write the concept down in haskell and if that would help me review the code ...
Now I have a haskell ...
11
votes
4
answers
2k
views
Homemade cyraz encryption algorithm
The "Cyraz" encryption algorithm was presented on SOPT community.
This algorithm makes a cypher using a private key given in byte[] format with any arbitrary ...
15
votes
1
answer
6k
views
Simple linear equation solver
In working on a review for Solve a set of "restricted" linear equations efficiently, I decided to reimplement from scratch using the method I proposed in my answer.
The application
I won't ...
6
votes
1
answer
155
views
Object oriented, runtime expandable Sieve of Eratosthenes
In answering this question, it seemed to me that it would be nice to have a runtime expandable Sieve of Eratosthenes. This is my implementation of that notion.
Design
I've created a class named <...
11
votes
1
answer
333
views
Check consistency of statements, with fuzzy rhyme matching (Kattis "Mårten's Theorem" challenge)
I wrote a review for Check consistency of a list of statements, with fuzzy rhyme matching, which basically required me to try writing my own solution to fully understand the challenge. So, I thought ...
3
votes
1
answer
1k
views
Calculator with history using Java 8
Yesterday, I saw this post from another user: Calculator with history
I started refactoring the code while typing an answer but I end up not posting as an answer because I not sure if my ...
8
votes
2
answers
9k
views
Accessing properties by name with compile-time typesafety
I've recently answered a question here, where the goal is to mimic some functions from System.Reflection in order to avoid it's direct usage as much as possible, ...