text:
San Francisco Giants fans are going to some pretty crazy lengths to get their hands on World Series tickets. They're willing to go on hunger strikes, drive across the state or even paint your house to get into AT&T Park.
With the games sold out in advance weeks ago, desperate orange-and-black faithful took to the Web, texted friends and hung outside the ballpark hoping to score tickets to see their beloved Giants make history.
"I understand the odds are pretty slim," said Oakland resident Robert Speidel, 30, who just graduated from UC Berkeley and wants nothing more than to attend a World Series game. "But it certainly doesn't hurt to put the prayer out there."
There were more than 10,000 tickets available from re-sellers online Tuesday. But at marked-up prices ranging from $300 to more than $10,000, many fans were hoping sob stories or displays of Giants allegiance would persuade kind ticket-holders to give them a deal.
Pedro Ortega, a San Francisco native so fanatical about the Giants he has the team's "SF" logo tattooed on his arm, and his wife Emmy are taking a couple days off work, pulling their two young daughters out of school and driving up from San Diego on the hunt for tickets. If they strike out, they plan to use a friend's boat, grab a portable TV or radio and catch the action from McCovey Cove, where paddlers wait for home run balls.
"I'm like, oh my gawd, we're crazy," Emmy Ortega said with a laugh. She said someone offered her husband one ticket, but he rejected it so they could search for four. "My husband is a die-hard Giants fan, but he's first and foremost a husband."
Others are doing a little extra. On Craigslist, one man offered the "deed" to either his future first-born child or his soul for a World Series ticket. A licensed contractor offered to paint your house for a ticket; others offered large quantities of drugs, electronics and 49ers and Warriors tickets.
Then there's George Cooper, a 21-year-old Mountain View man who accepted a bet from his friends to go on a hunger strike for World Series tickets. He started fasting Sunday, with the Giants still needing to win two games just to make it to the Series — and his buddies have donated $300 to get him in the game.
"Every time my stomach rumbles, I just imagine myself watching the Giants in a World Series game at AT&T Park," Cooper said. "I just need to do everything I can to be a part of the magic."
Data compiled for the Bay Area News Group by SeatGeek, which tracks online ticket sales on secondary markets, shows the World Series is the most expensive ticket for a public event in the Bay Area since the Giants won the 2010 Fall Classic.
The average resale price for a potential Game 7 is $887, followed by Game 6 ($797), Game 1 ($731) and Game 2 ($693), SeatGeek said.
That's more than the average for last season's 49ers NFC Championship Game ($692), but behind Game 1 for the 2010 World Series ($940) — and, in the case of this year's Game 2, behind an upcoming San Francisco showing of the "Book of Mormon" play ($703).
"Kind of out of my price range, a lot of them," said Giants fan Brandon Lewis, a 22-year-old student at Cal Poly San Luis Obispo who is trying again after failing to get 2010 World Series tickets.
StubHub spokeswoman Joellen Ferrer advised fans to buy now for Games 6 and 7, since they'll be refunded if the games don't happen but will soar in price if they do. She said prices usually drop in the hours leading up to the game as fans get desperate and hopes for a huge profit fade.
"You're always going to have overly optimistic fans that are pricing tickets sky high," Ferrer said. "So don't get scared off by the $10,000 tickets; they're shooting in the dark and trying to see if they can make a quick buck."
The Giants will also put an extremely small number of face-value tickets on their website as tickets are returned.
Plenty of fans, such as Lauri Tanner of Oakland, are doing it the old-fashioned way: planning to go to AT&T Park on game day and hope for a miracle. It worked for Tanner during Sunday's Game 6 of the National League Championship Series, when she found a stranger with an extra ticket after his friend stood him up.
"A lot of people said, 'Are you crazy? You're not going to get a ticket,' " said Tanner, a graduate student and nonprofit consultant. "But I believe in miracles; I saw what the Giants did (coming from behind in the playoffs), and we're going to do it again here."
Contact Mike Rosenberg at 408-920-5705. Follow him at twitter.com/rosenberg17.
Tickets are sold out from the box office, but the Giants' official resale partner is StubHub, which guarantees all sales.
Other sites that offer tickets and are not affiliated with the Giants include Craigslist, SeatGeek, RazorGator, ticketsnow, eBay, TicketNetwork, FanSnap.
Beware of counterfeit tickets. Fans you meet in person can sell you photo-copied tickets that will not work.
Tickets bought online for Games 6 and 7 should be refunded if the games are not played; check the sites' policy for refunds.
Tickets for Games 2 and 6 will likely go up if the Giants are leading in the series. Game 7 should be the most expensive ticket if played.
Average resale price for World Series Games 1 and 2
Club: $1,100 (face value: $340-$670)
Lower level: $1,156 (face value: $350-$1,040)
Outfield: $533 (face value: $230-$270)
Upper deck: $578 (face value: $230-$360)
Standing-room only: $355 (face value: $200)
Sources: StubHub, SeatGeek, Mercury News reporting.


text:
Classroom turns your iPad or Mac into a powerful teaching assistant, helping a teacher guide students with iPads through a lesson, see their progress, and keep them on track. With Classroom, you can easily launch the same app on every student device at the same time, or launch a different app for each group of students. Classroom helps teachers focus on teaching so students can focus on learning.
What's new in Classroom 1.0.1 for Mac
Teachers are no longer prompted for admin credentials when students connect to admin-created class sessions.
Learn more about the requirements for Classroom for Mac.
About Classroom 1.0 for Mac
Classroom is now available for the Mac and includes the same features as the iPad version.
Learn more about the requirements for Classroom for Mac.
What's new in Classroom 2.3.1 for iPad
- Improved the reliability of students joining a class session.
Classroom 2.3 for iPad
- Compatibility with iOS 12
Classroom 2.2 for iPad
- Navigate now offers the option to Lock the student device in the chosen app.
- New iOS restriction to require teacher consent to leave a teacher-created class from a supervised student device
Classroom 2.1 for iPad
- When the teacher ends a class session, a new screen presents a summary of student activity timelines before returning the teacher to the class chooser.
- Share URLs, documents, images, and more to individual students or to groups using the new drag and drop functionality in iOS 11.
- Three new Configuration Profile restrictions allow you to set, configure, or force the "Join Classes," "Lock Apps and Device," and "AirPlay and View Screen" settings for teacher-created classes to match the behavior of admin-created classes.
Classroom 2.0 for iPad
- Create classes within Classroom and invite nearby students to join
- Share documents and links to student devices via AirDrop (replaces the Classroom Share Extension)
- Students can share documents and links with their teacher via AirDrop
- Mute audio on student devices
Classroom 1.1.2 for iPad
- Fixed an issue that in some cases prevented Classroom from discovering nearby student devices.
Classroom 1.1.1 for iPad
- Improved support for passcode-protected Apple TV devices.
- Edit a group while in Slide Over or Split View.
- Filter apps by name in the Open App action dialog.
Classroom 1.1 for iPad
- A new Share Extension lets you send links from Safari and other apps via the Share sheet.
- Navigate to iTunes U courses
- Add and remove students from teacher-created groups
About Classroom 1.0 for iPad
Learn about features introduced with Classroom 1.0. To check requirements for Classroom 1.0, go to Classroom Help.
Assign Shared iPads to students
- Once configured, Classroom connects to nearby student devices.
- Classroom intelligently assigns the right student to each Shared iPad based on which device the student used last time.
- Once students are done, the teacher can easily log them out to prepare each Shared iPad for the next class.
Start, focus, or pause student work
- Launch any app, website, or book on student devices with a tap
- Lock devices into a single app to help students focus
- Lock screens to pause work or refocus your class
See what your students see with Screen View
- See an overview of all student screens at once
- Focus on a single student screen
- Students are informed when their screens are being viewed
Share student work on the classroom Apple TV
- Showcase the great work your students are doing to the class
- Use AirPlay to wirelessly present a student's screen
- Students are informed when their screens are being presented
Reset forgotten passwords right in the classroom
- Reset a Managed Apple ID password without calling IT
Organize student devices using groups
- Classroom automatically creates groups of students based on the apps they are using
- Teachers can create groups to break students into project teams
- Perform actions on entire groups or on individual students within groups
Great for use with both 1:1 and Shared iPad student devices
- All actions take place over the local network only

subset: commoncrawl


text:
I have some plastic ratcheting clips which have opposing transverse raised portions that are on opposite sides of the plastic catheter tube when you pass the catheter tube end through the clip/closure. You operate it with your thumb to close the catheter tube by squeezing it between the raised portions as the ratchet clicks and holds it closed while the user is insertint the catheter into the urinary opening. After insertion of the catheter you simply pop the ratchet open and the urine is free to flow. This closure stays on the catheter and you simply slide it off when you want to use a new catheter. I use them over and over without a problem.
My problem is that I can't find a source to buy these useful clips/closures anywhere. I got the ones I have from a complicated plastic tubing harness that is used for what is called CAPD. This means " Continuous Ambulatory Periteoneal Dialysis ". I happened to have it as part of a case I worked on. It had numerous clear soft plastic tubes whit these clipas at different places so ths flow of fluid could be routed to the proper place.
Can anyone help me find these plastic tube closing clips?


text:
In the News
The Freedom to Marry Oral History Project
Leaders in the movement to win the freedom to marry nationwide teamed up with Berkeley's Oral History Center for the Freedom to Marry Oral History Project.Read More
How Gay Marriage Finally Won at the Polls
"Freedom To Marry helped assemble a coalition of state-based gay groups, polling experts and academic researchers to centralize and share information so that each campaign didn't have to start from scratch for each new battle. What came out of this tightly coordinated effort was the key to dismantling the anti-gay myths of the last 40 years."Read More
Beyond Marriage: The Case for Full LGBT Equality
Published by The Desert Sun on September 3, 2015 Evan Wolfson pens a forward-looking op-ed about the work remaining for LGBT rights – specifically the lack of federal non-discrimination laws for LGBT people – in a post-marriage world.Read More
Freedom to Marry is Going Out of Business. And Everybody's Thrilled.
Published by The Washington Post on July 30, 2015 "Evan Wolfson, founder and president of New York-based Freedom to Marry, worked on legalizing same-sex marriage for 32 years. With the Supreme Court's recent decision, he also has worked himself out of a job."Read More
Evan Wolfson: Profile
Published by Haas Jr. Perspectives on July 27, 2015 Evan Wolfson shares some of the inspiration that sustained the fight for marriage equality, shortly after the full marriage win in June 2015.Read More
Evan Wolfson: 'I Believed We Could Win'
Published by The New York Times on July 24, 2015 Jim Rutenberg of Reuters interviews Evan Wolfson after the historic Supreme Court ruling in favor of the freedom to marry.Read More
How Gay Marriage Became a Constitutional Right
The untold story of the improbable campaign that finally tipped the U.S. Supreme Court.Read More
The Marriage Movement's Secret Weapon: Radical Cooperation
This piece co-written by Freedom to Marry's Thalia Zepatos and Lanae Erickson Hatalsky, director of social policy and politics at Third Way, explores the ins and outs of messaging research that we pursued to bring more supporters into the fold.Read More
Why Conservatives Gave Up Fighting Gay Marriage
The Post looks at the increasing number of conservatives who support the freedom to marry, as well as those who are trying to ignore the issue as they urge the party to stop opposing it.Read More
What's Next in the Fight for Gay Equality
Published by New York Times on June 26, 2015 Following the momentous Supreme Court victory, Evan Wolfson looks at what's next, and how the LGBT movement can harness the marriage win to continue the essential work ahead.Read More
For Freedom to Marry's Founder, a Date with History
Published by USA Today on June 17, 2015 A look back at Evan Wolfon's long history leading the movement to win the freedom to marry. Richard Wolf of USA Today explains: "The Supreme Court is likely to put Evan Wolfson out of work in the next two weeks, and he couldn't be happier."Read More
How We Won Marriage: 10 Lessons Learned
Following a victory for the freedom to marry nationwide at the U.S. Supreme Court, Marc Solomon breaks down ten key lessons for other movements about how we won, including: conveying a bold, inspirational vision; following an overarching strategy; finding the right messengers; working with bipartisan advocates; and building momentum each and every day.Read More
Op-Ed: Talking to People About Marriage Equality Does Change Minds
"In-depth, in-person conversations on marriage are indeed effective, and Freedom to Marry and our partners have worked for the last seven years with some of the country's top social scientists — separate and apart from the disavowed study — to test our techniques, make adjustments, scrap what isn't working, and double down on what is."Read More
Portland Gay Marriage Activist Watches Her Arguments Echo at Supreme Court Hearing
Thalia Zepatos, as a top official for Freedom to Marry, has been encouraging supporters of same-sex marriage to focus on ... love and commitment. The change in tactics helped bring the striking increase in public support for gay marriage.Read More
Inside the Supreme Court's Gay Marriage Debate
After the argument, Marc Solomon reflected on the historic nature of the day, dissecting the arguments and concluding that the lawyers opposed to the freedom to marry failed to articulate a rational, secular reason for banning same-sex couples from marriage. "Love, like freedom and family," Solomon wrote, "must - and will - win."Read More
Before Gay Marriage SCOTUS Case, #LoveMustWin Trends
On the day of oral arguments, the hashtag #LoveMustWin -- created by Freedom to Marry -- was used by politicians, celebrities, brands, and supporters to urge the Supreme Court to rule in favor of marriage for same-sex couples.Read More
The Marriage Mastermind
Published by Slate on April 26, 2015 Slate writer Mark Joseph Stern looked at "How Evan Wolfson transformed American society" through his decades of work on the freedom to marry, noting, "Wolfson's greatest hope for the Supreme Court's upcoming marriage equality ruling is that it will put him out of a job."Read More
How Do You Change the Deeply Held Beliefs of a Nation?
Published by Reuters on April 17, 2015 Evan Wolfson describes how, through the years, Freedom to Marry worked to win support for marriage between same-sex couples in the court of public opinion.Read More
Here's What the Supreme Court Could Do on Gay Marriage
Frank Bruni explains in a New York Times column that "nothing about [the progress of the freedom to marry] feels quick if you consider that Evan Wolfson, a chief architect of the political quest for same-sex marriage, wrote a thesis on the topic at Harvard Law School in 1983.Read More
The Strides and Strategy in Same-Sex Marriage
"A lot of people now say this is inevitable - and 'inevitable' is a word I have a lot of problems with," Marc Solomon said to Chuck Todd. "I think we need to continue to make the case strongly - and once it's done, then it will be inevitable."Read More
Lessons From the March to Same-Sex Marriage
"Every progressive cause wants to be the next gay marriage, and a longtime activist has written them a playbook."Read More
How the Right Was Won
Slate's Mark Joseph Stern calls Marc Solomon's book Winning Marriage the "definitive political history of marriage equality" as part of this comprehensive review.Read More
Massachusetts Marriage Victory Offers Key Tactical Lessons
After a decade of working on campaigns to win the freedom to marry, Marc Solomon looks back at his experience working full-time in Massachusetts. "Today's success ... has taken a great deal of hard work," he wrote. "Much of that work began one decade ago in Massachusetts, when the freedom to marry first became real."Read More
Celebrating Marriage Equality
Marc Solomon joined Mary Bonauto, Congressman Barney Frank, and Massachusetts Governor Deval Patrick in an op-ed celebrating ten years of marriage in Massachusetts, taking a look at some of the tactics that helped move marriage forward.Read More
Q. & A.: Evan Wolfson on Winning the Gay-Marriage Fight
Published by The New Yorker on December 2, 2013 Richard Socarides of the New Yorker talks with Evan Wolfson about the growing number of victories at the state level and how long it will take for there to be full marriage rights for same-sex couples.Read More
Freedom to Marry Everywhere
Published by USA Today on November 25, 2013 Evan Wolfson and Mary Bonauto of Gay & Lesbian Advocates & Defenders wrote about two historic marriage cases: Hawaii's and Massachusetts' - 20 years after the beginning of Hawaii's battle for marriage, and 10 years after the Massachusetts victory.Read More
Wedded to an Idea
Published by The Washington Post on July 2, 2013 This profile of Evan Wolfson reflected on the landmark Supreme Court decision and looked ahead to what's next: "There's no question where it's going," Wolfson said. "The only question is how soon we can bring it home, and I believe it's a matter of years, not decades."Read More
Big Wins for the Freedom to Marry, Now Let's Finish the Job
Published by Reuters on June 26, 2013 On the day that the Supreme Court struck down the core of DOMA, Evan Wolfson celebrated the ruling - and explained what work Freedom to Marry still had to do, including winning the freedom to marry in a majority of states by 2016, a goal we far surpassed in 2015.Read More
The Marriage Plot: Inside This Year's Epic Campaign for Gay Equality
As marriage supporters across the country celebrated the first-ever victories for the freedom to marry at the ballot in four states - Maine, Maryland, Minnesota and Washington - Molly Ball wrote the exclusive, inside story about Freedom to Marry's work in each of the states, detailing how we changed the conversation about same-sex couples, their families, and marriage.Read More
A Tale of Two Conventions
As Freedom to Marry pushed President Obama to support marriage for sex-couples, we also led an aggressive, unprecedented campaign urging the Democratic Party to add a plank in its party platform supporting the freedom to marry. We succeeded in the fall of 2012, a major victory at a time when vocal Democratic support for the freedom to marry was not assumed.Read More
Evan, Without Whom…
Published by The Dish by Andrew Sullivan on May 15, 2012 "The indispensable man in bringing marriage equality to America is Evan Wolfson," says Andrew Sullivan of The Dish in a profile piece as Evan Wolfson is awarded the Barnard Medal of Distinction alongside President Barack Obama.Read More
Evan Wolfson and President Barack Obama Honored at Barnard College
Just days after President Obama spoke out on the freedom to marry, he received the Barnard Medal of Distinction alongside Evan Wolfson and Sally Chambers. Before the ceremony, Wolfson said, "I will thank the President for doing what we elect presidents to do - showing moral leadership in standing up for freedom, fairness, and families."Read More
Evan Wolfson Debates Tony Perkins on Obama's Support for Marriage
Published by CBS News on May 13, 2012 Evan Wolfson joined a panel that included former Advisor to President Bush Mark McKinnon to debate Tony Perkins of the Family Research Council about Obama's statement of support for the freedom to marry.Read More
Obama Showed Moral Leadership with Gay Marriage Support
Published by U.S. News and World Report on May 11, 2012 After President Obama became the first-ever sitting president to voice his support for marriage for all couples nationwide, Evan Wolfson outlined the ways in which standing up for the freedom to marry was the right choice - morally and politically.Read More
How We Thwarted NOM's Attack Plan in New Hampshire
Marc Solomon celebrates the victory in New Hampshire, defeating attempts to repeal the freedom to marry.Read More
The Godfather of Gay Marriage
Published by The Daily Beast on July 20, 2011 Shortly before he testified before a key U.S. Senate committee on the Respect for Marriage Act, which sought to dismantle the so-called Defense of Marriage Act, Evan Wolfson spoke about his career and pioneering steps forward with Lois Romano. "Our job is to advocate for what we truly deserve," he told her. "Not just for what we think is doable."Read More
How We Will Win
With wins for the freedom to marry in four states and the District of Columbia under our belts, Marc Solomon reflected on two key strategies for winning marriage nationwide: Organizing to tell our stories, and playing an aggressive role in elections.Read More
The Time 100: Our List of the Most Influential People Living in the World Today
Published by Time Magazine on April 28, 2004 Throughout these early years, Freedom to Marry served as a base as Wolfson championed marriage as a potential engine for social change. His commitment and conviction won him national accolades, with Time naming him one of the 100 "most influential people living in the world today", remarking on his visionary work.Read More
All Together Now (A Blueprint for the Movement)
Published by The Advocate on September 1, 2001 After the Hawaii case, Wolfson continued fighting for same-sex couples in his role at Lambda Legal until 2001, when he began exploring the next steps for the marriage movement: a new national campaign focused singularly on winning the freedom to marry. In this early visionary piece, he set the blueprint for the national strategy going forward. He wrote: "Shimmering within our reach is a legal structure of respect, inclusion, equality, and enlarged possibilities, including the freedom to marry. Let us build the new approach, partnership, tools, and entities that can reach the middle and bring it all home."Read More
Evan Wolfson on Same-Sex Marriage in 1996
In this talk, Evan warns about early opposition tactics, the federal Defense of Marriage Act, same-sex wins in state courts, and polls that show one-third of Americans currently support same-sex marriage.Read More
Evan Wolfson on Nightline Transcript
Published by ABC Nightline on September 26, 1995 In 1995, before the U.S. Congress pushed through the anti-marriage DOMA and long before many Americans were even thinking about marriage for same-sex couples, Evan Wolfson spoke in support of the freedom to marry on Nightline, coming off of his work on the Hawaii marriage case.Read More


text:
As you'll probably recall, in the first tutorial of this series, I briefly explained the theory behind Iterators in PHP, and highlighted some of their benefits by constructing an array iterator class. As you know, this array iterator was created as a subclass of the abstract "Iterator" class that I defined at the beginning of the first article, demonstrating that building an iterating programming structure in PHP is not only easy, but also fun and instructive.
Nevertheless, an array iterator class isn't very useful when evaluated as a standalone structure, isolated from other programming modules that might exist within the same Web application. In accordance with this, the real power of such a structure is leveraged when used as a building block of larger programs, which can use at a lower level some (or all) the methods provided by the array iterator.
In order to illustrate how you can implement an array iterator within your own PHP applications, without sacrificing much of its functionality, over this second installment of the series, I'll show you how different data structures can be traversed by the same set of abstract methods (called an interface) defined previously within the base abstract "Iterator" class. Following this approach, I'll provide a common interface for iterating over distinct types of data structures, no matter if they're only flat text files, arrays or MySQL result sets.
By the end of this tutorial, I hope you'll have an accurate idea of how to use a generic Iterator structure. I will show how it is useful for traversing different data structures by providing specific implementations for each of the abstract methods defined within the base Iterator class. So, let's not waste any more time and start building different iterators in PHP!{mospagebreak title=Extending the scope of iterators: building a file iterator class}
In order to demonstrate how the array iterator you learned in the first article can be used for building a file iterator class, let's first remind ourselves how the previous classes looked, so it'll be easier for you to understand the process for constructing the file iterator in question. Here's the list of classes I defined in the first article:
// base abstract 'Iterator' class
class Iterator{
function Iterator(){
trigger_error('This class is abstract. It cannot be
// abstract 'current()' method
function current(){}
// abstract 'prev()' method
function prev(){}
// abstract 'next()' method
function next(){}
// abstract 'end' method
function end(){}
// abstract 'reset()' method
function reset(){}
// abstract 'seek()' method
function seek(){}
// abstract 'count()' method
function count(){}
// 'ArrayIterator' subclass
class ArrayIterator extends Iterator{
var $data=array();
function ArrayIterator($data=array()){
trigger_error('Data must be an array',E_USER_ERROR);
// concrete implementation for 'current()' method
function current(){
trigger_error('Error retrieving current
return $data;
// concrete implementation for 'prev()' method
function prev(){
trigger_error('Error retrieving previous
return $data;
// concrete implementation for 'next()' method
function next(){
trigger_error('Error retrieving next
return $data;
// concrete implementation for 'end()' method
function end(){
trigger_error('Error retrieving last
return $data;
// concrete implementation for 'reset()' method
function reset(){
trigger_error('Error retrieving first
return $data;
// concrete implementation for 'seek()' method
function seek($pos){
trigger_error('Invalid offset',E_USER_ERROR);
trigger_error('Error seeking element',E_USER_ERROR);
return $data;
// concrete implementation for 'count()' method
function count(){
trigger_error('Error counting
return $data;
Now that you hopefully recalled the signature for the above classes, it's time to create the corresponding file iterator class that I mentioned before, this time using the same set of methods exposed by the "ArrayIterator" class. Please study the class defined below:
class FileIterator extends ArrayIterator{
var $data=array();
function FileIterator($file){
trigger_error('Invalid input file',E_USER_ERROR);
Did you think it was harder to build? No, it wasn't. As you can see, I created a "FileIterator" class merely by deriving a subclass from the array iterator that I defined previously. In this case, Inheritance plays a very important role. It allowed me to build a class which is capable of traversing a simple text file passed as input parameter, in this case by overriding the corresponding constructor.
As you've realized, the remaining methods, such as "prev()", "next()", "current()" and so forth, have been inherited from the parent array iterator class, and are used to iterate over the array obtained by the following line:
Even when I used some basic PHP built-in functions for creating the above "FileIterator" class, its functionality is really remarkable. Just stay away for a moment from thinking of sophisticated applications and focus yourself on simpler ones. If your storage needs are largely covered with flat files, the "FileIterator" class might be used as part of a more complex application, providing a simple but powerful system for navigating back and forth between file lines.
At this point, you saw how easy it is to define a "FileIterator" class, having previously written the respective array iterator. Therefore, setting up an example would be a good idea, because in this way you would see how a sample text file can be traversed by this class. To see how this is done, please read the next section.{mospagebreak title=Building a concrete example: using the "FileIterator" class}
In order to illustrate the functionality of the "FileIterator" class I built previously, first I'll create a simple text file, populated with some basic data. Then I will instantiate an object from the corresponding class, so I'm able to use its methods. First of all, here's the basic "test.txt" text file:
This is the data for line 1
This is the data for line 2
This is the data for line 3
This is the data for line 4
This is the data for line 5
This is the data for line 6
This is the data for line 7
This is the data for line 8
This is the data for line 9
This is the data for line 10
And next, you can see the PHP script that traverses the above text file:
// instantiate 'FileIterator' object
$fIterator=&new FileIterator('test.txt');
// display first line of file
echo $fIterator->reset();
// display current line of file
echo $fIterator->current();
// display next line of file
echo $fIterator->next();
// display final line of file
echo $fIterator->end();
// display previous line of file
echo $fIterator->prev();
// seek a line within file
echo $fIterator->seek(2);
// count number of lines in file
echo $fIterator->count();
The above snippet might seem like a trivial example, but in fact it's demonstrating the ease of traversing a particular text file. Of course, here I populated the sample flat file with basic data, but think about the possible implementations for this "FileIterator" class, where file data has to be accessed either in a linear or random mode. Without a doubt, this class can be pretty helpful within a PHP application, particularly considering its ease and understandable source code.
Right, now you saw how simple it is to build a "FileIterator" class, by utilizing as a base class the pertinent array iterator you learned before. However, there are still more examples to show you, in order to continue demonstrating the versatility of iterators in PHP.
For this reason, in the next few lines I'll define a result set iterator class, which comes in very handy for traversing MySQL data sets. Curious about how this is achieved? Fine, keep on reading to learn more.{mospagebreak title=More iterators ahead: creating a MySQL result set iterator class}
Having available an array iterator class, which is seated on top of the sample classes hierarchy, defining a MySQL result set iterator class is actually a straightforward task. All I have to do is derive another subclass from the respective parent array iterator class, and the job is almost done. Since I want to create a full object-oriented example, I'll include a couple of additional classes, where the first one is a MySQL abstraction class and the second one is a MySQL result set processing class.
If you've already read some of my previous PHP articles, you'll find these classes very familiar, so they shouldn't be particularly hard to understand. That said, here is the signature for the corresponding MySQL wrapping class:
class MySQL {
var $conId; // connection identifier
var $host; // MySQL host
var $user; // MySQL username
var $password; // MySQL password
var $database; // MySQL database
// constructor
function MySQL($options=array()){
// validate incoming parameters
foreach($options as $parameter=>$value){
trigger_error('Invalid parameter
// connect to MySQL
else {
trigger_error('No connection parameters were
// connect to MYSQL server and select database
function connectDB(){
trigger_error('Error connecting to the
trigger_error('Error selecting
// perform query
function query($query){
trigger_error('Error performing query
// return new Result object
return new Result($this,$this->result);
Having listed the source code for this simple MySQL abstraction class, I'll go ahead with showing the code for the respective MySQL "Result" class. Here you have it:
class Result {
var $mysql; // instance of MySQL object
var $result; // result set
function Result(&$mysql,$result){
// fetch row
function fetchRow(){
return mysql_fetch_array($this->result,MYSQL_ASSOC);
// count rows
function countRows(){
trigger_error('Error counting rows',E_USER_ERROR);
return $rows;
// count affected rows
function countAffectedRows(){
trigger_error('Error counting affected
return $rows;
// get ID from last inserted row
function getInsertID(){
trigger_error('Error getting ID',E_USER_ERROR);
return $id;
// seek row
function seekRow($row=0){
trigger_error('Error seeking data',E_USER_ERROR);
function getQueryResource(){
return $this->result;
Finally, now that you know how the above complementary classes were appropriately defined, here's the signature for the "ResultIterator" class:
class ResultIterator extends ArrayIterator{
function ResultIterator($result){
if(get_resource_type($result)!='mysql result'){
trigger_error('Input data must be a MySQL result
As shown above, the "ResultIterator" class is created by deriving a subclass from the base array iterator. Since its definition is extremely simple, the only thing worth noting here is the checking process that is performed by the constructor, in order to make sure that only MySQL result sets are passed in as incoming arguments. Finally, the entire result set is stored in the "$this->data" array, which is very convenient for traversing with minor hassles.
Of course, as with everything in life, this versatility comes at a cost: if a SQL query returns a large number of database records, it might cause some performance issues, since the data will be stored in server memory. To solve this problem, you can either write an iterator class that only acts on native MySQL datasets without using additional arrays, or use the approach I showed you before, in case your database tables only hold a relatively small number of records.
Having clarified this performance point, below is an example of how to use the "ResultIterator" class:
// include class files
require_once 'mysqlclass.php';
require_once 'resultclass.php';
// connect to MySQL
$db=&new MySQL(array('host'=>'host','user'=>'user','password'=>'password',
// get result set
$result=$db->query('SELECT * FROM mytable');
// use 'ResultIterator' class
$rIterator=&new ResultIterator($result->getQueryResource());
// display first row of the result set
echo $rIterator->reset();
// display current row of the result set
echo $rIterator->current();
// display next row of the result set
echo $rIterator->next();
// display final row of the result set
echo $rIterator->end();
// display previous row of the result set
echo $rIterator->prev();
// seek row within result set
echo $rIterator->seek(4);
// count number of rows in result set
echo $rIterator->count();
As shown in the example above, traversing a MySQL result set back and forth is a simple process. It's just a matter of calling the corresponding methods of the "ResultIterator" class, in order to move the internal data pointer (in fact it's an array pointer), across the whole dataset. Notice the functionality encapsulated within these methods, which can be used together, in order to perform more complex operations inside a specific PHP application.
At this stage, hopefully you learned the basics of Iterators in PHP, accompanied by numerous hands-on examples of how to build several PHP classes, in order to traverse different data structures. Of course, the examples I showed here should be considered introductory samples that can be used for starting quickly with using Iterators in PHP.
To wrap up
Now this article has concluded. During this second part of this series, I demonstrated the process for building different PHP 4 iterators in a friendly way. I hope the code samples you saw here can be helpful for expanding your overall knowledge on Design Patterns, as well as on object-oriented programming in PHP.
Throughout the last installment of the series, I'll cover Iterators in PHP 5, which is really an interesting topic, due to the great capabilities offered by the SPL (Standard PHP Library). See you in the last tutorial!


text:
This was an impulse buy on my trip to Germany -- I've heard great things about Kanebo before, and I was really excited to try this. I justified the purchase by telling myself it would be cheaper in an airport than anywhere else.
The foundation comes housed in a glass bottle, so it has that touch of luxury. Foundation also tends to keep better in glass, and I feel like this one will age especially well, since it has a pump. The SPF 15 will probably expire in about a year, but I'm comfortable keeping pump-bottle foundation as long as it doesn't look or smell odd.
The colour is called Amber Beige -- it's extremely warm and golden, but it has just enough neutral beige in it that it doesn't go orange. While I wouldn't call my skin neutral, it does need a less warm shade to accommodate the olive in my skin.
As for the texture...oh, the texture. It's magical. It feels better on the skin than even my beloved MUFE HD. I'm pretty sure there's no added benefit to this foundation, but it has a buildable medium coverage, which usually means that it doesn't feel like naked skin, even with the most expensive foundation. This doesn't feel like nothing, but it feels like a treatment for your skin. I rub it in with my fingers and it absorbs like a serum. And not to make any sweeping declarations, but my skin feels even better with it on than without. Even Tod thinks so and she's patently against foundation.
I still need to use a dab of concealer after this, but the finish is so natural -- not a cakey or fake matte at all. It's classed a semi-matte, and I couldn't agree more. This really is one of those "your skin but better" textures. I picked the Velvet version because with such a dark colour, I knew I would only wear it in the summer.


text:
Message Board
Odile Ayral-Clause Message Board
Talk about the novels, new and used books that Ayral-Clause has written!
Author Ayral-Clause's Book Reviews
Camille Claudel: A Life
Camille was born in December of 1864. During her lifetime she became one of the most well known female sculptors of the 19th century. Ayral-Clause gives a full picture of Camille's life starting with her creative childhood. Camille's intense relationship with Auguste Rodin is examined from its inception but does not take away from looking at Camille's life as a whole. Her ties with her family including her close connection with her brother Paul Claudel,...


text:
The Mets blew 29 save opportunities so far this season, and with them, perhaps a chance at the playoffs. Adding a top notch closer such as Francisco Rodriguez would improve the bullpen, but not put it over the top.
Billy Wagner blew seven save opportunities, but even worse was the bridge leading up to him. It was more than just a bad season.
Here's how I see the pen:
-Billy Wagner: Won't pitch for the Mets again. No brainer. However, he will get paid $11 million by them, and that will inhibit what they do this winter. I don't see them paying both Wagner and Rodriguez.
-Aaron Heilman: They've resisted trading him the past two winters. They should pull the trigger if they get an offer this time. Heilman wants to start and since the Mets won't give him that opportunity, they should try to get what they can. If they wanted to give Heilman a chance at being the fifth starter, I'd entertain it because it is clear this bullpen thing isn't working out.
-Scott Schoeneweis: I can't believe they gave him three years. (I mistakenly said he was done after this year. He's signed through 2009).
-Joe Smith: Has his moments, both good and bad. Will be brought back.
-Pedro Feliciano: I've always been cool on him for some reason, even when he's pitched well. I think they'll bring him back.
-Luis Ayala: He saved a few games. Big deal. I don't see him as the answer at closer. I do see him coming back.
-Carlos Muniz: Wouldn't miss him.
-Ricardo Rincon: Ditto.
-Duaner Sanchez: He doesn't have his fastball anymore. Certainly not a set-up man or closer type anymore. Not a loss if they don't bring him back.
-Brian Stokes: More good appearances than bad. I'd like to see him back.
-Nelson Figueroa: Feel good story early this season. Very hittable.
-Brandon Knight: Pitched decently. Long man?
-Bobby Parnell: Can bring the heat. Let's see what he can do in spring training.


text:
Ample rainfall, a fertility program designed to maximize yield and good hybrids could make for a pleasant ride on the combine this season for Triple G Farms in Arlington, Ky. As of late July, their corn crop was shaping up to potentially be one of their best ever.
Triple G Farms is a three-way partnership between Bobby Grogan and his sons, Darren and Brian. They farm 11,000 acres of corn and soybeans, divided roughly in half and rotated each year.
This is the first year in a long time that the farm has not planted wheat. "We took a look at our input costs at the time and with the yield drag you typically get in double-cropped beans, we couldn't make it work," said Brian. "But that very well could change."
Triple G Farms began operating in 1973 with a few hundred acres complementing the family sausage company. During that time the farm grew, and when the sausage company was sold in 1996, the farm started a tremendous expansion.
Current operations encompass 11,000 acres in a three-county area. Field sizes range from 600 acres to 10 acres.
The Grogans are enthusiastic supporters of extensive research being conducted on the farm — it allows them to look at new technologies before they're released and see how they fit on their specific soil type and environmental conditions.
New technologies on the farm include Optimum GAT herbicide tolerance in corn, plant population studies, drought-tolerant lines, compaction studies and dozens of new corn hybrids. "It's a wonderful tool for us," Brian said.
Brian's brother, Darren, takes the lead on researching and implementing management techniques he feels will improve the operation.
The farm plants all Pioneer corn hybrids and soybean varieties. Corn hybrids are all Roundup Ready — 80 percent contain Bt protection through the Herculex trait, while 20 percent are non-Bt hybrids.
The farm is only about 20 percent irrigated, all by center pivot, including four new systems installed in 2009. The wet season hasn't necessitated much use so far, according to Brian. "They might have made one complete circle."
As was the case in other parts of the Mid-South, rains delayed planting on the farm this season. "We were planting corn all the way into the first part of June," Brian said. "That was kind of scary, because for the last two years, the last rain we received on the farm came the second week of July."
But if Mother Nature has done anything this season, it's validated its reputation as an unpredictable benefactor, and for this, the Grogans have been thankful. "So far this year, we've hardly gone a week without a rain," Brian said. "The rains have been phenomenal. We are actually on track with our growing degree units with most of past years, even though we have not had a lot of hot weather. But we will harvest a couple of weeks later than normal."
The Grogans soil sample every other year by soil type, using updated geo-referenced imagery available through USDA. The maps are also useful in making variable-rate applications of lime, potash, phosphate and nitrogen. "We fertilize according to recommendations and don't hold back. We give the plant what it needs," Brian said.
The farm has plenty of planting power each spring. This season, they ran three John Deere planters — two 24-row corn planters and a 16-row planter used for corn and soybeans. "Ten years ago, we wouldn't have thought that a 60-foot planter would work on this farm," Brian said.
"But it's become a reality with equipment improvements and RTK auto-steer systems, and our planting productivity has gone up considerably. We've gone from planting 100 acres a day to 400 acres a day on one planter, and we don't have the wide skips and the overlaps. That doesn't wear out our labor either. We can work decent hours and still get the job done."
The farm employs two portable RTK base stations, one used for the farm's anhydrous rigs and the other for planters. The Grogans have three full-time hands, and recently added a fourth. Three or four additional hands will be picked up to drive trucks and help out around the harvest operation.
The farm is mostly no-till, but does some tillage in wetter areas that tend to get rutted up. But the farm has recently installed an extensive tiling program on the farm to improve drainage, which could help them keep the farm at 100 percent no-till.
Resistant horseweed has cropped up on the farm, according to Brian, and this season, a recently scouted field is suspected of having resistant Palmer pigweed. The Grogans are able to keep the resistant horseweed under control through their rotation program. "The atrazine and Callisto herbicides that we use on corn will take care of them."
So far this season, insect pressure has been fairly light for the Grogans.
The Grogans harvest corn with three John Deere 9760s with 12-row headers.
Corn yields average 163-165 bushels per acre on the high side and 156-157 bushels on the low side. "This year we think we may beat the high side. We believe we have the best crop we've had."
The farm has enough grain bins on hand to store about 80 cent of their corn and soybean crops. "We'll store our soybeans until after the first of the year, sell some corn early and hold the rest until after the first of the year," Brian said.
Yields have been on a steady climb on the farm, mainly due to the adoption of Bt corn and improved drought tolerance and standability in corn hybrids, according to Brian. "And with Roundup Ready corn, we don't have the weed pressure that we used to have. All of those traits in the plant allow the farmer to focus on maximizing production potential."
The Grogans believe the future is bright for corn and soybean production, especially with several companies announcing plans to dramatically advance yields. "They're definitely moving in that direction. When you add it all together, we can take on more acres with the same help and still do a very efficient job while keeping our yield and quality up."


text:
|Send News. Want a reply? Read this. More in the FAQ. News Forum - All Forums - Mobile - PDA - RSS Headlines Twitter
Blizzard officially announces Diablo III is in the works for Windows and Macintosh, confirming rampant speculation that a new installment in the popular action/RPG series is the WWI game announcement they've been hinting at all week. A release date is not being specified at this point, but there are details on what to expect from the game, including 3D graphics, destructible environments, a new quest system, a random level generator, and more. The Diablo III Website is live, offering screenshots, artwork, a cinematic teaser and a gameplay video, and here's the press release:
Copyright © 1996-2019 Stephen Heaslip. All rights reserved.
All trademarks are properties of their respective owners.
Privacy Policy. Manage Cookie Settings.
News CGI copyright © 1999-2019 James "furn" Furness &
Blue's News.
All rights reserved.
Chatbear v1.4.0/blue++: Page generated 25 March 2019, 08:34.
Chatbear Announcements.


text:
I was craving candy corn, so I conducted an experiment this afternoon. I substituted chopped candy corn for chocolate chips in my favorite Oatmeal Crispies recipe.
My hypothesis was correct.
They melt.
Pretty...not exactly.
Taste is all that matters! You blog posts always make me smile. :)
You are living on the WILD SIDE lady!!! My kids would kill for these. Or at least kick someone in the shins.
So, so clever!


text:
The Show Must Go On
I was despondent over the news the other day that our Butterfly Mimi had been injured because some motherf-cker let her walk around by herself in heels without holding her. Mimi dislocated her shoulder and cracked her rib. It was bleak, as she would say. BLEAK.
But she managed to tweet a photo of herself in the hospital, with a sling, on a gurney. A gurney!
This should be her new transportation – everywhere on a gurney; performing on a gurney; recording on a gurney; eating on a gurney; raising her kids on a gurney; PTA meetings on a gurney.
Needless to say though, Mimi's sling is cockblocking her unparalleled beauty and how much she can show off her body. Still, in her words, The Show Must Go On, and she is going ahead with her charity performance on Sunday, with much sacrifice, NATURALLY:
"In a sling, but will do my best to make it look good w/ the ensemble Sat w/ the NY philharmonic, an amazing honor for such a great cause."
Oh, it's only just beginning. If you're lucky enough to see her at the show, you'll be hearing about it non-stop. Every time she hits a high note, she'll pause and tell you that it could have been higher, but did you know, have you heard? SHE HAD AN ACCIDENT.
It's like how she does on the Home Shopping Network, only in front of a live audience. And in those moments, we ALL win.
Here's video Mimi leaving the hospital at some point yesterday. You'll note…she's in a gown. Not a hospital gown, but a proper gown. Also… it's in black and white, just like the picture of her on her gurney. Black and white Mimi is a shadow of the Technicolor Mimi. Black and white Mimi is Mimi at half-mast. Black and white Mimi means the lighting in the hospital was sh-t and she couldn't get her makeup done properly.


text:
|09-22-2017 09:08 AM CET - Advertising, Media Consulting, Marketing Research
Herbal Oil Market Trends, Opportunities, Growth Is Expected To Reach USD XX Million By The End Of 2022
Press release from: QY Research Groups
A new and latest research report proposed by QY Research Groups renders a market summary of the Herbal Oil Market industry. This widespread analysis comprises of market potentials and challenges, scope of product, sales volume, market revenue, estimates and rate of growth. The report also digs into all the major market players across the globe.
Request for sample of Herbal Oil Market research report @ goo.gl/ZDNvm6
Chemical industry segment has a crucial role in accomplishing daily requirements of the common man. It is one of the most former industries which attributes substantially to not just economic but industrial growth as well. Nearly, each and every industry segment such as oil and gas, retail, manufacturing, agriculture and many others, depends heavily on the chemical industry. In the recent years, the global Herbal Oil Market industry has experienced an astonishing change structure-wise such as enhancements in technology, increasing raw material costs, manufacturing base been channeled to Asian countries, novel promising growth markets, etc.
Report Includes:-
The report highlights crucial dynamics and in-depth analysis of the market segment with concentrating on factual data, present industry activities, growth opportunities, new product inventions, and market forecast for the anticipated frame of time along with leading market players, market study based on several regions, and extensive product. The Herbal Oil Market report assists in determining the projection in this meticulous industry by rendering precise potential demand prognoses. These prognoses will aid the market players to take vital decisions and take hold of the untapped regions and new entrants.
Detailed TOC and Charts & Tables of Herbal Oil Market Research Report available @ goo.gl/hBuU94
This research report incorporates the current market size of this industry. It also distinguishes and assesses complex value chains across the globe such as primary factors, market growth restrains, and propelling strategies. This latest market report examines the Herbal Oil Market by several segments such as regions, applications, companies, and for the proposed time frame. The report gives a complete insight of this industry consisting the qualitative and quantitative analysis provided for this market industry along with prime development trends, competitive analysis, and vital factors that are predominant in the Herbal Oil Market.
Market Scope:
Various aspects are considered in this all-inclusive market research report and it inspects the global Herbal Oil Market industry from an all axis perspective. It gives in-depth information on the future viewpoint, key developments, market dynamics and growth, latest trends in the market, and potential investment segment.
Check for Discount @ goo.gl/KB2vst
The report furnishes:
• An in-depth widespread market analysis of the global Herbal Oil Market
• Analysis of global market trends, forecasts for 2022, and predictions of CAGRs through proposed time frame.
• Thorough analysis of applications
• Mentioning of market players with their complete profile description
• Researches the vital market trends and novel developments technologically in the Herbal Oil Market
Global Herbal Oil market competition by top manufacturers, with production, price, revenue (value) and market share for each manufacturer; the top players including
• Biolandes, Essential Oils of New Zealand, Farotti Essenze, Falcon, H.Reynaud & Fils (HRF), The Lebermuth Company, Moksha Lifestyle Products, Young Living Essential Oils, Ungerer Limited, RK-Essential Oils, Meena Perfumery, TFS Corporation
On the basis of product, this report displays the production, revenue, price, market share and growth rate of each type, primarily split into
• Orange, Citronella, Corn Mint, Eucalyptus, Clove Leaf, Others
On the basis on the end users/applications, this report focuses on the status and outlook for major applications/end users, consumption (sales), market share and growth rate of Herbal Oil for each application, including
• Food & Beverages, Pharmaceutical, Cosmetics & Personal Care Products, Spa & Salon Products, Household Cleaning Products, Others
The research report comprises of market's comprehensive analysis geographically on several important regions such as:
1. Europe (UK, Germany, Italy, France and Russia)
2. North America (Mexico, USA, and Canada)
3. Asia-Pacific (India, China, Korea, Japan, and Southeast Asia)
4. Africa, South America, and the Middle East
The leading industry players across the globe are explored in detail in this report. It demonstrates product overview, company summary, and manufacturing cost, capacity, and market shares for most of the participants. The report portrays the complete overview of Herbal Oil Market across the world including its cost/profit, demand/supply, import/export, capacity, production value, etc. The research report also prognosticates trends in the development of this industry's market. It cloaks current market analysis dynamically, downstream requirements as well as the upstream raw materials. Lastly, the report also segregates vital market figures which represent the market condition of Herbal Oil Market manufacturers. The report can function as an assistive reference point for helping individuals as well as businesses from this segment.
About Us:
QY Research Groups is a company that simplifies how analysts and decision makers get industry data for their business. Our unique colossal technology has been developed to offer refined search capabilities designed to exploit the long tail of free market research whilst eliminating irrelevant results. QY Research Groups is the collection of market intelligence products and services on the Web. We offer reports and update our collection daily to provide you with instant online access to the world's most complete and current database of expert insights on global industries, companies, products, and trends.
Contact us:
Email- email@example.com
Web- www.qyresearchgroups.com
Follow Us: LinkedIn | Twitter| Facebook
This release was published on openPR.
News-ID: 733581 • Views: 136More releases
Permanent link to this press release:
Please set a link in the press area of your homepage to this press release on openPR.
openPR disclaims liability for any content contained in this release.
Please set a link in the press area of your homepage to this press release on openPR.
openPR disclaims liability for any content contained in this release.


text: I'm a bit cranky today, owing to the fact that I am suffering from a wicked head cold thanks to the filthy, germ-ridden little creatures who live here with me. Kindergarten plague. Ugh. Even so, this tumblr has pissed me off royally. It's called Men Taking Up Too Much Space on … [Read more...]


text:
When I think of climbing I think of silence peace and challenge. I have not climbed for long… a little over a year but I have been hiking and loving nature all of my life. My love of the outdoors never ceases to grow in intensity. Nature gives me what people cannot… truth, honesty and unconditional love. It guides with the power of temperature, smell, tastes and sensations that thrill me in and out!
Since I began to climb I have an understanding of mountains in a different way. I am sure you have heard this that climbing makes you present. For me it makes me humble, real and aware. I cannot do the shopping or worry about my daughters or my career or what I am going to make for dinner. I can only "be" when I am on the side of a rock.
I have climbed a little in Yosemite, the Buttermilks, Joshua Tree and right here near my home in Malibu State Park. I am not skilled but I am enthusiastic to learn and get better. I am disturbed that I don't use my legs more and that I cry when I get scared and I get scared often. And most of the time I am on top rope, which means that I can't really fall because my boyfriend Bobby @bwillbe is always there for me.
At the end of the day getting outside and breathing and taking in the beauty of mother nature is what moves me… takes my breath away. When I climb I am more connected to that thrill. I can only focus on the task at hand… it occupies my mind my body and my senses. When I am finished I have a heightened sense of awareness of everything in me and around me that I didn't have before. I am more me than I was and that is a gift.


text:
- FOIA Documents Detail DHS/CBP's Rules-Free Rollout Of Biometric Scanning Program
- John Oliver Robocalls Ajit Pai For Not Doing More To Thwart Robocalls
- Trump Administration Rolls Back Obama's Last-Minute Drone Strike Reporting Requirements
- Yes, Actually, There Is A Lot Of Good News In Zuckerberg's New Plans For Facebook
- Techdirt Podcast Episode 202: Delivery-Driven Government
Reader Comments
Subscribe: RSS
Spunky, 6 Jun 2005 @ 3:52am
No Subject GivenIf you're from the UK, or have been following the news on this they are estmiating that it could cost up to �1.60 ($2.91) per mile on busy roads during rush hour. That would equate to �320 ($582) for a 200 mile journey. That's just for taxation and obviously does not include petrol costs and other taxation costs.
Way to go Ken, maybe you really will be able to stop poor people driving and force them onto the already overcrowded, failing public tranport services - I can't wait!
Simon, 6 Jun 2005 @ 4:27am
No Subject GivenI believe there was some talk of charging for insurance this way too (I don't know how far it got).
amareis, 11 Jan 2008 @ 8:08pm
Insurance rates follow gpsYes, there is a company, Unitrin I think, that plans to increase your insurance rate the more you drive and will sell or rent (?) you a gps for your car. Drive less, pay less. Frankly, sounds like a lousy idea doomed to fail. Will be interesting to see if anyone picks up on it.
Bob Dole, 6 Jun 2005 @ 5:47am
It gets even betterThe main purpose of this scheme is to impose "congestion charges" on every driver, just as is done in London currently. When congestion charges are put to a vote, they lose. The residents of Edinburgh, Scotland rejected it by a 3-1 margin. This forced other cities to dump their plans.
Now this plan will accomplish that goal of punishing drivers who want individual freedom as opposed to centralized mass transit, and the foundation will be laid without recourse to the voters. See, the Labour gov't was re-elected last month and they didn't bother mentioning this scheme until yesterday. Nice work.
Ivan Sick, 6 Jun 2005 @ 6:59am
No Subject GivenThis tax perhaps isn't a bad idea, given the following conditions:
1. It is not based on GPS data but a count of distance driven. This maintains privacy better and is simpler data to transmit. No one goes into congested driving conditions because they have a choice.
2. Public transportation is efficient, provides better-than-adequate coverage of the area, and is very low cost, or free. Perhaps this tax could go towards pub-trans funding? (duh) No politician, (or private transporation authority) of course, will ever accept this.
Tim, 6 Jun 2005 @ 9:08am
Re: No Subject Given1) I get 6l / 100km fuel economy. Why should I pay 50-100x more than I do currently in being-shafted-by-the-government-factor, *PLUS* the cost of fuel (about 20p out of the 87p/litre it currently costs)?
2) My driving habits are mostly weekend trips around the countryside or the occasional (two-monthly) long-haul trek (200-500mi). Driving a diesel, my TCO is about 35% less (per month over lifetime of a vehicle) than the national average car-owner, and I pollute less. If you think I would accept any form of public transport clogging up the roads and wrecking the scenery at Loch Katrine, you've got another think coming.
0) 30% of space on motorways is wasted because moronic drivers fail to pull left a lane in a timely fashion
-1) It would be more realistic to say that the car is the most flexible transport provider, and therefore we should abandon the public transport that only treats humans like freight/cattle at the best of times, or inconveniences people in their hundreds when it runs late / breaks down / doesn't go where they want, and invest more in the road infrastructure altogether. I, for one, don't mind living with the occasional traffic-jam, if there are reasonably frequent escape-routes along the way.
-2) rather than going around violating our right to privacy by shoving GPS reporting units in our cars, why don't they consider just sticking the occasional toll-booth at intervals along motorways, like the French?
Anonymous Coward, 6 Jun 2005 @ 3:41pm
Re: No Subject GivenSure, no one wants to get taxed more or have the government track their driving habits, but, in theory, this is definitely a good idea
Most of the problems we're facing in the US, and, probably, in the UK, as well, with respect to traffic, congestion, etc, stem from the fact that there is really no incentive to live close to work. The fact that driving 30 miles to work puts that much additional strain on the infrastructure and delays everyone else is not adequately accounted for. Otherwise, people would not move that far from their office and we'd all be able to get to work a lot faster, there'd be a ton less traffic and we'd be able to use all the extra gas for mowing the steppes.
In theory, there should be some sort of reasonable alotment for a daily commute, like 10 miles. If your commute is shorter, you should get a refund. If your commute is longer, you should get taxed. If you really want to live in a cheaper suburban house, the rest of us shouldn't have to subsidize it by wasting time sitting in traffic. Once people with 60 mile commutes begin to have to pay for going all that way, the way-out-in-the-suburbs house will stop seeming as cheap and its true cost will be shifted to the consumer. If you still want it, that's fine. But that way you're really paying for it yourself instead of everyone else chipping in by sitting in traffic with you.
Anonymous Coward, 6 Jun 2005 @ 5:19pm
Re: No Subject GivenExcellent points


text:
|Jepson Flora Project: Jepson Interchange
previous taxon |
next taxon
Jepson Interchange (more information)
©Copyright 1993 by the Regents of the University of California
Annual to tree
Leaves generally compound, alternate, stipuled; leaflets generally entire
Inflorescence: generally raceme, spike, umbel or head; flowers sometime 12 in axils
Flowers generally bisexual, generally bilateral; hypanthium generally flat or cup-like; sepals generally 5, fused; petals generally 5, free, or the 2 lower ± fused; stamens 1many, often 10 with 9 filaments at least partly fused, 1 (uppermost) free; pistil 1, ovary superior, generally 1-chambered, ovules 1many, style, stigma 1
Fruit: legume, sometimes including a stalk-like base above receptacle, dehiscent, or indehiscent and breaking into 1-seeded segments, or indehiscent, 1-seeded, and achene-like
Seeds 1several, often ± reniform, generally hard, smooth
Genera in family: ± 650 genera, 18,000 species: worldwide; with grasses, requisite in agriculture and most natural ecosystems. Many cultivated, most importantly Arachis , peanut; Glycine , soybean; Phaseolus , beans; Medicago ; Trifolium ; and many orns
Reference: [Polhill & Raven (eds) 1981 Advances in legume systematics; Allen & Allen 1981 Leguminosae]
Family description and key to genera by Duane Isely.
Annual or perennial herb from crown, glabrous to hairy; hairs sometimes forked at base, branches parallel with leaf surface, sometimes very unequal
Stem 0 or prostrate to erect
Leaves odd-1-pinnate; leaflets generally jointed to midrib; stipules membranous, sometimes fused around stem at stem base
Inflorescence: raceme, axillary, sometimes head- or umbel-like; flowers 2many
Flower bilateral; calyx 5-lobed; banner outside wings in bud, keel blades with small protrusion at base locking into pit on adjacent wing; 9 filaments fused, 1 free; ovary (and fruit) generally sessile, style slender, stigma minute
Fruit generally 1- or ± 2-chambered, often mottled, generally becoming ± dry; placenta on upper suture
Seeds 2many, smooth, compressed, ± notched at attachment scar
Species in genus: > 2000 species: ± worldwide (380 in North America, 94 in CA including many rare taxa)
Etymology: (Greek: ankle-bone or dice, perhaps from rattling of seeds within fruit)
Reference: [Barneby 1964 Mem NY Bot Gard 20:11188; Isely 1986 Iowa State J Res 61:157289]
Very difficult; both flower and fruit needed for identification; many good species appear similar; some species complexes need study. Taxa near province boundaries may appear in > 1 key. Varieties keyed under species for simplicity; species with vars. so identified in key. Fr length includes beak and any stalk-like base unless fruit body specified.
Perennial, ± stless, tufted, silvery-strigose; hairs forked at base
Leaf 17 cm; leaflets 17, generally 3, crowded near leaf tip, 519 mm, elliptic to obovate, tips generally obtuse or acute
Inflorescence: flowers 18, ascending or spreading
Flower: petals ± white to bright purple, wing tips white, banner 1013 mm, keel 7.49.4
Fruit ascending, 1025 mm, 34 mm wide, oblong, ± 3- sided (lower narrow, grooved), strigose; chambers ± 2
Chromosomes: 2n=22
Ecology: Rocky areas, sagebrush scrub to pine forests
Elevation: 15003550 m.
Bioregional distribution: East of Sierra Nevada, n Desert Mountains
Distribution outside California: to Idaho, Wyoming
Flowering time: AprJul


text:
morgan270 needed a new logo design and created a contest on 99designs.
A winner was selected from 132 designs submitted by 21 freelance designers.
Jason Mann Photography
I'm a professional photographer with a background in fashion now shooting weddings, seniors, families, and commercial photography. Have studio space, shoots cannon, one man show. Likes clean, simple, straightforward, no foo-foo look.
Affluent, female, age: 24-80 who book wedding, high school senior, family portraits. Located in Door County, Wisconsin.
Possible accent color, silver or deep navy blue
Circle or Square overall shape
Custom Typography (or something that makes it unique)
No clipart
No gradients
No web 2.0
Initials of JMP or JM okay
If use camera icon make it unique and timeless
Incorporate either jmannphoto.com or ishootpeople.com under or within logotype
To be used on signage, vehicle wrap, folders, brochures, collateral, business cards, website, etc.
Kenny Kim: http://www.kennykim.com/
Mike Colon: http://www.mikecolon.com/
Audery Hepburn (Breakfast at Tiffany's)
With all that being said, feel free to be creative. Ask if you need more direction.
Find out how a design contest works or learn more about our logo design services.


text:
Iowa Campus JD & Law Degrees
If you are interested in an education in legal studies, the basic law grad program is called the Juris Doctor. The Juris Doctor (J.D.) is a professional doctorate and first professional graduate degree in law school. Many people who hold this Degree are professionals who are committed to a career of practicing the law, and may choose to focus their practice on criminal law, tort, family or corporate law, as well as other areas of specialization.
There are many benefits to studying for your JD Law Degree on campus. Certainly, it can be prestigious, which could work as you develop your career. Also, you become part of the university community, not only to participate in activities, but also to begin forming social and professional networks as you interact with fellow students, and your professors. You will want to consider the local ties the school has with the community.
If you are ready to start looking into accredited Campus JD Law Graduate programs, GradSchools.com makes this search a simple one. First of all, you can determine where these programs are available by performing a location search. Just select a popular city, state or country. If you are interested in law but not seeking a JD, you may also consider a masters or graduate certificate in law such as a Campus Healthcare Law Master's Degree or a Campus Commercial Law Graduate Certificate. You may also consider a joint degree program such as a MBA/JD or MSW/JD program.
Of course, there are many options for this classic academic program. Start your search for an accredited Campus Law Grad Program, and begin pursuing your Juris Doctor Degree soon!
Sponsored Listings
- Des Moines, IADes Moines, IA
Drake University
Students receive both the Juris Doctorate and MBA degree by doing this joint degree program.
Sponsored Listings


text:
Dachang Instruments Co., Ltd. is established in 1997. We concentrate on various testing instruments, and the qulity has been approved by customers. For the reason of extending market share and customer service,we started 'Cometech Testing Machines Co., Ltd' to provide a complete service.
Cometech is a company for testing instruments with own design and production
department which is very different from other companies who assign their design and product to others. With a long time go into this area, Cometech products has been with a fine appearance and high precise construction.
Through an experienced team, Cometech develops software and indicator and can provide a instant solution for customer. They can be standards and can be specified by customer's requirement. Because of the insistance of quality, Cometech has been a leader in the field of testing machines.
To meet the change of the age,the machines provided by Cometech keeps upgrade to a competitive price without compromising in quality. Such as B and C series universal testing machines, offer a PC connection to extend data analysis function. As a completely made and designed by Cometech, the machines have been indicated with a flexible and modifiable property. This will easy further requirement and save money.
To sale on honest and professional suggestion to customers are two faiths of Cometech. A
complete instruction will give an entire information for best suitable and saving purchasing reference. Test in advance is also practicable. This will help customers to see how machines work. After sale service is also quickly respond by service groups to get up to your production schedule.


text:
Source: Cathy on Pinterest
I have not always been a confident individual. For a long time, I wouldn't even bother to set goals for myself. In my mind, I wasn't an athlete, so I didn't try out for a single high school sport. I didn't consider myself capable of being a straight-A student, which allowed me to excuse the occasional bad grade. I knew I was a good person, and I never got into any trouble. I just had no desire to push myself outside of my comfort zone. When I looked in the mirror, I saw an average girl and I never once tried to prove myself wrong.
When it came to running, I utterly refused to believe I could last a single mile — let alone more than one! I saw runners as strong, powerful, and somehow above me. I looked up to them, and to me they were people who were able to push themselves to limits that I could only dream of. My freshman year of high school, I actually yelled at my gym teacher when he got frustrated that I was walking the last lap of the required mile run. I made some excuse about how I was hurt, but I'm sure he knew I was full of crap. I was a relatively quiet girl, and that was the only time I ever talked back to a teacher. But I had predetermined what I was capable of doing, and what I was not capable of doing. In my mind, there was no point in setting myself up for failure.
I don't know what changed, exactly. Part of me seemed to get tired of watching everyone around me achieve greatness, while I stood on the sidelines. My husband, Nick, helped push me for the first time in my life. He saw potential in me that I wasn't aware of. The first time we went running together, he took me on a mile jog. I felt like I was going to die by the end of it, but he didn't let me quit. Instead, he had me sprinting the last stretch! At the time, I wanted to kick him in the shin — not literally of course! I was exhausted and angry that he didn't let me rest. Looking back, I can now see that it was the best thing anyone has ever done for me. He didn't let me give up, and I haven't wanted to give up since.
It seems the biggest obstacles that we all have to overcome lie within ourselves. We have to stop letting our negative thoughts and self-image get in the way of what we want out of life. You have to believe in yourself enough to set goals for your life — even if they're small ones, and find a way to make it happen. Don't expect success to arrive overnight, or without any hard work. It might take a lot of your time, energy, and determination. You might feel like you want to quit. Don't do it! Keep it moving, keep putting one foot in front of the other and push through the wall. Prove to yourself that you are capable of doing what you set your mind to, and it will propel you in whatever you choose to accomplish next.
Okay, I will now step off my soapbox.
Related articles
- New Beginnings: Freshman Year (aninspiredline.wordpress.com)
- Operation G.I.T.: Legalized Insanity (kaitnolan.com)


text:
I am on an emotional rollercoaster.
I ordered a switchback a little while ago and meanwhile my birthday is coming up. Every time a package shows up, my heart jumps that it is my new switchback hammock. I am so let down when I discover it is homemade jams and jellies, assorted toys, and gift cards. Even motorcycle related gifts are breaking my heart. I feel that the only gift other than the hammock that would cheer me up is a donation to a local no-kill shelter. (Please give!! )
I feel so guilty, these are good gifts bought and sent with love and hard work. Is this wrong??


text:
Mecca Disaster فاجعه سرزمین منا
Contact the author of the petition
This discussion topic has been automatically created of petition Mecca Disaster فاجعه سرزمین منا.
#406032015-11-13 09:32
Tahere Ghaemi
We will never forget this brutal crime commited intentionally by saudi Arabia.
#406062015-11-13 16:41
باسلام.اجرای قانون وشناسایی افرادی ک در این ماجرا کوتاهی کردن وعرت اصلی بوجود آوردن این حادثه
#406072015-11-13 16:42
باسلام.اجرای قانون وشناسایی افرادی ک در این ماجرا کوتاهی کردن وعرت اصلی بوجود آوردن این حادثه
#406102015-11-13 21:30
اللهم عجل لولیک الفرج و الجعلنا من المستشهدین بین یدیه و العن اعدا٬ه اجمعین
#40613 Re: #Haj4all2015-11-14 08:49
#406172015-11-14 21:16
Death to America and Israel Saud and his supporters, especially criminal
#40618 mena2015-11-15 06:19
مشخص شدن علت ایجاد این فاجعه حق ملت ایران است و باید مسسبان ان مجازات گردند و از تکرار چنین فجایعی جلوگیری گردد
Petition ad Promote here
Petition for ingredients declaration on alcoholic beverages
Within the EU, manufacturers of alcoholic beverages do not need to tell you what they have put into the bottle. All other food and beverages, on the other hand, must have detailed ingredients lists. In wine, for example, the manufacturers can use some 60 different additives and other substances, without them being declared on the bottle. It all comes down to an EU decision in 1979 where they failed to decide the labelling rules for alcoholic beverages. And since then, they have left things...
Petition ad Promote herePromote petition "Mecca Disaster فاجعه سرزمین منا" on this list
Save Esher's Greenbelt - Say No to development on Sandown Park
The Jockey Club proposes to build 310 flats (in blocks 4-6 storeys high) and a 150 bed hotel around the race course. The whole of Sandown Park is in the Green Belt, and we do not believe this development should be allowed. We are a group of neighbours launching a campaign to fight the proposals and raise awareness. We know the Council is under pressure to find more sites for houses. However, it remains the case there is a presumption AGAINST new development on Green Belt land unless it can b...
All time | 24 hours | 7 days | 30 days | Last month | This year (2019) | 2018 | 2017 | 2016 | 2015 | 2014 | 2013 | 2012 | 2011 | 2010
|30 days
|All time
|Petition name
|7 036
|7 039
| Save the Glacier - No to luxury ice cubes (2019)
Someone wants to chop up Norways 2. laregst Glacier, distribuit with helicopters and trucks, and sendt it out in the world to bars and hotels. How in the world is this enviroment friendly? Please sign the petition, to show your love and support! Also making a statement that this is not OK or sustainable use of our resources! ...
|2 377
|2 381
| Petition for ingredients declaration on alcoholic beverages
Within the EU, manufacturers of alcoholic beverages do not need to tell you what they have put into the bottle. All other food and beverages, on the other hand, must have detailed ingredients lists. In wine, for example, the manufacturers can use some 60 different additives and other substances, without them being declared on the bottle. It all comes down to an EU decision in 1979 where they...
|1 871
|4 429
| Dostupnost FreeStyle libre u Srbiji - Da dijabetes manje boli
NEOPHODNA DOSTUPNOST FREESTYLE LIBRE U SRBIJI Ovo je peticija za omogućavanje dostupnosti uređaja FreeStyle libre kompanije Abbott, u Srbiji, koji bi značajno olakšao život dijabetičara. Naročito odojčadi, male dece, nemoćnih koji nisu u stanju da iskažu kritičnost svog stanja, što bi drugi mogli pratiti za njih. Uređaja za sve dijabetičare mučnog moranja svakodnevnog bockanja. Uređaja koji bi zna...
|49 846
| Petition against slaughter and export for slaughter of Polish horses
President PiS Jaroslaw Kaczynski Al.Jerozolimskie 125/127 02-017 Warszawa Prime Minister of the Republic of Poland Beata Szydlo Kancelaria Prezesa Rady Ministrow Aleje Ujazdowskie 1/3 00-583 Warszawa Parliament (Sejm Rzeczpospolitej Polskiej) Kancelaria Sejmu Ul. Wiejska 4/6/8 00-902 Warszawa Honorable Prime Minister, Honorable Members of Parliament, We appeal to you to support the...
| Call to suspend the Copyright Act Amendment Bill and the Performer's Protection Amendment Bill
Dear Mr Hlupheka Mtileni, RE: The Select Committee on Trade and International Relations on the Copyright Amendment Bill [B13B-2017] While I applaud an update of the South African law to bring it in line with international best practice to support the creative industries and protect artists and performers, I suspect the bill as it stands will have a number of unintended consequences that will effec...
|2 628
| Stop exploration and mining of alum shale in Sweden
Oviksbygden mot brytning (www.oviksbygden.se) is a politically and religiously unrelated initiative that wants to create the conditions for municipalities to be able to decide on their natural resources themselves without risking being reviewed or falling victim to obsolete mineral legislation. The predatory operation in Swedish nature, for the benefit of foreign companies, has gone too far. Unde...
| Appeal for a 50 percent reduction of CO2 emissions from UiO flights
The message from the climate scientists can no longer be ignored. After the Climate Change Conference in Katowice, we know that the global temperature rise must not exceed 1.5°C. In this situation, each and every one must contribute. As an educational institution, the University has a particular responsibility so that the disaster does not become a fact. When the climate scientists are ignored by...
| Help save our locally owned and operated business by signing our petition
Please take the time to read and comment In support of our locally owned and operated business Centre Landscaping Supplies, Our Neighbour has over the past 20 years (without Government Support until now) Endeavoured to close our business down simply because they say " That they don't want to live next door to a quarry". They have compiled video evidence which they believe enhanced their cause. H...
| Save Maine's voice and the electoral college!
Save our Voice! VETO/STOP the popular vote bills! Dear Governor Janet Mills, Senate President Troy Jackson, and Speaker Gideon The current bills for the popular vote may circumvent the constitution by changing the statue on how we use our electoral votes, however, we will lose our identity as a state. Maine has always had its unique approach to the way we can cast our four votes. These bills are d...
Mayor Pankow and council members approved Option 1 (which included angle parking) after public consultation in February of 2018 . After the elections in Oct. of 2018 the present council and Mayor Pankow voted to rescind Option 1 and approved Option 2 (to include parallel parking, bike paths ) without any public consultation. Now is the time to stand up and be counted to keep Option 1.. E-mail addr...
We provide free hosting for online petitions. Create a professional online petition by using our powerful service. Our petitions are mentioned in the media every day, so creating a petition is a great way to get noticed by the public and the decision makers.


text:
While "wholesale changes" as pending free agent defensive end Osi Umenyiora suggested aren't consistent with the Giants' style, there are a number of big decisions general manager Jerry Reese is going to have to make.
Ralph Vacchiano of the New York Daily News took a look at a number of key players looking at pay cuts or cuts, in addition to those needing big raises.
Along with Umenyiora, it may also be time to make a decision on veteran defensive end Justin Tuck, who will turn 30 next year, when he's due to make $4.5 million. He has just 8.0 sacks the last two seasons combined, and they will have to decide how much leadership is worth.
Cornerback Corey Webster could also be on the bubble, as he hasn't played to the level of his $7 million they owe him next year.
The need to get younger could also claim veteran offensive lineman David Diehl, who is due $4.1 million next year, when he'll turn 33.
They're going to have to prune the tree somewhere, because talks to extend Victor Cruz have already started, and Hakeem Nicks' contract situation is looming.
They also have a substantial list of their own free agents to deal with which could make it a busier offseason than usual for the G-Men, when decisions about the direction of the franchise have to be made.


text:
Included Document Types:
Press Releases
Click here for terms and indexes used on this page. One cannot invest directly in an index.
Important Considerations
Investors should consider investment objectives, risks, charges and expenses carefully before investing. The prospectus contains this and other important information. For a prospectus for the above listed funds, please click here. Please read the prospectus carefully before investing. For additional information on the above listed funds, please click the respective link.
Insurance Products Shares of the Portfolios are offered only to participating insurance companies and their separate accounts to fund the benefits of Variable Contracts, and to qualified pension and retirement plans and registered and unregistered separate accounts.
Closed-End Funds do not continuously issue shares for sale as open-end mutual funds do. Since the initial public offering, the Funds now trade in the secondary market. Investors wishing to buy or sell shares need to place orders through an intermediary or broker. The share price of a closed-end fund is based on the market's value. The Fund's investment objective is fundamental and may not be changed without the vote of the Fund's shareholders.
USO, USL, DNO, UNG, UNL, UGA, UHN, BNO, USCI, CPER, USOU, USOD, and USAG are not mutual funds or any other type of Investment Company within the meaning of the Investment Company Act of 1940, as amended, and are not subject to regulation thereunder.
Shares of Exchange Traded Funds (ETFs) are not individually redeemable and owners of the shares may acquire those shares from the ETF and tender those shares for redemption to the ETF in Creation Units only, see the ETF prospectus for additional information regarding Creation Units. Investors may purchase or sell ETF shares throughout the day through any brokerage account, which will result in typical brokerage commissions.
With the exception of the closed-end funds listed above, ALPS Distributors, Inc. and/or ALPS Portfolio Solutions Distributor, Inc., 1290 Broadway, Denver, CO 80203, is the distributor for the open-end mutual funds and exchange-traded funds/products on this website.
The Funds described on this website are offered to United States residents only. Information on this site should not be considered a solicitation to buy or an offer to sell a security any persons outside the United States.
ALPS Advisors, Inc., ALPS Distributors, Inc., ALPS Portfolio Solutions Distributor, Inc., and ALPS Fund Services, Inc. are subsidiaries of ALPS Holdings, Inc. ALPS Distributors, Inc. and ALPS Portfolio Solutions Distributor, Inc. are registered broker-dealers and FINRA Members.
© 2010-2019 - ALPS Advisors Inc. - All rights reserved.


text:
Pages: 1
File ". Asound" I have configured to work with the card 0. And it works.
Here's the order.
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: DG [Xonar DG], device 0: Multichannel [Multichannel]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: DG [Xonar DG], device 1: Digital [Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Intel [HDA Intel], device 0: ALC1200 Analog [ALC1200 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Intel [HDA Intel], device 1: ALC1200 Digital [ALC1200 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
But my problem is this: every time you start changing the order. Sometimes the card becomes 2 and other in 1. And of course, does not function in these cases. Play sound is like rolling the dice. That will never order.
How I can force that is always the order that I described above?
Thank you very much in advance.
Last edited by tanrax (2013-01-23 10:45:38)
Use the device names rather than numbers as described in the alsa wiki page on the arch wiki, or more details on wiki.alsa-project.org.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
You might also do something like create a shell script that runs from ~/.xinitrc that creates ~/.asoundrc.
For example:
card=$(aplay -l | awk '/ALC1200 Analog/ { print $2 }' | sed 's/://')
cat <<-EOF >$HOME/.asoundrc
defaults.pcm.card $card
defaults.pcm.device 0
defaults.ctl.card $card
exit 0
Read =https://wiki.archlinux.org/index.php/Alsa
topic Set the default sound card
I think I've gotten scared, because now you do not change the order . If I go back, I will follow your wonderful advice. Thank you all.
Pages: 1


text:
Motorcycle accident in Cornwall sends man to hospital in Westchester, New York
CORNWALL -- Police are continuing to investigate a Saturday afternoon motorcycle accident that sent one man to Westchester Hospital.
The accident closed Route 7 in Cornwall just south of Route 128 for several hours, in part because the motorcyclist collided with a northbound motorist's trailer. The motorcyclist, 65-year-old Richard Dimauro of Oxford, was transported to Westchester Hospital in New York via LifeStar with a compound fracture of his left leg.
According to the police press release, Dimauro was traveling south on Route 7 when he crossed the center line and struck the trailer attached to Richard Stone's truck. After hitting the trailer, Dimauro and his motorcycle both laid on their right side and slid to a final rest in the middle of the road.
Stone was uninjured as a result of the accident, and his truck did not have any apparent damage. Dimauro was wearing a helmet and high visibility clothing at the time of the accident, according to police, and his 2012 Ducati motorcycle was totaled.
Jason Siedzik can be reached at firstname.lastname@example.com, via Twitter at @RCjsiedzik, on Facebook at www.facebook.com/RCjsiedzik or by phone at (860) 489-3121, ext. 321. Follow us online at www.registercitizen.com or on twitter.com/registercitizen.


text:
Food Science: Chocolate Pop Rocks
Two things I love: chocolate and science. This video shows you how to make chocolate pop rocks. Pop rocks was a crazy new candy when I was a kid. Put them in your mouth and let the crackling begin. Pop rocks is basically a mixture made when sugar and water are heated and then injected with carbon dioxide gas. The cooled mixture is the pop rocks. Put them into your mouth, the sugar disolves and the carbon dioxide gas gets released (the pop). Chocolate is a complex mixture of many ingredients, primarily sugar, cocoa butter, cocoa liquor, milk or milk powder (for milk chocolate), and vanilla. Chocolate can be melted and mixed in with other ingredients to make many different flavor combinations. Basically this demo shows how to properly melt (temper) milk chocolate and mix in flavorless pop rocks (called pastry rocks). The results are delicious pieces of chocolate that melt in your mouth which lead to a suprise crackling of the pastry rocks. Science topics that are covered include energy in phase changes, properties of mixtures, and crystalization (chocolate has to reach specific temperatures in the melting process so that cocoa butter crystals form evenly).


text:
Why Do We 'Check In' to Hurricane Sandy?
Weather events are turning into social media parties as users 'check in' to hurricanes and 'snowpocalypses'. Foursquare's Rafi Syed joins Digits to discuss why Hurricane Sandy is catnip to social media users. Photo: Getty Images
This transcript has been automatically generated and may not be 100% accurate.
... I ... the ... welcome back to Digits to add WS J live continuing coverage of Hurricane Sandy which is fast approaching York City ... and is hitting the ... East Coast as we speak ... a lot of people ... are home I am and checked into Foursquare to checking in to Hurricane Sandy with all of ... the Siad joining us from sentences go is with Paul's web Rathi ... aam mice and writing on the Wesco's Palace by now ... the truth and thanks for joining us ... why are people doing this I mean ... I that need doing this for a sense of community what's going on ... this great unusual and instead offers visitors raises a grocery store is ... a hardware store and then when he said and threw her a ... glimpse of a new ... received over thirty five thousand people or injecting this year ... and people are going to get a piece and informational educational family for ... another day ... and Dom and and that sort of ... communicating with family and friends is very important is ... because a lot of people about why it especially when ... the fastening in and out of place ... maybe you call friends in York City ... are you sensing anxiety down the West Coast ... Thursday's victory for my neighbor ... a lot to report first read read closely you see your friends in check in to the hurricane venue on ... says ... there are going through the trees down the neighborhoods of the water coming in on the nature of ... her so it's really additional source of a ... time of the region ... so she can think of all time it's also for signs of a community all maybe they have nothing else to do now ... it is a maddening and you are a little bit but I think there is a sense of community ... of people a lesson in people check in when it brings something I ... couldn't read rather permanent their deftly is that happening as well to think they will find it's fun to go in and if so why ... it is going to be reviewed by the time I mean ... freezing investment in the other server large firms are losing out to check in a new vision a hurricane there's a snowstorm was only last year ... near the news even those big ... checking the news of the bond ... between together and and we're there yet ... so if you ahead this is what you be doing right right now I guess to be checking and sign their hair out I'm out with this with the stall ... you owe it to him ... so there's been some very interesting that's why the comments and why why I feel the need to show is a once a what you think of this ... on someone swing as Hurricane Sandy and I found the Apple ... in its twenty cents on my way it's NYC do any of you want me to pick you up Taco Bell ... told you ... I mean it that I am Settlement enlisted of ... dust in another restaurant several ... committees in the region using three hours and days of for for so maybe we'll ... start with what's on how long will take them on the side with in times of food if he would a theme and fruit I think Hurricane Sandy ... aam and actually an entire building ... I'd I think that ... that was that ... so ... let's hope nobody gets tough I mean ... it is fun to check and it's a it's fun to so to let people know what you doing what most of the storm has really paid ads one has become less fun when we stop to see buildings with top and roofs ripped off ... the enemy that is the euro and the best and I think that ... I'm ... going for preserving and it is for information that


text:
Land Law Advocacy for Farmers in China
Even though Chinese law offers farmers protection from land grabs, readjustments, and other confiscations, news reports paint a different picture of embattled farmers defending their land from local officials working in concert with developers. In fact, every year 3-4 million farmers lose their property to land readjustments and other forms of compulsory forfeiture in China.
Many of these farmers do not know their legal rights. According to independent surveys, fewer than 30% of farmers have heard of China's Property Law, the most important law governing properties, and land rights. As a result fewer than 10% of Chinese farmers ever appeal to administrative and judicial institutions when their land rights are violated.


text:
Make your Chevrolet stand out in the parking lot, in a traffic jam and in your garage with special accessories just for you! Get to know them.
Protect your Chevrolet Cruze's wheels and tires with these accessories.
Customize your Chevrolet Cruze® and give it a sporty appearance. Avoid making adaptations and arrangements that could affect your vehicle. Istead, install original accessories that fit perfectly. Includes front spoiler, rear skirts and trunk spoiler. Not valid with hood mask.
Add safety and style to your Chevrolet Cruze® with these practical accessories, which are ready to be installed and painted body-color.
Avoid complications; protect the moons of your Chevrolet Cruze's outside mirrors. These original GM Accessories are made of a durable material, which is unique on the market. You can paint them body-color if you wish.
GM's certified and approved protective films for automotive glass include professional installation, increase their performance, improve their appearance and protect the vehicle and its occupants. These films are developed using the latest technology and are available in combinations of solar control and safety.
Get ready for any terrain condition with these vinyl mats, suitable for all kinds of weather. They fit perfectly into your Chevrolet Cruze® and their unique design of cells allows them to capture any debris or liquid. Their lower tip design always keeps them in place.
® Chevrolet 2012 General Motors of Mexico, S. de R.L. de C.V.
*Images shown in this website are for illustrative purposes only