I had a dual boot setup with a Debian based distro (crunchbang) as primary and win 7 also installed. Recently I reinstalled win 7 on it's existing partition but now the boot loader is gone and win 7 starts automatically.  How do I get the boot loader back to select my is at boot? Think it was grub running previously. I don't want to reinstall crunchbang if at all possible.
I've posted a question  that I have a 32bits windows 7 on a dual boot machine with ubuntu 10.04 upgraded to 11.04. From the responses I had from the questions, I decided to reinstall the windows 7 but this time a 64bits version.  I've install the grub on the first section of the HDD on which ubuntu is install, meaning the 2nd Drive.  I still want guidance before I proceed.  What would you suggest me as best way to achieve that without disturbing the boot loading.  thank you for reading this.
I'm currently using an entry-level DSLR with 18-55mm lens and having great trouble trying to creating a blurred background effect in my photos. Now matter what aperture or shutter speed I choose, I'm not able to get it.  There's a general question about , but what specific things can I do to get this effect with an entry-level lens? Sometimes when you're downloading an image and the connection breaks mid stream, you are left with a half downloaded image. If you try to view it you get the upper part of the image and the bottom part is usually coloured grey or green or some other color.  In other words, it is corrupted.  Is there a way to check whether the image is damaged in that way or otherwise corrupted? I have a list of items   John ID Matt ID John ID Scott ID Matt ID John ID Lucas ID   I want to shove them back into a list like so which also means I want to sort by the highest number of duplicates.   John ID 3 Matt ID 2 Scott ID 1 Lucas ID 1   Let me know how I can do this with LINQ and C#.  Thanks All  EDIT 2 Showing Code:      List&lt;game&gt; inventory = new List&lt;game&gt;();     drinkingforDataContext db = new drinkingforDataContext();     foreach (string item in tbTitle.Text.Split(' '))     {          List&lt;game&gt; getItems = (from dfg in db.drinkingfor_Games                                where dfg.game_Name.Contains(tbTitle.Text)                                select new game                                {                                    gameName = dfg.game_Name,                                    gameID = Boomers.Utilities.Guids.Encoder.EncodeURLs(dfg.uid)                                }).ToList&lt;game&gt;();          for (int i = 0; i &lt; getItems.Count(); i++)         {             inventory.Add(getItems[i]);         }     }      var items = (from xx in inventory                  group xx by xx into g                  let count = g.Count()                  orderby count descending                  select new                     {                         Count = count,                         gameName = g.Key.gameName,                         gameID = g.Key.gameID                     });      lvRelatedGames.DataSource = items;     lvRelatedGames.DataBind();   This query displays these results:   1 hello world times 1 hello world times 1 Hello World. 1 hello world times 1 hello world times 1 hello world times 1 Hello World. 1 hello world times   It gives me the count and name, but it doesn't give me the ID of the game....  It should display:   6 hello world times   234234 2 Hello World.  23432432 Creating fishnet grid with specified rotation angle in ArcGIS Desktop? I'm working on this project and I need a grid with a certain rotation, at about 60 degrees, for example.  Starting from that I need to make a block of 20mx50m, and the last thing is that inside each block there must be a small set of sub-blocks.   The result is this:    Of course it's been done manually, but I was thinking of a way of making it done automatically because I must do 30 blocks like this one, maybe more, and it is consuming a lot of my time. Which objects can I use in a finalizer method? I am writing a journal which has two column. I am using {figure} as well as {figure*} to place the figures in one column as well as stretch across two columns.   My problem is the order of the figures are not correct. e.g. their order of appearance is:                  Figure 1.                 Figure 2.                 Figure 5.                 Figure 3.                 Figure 4.   What should I do to make them appear in order? When should I publish in interdisciplinary versus subject-specific scientific journals? Open local folder from link Is it possible to do something like this  #ifdef SOMETHING #define foo // #else #define foo MyFunction #endif   The idea is that if SOMETHING is defined, then calls to foo(...) become comments (or something that doesn't get evaluated or compiled), otherwise it becomes a call to MyFunction.  I've seen __noop used, but I don't believe I can use that.  EDIT(s):  I don't think I can really use a macro here, because MyFunction takes a variable number of arguments.  Also, I'd like to make it so the arguments are NOT evaluated!  (So doing something like commenting out the body of MyFunction doesn't really give me what I need, as the arguments will still be evaluated) Is it appropriate to use short form of "have" ('ve) when it means possession? I feel uncomfortable saying sentences like the following:    "I've a car" instead of "I have a car" "They've a great time" instead of "They have a great time" "He's a pen" instead of "He has a pen" etc   I ask this because I read this sort of thing in a book.  Are they correct? And what is the rule? Can you use such forms in a formal setting? Trying to restart apache from terminal using following command:   sudo service apache2 restart   when executing that command getting below error:  Job for apache2.service failed. See "systemctl status apache2.service" and "journalctl -xe" for details.   On excuting "systemctl status apache2.service" got below output   apache2.service - (null)    Loaded: loaded (/etc/init.d/apache2)    Active: failed (Result: exit-code) since Sat 2015-05-30 02:22:41 IST; 12s ago      Docs: man:systemd-sysv-generator(8)   Process: 4866 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)   apache error.log  AH00489: Apache/2.4.12 (Unix) configured -- resuming normal operations AH00094: Command line: '/usr/local/apache2/bin/httpd' What is the need for Autobiographer badge? What is the reason that Autobiographer badge is kept in Stack Exchange?  This does not show any participation and people can just fill garbage to achieve this badge.   Is there a reason behind it? Do messages in archive count to your inbox space? Pretty much as the title says, do messages in archive count to your total inbox space? Too many unprocessed floats I'm trying to a large number of figures. The code is  \begin{figure} \includegraphics[scale=0.5]{m2T4.pdf} \caption{M2T, Problem Size 513} \end{figure}   I'm not able to compile, I get the error  ! LaTeX Error: Too many unprocessed floats. See the LaTeX manual or LaTeX Companion for explanation. Type H &lt;return&gt; for immediate help. ... l.113 \includegraphics [scale=0.5]{m2T4.pdf} You've lost some text. Try typing &lt;return&gt; to proceed. If that doesn't work, type X &lt;return&gt; to quit. ! Undefined control sequence. \@float@Hx ...ltovf \fi \global \setbox \@currbox \color@vbox \normalcolor \... l.113 \includegraphics [scale=0.5]{m2T4.pdf} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! Missing number, treated as zero. &lt;to be read again&gt; \vbox l.113 \includegraphics [scale=0.5]{m2T4.pdf} A number should have been here; I inserted `0'. (If you can't figure out why I needed to see a number, look up `weird error' in the index to The TeXbook.) pdfTeX warning: pdflatex (file ./m2T4.pdf): PDF inclusion: found PDF version &lt;1 .5&gt;, but at most version &lt;1.4&gt; allowed &lt;m2T4.pdf, id=1121, 538.28104pt x 212.1526pt&gt; File: m2T4.pdf Graphic file (type pdf) &lt;use m2T4.pdf&gt; My new laptop came preinstalled with Windows 8. Naively, as I am, I just formatted the harddrive and installed fine old Ubuntu. Now I want to install Windows 8 for dual boot again, but I have no DVD and do download the ISO one needs a product key. That key is not on the back of the laptop anymore but somewhere on the mainboard.  Is there any way to recover the product key from the mainboard using Ubuntu? I have created two files:  sample.txt and sample.txt  (the second file contains some hidden characters, e.g. a space). How can I remove the latest modified file? I'm using Linux. I have been/am being taught that end punctuation should always go inside quotes. For example, you are supposed to write:     Marvin thought it was "awful."   The problem is I do not see how does this make sense. Intuitively, I always wrote:     Marvin thought it was "awful".   as that makes more logical sense — you want a quote to be an exact replication of what somebody else said, so why should you add punctuation inside?  I always thought it made more sense to not touch the quote and add anything after or before if it must be added.  So, why should I put end punctuation inside quotes? Temperature and kinetic energy of molecules I was wondering if temperature is related to the average translational kinetic energy of the molecules then why does the average kinetic energy of say a moving object not affect the temperature? What is the mechanism regarding these vibrational motions that imparts temperature. Also do a gas and liquid at the same temperature possess the same kinetic energy? and a heavier molecule traveling at the same speed as a lighter molecule will have a greater temperature? Limit of divided integrals Prove that: $$\lim\limits_{m\to \infty} \frac{\int\limits_0^{\pi/2}(\sin(x))^{2m} dx}{\int\limits_0^{\pi/2}(\sin(x))^{2m+1} dx} = 1$$  I had tried to get it from inequalities like $$(\sin(x))^{2m+1} \le (\sin(x))^{2m} \le (\sin(x))^{2m-1}$$ But I always hit a wall in that regard (I integrate the sin functions and from there keep on going but there it ends). How to create automatic dual battery changeover/switching circuit for uninterruptible power? I've search for a solution to my problem both on this site and on Google but I did not find a complete and adequate response.  I need a circuit that switches two 12v sources (one that comes from a lead-acid battery powered by a solar panel and the other source comes from the output of a 220-12v switching power supply) without the final power output being interrupted during switching (this is very important!).  Notes:  - The final power output will be used to power 12v devices (30 Ampere maximum).  - The sources voltage range is 11-14.7v  How can I switch between two 12V sources?