Skip to main content

Stack Overflow Weekly Newsletter - Tuesday, April 28, 2015

Stack Overflow Weekly Newsletter

Top new questions this week:

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 105 votes
answered by Chris Banes 141 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 48 votes
answered by xdazz 125 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 45 votes
answered by Caramiriel 31 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 43 votes
answered by KateMihalikova 28 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 43 votes
answered by Makoto 66 votes

Storing 8 logical true/false values inside 1 byte?

I'm working on a microcontroller with only 2KB of SRAM and desperately need to conserve some memory. Trying to work out how I can put 8 0/1 values into a single byte using a bitfield but can't quite ...

c++ bit-fields  
asked by Jazcash 41 votes
answered by Carl Norum 72 votes

What is the purpose of ";" at the end of for loop?

I found the following code: int func_prim (int zahl) { int count; if (zahl < 0) return -1; for (count = 2; zahl % count != 0 && zahl >= count; count++); if ...

c algorithm for-loop null-statement  
asked by Wien95 40 votes
answered by Matt McNabb 45 votes

Greatest hits from previous weeks:

Service vs provider vs factory?

I'm sure this has bothered you - it has bothered me for some time now. What are the differences between AngularJS module's Service, Provider and Factory?

angularjs dependency-injection angularjs-service angularjs-factory  
asked by Lior 1340 votes
answered by Lior 1443 votes

What does `if __name__ == "__main__":` do?

What does the if __name__ == "__main__": do? # Threading example import time, thread def myfunction(string, sleeptime, lock, *args): while 1: lock.acquire() time.sleep(sleeptime) ...

python module namespaces main idioms  
asked by Devoted 1012 votes
answered by Mr Fooz 1250 votes

Can you answer these?

Problems using and LDR to play Audio from SD card

I've hit a bit of a roadblock with my project. I've tried for hours and can't seem to find out what is causing my problem. I'm trying to create a box that, when it's closed I can use bluetooth ...

android audio arduino  
asked by newfoundstory 1 vote

Is it possible to use Touch-ID Authentication AND Keychain sharing in an iOS app?

I've been successfully able to implement TouchID with keychain as well as Keychain Sharing (syncing keychain items between multiple devices) separately. When I try to do them both, I get an error ...

ios objective-c ios8 keychain touch-id  
asked by SuPotter 10 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 8 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

Comments

Popular posts from this blog

Drupal Answers Weekly Newsletter - Wednesday, December 31, 2014

Top new questions this week: Can I delete old hook_update_N functions? Suppose you have a custom module, and you have hook_update_N() implementations in your .install file. If you have old update functions, and all updates have run in all sites that the module is ... node-update hook-update-n   asked by AyeshK ...

[New post] 8th Class Result 2014 PEC Hafizabad Board

Muhammad Waqas posted: "PEC Hafizabad Board 8th Class Result 2014 expected date is 28th March, 2014 by PEC. Punjab Examination Commission (PEC) will announce 8th class result for Hafizabad Board soon and all the students of Hafizabad Board who are extremely waiting for the resul" New post on Jobs in Pakistan 8th Class Result 2014 PEC Hafizabad Board by Muhammad Waqas ...

[New post] 1st Year (11th Class) Result 2014 BISE Rawalpindi Board

Xaib Aslam posted: "BISERWP board Inter part 1 result expected on 10th October 2014 according our source. students of Rawalpindi board desperately waiting for 11th class result. 1st they upload the 12th class result and after some time they ready for showing the 1st year fin" New post on Jobs in Pakistan 1st Year (11th Class) Result 2014 BISE Rawalpindi Board by Xaib Aslam ...