Stack Overflow Weekly Newsletter
Stack Overflow Weekly Newsletter

Top new questions this week:

What is the meaning of double tilde (~~) in Java?

When browsing the source code of Guava, I came across the following piece of code (part of the implementation of hashCode for the inner class CartesianSet): int adjust = size() - 1; for (int i = 0; i ...

java bit-manipulation guava bitwise-operators  
asked by Halle Knast 146 votes
answered by yshavit 206 votes

Upgraded to AppCompat v22.1.0 and now getting IllegalArgumentException: AppCompat does not support the current theme features

I've just upgraded my app to use the newly released v22.1.0 AppCompat and I'm now getting the following exception when I open my app. Caused by: java.lang.IllegalArgumentException: AppCompat does not ...

android appcompat  
asked by Chris Banes 97 votes
answered by Chris Banes 125 votes

Default, value and zero initialization mess

I am very confused about value- & default- & zero-initialization. and especially when they kick in for the different standards C++03 and C++11 (and C++14). I am quoting and trying to extend ...

c++ c++11 c++14 c++03 c++98  
asked by Gabriel 50 votes
answered by Columbo 17 votes

Error itms-90035 - Xcode

I have developed a phonegap application which is running absolutely fine on iPhone. Now, I want to submit the app to the appstore. Following is the procedure I am following to submit my app: Open ...

ios xcode appstore-approval  
asked by Nikhil Rao 41 votes
answered by KateMihalikova 25 votes

Faster alternative to nested loops?

I have a need to create a list of combinations of numbers. The numbers are quite small so I can use byte rather than int. However it requires many nested loops in order to get every possible ...

c# combinations  
asked by benpage 41 votes
answered by Caramiriel 29 votes

How to shorten switch case block converting a number to a month name?

Is there a way to write this on fewer lines, but still easily readable? var month = ''; switch(mm) { case '1': month = 'January'; break; case '2': month = 'February'; ...

javascript date switch-statement  
asked by Leon Gaban 40 votes
answered by xdazz 111 votes

/** and /* in Java Comments

What's the difference between /** * comment * * */ and /* * * comment * */ in Java? When should I use them?

java comments javadoc  
asked by dev 39 votes
answered by Makoto 62 votes

Greatest hits from previous weeks:

Checking a checkbox with jQuery?

I'd like to do something like this to tick a checkbox using jQuery: $(".myCheckBox").checked(true); or $(".myCheckBox").selected(true); Does such a thing exist?

jquery checkbox  
asked by tpower 1874 votes
answered by Xian 3177 votes

Finding all files containing a text string on Linux

I'm trying to find a way to scan my entire Linux system for all files containing a specific string of text. Just to clarify, I'm looking for text within the file, not in the file name. When I was ...

linux search text grep find  
asked by Nathan 514 votes
answered by rakib 907 votes

Can you answer these?

Prevent to patch if the area is already filled

This is quite a tough challenge I have with my code. First of all the code I am putting here is not runnable because I am using an Excel sheet (but I am happy to email it if people want to try using ...

excel matlab patch boundary  
asked by Dorian Kartalovski 7 votes

Doctrine 2 Migrations Workflow

I am developing a web application using Zend Framework 2 and Doctrine 2. I'm new to Doctrine 2 in general and Migrations in particular. I was wondering if there are any recommended best practices in ...

php doctrine2 zend-framework2 data-migration  
asked by stase 7 votes

Laravel Blade passing variable with string through @include causes error

In Laravel 5.0.27 I am including a view with with a variable and the following code: @include('layouts.article', [ 'mainTitle' => "404, page not found", 'mainContent' => "sorry, ...

php laravel laravel-5 blade  
asked by Joey B. 7 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