Code Review Weekly Newsletter
Code Review Weekly Newsletter

Top new questions this week:

Implementation of a generic List

I have only been self teaching myself programming on and off for about 5 months. The purpose of me writing this class is to incorporate the knowledge that I have gathered since I started. using ...

c# beginner oop reinventing-the-wheel vectors  
asked by Nate 10 votes
answered by RUser4512 6 votes

Drawing an Archimedean spiral using Pillow

From Rosetta Code: The Archimedean spiral is a spiral named after the Greek mathematician Archimedes. It can be described by the equation: $$r=a+b\theta$$ with real numbers \$a\$ and \$b\$. ...

python graphics  
asked by Dair 9 votes
answered by Gareth Rees 6 votes

Using generators to print the tree-like structure of a project

The goal of this code is to print the entity tree of a VHDL project. There are a readme and very minimal tests on the github repo. I am trying to refactor the code to use generators in order to ...

python dictionary iterator generator  
asked by nathdwek 8 votes
answered by alexwlchan 2 votes

Find Top 10 IP out of more than 5GB data

I have a few of files, and total size of them is more than 5 GB. Each line of the files is a IP address, looks like: 127.0.0.1 reset success ... 127.0.0.2 reset success how can i find ...

java mapreduce  
asked by Cherlex 8 votes
answered by rolfl 11 votes

List of all possible monetary totals from a set of cash

This code prints out a list of all the possible sums that can be made from a set of cash. For example, say you have 2 fives and 2 tens in your wallet. With these, you can make exact change for $0, ...

python beginner python-3.x  
asked by Vermillion 8 votes
answered by Gareth Rees 8 votes

Animal Shelter in Java

I have been working my way through the problems in the book Cracking the Coding Interview. The instructions were to maintain an animal shelter that operates on a first in, first out basis (i.e. it is ...

java beginner queue  
asked by newToProgramming 7 votes
answered by janos 11 votes

Conway's Game of Life python

It's my implementation. Can I get some opinions on it? import random import os import time class Game: def __init__(self, turns, w, h): self.board = [] for x in range(0, h): ...

python game-of-life  
asked by Stepan Vanzuriak 7 votes
answered by Graipher 3 votes

Greatest hits from previous weeks:

Sorting an HTML table with JavaScript

The following code sorts an HTML table with JavaScript (without using any external libraries like jQuery). Are there any shortcomings or possible improvements I could make? <html> ...

javascript html sorting  
asked by Sharanya Dutta 9 votes
answered by ProGM 7 votes

Converting seconds to hours, minutes and seconds

The following question was taken from Absolute Java 5th ed. by Walter Savitch: Write a program that outputs the number of hours, minutes, and seconds that corresponds to 50,391 total seconds. The ...

java beginner datetime  
asked by Oompa Loompa 7 votes
answered by Martin R 13 votes

Can you answer these?

jQuery plugin for a lightweight dropdown

I'm working on my first jQuery plugin for a lightweight dropdown. This dropdown behaves just like a ordinary <select>. Before implementing new features I'd like to know if my current approach ...

javascript beginner jquery form plugin  
asked by JasonK 3 votes

Stopping ncurses printing with key presses

I've been updating a little text-based game of mine to have the text roll out over a time period to give the appearance that it's being typed. I'm doing this by using non-blocking output with ncurses. ...

c++11 curses  
asked by SergeantPenguin 2 votes

HTML and jQuery audio player

I had a task to create simple audio player. So far I managed to do functionalities and all that is needed. Other part of same task was to make it semantic and modular. I read some blog posts and ...

jquery html5  
asked by wired 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