I am running an extensive code that I requires g77 to compile. (yes I could probably debug for gfortran but it took me months just to get it working so I really really don't want to). I have tried   but I get this error when I try to install:  Reading package lists... Done Building dependency tree        Reading state information... Done Package g77 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Package 'g77' has no installation candidate   I have seen on forums that people are installing the g77 for Ubuntu 8.04, but I am fairly new to Ubuntu and unclear of exactly how to do this.
I have just installed 12.04 LTS on my laptop and I'm kinda new in this. I am required to write some program in Fortran 77 and I need a Fortran 77 compiler. I have tried installing g77 as described in the Ubuntu website but was unable to do so. I have typed in the following in terminal:  sudo apt-get install g77   and get the following:  Reading package lists... Done Building dependency tree        Reading state information... Done Package g77 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Package 'g77' has no installation candidate   May I know what is the problem? I have tried searching g77 in the software center but apparently it is not there. Does this mean it is not available for 12.04?  I'm currently using an Asus K43S laptop with Intel Core i5-2450M processor and my Ubuntu is installed alongside Windows.
Subsample of a random sample: random sample? How to write a function (piecewise) with bracket outside? How to write this Piecewise function using LaTeX?  I tried $ \begin{array}{cc}   \{ &amp;      \begin{array}{cc}       0 &amp; x\leq 0 \\       \frac{100-x}{100} &amp; 0\leq x\leq 100 \\       0 &amp; 100\leq x     \end{array} \end{array} $  but it didn't work perfectly, the bracket &quot;{&quot; looks small, see: Lightning tags in beta I came across some lightning tags that are still in beta, ex: lightning:input (Beta) lightning:tabset (Beta) etc  Not sure for how long they were in beta, is it advisable to use them for building UI and deploy to production? I'd like to have a horizontal line extending from the end of the text on a line to the right margin. So far I've found \hrulefill and \leaders\hrule\hfill, but these draw a line that's flush with the baseline of my text — how can I get it to be vertically centered? Make it clearer when looking at a question if I've already voted to close it Since "" we now have the possibility to retract close votes.   However, as mentioned in "" there is no indication when looking at a question to see if I have already cast such a close vote.  Therefore, could we have a UI improvement to show this? Adding some image with freehand circles to improve visibility. Proving the set of points at which a function diverges to $\infty$ is countable Let $f\colon\mathbb{R}\to\mathbb{R}$. Prove that the set    $$\{x \mid \mbox{if $y$ converges to $x$, then $f(y)$ converges to $\infty$}\}$$ is countable.   My book told me to consider  $g(x)=\arctan(f(x))$, then it said "it is easy to see the set is countable." But I still can't understand what it mean. Does Overhand Chop override the damage bonus from wielding a two handed weapon? I was showing a GM friend of mine a build I was making that uses the Two-Handed Fighter Archetype and we are both unsure of how it interacts with the damage bonus you get from two-handed weapons (which is 1-1/2 times your STR.) It reads:     Overhand Chop (Ex): At 3rd level, when a two-handed fighter makes a single attack (with the attack action or a charge) with a two-handed weapon, he adds double his Strength bonus on damage rolls. This ability replaces armor training 1.   So, does Overhand Chop turn the 1-1/2 times multiplier from two-handed weapons into a 2 times multiplier, or do the two add up? Or, do they interact in some other way?   This assumes a Medium sized character with 20 STR and a greatsword with 3 levels. Prevent href="#" link from changing the URL hash Is there any way to generalise this problem? How to move Ubuntu to an SSD My current situation is:   One hard disk Dual boot Ubuntu 11.04 and Windows 7. Partitions:  100MB Windows System thingy 144GB Main Windows 160GB Ubuntu 4GB Swap 12GB System Restore stuff    Now I want to install an 80GB SSD and move Ubuntu to it. AFAIK I need to:   Shrink the 160GB Ubuntu partition to 80GB Copy it over to the SSD Change fstab to mount the SSD as /   How do I do the second? And what do I need to do about Grub? Routing Applications sound to different sound device? (Windows) Which is correct, "you and I" or "you and me"? When the phrase is used as an object, why so many native speakers are saying "you and I" instead of "you and me"? I'm not a native speaker but I thought "you and me" is correct. Not sure if this falls into the same category, but "Just between you and me" sounds more natural than "Just between you and I". Consider:  namespace WindowsApplication1 {     public partial class Form1 : Form     {         public Form1()         {             InitializeComponent();         }          private void button1_Click(object sender, EventArgs e)         {             //int[] val = { 0, 0};             int val;             if (textBox1.Text == "")             {                 MessageBox.Show("Input any no");             }             else             {                 val = Convert.ToInt32(textBox1.Text);                 Thread ot1 = new Thread(new ParameterizedThreadStart(SumData));                 ot1.Start(val);             }         }          private static void ReadData(object state)         {             System.Windows.Forms.Application.Run();         }          void setTextboxText(int result)         {             if (this.InvokeRequired)             {                 this.Invoke(new IntDelegate(SetTextboxTextSafe), new object[] { result });             }             else             {                 SetTextboxTextSafe(result);             }         }          void SetTextboxTextSafe(int result)         {             label1.Text = result.ToString();         }          private static void SumData(object state)         {             int result;             //int[] icount = (int[])state;             int icount = (int)state;              for (int i = icount; i &gt; 0; i--)             {                 result += i;                 System.Threading.Thread.Sleep(1000);             }             setTextboxText(result);         }          delegate void IntDelegate(int result);          private void button2_Click(object sender, EventArgs e)         {             Application.Exit();         }     } }   Why is this error occurring?     An object reference is required for the nonstatic field, method, or property 'WindowsApplication1.Form1.setTextboxText(int) Best word for "unable to change" I imagine a point-like particle can only experience the local properties of spacetime. But locally there is no curvature and no gravity, as it is often stated that     Locally, as expressed in the equivalence principle, spacetime is Minkowskian, and the laws of physics exhibit local Lorentz invariance. ()   But if this is the case how does a point-like particle know, which direction it should follow in a gravitational field?   Can this be a seen as a hint that point-like particles cannot be used as underlying concept for a field theory like general relativity? There has been quite a few times that I wished I could send a message to another user on SO - not ask a question for everyone to see, but just a short message informing them of something or requesting them to do something.  Are there any plans to allow this to happen in the future?  Related: How can I extract menthol powder from fresh mint/peppermint? How can I recover photo files from a memory card with a corrupt filesystem? I know this is not specifically a photography issue but since many of us with prosumer/professional-level DLSRs use Compact Flash cards, it is bound to happen to others as well.  I have a Sandisk 16GB Ultra card that occasionally had the camera reporting inability to access the card. I had to reinsert the card to continue using it. I was able to read the card and transfer the photo files to my computer drive. Today, the same thing happened again, just that nearing the capacity of the card, it failed one last time and the camera was subsequently unable to read it anymore. Despite reinsertion.  My other CF cards never once exhibited this problem, so it's pretty much isolated to this card.  The card is similarly unrecognisable on my computer CF card reader. I think the filesystem is toast, but I suspect the photo files are still intact. I would like to find ways where I can inspect the raw binary data in the card and hopefully recover the photos? What are the technical obstacles that doesn't allow OSX to be installed in a PC? Over the last 3-4 weeks I have been trying to find a rogue DHCP server on my network but have been stumped! It is offering IP Addresses that do not work with my network, so any device that needs a Dynamic Address is getting one from the Rogue DHCP and then that device stops working. I need help to find and destroy this thing! I think it might be a Trojan of some sort.  My Main Router is the only valid DHCP Server and is 192.168.0.1 which offers a range of 192.160.0.150-199, and I have this configured in my AD as Authorized. This ROGUE DHCP claims to be coming from 192.168.0.20 and offering an IP Address in the range of 10.255.255.* which is messing up EVERYTHING on my network unless I assign a static IP Address to it. 192.168.0.20 does not exist on my network.  My network is a single AD Server on Windows 2008R2, 3 other physical servers (1-2008R2 and 2 2012R2) about 4 Hypervisor VM's, 3 laptops and a Windows 7 box.  I can't ping the rogue 192.160.0.20 IP, and I can't see it in the ARP -A output, so I can't get its MAC address. I'm hoping that someone reading this post has come across this before.