Which one is better - more cross-type sensor or better sensitiveness of cross-type sensors?
What is the effect of the number of cross-type focus points on sharp focus?
Joda Time: How to get dates of weekdays on some date interval? I would like to know the best way to write test methods for controller extension classes that are used by Visualforce.  What is the minimum set code that I need to cover the basic operation of the controller without taking into account any custom functionality that I might add.  Here is my example class with the test method ready to be completed.  public with sharing class myExtension{      private final Account acct;      public myExtension(ApexPages.StandardController stdController){         this.acct = (Account)stdController.getRecord();     }      public static testMethod void testmyExtension(){      } } I have just got a new laptop, It is running Windows 7 Home Premium.  I have shrunk the windows partition to give me some empty space and now I want to install ubuntu.  From Windows my partitions look like:   So now in the ubuntu live cd If I hit install and go manual the partitioner looks like   So I thought I could just select the empty space and be away laughing, but when I hit it I get What is the best place for storing binary files that are related to data in your database? Should you:   Store in the database with a blob Store on the filesystem with a link in the database Store in the filesystem but rename to a hash of the contents and store the hash on the database Something I've not thought of   The advantages of (1) are (among others) that atomicity of transactions is preserved. The cost is that you might dramatically increase storage (and associated streaming/backup) requirements  The goal of (3) is to preserve atomicity to some degree - if you can enforce that the filesystem you are writing to does not allow files to be changed or deleted, and always has the correct hash as filename. The idea would be to write the file to the filesystem before permitting the insert/update referencing the hash - if this transaction fails after the filesystem write but before the database DML, that is fine because the filesystem is 'faking' being the repository of all possible files and hashes - it doesn't matter if there are some files in there that are not being pointed to (and you could clean them up periodically if you are careful)  EDIT:  It looks like some RDBMSs have this covered in their individual ways - I'd be interested to know how others do it - and particularly in a solution for postgres Can I see my active diplomatic deals in Civ 6? When making deals with AI I'm having a hard time assessing if I'm already trading for the resource or not. Is there a way I can see my currently active deals or deal history?  If not, is there a way I can see which resources I am currently importing? OS X El Capitan installation error: AMD-Action:authenticate:SP When doing a clean re-installation of El Capitan (highest supported version) from a bootable USB on an older Mac (MBP, 15-inch, Late 2008), I get this error:  An unexpected error occured while signing in. AMD-Action:authenticate:SP  The error shows up, while logging in with the Apple ID into the App Store in the installer.  I tried with different Apple IDs,  Also tried running these commands in the Recovery Terminal and restarting: csrutil clear csrutil enable How do I post code in chat? I would like to be able to post code in chat. I know that I can post inline snippets of code by using backticks, but I don't know how to post blocks of code, with the entire chat message formatted as code, and indentation respected. I am aware of . After reading the comments, I found out that I could format in "fixed width", but I can't see a "fixed width" button anywhere. What should I do? Get Last Friday of Month in Java Ok... so this is embarrassing.  I typed in "boobs" on EncyclopediaDramatica's search because, well, it's a really funny page.  But now I've got a problem... EVERY TIME I click a search field in Chrome now, it shows "boobs" as the first suggestion in the drop down!  This is not really socially acceptable as this laptop goes with me everywhere and Chrome is my primary browser.  Is there a way I can isolate and remove just that one entry? Image uploads not working on Chrome When I try to upload an image, I'm presented with the following dialog box,    The dialog box does not allow uploading either from my computer or by posting a link.  This happens only on Chrome browser (running on Windows). Clearing cache and cookies, and restarting computer do not resolve.  Is this just my computer? Or is this a site-wide bug?  Additional info:  Clicking on 'click' to upload does nothing. Dragging an image onto dialog redirects me to the file location on my computer. Clicking 'Add picture' redirects me to http://[SE-domain].com/upload/image?https=true.  UPDATE: A Norton extension for Chrome was the source of the problem. Best place to put bug reports? What websites or other resources do users of Blender have available to them to report bugs or problems with the program?  I would like to get this issue cleared in Q&amp;A format so that we can link new users with bug-report-style questions to this post. Under the  tag I have seen many questions on earth-616. Are there any other versions of earth as well? How do they differ from each other? Motivation  I want to include a list of related equations, say, for a proof, in my LaTeX document. As far as I know, I have two good options, eqnarray and align.   Question  What is the difference between eqnarray and align, and how do I know which I should be using? Or does it matter at all? How do I figure the dice and bonuses for attack rolls and damage rolls? I'm building my character, a Half-Elf Ranger, and I'm a little confused about how to work out the attack bonus and the damage bonus.  So, please tell me if I've got this right:   I'm proficient with a longbow. That means my attack roll is 1d20 + prof bonus + Dex modifier. The damage roll however is 1d8 + Dex modifier.   I'm just a little confused about working out the numbers (without even going into spells and when to roll for attack, etc.) ESRI has an  from 2004 showing all the symbols available in ArcGIS at the time and their names. I don't need it often but if I'm searching for a certain symbol and don't know its name it's sometimes easier to look at a few sheets of paper than to use the Symbol Selector. It doesn't seem like it's been updated for ArcGIS 10, though. I was wondering if anyone is aware of a new version of this, or if anyone has created one on their own they might be willing to share. How to make 7-zip do a whole bunch of folders Evaluating the nested radical $ \sqrt{1 + 2 \sqrt{1 + 3 \sqrt{1 + \cdots}}} $. How does one prove the following limit? $$   \lim_{n \to \infty}   \sqrt{1 + 2 \sqrt{1 + 3 \sqrt{1 + \cdots \sqrt{1 + (n - 1) \sqrt{1 + n}}}}} = 3. $$ How does someone get to cast more than 40 votes in a day? And by someone, I mean that evil feline WesleyDavid:        That screenshot was taken just before 4pm PST, i.e. just before 0000 UTC.  That shows KittehHead's votes for the month, which is the same as for the day since it's March 1st.  Just to be sure it wasn't that SE had the time wrong, I tried upvoting something and got the expected "Daily Vote Limit Reached, Please Vote Again in 6 minutes."  So how did Kitteh^H^H^H^H^H^HWesley get 42 votes in one day?  ADDED: It's getting worse... Now it's March 2nd, and Wesley/Cat has 3 extra votes:        Now I finally got an extra vote (take that evil kitteh!), but it hasn't helped me understand why: Disappointed to see that the 18.04 installer no longer offers the option to encrypt the home directory. According to  bug report referenced in the installer, the recommended method for encryption these days is full-disk with LUKS, or fscrypt for directories. Full-disk encryption seems a bit overkill for my needs, and all the bugs and caveats mentioned on the  don't make it a very attractive option. All I really want is to protect my home directory from someone accessing my documents, photos, etc. if my laptop were to get stolen, making fscrypt the option for me.  The  has some examples on how to set it up, but I can't find any documentation aimed at encrypting the home directory on Ubuntu. The old ecryptfs tool is still available, but after setting it up Ubuntu would sometimes freeze at the login screen.  So my question is: How do I setup fscrypt to encrypt my /home directory and decrypt when I log in? I also liked how ecryptfs allowed decrypting the folder manually (eg. from disk images).  (A similar question was posted  and was unfortunately closed for being an "off-topic" bug report. To clarify, this is not a bug report. The fact that the encrypt home directory option was removed from the installer was intentional. All I'm asking here is how to setup fscrypt.) Intersect (analysis) of polygons generating empty output