How come I can copy a vector of structs if there is no overloaded assignment operator?
What are all the member-functions created by compiler for a class? Does that happen all the time?
We noticed that lots of bugs in our software developed in C# (or Java) cause a NullReferenceException.  Is there a reason why "null" has even been included in the language?  After all, if there were no "null", I would have no bug, right?  In other words, what feature in the language couldn't work without null? How to customize MacBooks' keyboard? I spilled a juice on my MacBook-Pro keyboard. Consequently, some keys like 2, esc and tab don't work anymore on my keyboard.   Is there anyway to change those disabled keys with combination of some other keys, like Fn,Ctrl, Option+ something, using an app or a command? How do you search for questions filtered by a particular user? I want to do a search on StackOverflow for a few terms, but also by user, since I know which user referenced the item I'm looking for. Can I bind a (large) block of addresses to an interface? I know that the ip tool lets you bind multiple addresses to an interface (eg, ). Right now, though, I'm trying to build something on top of IPv6, and it would be really useful to have an entire block of addresses (say, a /64) available, so that programs could pick any address from the range and bind to that. Needless to say, attaching every IP from this range to an interface would take a while.  Does Linux support binding a whole block of addresses to an interface? I need this date format in a visualforce page: "December 14, 2013". I can't seem to find the format options for visualforce. I read that it's the same as the java messageformat class options, but I cannot find a list for that either.  A little help would be much appreciated Cropping Shapefiles in QGIS? I need to clip a large and very detailed shapefile in QGIS showing environmental data similar to a temperature map.   Is there something like the very simple crop tool like in Adobe Photoshop where you can drag a rectangle over an area of interest and crop the shapefile to this area only?  I do have an additional shapefile of neighborhoods/districts that I could also use for cropping but I do not know how to specify "extract a shp/kml only within the borders of district X, row xxxxx in the attribute table of districts.shp"  How can I extract the data primitively within a rectangle of choice or per district?  I need smaller pieces from the large map that has been provided by an environmental geo-institute to be implemented into an mobile Application (Android) to view the quite heavy data in a lighter way.   I made some screenshots of the data and posted them here: .  You can see the districts and the data layers. I need to have every district as a separate file / separately export every dataset per district to KML. How can I backup my photos while travelling? I'm going travelling around the world for a year in September and am already panicking about how best to send my photos home while in various countries.  Requirements:   I only need to backup JPEG files (I don't shoot RAW but that's another thread ;) ) I need to be able to upload in a web-based manner (I will be using Internet cafes and so can't assume I can use FTP etc) I need plenty of space, preferably unlimited (I racked up about 200GB last year) I need to store the full image (no lossy compression is acceptable!)   Options I can think of:   Burning and posting DVDs (can I trust these in the post and not to get corrupt? It may be better than waiting for upload speed though...) Flickr (I have a pro account but not sure how hard it'll be to get the photos back down again. Will I even be able to get the original snaps?) Setting up a server at a friend's house and hosting some kind of file server with a web-app front end   What have other people done? Or does anyone else have a better idea? Low rep users should be able to fix broken links At present a low rep user (under 2k) can only make an edit suggestion of more than 6 chars, however when someone has taken the time to find to correct link it is a real shame the correction can help other users!  So I think link fixing should be special cased somehow.  (Also the checkering of a changed link need to be better than other edits, so a page that showed what both the old a new links point to (in frames) could help with the approving processes.) I've just been downvoted. How should I react? How do I prompt for Yes/No/Cancel input in a Linux shell script? I want to pause input in a shell script, and prompt the user for choices. The standard Yes, No, or Cancel type question. How do I accomplish this in a typical bash prompt? Firefox application associations not working in the 'Downloads' window No matter what changes i make to file associations (actions) in the 'Applications' tab in Firefox, they're totally ignored. For example, i set .wmv and .avi files to open with 'smplayer' but when i download a file and double-click on it (through the 'Downloads' window), it keeps opening with Totem player.    The default file associations through nautilus ('open with' tab) work fine, i.e. i've set smplayer as the default player and when i double-click a video file it open correctly.  I've tried to delete and recreate mimetypes.rdf but that didn't help.  Any ideas on what else should i check? How can I tell if a CVE has been fixed in Ubuntu's repositories? Today a couple of buffer overflows in NTP were announced , . It looks like updating my system to fix these issues is in order.   How can I find out if they have been fixed in the Ubuntu repositories, such that if I were to run:   sudo apt-get update sudo apt-get upgrade   then the fix would get installed and the vulnerability closed?   Edit: The selected answer specifically addresses the question of how to identify if a given CVE has been fixed or not, "Does Ubuntu generally post timely security updates?"  is certainly related but not identical What are some examples of awkward sounding but grammatically correct sentences? What are some examples of awkward sounding but grammatically correct sentences? Was Hogwarts named such because of a connection to warthogs? Was Hogwarts named 'Hogwarts' because of a connection to warthogs?  Or was it named for hogs and warts separately, or something else entirely? Should I submit https:// and http:// in Google Search Console both with and without the www? In my site I'm redirecting everything (http://, http://www., https://) to https://www.example.com.  Google webmaster tools says: Make sure you add both "www" and "non-www" versions for your site. Also, if you use the HTTPS protocol, add those variations as well.  So I've added all the FOUR versions to google webmaster tools. Is this a correct process? Is there an equivalent to Google Sketchup? Article "communicated by" What does it mean when it says under a journal article that it has been communicated by "XYZ" where XYZ is not the author but some other scholar with a very strong reputation? What is the relationship to the actual author and/or the content? Is this some sort of seal of approval to get results out and known quickly? (I am specifically wondering in the context of mathematics and mathematical physics.) Book: Handful of children kept in a school as political mythological prisoners Find Oracle JDBC driver in Maven repository Incorrect query filter according to the requirement My requirement wholly depends on the QUERY.  I am filtering my gridview on the basis of three parameters.   Project_name (Always required) Date (Not always) Vehicle_No (Not always)   So, what my requirement is,      With project_name either any one can be used for filtering my gridview.   Currently my debugged query works exactly fine for any two parameters.  Below is my debugged query:-  SELECT DISTINCT sv.mkey, vehicle_no,                TO_CHAR (date_in, 'dd-MM-yyyy')             || ' &amp; '             || time_in vehicleindate_time,                TO_CHAR (date_out, 'dd-MM-yyyy')             || ' &amp; '             || time_out vehicleoutdate_time,             gate_no_in || ' &amp; ' || gate_no_out ingate_outgateno,             gd.good_type goods_type, net_weight netweight,                TO_CHAR (challan_date, 'dd-MM-yyyy')             || ' &amp; '             || challan_no challandate_no,             remark_in remarkin, NULL receipt_no, date_in        FROM xxcus.xxgid_supinv sv,             xxcus.xx_supinv_goodtype gd,             xxcus.xxacl_xxgid_user_mst ms       WHERE (gd.good_type_code(+) = sv.good_type)         AND (       sv.project_id = '1368'                 AND TO_CHAR (date_in, 'dd-MM-yyyy') = '26-11-2015'              OR vehicle_no = '0'             )         AND sv.delete_flag = 'N'    ORDER BY date_in DESC, vehicle_no   The above query shows me the exact result for project_name and Date which I entered.  But when I add the third parameter say Vehicle_no it doesn't show the data for that exact vehicle_no it still shows me the same data which I looked for 2 parameters.  I am using Oracle for the database.  LATEST UPDATE WHICH IS NOT WORKING  I am confused as how to deal with the query, as Balazs' solution was working fine when I selected, Project_name, Date and then vehicle_no (not necessary). But it was not fetching proper result when I took first as Project_name, and Vehicle_no. Any guesses why?     The issue  is when I only filter with Project_name and Vehicle_no the date_column value comes as 0 so it doesn't show me any row, which is incorrect as I have data for that Project_name and Vehicle_no.   I have used Balaz's second query for the solution which is below  WHERE (gd.good_type_code(+) = sv.good_type)     AND (       sv.project_id = '1368'             AND TO_CHAR (date_in, 'dd-MM-yyyy') = '26-11-2015'          AND vehicle_no = decode(:vehicle_no, '0', vehicle_no, :vehicle_no)         )