How to fix"java.lang.OutOfMemoryError" in android?
Strange OutOfMemory issue while loading an image to a Bitmap object
Split comma-separated strings in a column into separate rows Onguard U-lock jammed I'm currently trying to unlock my bike that has been sitting on my porch for a while, the key works and turns, and I can hear the lock engaging/disengaging, however I cannot get the shackle to come out. I think their might be dust/sand stuck in the mechanism however I'm not sure how to get it off now to check. How to prove that $\mathbb{Q}$ ( the rationals) is a countable set I want to prove that $\mathbb{Q}$ is countable. So basically, I could find a bijection from $\mathbb{Q}$ to $\mathbb{N}$. But I have also recently proved that $\mathbb{Z}$ is countable, so is it equivalent to find a bijection from $\mathbb{Q}$ to $\mathbb{Z}$? Finding first and last index of some value in a list in Python What terminal command or program can list an SSD's Power On Hours? I'm looking to script using the unix shell the retrieval of SSD (and HDD) data that disk utility shows in the information window.    I'm immediately interested in the Power On Hours and Power Cycle, but if all the data comes from one data structure or tool, so much the better. The usual tools diskutil info disk0 and ioreg -l are not producing the "of interest" values listed in the screen shot above.  Is this information available from any of the built in OS X terminal tools or do I need to locate an open-source package that makes the same API calls to get this level of detail about a Mac drive? How to prove the convergence of $\sum_{n\geq 0}\frac{n!^d}{(dn)!}$ for $d\geq 2$? How can we find the general formula about the convergence of the serie $\sum_{n=0}^\infty \frac{(n!)^d}{(dn)!}$ for all $d\geq2$ ?  I tried using the d'Alembert Criteria but it doesn't simplify itself enough to prove the convergence. Are these intended activities legal to do in the USA under the VWP? People are born and grow up and die of old age in a matter of 5 days. The elders (5 days old) train children and send the most promising one on a trek across the dessert to a monolith that is the cause of the rapid aging to hopefully disable it.   I saw it on a reel to reel in the mid 90's. It looks like it was made in the late 70's or 80's. The cast was small. A few men played the elders seated in a row of chairs and the young boy who had to set out to save them who matures into a man and finally an elderly man.  I've been trying to figure out the title for years. Why did the snake wink at Harry at the zoo? This is mostly a memory question - I'm having a hard time remembering this and I can't read the book right now.  On the first book, a snake at the zoo winks at Harry. For the sake of the question, we'll assume that snakes can in fact wink.  I have a fuzzy memory here - I think that it winked before Harry had any kind of interaction with the snake (was this before or after Harry broke the glass?)  So, why did the snake wink at Harry? Given that they had not met ever before.  I suppose that the only reason it would wink at Harry would be because it knows Harry can communicate with it. But this would imply that snakes are capable of sensing such ability on wizards - is there (other) evidence that this is true? Eigenvalues of Householder matrix What would be the eigenvalues for a Householder matrix defined as: $H = I - 2 u u^T$? Can someone explain it  to me intuitively or with a simple proof? Recursive time series forecasting model In a recursive forecasting model, let's say you are trying to predict sales of Target for the next month and you will append that prediction to your input and predict the month after. Basically, your target is Sales quantity, which you lagged. But let's say you have other continuous numerical features like Price which you will lag as well. As your model is making predictions on Sales_QTY, it will feed it back to sales_qty as input so you will never ran out of values for that one. So how do you deal with your other features (other than the target) in order to generate them as next months inputs in a recursive forecasting model (because eventually you will run out of them)? DO you create a sub-model and try to predict them as well? Yesterday I was filming a scene with my phone but suddenly the application crashed and when I try to open the m4v generated it says that is corrupted.  I have downloaded the video files (around 36MB) on my PC and I am trying to open and repair it. Can you suggest me a way to do it?  FFMPEG info  As suggested in comments I try check what FFMPEG says me about that file with this command  ffmpeg.exe -i VID_20120425_144739.m4v -c:v copy -c:a copy out.mp4 2&gt; log.txt   Here it is the result:  ffmpeg version N-40126-ga4b58fd Copyright (c) 2000-2012 the FFmpeg developers   built on Apr 26 2012 03:29:50 with gcc 4.6.3   configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib   libavutil      51. 47.100 / 51. 47.100   libavcodec     54. 15.100 / 54. 15.100   libavformat    54.  3.100 / 54.  3.100   libavdevice    53.  4.100 / 53.  4.100   libavfilter     2. 72.100 /  2. 72.100   libswscale      2.  1.100 /  2.  1.100   libswresample   0. 11.100 /  0. 11.100   libpostproc    52.  0.100 / 52.  0.100 [mov,mp4,m4a,3gp,3g2,mj2 @ 003fc940] moov atom not found VID_20120425_144739.m4v: Invalid data found when processing input   Latest two lines are displayed in red. How do you convert CString and std::string std::wstring to each other? CString is quite handy, while std::string is more compatible with STL container. I am using hash_map. However, hash_map does not support CStrings as keys, so I want to convert the CString into a std::string. Writing a CString hash function seems to take a lot of time. CString -----&gt; std::string  How can I do this? std::string -----&gt; CString:  inline CString toCString(std::string const&amp; str) {     return CString(str.c_str());  }  Am I right?  EDIT: Here are more questions: How can I convert from wstring to CString and vice versa? // wstring -&gt; CString std::wstring src; CString result(src.c_str());  // CString -&gt; wstring CString src; std::wstring des(src.GetString());  Is there any problem with this? Additionally, how can I convert from std::wstring to std::string and vice versa? How do I update my TeX distribution? What makes a good jump scare? I am working on a game and would like to include a few jump scares. So here is a rather simple question — What makes a good jump scare and when and how should they happen? Sum of Cosine/Exponential Improve alignment of "Learn more" button in "Newest badge" popup The popup when you click on your newest badge in your user profile has a &quot;Learn more&quot; button, but its alignment is suboptimal; it's too close to the top of its container:  It looks better with a 4px top margin: How do I report a bug related to Stack Exchange? Does Stack Exchange contain any edit suggestion or bug submission system, or such type of discussion forum to inform SO or its administrators about suggestions and bug reports that relate to SO itself? Why is Python running my module when I import it, and how do I stop it? Should "move-to-chat" be provided on demand (as a button perhaps)? When comments get too chatty the move-to-chat feature asks if you'd like to move it out. But this often happens after the fact and thus doesn't prevent it.   I propose that:   Move-to-chat be provided as a button along side so that a user who knows their question or conversation may become drawn out may elect to preempt and take the conversation "off-line"