Questions About Two Fifths

How do two grad students make a long distance relationship work?

Me: fifth year of graduate school, the midwest. Her: third year of graduate school, west coast. Us: now entering our seventh year of dating and fifth consecutive year not living in the same city. Help! My girlfriend and I met in college, and we've had a wonderful relationship ever since. But when we graduated, both of us wanted to go to graduate schools in different fields (me in computers, her in engineering), and we ended up going to schools in different cities. For a while, both of us were in schools in the Midwest about two hundred miles apart, which wasn't ideal but meant we could spend most weekends together. But then tragedy struck --- her advisor got bought up by another school out in the LA area, and due to the particular situation she was in she didn't have any reasonable academic choice other than to follow him out there (she'd otherwise be stranded at a school where nobody else studied what she studies at all). She moved out there a few months ago. Being long-di

Which two episodes of The Sopranos are most about family?

If you had to select two episodes from The Sopranos' first three seasons that best embodied the series' themes about family, and can also be understood and appreciated by people who may have never before seen a single episode, which two would you pick? I know it's horrible to remove episodes out of the series' larger narrative arc, but I'm showing two episodes in a college class that's currently discussing the effects of family on individuals (the class itself focuses on how the self is shaped by society), and I want to introduce them to the series with two strong episodes. I have the first three seasons on DVD, and can probably track down seasons four and five if I need to (but the last season is definitely out because it's not yet on DVD). Right now, I'm leaning heavily toward "College," the fifth episode of the first season, but I'm sure there are better options from those first three seasons that I'm just not remembering. Thanks.

awk function to keep last occurrence of records containing two same fields

I am trying to make an inventory of different kinds of vehicles. At this step my data look like

land; road; car (blue); 1956
land; road; car (blue); 1956 ; car (yellow); 1995
land; road; car (blue); 1956 ; car (yellow); 1995; car (red); 1979
air; -; plane (black); 1984
air; -; plane (black); 1984; helicopter (red); 1998

I first need to keep the last occurrence of lines with the same first and second fields,

land; road; car (blue); 1956 ; car (yellow); 1995; car (red); 1979
air; -; plane (black); 1984; helicopter (red); 1998

and then sort the third, fifth fields if they exist with their associated adjacent fields (fourth, sixth, or eighth respectively) by descending order In order to get:

land; road; car (yellow); 1995; car (red); 1979; car (blue); 1956
air; -; helicopter (red); 1998; plane (black); 1984

subtraction between two columns with awk or sed

I have some text files. I need to do the subtraction between second and fourth columns in each file. The subtracted values should print to the original files as fifth column. How can I do this with awk or sed?

HII 62.0    HII 35.1
MEE 21.3    MEE 21.3
GLL 42.3    GLL 18.5
ASS 105.9   ASS 105.9
RRG 65.6
GLL 48.3
SES 83.5    

Desired output

HII 62.0    HII 35.1   26.9
MEE 21.3    MEE 21.3    0
GLL 42.3    GLL 18.5   23.8
ASS 105.9   ASS 105.9   0
RRG 65.6
GLL 48.3
SES 83.5

If the third and fourth columns are blank, no need to subtract.

Do I need to use two tubes of antibiotic eye ointment?

The pediatrician says my two-week-old baby has a potential eye infection-- her left eye isn't draining properly yet. The pediatrician prescribed erythromycin ointment. Coincidentally, about three weeks ago, our cat was prescribed erythromycin for her eye infection, which is now long cleared. I still have about four-fifths of a tube. Is there any reason that I shouldn't use the cat's ointment on the baby? It seems like a waste to open another tube of the stuff.

how to transfer an array to two-d array in java

i want to transfer an n elements array to a two-d array in java.

For example:


this array should be transferred to an two-d array

[[1, 2], [1, 3], [1, 4], [2, 3], [2, 4] [3,4]]

  • the first line of the two-d array is 1, 2.
  • the second line of the two- array is 1, 3.
  • the third line of the two-array is 1, 4.
  • the forth line of the two-array is 2, 3.
  • the fifth line of the two-array is 2, 4.
  • the last line is 3, 4

Java algorithm for random class that chooses from two loops

I have to make my program choose randomely between two sets of numbers (original & complement) but there are 5 sets of this loops. How can i assign for the program to choose randomely between the two (original &complement) in each set? ok so this is what i have so far...

import java.util.Scanner;

import java.util.Random;

public class NumberFinder {

    int number;

    int t = 1;
    int v;
    Scanner scan = new Scanner(;

    public void display()

        if (t % 4 != 0)
            System.out.print(v + " ");



    public int findNumber() {

        Random generator = new Random();
                for (v = 1; v < 32;) {

                    if (v % 2 == 1)
                        v += 2;

                for (v = 0; v < 32;)

Fifth time's a charm?

My college career spanned eight years, two states, and four schools. All I have to show for it is $40,000 in debt and no degree. How do I sort this mess out? Should I even try? Lots of details inside. After taking a year off to work after high school, I attended a private university for three semesters and made decent grades. I then transferred to a different private university across the country, because they offered a better financial aid package. Due to family issues, financial instability, and unclear academic goals, I left the second school after another three semesters and returned home. I then attended a third university (public), ended up being academically disqualified for poor grades (because of ongoing depression, I rarely attended class and was given lots of W's, WU's and F's). After taking another year off to work, I attended a fourth university (public), and completed three semesters there. However, my grades were mixed and I was academically disqualified ther

Last night I went to a wedding and had five beers. On the fifth beer I lost my mind. Walls moved, everything I ate had the texture of sand and I spent 15 minutes trying to touch a TV on the other side of a room. Reddit, what the hell happened to me?

Around 9PM my brother and husband said we needed to go and walked me off the dance floor at the wedding. I got very upset that we were leaving and was angry in the car on our way home. We made two stops so that I could throw-up. Once in a Chick-fil-a and once on the side of the highway. Now at this…

When people say that this year will be the fifth hottest year on record?

isn't that the same as saying that temperatures have been flat for the past seven years? What you are really saying that there has been four years this decade that were actually warmer. This despite the fact we are in an El Nino year and greenhouse gases keep increasing. Two years ago the fanboys of global warming were saying that the five year warming trend is important because of "noise". I no longer hear people saying that the five year warming trend is increasing. Why? Dana: Then were you using the five year average to prove that the globe was still warming just last year?;_ylt=AnDTUX4OVBVx8Xm0ZDcUd7Pty6IX;_ylv=3?qid=20080721161226AAOYkoU&show=7#profile-info-81a4b18f6576a52044f027d78985c7edaa MTR: The problem with your solar reasoning is that you are only considering the short term effects of the sun on temperatures and ignoring the long term effects the sun's radiation has on ocean temperatures. Using your logic the 90's should

How can a homeless man pay $101 million for starting two fires in California?

LOS ANGELES – A homeless man has been sentenced to nearly four years in prison and ordered to pay more than $101 million for starting two fires, including one that burned more than 163,000 acres in California two years ago. Fifty-year-old Steven Emory Butcher was convicted in February of starting blazes in the Los Padres National Forest in 2002 and 2006. The 2006 fire raged for more than a month and cost more than $78 million to suppress. It injured 18 people, destroyed 11 structures and was the fifth-largest fire in California history, according to the California Department of Forestry and Fire Protection. The 2002 blaze burned 70 acres. Isn't this the most stupid court decision you ever heard? How is he going to pay this? They going to make him pick up garbage for the rest of his life while he lives in jail?

How is pulling the troops out in one or two year helping anything?

Aren't we just telling the Taliban to lay low for two or so years and then take control again? How is this helping anything? One, my mistake. I was interpreted incorrectly in an article about the war. Two, my father has plenty of men who he knows who are on their fifth and sixth tours of Iraq, Afghanistan, and the like. They say we are doing good. It's not pretty out there, but what we are going is helping to build a nation. Why would they volunteer to go back there if it wasn't true?