Stack Overflow Weekly Newsletter
Stack Overflow Weekly Newsletter

Top new questions this week:

Why does Java think that the product of all numbers from 10 to 99 is 0?

The following block of codes gives the output as 0. public class HelloWorld{ public static void main(String []args){ int product = 1; for (int i = 10; i <= 99; i++) { ...

java integer integer-overflow  
asked by aniruddha.sarkar 88 votes
answered by Salman A 335 votes

Why is Cloneable not deprecated?

It is commonly understood that Cloneable interface in Java is broken. There are many reasons for this, which I will not mention; others already did it. It is also the position of Java architects ...

java java-8 deprecated cloneable  
asked by Kao 81 votes
answered by Kao 77 votes

Windows update caused MVC3 and MVC4 stop working

am i the only one who installed a Windows Update (8.1) on october 15, and suddenly MVC stop working because of this warning? Warning 1 Could not resolve this reference. Could not locate the ...

.net windows-update  
asked by Yogurtu 48 votes
answered by Krzysztof Kalinowski 22 votes

How do I use DrawerLayout to display over the ActionBar/Toolbar and under the status bar?

I've seen in the new material design Side Nav spec that you can display the drawer over the action bar and behind the status bar. How can I implement this?

android navigation-drawer appcompat  
asked by Chris Banes 42 votes
answered by Chris Banes 60 votes

ASP.NET MVC security patch to version breaks build

After installing the ASP.NET MVC 3 security update KB2990942 it appears the MVC version increased from to This causes Visual Studio to no longer find the reference. <Reference ...

.net versioning assembly-references assembly-binding-redirect  
asked by usr 42 votes
answered by Guffa 19 votes

Accessing a global array outside its bound

I just had an exam in my class today --- reading C code and input, and the required answer was what will appear on the screen if the program actually runs. One of the questions declared a[4][4] as a ...

c undefined-behavior  
asked by Santi Santichaivekin 38 votes
answered by Andrew Medico 33 votes

Does a declaration using "auto" match an extern declaration that uses a concrete type specifier?

Consider the following program: extern int x; auto x = 42; int main() { } Clang 3.5 accepts it (live demo), GCC 4.9 and VS2013 do not (live demo for the former). Who is right, and where is the ...

c++ c++11 language-lawyer extern c++14  
asked by Andy Prowl 36 votes
answered by Lightness Races in Orbit 16 votes

Greatest hits from previous weeks:

What is the maximum value for a int32?

I can never remember that number. I need a memory rule.

asked by Flinkman 572 votes
answered by Ben Hoffstein 2201 votes

How to delete a Git branch both locally and remotely?

I want to delete a branch both locally and on my remote project fork on GitHub. Successfully Deleted Local Branch $ git branch -D bugfix Deleted branch bugfix (was 2a14ef7). Attempts to Delete ...

git github delete git-branch git-remote  
asked by Matthew Rankin 3781 votes
answered by Matthew Rankin 4508 votes

Can you answer these?

Running karma from teamcity. Chrome Testrunner fails to launch

We installed karma with the teamcity reporter on our build server. It was running unit tests through Chrome, Firefox, and IE and everything was working great. Then yesterday I noticed that Chrome was ...

angularjs teamcity karma-runner  
asked by dss 5 votes

Is it kosher to memory map a file a second time but with a larger size?

In my application, one file on disk is created and memory mapped with an initial size. If I apply a second memory mapping to the file, with a larger size, the file expands to the new size. Windows ...

c++ windows memory-mapped-files  
asked by djcouchycouch 5 votes

C# winforms transparent form overlay issue

My main form has a horizontal splitcontainer on it. The top portion contains an Object List View control found here. I am using code from a previous C# transparent overlay form answer. My issue ...

c# winforms transparent  
asked by Jeff 6 votes
Subscribe to more Stack Exchange newsletters

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

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

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