The Chinese embassy in Australia publishes a  regarding acceptable passport photos.  They vary subtly but distinctly from the rules for  in Australia: for example, the photo must be 33x48mm (vs min. 35x45mm), height of head must be 28-33mm (vs 32-36 mm), etc.  In practice, are regular 35x45mm Australian passport photos accepted?  Or do I really need to go get a separate set just for this?
The Chinese government has a really specific list of requirements for visa photos:    I had an old unused photo from last time I applied for a visa or passport, and compared it to the requirements (decided not to use it because it was damaged). It seemed to match most of the requirements, except that it seems that they want a photo which isn't square: The required width is less than the required height.  Assuming most drugstores are still providing square passport photos, the question becomes: Should I cut the photo to match the specified width?   What adds to the confusion is if you look at the  the box for the photo is nearly square, not the oblong shape in the requirements. And I have seen other advice that you need to make sure it fully fits the box.  Any advice about what to do here?
Find three real orthogonal matrices of order $3$ having all integer entries.   I have no idea to solve the problem. I don't know how to start. If $A$ be such matrix then $AA^T=A^TA=I_3$. Please help me. Why does $\lim_{n \to\infty}a_{n+1} = \lim_{n\to\infty}a_n$? Assume that $\{a_n\}$ is a convergent sequence. How to use the definition of a limit of a sequence to prove that $\lim\limits_{n \to\infty}a_{n+1} = \lim\limits_{n\to\infty}a_n$? In Italian, when I write a sentence about an action (e.g. eating fish, playing), I would use the infinitive, such as  mangiare pesce fa bene alla salute (which literally is "to eat fish is healthy"), or giocare aiuta ad imparare (which literally is "to play helps to learn").   I would use the gerund in giocando si impara, but that would roughly mean "When playing, you learn." and in this case the infinitive would not be correct. (Giocare si impara is not what you would say in Italian.)  Should I use the infinitive, or the gerund, in sentences similar to the following ones?   To play with fire is dangerous. To win the lottery is just a matter of luck. To escape from Alcatraz is impossible. To practice makes you perfect.   Is the infinitive always wrong, when the verb is the subject of a sentence? Handling circular entity references with Migrate I am using  on a Drupal 6 to Drupal 7 migration right now.  I have three types: type1, type2, type3.  Each of the three types has a entityreference field on it, which is configured to be able to point to all three types.  This means that there can be circular references, and when a particular node is being migrated, the destination node may not exist yet and could potentially be any of the three types.  My migration class looks like this:  class MyNodeMigration extends DrupalNode6Migration {   public function __construct(array $arguments) {     parent::__construct($arguments);      $this-&gt;addFieldMapping('field_legacy_nid', 'nid');      $this-&gt;addFieldMapping('field_the_reference', 'field_the_reference')       -&gt;sourceMigration(array('type1', 'type2', 'type3');   } }  $node_arguments = array(   array(     'class_name' =&gt; 'MyNodeMigration',     'description' =&gt; 'type1',     'machine_name' =&gt; 'type1',     'source_type' =&gt; 'type1',     'destination_type' =&gt; 'type1',     'dependencies' =&gt; array('roles', 'users'),   ),    array(     'class_name' =&gt; 'MyNodeMigration',     'description' =&gt; 'type2',     'machine_name' =&gt; 'type2',     'source_type' =&gt; 'type2',     'destination_type' =&gt; 'type2',     'dependencies' =&gt; array('roles', 'users'),   ),    array(     'class_name' =&gt; 'MyNodeMigration',     'description' =&gt; 'type3',     'machine_name' =&gt; 'type3',     'source_type' =&gt; 'type3',     'destination_type' =&gt; 'type3',     'dependencies' =&gt; array('roles', 'users'),   ), );  $common_node_arguments = $common_arguments + array(   'user_migration' =&gt; 'users', );  foreach ($node_arguments as $arguments) {   $arguments = array_merge_recursive($arguments, $common_node_arguments);    Migration::registerMigration($arguments['class_name'], $arguments['machine_name'], $arguments); }   When I run the migrations, most nodes are fine, but I get a decent amount of Stubs (*) created.  Some of the destination nodes have the entityreference pointing to these Stub nodes.  The source nodes are fine.  What I have uncovered is that the bundle on the destination nodes that are being made as stubs are incorrect, and look like they are all type1.  A node of the proper type does end up being created, but it never gets set as the entityreference target.  Another way to explain this is that I end up with   node: nid=123, type=type1 node: nid=234, type=type1, field_the_reference=123 node: nid=345, type=type2   where it should be   node: nid=234, type=type1, field_the_reference=345 node: nid=345, type=type2   How do I handle this situation?  (*): a "Stub" in the context of this question here refers to a node which is created for the purpose of being a reference target, but does not get its data initially. The term is used throughout the Migrate documentation and source code. Fixed buffers and interior buffers are not working for a polygon that contains a hole I'm following the online qgis manual available on qgis website. I'm doing the step 21.11.3. ().   To make it simple : I have a raster converted to vector, so now it is a polygon (several polygons). I'm doing an interior buffer exactly how it is described in the manual. I didn't obtain the same result. I can see the interior buffer just in some polygons, not in all of them ->    The interior buffers appear just for those polygons, that don't contain a hole. I use qgis 2.18.3.  This is how i created the interior buffer ->    In green you see the input layer : suitable_terrain, in blue the output layer, the interior buffer.   It is not a problem of a projection. I use WGS84 UTM Zone 34S where the units are in meters. I did also the Check validity and i obtain the same result. No command 'bla' found, did you mean:? So, when a command is not found, by what means is the "did you mean:" list populated? What program finds these alternate commands?  What is the meaning of: "(main), (universe)..."? Can I change which program finds these? I just bought a SATA SSD, and wish to install Windows 7 directly on it, but when Windows asks me where do I want to install it, it doesn't recognize any drives.   I have disconnected all my other HDDs My BIOS recognizes the SSD. I went back to my original installation of Windows and my SSD is recognized True Ubuntu on Chromebook ARM I have installed Ubuntu 13.04 on my desktop (runs like a charm). Then I used Crouton to install Ubuntu 12. 04 on my chromebook samsung (ARM). It also works quite well.  Here comes my question. Can we have a true Ubuntu (preferably 13.04) on my ARM chromebook?  It seems that the Crouton/Ubuntu is not 100% the real thing.  The best option would be to have the full Ubuntu 13.04 and remove the Chrome OS. I'm really new to Mac OSX and UNIX based systems. I wanted to run a few Windows games on my Mac Mini so I started installing Wine and MacPorts. I think the installs are correct, but when I type sudo port install wine I see a not found error in my terminal. I tried other basic commands like say and clear and all of them return the same not found error. My research shows that my PATH might be incorrectly set, but it lacks steps I can implement. Specifically, I ran this command: echo $PATH and it returned:  /opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin  I'm a complete newbie to mac and have no idea where .bash_profile or any of those files are. My skills let me install Xcode and the Command Line tools for Xcode and I sense I need to level up on path management. At this point I need help managing my dot files and changing my path to fix these specific errors on Mountain Lion. What are my next steps? How can I take shallow depth of field photos with a point-and-shoot camera? I have a compact digital camera, and in macro mode I can manage to achieve a blurred background, if the background is far enough away. Can this be done when taking non-macro pictures, and if not, is there a way to simulate it?  When I shoot portraits with my brother's DSLR, it is quite easy to fade out the background. But with my point and shoot camera, I haven't been able to take such photos.   I choose a large aperture for my camera but it still doesn't work. I know that standing further and zooming will result in a smaller depth of field, but it doesn't seem to be enough to get the really nice "bokeh" look. I've tried macro mode, and that will work if the subject is close enough and the background far enough away, but how can it be done with non-macro pictures?   Why are DSLR cameras are so much better in this area? What are the general recommendations to do this using a compact or super-zoom camera? One frequent aspect of pdflatex output that could be improved is to what extent one can select text output from the generated pdf-file and copy-and-paste it. This is essentially an issue of having the right output encoding. There are at least two important aspects to this:   In the ideal case, Unicode would be the output encoding. Ligature glyphs (such as ﬁ) are ideally de-ligated in the output (here: "fi").   It seems that output encodings are specified through the fontenc package. What is the range of possible output encodings, and most importantly: Is there a way to specify a Unicode output encoding and one that deals with ligatures in the intended way?  (Note: It is important to distinguish output from input encodings. How to use different input encodings in LaTeX has been documented widely. My understanding is that this is best handled by the inputenx package, as it supersedes the inputenc package.)    Quick guide to the solutions: The information in the answers and answer threads is a bit distributed, so here the short summary: one approach is to use \input glyphtounicode together with \pdfgentounicode=1; the other approach is to use cmap/mmap.  Addendum: Sometimes one will need to load the package accsupp and enclose one's macro definition in \BeginAccSupp{method=hex,unicode,ActualText=&lt;codepoint&gt;}[...]\EndAccSupp{} to generate a specific code point. See the caveat about non-BMP code points  and the fix (starting from accsupp version v0.4, 2012/11/18) , which provides the new unichar package option. How do I reset my manor so I can rebuild it with different options? I currently have Windstad Manor and built it all. Now I regret some choices and I'd like to rethink and rebuild it.  Is there any console way to "nuke" the manor and rebuild it from ground up? How do I add newlines between lines printed on the command line? Mail logs are incredibly difficult to read. How could I output a blank line between each line printed on the command line? For example, say I'm grep-ing the log. That way, multiple wrapped lines aren't being confused. how to add a custom lock for the recovery and/or bootloader? Unlocking the bootloader and/or the recovery is very popular discussion across many devices. But doing so exposes a very obvious and inevitable issue with security!  An unlocked recovery means that no matter how secure you make your android lock screen, someone can easily reset phone to restore the phone to a fully functional (and lockless/insecure) state and the worst part, they don't have to erase your data(meaning they can access all your personal files and folders)!  It is almost hilarious! In fact if the phone supports insertion of external SD cards, you can even flash your own software into the phone and maybe bypass the lock screen without wiping any data.  For example: One possible loophole is using the 'Tasker' app which has a feature that can temporarily disable the keyguard. And the best part is that Tasker can be flashed using the recovery!  So is there any method by which I could add a security measure that prevents complete access to my recovery and/or boot loader that will make my phone less insecure?!  Expected answer: Method by which a custom pin/password must be entered before entering the bootloader/recovery. So that my bootloader/recovery is still technically unlocked but simply requires authentication to use (this also ensures that conventional unlocking methods won't work as the phone is not really locked!). This also means that one does not have to lose root access to ensure security! What does asterisk * mean in Python? Does * have a special meaning in Python as it does in C? I saw a function like this in the Python Cookbook:  def get(self, *a, **kw)   Would you please explain it to me or point out where I can find an answer (Google interprets the * as wild card character and thus I cannot find a satisfactory answer). Make Blender usable on high resolution screen I have a custom script and I want to send a desktop notification (the one that appears in the top right corner of the screen) with a custom message. How do I do that? How to change css property using javascript Login required moving to Super User on iPad When moving around the sites on Stack Exchange using Safari on my iPad (not the Stack Exchange App), I am fine when moving to any site other than SuperUser.  When logged in, I can switch sites and stay logged in, but when I switch to Super User I need to log in again. If I choose not to log in and switch to another site, I am logged in there. Is there a problem with the login handling for Super User? If it helps, I log in with a Stack Exchange account, not through Facebook or Google. Update After getting fed up with the problem, I took the advice given in the answer below which was to use Chrome, and the problem still exists. The same goes for Firefox. Have I missed something?  As you can see from the screenshots below, there are no cookie settings to be found. Chrome for iOS settings page  Privacy settings page  Content settings page  Google app settings page I'm wondering if there's any log which stores information about a particular program such as when the program has started and closed manually on Windows such as MS Word, or Chrome. Any ideas?