Saturday, 12 October 2013

Peru bus plunge kills 52, including 13 children

LIMA, Peru (AP) — A makeshift bus carrying 52 Quechua Indians back from a party in southeastern Peru plunged off a cliff into a river, killing everyone on board, including 13 children.

The accident occurred Friday night as the red-and-yellow cargo truck made its way back from a party in the provincial capital of Santa Teresa, an area about 310 miles (500 kilometers) southeast of Lima. It went off the road and fell about 650 feet (200 meters) into a deep ravine, ending up in the Chaupimayo river which courses through the ravine.

Rescuers equipped with little more than flashlights spent the night searching without success for survivors amid the twisted steel and large boulders, pulling bodies from the water. Authorities said bodies were found as far as 330 feet (100 meters) away from the impact site, suggesting they were thrown from the vehicle.

"We haven't found a single survivor," said firefighter Capt. David Taboada, who was leading the rescue operation and provided the casualty figure.

The cause of the accident hasn't been determined, Taboada said, adding that the vehicle was "coming from a party in Santa Teresa at which a lot of alcohol was consumed."

Firefighters were placing the recovered bodies on a soccer field above where the crash took place.

Throughout the morning and day, relatives of the victims arrived to identify their loved ones. Local farmers prepared meals and invited them to dine with them.

Fedia Castro, mayor of the district where Santa Teresa is located, told Canal N television that rural farmers must rely on informal forms of transport, such as this cargo truck, because no public buses exist in the area.

The high-altitude roads of the Peruvian Andes are notorious for bus plunges, with poor farmers comprising many of the victims. Last year, more than 4,000 people were killed in such accidents.

Associated PressSource: http://hosted2.ap.org/APDEFAULT/cae69a7523db45408eeb2b3a98c0c9c5/Article_2013-10-12-LT-Peru-Bus-Accident/id-fbe035ca496b48eea14fa847cf94d803
Tags: zach mettenberger   Léon Foucault   Ian Somerhalder   Miley Cyrus Vmas 2013   big brother spoilers  

Thursday, 10 October 2013

NBC News SVP, Vivian Schiller, reportedly headed to Twitter

According to a report from AllThingsD, Vivian Schiller, the senior vice president and chief digital officer of NBC News, is set to become the head of news at Twitter. The site's sources say Schiller's deal with the blue bird is "all but done." With its IPO filing on the books, the world and Wall ...


Source: http://feeds.engadget.com/~r/weblogsinc/engadget/~3/QwuN_7IGntY/
Similar Articles: Johnny Galecki   auburn football   Ezra Is A   Brickyard 400   grown ups  

Wednesday, 6 March 2013

2013 Cleveland APL Pledge For Pets Radiothon: Become A Cash ...

Q104?s Pledge for Pet?s Radiothon, presented by Stautzenberger College & The PUP Program from The Northeast Ohio Regional Sewer District, will occur this year on Friday, May 10th, from 6am-6pm, and on Saturday, May 11th, from 10am-4pm.

You can help raise money to support our Cleveland Animal Protective League by becoming a Q Cash Captain, Kid or School and collect Doggy Dollars/Kitty Kash, brought to you by Whole Foods Market.

Simply register at ClevelandAPL.org and the APL will send you your kit. You can then get started collecting donations from everyone you know. You can even set up an on-line fund-raising page and email all your friends asking them to support you! Then come to the exclusive Doggy Dollars/Kitty Kash Bash on May 9th from 6pm-8pm at the Primate, Cat & Aquatics Building at Cleveland Metroparks Zoo and turn in the money you?ve collected, and then hang out with the animals, fellow DD/KK participants, Q104?s Fee?s Kompany and Cleveland APL staff.

Listen to Q104?s Pledge for Pets Radiothon, broadcasting live for two days, May 10th and 11th, from the Cleveland Animal Protective League with hosts Allan Fee, Katherine Boyd, and Glenn Anderson. Or better yet, stop down during the two Live Broadcast days and join the fun. Who knows? You may even find your new best friend and give a forever home to one the APL?s adoptable animals.

The Cleveland Animal Protective League located at 1729 Willey Avenue, Cleveland, Ohio, 44113, in the historic Tremont area!

BECOME A Q CASH CAPTAIN HERE

Source: http://q104.cbslocal.com/2013/03/04/2013-cleveland-apl-pledge-for-pets-radiothon-become-a-cash-captain/

kendall marshall whitney houston news sylvia plath whitney houston autopsy results obama trayvon jim yong kim michael bush

Tuesday, 5 February 2013

King's skull found under parking lot in England

LEICESTER, England (AP) ? Scientists say they have found the 500-year-old remains of England's King Richard III under a parking lot in the city of Leicester.

University of Leicester researchers say it is "beyond reasonable doubt" that a battle-scarred skeleton unearthed last year is the king, who died at the Battle of Bosworth Field in 1485.

Osteologist Jo Appleby said Monday that a study of the bones provides "a highly convincing case for identification of Richard III."

And DNA from the skeleton matches a sample taken from a distant living relative.

The last English monarch to die in battle, Richard was depicted in a play by William Shakespeare as a hunchbacked usurper who left a trail of bodies ? including those of his two princely nephews, murdered in the Tower of London ? on his way to the throne.

Many historians say that villainous image is unfair.

Source: http://news.yahoo.com/experts-weve-found-englands-king-richard-iii-104514414.html

monday night football SEC Championship Game 2012 kansas city chiefs Javon Belcher express kindle fire Jenny Johnson

Monday, 4 February 2013

Arkansas gas prices up 17 cents over past week

LITTLE ROCK, Ark. (AP) -- The AAA says gas prices in Arkansas have gone up 17 cents in the past week.

The average price of a gallon of unleaded gasoline in Arkansas is $3.34 as of Monday. A week ago, the price was $3.17 per gallon.

The Fayetteville-Springdale-Rogers area reported the highest average price among the state's metropolitan areas, at $3.37 per gallon. The national average is $3.52 per gallon.

Officials say retail prices in the central United States have risen the most dramatically as a result of an increase in the costs of products used by refiners that supply the region.

Arkansas' record high for gasoline is $3.97 per gallon, set in July 2008.

Source: http://news.yahoo.com/arkansas-gas-prices-17-cents-161347597.html

beverly hills hotel beverly hills hotel the watchmen whitney houston dies dolly parton i will always love you beverly hilton hotel whitney houston found dead

Sunday, 3 February 2013

VKEDCO: Vladimir Kulyukin's Education Coop: Python & Perl ...


There is a one-to-one correspondence between finite state automata (FSA) and regular expressions in the sense that every regular expression can be compiled into an FSA and for every FSA there is an equivalent regular expression. Equivalence in this context is construed as the equivalence of languages. In other words, an FSA and a regular expression are equivalent if and only if they accept/recognize the same language.

Suppose we want to implement a finite state machine (FSM) and use it in pattern matching. The abbreviations FSA and FSM are interchangeable. The most important aspect of an FSM is its transition table. Consider an FSM in Figure 1.


This FSM has two states {1, 2}. The start state is 1 and the end state is 2. The language accepted by this FSM is {a}. To put it differently, this automaton accepts only one string that consists of the symbol a.
?
We can represent the transition table of this FSA with a Python dictionary or a Perl hash.

tran_tbl_01 = {}
tran_tbl_01['a'] = {1 : [2]}

?
The above code fragment represents the FSM's transition table as a dictionary of dictionaries. The first dictionary takes a symbol, e.g., 'a', and maps it to another dictionary that maps states to lists of states. In other words, when reading 'a', in state 1, the FSM can transition to any state in the list [2]. In this case, this list contains only 1 state, but it can have multiple states or be empty.

In Perl, we can realize the same ideas as follows:

my %tran_tbl_01_a = (1, [2]);
my %tran_tbl_01 = ('a', \%tran_tbl_01_a);





We first obtain a hash (%hash_tbl_01) that maps 1 to [2] and then place its reference into another hash (%tran_tbl_01)?
under the key 'a'.?

Once we have an FSA's transition table, we need to access its elements. Here is a way to do it in Python.

def tran_table_lookup(sym, state, tran_tbl):
??? if tran_tbl.has_key(sym):
??????? return tran_tbl.get(sym, []).get(state, [])
??? else:
??????? return []

def tran_table_epsilon_lookup(state, tran_tbl):
??? return tran_table_lookup('', state, tran_tbl)

Note that we encode the epsilon as ''. Recall that epsilon transitions allow the FSA to transition from its current state to another state without consuming any input.

Here is how the same access functionality can be implemented in Perl:

sub tran_table_lookup {
? my ($sym, $state, $tran_tbl) = @_;

? ## check if $sym exists in $tran_tbl.
? if ( exists($tran_tbl->{$sym}) ) {

??? ## if it does, get the hash reference that maps?
? ? ## individual states to lists of states
??? my $state_to_states = $tran_tbl->{$sym};

??? ## check if the current state $state exists as a key
??? if ( exists($state_to_states->{$state}) ) {

????? ## if it does, return the reference to the corresponding list of states
????? return $state_to_states->{$state};
??? }
??? else {

????? ## return an empty list reference
????? my @empty_ary = ();
????? return \@empty_ary;
??? }
? }
}

sub tran_table_epsilon_lookup {
? my ($state, $tran_tbl) = @_;
? return tran_table_lookup('', $state, $tran_tbl);
}
?
?
An FSA can be represented as a 3-tuple of a start state, a list of final states, an transition table. Here is a Python realization of this representational choice:

fsa_01 = (1, [2], tran_tbl_01)

def get_start_state(fsa): return fsa[0]
def get_fin_states(fsa): return fsa[1]
def get_tran_table(fsa): return fsa[2]

Perl's implementation is similar:

my @fsa_01 = (1, [3], \%tran_tbl_01);

sub get_start_state {
?return $_[0];
}

sub get_fin_states {
? return $_[1];
}

sub get_tran_table {
? return $_[2];
}?

Let i be the current position in some text txt, n - the length of txt, cur_state is the current state of the FSA, fin_states is the FSA's final states, and tran_tbl is the FSA's transition table. Then, given an FSA, we can use the following method to see if txt is accepted by the FSA.

match_fsa(txt, i, n, cur_state, fin_states, tran_tbl):
? ? if ( i == n ):
? ? ? ? if ( cur_state is in fin_states ):
? ? ? ? ? ? return true
? ? ? ? else:
? ? ? ? ? ? next_epsilon_states = states the FSA can get to on epsilon from cur_state
? ? ? ? ? ? for nes in next_epsilon_states:
? ? ? ? ? ? ? ? if nes is in fin_states:
? ? ? ? ? ? ? ? ?? return true
? ? ? ? ? ? return false
? ? else:
? ? ? ?? next_states = states the FSA can get to from cur_state on txt[i]
? ? ? ?? next_epsilon_states = states the FSA can get to from cur_state on epsilon
? ? ? ?? if (next_states and next_epsilon_states are both empty):
? ? ? ? ? ?? return false
? ? ? ?? else:
? ? ? ? ? ?? for ns in next_states:
? ? ? ? ? ? ? ?? rslt = match_fsa(txt, i+1, n, ns, fin_states, tran_tbl)
? ? ? ? ? ? ? ?? if ( rslt is true ): return true
? ? ? ? ? ?? for nes in next_epsilon_states:
? ? ? ? ? ? ? ?? rslt = match_fsa(txt, i, n, nes, fin_states, tran_tbl)
? ? ? ? ? ? ? ?? if ( rslt is true): return true
? ? ? ? ? ?? return false
?? ? ? ? ? ? ? ? ? ?? ?
What To Implement
1. Implement match_fsa in Python & Perl.?

2. Build two FSA's that accept languages {(ab)^n | n >= 1} and {a^n | n is even} U {b^n | n is odd}. One FSA for each language.
?

3. Construct two regular expressions in Python and Perl for the same languages.?

4. Test both FSAs and your regular expressions on the following set of strings: '', 'ab', 'abab', 'ababab', 'abbb', 'aaaa', 'aaa', 'aaaaaa', 'b', 'bbb', 'bbbbb', 'abbaabba'.?

5. Do you notice any difference between your implementation of match_fsa and the way the native regex engines do the matching? Briefly (no more than 3 sentences) explain what is the difference, if there is any.?

What & Where To Submit
1. Create a subfolder hw_04 in your Dropbox folder and submit two files there: fsa.py and fsa.pl.

2. The files should contain your implementations of match_fsa, your regular expressions, and your answer to question 5.

Source: http://vkedco.blogspot.com/2013/02/python-perl-matching-text-patterns-with.html

teresa giudice atlanta hawks 2012 white house correspondents dinner forrest gump bernard hopkins nfl draft grades devils

Unique Content Article on sports, outdoors, recreation ... - bicycle

Sorry, Readability was unable to parse this page for content.

Source: http://bicycleland.blogspot.com/2013/02/unique-content-article-on-sports.html

Aaron Swartz Java Gangster Squad school shooting Oscar Nominations 2013 oscar nominations C7 Corvette