MemberQ not working?
DeleteDuplicates[] does not work as expected on floating point values
Every closed subset $E\subseteq \mathbb{R}^n$ is the zero point set of a smooth function Reset or remove the BIOS password on my laptop Streaming large files in a java servlet I am building a java server that needs to scale. One of the servlets will be serving images stored in Amazon S3.  Recently under load, I ran out of memory in my VM and it was after I added the code to serve the images so I'm pretty sure that streaming larger servlet responses is causing my troubles.  My question is : is there any best practice in how to code a java servlet to stream a large (>200k) response back to a browser when read from a database or other cloud storage?  I've considered writing the file to a local temp drive and then spawning another thread to handle the streaming so that the tomcat servlet thread can be re-used. This seems like it would be io heavy.  Any thoughts would be appreciated. Thanks. Would Gollum qualify, as a Ringbearer, to go to the Undying Lands? I am trying to create something similar to this in Tikz:    I have been looking at using the \shadedraw macro, but have not found a way to create the color spectrum.  It seems possible if I stack multiple gradient-shaded rectangles on top of each other, but I would rather not use such a lengthy and ugly solution.  Is there a way to recreate this PH-scale image in Tikz, ideally using few rectangles?  (Note: the number labels are not necessary, as they will be replaced with horizontal lines anyway.) High Voltage Powerlines - clarification of energy loss Table of contents numbering is strange Drawing users' attention to unrecoverable actions? Why do the eigenvectors for two similar matrixes differ by a large amount Is there an intuitive reason the brachistochrone and the tautochrone are the same curve? The  asks what shape a hill should be so a ball slides down in the least time.  The  asks what shape yields an oscillation frequency that is independent of amplitude.  The answer to both problems is a cycloid.  Is there an intuitive reason why these problems have the same answer?  Proposed operational definition of "intuitive":  Imagine modifying the problem slightly, either to the  (tunnel through Earth), or by taking account of the finite radius of the ball.  If the answer to the original question is intuitive, we should easily be able  to tell whether these modified situations continue to have the same brachistochrone and tautochrone curves. leaflet geojson coordinate problem I just started to play with leflet/geojson a little. But my coordinates are not rendered properly and I have no clue what is going on.  My coordinates are: 52.23943, 4.97599. They work correct with the setView function.  var map = L.map('leaflet_map').setView([52.23943, 4.97599], 15);   But using a geojasonFeature they are, hmmm, 'projected', somewhere east of Somalia.  var geojsonFeature = {             "type": "Feature",             "properties": {             "name": "Coors Field",             "amenity": "Baseball Stadium",             "popupContent": "This is where the Rockies play!"             },             "geometry": {                 "type": "Point",                 "coordinates": [52.23943, 4.97599]             }         };         var myLayer = L.geoJson().addTo(map);         myLayer.addData(geojsonFeature).bindPopup("I am a gjson point.");   Anyone who knows what is happening here?  EDIT  Out of pure curiosity I changed the coordinates around [4.976143930893815,52.23925499011473] and the point appears at its correct location. A known bug!? Complete beginner here.  I'm trying to follow  tutorial on Anisotropic shaders, but my property panel looks nothing like the property panel in the tutorial.  For example, when creating a material, this is what his property panel looks like:    But this is what mine looks like, if I follow the same path:    I'm sure I'm missing something obvious.  How can I see the property panel shown in the tutorial? Proving the Cauchy-Schwarz inequality by induction Custom environment in wrapfigure The other day I was trying to download something for Minecraft and it involved my bin folder. So I was looking for it and couldn't find it. I then thought that I might have accidentally deleted it, but didn't find it in the trash. I have no idea how to get the bin folder back with all the Minecraft binary files in them. How to get perfect UV sphere Mercator projection? I'm trying to unwrap a UV Sphere and I can't seem to get a perfect  projection. What process should I follow to get a perfect UV unwrap that looks like the black grid lines in this image?: Can't paste data to question, get prompted for Image? Exec format error of gcc-compiled Hello World c++ On AWS Ubuntu Server, I wrote C++ Hello, World program:  #include &lt;iostream&gt; using namespace std;  int main(){         cout&lt;&lt;"Hello, World!"&lt;&lt;endl;         return 0; }   And compiled it:  ubuntu@ip-xxxxx:~/dev/c++$ g++ -c ./test.cc -o out ubuntu@ip-xxxxx:~/dev/c++$ chmod a+x out ubuntu@ip-xxxxx:~/dev/c++$ ./out -bash: ./out: cannot execute binary file: Exec format error ubuntu@ip-xxxxx:~/dev/c++$ file ./out ./out: ELF 64-bit LSB  relocatable, x86-64, version 1 (SYSV), not stripped ubuntu@ip-xxxxx:~/dev/c++$ uname -a Linux ip-xxxxx 3.13.0-48-generic #80-Ubuntu SMP Thu Mar 12 11:16:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux ubuntu@ip-xxxxx:~/dev/c++$ gcc --version gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4   It seems that architecture x86-64 is the same each other. What is the problem here? Do I have to add more C++ flags? Why would I vote for an increase in the number of authorized shares? How does the British-Irish Visa Scheme (BIVS) work? I am an Indian citizen and have applied for the Standard Visitor visa to the UK, and wish to travel to Ireland by using the BIVS scheme.    Do I need to fill up a separate application for BIVS endorsement or is it handed out automatically?  Also, If I enter the UK, and then travel to Ireland, can I re-enter the UK again?