Stack Overflow Weekly Newsletter
Stack Overflow Weekly Newsletter

Top new questions this week:

What is 'YTowOnt9'?

Our (PHP) framework sometimes renders hidden inputs with value YTowOnt9. I can't find that string anywhere in the (huge) codebase, and can't figure out where it came from. I decided to Google for that …

php html web output  
asked by Sherlock 148 votes
answered by kojiro 308 votes

Does switch case order affect speed?

I've tried to google this, but had no luck. I have a very big switch, and some cases are obviously more common than others. So I would like to know if the order is really held as it is and the …

java switch-statement  
asked by MightyPork 52 votes
answered by Louis Wasserman 71 votes

When does undefined behavior strike in C++?

Consider the following statement: *((char*)NULL) = 0; //undefined behavior It clearly invokes undefined behavior. Does the existence of such a statement in a given program mean that the whole …

c++ undefined-behavior  
asked by usr 51 votes
answered by Steve Jessop 37 votes

A semantics for Bash scripts?

More than any other language I know, I've "learned" Bash by Googling every time I need some little thing. Consequently, I can patchwork together little scripts that appear to work. However, I don't …

bash formal-semantics  
asked by jameshfisher 51 votes
answered by kojiro 72 votes

Why does bash "echo [t]" result in "t" not "[t]"

This happens for the character t, and the value root. Quite perplexing $ echo [s] [s] $ echo [t] t $ echo [ t ] [ t ] $ echo [root] t

bash  
asked by user3546411 36 votes
answered by Raffaele 10 votes

Does range() really create lists?

Both my professor and this guy claim that range() creates a list of values. "Note: The range function simply returns a list containing the numbers from x to y-1. For example, range(5, 10) …

python list python-2.7 python-3.x  
asked by chopper draw lion4 28 votes
answered by thefourtheye 65 votes

Does the "using" keyword mean the object is disposed and GC'ed?

I struck up a conversation with my colleague today, who said she'd just learned the reason behind using the using statement. //Using keyword is used to clean up resources that require disposal …

c# .net garbage-collection dispose  
asked by now he who must not be named. 24 votes
answered by Luaan 36 votes

Greatest hits from previous weeks:

How to install google play service in the genymotion (ubuntu 13.04) .Currently it doesn't have drag and drop suport

How to install google play service in the genymotion (ubuntu 13.04) .Currently it doesn't have drag and drop suport . So can't install by just drag and drop as mentioned here How do you install Google …

android ubuntu genymotion  
asked by anp8850 28 votes
answered by anp8850 58 votes

R cannot be resolved - Android error

I just downloaded and installed the new Android SDK. I wanted to create a simple application to test drive it. The wizard created this code: package eu.mauriziopz.gps; import android.app.Activity; …

android eclipse android-resources  
asked by MaurizioPz 501 votes
answered by MaurizioPz 49 votes

Can you answer these?

Can I extend built-in array's indexer?

I want to add my own indexer to generic array type: type 'T``[]`` with member this.Item(x: string) = 1 // test However, this gives a compile error "expression was expected to have type int but …

f#  
asked by trek42 2 votes

ember.js on rails cannot find index or application template

I'm a new EmberJS user and I'm trying to convert an existing Ruby on Rails application. I went ahead and went forward with the ember-rails gem. The only thing I did out of the ordinary was instead of …

javascript ruby-on-rails ruby ember.js ruby-on-rails-4  
asked by randombits 1 vote

Jira REST API - How to POST a new member to a project role?

I'm trying to use the REST Api to manage project roles in JIRA. I've been able to GET a list of the roles and "actors" and DELETE a role member. But I can't POST a new role member correctly. I keep …

jira  
asked by WiteCastle 1 vote
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