Online Shopping is fairly latest thing nowadays. We buy every little thing from food to digital gadgets online wamsutta mattress pad. Nonetheless, when it pertains to purchasing an item like a bed mattress that we are as well made use of to head to the shop as well as buy, we have the tendency to be hesitant sometimes. This can be rather justified given that a mattress is a rather a considerable buy and also returning such an item could be a hassle if you take place to earn a mistake with your option. Right here are a few of the points that you should know before you buy mattress online.
Are you searching for mattress sales to give your bed a brand-new life? Well, the mattress sector is all concerning straightforward points stood for in quite wamsutta mattress padcomplex fashion. It is great to recognize that mattress sales are obtaining more and also more frequent. Some of the leading suppliers use periodic bargains on routine and restricted time products. These mattress sales are appropriate for every person. For suppliers, these sales bring a great deal of advertising and some quick cash money flow. Whereas in customer's viewpoint – mattress sales come with unparalleled savings as well as customers seeking budget products also, in some cases locate it possible to earn a much better as well as quality acquisition. Being a client and also especially the one who is out on an extremely important objective of getting a cushion wamsutta mattress pad – you should maintain on your own stick with some principals. Always, believe before you click the "order" button as today' s advertising and marketing methods are kind of traps. Adhering to are a couple of, basic standards for individuals that are regarding to purchase bed linen items.
Hundreds of research study' s have already ended that sleep is vitally essential to our physical as well as emotional wellness and also well-being. Therefore, you have to be extremely cautious while purchasing anything from mattress sales. Relied on names usually do not put their name as well as organisation at threat for producing more by marketing inadequate or outdated products.
Well, never ever acquire an unsuitable mattress simply due to the fact that it is being supplied at a rate a lot minimal compared to its routine price. These kind of cushions fits those who like to sleep on their sides. These cushions are understood to be far better for sleepers that like to rest on their back or belly.
Once more, you have to deal very thoroughly here as it is an issue of your rest or sleep loss. We are not here to inhibit minor ones in business. Nevertheless, remaining lined up with considerable brand names could constantly be considered as a safe way to go. Heavyweights made all their popularity as well as magnificence by investing massive efforts and also sources. Nonetheless, attempting something brand-new for a pair of days as well as specifically when items are used with cost-free tests, is not a poor idea.
The memory foam bed mattress comes on the leading as they are the most prominent ones. These cushions offer a long life-span, they are offered at a competitive rate, and also their sturdiness ratings are way better than their counterparts. You could call it either innerspring bed mattress or springtime mattress straight.
Since you understand buying a cushion online will certainly not make you be sorry for at the end, allow's see the important things you can do it make your decision as much better as feasible. To begin with, it is incredibly crucial that you are plainly familiar with the kind of item you are searching for. Everybody has their very own style of sleeping. There are cushions which are better for back sleepers than side sleepers. There are some which would certainly treat someone with a stiff back better. Know exactly what you are choosing, and afterwards start searching for the bed mattress that would match all your needs. Otherwise, you are most likely to obtain distracted by all the options you will see and also finish up acquiring something that clearly does not suit you, your requirements or your lifestyle.
As stated above as well, one of the greatest benefits of on-line shopping is the access to thousands of individual reviews. wamsutta mattress pad There are unusual opportunities that a product is a lot much better than what it has actually been described by the users, however many of the time if the reviews are credible, it would give you an excellent insight right into the experience of making use of the cushion that you can not obtain from anywhere else.
When it comes to acquiring an item like a bed mattress that we are too utilized to going to the shop as well as get, we often tend to be hesitant often. Here are some of the points that you need to recognize before you buy mattress online.
Are you looking for mattress sales to offer your bed a new life? It is good to recognize that mattress sales are obtaining a lot more and much more regular. Whereas in customer's perspective – mattress sales come with unparalleled cost savings and customers looking for spending plan products even, in some cases find it feasible to make a much better and quality acquisition.
Hundreds of study' s have actually already concluded that sleep is really important to our physical and emotional wellness as well as well-being. Therefore, you have to be very cautious while purchasing anything from mattress sales. Trusted names generally don't place their name as well as company at danger for yielding more by marketing poor or out-of-date products.
Well, never ever purchase an improper mattress just since it is being provided at a cost much minimal than its routine cost. Continue as well as leave this for others. As a specific every person gains from his or her experience. In instance if you are not still certain about exactly what is going to function better for you than you can constantly go for FREE wamsutta mattress padappointment possibilities being provided below and also there. Those who currently are struggling with sleep problems or are dealing with persistent pains should always seek advice from with their orthopedic or a specialist as an easy adjustment in your sleep gear or rest habits occasionally can bring great alleviation. As an instance consider soft cushions. These sort of bed mattress matches those who prefer to sleep on their sides. Hundreds of vendors are manufacturing and also marketing strong mattress on the market. These bed mattress are known to be far better for sleepers that like to rest on their back or belly.
Once more, you have to deal really thoroughly below as it refers your rest or sleep loss. We are not here to dissuade small ones in business. Remaining aligned with considerable brand names can constantly be thought about as a safe means to go. Heavyweights made all their popularity and also splendor by investing substantial initiatives as well as resources. Attempting something new for a couple of days and specifically when items are used with free trials, is not a poor suggestion.
Well, by kind we could classify them into 3 different groups. The memory foam mattress begins the top as they are the most preferred ones. These cushions provide a lengthy life expectancy, they are available at an affordable rate, as well as their longevity scores are way much better compared to their counterparts. wamsutta mattress pad The second kind of mattresses we intend to state right here is called Latex Foam. They are likewise popular in offline and also on the internet markets. You can discover latex foam's all-natural and also artificial versions. In the majority of cases, they come comprising on a poly foam base whereas their core is composed of multiple latex layers to provide sleepers with more comfort. Right here comes the 3rd as well as the last primary type of bed mattress. You can call it either innerspring bed mattress or springtime cushion directly. These were really typical in the USA and Europe. The innerspring cushions come geared up with mechanical springtimes to provide the consumer with kind of a lift. However, today's generation has begun doing not like innerspring mattresses. Most of us recognize, our behaviors are transforming with the flow of time. Being components of an internet-based culture, we now have new concerns to resolve, and also our lifestyle is bringing adjustments in our sleep routines.
Since you recognize purchasing a mattress online will certainly not make you regret at the end, let's see the important things you could do it make your decision as far better as possible. To start with, it is exceptionally essential that you are plainly knowledgeable about the sort of product you are trying to find. Everyone has their very own style of sleeping. There are bed mattress which are better for back sleepers compared to side sleepers. There are some which would certainly treat someone with a rigid back better. Know specifically what you are opting for, and after that start searching for the cushion that would match all your needs. Or else, you are likely to obtain distracted by all the choices you will certainly see and also end up acquiring something that plainly does not fit you, your demands or your lifestyle.
As stated over too, among the largest advantages of online buying is the access to hundreds of individual evaluations. If the users are verified, the chances are that they would certainly review much more the weak points of a product that its great points– this is natural for us people and it fantastic for you as a new customer to extract the items that do not suit you. Review at the very least 20 reviews by previous users before you make the decision. The even more evaluations you could check out the better. There are rare possibilities that a product is a whole lot better compared to exactly what it has actually been defined by the users, but the majority of the moment if the evaluations are reputable, it would certainly give you a great understanding into the experience of using the bed mattress that you can not get from anywhere else.


text:
The Far Sideline
Football savant SCOT McCLOUGHAN helped build two Super Bowl champions. Now in exile, will he get a shot to build a third?
by Seth WickershamILLUSTRATION BY CHUCK ANDERSON
More from The Mag
Lindsay Czarniak: Gronk! The Interview.
Jeff Legwold: Q&A with DeMarcus Ware & Von Miller
Tim Keown: Hunter Pence on being Hunter Pence
Steve Wulf: Joe Maddon's journey to Chicago
NFL home »
IF YOU KNOW what to look for, Scot McCloughan's farmhouse is easy to find. Otherwise, good luck. The land near the Nooksack River in Ferndale, Washington, about 90 minutes north of Seattle, is vast and remote. When I arrive on a November evening, I drive past McCloughan's house to the dead end of a dark road. A nearby farmer sees my headlights and steps onto his porch to ask me politely who the hell I am and what the hell I'm doing. McCloughan moved to Ferndale a few months ago, in a sort of exile from his football life, and though he is well-known in NFL circles -- for his genius and his demons -- most sports fans don't know his name. I tell the farmer that the person I'm looking for just moved here, and he directs me back down the road. After a quarter mile or so, I see, at the end of a long driveway on a potato farm, the glow of a TV coming through the window of a dark room -- exactly the way a lifelong scout would want it.
"Hey, bud!" McCloughan says at the door. He has rosy cheeks and reddish-blond hair and a scar on his right hand from when he punched a window in joy after one of his players intercepted a pass. Considered by many to be football's best talent evaluator, McCloughan likes it out here. He runs a few miles every morning, through the woods and down to the banks of the Nooksack. He has a fiancée named Jess -- he met her years ago, but they got engaged only recently. They just returned from a week in Hawaii, the first fall vacation of McCloughan's professional life. He has a vegetable garden in the back yard. He's 43 years old and feels as if he's at the peak of his abilities. "Life is good," he says, making it easy to forget why he's on a farm in Ferndale, nowhere near an NFL front office.
THERE'S AN OLD JOKE in the NFL that everyone is either born-again or alcoholic. Scot McCloughan isn't born-again. And if the former 49ers general manager and onetime senior personnel executive with the Seahawks wants another shot at a front-office job, he is going to have to prove to NFL owners that he doesn't still have a drinking problem. They will be intrigued by McCloughan because he has all but mastered the ability to determine whether and how a college football player will fit into the NFL. They will have serious questions, too. His battles with alcohol are known in league circles, but it's an issue he has never discussed publicly. Now, considering a return to the game, he has me up to the farmhouse to spend a few days. "Write the truth," he says.
I'm expecting McCloughan to trot out the typical maxims and language of substance abuse and recovery. He has experienced a renaissance of sorts in Ferndale. Although he has become semi-famous around town for helping to bring the state of Washington its first Super Bowl this past February -- the lady at the cellphone store calls him a "hero" -- most of the town simply knows him as Scot. On Tuesday nights, he joins a few hundred other guys at a nearby church. Veterans, farmers, homeless locals. They eat and laugh and read spiritual passages. He has not always been proud of himself and his lifestyle, but right now, he seems especially comfortable in his own skin. "I had a drinking problem," he says. "I'm a good person. And I know how to run a team."
So, how to make sense of the fact that, shortly after I arrive, he sits in an overstuffed recliner in his living room to watch the Thursday night NFL game and opens a light beer?
McCloughan was seemingly at ease in San Francisco's war room just before making the 49ers' first-round pick in 2007. Michael Zagaris/Getty Images
JUST BEFORE 9 O'CLOCK the next morning, McCloughan is checking out college football players on video. He runs his own scouting business and says a handful of NFL teams pay him $75,000 each to evaluate players. He moved to Ferndale from Seattle because the open space reminded him of his hometown of Loveland, Colorado, but his farmhouse has the feel of a temporary residence, the marks of someone straddling worlds. Rented furniture, no pictures on the walls. On the floor are framed photos of his three children from a marriage that began to collapse when his life did. In one, son Caden, 15, leans into his dad's chest as confetti falls after last season's Super Bowl; in another, twin daughters Adison and Avery, 11. They live in Northern California with their mother, Scot's ex, Kelli. He talks to them every day, and before they hang up he asks them to pray.
He has two Super Bowl rings locked in a safe. Each of the three teams for which he has worked in his 20 years in the NFL -- the Packers, two stints with the Seahawks, and the 49ers -- has reached the Super Bowl during his tenure or shortly afterward. McCloughan had a part in drafting six players who were on the Pro Bowl roster last season, including Patrick Willis and Vernon Davis. His report on Russell Wilson for the Seahawks a few years ago read: "Obviously we are really interested in passers with better height, but this guy may just be the exception to the rule. He has the 'it' factor."
So does McCloughan. He has an "exceptional ... uncanny" gift, in the words of his mentor and former boss Ron Wolf. It's why he named his business Instinctive Scouting. This morning, he is consumed with an FBS middle linebacker projected by many to be a sixth- or seventh-rounder. But on a play in which the linebacker sprints to the sideline to make a tackle on a bubble screen, McCloughan sees something others might miss. The linebacker smelled a screen before anyone else and was just fast enough to get to the receiver. "You can't teach that," McCloughan says. He leans forward, quietly rewinding split seconds of the clip again and again.
McCloughan admits he misses on players more often than he hits. But to sit next to him is to be in the company of a kind of football savant, deftly mixing technical observations with X-rated yarns about players and coaches he's met through the years. There is something deeply personal about the way he works, and he often inserts himself into the process, fully aware the NFL isn't a home for the well-adjusted. A few years ago, at the combine, he interviewed a player who had repeatedly tested positive for marijuana. "OK," McCloughan said. "I like to drink beer. You like to smoke weed. Where'd it start?" Disarmed by McCloughan's openness, the player explained that, when he was 5 years old, he had a headache and his mother gave him a joint. It became a way to cope. "That's all he knew," McCloughan says. "It wasn't like he asked for the joint. But you do something long enough, your body acclimates to it and wants it."
In McCloughan's eyes, forthright is more important than letter-perfect. "I'm not sure that people can change from the way they were raised," he says.
McCloughan had a hand in drafting a list of notable players. Clockwise from top left: Russell Wilson, Vernon Davis, Patrick Willis, Frank Gore, Richard Sherman and Joe Staley. Clockwise from top left: Kirby Lee/USA TODAY Sports; Al Bello/Getty Images; Michael Zagaris/San Francisco 49ers/Getty Images; Damian Strohmeyer/AP Images; Tony Avelar/AP Images; Damian Strohmeyer/AP Images
HE WAS RAISED to work hard and play hard and, when in doubt, work harder and play harder. His father, Kent, a former Pro Bowler, played cornerback for the Raiders and was later such a valuable scout for the team that Al Davis wouldn't let him retire. The youngest of three brothers, Scot would join Kent in the basement, where the film projector was set near a bar. Father and son would scout players, sometimes until 2 a.m. When Kent was on the road, Scot would watch film alone and write reports. He'd even skip school to watch the draft, back when it was a weekday nonevent. They had a special bond, but to this day Kent has never told Scot he loved him. "Tough guy," Scot says. "Old-school."
The McCloughans are proudly Irish, and alcohol was part of their weekends. When Scot was 14, he tore up his left knee, ending his football career, which to this day brings him to tears. It was around that time that he first remembers drinking beer.
After knee surgery, McCloughan went on to play baseball at Wichita State and was eventually drafted by the Blue Jays. One day in 1994, as an outfielder in the minors, he got a call from Wolf, then the GM of the Packers and a good friend of his dad's. Wolf offered McCloughan $18,500 annually to be a scout for Green Bay. He took it, and his dad joined him on his first trip. Their motel room was littered with cockroaches. "This is what you've gotta get used to," Kent said.
Scot worked hard and played hard in those early years. McCloughan's first big score was a seventh-rounder from South Dakota State named Adam Timmerman who later became a Pro Bowler. Impressed, Wolf called Kent and said, "Your son will go as far as he wants in this business."
Scot wanted to go further than his dad. Scot wanted to run a team. In 2005, at age 33, he was hired by the 49ers as vice president of player personnel. In 2008, he was named GM. He was the first of his peers to be in charge of a franchise. He owned one suit, which he had so outgrown that he couldn't button his pants for his introductory news conference, but he was now responsible for everything from determining the roster to picking colors for stadium seats.
"Looking back," he says, "I don't know how I did it."
McCloughan wasn't mad when 49ers owner Jed York asked him to leave the team -- he said he was grateful for York's support over the years. Michael Zagaris/Getty Images
SCOT AND I got to know each other in those years when he was with the 49ers. I admired how success hadn't seemed to change him. In a league of trading favors, he helped me dozens of times, whether it was watching film or dishing the unvarnished truth about a player, and never asked for anything in return. Scouts who worked for him would privately marvel at how he ran a draft room, in total command yet seemingly egoless, and able to cut through the overthinking that too often goes into scouting. Other GMs even called him for last-minute advice on draft day.
We drank together many times at the combine, always at a low-key sports bar. Although he could pound a beer impressively, it never occurred me to he might have a problem. If he did, everybody did. "Scouts would have five beers before dinner, because that's what people do," McCloughan says. "That's who they are. It's a professional sport, drinking -- especially in football."
Sometime in 2008, McCloughan stopped hitting the bars. I assumed he was busy, which he was, and thought maybe he was working out a lot, which was true. But he also was drinking. Alone. The 49ers were losing, and although he was slowly building what many would later consider the league's most talented roster -- spotting middle-round gems such as Frank Gore -- he knew he might have to fire coach Mike Nolan, which he eventually did. It tore him up. He'd see the wives and kids of coaches and feel the weight of their lives, the silent pain of a cutthroat business.
He tried to deaden the pain by logging more hours, refusing to delegate. At Christmas, he watched his kids open presents, then left to go to the office, even though he had nothing to do. He ended up turning back home, but a dull guilt remained. When he was at work he should be at home; when he was at home he should be at work. And he kept drinking, which made him feel guiltiest of all. Work and life "became too much for him," Kent says. His marriage started crumbling. Kelli, who declined to speak for this story, told Kent, "We have to do something." Scot checked into a Betty Ford clinic, hoping to save his marriage. "It worked," McCloughan says. "For a while."
"Scouts would have five beers before dinner, because that's what people do."
- Scot McCloughan
He actually liked the 30 days away. He was forced to unplug. In rehab, he wasn't a GM. He ate well. He says he appreciated that Jed York, the 49ers CEO, visited him. McCloughan meditated and read spiritual passages and discussed the 12 steps. Clinic staffers asked him about his drinking pattern. "I said, 'OK, I'll go a week, week-and-a-half and drink beer every night. Then I'll go three months and not touch the stuff. Not touch a drink.'"
He returned to work a month later with the belief that he had abused alcohol but is not an alcoholic. And he also returned to the long hours of his job. One day, there was a man he'd never met before waiting for him in the lobby of the team building. He shook McCloughan's hand and said, "I appreciate everything you do for the 49ers." Then he handed McCloughan divorce papers. "That's when I went into a funk," McCloughan says.
Beer no longer worked. McCloughan needed something quicker, stronger and harder to detect. He chose vodka. Soon, he was drinking it all day out of a Gatorade bottle. "It'd take me away from reality," he says. "All of a sudden, everything's gone. Just have peace. Everything that was going on with my wife at the time, everything with the kids, everything with the job, it's OK. ... That was my drug. It was a liquid drug."
He started spending nights at work, either on his office couch or in the players' lounge, where staffers arrived to see him asleep one morning. He moved to corporate housing, where he felt worse than alone. If not for work, he says, "I'd probably be dead, I was so miserable."
But work was slipping away, too. Pictures of his family in his office reminded him of a life that had spun out of control. In meetings he says he would sometimes "kill every player, just because I was pissed." He would think, It's all right that she left me. It's all right we're not winning. McCloughan says some staffers noticed he was slurring his words.
A month before the 2010 draft, McCloughan says that York asked him, "Is it time we separate?" McCloughan wasn't mad -- he felt grateful for York's support over the years -- but if someone doesn't want his help, he says, "I'm gone."
Seahawks GM John Schneider, here with Pete Carroll at the White House, is one of McCloughan's best friends. He originally offered McCloughan a job on the Seahawks' staff. Chip Somodevilla/Getty Images
THERE WERE WHISPERS around the league that McCloughan was in trouble in his personal life -- hardly an anomaly in pro football. But nobody, not even most of McCloughan's friends, knew how truly bad things had gotten. People called to check in. "You OK?" He dismissed any hint of pain, always in a jovial tone, always with the uncompromising conviction of one of his scouting reports. "I'm not going to reach out to people for help, ever," he says. Message boards lit up with mean-spirited speculation about his departure from the 49ers. "You can't defend yourself once it's out there," he says. "It's like you're showing them that it's true. And so I had to sit there and take it."
Seahawks GM John Schneider, one of his best friends dating back to their days as cub scouts with the Packers, saw a chance to help a buddy -- and to add someone he knew as "an excellent evaluator." He offered McCloughan a job as one of the top evaluators on Seattle's staff, and the two of them worked well together, turning the sleeper Seahawks into world champions. McCloughan's name started to pop up for GM openings. He says he didn't drink during his first 13 months with the Seahawks and even served as a designated driver for other scouts. But he was lonely. He lived alone in an apartment in downtown Bellevue, and, scarred by his divorce, he didn't date. "I'd think to myself, 'OK, Scot, why not have a beer? It never affected your life before; you went from being an area scout to being general manager. Don't touch the vodka, don't touch the hard stuff. But if you want to have a beer, have a beer.' So that's where I got to. I stopped going to AA."
That's what he says he will tell NFL teams if they come calling now. He knows he sounds as if he's splitting hairs about the distinction between beer and hard liquor, and he's aware of the fact that conventional wisdom says recovery is an all-or-nothing proposition -- even if some evidence suggests most heavy drinkers, which McCloughan says he's not, are functional. "If I was an alcoholic and had a beer, I'd have two, then four, then six, then ... you know, you can't stop," he insists. "I can. I can have a beer and I'm fine. I don't need any more."
It's a distinction that, in the end, didn't work for the Seahawks. McCloughan resigned shortly before this year's draft. Neither side will discuss the specifics publicly, but Schneider says: "Everybody had to be held to the same standard, and because he's one of my closest friends I couldn't let him get away with things that others couldn't get away with."
Will teams believe McCloughan when he insists he was tired of the travel and the meetings and ready to move on from a job he never planned to hold for long? He's asking to be seen differently, and the NFL doesn't usually like different. But he has also watched other GMs and coaches run teams while secretly maintaining their own vices; one GM even told him he wishes he could manage his drinking as well as McCloughan does. His plan is to be transparent, he says, "about who I am."
Those who've worked with McCloughan all privately say the same thing: They love him and love working with him, and they also worry they might get a call saying he's in real trouble. His departure from the Seahawks brought another round of concern. As in 2010, McCloughan said he was fine. He had thought for years about starting his own business, a chance to scout without the hassles of a staff job. He remembered a two-week scouting trip he took a few years ago with his dad. As soon as they'd get in the car, Kent would fall asleep in the passenger seat, 69 years old at the time and exhausted from the grind. "That's not who I want to be," McCloughan says. He registered an LLC, got a new cellphone number, bought $10,000 worth of equipment and software, relocated to the farm -- and immediately began to wonder whether the world he had set up for himself was enough.
EIGHT MONTHS LATER, McCloughan sits in his chair, a dip in his lip, grading players, imagining what's next. "Do I want to be a GM?" he says. "An area scout? Run my scouting service? A director of player personnel? A lot of options."
He truly doesn't know. On one hand, he has found a way to scout while living a balanced life, doing the things an NFL job simply wouldn't allow. The flights he catches now are not for scouting trips but to Northern California to watch Caden's football games. He proposed to Jess in a rental car -- typical scout -- and she said yes. He can earn six figures and sleep without losses swirling in his head and drink a beer without judgment. It would be hard to give that up. "One day I love it, love the free time," he says wistfully. "But the next day..."
The next day he feels almost biologically compelled to work for a team, as if he owes it to his family and to his talent. His father, for one, wanted him to stay with an organization rather than run his own business. It's a longing McCloughan struggles to articulate, which is probably why his farmhouse is livable but temporary. He wants to win another Super Bowl, and he wants to learn whether he can do so and still be his best self. The pressure, internal and external, is slowly creeping up. His name has been floated for expected openings in Oakland and elsewhere. Some scouts, eager to climb on board, have visited him in Ferndale for face time. McCloughan has mapped out potential hires for key positions, a support system of people who accept him, faults and all.
He sits in his recliner, obsessed with that FBS linebacker. He works through lunch, barely uttering a word, rising only to use the bathroom and to exchange an old dip for a new one. He is discovering a player, yes, but he is also connecting with a vital piece of himself. When he finishes his report and gives the linebacker a second-round score -- "I'm the only guy in America who'll give him that grade," he says -- he is so proud that he has unearthed a steal that it's easy to imagine him as a boy, writing reports for his old man. Then he jokes that he should lower the grade so the steal will fall right into his lap come draft day.
Later, we go to a roadside restaurant and sit in a back booth. It's happy hour, and the place has a festive vibe. The sun shines through the windows, and a few patrons at the bar are already well-lit.
McCloughan orders a light beer.
We spend the next 40-odd minutes revisiting the morass of the past few years. It's surreal to listen to him attest to the damage of alcohol over alcohol.
When I tell people who know him I'm going to visit McCloughan, everybody asks the same question: Is he good? In football, it's understood that once someone is "good," they're ready to return to the game. Over the next two days, we will watch more than 20 hours of football, college and pros. On Sunday, he'll root for the 49ers in the morning and the Seahawks in the afternoon. No grudges. He'll drink water. He'll think about which scouts he would hire if he were to become a GM and jot the names of potential head coaches in a small notebook. There are reasons to be skeptical, but his happiness seems real.
Back at the restaurant, the waitress stops by our table.
"Would you like another beer?" she asks.
"I'm good," he says. "I'm good."
Follow ESPN Reader on Twitter: @ESPN_Reader
Join the conversation about "The Far Sideline."
The Burning Desire of Texas A&M
Fifteen years after the horrific collapse that killed 12 students at Texas A&M, the Aggies are once again building -- and setting ablaze -- a monstrous conflagration. Which begs only one question: Why? by Scott Eden
Yoda Of The Air Raid Offense, He Is
Talk all you want about the gridiron genius of Nick Saban, Gus Malzahn or Chip Kelly. But it's Hal Mumme who brought you the game you're watching today. by Kevin Van Valkenburg
The Long Way Home
Demaryius Thomas is within reach of realizing all his NFL dreams. But to gain what he wants most -- his family reunited -- he's learning to let go of what tore them apart. by Eli Saslow
Texas stadiums by day and by night
High school football stadiums aren't much to see in the afternoon--even in Texas. But by nightfall? On a Friday? There's nothing better. Our photographer captured four iconic Texas stadiums by day and by night. by Gus Elvin

redpajama_set_name: RedPajamaCommonCrawl


text:
Cricket Betting: South Africa vs England 1st Test Preview
December 23, 2015 by Sports Betting Tips Posted in Cricket Tips
Two of the best Test teams going around – South Africa and England – will lock horns for the Basil D'Oliveira Trophy starting this Boxing Day. The first of the four Test matches starts on the 26th December at Kingsmead, Durban.
The Proteas remain the #1 Test side in the world but their confidence must have been dented by the disastrous 3-0 defeat in India. The only solace is that the pitches back home are more suited their style of play. England too come into this series on the back of a 2-0 series loss to Pakistan in the spinning pitches of U.A.E. How fast can the two teams adjust back to the seaming conditions will be vital.
The home side will be without Vernon Philander for the first two matches while Dale Steyn is reportedly fit and should lead the attack once again. Kyle Abbott will fight with Kagiso Rabada for the third seamer option. If the pitch calls for it, the hosts can even go for a four-prong pace attack.
The fortunes of the home side's batting will revolve around Hashim Amla and AB de Villiers who come on the back of a contrasting Indian series. Amla found it hard to score runs but should welcome the sight of true South African pitches. AB was the lone beaming positive in India and will be a bigger threat here.
England generally put a lot of emphasis on Test matches and this series is no exception. Their two practice matches should bear a testimony of this fact. The omission of Ian Bell raised many eyebrows but it is the opening conundrum that is giving Alastair Cook many nightmares. Who walks out with him at Durban is still a question mark but first evidence suggest it could be Alex Hales.
The visitors' bowling received a timely boost with the return to fitness of Steven Finn who joins the squad. It
will be a test of technique for the hosts with James Anderson and Stuart Broad raring to go. And how can we not talk about Joe Root with the bat who should be the torch bearer for England along with Cook.
England have happy memories of the ground with an innings win in the 2009 Boxing Day Test. For South Africa, there were four losses in the last five matches here. Another key fact is that only one of the last 12 matches has been drawn here. The Draw is priced at $3.45 at Sportsbet, with South Africa slight favourites at $2.29 to England's odds of $2.95. At those prices, it's hard not to favour the hosts for a small bet.
Amla will be eager to compensate for the loss of form in India and at odds of $4.00 at William Hill looks a good bet for South Africa's leading run scorer in the first innings. For England, Cook at odds of $3.75 at William Hill looks an even better bet. Finn could be the surprise top England bowler at odds of $5.00 at William Hill while Morne Morkel could just be the guy for the hosts at odds of $3.50 at William Hill.


I don't think anyone means any harm when they ask youth pastors what they do.
I think people are mostly curious.
It's funny when teenagers and kids ask this question because they genuinely want to know what you do with the other 38 hours of your work week. If two of them are spent with us, then what do you do for the rest of the time? I LOVE getting to tell them what I do. I always enjoyed days when kids would career shadow our ministry team.
They have no idea how much praying, planning, meeting, deciding, dreaming, doing, working, connecting, fixing, breaking, wishing, begging, testing, engineering, developing, collaborating, messaging, practicing, balancing, delegating, and communicating is actually being done in a day. It's fun to watch them discover it for themselves.
I like to show them how much math is a part of my job (budgeting, measuring).
I like to show them how much I use history and science to tell stories.
I like to show them how a ministry degree really helped me and I like to show them ways I keep learning.
I like to show them how important it is to listen and to ask for help.
I like to show them that it's ok go run with a wild idea and believe that you can succeed.
I like to show them my fails and how we worked together to correct them (if we could) or heal from them (if we couldn't).
Lately, I've heard this question more than I ever have. I guess people want to know.
Again, it's genuine care and more curiosity.
And I love getting to share what it is that I do.
Since most of my friends are still asking. I thought I'd share what I do with you too.
I began new adventure as the justice advocate for The Church of the Nazarene four months ago.
I am proud of our denomination for doing such a brave thing. They decided to do something that hasn't been done before. They decided to encourage their compassionate arm reach out to their youth ministry arm to strengthen discipleship and personal ministry in the body of Christ. What an amazing move on their part!
When they asked me to help. I was humbled and honored that they would affirm this role and my part in it. Since I began in ministry I grew into what I think of as signature ministry tools that grew out of passions for contemplative/ spiritual formation, justice advocacy, and sustainable youth ministry.
Today, I get to use all of these tools together to do something incredibly significant in the life of the Church–work to engage teenagers in compassionate living. I love Jesus, get to be a wife and a mother, while serving the global church to build the church. It still seems too good to be true.
My focus is building the Church and helping young people reach their potential in Jesus.
So what does this look like at my desk and in my travels? What am I doing now?
Here are some of the specifics of what my ministry looks like today.
My job is to build partnerships with local churches and youth ministries around issues of global poverty and justice. This includes churches in every region of the world. My goals are not U.S. centric- they are globally focused. I serve the global mission of the church to build the church through people who are loved, knit together, and motivated by the love of Christ.
I continue speaking as a way to educate and engage youth in issues surrounding global poverty, as well as promoting discipleship in the Church of the Nazarene and in the Church at large.
I work together with partnering organizations. Friendships are holy collaborations that extend our abilities to love the world and the people in it. I believe that the church and the family go together–that Christian spirituality and compassionate living can happen at any stage of life and that we should pay attention to how we can work together and how we can support each other.
I dedicate time to learning more and speaking more about middle school ministry, crisis care, spiritual formation, justice advocacy, life-span development, relational reconciliation, writing, and sustainable youth ministry. It's the stuff that's in my bones. I can't get it out. It's why I really love working with Orange–they encourage us leaders to get the good stuff out and use what we find to build bridges between families and the church. Love it.
I also listen to a lot of podcasts while driving to the airport 1) Because there are some really good ones out there and 2) I really did want to know about the culinary history of spam (the canned meat). I'm telling you, life is too short to let valuable knowledge die on the internet.
I'm sure this list will This is my 14th year working in my dream job and every year "what I do" changes a little.
What doesn't change is why.
My life has been changed by Jesus Christ–the love that came from his life is worth all my life has to give.
If someone is wondering about it, take the time to tell them. Your story is one that others needs to hear.


text:
Q: codeigniter validation form upload library
function upload($upload_path = '', $file_name = ''){
    $config = $this->config($upload_path);
    $this->CI->load->library('upload' ,$config);

    //thuc hien upload
    if($this->CI->upload->do_upload($file_name)){
        $data = $this->CI->upload->data();
    }
    else{
        //khong upload thanh cong
        $data = $this->CI->upload->display_error();
    }
    return $data;
}
function config($upload_path = ''){
    //Khai bao bien cau hinh
    $config = array();
    //thuc mục chứa file
    $config['upload_path']   = $upload_path;
    //Định dạng file được phép tải
    $config['allowed_types'] = 'jpg|png|gif';
    //Dung lượng tối đa
    $config['max_size']      = '500';
    //Chiều rộng tối đa
    $config['max_width']     = '1500';
    //Chiều cao tối đa
    $config['max_height']    = '1500';
    //load thư viện upload
    $this->CI->load->library('upload', $config);
    return $config;
}

edit action
function edit(){
     $id = $this->uri->rsegment('3');
     $news = $this->news_model->get_info($id);

     if(!$news){
         $this->session->set_flashdata('message', 'Không tồn tại bài viết này');
         redirect(admin_url('news'));
     }
     $this->data['news'] = $news;

     $this->load->library('form_validation'); //load thư viện
     $this->load->helper('form');  //load helper
     /*===============================================validate và update data===========================================*/
     if( $this->input->post() ){
         $this->form_validation->set_rules('title' ,'Tiêu đề bài viết ','required');
         $this->form_validation->set_rules('content' ,'Nội dung bài viết','required');

         if( $this->form_validation-> run()){
             $this->load->library('upload_library');
             $upload_path = './upload/news';
             $upload_data = $this->upload_library->upload($upload_path, 'image');
             $image_link  = $this->news_model->get_info($id, 'image_link') ;

             if( isset($upload_data['file_name']) ){
                     $image_link = $upload_data['file_name'];
             }

             $data = array(
                 'title'      => $this->input->post('title'),
                 'content'    => $this->input->post('content'),
                 'image_link' => $image_link,
                 'meta_desc'  => $this->input->post('meta_desc'),
                 'meta_key'   => $this->input->post('meta_key'),
                 'created'    => now()
             );

             if($this->news_model->update($news->id , $data)){
                 $this->session->set_flashdata('message', 'Cập nhật dữ liệu thành công');
             }
             else{
                 $this->session->set_flashdata('message', 'Không cập nhật dữ liệu thành công');
             }
             //chuyển tới trang danh sách quản trị viên
             redirect(admin_url('news'));
         }

     }
     $this->data['temp'] = 'admin/news/edit';
     $this->load->view('admin/main' , $this->data);
}

I edited the data are not required to upload photos
when I clicked update button without upload file error occurred

A: $data = $this->CI->upload->display_error();

this is wrong method call. It should be like this
$data = $this->CI->upload->display_errors();

redpajama_set_name: RedPajamaStackExchange


In aerospace and space exploration a satellite, also known as an artificial satellite, is a manmade object launched into space to orbit the Earth, moon, sun or other celestial body. Although the word satellite is now connected with the world of space exploration, it is actually quite an old word. Its origin can be traced to the Latin word satelles, meaning "one who escorts or follows after an important person." This is also the original meaning of satellite in English. Because the moon can also be thought of as "escorts" of the planets they orbit, they also became known as satellites. The satellites in the modern day made by humans got their name because they, like the moon, orbit the earth.
The Sputnik 1 was the first artificial satellite was launched into orbit by Soviet Union in 1957. The Sputnik 1 was every simple in design, in comparison to modern day satellites. The Sputnik 1 was a small aluminum ball, about the size of a basketball, with four long antennas only weighed 183 pounds. The Sputnik was primarily designed to broadcast radio wave pulses to see how they react in the atmosphere. Modern satellites of today are much more complicated and are all built using the same basic platform. The main platform, called a bus, contains all the main systems, including the batteries, computers, and thrusters. Attached to the bus are the antennas, solar panels, and instruments like cameras, telescopes and communications equipment.


"If I marry my aunt, I become my own uncle!"
This is not a one-solution puzzle, as according to the information given there is a range of possible solutions.
a) The shape delimited on the Xmas tree forms a trapezium/trapezoid.
b) The opposite angles of the lower base add together and equal 90 degrees. Then, if we extend the legs of the trapezium/trapezoid they will meet at an angle of 90 degrees. All the possible 90-degree angles are inscribed in a semicircle (Thales' theorem, see diagram above). In consequence, the height h is maximum when any of the angles of the lower base equals 45 degrees.
Trapezoid: N. Amer. a quadrilateral with only one pair of parallel sides.
Trapezium: Brit. a quadrilateral with only one pair of parallel sides.
Base: one of the parallel sides of the trapezium/trapezoid. Every trapezium/trapezoid has two bases.
Leg: one of the sides of the trapezium/trapezoid that are not parallel. Every trapezium/trapezoid has two opposite legs.
Now, find the value x of JK (this is a one-solution puzzle! See diagram below).


text:
Home People Huntington Ingalls biz names nuclear operations VP
Huntington Ingalls biz names nuclear operations VP
Retired Vice Adm. Thomas Moore served 39 years in Navy
Published January 15, 2021 by Sydney Lake
Vice Adm. Thomas Moore (U.S. Navy, Ret.). Photo courtesy HII
Newport News-based Huntington Ingalls Industries (HII) announced Wednesday it has hired retired U.S. Navy Vice Adm. Thomas Moore as vice president of nuclear operations for its Nuclear and Environmental Services business group.
Moore served 39 years in the U.S. Navy, retiring in August 2020 as the commander of Naval Sea Systems Command, where he managed more than 83,000 people and an annual budget of more than $50 billion.
In his new role, he will oversee all nuclear operations for the business group's Department of Energy portfolio. He will report directly to Michael Lempke, president of HII's Nuclear and Environmental Services business group.
"Tom is an incredibly talented leader with nearly four decades of exemplary service to our nation," Lempke said in a statement. "I am proud to have him on our senior leadership team and look forward to working together in supporting the mission of the DOE."
Moore earned his bachelor's degree in operations analysis from the U.S. Naval Academy, his master's degree in information systems management from The George Washington University and another master's degree in nuclear engineering from the Massachusetts Institute of Technology.
HII is the nation's largest military shipbuilding company, employing more than 42,000 people worldwide.
HII lands $284.2M in contract modifications on USS JFK
Ford-class aircraft carrier will now be delivered in one phase
Northrop Grumman CEO Kathy Warden to chair Aerospace Industries Association board
Huntington Ingalls Industries CEO Mike Petters will serve as vice chair for 2021
Huntington Ingalls wins $213.9M Navy contract
Newport News-based military shipbuilder to perform engineering services


Port Dover, Ontario, is on the north shore of Lake Erie and about an hour from Toronto.
It's still a fishing port but today is more famous for vacationers, daytrippers and, in particular, the regular 'Friday the 13th' motorcycle gathering.
Every Friday 13 throughout the warmer months, motorbikers from across Ontario descend on this small town in huge numbers.
Before this puts you off visiting, you should know these are regular folks who like motorcycles, not biker gangs, though they may look a little suspect in all that biker gear.
The town began as a small fishing harbour in the 1790's but only really started to grow in the mid-1800's.
It grew steadily through the last century when it shipped products and passengers back and forth across the lake.
Today, it's still an important fishing port and you can sample the catch in the town's many restaurants or take it home a smoked fish, either Perch or Trout.
However, like Port Stanley, its port is now only for smaller vessels as commercial traffic goes by road, rail or, if it's big enough, by lake freighter.
The days when steamers raced across the lake between Port Dover and Erie in Pennsylvania carrying trippers and rail cars are sadly long gone.
On a summer day, the beach is filled with families and teens enjoying the sun and sand.
For the more active among us, there's beach volleyball and other sports. Of course, there are water activities too, like sea-doos, for hire. The beach is small but the sand is fine and it faces due south, a wonderful sun-trap sheltered by the trees and higher land behind where the town stands.
Walker Street, the main street down to the beach but not 'Main Street', which runs across the town parallel to the lake, is small, no more than a block, but it has everything a hungry beach person could want -- ice cream, cold drinks, fries, hamburgers and hot dogs.
These stores and the beach bar and restaurant called, appropriately, The Beach House are best placed to capture the beach trade. Like Port Stanley, the local dish here is lake perch, though you can get pickerel and other fish.
Off Walker Street, on Harbour Street is a small fish shop selling smoked Lake Trout, Lake Salmon and others, such as Sturgeon. They also serve fresh fish but that's a bit harder to carry home. Also along Harbour and the small streets that connect the two are other bars and restaurants such as Willie's.
Also off Walker Street are other bars and restaurants and all, so far as I can tell, particular to Port Dover. There's a refreshing lack of chains in the town's food (and drink) chain. One really old establishment is the Norfolk Tavern, pictured here, which is on Main Street!
Another fine old establishment is the Erie Beach Inn right on Walker Street just north of the fast food block and before you reach Arbortown, an area of yet more fast food and other attractions (like mini-golf) on the south side of the bridge crossing the Lynn River on Hwy 6.
The Lynn River and Black Creek, that provide the harbour, and Silver Lake are also visitor attractions.
A pontoon boat, River Rider, carries visitors on either 1 hour or 4 hour trips up the waterways to see the riverside homes and historical sites.
The Lighthouse Festival Theatre Port Dover Harbour Museum with wonderfully nostalgic photos and artifacts of old Port Dover.
Here's the Warplane Heritage Museum's Fairey Firefly over the town with a Canadian Warplane Heritage Museum visitor (and paying passenger) onboard for an aerial view of southern Ontario. There aren't too many places around the world where you can fly in a genuine WW2 plane. And another way to enjoy seeing Port Dover and the coast line between here and Port Stanley is to travel by bicycle, which is easy to do because the land along here is fairly level.
Like Port Stanley, the town is on Lake Erie. For a similar place to visit, but on Lake Ontario this time, come to one of the most carefully preserved small towns -- Port Hope.


The final session schedule for this training season has been moved out two weeks, due to the weather delays. Orientation for the new Basic/Beginner will be April 3; classes with the dogs will start April 10.
All classes, Session 4 starts April 10. Be sure to sign up, at the Registration Table, for what you want to take.
Session 4 will offer "Tricks" class at 6:30 in Ring 1. "AKC Star Puppy" class will meet at 7:20 in the area between Rings 1 and 2. Please be sure to inform Registrar, Robin Graham, if you are signing up for either of those classes.
Rally will be "pay as you go Run-Throughs" for the month of April.
We will be in Shipley Arena for the month of May.
Congratulations to DOTC President, Gail Phillips and her Gedi (Die Tauben Landung Gedi RA RI CA BCAT CGCU TKN) for earning his DCAT title on Friday, Nov. 2, 2018 at DOTC's FastCAT event!
DOTC congratulations member Cleo Curry and her Blue (Brier Havens Blue Bandit) on earning their FCAT title. Blue is only the 5th Australian Cattle Dog to earn this title! Their title was finished at the Oriole DTC's October 30, 2018 FastCAT trial. Way to go, Cleo and Blue!
Big congratulations to DOTC President, Gail Phillips, and Vice-President, Barb Awtrey. They both found out, today, that they, and their dogs, Sascha and Maxwell, earned their RACH (Rally Champion) titles! Way to go, teams! We are so very proud of you!
"Hello, all. All DOTC members should have received an email this evening from VP Barb Awtrey. It contains some very important information and dates. If you did not receive this email, please contact Barb (barbawtrey@verizon.net) AND our Registrar, Robin Graham (RLGraham56@aol.com) and provide us with your correct email address so that you do not miss important communications, again. If you are not yet a member, but are interesting in becoming a member, please let us know that so that you can be added to the communications email list.
It is with great sadness that we announce the loss of our long-time Conformation Instructor and friend, Kitty Sarvinas. We send our sincerest condolences to her husband, Gary; her brother Jeff and her niece, Samantha; and her dear friends, Nancy and Conrad Zinkhan. DOTC will not be the same without her. Memorial Service for Kitty has already occurred. The family requests that, in lieu of flowers, donations be made to DOTC of Maryland, Inc c/o Registrar Robin Graham, 2960 Duvall Road, Woodbine, MD 21797.
Check out Class Registration (All breeds welcome) and our Calendar for the 2018-2019 training season.
Congratulations to the following DOTC members who were presented with their special award or Perpetual Trophy at the end-of-year picnic in June 2018.
The Perpetual Trophy winners received the plate to attach to the trophy at last night's General Meeting.
Whitehouse Walker: Sascha Dodgetta von der Misty Ridge CDX PCDX RM2 RAE12 OAP OJP CGCA CGCU TKP (Gail Phillips).


text:
By Altman
Illustrated by Sanchez
Illustrated by Wright / Hu
Illustrated by Johnson
By Castañeda
TEACHER'S GUIDE FOR:
Amelia's Road
By Linda Jacobs Altman
Illustrations by Enrique O. Sanchez
Amelia Luisa Martinez hates roads. Los caminos, the roads, take her migrant worker family to fields where they labor all day, to schools where no one knows Amelia's name, and to bleak cabins that are not homes. She longs for the day when she doesn't need to move again, and can live in a tidy white house with a fine shade tree.
One day Amelia discovers an "accidental road." At its end she finds an amazing old tree. Its stately sense of permanence inspires her to put her own roots down in a special way–by placing her favorite things in a box and burying it next to the tree, so she will always have a place to go back to.
There are between three million and five million migrant workers in America. They move from one harvest to another and do not have stable homes. Many of the migrant workers come from different parts of the world, such as Mexico, South America, or the Caribbean. But many of them are American citizens, born in the United States.
There are three "migrant streams" in the United States: The western stream begins at the Mexican border and works its way north to the Canadian border. Mexicans and Mexican Americans predominate in this stream. The central stream begins in south Texas, where crews of workers proceed north with the midwestern harvests; again, Mexicans and Mexican Americans predominate. The eastern stream works north from Florida into New England. Here, African Americans and Caribbean islanders predominate.
Some of the male workers travel by themselves and return to their families after the harvest. Others travel with their families. Out of necessity, even their children work in the fields.
Prereading Focus Questions
Before students read the story, you might want them to answer one of the following questions as a motivation for reading.
Amelia's Road is about a young girl who lives in a family that travels around the country harvesting crops. The family rarely spends more than six weeks in one place. Would you like to live such a life? What would you dislike about moving from place to place all the time? Is there anything you would like about it?
Amelia has a special place. Do you have a special place where you feel as though you belong? What is it like? Why is it special to you?
Before students read the story, have pairs of students search through the text for interesting or unfamiliar words. Have student volunteers write the words on the chalkboard. Discuss with students the possible meaning of each unfamiliar word.
You might want to work with students to brainstorm a list of words that pertain to migrant farm workers. As you elicit students' prior knowledge, incorporate some of the vocabulary from the text, such as shanties, labor camps, harvest, and crops.
Utilize the story as the basis for a lesson on compound words. Have students make a list of the compound words they encounter as they read (or reread) the text. After reading, they might compare their lists with those of other students. The story includes the following compound words: shortcut, cartwheels, highway, birthday, footpath, sunstruck, nowhere, someplace, nobody, everybody, anywhere, inside, and someday.
During Reading
Reader's Response Journals
To promote active reading, you might wish to have students keep a reader's response journal as they read the story. The journal will help students to personalize what they are reading. Tell students to write their reactions to the people and events in the story.
Have them keep these questions in mind as they read:
Do you feel sorry for Amelia? Why or why not?
Why do you think Amelia is happy that everyone in her class knows her name?
How would you feel if you were Amelia?
What part of the story did you like best? Why?
ELL/ESL Teaching Strategies
You might wish to have students who speak English as a second language work together to dramatize the story. One student might play Amelia and others might be people in Amelia's life, such as her parents, her teacher, and her classmates. Suggest that students act out individual scenes from the story. The group might then perform the scenes for the class as a whole.
Suggest to ESL students that they write down questions that occur to them as they read. Tell them to seek the answers as they read the story and write the answer next to each question.
Writing Activities
Brainstorm writing ideas with a small group of students who have read the story. List their suggestions on a large sheet of paper. Encourage students to come up with ideas such as the following:
Pretend that you are Amelia. You have gone with your family to a new harvest, and you are in a new school. Write a letter to Mrs. Ramos, telling her about the new school
Write a poem about a place that is special to you.
Imagine that you are Amelia's pen pal. Write a letter to her, telling what you like–or dislike–about your school.
Divide the students who have read Amelia's Road into groups of four. Remind students that children like Amelia often do not spend more than a month or two at a new school before they move to the next harvest with their families. For this reason they are always the "new" student in a class.
Use the Roundtable structure to have students generate ideas for making such a student feel at home right away in the new classroom. In Roundtable, students in a group take turns adding information to the group's response to a prompt. Each student writes in turn, and the students work until all their ideas have been recorded.
Tell students to think of ways to let the new student know everyone's name (in addition to using name tags). Have students think of ideas for helping the new student learn the material that the class has already covered. Ask them to think of a parting gift for such a student that would help the child remember the school.
Hand each group of students a large sheet of paper with the column headings LEARNING NAMES, LEARNING SCHOOLWORK, and GOING-AWAY GIFT printed at the top. Tell students to pass the paper around the group, allowing each student to contribute his or her ideas in each column. To be sure that all students have contributed, you might want students to use pencils of different colors or to initial their work.
When the groups have had sufficient time to complete the exercise, ask them to share their charts with the other groups. You might wish them to combine the charts to create a class booklet on welcoming new students to the school.
Interdisciplinary Activities
In order to integrate students' reading experiences with other subject areas, you might want to have students complete one or more of these activities. Students can choose to write one of the following:
Amelia's Road is about migrant farm workers. Have students find out who Cesar Chavez was and why he became a hero to many migrant workers. Tell students to write a brief profile of Chavez. Ask for a volunteer to share the information with the class.
The diagrams should include information such as the following:
Migrant farm workers pick fruits and vegetables from New York to Florida. Have students locate a map of the United States and, using the map legend, calculate how many miles a migrant worker family travels in a typical year as they move up and down the coast.
Fruit is generally packaged and sold according to its dry weight. Have students use the following table of dry measures to make up word problems for the class.
2 pints =1 quart 8 quarts =1 peck 4 pecks =1 bushel
(Examples: There are five people in Amelia's family. How many pecks of apples would each member have to pick in order to have five bushels? If Amelia picks 2 pints of strawberries every hour, how many hours will she have to work to pick 3 quarts?)
Fruits and vegetables are a very important part of everyone's diet. Have students draw and illustrate a food pyramid showing the proportion of fruits and vegetables in the ideal diet.
Have students draw a map showing the places in the story. Ask them to illustrate the map and label the places shown. The maps should include: the labor camp (with Amelia's cabin indicated), the apple orchard, school, the accidental road, and the tree.
Ask students to think of the special things they own that they would put in a box like Amelia's. Ask them to draw a picture of their special things and the box they would put them in.
About the Author and Illustrators
Linda Jacobs Altman is a writer based in Clearlake, California. Amelia's Road marked her picture book debut. This title carries special meaning for her: "I first became aware of the problems of migrant farm workers when Cesar Chavez was organizing the United Farm Workers in the 1960s. I identified especially with the migrant children because, like them, I grew up in a family where moving around was simply the way of things." She was born in Winston-Salem, North Carolina, and has lived in many parts of California. Her second book for Lee & Low, The Legend Of Freedom Hill is a fictional story set during the California Gold Rush, in which a girl teams up with her best friend, in search of gold to buy her mother's freedom from a slave catcher.
Enrique O. Sanchez divides his home between Bar Harbor, Maine and Florida. He was born in the Dominican Republic and studied architecture at the Santa Domingo University and fine arts at the Bellas Artes Institute. He then moved to New York to study set and scene design and worked as a graphic designer for Sesame Street. While he is primarily a fine artist, he has illustrated many picture books (see below for full list).
Grades K - 3
Latino/Hispanic/Mexican Interest, Immigration, Home, Farming, Poverty, Gratitude, Optimism/Enthusiasm, People In Motion, Respect/Citizenship, California, Realistic Fiction
English Fiction Grades 3-6, Fluent Dual Language , Fluent English, Appendix B Diverse Collection Grades 3-6, Realistic Fiction Grades 3-5, Bilingual English/Spanish and Dual Language Books , Mexico Culture Collection, English Fiction Grades PreK-2, California Book Collection , Social and Emotional Learning Collection, Latin American English Collection Grades 3-6, Dual Language Collection English and Spanish, Dual Language Levels N-Z Collection, Immigration Collection, English Guided Reading Level O
Want to know more about us or have specific questions regarding our Teacher's Guides?
Please write us!
general@leeandlow.com
DOWNLOAD THIS GUIDE AS A PDF


text:
Q: Create a new file for visual studio C++ project from the command line using the /Command option From the command line, I need to create a new C++ source or header file for an existing project.
I found Visual Studio provides commands to interact directly with the IDE from the command window. The page (http://msdn.microsoft.com/en-us/library/f42eyh2e.aspx) presents the New File Command, but it doesn't say if this command can be in use to create a new file for any specific project.
(I assume what can be done from the command window can be done from the command line).
Could you please let me know if this can be done with the command option, if so then how?
I found the related question: create new visual studio project, add files and run it - command line. It advises to update the vcxproj file using CMake. I prefer to do this through the command line, if possible.
Thanks

A: Creating a code file regardless of being a header or a source file is simply achieved by using copy or echo, since those are simple text files. Now in order to attach them to your VS project you need to work a little harder.
The project file: *.vcxproj is what defines the settings of your project. It contains information about how to build it and what files comprise it.
Like on that thread I'd recommend using CMake to generate your vcxproj file. Basically the only thing you need is a text file to define your dependencies.


text:
Q: Brute-force, single-threaded prime factorization Up for consideration is the following function which can be used to (relatively quickly) factor a 64-bit unsigned integer into its prime factors. Note that the factoring is not probabalistic (i.e., it is exact). The algorithm is already fast enough to find that a number is prime or has few very large factors in a matter of several seconds, on modern hardware.
The question:
Can any improvements be made to the algorithm presented, while keeping it single-threaded, so that it can factor (arbitrary) very large unsigned 64-bit integers faster, preferably without using a probabalistic approach (e.g., Miller-Rabin) for determining primality?
// system specific typedef for ulong should go here (or use boost::uint64_t)
typedef unsigned __int64 ulong;
typedef std::vector<ulong> ULongVector;

// Caller needs to pass in an empty factors vector
void GetFactors(ULongVector &factors, ulong num)
{
  // Num has to be at least 2 to contain "prime" factors
  if (num<2)
    return;

  ulong workingNum=num;
  ulong nextOffset=2; // Will be used to skip multiples of 3, later

  // Factor out factors of 2
  while (workingNum%2==0)
  {
    factors.push_back(2);
    workingNum/=2;
  }

  // Factor out factors of 3
  while (workingNum%3==0)
  {
    factors.push_back(3);
    workingNum/=3;
  }

  // If all of the factors were 2s and 3s, done...
  if (workingNum==1)
    return;

  // sqrtNum is the (inclusive) upper bound of our search for factors
  ulong sqrtNum=(ulong) sqrt(double(workingNum+0.5));

  // Factor out potential factors that are greate than or equal to 5
  // The variable n represents the next potential factor to be tested
  for (ulong n=5;n<=sqrtNum;)
  {
    // Is n a factor of the current working number?
    if (workingNum%n==0)
    {
      // n is a factor, so add it to the list of factors
      factors.push_back(n);

      // Divide current working number by n, to get remaining number to factor
      workingNum/=n;

      // Check if we've found all factors
      if (workingNum==1)
        return;

      // Recalculate the new upper bound for remaining factors
      sqrtNum=(ulong) sqrt(double(workingNum+0.5));

      // Recheck if n is a factor of the new working number,
      // in case workingNum contains multiple factors of n
      continue;
    }

    // n is not or is no longer a factor, try the next odd number
    // that is not a multiple of 3
    n+=nextOffset;
    // Adjust nextOffset to be an offset from n to the next non-multiple of 3
    nextOffset=(nextOffset==2UL ? 4UL : 2UL);
  }

  // Current workingNum is prime, add it as a factor
  factors.push_back(workingNum);
}

Thanks
Edit: I've added even more comments. The reason that a vector is passed in by reference, is to allow for the vector to be reused in between calls and avoid dynamic allocations. The reason the vector is not emptied in the function, is to allow for the odd requirement of appending the current "num's" factors to factors already in the vector.
The function itself is not pretty and can be refactored, but the question is about how to making the algorithm faster. So, please, no suggestions about how to make the function more pretty, readable, or C++ish. That's child's play. Improving this algorithm, so that it can find (proven) factors faster is the difficult part.
Update: Potatoswatter has some excellent solutions so far, be sure to check out his MMX solution near the bottom, as well.

A: My other answer is rather long and quite different from this one, so here's something else.
Rather than just filter out multiples of the first two primes, or encode all relevant primes in one byte each, this program filters out multiples of all of the primes that fit in eight bits, specifically 2 through 211. So instead of passing 33% of numbers, this passes about 10% on to the division operator.
The primes are kept in three SSE registers, and their moduli with the running counter are kept in another three. If the modulus of any prime with the counter is equal to zero, the counter cannot be prime. Also, if any modulus is equal to one, then (counter+2) cannot be prime, etc, up to (counter+30). Even numbers are ignored, and offsets like +3, +6, and +5 are skipped. Vector processing allows updating sixteen byte-sized variables at once.
After throwing a kitchen sink full o' micro-optimizations at it (but nothing more platform specific than an inline directive), I got a 1.78x performance boost (24 s vs 13.4 s on my laptop). If using a bignum library (even a very fast one), the advantage is greater. See below for a more readable, pre-optimization version.
/*
 *  factorize_sse.cpp
 *  Filter out multiples of the first 47 primes while factorizing a number.
 *
 *  Created by David Krauss on 10/14/10.
 *
 */

#include <cmath>
#include <sstream>
#include <iostream>
#include <xmmintrin.h>
using namespace std;

inline void remove_factor( unsigned long &n, unsigned long factor ) __attribute__((always_inline));
void remove_factor( unsigned long &n, unsigned long factor ) {
    while ( n % factor == 0 ) {
        n /= factor;
        cout << factor << " ";
    }
}

int main( int argc, char *argv[] ) {
    unsigned long n;

    if ( argc != 2
        || ( istringstream( argv[1] ) >> n >> ws ).rdstate() != ios::eofbit ) {
        cerr << "Usage: " << argv[0] << " <number>\n";
        return 1;
    }

    int primes[] = { 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47,
                     53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127,
                     131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211 };
    for ( int *p = primes; p < primes + sizeof primes/sizeof *primes; ++ p ) {
        remove_factor( n, * p );
    }

    //int histo[8] = {}, total = 0;

    enum { bias = 15 - 128 };
    __m128i const prime1 =       _mm_set_epi8( 21, 21, 21, 22, 22, 26, 26, 17, 19, 23, 29, 31, 37, 41, 43, 47 ),
            prime2 =             _mm_set_epi8( 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127 ),
            prime3 =             _mm_set_epi8( 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211 ),
            vbias = _mm_set1_epi8( bias ),
            v3 = _mm_set1_epi8( 3+bias ), v5 = _mm_set1_epi8( 5+bias ), v6 = _mm_set1_epi8( 6+bias ), v8 = _mm_set1_epi8( 8+bias ),
            v9 = _mm_set1_epi8( 9+bias ), v11 = _mm_set1_epi8( 11+bias ), v14 = _mm_set1_epi8( 14+bias ), v15 = _mm_set1_epi8( 15+bias );
    __m128i mod1 = _mm_add_epi8( _mm_set_epi8(  3, 10, 17,  5, 16,  6, 19,  8,  9, 11, 14, 15, 18, 20, 21, 23 ), vbias ),
            mod2 = _mm_add_epi8( _mm_set_epi8( 26, 29, 30, 33, 35, 36, 39, 41, 44, 48,  50,  51,  53,  54,  56,  63 ), vbias ),
            mod3 = _mm_add_epi8( _mm_set_epi8(  65,  68,  69,  74,  75,  78,  81,  83,  86,  89,  90,  95,  96,  98,  99, 105 ), vbias );

    for ( unsigned long factor = 1, limit = sqrtl( n ); factor <= limit + 30; factor += 30 ) {
        if ( n == 1 ) goto done;

        // up to 2^32, distribution of number candidates produced (0 up to 7) is
        // 0.010841     0.0785208   0.222928    0.31905     0.246109    0.101023    0.0200728   0.00145546
        unsigned candidates[8], *cand_pen = candidates;
        * cand_pen = 6;
        cand_pen += !( _mm_movemask_epi8( _mm_cmpeq_epi8( mod1,  v3 ) ) | _mm_movemask_epi8( _mm_or_si128( _mm_cmpeq_epi8( mod2,  v3 ), _mm_cmpeq_epi8( mod3,  v3 ) ) ) );
        * cand_pen = 10;
        cand_pen += !( _mm_movemask_epi8( _mm_cmpeq_epi8( mod1,  v5 ) ) | _mm_movemask_epi8( _mm_or_si128( _mm_cmpeq_epi8( mod2,  v5 ), _mm_cmpeq_epi8( mod3,  v5 ) ) ) );
        * cand_pen = 12;
        cand_pen += !( _mm_movemask_epi8( _mm_cmpeq_epi8( mod1,  v6 ) ) | _mm_movemask_epi8( _mm_or_si128( _mm_cmpeq_epi8( mod2,  v6 ), _mm_cmpeq_epi8( mod3,  v6 ) ) ) );
        * cand_pen = 16;
        cand_pen += !( _mm_movemask_epi8( _mm_cmpeq_epi8( mod1,  v8 ) ) | _mm_movemask_epi8( _mm_or_si128( _mm_cmpeq_epi8( mod2,  v8 ), _mm_cmpeq_epi8( mod3,  v8 ) ) ) );
        * cand_pen = 18;
        cand_pen += !( _mm_movemask_epi8( _mm_cmpeq_epi8( mod1,  v9 ) ) | _mm_movemask_epi8( _mm_or_si128( _mm_cmpeq_epi8( mod2,  v9 ), _mm_cmpeq_epi8( mod3,  v9 ) ) ) );
        * cand_pen = 22;
        cand_pen += !( _mm_movemask_epi8( _mm_cmpeq_epi8( mod1, v11 ) ) | _mm_movemask_epi8( _mm_or_si128( _mm_cmpeq_epi8( mod2, v11 ), _mm_cmpeq_epi8( mod3, v11 ) ) ) );
        * cand_pen = 28;
        cand_pen += !( _mm_movemask_epi8( _mm_cmpeq_epi8( mod1, v14 ) ) | _mm_movemask_epi8( _mm_or_si128( _mm_cmpeq_epi8( mod2, v14 ), _mm_cmpeq_epi8( mod3, v14 ) ) ) );
        * cand_pen = 30;
        cand_pen += !( _mm_movemask_epi8( _mm_cmpeq_epi8( mod1, v15 ) ) | _mm_movemask_epi8( _mm_or_si128( _mm_cmpeq_epi8( mod2, v15 ), _mm_cmpeq_epi8( mod3, v15 ) ) ) );

        /*++ total;
        ++ histo[ cand_pen - candidates ];

        cout << "( ";
        while ( cand_pen != candidates ) cout << factor + * -- cand_pen << " ";
        cout << ")" << endl; */

        mod1 = _mm_sub_epi8( mod1, _mm_set1_epi8( 15 ) ); // update residuals
        __m128i mask1 = _mm_cmplt_epi8( mod1, _mm_set1_epi8( 1+bias ) );
        mask1 = _mm_and_si128( mask1, prime1 ); // residual goes to zero or negative?
        mod1 = _mm_add_epi8( mask1, mod1 ); // combine reset into zero or negative

        mod2 = _mm_sub_epi8( mod2, _mm_set1_epi8( 15 ) );
        __m128i mask2 = _mm_cmplt_epi8( mod2, _mm_set1_epi8( 1+bias ) );
        mask2 = _mm_and_si128( mask2, prime2 );
        mod2 = _mm_add_epi8( mask2, mod2 );

        mod3 = _mm_sub_epi8( mod3, _mm_set1_epi8( 15 ) );
        __m128i mask3 = _mm_cmplt_epi8( mod3, _mm_set1_epi8( 1+bias ) );
        mask3 = _mm_and_si128( mask3, prime3 );
        mod3 = _mm_add_epi8( mask3, mod3 );

        if ( cand_pen - candidates == 0 ) continue;
        remove_factor( n, factor + candidates[ 0 ] );
        if ( cand_pen - candidates == 1 ) continue;
        remove_factor( n, factor + candidates[ 1 ] );
        if ( cand_pen - candidates == 2 ) continue;
        remove_factor( n, factor + candidates[ 2 ] );
        if ( cand_pen - candidates == 3 ) continue;
        remove_factor( n, factor + candidates[ 3 ] );
        if ( cand_pen - candidates == 4 ) continue;
        remove_factor( n, factor + candidates[ 4 ] );
        if ( cand_pen - candidates == 5 ) continue;
        remove_factor( n, factor + candidates[ 5 ] );
        if ( cand_pen - candidates == 6 ) continue;
        remove_factor( n, factor + candidates[ 6 ] );
    }

    cout << n;
done:
    /*cout << endl;
    for ( int hx = 0; hx < 8; ++ hx ) cout << (float) histo[hx] / total << " ";*/
    cout << endl;
}

.
dkrauss$ /usr/local/bin/g++ main.cpp -o factorize_sse -O3 --profile-use
dkrauss$ time ./factorize_sse 18446743721522234449
4294967231 4294967279

real    0m13.437s
user    0m13.393s
sys 0m0.011s

Below is the first draft of the above. Optimizations included

*

*Make the cyclic counter merge unconditional (avoid a branch).

*Obtain ILP by unrolling loop by a factor of 15, increasing stride to 30.

*

*Inspired by your optimization.

*30 seems to be a sweet spot, as it removes multiples of 2, 3, and 5 for free.

*Primes between 5 and 15 may have several multiples in one stride, so put several copies at varied phase in the vector.

*Factor out remove_factor.

*Change conditional, unpredictable remove_factor calls to non-branching array writes.

*Fully unroll final loop with remove_factor call and make sure the function is always inlined.

*

*Eliminate the final unrolled iteration as there is always a multiple of 7 among the candidates.

*Add another vector containing all the remaining primes that are small enough.

*Make more space by adding a bias to the counters, and add yet another vector. Now there are only six more primes that could possibly be filtered without bumping up to 16 bits, and I've also run out of registers: the loop needs 3 prime vectors, 3 modulus vectors, 8 constants to search for, and one constant each to increment by and to do the range check. That makes 16.

*

*The gain is minimal (but positive) in this application, but the original purpose of this technique was to filter primes for the sieve in the other answer. So stay tuned…

Readable version:
/*
 *  factorize_sse.cpp
 *  Filter out multiples of the first 17 primes while factorizing a number.
 *
 *  Created by David Krauss on 10/14/10.
 *
 */

#include <cmath>
#include <sstream>
#include <iostream>
#include <xmmintrin.h>
using namespace std;

int main( int argc, char *argv[] ) {
    unsigned long n;

    if ( argc != 2
        || ( istringstream( argv[1] ) >> n >> ws ).rdstate() != ios::eofbit ) {
        cerr << "Usage: " << argv[0] << " <number>\n";
        return 1;
    }

    int primes[] = { 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59 };
    for ( int *p = primes; p < primes + sizeof primes/sizeof *primes; ++ p ) {
        while ( n % * p == 0 ) {
            n /= * p;
            cout << * p << " ";
        }
    }

    if ( n != 1 ) {
        __m128i       mod   = _mm_set_epi8( 1, 2, 3,  5,  6,  8,  9, 11, 14, 15, 18, 20, 21, 23, 26, 29 );
        __m128i const prime = _mm_set_epi8( 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59 ),
                      one = _mm_set1_epi8( 1 );

        for ( unsigned long factor = 1, limit = sqrtl( n ); factor < limit; ) {
            factor += 2;
            __m128i mask = _mm_cmpeq_epi8( mod, one ); // residual going to zero?
            mod = _mm_sub_epi8( mod, one ); // update other residuals
            if ( _mm_movemask_epi8( mask ) ) {
                mask = _mm_and_si128( mask, prime ); // reset cycle if going to zero
                mod = _mm_or_si128( mask, mod ); // combine reset into zeroed position

            } else while ( n % factor == 0 ) {
                n /= factor;
                cout << factor << " ";
                if ( n == 1 ) goto done;
            }
        }
        cout << n;
    }
done:
    cout << endl;
}

A: Fermat's factorization method is simple and quick for finding pairs of large prime factors as long as you stop it before it goes too far and becomes slow. However, in my tests on random numbers such cases have been too rare to see any improvement.

...without using a probabalistic approach (e.g., Miller-Rabin) for determining primality

With uniform distribution, 75% of your inputs are going to need a billion loop iterations, so it's worth spending a million operations on less deterministic techniques first even if you get an inconclusive answer and have to revert back to trial division.
I've found the Brent variation of Pollard's Rho Method to be very good, though more complicated to code and understand. The best example I've seen is from this forum discussion. The method relies on luck, but helps often enough to be worthwhile.
The Miller-Rabin primality test is actually deterministic up to about 10^15, which can save you the trouble of a fruitless search.
I tried a few dozen variations and settled on the following for factoring int64 values:

*

*Trial division on small factors. (I use first 8000 precomputed primes.)

*10 attempts with Pollard's Rho, each using 16 iterations

*Trial division to sqrt(n).

Note that Pollard's Rho finds factors that are not necessarily prime, so recursion can be used to factor those.

A: This code is rather slower, and I'm pretty sure I understand why.  It's not incredibly slower, but definitely slower in the 10-20% range.  The division should not be done once for every loop through, but the only way to do that is to call sqrt or something similar.
// system specific typedef for ulong should go here (or use boost::uint64_t)
typedef std::vector<ulong> ULongVector;

void GetFactors(ULongVector &factors, ulong num)
{
  if (num<2)
    return;

  ulong workingNum=num;
  ulong nextOffset=2;

  while (workingNum%2==0)
  {
    factors.push_back(2);
    workingNum/=2;
  }

  while (workingNum%3==0)
  {
    factors.push_back(3);
    workingNum/=3;
  }

  ulong n = 5;
  while ((workingNum != 1) && ((workingNum / n) >= n)) {
    // Is workingNum divisible by n?
    if (workingNum%n==0)
    {
      // n is a factor!
      // so is the number multiplied by n to get workingNum

      // Insert n into the list of factors
      factors.push_back(n);

      // Divide working number by n
      workingNum/=n;
    } else {
      n+=nextOffset;
      nextOffset=(nextOffset==2UL ? 4UL : 2UL);
    }
  }

  if (workingNum != 1) {
    // workingNum is prime, add it to the list of factors
    factors.push_back(workingNum);
  }
}

A: Incorporating some ideas from Omnifarious, plus other improvements:
// system specific typedef for ulong should go here (or use boost::uint64_t)
typedef unsigned __int64 ulong;
typedef std::vector<ulong> ULongVector;

// Caller needs to pass in an empty factors vector
void GetFactors(ULongVector &factors, ulong num)
{
  if (num<2)
    return;

  ulong workingNum=num;

  // Factor out factors of 2
  while (workingNum%2==0)
  {
    factors.push_back(2);
    workingNum/=2;
  }

  // Factor out factors of 3
  while (workingNum%3==0)
  {
    factors.push_back(3);
    workingNum/=3;
  }

  if (workingNum==1)
    return;

  // Factor out factors >=5
  ulong nextOffset=2;
  char nextShift = 1;
  ulong n = 5;
  ulong nn = 25;
  do {
    // Is workingNum divisible by n?
    if (workingNum%n==0)
    {
      // n is a factor!
      // so is the number multiplied by n to get workingNum

      // Insert n into the list of factors
      factors.push_back(n);

      // Divide working number by n
      workingNum/=n;

      // Test for done...
      if (workingNum==1)
        return;

      // Try n again
    }
    else {
      nn += (n << (nextShift+1)) + (1<<(nextShift*2)); // (n+b)^2 = n^2 + 2*n*b + b*2
      n += nextOffset;
      nextOffset ^= 6;
      nextShift ^= 3;
      // invariant: nn == n*n
      if (n & 0x100000000LL) break; // careful of integer wraparound in n^2
    }
  } while (nn <= workingNum);

  // workingNum is prime, add it to the list of factors
  factors.push_back(workingNum);
}

A: The natural generalization is to precompute skippages using more known primes than just 2 and 3. Like 2, 3, 5, 7, 11, for a pattern period of 2310 (huh, nice number). And perhaps more, but it has diminishing returns  --  a graph of run times could establish exactly where the precomputation starts to have negative impact, but of course it depends on the number of numbers to factor...
Hah, I leave the coding details to you folks. :-)
Cheers & hth.,
– Alf

A: I'm not sure how effective these would be, but instead of
while (workingNum%2==0)

you could do
while (workingNum & 1 == 0)

I'm not sure if gcc or msvc (or whatever compiler you are using) is clever enough to change the workingNum%2 expression, but odds are it's doing the division and looking at the modulus in edx...
My next suggestion could be completely unnecessary depending on your compiler, but you could try putting the workingNum /= 3 before the method call. G++ might be smart enough to see the unnecessary division and just use the quotient in eax (you could do this inside your larger loop too). Or, a more thorough (but painful) approach would be to inline assembly the following code.
while (workingNum%3==0)
{
  factors.push_back(3);
  workingNum/=3;
}

The compiler is probably translating the modular operation into a divison and then looking at the modulus in edx. The issue is, you are performing the division again (and I doubt the compiler is seeing that you just implicitly performed the division in the condition of the loop). So, you could inline assemble this. This presents two issues:
1) The method call for push_back(3). This might mess with the registers, making this completely unnecessary.
2) Getting a register for workingNum, but this can be determined by doing an initial modular check (to force it into %eax), or at the current moment, it will/should be in eax.
You could write the loop as (assuming workingNum is in eax, and this is 32bit AT&T syntax, only because I don't know 64bit assembly or Intel syntax)
asm( "
     movl     $3, %ebx
  WorkNumMod3Loop:
     movl     %eax, %ecx    # just to be safe, backup workingNUm
     movl     $0, %edx      # zero out edx
     idivl    $3            # divide by 3. quotient in eax, remainder in edx
     cmpl     $0, %edx      # compare if it's 0
     jne      AfterNumMod3Loop    # if 0 is the remainder, jump out

     # no need to perform division because new workingNum is already in eax
     #factors.push_back(3) call

     je       WorkNumMod3Loop
  AfterNumMod3Loop:
     movl     %ecx, %eax"
);

You should look at the assembly output for those loops. It is possible your compiler is already making these optimizations, but I doubt it. I would not be surprised if putting the workingNum /= n before the method call improves performance a little in some cases.

A: Compare such an approach to a (pre-generated) sieve. Modulo is expensive, so both approaches essentially do two things: generate potential factors, and perform modulo operations. Either program should reasonably generate a new candidate factor in less cycles than modulo takes, so either program is modulo bound.
The given approach filters out a constant proportion of all integers, namely the multiples of 2 and 3, or 75%. One in four (as given) numbers is used as an argument to the modulo operator. I'll call it a skip filter.
On the other hand, a sieve uses only primes as arguments to the modulo operator, and the average difference between successive primes is governed by the prime number theorem to be 1/ln(N). For example, e^20 is just under 500 million, so numbers over 500 million have under a 5% chance of being prime. If all numbers up to 2^32 are considered, 5% is a good rule of thumb.
Therefore, a sieve will spend 5 times less time on div operations as your skip filter. The next factor to consider is the speed at which the sieve produces primes, i.e. reads them from memory or disk. If fetching one prime is faster than 4 divs, then the sieve is faster. According to my tables div throughput on my Core2 is at most one per 12 cycles. These will be hard division problems, so let's conservatively budget 50 cycles per prime. For a 2.5 GHz processor, that's 20 nanoseconds.
In 20 ns, a 50 MB/sec hard drive can read about one byte. The simple solution is to use 4 bytes per prime, so the drive will be slower. But, we can be more clever. If we want to encode all the primes in order, we can just encode their differences. Again, the expected difference is 1/ln(N). Also, they're all even, which saves an extra bit. And they are never zero, which makes extension to a multibyte encoding free. So using one byte per prime, differences up to 512 can be stored in one byte, which gets us up to 303371455241 according to that Wikipedia article.
Therefore, depending on the hard drive, a stored list of primes should be about equal in speed at verifying primality. If it can be stored in RAM (it's 203 MB, so subsequent runs will probably hit the disk cache), then the problem goes away entirely, as the FSB speed typically differs from the processor speed by a factor less than the FSB width in bytes — i.e., the FSB can transfer more than one prime per cycle. Then factor of improvement is the reduction in division operations, i.e. five times. This is borne out by the experimental results below.
Of course, then there is multithreading. Ranges of either primes or skip-filtered candidates can be assigned to different threads, making either approach embarrassingly parallel. There are no optimizations that don't involve increasing the number of parallel divider circuits, unless you somehow eliminate the modulo.
Here is such a program. It's templated so you could add bignums.
/*
 *  multibyte_sieve.cpp
 *  Generate a table of primes, and use it to factorize numbers.
 *
 *  Created by David Krauss on 10/12/10.
 *
 */

#include <cmath>
#include <bitset>
#include <limits>
#include <memory>
#include <fstream>
#include <sstream>
#include <iostream>
#include <iterator>
#include <stdint.h>
using namespace std;

char const primes_filename[] = "primes";
enum { encoding_base = (1<< numeric_limits< unsigned char >::digits) - 2 };

template< typename It >
unsigned decode_gap( It &stream ) {
    unsigned gap = static_cast< unsigned char >( * stream ++ );

    if ( gap ) return 2 * gap; // only this path is tested

    gap = ( decode_gap( stream )/2-1 ) * encoding_base; // deep recursion
    return gap + decode_gap( stream ); // shallow recursion
}

template< typename It >
void encode_gap( It &stream, uint32_t gap ) {
    unsigned len = 0, bytes[4];

    gap /= 2;
    do {
        bytes[ len ++ ] = gap % encoding_base;
        gap /= encoding_base;
    } while ( gap );

    while ( -- len ) { // loop not tested
        * stream ++ = 0;
        * stream ++ = bytes[ len + 1 ];
    }
    * stream ++ = bytes[ 0 ];
}

template< size_t lim >
void generate_primes() {
    auto_ptr< bitset< lim / 2 > > sieve_p( new bitset< lim / 2 > );
    bitset< lim / 2 > &sieve = * sieve_p;

    ofstream out_f( primes_filename, ios::out | ios::binary );
    ostreambuf_iterator< char > out( out_f );

    size_t count = 0;

    size_t last = sqrtl( lim ) / 2 + 1, prev = 0, x = 1;
    for ( ; x != last; ++ x ) {
        if ( sieve[ x ] ) continue;
        size_t n = x * 2 + 1; // translate index to number
        for ( size_t m = x + n; m < lim/2; m += n ) sieve[ m ] = true;
        encode_gap( out, ( x - prev ) * 2 );
        prev = x;
    }

    for ( ; x != lim / 2; ++ x ) {
        if ( sieve[ x ] ) continue;
        encode_gap( out, ( x - prev ) * 2 );
        prev = x;
    }

    cout << prev * 2 + 1 << endl;
}

template< typename I >
void factorize( I n ) {
    ifstream in_f( primes_filename, ios::in | ios::binary );
    if ( ! in_f ) {
        cerr << "Could not open primes file.\n"
                "Please generate it with 'g' command.\n";
        return;
    }

    while ( n % 2 == 0 ) {
        n /= 2;
        cout << "2 ";
    }
    unsigned long factor = 1;

    for ( istreambuf_iterator< char > in( in_f ), in_end; in != in_end; ) {
        factor += decode_gap( in );

        while ( n % factor == 0 ) {
            n /= factor;
            cout << factor << " ";
        }

        if ( n == 1 ) goto finish;
    }

    cout << n;
finish:
    cout << endl;
}

int main( int argc, char *argv[] ) {
    if ( argc != 2 ) goto print_help;

    unsigned long n;

    if ( argv[1][0] == 'g' ) {
        generate_primes< (1ul<< 32) >();
    } else if ( ( istringstream( argv[1] ) >> n ).rdstate() == ios::eofbit )
        factorize( n );
    } else goto print_help;

    return 0;

print_help:
    cerr << "Usage:\n\t" << argv[0] << " <number> -- factorize number.\n"
            "\t" << argv[0] << " g -- generate primes file in current directory.\n";
}

Performance on a 2.2 GHz MacBook Pro:
dkrauss$ time ./multibyte_sieve g
4294967291

real    2m8.845s
user    1m15.177s
sys    0m2.446s
dkrauss$ time ./multibyte_sieve 18446743721522234449
4294967231 4294967279

real    0m5.405s
user    0m4.773s
sys 0m0.458s
dkrauss$ time ./mike 18446743721522234449
4294967231 4294967279
real    0m25.147s
user    0m24.170s
sys 0m0.096s


text:
Assorted Ideas
Cuomo: 'We could very well be headed to shutdown'
By Steve Bittenbender | The Center Square/December 14th, 2020
Gov. Andrew M. Cuomo delivers a news briefing July 8, 2020, in New York City. Flickr / Gov. Andrew Cuomo
(The Center Square) – On the day when COVID-19 vaccinations started in New York, Gov. Andrew Cuomo issued an alarm Monday saying he's willing to order shutdowns if that's what it takes in order to keep the coronavirus from spreading across the state.
His comments echoed similar ones made by New York City Mayor Bill de Blasio on CNN earlier in the day.
Cuomo said while the state's positivity rate remains among the lowest in the country, that's no longer the most important metric. He also urged people to not focus on closures or reductions in indoor dining or other restrictions on such businesses as gyms and salons.
"That is not what you should worry about," Cuomo told reporters Monday afternoon. "What you should worry about is shutdown. Because if we do not change the trajectory, we could very well be headed to shutdown."
Under the new metrics Cuomo announced last week, communities across the state would face a shutdown of all nonessential businesses if hospitals in the area are projected to be at 90 percent capacity within three weeks. That projected capacity would also be based on hospitals increasing capacity by up to 50 percent and canceling all elective procedures.
Hospitals currently have been ordered to increase capacity by 25 percent.
Cuomo also called on hospitals to form partnerships with one another to help avoid situations like what happened to Elmhurst Hospital in the spring. The New York City hospital was overrun with COVID cases during the early stages of the pandemic, yet other hospitals nearby weren't stretched to capacity.
Rather than transfer people to those other hospitals, facilities in areas with high infection rates suffered as patients piled up.
"These hospitals have to have a better management system, and it has to happen now," he said.
Cuomo also spent time during the briefing denying allegations made over the weekend by Lindsey Boylan, a former staffer now running for Manhattan borough president, that he sexually harassed her. Boylan said that others in the administration witnessed the incidents and did nothing to address them.
The Dayspring Church Restaurant Deception: Who Plays The Fool?
Roosevelt Island April 2020
Cuomo shuts down indoor seating at New York City restaurants, contemplates similar move for rest of state
Central Park April 25th 2020
1st Roosevelt Island Film Festival
"I fought for and I believe a woman has the right to come forward and express her opinion, express issues and concerns that she has, but it's just not true," he said.
In addition, while he said it was "flattering" to be mentioned as a candidate for U.S. Attorney General in the upcoming Biden Administration, Cuomo shot down those rumors as well.
His only agenda at this time is a New York agenda, he said.
"New York has a long way to go to get through this current situation, which as we just discussed this difficult," Cuomo said. "And then we have to rebuild New York, which (will take) years, my friends, years."
Cuomo bashes Washington for reports that states won't get aid, predicts need for tax hikes
Cuomo: Recession likely if federal government doesn't help states, cities fill budget gaps
Cuomo anticipates spending as much as $1 billion on COVID-19 vaccination plans
Mom's greatest gift for her child is a healthy gut microbiome
About the Minton Tiles at the Bethesda Fountain in Central Park, New York City
DR. KING REMAINED HOPEFUL. SO CAN WE.
Reincarnation: Proof of life after death or a big misunderstanding?
Something Is Always Burning: Fire's Role in American History
City of Naples, Rich In Culture, History and Crime
The New York Times Is Openly Racist. Why Is Everyone Else So Silent?
The New York Times call it "…the weakest report of the year."
Parc Güell: Why you should visit this open-air museum in Barcelona?
Bird Law Spells Lights Out for City-Owned Buildings in Bid to Save Feathered Friends
Do you have a smelly home? You need this…
To see, to feel, to read: BABY, IT'S YOU, a Novel
"Gut Microbes are Mostly Friendly" Keep Them That Way
SELLING OUT DEMOCRACY FOR POLITICAL INFLUENCE
How Domestic Abuse Survivors Can Get Out And Move On
Until Recently Scientists Didn't Know There Was A Gut-Brain. Now They're Learning About Its Vital Role in Health
New City Council Member, Julie Menin, Quick with Free N95 Face Mask Help, Plus
It's all in your mind… but not in your head
How I went from a limited reader to a busy reader using Audible Books
Categories: Assorted Ideas, Republishing
Tagged as: Andrew Cuomo, coronavirus, COVID-19, pandemic, The Center Square
A Million Different Things Make One …And Night: Motivation Habits Meditation
Fridges Feeding the Hungry Weather Growing Pains With Creative Alliances
Pingback: Cuomo: New York has good chance of avoiding another shutdown - Assorted Ideas, Large & Small
Who is Roberto Monticello, the One and Only Mayor of New York City (Meatpacking)?