JVM OutOfMemoryError: Can VM continue or not?
Can the JVM recover from an OutOfMemoryError without a restart
How to use HttpWebRequest (.NET) asynchronously? How can I use HttpWebRequest (.NET, C#) asynchronously? I downloaded Heroku from Heroku toolbelt using  wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh   in the terminal, which they recommended on their site.   My Ubuntu (14.04.1) didn't recognize the -q0-, so I took it out.  It then seemed to download fine - I see the  in the directory I was in when i downloaded it.   Now, however, it still doesn't recognize heroku as a command.  It also won't show me where it is with the 'whereis' command.  But when I look in the current directory with ls -a, it shows up.  It seems to be there.   How do I install it? Ubuntu 18.10: visual artifacts (black bar) in dock if extend-height is disabled I am using the default Ubuntu dock with bottom placement and org.gnome.shell.extensions.dash-to-dock extend-height set to false. With Ubuntu 18.10 this produces a noticeable visual glitch, note the black empty spaces at the edges of the dock:    I am getting this both on an upgraded system and on a clean install inside a VM. This was working fine in Ubuntu 18.04. Also happens if the theme is set to something else than Yaru (the default theme in Ubuntu 18.10). Reboot does not help. Dock looks OK if extend-height is enabled.  Any ideas on how to fix this? Beamer how to change color of infolines and frame title How could I change the color of color of infolines and frame title in beamer. I am using this now   \documentclass[xcolor=dvipsnames]{beamer} \usetheme{CambridgeUS} \useinnertheme{rectangles} \useoutertheme{infolines} \usecolortheme[named=Brown]{structure}    I need to change the color from red to brown. [named=Brown] doesn't work for \useoutertheme{infolines}. This is my current output. I also need to change the background of frame title (mouse pointer) I need to echo a string containing angle brackets (&lt; and >) to a file on a Windows machine.  Basically what I want to do is the following: echo some string &lt; with angle &gt; brackets &gt;&gt;myfile.txt  This doesn't work since the command interpreter gets confused with the angle brackets.  I could quote the whole string like this: echo "some string &lt; with angle &gt; brackets" &gt;&gt;myfile.txt  But then I have double quotes in my file that I don't want.    Escaping the brackets ala unix doesn't work either: echo some string \&lt; with angle \&gt; brackets &gt;&gt;myfile.txt  Ideas? FTP and Apache permission issues Cost Distance Analyst In QGIS? Are there any tools, plugins or methods in QGIS which allows for an analysis of the best path between two points using least cost path method? As shown below ArcGIS has several distance tools. Sorting by "hot" - what does it mean and why are the sort option different between the homepage and the questions tab? It has come to my attention that on the homepage on any given SE you can sort by "active", "hot", "week", and "month".  The tooltip says the latter three sort by "most views, answers, and votes" over different periods of time.  So it seems that this is uses a different formula than the "arbitrary hotness points" that create hot network questions.  What is the formula and what is the rationale for using views here, but not in the network hot questions?    Also, what is the rationale for offering such different sorting options between the homepage and the questions tab?  I have been active for ~4 months and never realized there was a sort by hotness option on a different screen (as I have always looked at the questions tab to see what was new) until today. Call blocking for iPhone? How do I block unwanted callers without jailbreaking? When should I use # and = in ASP.NET controls? I have been using ASP.NET for years, but I can never remember when using the # and = are appropriate.  For example:  &lt;%= Grid.ClientID %&gt;   or  &lt;%# Eval("FullName")%&gt;   Can someone explain when each should be used so I can keep it straight in my mind? Is # only used in controls that support databinding? How to wait for a shell process to finish before executing further code in VB6 What is the limit of:  $$\lim_{n\to \infty} \frac{n^1+\dots+n^n}{1^n+\dots+n^n} = ?$$  I did some computation with big numbers, I guess it is in the interval $\left(\frac{1}{2},1\right)$. Example:  A tall(,) green pole.   says that cumulative adjectives don't need comma. In my example, &quot;tall&quot; describes shape, and &quot;green&quot; describes color. So they are cumulative adjectives. But  says that &quot;tall&quot; and &quot;green&quot; are equivalent and coordinate adjectives ... I'm confused. Should there be a comma or not? Pageblocktable to be rendered as table in PDF I have a VF code below where I am trying to display the related list of an object using  and  command. I am rendering this page as PDF , doing that in my PDF I am unable to see the content in a tabular format. How can I make the content appear in a table?      &lt;apex:pageBlockSection columns="1" title="TECHNICAL ASSESSMENT"&gt;          &lt;apex:repeat value="{!interviewSkillReviews}" var="interview"&gt;              &lt;table border="1" cellpadding="6"&gt;                 &lt;apex:pageblockTable value="{!interview.Skill_review__r}" var="skillreview"&gt;                      &lt;apex:column headerValue="Skill Name"&gt;                                                         &lt;apex:outputText value="{!skillreview.Skill__r.Name}"/&gt;                     &lt;/apex:column&gt;                 &lt;apex:column headerValue="Recommended Level"&gt;                     &lt;apex:outputText value="{!skillreview.Level__r.Name}"/&gt;                 &lt;/apex:column&gt;                  &lt;apex:column headerValue="Rating"&gt;                     &lt;apex:outputField value="{!skillreview.RatingCopy__c}" rendered="{!NOT(interviewerMode)}" /&gt;                     &lt;apex:selectList value="{!rating}" multiselect="false" size="1" rendered="{!interviewerMode}"&gt;                         &lt;apex:selectOption itemValue="1" itemLabel="1"/&gt;                         &lt;apex:selectOption itemValue="2" itemLabel="2"/&gt;                         &lt;apex:selectOption itemValue="3" itemLabel="3"/&gt;                         &lt;apex:selectOption itemValue="4" itemLabel="4"/&gt;                         &lt;apex:selectOption itemValue="5" itemLabel="5"/&gt;                     &lt;/apex:selectList&gt;                 &lt;/apex:column&gt;                  &lt;apex:column headerValue="Rating Level Description"&gt;                     &lt;apex:outputText value="{!skillreview.Skill_Level_Description__c}"/&gt;                 &lt;/apex:column&gt;               &lt;/apex:pageblockTable&gt;         &lt;/table&gt;      &lt;/apex:repeat&gt; &lt;/apex:pageBlockSection&gt;   I tried using &lt;table&gt; command of HTML but I just get a border around the pageblocktable.    Example of table look and feel: Can we insert or update FieldSets using apex code? How to remove indentation in footnote? How to find out when an Oracle table was updated the last time Can I find out when the last INSERT, UPDATE or DELETE statement was performed on a table in an Oracle database and if so, how?  A little background: The Oracle version is 10g. I have a batch application that runs regularly, reads data from a single Oracle table and writes it into a file. I would like to skip this if the data hasn't changed since the last time the job ran.  The application is written in C++ and communicates with Oracle via OCI. It logs into Oracle with a "normal" user, so I can't use any special admin stuff.  Edit: Okay, "Special Admin Stuff" wasn't exactly a good description. What I mean is: I can't do anything besides SELECTing from tables and calling stored procedures. Changing anything about the database itself (like adding triggers), is sadly not an option if want to get it done before 2010. How does Neville Longbottom get the Sword of Gryffindor? I recently read the final book of the series. At one point was the vault heist, where the goblin Griphook runs off with the Sword of Gryffindor. Yet near the end of the book, Neville Longbottom suddenly has the sword and uses it to defeat the snake Nagini.  How could this be possible? Griphook wanted the sword because it was goblin-made, so I doubt he would given it over to any non-goblin. How does Neville suddenly get the sword? The documentation for the  function states that you pass it a number, and the positions past the decimal to round. Thus it should do this:  n = 5.59 round(n, 1) # 5.6   But, in actuality, good old floating point weirdness creeps in and you get:  5.5999999999999996   For the purposes of UI, I need to display 5.6. I poked around the Internet and found some  that this is dependent on my implementation of Python. Unfortunately, this occurs on both my Windows dev machine and each Linux server I've tried. .  Short of creating my own round library, is there any way around this? How can I make sure that only low and medium security inmates are in a specific area? Is it possible to reverse the overlay you can set? It seems like you are only able to clear areas for low OR medium security prisoners, but sharing is not possible. The thing I want here is to make sure that max security prisoners are not in certain areas.