Title. I know the following:  Obj&amp; : reference to an Obj Obj** : pointer to an Obj* Obj&amp;&amp; : reference to a Obj&amp; EDIT: Rvalue reference  However, I do not know what fundamental differences there are between these types, nor when to use which. Any insights and help appreciated. (Also: I imagine there is no limit to this, you could syntactically speaking have an Obj***** right ? Although you probably would never want to.) EDIT: My main question is really when/why would you chose to use a ref to pointer rather than a double pointer ? Or why either is needed really.
I know references are syntactic sugar, so code is easier to read and write. But what is the difference between a pointer variable and a reference variable?
Power failure during upgrade During upgrade from 12.04 to 12.10 there was a power failure.  computer boots to desktop but without tools and menus to navigate.  files that can be open cannot be closed.  sidebar menu does not exist.  there is no function of the DVD drive, the USB drive nor the internet.  Possible to open GRUB but I am not familiar with it's function.  Please help. Dominion randomizer deck confusion Inductive proof of a formula for Fibonacci numbers May someone help me? I am trying to use induction to prove that the formula for finding the $n$-th term of the Fibonacci sequence is:   $$F_n=\frac{1}{\sqrt{5}}⋅\left(\frac{1+\sqrt{5}}{2}\right)^n-\frac{1}{\sqrt{5}}⋅\left(\frac{1-\sqrt{5}}{2}\right)^n.$$  I tried to put $n=1$ into the equation and prove that if $n=1$ works then $n=2$ works and it should work for any number, but it didn't work. I need to prove that this formula gives the $n$th Fibonacci number. I would like AUCTeX (that is, Emacs with auctex loaded) to suggest more LaTeX macros when using completion (M-Tab or C-Ret) than it does by default. I would like to have macros from packages I have downloaded on CTAN and macros I have written. I would also like it if it would complete \section or other macros that can be accessed via C-c C-s, C-c C-e etc.  Solution: I could not make the code quoted by  work. i get an error on loading emacs but did not looked much further in because I ca bear the nuisance of appending a few lines to my files.  The link given by Ben ( contains a working solution, thus I accept his answer. I had come across this page in my researchs but somehow messed up things. What eventually worked for me was using TeX-auto-generate TEX AUTO to create a bunch of .el files in the ~/.emacs.d/auctex/auto direcoty. Note that this directory must be created beforhand. For some reasons TeX-macro-private did not achieve the wanted result. Multiple two pin multi-color LEDs pattern - how does this work? Are there surface-mount pin header footprints for KiCAD? What is the most efficient way to make money? What are some of the most efficient ways to make money?   Based on:    time initial investment required progress (in the game) special equipment/gear Convert hex string to int in Python How do I convert a hex string to an int in Python?   I may have it as "0xffff" or just "ffff". Oracle: function based index selective uniqueness I want to make it so I always have 50 entities in an area. So when 1 dies/despawns/leaves the area I want it to detect that and summon in a new entity, and yes I do want them to die/despawn/leave the area so preventing those things is not an option. Is the neutral wire considered safe? If the neutral wire carries current, why do many people believe that it's safe? I've heard "You can touch the neutral wire/bar in the breaker box and not get shocked. Only the hot can hurt you." If the circuit is complete and current is flowing, can't you receive a shock? From time to time certain chat rooms (JavaScript and probably PHP, too) attract the attention of a fellow help vampire who thinks he can start sucking from the people in there.  Often their message end up being flagged as offensive (and those flags are likely to be validated, too, because people are annoyed by such behaviour) but it's kind of an inappropriate use of those flags.  I'm proposing a new chat flag type, which is especially meant for help vampires. Flagging it would present the flag to 10k users and owners of the room where the flag originated (no matter how much rep they have). When the flag is validated it would cause messages from this user to be shown with a low opacity for maybe three hours. It could also notify the user that help vampirism is a bad thing and that he needs to improve his behaviour.  Repeated flags of this type - obviously with some time in between in case multiple message which are really part of the same conversation are flagged - should then result in a temporary ban from the room where the messages got flagged. If that doesn't help the next step would probably be a temporary ban from all chat rooms.    For clarification, I'm not talking about the quick "this line doesn't work, why?" stuff but the kind of help vampires who get cocky even though they just got e.g. a link to a SO question which has a perfectly fine and fitting answer. Because hey, you didn't give them teh codez! How can I check if share certificates I found have value? I have been clearing my parents flat and found share certificates from    P and O  European Ferries   Can I find out if they are still valid? If not, is there a market for them as collectibles or the like? Using WCS layer in QGIS for processing gives FAILURE: Missing destination I have a GeoServer serving raster dem data out via WCS and can add the layer easily to QGIS (3.2) but when I try to use it as the input for an operation (e.g. HillShade) I get an error.  Processing algorithm… Algorithm 'Hillshade' starting… Input parameters: { 'ALTITUDE' : 45, 'AZIMUTH' : 315, 'BAND' : 1, 'COMBINED' : False, 'COMPUTE_EDGES' : False, 'INPUT' : 'dpiMode=7&amp;identifier=training:panorama&amp;url=http://localhost:8080/geoserver/ows?version%3D1.1.1', 'MULTIDIRECTIONAL' : False, 'OPTIONS' : '', 'OUTPUT' : 'C:/Users/ishare/AppData/Local/Temp/2/processing_868cc25180f24d9f8e193bc0cfedb6d3/7cf48f64d8b54ee694c3ee93ed17e903/OUTPUT.tif', 'SCALE' : 1, 'ZEVENBERGEN' : False, 'Z_FACTOR' : 5 }  GDAL command: gdaldem hillshade dpiMode=7&amp;identifier=training:panorama&amp;url=http://localhost:8080/geoserver/ows?version%3D1.1.1 C:/Users/ishare/AppData/Local/Temp/2/processing_868cc25180f24d9f8e193bc0cfedb6d3/7cf48f64d8b54ee694c3ee93ed17e903/OUTPUT.tif -of GTiff -b 1 -z 5.0 -s 1.0 -az 315.0 -alt 45.0 GDAL command output:   FAILURE: Missing destination.   Clearly the missing destination is a red herring, and it is failing to understand the WCS layer as an input. But GDAL is built with WCS support included so shouldn't this work?  Do I need to do something else or start working out where to hack the QGIS code? I'm getting the following error message:     System.QueryException: Didn't understand relationship 'AccountContactRelation' in FROM part of query call. If you are attempting to use a custom relationship, be sure to append the '__r' after the custom relationship name. Please reference your WSDL or the describe call for the appropriate names.   Select Email, Id, (Select ContactId, AccountId From AccountContactRelation) From Contact  In AccountContactRelation object there are two lookup fields for Account and for Contact.  Please advise how to avoid such error message? How to view/erase images from both CF and SD cards on Canon EOS 5D mk3? I've been trying to setup my Canon EOS 5D mk3 to shoot in "backup mode". I have two cards:    32GB CF  8GB SD   I've set it like the following:  SET UP1 menu ------------ Record func.:       Rec. separately Playback:           1 [CF]  SHOOT1 menu ------------ Image type/size CF: RAW 22M Image type/size SD: JPEG 9,8M   It works ok, except I have one problem. Since I have only these two cards, on some large shoots I need to erase some in order to free some space to make the card last till the end of shoot.  When viewing images and deleting the ones I want to delete, it seems that I can only see the contents of the CF card, and when I delete an image I delete only the RAW file saved on the CF.  Is there a way to delete the JPEG from the SD card along with it's RAW "parent" on the CF card? Inverse public-key encryption I'm in the need of an inverse public-key encryption method where you encrypt with the private key and decrypt with the public key. In other words an asymetric encryption where you can't generate the encryption key from the decryption key. Does such encryption exist? If yes which, and which would be the fastest?  If nothing like that exists I would be glad if you helped me out with my situation:    I need to authenticate users logging in from my Java application in the way that the response from the server cannot be falsified and thus giving the user full access to the application. Using public key encryption was an obvious method, I would decrypt data received from the client to confirm the credentials. This won't work because if someone manages to decompile and get the private key from the code, they would be able to generate the public key, which would make them able to crack my application again. So any ideas how I can get this secure? What does "All things X" mean? I've seen the expression in some company names; for example , .  Is the expression "All things X" a parody of some other popular phrase, or does it have its own meaning? Or is it just a misuse of grammar? MacTeX - TeX Live Utility broken after 2015 update I have noticed that if you look directly at tubelight (I have only white ones in my home) and close your eyes little, you see little random shaped colourless things sometimes with slow speed and sometimes with falling down.   They are shaped like circles with something in between and in chains of random length.   My father has also seen them. So, I am sure I am not imagining things. What the hell are they?