Code Review Weekly Newsletter

Code Review newsletter

Top new questions this week:

When "How To Ask" is too subtle

This is the first JavaScript code I've ever written, alert("hello, world!"); aside. This site is closing quite a lot of questions because people won't read the rulebook or pay attention to the ...

javascript beginner  
asked by Mat's Mug 23 votes
answered by 200_success 23 votes

Top users under age 30, sorted by age, with rank

In the pursuit of SQL enlightenment, I wrote a quick SEDE query to display Rep, Age and Overall Rank. Sorted by Age, then Rank (Which is generated by Rep). SELECT TOP 150 ROW_NUMBER() OVER (ORDER BY ...

sql t-sql stackexchange  
asked by Quill 17 votes
answered by Vogel612 13 votes

"How can I make this SEDE query better?" (bad title finder)

It was suggested on Meta for July 2015 Community Challenge to make a bot that can find questions with bad titles. I wrote this query to help others find examples to help them make write their code. ...

beginner sql t-sql stackexchange  
asked by Phrancis 16 votes
answered by rolfl 12 votes

"The python that ate a calculator"

In a YouTube video I watched, the speaker said it is important to know how to calculate between numbers of different bases; i.e. two, ten, and sixteen. I was then inspired to write a small C program ...

c unit-testing python-2.7 calculator  
asked by Motoko Kusanagi 15 votes
answered by Veedrac 15 votes

To-do list in jQuery

I'm making a simple to-do list with jQuery. This is my first step in JavaScript and jQuery. How can I improve my code? User enter tasks in input field, submit by pressing 'Enter'. On double-click, he ...

javascript jquery html css to-do-list  
asked by Vasyl Pylypiv 13 votes
answered by Greg Burghardt 11 votes

Basic Tic-Tac-Toe

I am starting a software engineering degree soon and have been practicing the last couple months. I have posted some code I wrote for a basic Tic Tac Toe game below (C++). I have read the worst thing ...

c++ beginner tic-tac-toe  
asked by DeadPixel 11 votes
answered by Edward 13 votes

Load SSH key remotely

I often create new accounts or virtual machines, and then have to load my SSH public key/signature in to the authorized keys on that account. That process can be tedious, so I created this script that ...

bash ssh  
asked by rolfl 11 votes
answered by janos 7 votes

Greatest hits from previous weeks:

Count number of each char in a String

I know there is a simpler way of doing this, but I just really can't think of it right now. Can you please help me out? String sample = "hello world"; char arraysample[] = sample.toCharArray(); int ...

java strings  
asked by statius 14 votes
answered by Marco Acierno 22 votes

A simple Dice Roll game

This is the code for a simple dice roll. Any opinions for this are welcome and any suggestions to improve it would be appreciated. Is there a more efficient algorithm to generate random numbers in ...

c++ beginner game random dice  
asked by Arpit Agrawal 8 votes
answered by Loki Astari 11 votes

Can you answer these?

Realtime chat service

I am new to Node.js and Socket.io. I implemented a realtime chat service that has a chatroom feature. When the actual product is launched, there will be at least 200 concurrent users with 50 groups of ...

javascript node.js socket mongodb chat  
asked by Ken Liao 2 votes

Big Integers and parallel execution with OpenMP

This is part of an implementation of Rabin-Williams signatures as described by Bernstein in Section 6 of "RSA signatures and Rabin–Williams signatures: the state of the art" using Tweaked Roots. The ...

c++ integer openmp crypto++  
asked by jww 2 votes

External API calls from a C#.NET client

I have a simple c# mvc client that calls an external api..here is my attempt public class ProductController : Controller { private readonly IProductService _productService; public ...

c# .net api http rest  
asked by nesh_s 4 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