Equivalent for getobjectcontext() in visual studio 2012 vb.net?
How to get ObjectContext to compile?
How to delete empty folder with thumbs.db without disabling thumbnails I often have problem to delete a folder that contains a thumbs.db file. Also tools like  fail. It seems to be loccked by os for some unknown reason. The only solution i found in the net was to disabling thumbnails in windows but this is a bad workaround isn't it?  Is there a "normal"(or official, supported by MS) way to delete an empty folder that only contains a thumbs.db? I am a computer scientist, and one of my professors today used the symbol $\propto$. I tried to search that using google, but it returns no results, and I do not even know its name.  So, I would like to ask, what does the operator $\propto$ mean? What is its name, and how is it used? Oven temperature for multiple ducks? MySQL Results as comma separated list I need to run a query like:  SELECT p.id, p.name,         (SELECT name            FROM sites s           WHERE s.id = p.site_id) AS site_list   FROM publications p   But I'd like the sub-select to return a comma separated list, instead of a column of data.  Is this even possible, and if so, how? I am building a drupal site using Views, search API module and user-points module.  I created the "database server", and indexed many fields of nodes.  I created a search page using views and the search API, that present content (image, title etc.) In addition, I want to add to every content in this search view the name of the author that wrote it, his author picture.  I add the Indexed Content: Author relationship. Unfortunately, I can't find a way to add the author picture and the current total point to my view.  Can somebody advice how to do that? I'm practicing proofs and given the following statement:  Let $\Sigma$ be an alphabet, $\epsilon$ the empty word and $\sigma:\Sigma^{*}\rightarrow\Sigma^{*}$ an operation which for $a\in\Sigma$ and $w\in\Sigma^{*}$ is defined as $$\sigma(\epsilon)=\epsilon,\\\sigma(wa)=a\sigma(w).$$  I would like to prove through induction that $\sigma$ is equal to the word reversal operation $rev$ meaning that $\sigma(w)=rev(w)=w_{n}...w_{1}$ for every $w=w_{1}...w_{n}\in\Sigma^{*}$.  My suggestion is as follows:  For $w=\epsilon$ we have $$\sigma(w)=\sigma(\epsilon)=\epsilon=rev(\epsilon)=rev(w).$$  Let $w=xa$ with $x\in\Sigma^{*}$ and $a\in\Sigma$, then $$\sigma(x)=x_{n}...x_{1}=rev(x).$$  Thus we also have $$\sigma(w)=\sigma(xa)=\sigma(x_{1}...x_{n}a)=a\sigma(x_{1}...x_{n})=ax_{n}\sigma(x_{1}...x_{n-1})=...=ax_n...x_{1}=rev(x_{1}...x_{n}a)=rev(xa)=rev(w).$$  Does that constitute a correct and sufficient proof? If not, I would very much appreciate your feedback. Clip for each feature I want to clip a polyline feature class by a polygon feature class (buffers created from points). Several polygons overlap, so I want to get each polygon feature clipped with each polyline feature.  Using the Clip_analysis tool, I get the orange lines:   whereas I want the following red lines:    In a python script, I tried the following code to clip every polyline with each polygon:          temp = arcpy.ValidateTableName("clip_temp")     bufferCursor = arcpy.SearchCursor(buffer)     n = 0     for pRow in bufferCursor:         arcpy.AddMessage(n)         feat = pRow.Shape         arcpy.Clip_analysis(inputPolylineLayer, feat, temp, "#")         if n == 0:             arcpy.Copy_management(temp, clip)         else:             arcpy.Append_management(temp, clip)         n=n+1   But the execution is very very slow and it crashes before finishing.  I also tried the Intersect_analysis tool but I didn't get the right geometries:   Do you have any idea of a better methods to do it? I get a message:     Sorry, you are only allowed to ask 50 questions in a 30 day period   Why is there a question limit? 50/month is just not enough :) Is the matrix diagonalizable for all values of t? Where can I get images for commercial use? I am running a web site design service for local small business owner. I want avoid legal issues on the images I use. Usually, the images found on Flickr are forbidden for commercial use. Where would be a normal channel to get pictures for commercial use with minimal cost? How can I validate that the picture I used has no legal risk? Is $x^x=y$ solvable for $x$? Given that   $x^x = y$; and  given some value for $y$   is there a way to expressly solve that equation for $x$? Can someone please verify my proof?     Is the collection $\tau_\infty = \{U:X-U$ is infinite or empty or all of $X\}$ a topology on $X$?   No. Let $X = \mathbb{R}$.  Clearly, $\{x\} \in \tau_\infty$ for all $x \in X$.  Set $\displaystyle{B = \cup_{x \neq 0} \{x\}}$. Clearly, $X - B = \{0\}$, but $\{0\} \notin \tau_\infty$. Since $\tau_\infty$ is not closed under arbitrary unions, it does not define a topology on $X$. When I go to any github.com page in Chrome, I get a big ugly error:  You attempted to reach github.com, but the server presented a certificate issued by an entity that is not trusted by your computer's operating system. This may mean that the server has generated its own security credentials, which Chrome cannot rely on for identity information, or an attacker may be trying to intercept your communications. You cannot proceed because the website operator has requested heightened security for this domain.  The same thing happens (in Chrome and with curl) when I go to  too. This strange problem started about a week and a half ago. Here's what I see when I click the broken lock icon in the address bar:   But gist.github.com works just fine:   It doesn't work with curl either:  Everything works fine in Firefox. How can I fix my root CA problem? Here's what it looks like in Firefox:   Update: I noticed that the first certificate in the chain is different in my broken Chrome/Safari as compared to Chrome on my other computer.   (There's no nasty red X anymore because I trusted it in Safari.) See how the issuers are different? What can I make of that? How to allow Page Up in GNU Screen? I use Vim to edit text files on Linux. Commonly I connect to remote Linux machines using PuTTY from Windows.  I use GNU Screen commonly as well.  When using Vim inside Screen I am unable to use the Page Up key because Screen interprets it as a command to start copy mode.    I would like to use Page Up for its regular up-paging functionality.  How can I configure Screen to do this? I am in a situation where when I get an HTTP 400 code from the server, it is a completely legal way of the server telling me what was wrong with my request (using a message in the HTTP response content)  However, the .NET HttpWebRequest raises an exception when the status code is 400.   How do I handle this? For me a 400 is completely legal, and rather helpful. The HTTP content has some important information but the exception throws me off my path. Brasero says it won't burn the CD because the file is too big, what's going on? What should I do when my neural network doesn't generalize well? I'm training a neural network and the training loss decreases, but the validation loss doesn't, or it decreases much less than what I would expect, based on references or experiments with very similar architectures and data. How can I fix this?    As for question        to which this question is inspired, the question is intentionally left general so that other questions about how to reduce the generalization error of a neural network down to a level which has been proved to be attainable, can be closed as duplicates of this one.  See also dedicated thread on Meta: UK Standard Visitor visa application to sit for PLAB 1 without savings or job I am a medical doctor in Pakistan. I have been on a career break to allow myself to study full time for the IELTS exam (from which I recently got the required band score) and PLAB 1. I have now registered and paid for the PLAB 1 exam in UK for June 2016, as the next sitting in Pakistan is in November 2016 and I feel like I am ready to do the exam sooner.  Due to having no current employment, my savings are limited (around 25,000 Pakistani Rupees) but I live with my parents and do not have any financial commitments at home.  My savings have depleted in the past ten months whilst I have taken a career break and the money has been used for my own personal expenses. My trip to the UK is being funded by my grandfather who is a British citizen. He is a retired doctor with a good NHS pension. He has provided me with:   6 months bank statements which clearly show his pension deposits   Letter from NHS Pensions stating his pension   Sponsorship letter stating that he will pay for my PLAB exam fee, travel, accommodation and subsistinence costs whilst in the UK   Copy of British passport  Document confirming that he owns the house he lives in mortgage-free Confirmation email from GMC stating he has paid the PLAB exam fee.   Without large personal savings and no current job (but I have job offers now) would my application be rejected or is the strong sponsorship going to be good enough?  Are there any other documents I should consider submitting that may help me get a visa? Catching access violation exceptions? Example  int *ptr; *ptr = 1000;   can I catch memory access violation exception using standard C++ without using any microsoft specific. How to get my own IP address and save it to a variable in a shell script?