Is it better to programmatically draw or use .9.pngs for simple shapes?
What should i use for better performance, nine-patch or drawable xml resource?
How to Make This Block Diagram with LaTeX I understand that there are some questions here regarding the block diagrams. However, I am strongly interested in one particular style shown as below:    This is a picture from a paper. As can be seen, the text can be selected there. So it is not an attached picture. I suppose it is done by LaTeX.  Could anyone point me to the right direction to achieve this?  (I specially LOVE the colored "thin grid"! It is much more beautiful than the fully filled color!) Call Servlet and invoke Java code from JavaScript along with parameters Is a DNA molecule a single strand of polynucleotide or two of them linked together? Our molecular biology teacher told us that a double helix of DNA was composed of two DNA molecules linked together by hydrogen bonds. The thing is, until now, I always thought a DNA molecule was composed of two strands, those being polynucleotides, both of them being linked together. I can't find a link which is saying the same as my teacher, even if it seems technically correct to call a double helix a dimer of two DNA molecules.  I was curious to know what was the exact terminology. 60% Downpayment on house? Axiom of Choice: Where does my argument for proving the axiom of choice fail? Help me understand why this is an axiom, and not a theorem. In terms of purely set theory, the axiom of choice says that for any set $A$, its power set (with empty set removed) has a choice function, i.e. there exists a function $f\colon \mathcal{P}^*(A)\rightarrow A$ such that for any subset $S$ of $A$, $f(S)\in S.$ Is this correct?  My question then is about proving this fact, so that we do not need to put it as an axiom. Now as per the research done on this single object- Axiom of Choice, I believe here that there should be some falsity in my argument. I do not find the mistake.  For any $S\in \mathcal{P}^*(A)$, since $S\neq \emptyset$, $\exists s\in S$. Define $f(S)=s$. Then $f$ is a choice function.  This was showing me that the axiom of choice is proved, but then why it had been put as an axiom? For example, in  book, the author asserts that      It is a metatheorem of mathematical logic that it is impossible to specify the function that assigns to each non-empty subset of $\mathbb{R}$, an element of itself.     There are several notes and books on axiom of choice, but here I am trying to understand through doing some argument for some problem, where problem actually arises. What's a (big) word or phrase to describe a book that is so good that I cannot put down when I start to read it? How can editors and reviewers detect data manipulation? Passing parameters from test methods Is it ever bad to use \left and \right? For mathematics, is it ever disadvantageous to use \left(  and \right)  in equations?  I can't see any way that doing this would hinder the typesetting, so why isn't () just converted into \left( \right) automatically? This would save a lot of typing.  Cheers! Sci-Fi Movie/Show Where a Soul is Captured in a Glass Vessel I remember very little of this, I was quite young -  It was on television in the mid 90's, but seemed older. My wife was telling me about the 21 grams experiment and the memory clicked into place. Setting Inside of a mad scientist sort of lab, with the plasma balls and everything else, a character (Who in my mind resembles Gene Wilder in Young Frankenstein) is conducting an experiment. The room is hazy, lots of hues of purple and red. He has an assistant present. They were conducting some sort of experiment to try to figure out the secrets of immortality (or possibly reanimation). I remember them &quot;trapping&quot; a human soul in a glass vessel to see what it weighed or what kind of volume it took up - I believe they shot someone in this vessel, and because their soul could not &quot;escape&quot;, they did not die. How to convert Strings to and from UTF8 byte arrays in Java In Java, I have a String and I want to encode it as a byte array (in UTF8, or some other encoding). Alternately, I have a byte array (in some known encoding) and I want to convert it into a Java String. How do I do these conversions? Is there any way to get the windows cmd shell to expand wildcard paths? Occasionally, the cmd shell's inability to expand wildcard paths can really be an inconvenience. I had to pass 100 files in a directory to a program, and couldn't type *.ext. Instead, I used mingw's 'ls' to dump the list to a file, then replaced newlines with spaces, copied and pasted into cmd. Quite a nightmare.  I suspect the answer will be no, but has anyone dealt with this or come up with any way to make this easier? i want to write a device driver but not able to find the header file can someone please help me find them?Also if someone can point out some important site links that would be really appreciated Sometimes, I want to have enumerate lists in LaTeX start at other than the first value (1, a, i, etc.) How can I make an enumerate list start at an arbitrary value? Why is triple-DES using three different keys vulnerable to a meet-in-the-middle-attack? Among other sources,  states that triple DES using three seperate keys (k1, k2, k3) is vulnerable to meet-in-the-middle-attacks, while triple DES using only two keys (k1, k2, k1) is not.  Why is this attack possible if all the keys are different, but not if the first and the third are the same? I need to display attachments on a visual force page for the Case object.  This is the code I am using. I had it working for awhile, but it somehow broke down. It gets all the attachments, but it will not show the images.   &lt;apex:repeat value="{!Case.attachments}" var="att"&gt;             &lt;apex:panelgrid columns="1"&gt;                 &lt;h1&gt;Image/h1&gt;                 &lt;apex:image url="/servlet/servlet.FileDownload?file={!att.Id}"/&gt;             &lt;/apex:panelgrid&gt; &lt;/apex:repeat&gt; Mapping Russia - Int'l dateline splitting polygon I am having the issue where the International Dateline is splitting a polygon I am working with.  I have a layer of the "Federal Districts" of Russia, and the eastern most federal district is being "cut" by the international dateline.   I currently have the data frame's coordinate system set to Asia Lambert Conformal Conic and this places the two "cut" polygons next to each other (how they should be).  I really need the polygon to not be cut and show as a continuous polygon.   I've researched up and down, tried changing the projection/coordinate system, but with no luck.  I've attached a screenshot of the one multi-part polygon that is being split by the international dateline.  I would like it so that there is no cutting of the polygon, and therefore no boundary line going through the polygon.  I've even tried transforming this multi-part polygon into separate, single-part polygons, then merge them back together, but anytime any part of any polygon crosses this line, it gets cut.  Layout View:    Data View: Include some chat capabilities in iOS app Currently, the app notifies users when they're mentioned in chat. However, when we tap on the notification, we got redirected out of the app to Safari.   Is there a chance we can get some chat capabilities in the app, so that we don't have to login again in Safari to quickly reply to the messages?    App version: 0.1.19 09/19/2014 How do I use SSMS to compare Database 1 Table 1 against Database 2 Table 1? I have two databases - Database1 and Database2.  Both databases contain a table that has similar structure, exemplified as follows:   =========================================================================================== | ID | Name | PhoneNoFormat | DialingCountryCode | InternationalDialingCode | InternetTLD | =========================================================================================== |    |      |               |                    |                          |             | ===========================================================================================   However, due to some reason, (a) one of the tables in one of the databases has data that is not exactly the same as (b) that contained in the other table in the another database.  So, how can I compare Database1.Table1 against Database2.Table1?  I tried using the following query, but nothing happened so was wondering if I have to rewrite it:  SELECT MIN(TableName) as TableName,        ID,        Name,        PhoneNoFormat,        DialingCountryCode,        InternationalDialingCode,        InternetTLD  FROM  (    SELECT  'Table A' as TableName,           A.ID,           A.Name,           A.PhoneNoFormat,           A.DialingCountryCode,           A.InternationalDialingCode,           A.InternetTLD    FROM [D:\DATABASE1.MDF].[dbo].[Table1] AS A    UNION ALL    SELECT 'Table B' as TableName,          B.ID, B.Name,          B.PhoneNoFormat,          B.DialingCountryCode,          B.InternationalDialingCode,          B.InternetTLD    FROM [D:\DATABASE2.MDF].[dbo].[Table1] AS B  ) tmp  GROUP BY ID, Name, PhoneNoFormat, DialingCountryCode, InternationalDialingCode, InternetTLD  HAVING COUNT(*) = 1  ORDER BY ID Letter of recommendation from Post-Doc or Professor