Code Review Stack Exchange Weekly Newsletter
Code Review Stack Exchange Weekly Newsletter

Top new questions this week:

Binary Heap where a comparison delegate is used

I currently have a Generic Implementation of a BinaryHeap. It must be able to maintain it's integrity with elements that may or may not implement IComparable<T> so a Comparison<T> delegate ...

c# beginner .net generics heap  
asked by BarelyTilted 13 votes
answered by coderodde 11 votes

Automating the download of a GitHub repo

This script is designed to locate and download the first repository in your sidebar on the GitHub repository page. It downloads the .zip file for that repo and saves it to the default location. I ...

powershell git network-file-transfer com  
asked by EBrown 10 votes

Beginnings of a Poker hand classifier part 2

Part 1 - Beginnings of a Poker hand classifier I'm a beginner programmer I've been working on a poker hand classifier to improve my object orientation and programming skills, I've improved and ...

c# beginner object-oriented playing-cards  
asked by Steve 9 votes
answered by Heslacher 9 votes

Python traverse a directory recursively and print contact numbers

I am writing a python code to recursively traverse a directory containing only text files and then print the 10 digit Indian phone number and all its variants. I am very new to python and I have ...

python beginner python-2.7 recursion regex  
asked by Sinscary 8 votes
answered by Graipher 10 votes

Read hex from file and convert to decimal

I made a small script to read text file that contain hexadecimal and convert to another file in decimal by using command-line as a filename input. #this is content from hex.txt 0x5B03FA01 0x42018360 ...

python beginner file  
asked by Smith Lo 8 votes
answered by Randyr 7 votes

Adding x86 assembly language syntax highlighting to Google Prettify

Frustrated by the lack of syntax highlighting on Stack Exchange sites for code snippets written in x86 assembly language, I decided to do something about it. The network uses Google Code Prettify as ...

javascript regex  
asked by Cody Gray 8 votes
answered by Peter Taylor 2 votes

Create 'worst case test' data for compression test

I am going to prepare some test data for a compression test. One of the them is the 'worst case test', which should make the compressor work worst. Use random number to generate such a file is an ...

c++ unit-testing compression  
asked by Tiger Hwang 7 votes
answered by user1118321 3 votes

Greatest hits from previous weeks:

Input validation for text boxes in a Form

In a Win Form I'm doing initial validation in the Form. So before saving data, I want to validate whether all the required fields are filled (Text Boxes) by the user. There are about 18 such Text ...

c# .net validation winforms mvp  
asked by CAD 4 votes
answered by tinstaafl 6 votes

A* search algorithm

NodeData stores all information of the node needed by the AStar algorithm. This information includes the value of g, h, and f. However, the value of all 3 variables are dependent on source ...

java algorithm search graph pathfinding  
asked by JavaDeveloper 18 votes
answered by amon 15 votes

Can you answer these?

Short and Messy Polybius Square

I attempted to recreate the Polybius square, also called the Polybius checkerboard, which was used in Ancient Greece for cryptography. Since it is an uncommon cipher, it is nowhere on Code Review. ...

c++ performance strings array vectors  
asked by Idempotence 2 votes

Hackerrank - value of friendship (II)

Problem statement You're researching friendships between groups \$n\$ of new college students where each student is distinctly numbered from \$1\$ to \$n\$. At the beginning of the semester, no ...

c# object-oriented programming-challenge interview-questions graph  
asked by Jianmin Chen 7 votes

Double checked locking with shared_ptr<>

I have an unordered_map<int, std::shared_ptr<foo>> into which I want to lazily create the instances of foo based on callbacks. These callbacks would come from potentially a pool of ...

c++ c++11 atomic  
asked by Nim 3 votes
Subscribe to more Stack Exchange newsletters


Unsubscribe from this newsletter or change your email preferences by visiting your subscriptions page on stackexchange.com.

Questions? Comments? Let us know on our feedback site. If you no longer want to receive mail from Stack Exchange, unsubscribe from all stackexchange.com emails.

Stack Exchange, Inc. 110 William St, 28th Floor, NY NY 10038 <3