fasttext_score
float32 0.02
1
| id
stringlengths 47
47
| language
stringclasses 1
value | language_score
float32 0.65
1
| text
stringlengths 49
665k
| url
stringlengths 13
2.09k
| nemo_id
stringlengths 18
18
|
---|---|---|---|---|---|---|
0.046838 | <urn:uuid:62a9a4f2-abb5-4342-826b-b7b5861834ec> | en | 0.750526 | Please Login...
Conceptual illustration showing many different types of power generation, including nuclear, fossil fuel, wind power, photovoltaic cells, and hydro electric water power
Stock Photo:
Image ID: 48563068
Release Information: N/A
442x500 6.1"x6.9" (72dpi) 230 KB
883x1000 2.9"x3.3" (300dpi) 630 KB
3929x4449 13.1"x14.8" (300dpi) 1.6 MB
Forgot your password? | http://www.shutterstock.com/pic-48563068/stock-photo-conceptual-illustration-showing-many-different-types-of-power-generation-including-nuclear-fossil.html?src=p-30622699-7 | dclm-gs1-047830000 |
0.02493 | <urn:uuid:05c55d2b-b560-40c0-9474-fbc8919a9cd5> | en | 0.975078 | Current Issue
March 2014 magazine cover
Save 81% off the newsstand price!
Testimony from the Iceman
The 5,000-plus-year-old Neolithic man discovered a decade ago is telling scientists how he lived and died
More than a decade after the Iceman’s discovery, Egarter is still trying to unravel the mysteries of the body on the tray. Along with its clothing and tools, the body was originally perceived as a kind of snapshot of the past, a specimen snatched from the Neolithic era to be analyzed and understood by the science of the present. Developing that snapshot has not proved as simple as was first assumed.
The body on the tray has a nickname, Otzi (it rhymes with “tootsie”), after an area of the Alps called the Otztal. In September 1991, a pair of hikers saw Otzi’s head and shoulders protruding from the melting ice in a pass known as the Tisenjoch, some 35 miles northwest of Bolzano. Otzi became a sensation. He made the cover of Time. He was the subject of several books and countless articles. In retrospect, many of the books and articles were partially mistaken.
Otzi began to befuddle people almost as soon as he was found. He was first thought to be just another Alpine fatality. Not realizing the age of their discovery, the rescue workers who came to the scene treated the body less than gently as they tried to pull it from the ice. A jackhammer tore chunks of flesh from Otzi’s left hip and damaged his thigh. The unfinished bow that he carried was broken into two pieces, and the frame of his backpack was ripped apart.
Only when an archaeologist from the University of Innsbruck, Dr. Konrad Spindler, saw the copper ax found with Otzi and estimated it to be 4,000 years old—a relic of the Neolithic age—did anyone begin to comprehend what an astonishing discovery had been made on the Tisenjoch. The Neolithic era was the transitional age when stone tools began to give way to metal and when agriculture was supplanting hunting and gathering. Until Otzi, archaeologists had been required to reconstruct Neolithic civilization from skeletal remains, flint tools and arrowheads, bits of pottery and the beginnings of metallurgy. The glacier’s damp, freezing temperature had preserved not only Otzi himself but also a trove of organic artifacts—clothing, wooden handles for tools and weapons, feathered arrows—never before seen by modern eyes. Some of the artifacts, however, were inadvertently damaged or destroyed as the body was pried from the ice.
“A lot was lost,” says Dr. Markus Egg, an archaeologist at the Roman-Germanic Central Museum in Mainz, Germany, who supervised the restoration of Otzi’s belongings. “For example, we don’t know how the backpack was worn—over the head or over the shoulder. And the quiver has no strap to indicate how it was carried.” Nevertheless, the study of the artifacts that did survive the extraction changed our understanding of the Neolithic world. The radiocarbon dating of Otzi’s ax blade forced a revision in the generally accepted date for the advent of copper smelting in the Alpine region. The feathers on two of his arrows showed that Neolithic man understood the ballistic principles that make an arrow rotate and fly more accurately. The embers that he carried, wrapped in maple leaves in a birch-bark container, suggested how Neolithic people transported fire from place to place.
Comment on this Story
comments powered by Disqus | http://www.smithsonianmag.com/science-nature/testimony-from-the-iceman-75198998/?c=y&page=2 | dclm-gs1-047880000 |
0.276037 | <urn:uuid:39ac9f28-40e3-4741-a29c-0a4abece1046> | en | 0.975546 | or Connect
New Posts All Forums:
Posts by tj100
Just a minor point of clarification, because it's a pretty complex topic. Former employees are likely to be shareholders (and thus counted against the 500 shareholder limit), current employees are probably mostly optionholders (who are not counted against the limit). Since options (usually) have to be exercised when an employee leaves the company, most people will only become shareholders when they become former employees.
Um. Yeah. You've pretty much invented a definition. In a dozen years in finance, I've never understood "public" and "private" to mean anything other than whether or not the equity of the company is traded in a public exchange (from the pink sheets to the NYSE). Public companies are traded, private companies are not. A company whose shares are not traded in the public market is, by definition, private.Secondly, you've totally confused employees and shareholders in your...
IIRC (at least, back in my day, it may have changed) the sponsorship is a requirement of CFAI membership, which really only has to happen after you finish L3.
As a Charterholder myself, I find the whole thing to be a scam. I would not advise anybody to embark on the CFA program unless their current employer encouraged and financed it.
There are a few things that I would really avoid:(1) jewelry, other than a watch. No gold chains, pinky rings, school rings,etc. Really muted cufflinks (silk knots, silver monogrammed) aren't a deal killer, really gaudy ones might be.(2) Pocket square.(3) Any shoe better than a kenneth cole, UNLESS it's a black captoe. Black captoe is universally acceptable. Anything else, you're asking for criticism (if the criticism is that your shoes were shitty square toes, that's not...
No, they do not.
Just to elaborate on my "too polished could be held against you" comment. What we look for in analysts is very smart, very hungry kids who will run through walls for the team at 2 o'clock in the morning. Somebody who shows up in a perfectly tailored suit, hermes tie, and high end shoes screams high maintenance. These are the kinds of kids who ask "why should I" when a partner tells them to jump. For bankers (at the analyst level), the suits and ties that you wear to work...
Ultimately, it got to be a pointless exercise, because I could guess just by gut feel where the transaction was going to be. But it was interesting to see the impact of various factors (size, model, etc.).Also, I concluded that I'd rather pay the sale price @ Madison Ave and SCP for a BNIB shoe, with trees, with bags, etc. than spend hours searching B&S for a "great deal" that was only going to save me a couple hundred bucks.
Believe it or not, I used to track them on a spreadsheet (so I would be able to make reasonable offers). In Q1 2011 (a year ago), the average BNIB Lobb sold on B&S went for $508. Most expensive was $855 (it was a Philip II with trees). My spreadsheet stops in mid-summer 2011.I will say that just browsing B&S today, there are many more examples for sale than there were a year ago. Way more.
I have to say that it really doesn't matter. Wearing a suit is the only requirement. It's expected that it will be cheap and ill fitting. If anything, being too polished would be held against you.
New Posts All Forums: | http://www.styleforum.net/forums/posts/by_user/id/52913/page/40 | dclm-gs1-047930000 |
0.087484 | <urn:uuid:aeced3cb-bead-44e3-96cd-2c2839fd0203> | en | 0.959818 | Our TV Shows
Got a Tip?
Call TMZ at (888) 847-9869 or Click Here
Mark Wahlberg
I Would Have Fought
9/11 Hijackers & Landed Plane
1/18/2012 9:05 AM PST BY TMZ STAFF
Mark Wahlberg claims he could have done what hundreds of other doomed passengers couldn't ... fought off the multiple 9/11 terrorists and saved one of the hijacked planes.
Wahlberg just gave an interview with Men's Journal ... in which he states, "If I was on that plane with my kids, it wouldn't have went down like it did. There would have been a lot of blood in that first-class cabin and then me saying, 'OK, we're going to land somewhere safely, don't worry.'"
So the question ... is Wahlberg's braggadocio insulting to the dead passengers and their families?
1:15 PM PT: Didn't take long ... Mark just apologized for his comments.
No Avatar
Shame on him for being so disrespectful and basically crapping on the memory of the real heros who risked (and lost) their own lives. Who knows how many lives these brave men saved. I agree with the people that say that this was not a movie, this was real life. Mark Wahlberg is clearly a HUGE douche.
786 days ago
Mark just doesn't have all the details. The hijackers blocked the door to the cabin so the passengers couldn't get through. Which gave the hijackers plenty of time to crash the plane.
786 days ago
I am hoping that this statement was taken out of context. What the h*** Mark Wahlberg... So, you were suppose to be on that flight. As a flight attendant I am completely sickend by this quote from you. Not one of us would ever sit back and allow the outcome of that horrible day. Do you think because you are a b-rate actor that the outcome would have been different. Go Away.
786 days ago
Geez, I like Mark Wahlberg, but what a ridiculous statement. What MANY people forget is that before 9/11, we were all told that when an airliner gets hijacked, you cooperate, because the plane usually just wants to fly to Cuba or somewhere. We had NEVER seen people deliberately crash planes into buildings, we never thought that would actually happen. He would have been like everyone else back then, worried, but staying calm in the belief that it would turn out peacefully (like they almost always did).
786 days ago
hey i would have fought too!!!!!
786 days ago
The Funky Bunch
Really? Jeremy Glick was a black belt in judo and he couldn't break into the ****pit, but the guy from The Departed would have been able to.
786 days ago
He's getting reality mixed up with Hollywood movies. Again.
786 days ago
Never liked him as a person anyway. Anti-semitic and a racist. Go **** yourself Wahlberg you wannabe tough guy!
786 days ago
He's just self deluded. Look at that cruise ship that sank. People were fighting each other for life jackets. Crew and captain abandon ship. No reports of heroes.Wahlberg would have panic or froze like 99.9% of the rest of human cattle.
786 days ago
Different Rules Apply
Mark, I'm a big fan of your work, BUT, you have no idea what you would or would not have been able to do under those extreme cir****tances. Terrorists are VERY GOOD AT IMPLEMENTING TERROR... I'm sure there were many brave souls on the planes that found they could not fix it... careful what you say, there is still a lot of grief over those we lost.
786 days ago
he's in lala land, what a douchebag, real life ******** not a movie where your 5 foot 2 inch ass can kick every body's ass, wake up to the real world son........
786 days ago
oh please! people get their feelings hurt so easily now a days. The man was simply stating he would of attempted anything and everything to save his kids lives. Any real parent would do the same but America is filled with ****ty people having kids over and over. Thats one of our biggest problems.
786 days ago
shannon ferguson
I argee..hey if u know the plane was doomed..i'd go down wittn a fight. if ppl think thats disrespectful than judge yourself...bc you probably would have just sat there and did nothing.
786 days ago
He a freaking midget. What was he going to do? bite their knee caps
786 days ago
Marsha from The Bahamas
RIP-9/11 victims. Only GOD can save you!
786 days ago
Around The Web | http://www.tmz.com/2012/01/18/mark-wahlberg-911-flight-93-hijackers-fight/5/ | dclm-gs1-048140000 |
0.05454 | <urn:uuid:004ee4c3-6dc2-448b-a035-e6c99395efa7> | en | 0.979987 | I am an American and if I would like to move to the US Virgin Islands and live there for a few years and run for Governor I ought to be able to do just that. That is my constitutional right and I am out raged that the Constitutional Convention has voted to violate my rights to run for the Governor's seat if I so need to run. I will be following this story to see how Congress vote on this and at the same time I'll make sure that my Senator votes against it when it goes to congress. | http://www.topix.com/forum/world/virgin-islands/TOACSGIUDTII9JF6L | dclm-gs1-048150000 |
0.046453 | <urn:uuid:e7866a48-1338-45fe-9267-887aed019502> | en | 0.961009 | Three years after President Barack Obama signed a sweeping overhaul of lending and high-finance rules, execution of the law is behind schedule with scores of regulations yet to be written, let alone enforced. Meeting privately with the nation's top financial regulators on Monday, Obama prodded them to act more swiftly.
The president's push comes as the five-year anniversary of the nation's financial near-meltdown approaches. The law, known as Dodd-Frank after its Democratic sponsors, Rep. Barney Frank and Sen. Christopher Dodd, when passed in 2010, was considered a milestone in Obama's presidency, a robust response to the crisis that led to a massive government bailout to stabilize the financial markets.
But the slow pace of implementation has prompted administration concern that banks could still pose potentially calamitous risks to the economy and to taxpayers. Obama hoped to convey "the sense of urgency that he feels," spokesman Josh Earnest said before the president convened the meeting with the eight independent regulators in the White House Roosevelt Room.
So far, regulators have missed 60 percent of the rule-making deadlines, according to an analysis by the law firm of Davis Polk, which has been tracking progress on the bill. Even so, the rules are so complicated, that the ones already written have filled about 13,800 pages of regulations, compared to the 848 pages it took to write the law itself.
"Only that level of consistent presidential leadership and involvement will turn the tide against Wall Street's relentless attacks, which is what has killed, weakened and delayed so much of financial reform," Kelleher said.
Some central elements of the law have fallen into place.
| http://www.twincities.com/business/ci_23896047/president-pushes-action-bank-rules | dclm-gs1-048210000 |
0.055212 | <urn:uuid:17795fe9-5343-4940-ae49-a4451679a2bf> | en | 0.910212 | Subscribe English
look up any word, like fuck:
1 definition by ThePandaKing
Squat down, put you hand behind you right leg and masturbate vigorously until you explode everywhere like a machine gun, ergo Russian gunner
Boy 1: " I tried the Russian gunner last night"
Boy 2: "Oh? What happened"
Boy 1: "I think I declared war"
by ThePandaKing November 01, 2011
0 0 | http://www.urbandictionary.com/author.php?author=ThePandaKing | dclm-gs1-048260000 |
0.024447 | <urn:uuid:f509f1f4-954e-49c4-8493-042e53d8176b> | en | 0.953094 | Subscribe English
look up any word, like tittybong:
5 definitions by beer
The savior beer of all people who don't have $10 to spend for a six pack. Will run you about 12 a six pack and will fuck you up quick as shit. Has 5.9% alcohol per volume but tastes as good as budweiser. The prefered drink of high school and college students, and poor people alike.
Let's buy some Natty Ice. I can't afford Bud Heavy tonight, and we need to get fucked up.
by beer December 21, 2003
153 116
A very cool cat.
Hi Sebbie.. did you have a nice nap?
by beer September 25, 2003
34 14
It means Vagina, plain and simple.
Her nickname is coonie
by beer April 02, 2005
79 63
Acronym: Sex Through Rings Of Fire Every Night.
Man, we were Strofen.
by beer March 10, 2005
1 2
Why not?
Why not?
by beer September 25, 2003
15 17 | http://www.urbandictionary.com/author.php?author=beer | dclm-gs1-048270000 |
0.179157 | <urn:uuid:fc1a1b98-74d0-4994-8bc7-c991c50a3cd8> | en | 0.960496 | Subscribe English
look up any word, like lumpatious:
Australian Slag for being 'Ditched' or 'Ditching'
You would say 'Dont Dog it' or 'They Dogged it'
And if a person did something bad to someone els,
or had plans with someone, and didnt show..
they did a 'Dog act'
If someone just isnt a nice person..
or is known to 'Ditch' people, they are known as 'Dogs'
by Geminii October 08, 2011
5 1
Dog is Alyx's robot bodyguard and playmate. Dog was first found in the Black Mesa East chapter. Alyx Vance's dad made Dog to pertect Alyx against the aliens. Dog is a strong fighter, you will see him throw a van at a group of Combine Soldiers and destroy a Combine APC at a building, even pull of a brian out of a Strider! Dog also saved Alyx against a Combine Advisor.
Dog has a ball that looks like a Rollermine and a face from a destroyed Scanner Type 1, with 3 plates instead of 4 and repainted.
by Mega Sean 45 June 18, 2008
13 9
Delusions Of Grandeur
A D.O.G. is someone with the potential to have really big dreams but without applying oneself will end up just eating the dirt, metaphorically speaking.
A D.O.G. usually starts out very timid or perhaps somewhat of a spaz in social situations. They show all traits of an extremely bright but also very underdeveloped individual.
D.O.G. in a classroom: Dude I think I'm gonna go to college and get my AA degree or something. But then I'll want to work a good job too, I mean I don't want to flip burgers or anything like that. Maybe then I'll meet a nice girl with cute boobs and butt and go out with her and once I make enough money we'll be able to go on expensive dates and then we'll get married and have lots of babies. Hurray!
Other students: Okay whatever... (sigh)
P.E. teacher: Alright maggot give me 10 push ups
D.O.G.: But sir my arms hurt
by Balfdor August 11, 2006
10 6
The funniest fucking word ever.
Guy 1: Dogs
Guy 2: Starts Laughing Hysterically
by KevinP March 06, 2012
16 13
A very small horse.
1 - "Look at the size of that horse"
2 - "Well it IS a dog."
by Nechrist March 01, 2009
18 15
What is a Dog? Dogs lie around all day, sprawled on the most comfortable piece of furniture in the house. They can hear a package of food opening half a block away, but don't hear you when you're in the same room. They can look dumb and lovable all at the same time. They growl when they are not happy. When you want to play, they want to play. When you want to be alone, they want to play. They are great at begging. They will love you forever if you rub their tummies. They leave their toys everywhere. They do disgusting things with their mouths and then try to give you a kiss.
Conclusion: Dogs are men in little fur coats.
Me: hello doggy
Dog: (licks)
Me: ghaaaaa
by megmeggie January 23, 2014
2 0
A small to moderately sized four-legged furry thing.
It's name is an acronym for; "Digestible Object Gurgitator"
It lives on table-scraps, chum, biscuits and anything it can feasibly get into it's mouth.
My pet Dog refuses to register Mc'Cain's Micro Chips as an edible foodstuff.
by Psychedelic Warlord January 08, 2013
3 1 | http://www.urbandictionary.com/define.php?term=Dog&page=5 | dclm-gs1-048300000 |
0.054565 | <urn:uuid:ff271474-05cc-4017-b30a-5d2b84edad3e> | en | 0.907464 | Subscribe English
look up any word, like drinking watermelon:
One who seldom blends in with the white folk. he smells like b.o. and doesnt give a fuck. he has more girl friends than guys and wears clolthes that most men would consider metro. HE IS NORMALLY UNATHLETIC AND PRETENDS TO PLAY SOCCER, but really he is off practicing being a terrorist in the middle east. normally succoms to appletinis and 151. (Watta Bitch).
Damnit that kid punched a whole in my wall... Watta Kailum.. Niggah.
by ABIGJERK July 15, 2009
6 11 | http://www.urbandictionary.com/define.php?term=Kailum | dclm-gs1-048320000 |
0.021968 | <urn:uuid:04342569-1d80-42db-bc2a-408fb7cc0e4c> | en | 0.959408 | Subscribe English
look up any word, like bae:
where most people think Disney World is
Tourist: I thought Disney World is in Orlando, but I can't find it in the map of Orlando! Wtf!?
Local: Disney World is actually outside Orlando, it's like a half an hour drive southwest on Interstate 4 and it's a lot closer to Kissimmee and Lake Buena Vista.
by NHRHS2010 May 10, 2011
35 30
A city where people:
*Can't drive
*Are more often than not, a tourist
*Actually have to leave the clubs by 2:30
*Drive BMW's, but have foodstamps, WIC, 4-C, etc
Also, a city with never-ending construction which causes crazy back-ups on I-4
Orlando is HELL with a bungee cord.
by This.Girlie April 19, 2011
85 47
the city that sleeps at four.
omg its four. let the city of orlando sleep.
by love laurie December 02, 2007
178 154
kind of guy any girl would want to be with. Fun, Creative, Outgoing, Sincere, and Caring. Super cute, not a player and knows how to treat women. He fights for love and for what he wants. Keeps everything real & is never fake!
Random Convo
Girl - Have you heard about that Boy orlando? :O
Girl2 - Yea he's everything a girl wants in a guy!
Girl3 - OH YEA!
by ilovedefinitions11 June 18, 2011
29 19
A tourist city in central Florida. Even though it has less than 200,000 people inside the city limits, people of Orlando refers to the city as "world class." Orlando has some of the most notorious slums in Florida (Pine Hills, Parramore) which are never highlighted because of its status as a tourist destination.
Without Disney, the city of Orlando wouldn't even be as big as Daytona.
by KRHimself June 26, 2005
59 61
Actually a Real Chill Place, aside from the Traffic, Tourists and all the other Attractions. People here ain't bad ( besides them murders ) though ain't too many since Orlando is heavily pop'd with others from around the world comin to visit Disney World, Unviersal and Sea World. Can never find dank here, that's my problem.
Example 1 )
Girl : Let's go To Orlando.
Boy : Fuck Nah, Tourists too Sketchy.
Girl : Nah Bitch we goin cause the got the Mickey Mouse and all that other good shit.
Boy : Jack Sparrow is my bed time Hero.
Girl : Ditto.
by xxAce July 07, 2011
5 11
Orlando seats in Orange County Florida. It hopes to be like the real important OC at west but it's not nearly half as interesting as the one in Virginia or Vermont. It does nothing to make that a reality except increasing taxes and tolls so the county commissioners can live and travel in luxury all at taxpayers cost.
Here are a few interesting and accurate facts about this dust ball of a town in case you have plans to move here.
People can't drive at all. They switch lanes with no signals, cut you off then slow down. Will exceed the speed limits by 20-miles or above than posted looking like the running of the bulls with their cars in the mornings and afternoons. It's like they all share one half functional brain which some days works good others is a dud.
House values are in the dumb.
Everyone is a snitch. They won't welcome you or even say hello to you but they sure will snitch on you on anything they can come up with.
"Neighbors" rather call the county code enforcement on you after 24-hours of you first moving-in with your U-Haul and PODS still park in your driveway than give you the welcome.
Wal-Mart is full of uneducated idiots driving clunkers. While Target is full with more uneducated idiots driving Euro trash Audi and BMW.
People can't drive... Oh I mentioned that already.... my bad.
The current county mayor and head honcho of the Transit Authority Richard "Double Dipping" Crotty is one of the biggest thieves in the city. While city mayor Buddy Dyer is a closeted homosexual (Lance Bass called he wants his weird eyes, smile and neck move back!).
The justice system is a total joke. With only ONE court room located in Downtown Orlando to serve the whole county. If it was up to the judges and prosecutors, everyone will be sent to jail without a fair trial. Witness of this behavior can be observe with how bad they are handling Casey Anthony's trial. Throwing out and denying EVERYTHING to her defense, yet allowing unnecessary evidence against her.
The Parliament House is NOT a club or casino, but a place where married men who are tired of their wives find a new friend or an old friend if their wives are the bossy type which 99.99% of them are.
Millenia is a registered typo trademark created in order to milk the area and kick out the poor Black people who live in it first for more new retail developements.
The newscasts are ALL boring. Along with their so-called personalities. They resource to cover crappy news from other crappy counties.
The Orlando Police, Orange County Sheriff's Office, Orange County Commissioners and the UCF **think** they own the citizens and their properties with their pathetic lectures and arrogant behavior. Orlando and the whole Orange County is run like a dictatorship.
The favorite number of Code Enforcement is 1,000.
Everyone is extremely envious of you and what you have. So much that, they won't even greet you if you are driving a 1-day older car or you're simply dress better than they are. this is much worse if is a much better brand and look than theirs.
Orlando is a Wanna-be City full of plastic brainless "citizens" who **think** they have some sort of advantage over Miami (which they don't) and life the fantasy of be like the real OC just because every road ends on one of their 5-tolls roads, share 4-theme parks with a neighboring dust ball county, had their first American Idol audition and had their mediocre basketball team made it to the finals which they lost against the real OC team.
There's a sub-division everywhere and more foreclosure than in Las Vegas and Miami combine, yet developers still continue making more of them.
Every POS auto dealer or business has to have the "of Orlando" next to their names just in case their brainless citizens had forgot about it.
Businessmen are so cheap they resource to make their own commercials., some, like Appliance Direct pay over $100,000 a week to run a 5-minute paid commercial loop over and over. Others, will simply run 30-seconds spots 1,000 times a day.
Waterford Lakes Town Center is the ONLY shopping attraction on the East Side. Park Avenue in Winter Park does not count unless you're plastic and wear your money while you chuck down on your flavored designer coffee.
Downtown Orlando is a disgrace. Even Paris Hilton left her sponsored club behind.
Nothing is top-notch quality. Not even the so-called "plush" restaurants.
Carol: I heard Karen's husband got promoted the bad thig is they will transfer him.
Mary: Yeah, his company is giving him the option of three cities New York, Los Angeles or Orlando.
Carol: I hope they don't choose Orlando. My son tells me it's run like a dictactorship with false promises of prosperity just to get you in.
by The Boring OC July 31, 2009
49 65 | http://www.urbandictionary.com/define.php?term=Orlando&defid=5806367&page=2 | dclm-gs1-048330000 |
0.060983 | <urn:uuid:ec7e9812-9adb-41f6-afcb-8de6183ec1c6> | en | 0.926486 | Subscribe English
look up any word, like fuck:
Fucking something up extremely, or not being able to focus.
Usually being said if something bad happens while under the influence of some kind of drug.
"Don't be buffalo, do bomb."
"James, you buffalo you broke my front door?!"
"Your being buffalo."
by Nic M. December 28, 2007
1 9
a game played between all the male members of a party in which everyone throws in ten to twenty dollars a person before the party starts. during the party whomsoever should take home the fattest ugliest girl there (the "buffalo") wins the prize money you must first disclose the location so that your friends can walk in and get the proof
hey man who won buffalo last night i know my bitch weighed at least 280 i couldn't hardly breath
by cumminscomp5.9 March 04, 2009
5 5
abbi: where can you get some buffalo wings?
abbi: get cho asss out-
rachelle- just grap some its right -
abbi- get the hell out of my hood right now-
abbi- i will beat you skinny spotted asss
rachelle- i see how it is..
by sophia & rachel June 21, 2008
57 57
To attack 1 person in a big group while chanting buffalo
Here's a buffalo get him
by David and Ben January 11, 2008
7 7
Forget it if you're not Polish
Buffalo is so polski.
by steviedee May 26, 2004
117 117
Noun: Any one of a number of bovine mammals, such as the African Buffalo (Syncerus caffer) or the American Bison / American Buffalo (Bison bison).
Buffalo can be plural as well as singular.
Verb: To intimidate, cow, or baffle.
Proper Noun (Place): There are many, many places called Buffalo. The most famous of these is Buffalo, New York, in the United States.
Note: It's a stretch, but the word could be taken as an adjective, as in:
"George Romero is totally buffalo."
Due to these many meanings, the example below is a grammatically correct, full sentence. If you consider the word an adjective, you'd be able to lengthen it.
Buffalo buffalo buffalo Buffalo buffalo.
by Cobb's the name. June 14, 2011
1 2
The auto-correct version of BFF during text messaging or IM-ing from a cellular device.
You are my Buffalo.
by sinny_2011 January 22, 2011
0 1
1: A type of animal
2: A city in New York
3: A verb meaning to fight
The only word that can be used to make one sentence:
Buffalo Buffalo Buffalo Buffalo Buffalo.
Buffalo (as in the city) Buffalo (as in the animal) Buffalo (as in the verb) Buffalo (as in the city) Buffalo (as in the animal)
In other words:
A Buffalo from Buffalo fought a Buffalo from Buffalo.
by Shay Live June 12, 2011
4 6 | http://www.urbandictionary.com/define.php?term=buffalo&defid=2763693&page=5 | dclm-gs1-048360000 |
0.088073 | <urn:uuid:30cf303a-1e2c-49c5-bb60-7a02466664ee> | en | 0.946782 | Subscribe English
look up any word, like sex:
A person fortunate enough to have enough money to support a steady diet of delicious cocaine.
"I had to get a third job and start turnin tricks, but it's all good because I can afford to buy another gram of booger sugar!"
by pseudo-pseudonym March 21, 2004
564 145
Someone who physically depends on cocaine.
John is a cokehead. That's why he's crazy.
by anonymous August 21, 2003
271 64
Lindsay Lohan, Nicole Ritchie, Mary-Kate Olsen, etc. . .
Nicole Ritchie is so gross looking. I think she's a bonafide cokehead.
by monica21 September 20, 2005
228 92
the current president
Back in the 70's when W thought no one was looking.....
by Ishtar Garanga March 27, 2003
272 151
one who does cocaine
yeah his mom's a coke head.
by Christina August 15, 2004
169 49
people who blow too much yay
that kids a hella big cokehead, he drops like 1g every other day
by anonymous May 03, 2003
116 44
A crackhead that won the lottery.
Those people on True Hollywood Story who won the lottery and who are now broke again because they are "cokeheads"
by Melanie1123 September 12, 2008
94 23 | http://www.urbandictionary.com/define.php?term=coke-head | dclm-gs1-048370000 |
0.077859 | <urn:uuid:1bcd8869-04d4-4ac1-b8ba-9fb341ced45b> | en | 0.784455 | Subscribe English
look up any word, like sapiosexual:
fuck long and hard 45 min in a class room and hot tub with a teacher
My teacher showed me the faurelerism method.
by Bianca Z. November 22, 2006
2 0
Words related to faurelerism:
fuck fuck hard fucking fuck you long-term fuck | http://www.urbandictionary.com/define.php?term=faurelerism | dclm-gs1-048380000 |
0.175957 | <urn:uuid:51417d9a-9749-407c-9b26-5b7f1ba72c38> | en | 0.9252 | Subscribe English
look up any word, like bae:
The only thing that would make a gamer choose a macintosh over any other OS,due to game developers not wasting time on making games for a paper weight system ...a MAC.
win user:Hey bro,did you install that game on your system?
mac user; No, Im still trying to figure out why i spent money on a web based system ,when i already have a cell phone to play online games.
by mansil July 13, 2006
10 9 | http://www.urbandictionary.com/define.php?term=online%20games | dclm-gs1-048420000 |
0.019745 | <urn:uuid:9a59630e-bb2c-4f3f-957d-4cbdf9145909> | en | 0.931166 | Subscribe English
look up any word, like poopsterbate:
Pink Thing, also known as a Red Rocket, is a pink lipstick shaped cock found on a number of animals but particularly dogs. This term is perfect for describing people who are excited or sexually stimulated.
"You're not going to get any pussy. You're just like a dog with the pink thing hangin' out."
"Hey I'm bored, lets give the dog a rub and make the pink thing come out..."
by Stiffie Steve May 30, 2008
8 6
The female sexual organ. The vagina
Pink Thing, You make my dick swing.
by Crash Oblong November 11, 2006
7 11
A word to describe a man's penis
Hey bro, how's your pink thing? Get any lately?
by Carey Scriven June 08, 2005
2 16 | http://www.urbandictionary.com/define.php?term=pink%20thing | dclm-gs1-048430000 |
0.037525 | <urn:uuid:7b0e508f-6593-47c4-ae47-9666ff0aa87f> | en | 0.960117 | Subscribe English
look up any word, like fuck:
Pronounced Shahwaal. Arabic word used for greeting, literal meaning is "how are you""what's up". it's a phrase that was widely used by the opposition in Kingdom of Bahrain's revolution to mock the monarchs after failing the people and the country with corruption. the verb "Sha7wel" means metaphoric ass-kicking.
-After releasing citizens who were wrongfully imprisoned- Pro-Royalty of the country, Sha7wal? hahahahah
me to lil sister messing with Mac book: i will Sha7wel you bitch! -i'll kick your ass-
by Sha7weling July 13, 2011
28 17 | http://www.urbandictionary.com/define.php?term=sha7wal | dclm-gs1-048440000 |
0.132386 | <urn:uuid:d85d31c8-3503-4c98-a29c-7770480df046> | en | 0.900243 | First: Mid: Last: City: State:
Galen Cranston
Looking for info on Galen Cranston? Then you’re in the right place, as USA-People-Search.com provides access to billions of relevant public records. With our user-friendly system, you can easily narrow down your search for Galen and Cranston. Join us today to locate anyone, including Galen Cranston, across the nation.
Don't get discouraged if you can't seem to locate the right Galen Cranston right away. Try including a few more details that can help narrow down the search results such as known aliases or nicknames, previous addresses, etc. As soon as you've located the Galen Cranston you're looking for, browse their in-depth profile.
When you view the results page, you can find some basic information about each person with the same name as Galen Cranston. The information has been duly classified into four categories including name/aliases, age, location, and possible relatives. This skillful way of sorting data can help you identify the exact person you're looking for. To get a more comprehensive data on Galen Cranston, click the details link.
Name/AKAsAgeLocationPossible Relatives | http://www.usa-people-search.com/names/p/Galen-Cranston | dclm-gs1-048460000 |
0.0434 | <urn:uuid:e31bbc55-1985-4d0f-bc15-f1302c157379> | en | 0.800838 | First: Mid: Last: City: State:
Julie Altmark
Discover a wide range of recent information about Julie Altmark at USA-People-Search.com. Users who log on to our user-friendly website will find billions of public records that are accurate and precise. The list of search responses will also provide details like phone numbers, updated addresses, and so much more.
An easy way to uncover Julie Altmark is by utilizing all the information you can, even a known nickname or previous address, in the search boxes. If the Julie you need does not pop up, you can peruse a detailed list of all people named Julie Altmark, then narrow it down by location. When you discover your special someone, don’t forget to register with us to get complete access to their contact details and public records.
Our website sorts data into specific categories, including - name/aliases, age, location, and possible relatives, making it easier than ever to unearth the Julie Altmark you need to find. To delve further, just click on the details link for public records and information about Julie or any other person you need to locate.
Name/AKAsAgeLocationPossible Relatives
1. Altmark, Julie Lynn
Associated names:
58 Birmingham, AL
Lawrenceville, GA
ALTMARK, BARRY CHARLES (age 56) View Details
2. Julie, Altmark Lawrenceville, GA
View Details | http://www.usa-people-search.com/names/p/Julie-Altmark | dclm-gs1-048470000 |
0.020003 | <urn:uuid:3ad0be50-5688-4297-8dad-ae6435e18dc2> | en | 0.963825 | Rescuers try to reach 9 trapped miners in Peru
Rescuers try to reach 9 trapped miners in Peru Lima: It may take two or three more days to rescue nine miners trapped in an informal copper mine, Peru's Prime Minister said, as rescuers supplied the men with liquid sustenance through a hose.
The miners have been stuck since Thursday, when a shaft collapsed following a blast apparently set by the men themselves inside the mine, which is dug into a mountainside 175 miles (280 kilometers) southeast of Lima.
Local police chief, Jose Saavedra, said that several tons of earth and rock have already been removed from the tunnel's mouth, but Mining Minister Jorge Merino appealed for mining companies to provide heavy equipment and experts to speed up the effort.
On Sunday evening, miners arrived from two nearby mines to help dig out the workers.
Through a hose, rescuers have been able to communicate with the men and send them liquids.
Prime Minister Oscar Valdes, who said that he had spoken to the miners, told reporters that he estimated it would take to three days to free the men. The miners' health appears to be fine.
Officials worry, however, that some could suffer from exposure.
"They're being subjected to a lot of cold. The temperature is low because of the humidity," Valdes said.
Mining is the main engine of Peru's economy, accounting for more than 60 percent of its exports. It is the world's No. 2 copper exporter after neighbouring Chile and ranks sixth in gold exports.
Bureau Report | http://zeenews.india.com/print.aspx?nid=769173 | dclm-gs1-048660000 |
0.07586 | <urn:uuid:26f03ac6-ce99-4e66-83b5-0b6bc1d91ec2> | en | 0.650921 |
No encontramos iTunes en este ordenador. Para usar vista previa y comprar música de Bang de James Gang, descarga iTunes ya.
Yo tengo iTunes Descarga gratis
iTunes para Mac y PC
James Gang
Abre iTunes para escuchar un fragmento, comprar y descargar música.
Reseña de álbum
With guitarist Domenic Troiano out of the picture, the post-Joe Walsh James Gang was able to take their career off life support temporarily by adding guitarist Tommy Bolin beginning with this 1973 release. Having just dissolved his short-lived fusion band Energy, Bolin's creative playing injects a little Miles and Mahavishnu into the usually rocking Gang, most noticeably on "From Another Time." Staccato guitar lines and congas begin the song, an old-style James Gang boogie fills the middle, and then a sound effect explosion abruptly brings it all to a jarring, nonsensical close. It's all of the album's problems in a nutshell since the knotty and the normal are at odds throughout, although there are many moments to remember. Even if Bolin's wistful "Alexis" doesn't fit with the other tracks it's a highlight, as is the opening rocker "Standing in the Rain" where conmen ("Your note said you went to Charleston/But I know you went to New Mexico) and cretins ("You left behind a dead father/A sick mother and 4 younger kids") are forced to face up to love. Bang feels less like a band album and more like talented studio musicians on the loose, but die-hard fans of either the Gang or the late Bolin will enjoy it, if only in fits and starts.
Se formó en: 1966 en Cleveland, OH
Género: Rock
Años de actividad: '60s, '70s, '90s, '00s
With the emergence of Cream and the Jimi Hendrix Experience during the late '60s, the path was cleared for other hard-rockin' "trios." Arguably, the finest to emerge from the subsequent American crop was the James Gang. Despite penning a few of classic rock radio's most enduring songs, the James Gang ultimately...
Biografía completa
Bang, James Gang
Ver en iTunes
Valoraciones de clientes
| https://itunes.apple.com/ar/album/must-be-love/id281141060?i=281141063 | dclm-gs1-048690000 |
0.077725 | <urn:uuid:6918dc87-917e-4069-a655-b99a508c90fa> | en | 0.975451 | Police Brutality Increasing Against Occupy
From Oakland to St. Louis, police are breaking bones.
Police across the country are increasingly using extreme violence against occupiers. The weekly SF Bay Guardian recently revealed that Oakland police have received numerous complaints of excessive force. In a complaint from Oct. 25, an occupier says that “officers found a person alone, beat him, and broke his knee.” A complaint from a Jan. 7 march says that a police officer kneed an occupier in the back “causing his spine to break.” In New York City, media reports that an occupier’s rib was broken on the six-month anniversary of OWS. When the wounded occupier began having a seizure, she was denied medical attention while a crowd watched in horror. When occupiers from across the middle of America gathered in St. Louis, Missouri for the Occupy the Midwest regional summit, they too were also brutally beat back. Tazers were used, a dozen arrests were made, and several occupiers were led away with their faces covered in blood.
In the following eyewitness account, an occupier describes how it feels to be in confronted by extreme police brutality:
“For those that have never witnessed police violence, I want to make something clear. Nothing about this situation followed the prescription of an arrest – this media image of a “You are under arrest. You have the right…” is not what happens in real life. A friend said it best, what happened Thursday night was some gangsta shit. It was angry, vicious people jumping unarmed protesters and bystanders. It was an attack. It was intentional brutality. They did not follow any procedure of kettling, “less lethal” tactics, etc. Their actions were directly targeting individuals and beating the shit out of them. It was so fucked up.
I am traumatized. I am having flashbacks, and the more I try to make the motions of my mundane life the more vivid they become. Work, school, friendly conversations all seem completely devoid of meaning. All I can do is tell the story of my experience and force the people I surround myself with to question the society we participate in. I am so fucking angry.”
Read the whole story at and join the discussion below on how Occupy can overcome increasing police brutality.
Adbusters 111 Cover
On Newsstands December 3
Subscribe to Adbusters Magazine
71 comments on the article “Police Brutality Increasing Against Occupy”
Displaying 31 - 40 of 71
Page 4 of 8
For Christ's sake. If I want too hear people spout off reams and reams of their own personal epistemology, I'll go to the friggin' corner Church's service.
I'm a fan of Chris Hedges. This is a quote from a lovely speech he gave at Lafayette Park before getting arrested in front of the White House. Nobody asked you to come to this message board with your negativity. My attitude toward people who are critical of things that inspire me is this -- You can take your criticism and you can shove it.
Aaaaand what do YOU want to talk about, laughing boy? What are your pearls of wisdom in this situation? Got anything for us from Winston Churchill?
Hope is always non-violent? If hope is non-violent then why am I hoping that Barry will get rectal cancer?
Throughout human history each side in a war always has relentless hope that their side will win. Sometimes the bad guy wins, sometimes the good guy. Usually the good guy wins because the people on the side of the good guy fight with more passion because they know that their quality of life is on the line. But make no mistake, war has much HOPE driving it.
Don't forget Vietnam protests.
Don't forget Kent State.
Don't forget the fire hoses and dogs against MLK protests.
It is a repeating pattern of oppression.
there is enough critical mass in NUMBERS
political will to change.
King’s 1963 march was called
“March on Washington for Jobs and Freedom.”
It was organized around a list of demands;
covering everything from desegregating schools
to a higher minimum wage.
… the things Ghandi and King fought for and won
were things that honest, reasonable people
overwhelming agree are right.
The civil rights marches were disciplined and informed by a commitment that is lacking in current marches. The civil rights movement was populist and organizers worked with people from all walks of life. They spent time with a lot of people who were different from themselves, in a lot of settings for years, before the marches started.
There are, after all, a bunch of other tools for change: boycotting, voter registration, sit-ins, strikes, pamphleteer-ing, arguing legal cases, creating legal cases, and the successful examples listed above (Gandhi and King both being examples of this), used protests ALONG with a variety of other mechanisms during a long and often frustrating process of change.
MLK and Ghandi had it easy. Both had large, semi-violent networks capable of playing ‘bad cop’ to their ‘good cop’. Without that, neither would have achieved anything.
Obama told the CEOs that he was the only thing standing between them an the pitchforks (so it was time to make some concessions). With the very real threat of violence by an angry mob (and the fact that the majority of the populace would probably not care much if the CEOs were beaten up) it would have been a very different meeting.
How did Hitler create an enormous movement? Through simple slogans charged with the emotion of the day...ANGER.
It seems to me there is a disconnection here. At the height of the anti segregation movement in the 1950's there was not yet a more militant, or especially violent African American response. Even Malcolm X, admittedly a militant did not promote violence to achieve political goals, but only for self defense, and the Black Panthers had not yet appeared on the scene. So I don't see a "bad cop" here. By the time the Panthers did appear, the civil rights movement had waned, having achieved their major goal of ending "legalized" segregation in the South, something even Dr. King thought would tale decades, yet was actually accomplished much sooner.
I don't think the state fears street violence of the sort we are seeing, demonstrations in the sixties were much larger and sometimes more violent, yet this gave Nixon his law and order plank which he used to consolidate power and clamp down on descent. The riots in Chicago in 68 helped him win the election. So street violence only plays into their hands. King realized this and the civil rights movement was very disciplined, had clear leaders who were on the front lines (not in their basements blogging) and their was no "diversity of tactics".
Occupy's major problem, in my opinion, is it's attitude, lack of discipline, it's ritual decapitation of leaders and it's refusal to practice non violence in the way that King and Gandhi did. Even when being beaten by police, demonstrators expressed love and respect for the police as human beings, and did not complain about how they were treated. It was precisely this police violence which made segregation possible, and they sought to expose it by confronting it and by their non participation in it. Occupy, on the other hand, has dehumanized the police, complained about their treatment instead of taking the blows with dignity in a manor employing what King described as the redemptive power of suffering. For them, police violence was to be expected, endured and exposed by the courage and dignity of the marchers.
In contrast, Occupy seems unruly, undisciplined and at times incoherent. Occupy Wall street spent a fortune on bail while the civil rights marchers often refused bail, which by the way was standard procedure in the anti nuclear weapons testing movement in which I was a participant. Where is the willingness to sacrifice? Does Occupy expect this to be a walk in the park and then complain when it is not? I would add softness to the list of traits that Occupy has shown along with my other criticisms. And I'm not commenting from the sidelines here. I was arrested 6 times in the last three years on coal mining sites in West Virginia and spent 4 months in jail in South Dakota protesting acid rain. Until Occupy can adopt this attitude that was so well expressed in the anti nuke movement, they will continue to be marginalized. The problem with Occupancy's insistence in reinventing the wheel is that unless it is exactly like a wheel, it won't work. In my experience, non violence works, but it's not a walk in the park. It, and requires the same discipline and dedication that is required from a soldier and is a struggle no less perilous than warfare. This is what Gandhi taught us.
Add a new comment
Comments are closed. | https://www.adbusters.org/blogs/adbusters-blog/police-brutality-increasing-against-occupy.html?page=3 | dclm-gs1-048760000 |
0.036364 | <urn:uuid:06d972f8-2623-4913-9618-a222aba53581> | en | 0.957016 | False Teachers Condemned
1 But false prophets also arose among the people,#2:1. cf. Deut 13:1-2; Jer. 14:14; Lam. 2:14; Ezek. 13:9; 22:28. just as there will also be false teachers among you. They will secretly bring in destructive heresies. They will even deny the Master who bought them#2:1. cf. 1 Cor. 6:20; 7:23.—bringing swift destruction upon themselves. 2 Many will follow their immoral ways, and as a result the way of the truth will be maligned. 3 In their greed they will exploit you with false words. Their judgment from long ago is not idle, and their destruction does not slumber.
4 For God did not spare angels when they sinned, but threw them into Sheol.#2:4a. Lit. hold captive in Tartarus, the deepest place of Hades or hell. He put them in chains of gloomy darkness, to be held until the judgment.#2:4b. cf. Ezek. 26:20; Judah 6. 5 He did not spare the ancient world. He preserved only Noah, a proclaimer of righteousness, along with seven others, when He brought a flood upon the world of the ungodly. 6 He devastated the cities of Sodom and Gomorrah, reducing them to ashes#2:6. cf. Gen. 19:24.—making them an example of what is going to happen to the ungodly. 7 He rescued Lot, a righteous man deeply troubled by the shameless immorality of the wicked.#2:7. cf. Gen. 19:1-2, 16. 8 (For that righteous man, while living among them, was tormented in his righteous soul day after day by lawless deeds he saw and heard.) 9 Therefore the Lord certainly knows how to rescue the godly from trials, and how to keep the unrighteous being punished until the Day of Judgment—10 especially those who follow after the flesh in its unclean desires and who despise the Lord’s authority.#2:10. Or lordship; cf. Judah 8.
Brazen and arrogant, these people do not tremble while slandering glorious beings; 11 yet even angels, though stronger and more powerful, do not bring a slanderous charge against them before the Lord.#2:11. cf. Judah 9. 12 But these people are like irrational animals—creatures of instinct born to be captured and killed. They malign what they don’t understand, and in their destruction they will be utterly destroyed. 13 They will be paid back for what they have done—evil for evil.#2:13. cf. Judah 12. They consider carousing in broad daylight a pleasure. They are blots and blemishes, reveling in their deceitful pleasures while feasting together with you. 14 They have eyes full of adultery that never stop sinning, enticing unstable souls. They have hearts trained in greed—a cursed brood! 15 They have abandoned the straight way. They have gone astray. They have followed the way of Balaam the son of Beor,#2:15. Lit. Bosor, perhaps a wordplay (Heb. basar meaning flesh); cf. Num. 22:5. who loved the wages of wickedness. 16 But he received a rebuke for his own wrongdoing. A dumb donkey spoke with a man's voice and put a stop to the prophet’s madness.#2:15-16. cf. Num. 22:21-35.
17 These people are springs without water and mists driven by a storm. The gloom of utter darkness has been reserved for them.#2:17. cf. Judah 13. 18 For by mouthing grandiosities that amount to nothing, they entice in sensual fleshly passions those who are barely escaping from those who live in error. 19 They promise them freedom while they themselves are slaves of corruption—for a person is a slave to whatever has overcome him. 20 For if—after escaping the world’s pollutions through the knowledge of our Lord and Savior, Yeshua the Messiah—they again become entangled in these things and are overcome, the end for them has become worse than the beginning. 21 For it would have been better for them not to have known the way of righteousness, than after learning about it, to turn back from the holy commandment passed on to them.#2:21. cf. Ezek. 18:24. 22 What has happened to them confirms the truth of the proverb, “A dog returns to its vomit,”#2:22. Prov. 26:11. and “A scrubbed pig heads right back into the mud.”
Laster referanser i sekundær oversettelse...
Messianic Jewish Family Bible Project | https://www.bible.com/no/bible/314/2pe.2.tlv | dclm-gs1-048780000 |
0.065563 | <urn:uuid:74d578e7-eed4-4bb0-ada8-b91cdcaf4817> | en | 0.960224 | Reviews for Life Changes
Jaygirl942 chapter 1 . 2/15/2009
sorry, but i dont really like this story. It is too short and your plot twist happen too fast. the readers dont have enough time to understand your characters. You need to add more character development. Try giving them backgrounds.
counting-fingers chapter 10 . 6/15/2005
no offence i didnt like it that much and like A LOT of people said it was rushed and the chapters were short
Chan4Mon4EVA4EVA chapter 10 . 6/2/2005
the chapters were way too short. it had no detail or any thing.
its rare when i give a bad review. just think of it as an off story.
what actually happened to erica and the notes and nothing can happen as quickly as it did in this story.
fruitsalad chapter 9 . 5/15/2005
No offense, but I didn't really like your story and I'll tell you why.
1. Things happened so fast. Like when she got promoted at her job in an earlier job. You don't just say yes and then you move. People need time to think. Also, with Francess and everything. Just too fast.
2. It was too confusing. Sometimes it was Emma, sometimes Erika. Sometimes Rachel sometimes Monica.
3. You never said what happened to Erika or Emma. It's too confusing to remember which. I know the problem went away because they moved, but you have to say something about it.
4. Monica can't have a baby. Remember. If the baby she's having is actually hers, you have to say that she found out that she could have a baby. You can't just have her have one.
5. Ross wouldn't just accept Emma's boyfriend. I know that you said that he found out that they have a lot in common, but how did he find out? Also, he found out that he and Chad had a lot in common or Emma and Chad did.
Anyway, that's why I don't like it. But I'm just one opinion.
fanmania chapter 9 . 3/28/2005
It's a good story but a bit rushed and short. The story is really nice though.
JOEYLOVER9274 chapter 6 . 2/16/2005
2 things one a little short and two it all happened so fast it cofused me
JOEYLOVER9274 chapter 5 . 2/9/2005
please right more i beg of you please please please
JOEYLOVER9274 chapter 4 . 2/9/2005
asome liked it write more
JOEYLOVER9274 chapter 3 . 2/8/2005
sounds vaguely like wut happened to nicole close to same writing but no cops
JOEYLOVER9274 chapter 2 . 2/8/2005
needs more detail and to be longer smaller font so far good
JOEYLOVER9274 chapter 1 . 2/8/2005
due amanda this is amanda and i like what i see so far and the last line hilarious
Female-Fighter chapter 1 . 2/1/2005
Okay guys sorry for the delay some things happened that stopped me from writing I will have the newest chapters up soon.
DaleSnail chapter 2 . 1/24/2005
good keep it up! rlli good
patgilmoregirl chapter 2 . 1/23/2005
Hey Amanda,
It's Patricia I just got a chance to read your story and i think it is really good,continue soon
Yeah. No school tomorrow 1/24
See you on 1/25 tuesday
head for the hills chapter 2 . 11/28/2004
Good so far! I'd make chapters a bit longer, but it sounds interesting. I wonder what big changes are in store...
16 | Page 1 2 Next » | https://www.fanfiction.net/r/2142889/ | dclm-gs1-048790000 |
0.07942 | <urn:uuid:1cb73184-b670-47bf-84ef-d1c01e1451e7> | en | 0.989148 | Disclaimer: This is a non-profit tribute to the works of JK Rowling who created and, together with her publishers and licensees, owns the characters and settings elaborated herein.
A/N: Spoilers, seventh year fic, begun after OotP and not compatible with HBP or DH. Thanks to all my reviewers and especially to my previewers, Bellegeste and Cecelle and Lady Memory.
Sorry for the delay. I had anticipated this chapter so long that when I came to write it all my ideas had gone stale and I had to labour at draft after draft till it began to gel – and then do almost as many revisions in the polishing stage. I hope you'll find it to have been worth waiting for.
It was cold outside, even with cloaks and scarves and gloves. Hermione and Hannah hugged themselves while Ron and Ginny stamped up and down the porch. Only Neville and Luna seemed unaffected, Neville standing with his hands in his pockets staring at the floor and Luna staring dreamily up at the sky. Behind them, the door to the Entry Hall opened.
"Hermione? Did Severus ask you to wait out here too?" Minerva said. "But didn't he tell you that the news was confidential until further notice? He won't be pleased to find your friends here."
Hermione's chest tightened so that she could hardly breathe. "No," she said. "He didn't send me a message of any kind. We came out here because my fob watch showed him travelling and this seemed the best place to wait. What did he tell you? Is he all right? Is Harry?"
Minerva looked over the little group and pursed her lips. "I suppose it's too late to be mended now. They can stay, as long as they promise to say nothing until they're given permission."
"Yes, yes, but what is it?" Ginny asked, above the chorus of assurances. "Did something go wrong? Is Harry all right?"
"Why don't you ask him yourself?" the Professor suggested. "Isn't that Mr Potter and Mr Malfoy coming up the path now?"
Hermione reached them first, pushing past one to hug the other.
"You're all right! I'm so glad! Where's Severus, Harry?"
The arms that had tightened around her, slackened and gently put her aside.
"He sent us ahead a little because he had things to discuss with my father that he said didn't concern us. You'll find them further back down the path. They're not Polyjuiced, so no fear you'll hug the wrong one of them," the person who looked like Harry said with great clarity and bitterness.
"What? I don't – What do you mean? Tell me if Severus is all right, whoever you are!"
"He's fine, Hermione, I promise," the other boy intervened. "All of us are fine and everything's all right. We beat Voldemort, and they've probably shoved him through the Veil by now. Snape will be here in a minute, but go have a look, if you like. They're probably about past the Quidditch pitch by now."
She blinked at him. "Harry?"
"Yeah, it's me. Or it will be when the Polyjuice wears off and I get this manky Slytherin uniform off."
"You played for Slytherin?"
Ron's voice rose disbelievingly behind her as she sped down the path, her eyes stinging from the cold in the air and the chill in her heart. She'd thought Severus would at least hurry back to find her, but he was dawdling along at his leisure – with a Malfoy, of all people! And he'd sent a message to Minerva, but not to her. How could he? Then she was close enough to see them, blond head and dark bending towards each other in colloquy, and she stopped, fists clenching. Before she could speak, one of the pair broke away and came striding towards her.
"Hermione? What are you doing, wandering the grounds alone at night after an attack on the school?" Severus demanded with a heavy scowl.
"This morning you said, 'Don't be ridiculous, this is Hogwarts.' And you knew all along what was going to happen," she said, her lips trembling. This wasn't the meeting she'd envisioned, if he came back safe and sound, but she couldn't hug him in front of Lucius Malfoy and she wasn't even sure she wanted to. How could he? How dare he? "Why did you let Minerva know you were coming and not me?"
"I thought it very likely you were still scouring London. I could hardly send you a Patronus in amongst all the Muggles."
"Why not? It's not as if they'd see," she muttered.
He didn't blink. "Please go back to our rooms and wait for me. I have some pressing matters to attend to."
"Wait for you?" she burst out. "Harry said Voldemort's finished! How can you not have time? You said our private lives would come first."
"Troubles in paradise, Severus?" the elder Malfoy drawled.
Hermione spared him a glance of repulsion before turning back accusingly to Severus.
"I hear Azkaban is pleasant at this time of year, Lucius," Severus said shortly, his eyes never leaving his wife's face. "The more you interrupt my conversation with my wife, the less inclined I'll be to expedite your meeting with yours."
"Becoming a war-hero has not improved your temper, I see," Lucius said. "I'll wait over there, shall I?" He strolled back until he was out of earshot, heedless of the privacy spell cast savagely behind him.
"You married Hogwarts when you married one of its teachers, Hermione," Severus said as soon as they were alone. "The only time any of us can put private life over public duty is when the doors close for the summer." The clefts in his brow deepened. "I must speak with the children whose fathers I sent to death or capture, before they hear the news from anyone else. After that, I promise it will be your turn."
"Oh." She rubbed hard across the tip of her nose with the back of her hand. "Couldn't you have at least sent me a message you were all right?"
"Perhaps I should have." He took her hands in both of his. "I wanted to tell you in person," he admitted, "not in a Patronus message. I didn't expect you to be wandering the paths looking for me. I thought you could wait half an hour longer, and then I could come to you and close the door behind us and forget that anyone else even exists until tomorrow morning."
"You thought I could wait another half an hour? I was dying inside with every second!" But her heart felt a little less cold. He had never had anyone who cared more for his safety than his success. It was no wonder he'd underestimated her anxiety. "When I got back to Hogwarts and you weren't here, I was so afraid!"
"I told you you would regret this marriage," he muttered, releasing her.
"Don't!" she said. "Don't even try to make this about whether I should have married you. Just don't." She gulped and shook her head, squeezing her eyes shut against the ache in her throat. "You didn't let me help. You sent me out of the way."
"I didn't send you anywhere. You chose to go to London and I acquiesced in your decision."
"If I'd known, I wouldn't have gone!" A sharper gust of wind blew the ends of his Quidditch scarf up and her nails dug into her palms with the effort of not ripping it off his neck and stamping it underfoot.
"All the more reason that I couldn't tell you. The attack had to seem unexpected. How could you have explained your change of heart to Mr Longbottom without raising his suspicions?"
She bit her lip. "We'd have found a way," she said sullenly. "You just wanted to shunt me off somewhere safe."
"I had no assurance that London was any safer than Hogwarts, but of course I wanted you safe. I'd have sent the whole school to safety, if I could. Prophecy or no prophecy, would I have taken children into battle, if I'd had any alternative?"
"I'm not a child. You thought I couldn't do it." She pulled her cloak tighter around her body.
"I thought you shouldn't do it. There's a difference. You have courage and strength of character and determination –yes, even the most annoying of your friends – but you're not soldiers. And you shouldn't be."
"We're old enough to fight for what we believe in. We have fought for it!"
He snorted. "Yes, and look where it got you. Five of the six of you into the hospital wing, needing Poppy's services, and you the worst injured of the lot."
"I've improved since then." They were standing toe to toe now and still he made no move to take her into his arms. She swallowed and bit hard on the inside of her cheek.
"You'll never be cannon-fodder, if I can help it. Why are you complaining? You found your friend's mother for him, and that was a worthy task that you should be proud of."
Her mouth parted. "How do you know I found her?" she asked in a small voice, stealing a glance at his tight lips, his narrowed eyes.
"I've known you since you were a slip of a child, insisting you'd gone to fight a troll by yourself. Could you possibly have returned this soon without her?"
They walked the rest of the way in silence. Hermione didn't want to talk where Lucius Malfoy could hear, and he, after one swift glance at their faces, seemed to have decided not to push his luck.
As they approached the castle, they heard Draco say sharply, "Oi, Weaslette! You keep your paws off Potter until he changes back, got it? My eyes!" and Ginny reply, "Take the glasses off then, and don't look!"
"Ah, I should have known to expect your friends to be just where they weren't wanted, shouldn't I?" Snape muttered to his wife. "Well, at least you will have company while you wait." His gaze swept over the group of students and he raised his voice to a command. "Wands away, immediately! Mr Malfoy is an ally."
"He is, is he?" Minerva rejoined, casting a disparaging glance over the man in question.
"Indeed. Minerva, will you please join with me in conveying the Malfoys and Mr Potter and Mr Longbottom to the headmaster's office? He's asked that Lucius await him there. Miss Lovegood, inform Professor Flitwick that I will need to see the Ravenclaw students we discussed, in my office in around fifteen minutes, if he'd kindly accompany them there. Miss Abbott, the like message to Professor Sprout, if you please. They'll know whom I mean. Mind you say nothing to anyone else or you'll be washing bedpans for the next month."
"It's perfectly simple," Ron said doggedly, while Hannah fidgeted with Severus's favourite quill and Hermione stared down at the silver fob watch she cradled close to her chest. Its hand had just moved from 'Headmaster's office' to 'Potions office'. "The Gryffindor Seeker caught the Snitch, so it's Gryffindor's game. Doesn't matter if he was dressed Slytherin, it's still our match. And by a long margin too."
"Who cares about Quidditch?" Ginny said scornfully, nudging aside a pile of books with the toe of her boot. "It's Harry you should be worried about.What's he doing with those blond gits?"
Luna smiled dreamily, painting little golden suns on her fingernails with a circling motion of her thumb. "Take care of the little things and the big things take care of themselves," she mused. "Sometimes it's easier to complain about what doesn't matter than what does."
Ron shot her a startled look and reddened, but a sudden knocking at the door thankfully closed the topic. It was Harry. They asked, to make sure.
"At last!" Ginny said, flying into his arms and kissing him long and wetly while everyone else stared at the ceiling or the bookshelves. "And no Malfoy this time!"
"No Neville either," Ron said. "What did Snape want with him anyway?"
"Said his parents had been separated long enough and sent him off to St Mungo's to help his grandmother settle his mum back in. And then he sent me here as soon as the Polyjuice wore off and I'd changed back into my own clothes. The last thing I saw before Professor McGonagall closed the door behind me was Draco's dad kneeling down at the Floo to talk to his wife."
"So," Ginny invited, pulling him over to the chair she'd been sitting in. "Tell us everything."
They spent the next three-quarters of an hour comparing notes.
"And the Slytherin Quidditch team flew straight into the changing rooms and didn't come out until the vampires were gone!" Ginny said. "Cowards!"
"Oh, they were more afraid of Snape than Belo – Belo-what's-his-name. The head vampire. Snape had warned them to get under cover and stay put, in case of trouble, or they'd get worse than cleaning bedpans."
"Belododio?" asked Luna. "The one who wrote Pastures of Gory and Carotid-Farming for Fun and Profiteering? Daddy profiled him in the Quibbler three years ago."
"Er, yeah," Harry said. "Him. I think."
Hermione listened absently, fingering the fob. Still in his office.
"The trickiest bit was getting our own wands back to us," Harry was saying some fifteen minutes later. "Snape thought it was worth risking Crucio for. I could have used either – we tried them yesterday – but Priori Incantatem's so rare no one knows what happens if you do it twice and Snape thought my wand might trap Draco into that bubble-thingy with Voldemort if he tried to use it. He gave Draco a Portkey, just in case, but we couldn't be sure it would work."
"They should have given you a Portkey," Hannah said.
Harry shrugged. "No one was looking at me. I could have Apparated away before they noticed I was leaving, but Draco was stuck."
"Draco, is it?" Ron sneered. "When did that slimy git become Draco to you?"
Harry shrugged again. He had rummaged through Draco's mind before agreeing to trust him as an ally, but he had no intention of saying so.
"There are some things you can't share without ending up liking each other," he said. "Looks like knocking out a snake-faced Dark Lord is one of them."
Hermione glared at her husband. He'd sent her friends away and they were alone at last, but he'd taken almost three times the half hour he'd asked for.
"How could you save Lucius Malfoy? He belongs in Azkaban!"
"Since the Dark Lord's return, Lucius has done as little harm as any man could and stay alive."
She snorted. "And before Voldemort's return, he was slipping cursed diaries into eleven-year-olds' cauldrons and trying to kill me! I can't believe you! Have you been planning this ever since you got him out?"
"Of course not, but we needed his help tonight, and he gave it. I knew he would, if it could be put to him the right way. I could tell you that was why we saved him. That was Albus's reason, so it would be true enough." He folded and unfolded his lips, meeting her gaze squarely. "But it was not mine. I saw a chance to save a friend and I took it."
"You saw a chance to save a murderer and you took it?" she echoed. "Why?"
He glanced sideways at her through veiled eyes. "I'd have thought you of all people would understand about loyalty."
She turned away, biting her lips. "You told me the friendship had cooled!"
"It has."
"But you still saved him."
"Hermione, I don't ask you to associate with Lucius; I don't even ask that you let me associate with him. Only that you allow me the comfort of knowing that two of my oldest friends – the last two – are alive and well and finding whatever peace they can with each other. That I have not betrayed quite all of my old companions to their deaths."
"What next?" she grumbled, blinking wet eyes. She hated to hear that desolate note in his voice, but wrong was still wrong. "Lucius Malfoy, the Patron Saint of Muggle-borns?"
"What?" she squeaked, whirling around to stare at him.
"You surely didn't think we were letting him off scot-free? He owes us, and we're exacting payment. The price for his life and soul and reputation is that he abandons forever his opposition to Muggle-borns and instead exerts the full force of his political influence towards advancing their rights. Albus called it 'a gentler bondage than Azkaban, but a bondage nonetheless'."
"What if I say it isn't worth the cost?"
"I'd remind you that Lucius is not the only Slytherin of my generation to be given a second chance."
He had an answer for everything. She was silent, digesting it.
"How can I trust you out of my sight again? You went off into danger without warning me and you didn't even say goodbye," she whispered, reverting to her other complaint.
"I did. You promised I wouldn't lose you."
She looked at him and saw that he had his spy-face on, and her heart clenched suddenly. He had spent too many years stalking off to lick his wounds in private; she could quarrel him to a standstill and he would stay and answer and explain because he'd promised her no more secrets, but every word would take him further and further out of her reach. Oh, he would love her still, but warily, from a safe distance. She didn't want him distant. She didn't want him guarded.
"You're sneaky and manipulative and underhanded," she told him, sniffling and rubbing her nose. "I really don't like your friends and you don't much like any of mine. You treat me like a child and expect me to be an adult. And you trick me into making promises I didn't know I was making, or they mean different things to what I thought." She shook her head and smiled through tears. "And none of it changes anything. I will love you forever." She stumbled forward into his arms, which closed and tightened around her. "When you deserve it and when you don't."
"I never deserve it," he said, burying his face in her hair. "I rescued Lucius and cast the others into the fire, merely because he was my friend and they were less so. I destroyed the families of children I've parented since they were eleven."
"You don't think their parents destroyed themselves?" she murmured.
"That tiny first year with the dreadlocks will have to become a ward of the state. The Marryat twins wouldn't stop crying, even after Pomona took them away." He laughed harshly."Harbin might be lucky. His father only joined last week; he might get out of Azkaban in time for his son's wedding. And my Slytherins!" His hands were like claws at her back. "I killed Vincent Crabbe's father tonight. He and young Gregory are two of the most stupid but most loyal and trusting boys I've ever taught. They're not trusting now."
She closed her eyes against the pain in his voice. "You had to do it. For everyone else."
"I thought so, but maybe I just didn't look hard enough for alternatives."
His shoulders were too thin for the weight they carried. She could feel them trembling. Impulsively, she pressed closer.
He stooped and scooped her up in his arms, carrying her through the door and to their bed. Was it only five days since the first time he'd brought her thus? She kissed him, her hand to his rough cheek. Then there were no more words for a long time but "Yes", "Right there", and "Don't stop. Never stop."
"I was so angry with you," she told him afterwards, as they lay tangled in pliant ease. Her fingers tickled and smoothed where his Dark Mark used to be. She thought she'd never get enough of touching the no longer forbidden flesh. "When I came back and found you gone without telling me. I didn't know whether to be more angry or afraid. Or hurt that you didn't trust me."
"You are the only one I trust." He said. "All my life, I've had to be strong for everyone else. Even for Albus. You are the only one to hold me when I fall. To hold me until I stop falling."
She kissed him again.
"And it's really all over?" Hermione asked some time later. "'Broken mended' and 'cold hearts fond' and 'sorrow's grip ended', like the dreams said?"
"Do you doubt it?" Severus murmured, his lips softly curved and his eyes half-closed.
How could she, when he looked like that? "I'm just so glad we managed to change it so you didn't die. We must have done something right. I wish I knew what. And what use I was in all this. It seems to me I did nothing but open my eyes one day and find that the bravest, dearest person in the world was all mine." She could say things like this to him now, knowing that he wouldn't sneer and he wouldn't laugh.
"You did everything." He ran his hand lazily up her body, from hip to navel to breast and up, over her shoulder and down her arm to her fingertips. Their hands locked. "You told me once that you were less clever than I, but I find you so much wiser. You have a sort of cleverness of the heart, an instinctive understanding that's quite beyond me."
"I don't."
"Do you know what made the difference between the dreams and the reality?" he asked, propping himself up on his other elbow so he could look into her face. "It was you making me teach Potter and Longbottom, whom I'd despaired of; you, building bridges of cooperation between our houses into strong bonds of trust."
She shook her head, the wild curls ballooning up on either side of her face with the movement.
"Turning Potter from a loose cannon into a fellow-soldier," he continued, his eyes intent, "and giving Draco the courage to choose against his family. That was crucial. No matter how we studied the dreams in the Pensieve, we were left with two vital gaps, the date of my death and the location. We knew it was an abandoned quarry, but which one?"
She knew there was no longer need to be afraid, but she shivered. "You knew the date had something to do with Quidditch. You said in your letter that you were wearing your green scarf. Why is every wizard I know obsessed with that stupid game?" she grumbled. "Couldn't you just have put the house matches off until next month?"
"Circumventing a prophecy is not that easy. The scarf would have found its way onto my neck one way or another; if not by my own hands, perhaps Conjured onto me by another. We had to work around it." His lips pursed. "The problem was that Lucius suspected me and set up the attack with Draco instead, leaving me in the dark. I believe our dreams showed what would have happened if Draco had been more obedient and I'd had to choose between saving Potter or myself. In this reality, the one you created, he brought his concerns to me." He smiled at a memory. "Draco and I have always been allies, since the first time he climbed into my lap for a sugar biscuit when he was three."
She couldn't help grinning at the image, although she doubted she'd ever be on good enough terms with her godson to tease him about it.
"I know you have." She scowled. "And how furious it used to make me when you would always praise his potions and look down your nose at mine." She stroked a finger down his nose to match her words, and he bent and touched his forehead to hers, smiling. "It was always him starting the fights, not us, and you always believed him, always."
"But you married me anyway. Are you sure it wasn't just to change my opinion of you? In which you've succeeded admirably, I may say."
"Of course it wasn't."
He lifted an eyebrow and she added, "Well, not just for that. Maybe it had a little to do with it." She stuck out her tongue. It was a provocation he couldn't ignore.
The four recipients of the Order of Merlin, First Class, were unanimous in modestly attributing their achievements to their family and friends. Draco Malfoy spoke for all.
"Let us not forget the courageous self-sacrifice of James and Lily Potter, that ended the first war and contributed so much to moulding their son's character. It is an accident of circumstance that placed me in his company on the fateful night, rather than those who have previously faced Death Eaters at his side – my dear godmother Mrs Snape, my good friend Neville Longbottom, Miss Luna Lovegood, and of course the two youngest members of the illustrious Weasley family, Ronald and Ginevra.
"My godfather told Neville on the morning of the battle that it is sometimes no less brave to be the one who waits behind. He never spoke a truer word. The courage and loyalty of those who waited on our return was an inspiration to us, as it should be to all. I can only hope to, one day, be as fortunate in the choice of a wife as my father and godfather have been…"
In other news, the mangled one-handed body discovered in Begbroke Park, has been definitely confirmed to be that of the rat-Animagus, Peter Pettigrew, otherwise known as Wormtail. Cause of death, massive head injuries, is believed to have been inflicted by an owl while he was in rat form. This news enables us to draw a line under the Voldemortian era…
"So, that's that, then," Neville said matter-of-factly, dropping the newspaper to take another bite of toast. "You really laid it on with a trowel, didn't you? You practising to become Minister of Magic or something?"
Draco scowled at the porridge he was stirring. "Maybe. Someone has to do it." His lips twitched. "Besides, I like winding up the Weasels. Did you see their faces when I called their family 'illustrious'?"
"I saw Hermione's, when you called her 'dear'."
"Yes," Draco said slowly. "So did I. Some dreams come true." His spoon stilled. "And some don't."
A/N The line about "some things you can't share" is a twist on the end of PS, ch 10, except there it was "a twelve-foot mountain troll".
The Death Eaters' children are mostly OCs. The only canon students known to have Death Eater relatives are Crabbe, Goyle, Nott and Malfoy.
Oxford University Begbroke Science Park is not many miles distant from Kirtlington Quarry, so if you were wondering, Wormtail didn't get far. | https://www.fanfiction.net/s/3413147/32/In-Your-Dreams | dclm-gs1-048840000 |
0.05812 | <urn:uuid:89a4ec84-d674-41d1-b4ac-28849a229dd5> | en | 0.914925 | Simplified Chinese Translator
Job Description
I need my website translated from English to simplified Chinese.
To apply:
1. Open the attachment. There are two files: instructions and an Excel file.
2. Open the instructions and read them carefully.
3. To show that you understand the instructions, fill in the last translation for row 1493 in the Excel file. Then save the file and send it to me. YOU MUST SEND THIS SAMPLE TO APPLY. If you do not send this sample, your application will be rejected!
This project needs to be completed very soon. You must be able to work fulltime on this job.
This is a simple project, and we are a small company, so the budget is $15. This is paid when the job is done (no upfront payment).
Skills: english
Open Attachment
Other open jobs by this client | https://www.odesk.com/o/jobs/job/_~0186b64057c19f988a/ | dclm-gs1-048940000 |
0.82946 | <urn:uuid:9f7cd525-94f5-4966-aae9-9510a7a8f36a> | en | 0.951407 | Write 6 Very Quick Product Descriptions
Job Description
I need someone to write 6 product descriptions for men's watches, each description only needs to be about 200-300 words. I need these done before December 1st please.
I will provide you with links to the watches that have all the information you need, you basically just need to re-write the pages I'll link you to.
Please be willing to write one sample description, and if it looks good you're hired to do the rest!
Let me know if you have any questions, thanks! | https://www.odesk.com/o/jobs/job/_~019d41c5b36ed4f083/ | dclm-gs1-048950000 |
0.037186 | <urn:uuid:d187a1dc-d8b0-4652-adaa-6f2af54351c9> | en | 0.964656 | Comments on: A.M. Roundup A behind-the-scenes look at New York politics. Thu, 13 Mar 2014 23:20:19 +0000 hourly 1 By: iknowtruthismine Tue, 03 Mar 2009 00:58:39 +0000 AlbertJ – Those you have supported for the last eight years have already thrown the country under the bus, a bus you seem content to sit in and fling your further support for more of the same. The difference between your president and our real president is that ours actually gives a rat’s butt about all the people, not just a small rich segment of them.
By: AlbertJ Mon, 02 Mar 2009 15:07:06 +0000 “Be careful what you wish for, you might just get it”, is a caution you should seriously consider. This American system provides for periodic changes in direction, but historically only those changes that prove themselves as workable get an opportunity to continue, beyond the next periodic reassessment through re-election.
By: AlbertJ Sun, 01 Mar 2009 16:53:26 +0000 Just for once, INTIM, put your accusation of my ignorance of, “all, crimes of the lying, thieving, fraudulent regime of the last eight years to anyone so ethically and morally devoid of conscience that they can stand in the light of day and act as a shill for what will go down as the lowest, most despicable point in American history”,
aside and provide some detail explaining all your accusations.
The, “if you’re to dumb to know, I’m not going to explain it to you” defense you have relied upon since forever, about everything you insist on whining about in the most exaggerated terms possible, just doesn’t cut it.
What, specific, crimes of the lying, thieving and fraudulent activities are you referring to, so I can determine which may be credible accusations or which are just excessive political rhetoric that can’t be substantiated. Not a difficult challenge, if of course, you actually have some detail to back up your assertions.
By: iknowtruthismine Sat, 28 Feb 2009 16:10:45 +0000 AlbertJ – I do not have to defend the blatantly obvious, known to all, crimes of the lying, thieving, fraudulent regime of the last eight years to anyone so ethically and morally devoid of conscience that they can stand in the light of day and act as a shill for what will go down as the lowest, most despicable point in American history.
By: AlbertJ Fri, 27 Feb 2009 22:41:59 +0000 With all your bluster, all your indignations, INTIM, you still haven’t defind your argument. It’s so easy to call President bush an “unelected dufus”, but the fact is he was elected, then re-elected and steered this nation through some pretty serious times. What you choose to call a “fradulent resource war” was viewed by the majority of this nation’s citizens as an appropriate step to eliminate a serious threat.
Now you add the preposterous suggestion that the Islamic extremists we are currently fighting were “empowered by Reagan, which is an absurd exaggeration. The Democrat party, as is there long standing habit does exactly what they criticize.
You find ir so easy to call those you disagree with the vilest of names, but never offer and facts to back up your outrageous claims. Now you whine those you disagree with, “have led the world to the brink of economic and ecological disaster” yet provide not a shred of argument, much less evidence to substantiate what you claim.
Once again you show your argument to be totally devoid of fact or reason and totally lacking in credibility.
By: iknowtruthismine Fri, 27 Feb 2009 18:28:37 +0000 AlbertJ – Having, for the last eight years, been the recipient of one-sided, partisan, hate driven attacks by right-wing dogma wonks, who allowed an unelected doofus to lead us into a fraudulent resource war in Iraq, by playing on the national angst of an unrelated attack by a group armed, trained, and empowered by the Reagan regime Muslim fanatics, the Democratic party has every right to hold your side up to close examination and restraint because your side still clings to the ridiculous notion that what you did was somehow honorable and should be further emulated. The only break the right-wing should be given is the one that snaps the back of your chosen bunch of the thieving thugs that have led the world to the brink of economic and ecological disaster.
By: AlbertJ Fri, 27 Feb 2009 15:58:51 +0000 Give me a break! Such flowery prose and pompous indignation fueled by the arrogant presumption that expanding home ownership is a “good Democrat idea” amounts to just more of the same old nonsense and, for lack of a better word, “BS”.
No doubt there was an example of unmitigated greed and many in the private sector who chose to take advantage of the lunacy allowed, if not demanded, by out of controll politicians whose only focus appears to have been pandering to a constituency who usually votes as a solid block. The poison was created and fed to the masses by two politically controlled entities who failed miserably to accomplish what they were created to do by tearing down the common sense rules, checks and balances that were designed to allow them to manage what they were created to do.
When questioned about really stupid decisions that were being made, rather than review their actions, they hunkered down and circled their largely Democrat political wagons, which as always are focused on political agenda designed to absorb more power and control. Chairmen Dodd (D-CT) and Frank (D-RI) blocked any and all efforts to rien in policies and practices that were obviously counterproductive. A gaggle of Democrat big shots from the Clinton Administration, with little banking or housing experience, were ushered in, through and out of high ranking executive positions, just long enough to get their tickets punched for golden parachutes.
The “Free-market” does just fine when left to deal with practical and real ebbs and flows. It’s when pure politicians exert purely political obstacles and loop holes designed for their own politically motivated agenda and objectives that the trolley tends to come off the tracks.
I seriously doubt that you will ever be able to comprehend, or understand the most basic certainty, that there are good-bad, honest-dishonest, fair minded-cheaters, innocent-guilty on both sides of every issue. What you continually fail to grasp is that demonizing everyone side of the spectrum, while annointing everyone on the other side is exactly what the negative elements in either side hope for.
Of course it’s always easier, and takes a lot less effort and thought to attack an entire segment with general, undefined accusations than to spend the time to understand exactly where specific problems reside within a group.
By: iknowtruthismine Fri, 27 Feb 2009 00:20:30 +0000 AlbertJ – Your world must be a wondrous place where all that has happened can be ignored, denied, and double talked away. The world you defend is based on unmitigated greed on the part of an uncontrolled and out of controlled banking industry, given a free ride to take a good Democratic idea to expand home ownership (the old American dream crap)and spin it into a funnel to suck wealth out of the system into the pockets of the rich, so that all that remained was a hollow house of cards for the peon investors and the unfortunate home buyers. This stink is a direct result of the so called free-market mantra espoused by the right-wing and no spin you try to place on it is going to wash that greed driven stink off the side you continue to shill for.
By: AlbertJ Thu, 26 Feb 2009 21:02:51 +0000 I don’t expect anyone, with a brain, to forget how out financial house of cards started falling. Sorry, INTIM, “All that doctrinaire right-wing dogma” had very little to do with it. Although the Bush Administration should have pushed harder, they did try and get congress interested in tightening controls on Fannie Mae and Freddie Mac as far back as 2003, but a resiliant Demorcat minority, on it’s way to becoming a stubborn majority under the leadership of Dodd (D-Ct) and Frank (D-RI) blocked every move.
Of course stuffing the upper management jobs in both organizations with Clinton Administration retreads, affording them opportunities to acquire golden parachutes didn’t help much either, any more than a new Senator from Illinois, who was welcomed as a friend and benefactor and supporter of lax management.
If you want to find someone deserving of your frustration, those two Congressional chairmen are perfect targets. You would think, after their dismal and utter failure, they would be replaced as chairmen of their respective powerful Congressional committees. This is where “Change” would have been oh, so appropriate, but no, these two “Foghorn Leghorns” are still in charge, still lecturing about what everybody else has done wrong and still have no clue what they’re talking about.
Why is you keep building on your effort to raise Rush Limbaugh to leader status? He’s a radio celebrity, not a party leader or elected official. Could it be that’s because you really can’t argue facts, so speculation and imagination is all you have left?
For the umpteenth time, you have yet another opportunity to explain what you mean by, “Neocon and right-wing rule” and what about it might be responsible for, “the further destruction of the country”. Most likely the best you can offer is another, “If you don’t know, I’m not going to waste time explaining it”, because you have no idea what your repetitive rhetoric actually means. | http://blog.timesunion.com/capitol/archives/11892/am-roundup-538/feed/ | dclm-gs1-049140000 |
0.036474 | <urn:uuid:e26d4024-3492-43fc-9b86-3ae35e2b3f31> | en | 0.974768 | Ronald Reagan’s top ten speeches and debate moments
The clips are presented in chronological order.
1. “A Time for Choosing”
View the entire speech>>>
3. The Final Presidential Debate Against Jimmy Carter
4. The First Inaugural Speech
5. The “Evil Empire”
Watch the speech in its entirety>>>
6. The 40th Anniversary of D-Day
7. The Last Debate with Mondale
View the full debate>>>
8. The Challenger Disaster
9. “Tear Down This Wall!”
View the entire speech>>>
10. Farewell Address at the ’88 GOP Convention
1. STATW says:
only in america can an absent-minded actor be so revered for screwing up this once great country.
happy birthday ronnie, though i’m sure you have no idea what day it is or even where you are.
2. The voodoo of his trickle down economics proved a disaster for the nation and plunged us into trillion dollar debt for the first time. No re-writing history. A disaster, which “the Great Communicator” and his Republican henchmen hid from the American people.
3. Brealistic says:
Ronald Reagan worship the Republican god and mantra . The father of huge defense increases and the completely busted theory of trickle down economics. A man that had altimeters for half his term in office. Was he a bad president no. He did some very good things. Was he what he’s made up to be now by the Republicans. Definitely no.
4. Brealistic says:
“Alzheimer’s” that’s what you get when you eyes are tired..LOL !
Reagan was god. People forget he was primarily a ACTOR for Christ’s sakes..
5. iknowtruthismine says:
The second this grade B actor assumed The White House, he paid off on a promise to the oil companies to end ALL the incentives Carter had put in place to find alternate and green energy, setting the effort back thirty years. Many of our current problems, all related to ecologically disastrous and soon (in geopolitical terms) to be depleted foreign oil, can be laid at his feet and at the feet of the corporate controlled Right-wing (including the idiot Tea Party rubes), who are intent on running the world into the ground, as they extract as much for themselves as they can while the getting is good.
6. Will says:
I love how these liberal bed-wetters slam a widely loved and respected man who even liberal Chuck Schumer called “one of our better presidents.” Ronald Reagan restored American pride and confidence through his words and actions. His policies ignited a 20+ year period of robust economic growth and he won the Cold War. What’s the matter guys, those facts were missing from your Daily Kos talking points. Get a job and grow up.
7. maverick100 says:
Reagan was a great orator, which made him out to be a very “presidential” President.
But his policies all sucked. HARD.
8. Mike Lieman says:
Was our favorite when he raised taxes to save Social Security?
Was our favorite when he cut and ran from libya?
or Was our favorite when he worked WITH Iranian Terrorists and Hezbollah giving them high-tech weapons?
I think that was my favorite. When he aided the Iranian terrorists.
9. iknowtruthismine says:
Mike – Reagan did what was expedient at the time to serve the wealthy clique that owned him. Short term profits always outweigh long term coherent policy. When he cut and ran from Lebanon (not Libya) it was for the same exact reason the rich don’t have bank savings accounts, no interest.
10. @STATW, he’s dead and his corpse is rotting somewhere. DUH.
Now there are those who will say that is “disrespectful”. I say his policies live on, disrespecting millions.
Reality bites.
11. Dale Gribble says:
Love how the Neo-Cons attribute “20+ year period of robust economic growth” to Reagan.
Let me get this straight:
Prosperity under Clinton was due to Reagan
Economic problems under GWBush were due to Clinton
Current Economic strife is due to Obama.
So the trend is that a good economy is due to the republican president who preceeds a democrate.
However any economic trouble is due to a Democrate President who follows a Republican.
12. Will says:
When did I mention any President other than Reagan? The economy under Clinton was good. It was good under HWBush for the most part. It was good under W for 28 out of 32 quarters of his presidency. The last six months and until present day the economy has not been good if you judge it by job growth, unemployment rate, GDP growth and the housing market. The main cause of this is the housing market crash. The housing market crashed because hundreds of thousands of people were given homes without putting any money down and without showing good credit. It was Dodd, Frank and Obama who were pushing to continually loosen lending standards under Fannie Mac and Freddie Mac and the Community Reinvestment Act. But the orginally debate was over Reagan. When Reagan took office we had stagflation, mortgages near 20% and a crisis of confidence. His policies (across the board tax cuts, deregulation, etc) and his leadership fostered the competitive environment that fostered entrepreneurship and an enviroment that ignited 20+ years of economic growth. Indeed.
RSS feed for comments on this post. | http://blog.timesunion.com/capitol/archives/56038/ronald-reagans-top-ten-speeches-and-debate-moments/ | dclm-gs1-049150000 |
0.02618 | <urn:uuid:d18d6cf7-5954-47bd-9fa9-bb0d866708c0> | en | 0.97343 | Arthur White (actor)
From Wikipedia, the free encyclopedia
Jump to: navigation, search
Arthur White
Born Arthur B. White
1933 (age 80–81)
Finchley, London
Occupation Actor
Parents Arthur R White
Olwen Jones
Relatives David Jason (brother)
Sophie Mae White (niece)
Arthur White (born 1933) is an English stage and screen actor, best known for his occasional role as police archivist Ernie Trigg in the crime drama A Touch of Frost, alongside his real-life younger brother Sir David Jason. His parents were Arthur R White and Olwen Jones. He also appeared briefly with his brother in an episode of The Darling Buds of May. on the episode 4.
In 2008, he worked with Jason again on the comic fantasy The Colour of Magic, where he starred as a character called "Rerpf". He has also made appearances on popular television series such as The Professionals, London's Burning and Family Affairs.
External links[edit] | http://en.wikipedia.org/wiki/Arthur_White_(actor) | dclm-gs1-049250000 |
0.055754 | <urn:uuid:fed3951e-bdf4-44b4-a3de-27ae419479b4> | en | 0.979433 | Healing Hoops in Houston
September, 11, 2005
Today's the day of the big charity game Kenny Smith is organizing at the Toyota Center in Houston. (It's on TNT this evening.)
It's hardly the only way that basketball is helping those affected by Hurricane Katrina. In The New York Times, Lee Jenkins has a nice story about the pickup basketball scene that's developing among hurricane refugees outside the Astrodome where many of them are still living:
The courts opened Friday night, and within a couple of hours, they were filled with about 100 players and spectators, finally able to run, finally able to cheer. Stephon Marbury, the Knicks' captain and a New York City playground legend, was among several N.B.A. players to help christen the court. He shot baskets with children, signed autographs and led a prayer circle during a four-hour visit to the Astrodome.
"Just being able to make them happy meant everything to me," said Marbury, who wept openly when he announced Tuesday that he would donate up to $1 million to the hurricane relief effort. "I'm glad they have basketball now. It's an avenue to take their mind to another place."
Tobbie Stevenson, 15, threw down a tomahawk dunk over two friends Saturday afternoon and flexed his biceps. Mark Rayfield, 17, blocked a shot out of bounds and lobbied for possession. Joshua Butler, 15, made a reverse layup around three defenders and shook his head.
"I was just sitting there all day in that dome, waiting for something to do," Butler said. "I had to get out and do something with the ball."
Some players wore slippers on the court and some wore Air Jordans. Some had LeBron James jerseys and some needed wheelchairs. Everybody received Texas Tech T-shirts, bottled water and their own ball.
Anthony Williams, 14, shooting shirtless in a steady rain, said: "All I know is that I have got to play basketball. Basketball keeps me out of trouble."
There are leagues being organized, and sponsors have come forth with all the necessary materials.
One of the greatest things about basketball: you can play it anywhere with a minimum of equipment and a flexible number of people. That's why poor people have always played it, as have those who are displaced by war, flood etc. (You ever notice how many of the NBA's top European players lived through war in then-Yugoslavia?)
You must be signed in to post a comment
Already have an account? | http://espn.go.com/blog/truehoop/post/_/id/606/healing-hoops-in-houston | dclm-gs1-049300000 |
0.032857 | <urn:uuid:394d1aee-6436-4f1b-91b0-c920bef53d7b> | en | 0.957476 | Health tech
Thermal imaging may help fight obesity
Musical glove could improve mobility after spinal cord injury
Screen yourself for skin cancer with this free iOS app
Lumoback sensor funded in just days on Kickstarter
Michael Phelps snoozes in high-tech compression jammies
Panasonic Este gently steams your tech-fatigued eyes
After a long day staring at your computer monitor, squinting at your smartphone, and ogling video games, your eyes start to feel like they've been lightly sandpapered and left out in a desert wind. You could use eye drops or catch a few winks to recover, or your could invest in a Panasonic Este ES-SW50.
The Este is one of the weirder eye masks ever created. It's a bit chunky, but it does a lot more than just sit there. My Google Translate version of the product page indicates the Este generates a warm steam to soothe the eyes. Essentially, this is the high-tech version of laying a lukewarm washcloth across your peepers.… Read more
How to keep your iPad free of bodily fluids
Paralyzed man sends first tweet with his eyes
Always On Future Tech: Smoking goes high-tech (and smokeless!)
Future tech takes all kinds of forms, and some of those forms are the kind that let you smoke without the guilt or the cancer!
I recently visited Thermo Essence Technologies, which is a Silicon Valley company that makes high-tech "vaporizers" for inhaling nicotine, medical marijuana, or other herbs. They're kind of like electronic cigarettes, but much more premium in terms of construction (and cost). They come in multiple varieties, and they both look cool and keep you from getting cancer, no matter what you're smoking.
The vaporizers use a (rechargeable) battery-powered kiln to conduct super-heated … Read more
Eyejusters double-lens glasses offer DIY vision correction
| http://news.cnet.com/8300-5_3-0-33.html?categoryId=10457985 | dclm-gs1-049620000 |
0.052316 | <urn:uuid:5deed513-8296-4324-bc0f-0145aa814c76> | en | 0.953517 | The Numbers Guy
Voter Fraud: Hard to Identify
Aug. 31, 2012 6:51 p.m. ET
Voter fraud has become a divisive political-campaign issue and given rise to proposals for new voter-identification legislation in 14 states this year. A Texas law passed last year was struck down by federal judges Thursday for failing to prove it wouldn't unfairly affect poor and minority voters.
Some advocates for voter-ID laws point to findings that, in some jurisdictions, registration lists include a large proportion of names that don't belong—sometimes as high as 3%. Meanwhile, researchers studying voter fraud—a term...
Available to Subscribers | http://online.wsj.com/news/articles/SB10000872396390443864204577621732936167586?mod=rss_The_Numbers_Guy&mg=reno64-wsj&url=http%3A%2F%2Fonline.wsj.com%2Farticle%2FSB10000872396390443864204577621732936167586.html%3Fmod%3Drss_The_Numbers_Guy | dclm-gs1-049640000 |
0.035247 | <urn:uuid:2ff7208d-edbd-4a15-a5ab-8baf0659ad2d> | en | 0.955252 | KAMPALA Uganda—Uganda's President Yoweri Museveni is set to sign the antigay bill into law, in an abrupt policy shift just a few weeks after the country's long serving leader appealed for more time to study the bill.
If enacted, the bill could lead to a life sentence for persons convicted of homosexual acts.
Mr. Museveni's decision came after medical experts presented a report asserting that homosexuality isn't "genetic but a social behavior" to lawmakers from the ruling National Resistance Movement party.
The decision comes amid similar efforts in Africa to legislate against homosexuality, which is considered a taboo in many societies on the continent.
In January, Nigerian President Goodluck Jonathan signed into law a bill that makes homosexuality a criminal offense, drawing condemnation from human-rights activists.
"President Museveni declared that he would sign the bill…[he] emphasized that homosexual promoters, exhibitionists and those who practice homosexuality for mercenary reasons will not be tolerated" said Anite Evelyn, spokeswoman for the ruling NRM party.
The ruling party dominating parliament passed the bill in December, but Mr. Museveni has to sign it for it to become law. After delaying its signing, Mr. Museveni appointed a panel comprised of medical experts from the health ministry and the country's oldest public university, Makerere University, to study homosexuality and genetics in human beings.
The panel said in the report presented at a conference of the ruling party lawmakers, that there is "no definitive gene responsible for homosexuality."
"Homosexuality is not a disease but merely an abnormal behavior which may be learned through experiences in life" the panel said.
David Bahati, a Ugandan lawmaker, first introduced the bill in 2009, sparking world-wide condemnation for tough measures that included the death penalty. The bill has since undergone a number of amendments, but activists insist it remains the "worst" in the world.
"The international community has a legal and moral obligation to prevent this law from being implemented," U.S.-based rights group, Center for Constitutional Rights said Saturday. "This dangerous legislation had already intensified the climate of hatred and persecution… in Uganda."
During the same conference, lawmakers passed a resolution urging Mr. Museveni to run for re-election in 2016, as the party's flag bearer. In power since 1986, Mr., Museveni is already one of Africa's longest serving leaders. Initially credited for stabilizing the hitherto crisis-stricken nation, Mr. Museveni has been facing mounting criticisms over human rights abuses and attempting to rule for life.
Write to Nicholas Bariyo at [email protected] | http://online.wsj.com/news/articles/SB10001424052702304703804579384203432968062?mod=WSJ_hpp_MIDDLE_Video_Top&mg=reno64-wsj&url=http%3A%2F%2Fonline.wsj.com%2Farticle%2FSB10001424052702304703804579384203432968062.html%3Fmod%3DWSJ_hpp_MIDDLE_Video_Top | dclm-gs1-049660000 |
0.149082 | <urn:uuid:c586af5e-cea3-448d-9006-71596f8c1c1a> | en | 0.975168 |
by Gena Kaufman
Kate Powers Kate Powers A reader recently wrote to ask me if she should turn down a guy she thought was really great but wasn't physically attracted to, and if so, how should she do it without being too harsh? For the first part of her question, I'm including links to past discussions of the issue at the end of this post.
But I've contemplated the dilemma of how to turn a guy down without being awkward or plain old cruel a few times myself, so I consulted some men in my circle of acquaintances for their take on the issue. If they have to be rejected--sorry guys!--what's the way they'd prefer it to happen? Here are three ways to do it:
See more: 11 Dating Don'ts You Should Stop Doing Now
Just say no. Not to bring up '80s anti-drug slogans into the conversation, but sometimes, the simplest answer is the easiest to stick to. In fact, it was the most common response from the guys I informally surveyed. It's hard to come right out and say it, and sure, it probably doesn't feel great to hear, but it's ultimately the best way. "I can't tell you how many guys I talked to in college who were hopelessly strung along because the girl wouldn't be blunt," said one of them. "Blunt is not equal to mean."
A standard, slightly gentler line. Think, "You're a nice guy, but I'm just not into you in that way." It's clear and not wishy-washy, but it's not quite as blunt as actually stating that you find him unattractive. One not particularly thin-skinned guy said, "I've been on the receiving end of that, and it's fine."
See more: The Best Celeb Haircut for Your Texture
If you're going to make up an excuse, make it one with no holes. The guys I talked to made it clear that they favor the direct approach, even if it hurts, but if you really can't bring yourself to verbalize the cold, hard, I-just-don't-wanna truth, you can at least honor their wishes to not string them along. This means no excuses that make it seem like dating is still an option in the future. So, don't say things like "I'm really busy this week" or "I'm not ready to date right now," because those can string the guy along to next week or that magical time when you are ready. Stick to things like "Sorry, but I have a boyfriend" (or "I just decided to be exclusive with someone else" if you've already gone out with him but don't want to keep doing so). And although there's always a danger he'll find out the truth (which is why you should probably just tell it in the first place), definitely don't use that if it's a blatant lie he'll be able to confirm with friends the same day. That's just cruel.
How do you turn guys down? Are you a truth teller or an excuse maker? How have guys handled your rejection?
More from Glamour:
25 Celebrity Hairstyles That Will Make You Want Bangs
8 Hair Color Ideas To Try This Fall
10 Wardrobe Essentials Every Woman Should Own
The Dos and Don'ts of Fall 2013 Fashion Trends | http://shine.yahoo.com/love-sex/3-guy-approved-ways-turn-down-date-without-211800416.html?.tsrc=yahooHere | dclm-gs1-049730000 |
0.582515 | <urn:uuid:8140b10c-9451-4e58-939f-ff95578fadb0> | en | 0.94891 | Forgot your password?
Comment: Re:Glacier at $20/mn expensive? (Score 1) 942
by afidel (#46464235) Attached to: How Do You Backup 20TB of Data?
You can easily do it cheaper with tape, $50 for an LTO4 drive, $400 for 20 tapes, and $5/month for a safe deposit box. You can double the number of tapes if you always want to have a copy offsite (vs retrieving the tapes, updating the contents and moving them offsite again) and still come out significantly cheaper.
Comment: Re:Similar Situation (Score 2) 942
by afidel (#46463699) Attached to: How Do You Backup 20TB of Data?
You can get an LTO4 SAS drive for ~$50 on ebay, they do 800GB native per tape, so typically ~1.2TB per tape for mixed content (obviously if it's all compressed media it will be much closer to native). 10-20 tapes doesn't seem that bad (we send that many offsite daily). The tapes will cost you ~$20 each unless you're willing to go used (ewww).
Comment: Re:I got in on the Virgin plan at the $25 level. I (Score 1) 273
by afidel (#46444735) Attached to: WSJ: Americans' Phone Bills Are Going Up
Yeah except you can't keep that price and get a decent handset, that's why I just switched the wife over to Republic Wireless, same $25/month but she can use a non-sucky phone (Moto X) instead of her cruddy Optimus V on Virgin Mobile plus she now gets unlimited voice, twice as much data, and roaming to Verizon.
Comment: Re:And this means...? (Score 1) 187
In theory that's correct, for instance our company has a policy that a manager and no more than two of his direct reports can be on a flight together, but the number of times that policy is violated when a bunch of the bigwigs are taking the chartered jet to a meeting far away makes it a bit toothless in reality. Who's going to fire the CEO and a bunch of EVP's?
Comment: Re:Not a subsidy? (Score 2) 126
by afidel (#46433629) Attached to: NASA Admits It Gave Jet Fuel Discounts To Google Execs' Company
Help fight continental drift. | http://slashdot.org/~afidel/ | dclm-gs1-049740000 |
0.099181 | <urn:uuid:62c8f5b5-e753-41d2-adaa-c1b9d09f1809> | en | 0.952697 | Forgot your password?
Comment: Re:Eat your own dogfood, jerks (Score 1) 274
by ianturton (#33282294) Attached to: Legislation To Make Web Devices Accessible To Disabled Users
But the DDA doesn't actually say that, so someone screwed your employer. All they have to do to comply is provide an accessible office (or meeting room) for wheelchair bound employees/visitors.
Contrary to what the tabloid press will tell you the DDA is pretty mild, all you have to do is provide a reasonable adjustment not make the whole building accessible to wheelchairs. However it did mean that my mate Frank who was in a wheelchair didn't have to give his debit card number to some one from the bank every time he wanted to get money out of the ATM or risk being dropped by us after an evenings drinking when we tried to carry him back down the pub steps.
Comment: Re:No Free Market in the EU? (Score 2, Informative) 389
by ianturton (#32759924) Attached to: EU Plans To Make Apple, Adobe and Others Open Up
No, more like "I'd like to change GIS systems, can I get my data back, please?" - Currently if you go with the industry leader you are screwed. For example the US Air Force mandates that all it's bases store their maps in a proprietary DCMA protected format (got to love lobbiests) - This means that the US Air Force Academy spent $25 Million in a non compete tender to ESRI each year to licence the software they need to get to their own datasets (https://www.fbo.gov/index?tab=core&s=opportunity&mode=form&id=01da8bda20d8acaa50c7af0bba1f980c&tabmode=list). This is my taxes going down the drain each and every year.
Comment: Re:What about the presumption of innocence? (Score 1) 1590
by ianturton (#32019972) Attached to: Arizona "Papers, Please" Law May Hit Tech Workers
While I can understand your problems with illegal immigration. I'm a legal immigrant I pay taxes, I pay fees to the immigration service (and extra processing fees to try to get my documentation before the current ones expire) and I don't get to vote so I have no say in the way your government functions. If more states pass laws like this one I (and I suspect other immigrants) will vote with our feet and leave taking our taxes with us, if you are really unlucky we will take the jobs we do with us. Remember by definition I am not doing a job an American can do - if even one American (who could do the job) had applied I wouldn't have got my visa.
Comment: Re:Federal law already requires documentation (Score 1) 1590
by ianturton (#32019788) Attached to: Arizona "Papers, Please" Law May Hit Tech Workers
Actually I'm pretty sure I only have to prove my identity (in PA). I certainly don't carry my passport and HI-B visa with me everyday, they are both expensive and fragile documents that I keep in a safe location in my house. I have a PA driver's license (which I had to prove my immigration status to get) which I do carry in my wallet as it is designed for that. The only time I carry my visa (and a letter from my employer saying I really do still work for them) is if I plan to cross the border.
For those who haven't seen one an H1-B visa is a sheet of not quite letter sized paper with very soluble ink (presumably to prevent forgery not just to save money as they cost $600 + $1000 bribe), it would be a real pain in the ass to have to carry it everywhere.
Comment: Re:Seriously flawed logic (Score 1) 650
by ianturton (#31266378) Attached to: Use Open Source? Then You're a Pirate!
Booksellers in the UK are already trying to force charity shops to stop selling second hand books near their stores - http://www.thebookseller.com/news/93224-oxfam-accused-of-damaging-independents.html
Comment: Re:Seems reasonable (Score 1) 505
by ianturton (#31073726) Attached to: Call For Scientific Research Code To Be Released
Particularly if the research is publicly funded.
unless the public requires us to extract the maximum economic return for our research. In the UK and to a lesser extent the USA researchers are required to make as much money as possible from our research. I've had a lot of problems with university managers when trying to release research code under open licenses.
+ - Build your own multi-touch display->
Submitted by
Link to Original Source
Help fight continental drift. | http://slashdot.org/~ianturton | dclm-gs1-049760000 |
0.053184 | <urn:uuid:8f8368f0-f260-4bfb-9778-81502fafcf5f> | en | 0.828684 | Publishing to Apple App Store
Publishing to Apple App Store
Bild des Benutzers Ed O.
I'm a newby to this development platform, so please forgive if this question is simple. I have enough HTML5/js skills to create a useful app. I'm assuming the Intel App framework will assist in my goal of releasing an app to Android and iOS, but I can't find any resources that explain how I publish a HTML5/js application to Apple's App Store? There's lots on the specifics of making particular code work, or how to achieve certain functionality on platform a or b, but no high level guide on how to take some code and resources, and package them for sale on Apple's App Store. Any guidance appreciated, thanks.
8 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.
Bild des Benutzers Gregory M.
I'll let the Intel Group give you some specifics on how to push to the App Store though a heads-up that ended up taking some time on our end (and a few headscratches at first). Make sure you sign up for the iOS program on the Apple site to get your developpers' keys. Until you have your account setup with them, you will not be able to push to the store or easily share your app for testing.
Software for Smart Companies
Bild des Benutzers Paul Fischer (Intel)
Hello Ed, you need to become an iOS developer and get your developer key from Apple before you can publish to the Apple store. I believe the current fee from Apple is $99/year. Note that this not something that Intel can do for you, we are not able to act as a middle man to make this part of the job easier -- Apple wants you to deal directly with them to become an Apple iOS developer. Once you are an authorized iOS developer and you have your developer key you can provide it to the Intel XDK build system so that signed apps can be created. Without that, we cannot build for you a signed app.
Bild des Benutzers KEERIYAT P.
Hai Paul Fischer
I would like to know, Whether Intel App store supports Swf files, we made e learning application by using Adobe flash swfs and a central loader exe, kindly advice me , How it can be converted for App store by using HTML5
Chief Executive Officer
Bild des Benutzers PONRAM
hey keeriyat i got one idea and its simple. You just make your application as .msi that is installer App . then you do not worry for these problem. if you dont hav idea about .msi making knock me.
Bild des Benutzers Paul Fischer (Intel)
Hello Keeriyat, I am unsure what the requirements are for the Intel App store executables. Daniel may know that answer, I'll see if I can get him to answer your question. Paul
Bild des Benutzers danielholmlund (Intel)
Hi keeriyat.
Here are the requirements for submitting an application to the Intel AppUp Center.
Bild des Benutzers JudLup Luna
Hi, you should pay i believe 99 usd to upload your app on app store
JudLup Luna
Melden Sie sich an, um einen Kommentar zu hinterlassen. | http://software.intel.com/de-de/forums/topic/392564 | dclm-gs1-049790000 |
0.62319 | <urn:uuid:0d61e34b-6ca0-48b6-a9a6-95bf78919ad0> | en | 0.917544 | Take the 2-minute tour ×
I have an array y[x], x=0,1,2,...,10^6 describing a periodic signal with y(10^6)=y(0), and I want to compute its derivative dy/dx with a fast method.
I tried the spectral difference method, namely
dy/dx = inverse_fourier_transform ( i*k fourier_transform(y)[k] ) .................(1)
and the result is different from (y[x+1]-y[x-1])/2 i.e. suggested by finite difference method.
Which of the two is more accurate, and which is faster? Are there other comparable methods?
Below is an effort to understand the difference of the results:
If one expand both the sum for the fourier_transform and that for the inverse_fourier_transform in (1), one can express dy/dx as a linear combination of y[x] with coefficients a[x]. I computed these coefficients and they seem to go as 1/n (when the length of the array goes to infinity) with n being the distance to where the derivative is examined. Compared to the finite differencing method which uses only the two neighboring points, the spectral difference is highly non-local... Am I correct with this result, and if yes, how to understand this?
share|improve this question
You should post your question here: math.stackexchange.com – SteAp Apr 18 '12 at 21:50
this could also have gone to scicomp.stackexchange.com, but is probably a best fit at dsp.stackexchange.com – Aron Ahmadia May 10 '12 at 19:04
add comment
1 Answer
up vote 2 down vote accepted
if you are sampling the signal above the nyquist frequency then the fourier method gives you an exact answer because your data completely describe the signal (assuming no noise).
the finite difference method is a first order approximation and so is not exact. but still, if you plot the two, they should show the same basic trends. if they look completely different then you probably have an error somewhere.
however, a fast ft is O(nlog(n)) while finite differences are O(n) so the latter is faster (but not so much faster that it should be automatically preferred).
the fourier approach is non-local in the sense that it constructs the whole signal, exactly (and so uses all wavelengths).
share|improve this answer
Thanks! My signal is a continuous one and does not have a cut-off frequency, so there is always more structure not sampled on small scales. – user1342516 Apr 19 '12 at 6:48
Is it appropriate to understand like this: finite difference calculates the derivative on the smallest sampling scale, while as the spectral/fourier approach tries to reconstruct the whole signal with all sampled frequencies and computes the derivative of the reconstructed signal on an infinitesimal scale? – user1342516 Apr 19 '12 at 6:57
yes, but in your case you will also have artifacts because reconstruction is not correct (as you have frequencies in the "real" signal that are not present in the data). – andrew cooke Apr 19 '12 at 10:48
add comment
Your Answer
| http://stackoverflow.com/questions/10218559/computing-derivatives-of-discrete-periodic-data/10218615 | dclm-gs1-049830000 |
0.355951 | <urn:uuid:1b7d128b-3cfd-4cfb-a884-63bd2b36369b> | en | 0.919668 | Take the 2-minute tour ×
I have the following LINQ query:
var queryGroups = (from p in db.cl_contact_event
select new Groups { inputFileName = p.input_file_name }).Distinct();
Which translates to the following when run:
[Distinct1].[C1] AS [C1],
[Distinct1].[input_file_name] AS [input_file_name]
[Extent1].[input_file_name] AS [input_file_name],
1 AS [C1]
FROM [mel].[cl_contact_event] AS [Extent1]
) AS [Distinct1]
Now I'm pretty sure that the reason there is a sub-select is because I have the base LINQ query surrounded by () and then perform .Distinct() but I don't know enough about LINQ to be sure of this. If that's indeed the case is there a way to restructure/code my query so that a sub-select doesn't occur?
I know that it probably seems that I'm just nit-picking here but I'm just curious.
share|improve this question
Is that linq-to-sql, linq-to-entities or linq-to-nhibernate? – Danny Varod Jun 18 '12 at 22:39
@DannyVarod linq-to-entities I believe since I'm using EF4 I'm querying a Sybase database. – Kittoes Jun 18 '12 at 22:51
In that case, change the tag you have used and update the question's title accordingly. – Danny Varod Jun 18 '12 at 22:52
Compare query plans between what EF produces and your proposed improvement, and see if there's a difference. The query optimizer is pretty clever. – AakashM Jun 19 '12 at 8:07
add comment
2 Answers
up vote 4 down vote accepted
In this I suspect that the actual root cause of the subquery is the anonymous type constructor. Because you are not selecting a known entity, but rather an arbitrary object constructed from other entity values, the EF parser needs to make sure it can produce the exact set of fields -- whether from a single table, joined tables, calculated fields, other sub-queries, etc. The expression tree parser is very good at writing SQL statements out of LINQ queries whenever possible, but it's not omniscient. It processes the queries in a systematic way, that will always produce correct results (in the sense that you get what you asked for), though not always optimal results.
As far as rewriting the query to eliminate the sub-select, first off: I don't see an obvious way to do so that eliminates the anonymous type and produces correct results. More importantly, though, I wouldn't bother. Modern SQL servers like Sybase are very smart -- often smarter than the developer -- and very good at producing an optimal query plan out of a query. Besides that, EF loves sub-queries, because they are very good ways to write complex queries in an automated fashion. You often find them even when your LINQ query did not appear use them. Trying to eliminate them all from your queries will quickly become an exercise in futility.
share|improve this answer
Thanks for the excellent and well-detailed response. I just wanted to be sure that I wasn't making any obvious mistakes. – Kittoes Jun 19 '12 at 8:38
add comment
I wouldn't worry about this particular situation at all. SQL Server (and most likely any enterprise database) will optimize away the outer Select statement anyway. I would theorize that the reason this SQL statement is generated is because this is the most generic and reusable statement. From my experience, this always happens on Distinct().
share|improve this answer
add comment
Your Answer
| http://stackoverflow.com/questions/11091968/why-does-linq-to-entities-put-this-query-in-a-sub-select | dclm-gs1-049880000 |
0.880739 | <urn:uuid:c6878a1b-df05-4f99-b8f8-d8d55021c72e> | en | 0.775623 | Take the 2-minute tour ×
I need to create a SOAP request which looks like this:
The operation expects this:
[209] => struct getItemsForProject {
wsAuth token;
long projectId;
int start;
int count;
I have tried the following but keep hitting PHP Fatal error: SOAP-ERROR: Encoding: object has no 'start' property
I know that the token object can be created like this, as I have used it for another operation:
$auth->token = new \stdClass;
$auth->token->user = $username;
$auth->token->password = $password;
However, doing something similar for the 'start' parameter is failing with the fatal error message. Here's part of the code:
$opts = new \StdClass;
$opts->projectId = 123;
$opts->start = 0;
$opts->count = 0;
$resp = $soap->getItemsForProject($auth, $opts);
echo $soap->__getLastRequest() ."\n";
I am unable to print the full soap request using $soap->__getLastRequest() because it is returning the fatal error before issuing the request. Similarly, I cannot use var_dump() on the $resp because it dies before executing that line. How can I tell what is actually being sent?! If I know that, then I can debug this more easily.
Thanks, ns
share|improve this question
add comment
1 Answer
up vote 3 down vote accepted
Try with something like that :
$myClass->token = new \stdClass;
$myClass->token->user = $username;
$myClass->token->password = $password;
$myClass->projectId = 123;
$myClass->start = 0;
$myClass->count = 0;
$resp = $soap->getItemsForProject($myClass);
share|improve this answer
Thanks ssx!! Don't know why I didn't try that originally... – nonshatter Aug 8 '12 at 15:00
Glad I could help ! – Anas Aug 8 '12 at 15:06
add comment
Your Answer
| http://stackoverflow.com/questions/11866425/soap-error-encoding-object-has-no-property?answertab=oldest | dclm-gs1-049940000 |
0.06004 | <urn:uuid:6fb4d798-98e5-4ba1-a10c-7c9c3857b8d9> | en | 0.878332 | Take the 2-minute tour ×
I am trying to hide the keyboard in my SplitView application (because it covers over part of the root menu). However, the only thing I can find is how to hide the keyboard after a textfield has been used [TextField resignFirstResponder].
Is there any other way to hide the keyboard?
Ideally I would like to use the barButtonItem, which displays the menu, as a trigger to hide the keyboard.
share|improve this question
add comment
3 Answers
up vote 6 down vote accepted
Use this:
[[[UIApplication sharedApplication] keyWindow] endEditing:YES];
share|improve this answer
exactly what I was looking for, works perfectly ! – BloonsTowerDefence Aug 15 '12 at 18:15
add comment
You need to send the -resignFirstResponder message to the instance of whatever UI element currently has first responder status. So if there were a firstNameTextField property on your class that corresponds to an instance of UITextField, you need to send the message to that object.
[self.firstNameTextField resignFirstResponder];
share|improve this answer
Does it work with any UI element? Can I use a UIBarButtonItem? My whole problem is that I don't have a specific textfield to link it to. – BloonsTowerDefence Aug 15 '12 at 17:46
Technically any instance of UIView can become the first responder since it is a subclass of UIResponder but it only invokes the keyboard if the class conforms to the UITextInput protocol. To dismiss the keyboard via a UIBarButtonItem, you need to connect that button to a method that invokes resignFirstResponder on the active text field. If you just want to blindly end all editing, you can also send endEditing: to the root view and it will walk through the subviews and resign first responder on which ever subview currently has it. – Mark Adams Aug 15 '12 at 17:50
add comment
resignFirstResponder is way to do it. If you have a situation where your firstResponder is not set up as an instance variable (perhaps its generated), you can 'get' your firstResponder using this answer. After you have your first responder object, simply resign it!
hope this helps.
share|improve this answer
add comment
Your Answer
| http://stackoverflow.com/questions/11974287/hiding-the-uikeyboard | dclm-gs1-049950000 |
0.107408 | <urn:uuid:a4e5a1a5-8f5f-4012-a4c9-ed3a4a6434a9> | en | 0.808946 | Take the 2-minute tour ×
I'm quite new to working with UIImages on the byte level, but I was hoping that someone could point me to some guides on this matter?
I am ultimately looking to edit the RGBA values of the bytes, based on certain parameters (position, color, etc.) and I know I've come across samples/tutorials for this before, but I just can't seem to find anything now.
Basically, I'm hoping to be able to break a UIImage down to its bytes and iterate over them and edit the bytes' RGBA values individually. Maybe some sample code here would be a big help as well.
I've already been working in the different image contexts and editing the images with the CG power tools, but I would like to be able to work at the byte level.
Sorry, but I do understand that you cannot edit the bytes in a UIImage directly. I should have asked my question more clearly. I meant to ask how can I get the bytes of a UIImage, edit those bytes and then create a new UIImage from those bytes.
As pointed out by @BradLarson, OpenGL is a better option for this and there is a great library, which was created by @BradLarson, here. Thanks @CSmith for pointing it out!
share|improve this question
What specifically do you want to do with the image bytes? Run an operation on each pixel? If so, you might want to look at using OpenGL ES fragment shaders instead of a slower iteration over the pixels on the CPU. An OpenGL ES implementation can be up to 100X faster than a CPU-bound loop. – Brad Larson Aug 23 '12 at 19:58
@BradLarson has awesome GPUImage library you can download to learn OpenGL ES programming, worked for me! – CSmith Aug 23 '12 at 20:04
@BradLarson Thanks so much! I will definitely go through your GPUImage open source library that CSmith pointed out. Thanks for the help! – RileyE Aug 23 '12 at 20:58
add comment
2 Answers
up vote 1 down vote accepted
@MartinR has right answer, here is some code to get you started:
UIImage *image = your image;
CGImageRef imageRef = image.CGImage;
NSUInteger nWidth = CGImageGetWidth(imageRef);
NSUInteger nHeight = CGImageGetHeight(imageRef);
NSUInteger nBytesPerRow = CGImageGetBytesPerRow(imageRef);
NSUInteger nBitsPerPixel = CGImageGetBitsPerPixel(imageRef);
NSUInteger nBitsPerComponent = CGImageGetBitsPerComponent(imageRef);
NSUInteger nBytesPerPixel = nBitsPerPixel == 24 ? 3 : 4;
unsigned char *rawInput = malloc (nWidth * nHeight * nBytesPerPixel);
CGColorSpaceRef colorSpaceRGB = CGColorSpaceCreateDeviceRGB();
CGContextRef context = CGBitmapContextCreate(rawInput, nWidth, nHeight, nBitsPerComponent, nBytesPerRow, colorSpaceRGB, kCGImageAlphaNoneSkipFirst | kCGBitmapByteOrder32Big);
CGContextDrawImage (context, CGRectMake(0, 0, nWidth, nHeight), imageRef);
// modify the pixels stored in the array of 4-byte pixels at rawInput
UIImage *imageNew = [[UIImage alloc] initWithCGImage:CGBitmapContextCreateImage(context)];
CGContextRelease (context);
free (rawInput);
share|improve this answer
To modify a specific pixel's RGBA contents, I would access them as such: R => rawInput[i*nBitsPerPixel], G => rawInput[i*nBitsPerPixel + nBitsPerComponent], B => rawInput[i*nBitsPerPixel + nBitsPerComponent*2], A => rawInput[i*nBitsPerPixel + nBitsPerComponent*3], where i is the position in the iteration? And can I set the values (I'm assuming they're from 0.0f - 1.0f) directly? – RileyE Aug 23 '12 at 20:57
each pixel is four bytes, RGBA (e.g. nBytesPerPixel == 4). They are bytes, not floats. Row 0, column 0 is first four bytes, row 0 column 1 is next four bytes, etc. While this will get you going, OpenGL is worth the effort, especially if your bitmaps are large. – CSmith Aug 24 '12 at 12:22
To set the first pixel's blue, I would essentially access the third position in the byte array and I could set it to 0xff for 255 blue? – RileyE Aug 24 '12 at 13:23
Yes, thats correct – CSmith Aug 24 '12 at 16:44
add comment
You have no direct access to the bytes in an UIImage and you cannot change them directly.
You have to draw the image into a CGBitmapContext, modify the pixels in the bitmap, and then create a new image from the bitmap context.
share|improve this answer
add comment
Your Answer
| http://stackoverflow.com/questions/12098473/edit-color-bytes-in-uiimage | dclm-gs1-049960000 |
0.082101 | <urn:uuid:eef1ce07-8cfa-4970-9a9f-86f598cf8660> | en | 0.91533 | Take the 2-minute tour ×
I have a custom drawn control containing some plots. I've put it inside a scrollviewer since later I want to be able to zoom the control's contents. I want this control to have a specific minimum height and if the available visible space is bigger than that it should fill the space. However using MeasureOverride I just get infinity for the available height (because of the scrollviewer). How can I get the actual available visible space during MeasureOverride to stretch my control to this height?
share|improve this question
add comment
1 Answer
You should not need to do any layout overriding for that, just set the alignments to Stretch and a MinHeight.
share|improve this answer
You are right, this works. Thanks :) However now I have the next problem: I draw all the plots manually for performance reasons. I also do the zooming that way and I'd like the panel to grow in height according to the zoom level (scrolling inclusive). How can I achieve that? (The control's height is set to NaN, just tried that) – Tobias Zimmermann Aug 31 '12 at 14:23
@TobiasZimmermann: Use the LayoutTrasform, set it to a ScaleTransform. – H.B. Aug 31 '12 at 14:27
unfortunately this doesn't work well thanks to me drawing my plots "by hand" (it looks terrible then) – Tobias Zimmermann Sep 3 '12 at 7:08
@TobiasZimmermann: Well, that would have been the standard way, can't you change the size and simultaneously change the scale at which you draw? – H.B. Sep 5 '12 at 1:43
add comment
Your Answer
| http://stackoverflow.com/questions/12216762/fill-with-measure-arrangeoverride-inside-a-scrollviewer?answertab=oldest | dclm-gs1-049970000 |
0.665048 | <urn:uuid:53e37cde-2559-4685-a66a-9adcf88c5692> | en | 0.818702 | Take the 2-minute tour ×
This is my data
id cost cat foreign colours
385_white 99 swarovski 12 black;blue
386_white 99 swarovski 12 black;blue;green
387_white 99 swarovski 12 yellow;green
389_white 99 swarovski 12 white;silver
385_white 99 swarovski 12 silver
This is my query
$checkSQL=mysql_query("SELECT * FROM `products`");
while($r = mysql_fetch_array($checkSQL)) {
echo '
<ul class="ColourList">
<li class="$row">$row</li>
Pseudo code - this should split the list into unique li
foreach ($r["colours"] as $key){
$key = explode(";", $r["colours"]);
<li class="$key"></li>
I want to create a list li item for each colour in the table row, so basically split the colon into separate rows - think it is explode?
share|improve this question
You could always try it and see. – andrewsi Oct 1 '12 at 15:50
Your while loop isn't going to output correctly. since it is single-quoted. Variables ($row) won't be interpolated! – Michael Berkowski Oct 1 '12 at 15:55
add comment
closed as not a real question by Bot, jeroen, dSquared, andrewsi, Sam Oct 1 '12 at 19:03
2 Answers
up vote 3 down vote accepted
This ought to do it :)
while($r = mysql_fetch_assoc($checkSQL)) {
echo '<ul class="ColourList">';
$cols = explode( ';', $r['colours'] );
foreach ( $cols as $col ){
echo '<li class="' . $col . '">' . $col . '</li>';
echo '</ul>';
share|improve this answer
+1 Good answer and glad you changed mysql_fetch_array to mysql_fetch_assoc. Might want to point out the reason why you did that. Also, might want to point out that you shouldn't use mysql_* functions at all. Aside from that, this answer is fundamentally the same as the answer that I was going to post before you beat me to it :-) – Travesty3 Oct 1 '12 at 16:03
add comment
$this->dbo = new mysqli(
$r = $this->dbo->query( "SELECT * FROM `products`" ) or die( $this->dbo->error );
while ( $r_items = $r->fetch_assoc() )
echo '<ul class="ColourList">';
foreach( explode(";" $r_items['colours']) as $r_color) {
echo '<li class="' . $r_color . '">' . $r_color . '</li>';
echo '</ul>';
I have provided this code instead of the original code as someone else already provided a good example of how to fix your code to make it work. This however is an example of mysqli, you should consider using mysqli instead of regular mysql simply for security reasons... I do not know the exact reasons but I have been told its best to use mysqli instead.
please forgive me if there are any errors in my code, this has not been tested but should work.
share|improve this answer
Pretty sure it needs to be $r[4], considering 0 = id, 1 = cost, 2 = cat, 3 = foreign, 4 = colour – Set Sail Media Oct 1 '12 at 16:00
yep, my mistake, array starts on 0 :) thanks – brenmoss Oct 1 '12 at 16:18
add comment
| http://stackoverflow.com/questions/12676655/php-foreach-statement-within-mysql-select-query | dclm-gs1-050000000 |
0.925117 | <urn:uuid:e0e47397-5f22-4565-86b4-8a30340c6c63> | en | 0.804445 | Take the 2-minute tour ×
Currently I'm using UISwipeGestureRecognizer to view the left or right each image, but the image move very fast.
Which way to hold and move the image slowly like iPhone Photos gallery?
On iPhone Photos we can move the image to left or right very slow and can see a part of next image. How can we do that?
share|improve this question
add comment
1 Answer
up vote 0 down vote accepted
Use a UIScrollView. There's a tutorial here - http://www.raywenderlich.com/10518/how-to-use-uiscrollview-to-scroll-and-zoom-content .
share|improve this answer
Very great. Thanks mattjgalloway so much. – jimmy Oct 25 '12 at 8:03
add comment
Your Answer
| http://stackoverflow.com/questions/13063423/hold-and-move-image-left-or-right-like-photo-gallery-on-iphone | dclm-gs1-050030000 |
0.049157 | <urn:uuid:bfddb2e2-dd66-40bc-bff1-72689d22f7de> | en | 0.660716 | Take the 2-minute tour ×
i want that when you press the TAB key moves to the next EditText. At the moment only adds blanks, I'm working on Android 2.3
Anyone know any way?
share|improve this question
add comment
1 Answer
up vote 0 down vote accepted
This is how i resolved:
private class GenericTextWatcher implements TextWatcher{
private View view;
private GenericTextWatcher(View view) {
this.view = view;
case R.id.txt_checklocation_location:
if (txt_checklocation_location.getText().toString().endsWith("\t"))
public void afterTextChanged(Editable editable) {}
share|improve this answer
add comment
Your Answer
| http://stackoverflow.com/questions/13633183/the-tab-key-gives-only-blanks-how-do-you-go-to-next-edittext-with-tab | dclm-gs1-050060000 |
0.137364 | <urn:uuid:a65c15c3-6097-46b1-8560-121bf799faff> | en | 0.875792 | Take the 2-minute tour ×
I am looking for an open source C/C++ image/video thumbnail generation libraries.
(other than ffmpeg or DevIL)
share|improve this question
add comment
2 Answers
Try ffmpegthumbnailer:
This thumbnailer was designed to be as fast and lightweight as possible. The only dependencies are ffmpeg, libpng and libjpeg.
share|improve this answer
add comment
Will Image Magick work? It is quite a capable library with C++ (and C) bindings. It does support grabbing still frames from some video formats, see here. It's a command-line example, but should work from the API as well.
share|improve this answer
Image Magick is fine, but it does not support video thumbnail generation AFAIK. – Eli Ben-Ami Sep 3 '09 at 18:05
What format are your videos in? ImageMagick does support some AVI formats. – Matthew Talbert Sep 3 '09 at 18:43
add comment
Your Answer
| http://stackoverflow.com/questions/1370325/looking-for-an-open-source-c-c-image-video-thumbnail-generation-libraries?answertab=active | dclm-gs1-050070000 |
0.900879 | <urn:uuid:431db62e-6979-40ff-8a2d-b92cfc5d11cc> | en | 0.84997 | Take the 2-minute tour ×
I've come across some code where square brackets are used on "self". I'm not familiar with this notation and as I'm trying to get my head around source code not written by me, it makes it difficult to understand what sort of object is being dealt with here.
The example I've come across is in the Natural Language Toolkit for Python here. You can find an example of what I mean if you ctrl-F self[context].
It may not be possible to tell exactly how it's being used without more context, but here's a snippet with an example:
context = tuple(context)
if (context + (word,) in self._ngrams) or (self._n == 1):
return self[context].prob(word)
return self._alpha(context) * self._backoff.prob(word, context[1:])
share|improve this question
Might I suggest you read this page in its entirety? Yes, from top to bottom. – phant0m Dec 17 '12 at 22:02
@phant0m -- That's good advice. I feel like I should even do it. (I'm pretty sure I've read the whole thing, but never all in 1 go). – mgilson Dec 17 '12 at 22:05
@mgilson The sad thing is, I don't think I've ever seen a question referencing that page. So I still don't know whether people don't understand it, or don't read it. – phant0m Dec 17 '12 at 22:13
Some people just stop reading after 140 characters :) – gnibbler Dec 17 '12 at 22:14
@gnibbler The same that write 140-line functions? – phant0m Dec 17 '12 at 22:15
add comment
3 Answers
up vote 3 down vote accepted
square brackets are python's way of saying "call the __getitem__ (or __setitem__) method."
x = a[...] #call a.__getitem__(...)
a[...] = x #call a.__setitem__(...)
del a[...] #call a.__delitem__(...)
In your case, there's nothing different between self and a. In fact, there's nothing special about self in a class's method at all. The first argument passed to a method is an instance of the class, but you can call that argument anything you want. self is just a (very highly recommended) convention.
share|improve this answer
add comment
self is just an identifier, so this is the same as doing [] on any other object. For this to work, self has to implement __getitem__, the "magic method" that is invoked by the square brackets.
class OneItemContainer(object):
def __init__(self, value):
self.value = value
def __getitem__(self, i):
if i != 0:
raise IndexError("this container can only hold one object")
return self.value
Now you can do
container = OneItemContainer("ham")
print(container[0]) # will print ham
But there's no reason why you shouldn't be able use [] from within a method:
# on the previous class
def __repr__(self):
return "OneItemContainer(%r)" % self[0]
share|improve this answer
add comment
def __getitem__(self, item):
return self._model[tuple(item)]
allows iterating the data owned by the object.
object.__getitem__(self, key)
share|improve this answer
add comment
Your Answer
| http://stackoverflow.com/questions/13922895/square-brackets-applied-to-self-in-python | dclm-gs1-050080000 |
0.150396 | <urn:uuid:dd47861e-7c31-4e50-9d23-b56e85a8e412> | en | 0.756844 | Take the 2-minute tour ×
I am using the Microsoft.Office.Interop.Word library to automatically fill text into a Word template form (.dotx).
When i am filling the form with text i use MS Word bookmarks like this:
object oBookMark = "Bookmark-To-Find";
doc.FormFields.get_Item(ref oBookMark).Result = Value-To-Insert;
The reference is there so i don't need to fill out same information 100 times in the same document.
The MS Word Reference needs to be manually updated when the document is created. Is there anyway to fix this?
Questions: Can i update all references with c# code? Is there any better way to make this?
share|improve this question
Well i dont have any code for the cross reference, the question was: Is there any way to update references when document is created. – Stefan Karlsson Jan 13 '13 at 11:57
add comment
1 Answer
You need to update all fields in the document:
You can also update particular fields only by calling the Update() method of the respective fields within the doc.Fields collection.
share|improve this answer
add comment
Your Answer
| http://stackoverflow.com/questions/14299292/update-word-ref-microsoft-office-interop-word?answertab=active | dclm-gs1-050100000 |
0.700142 | <urn:uuid:e8fa9630-8d6a-40ce-bc7e-3a1f8b73f5a0> | en | 0.77137 | Take the 2-minute tour ×
I am implementing a SMS App, till now i achieved to get all the messages(sent, received, drafts) with its contact number, thread id, contact id, date, type.
Here is my code:
Uri mSmsinboxQueryUri = Uri.parse("content://sms");
Cursor cursor = _context.getContentResolver().query(
new String[] { "_id", "thread_id", "address", "date", "body",
"type" }, null, null, null);
String[] columns = new String[] { "address", "thread_id", "date",
"body", "type" };
if (cursor.getCount() > 0) {
while (cursor.moveToNext()) {
String address = null, date = null, msg = null, type = null, threadId = null;
address = cursor.getString(cursor.getColumnIndex(columns[0]));
threadId = cursor.getString(cursor.getColumnIndex(columns[1]));
date = cursor.getString(cursor.getColumnIndex(columns[2]));
msg = cursor.getString(cursor.getColumnIndex(columns[3]));
type = cursor.getString(cursor.getColumnIndex(columns[4]));
Log.e("SMS-inbox", "\nTHREAD_ID: "
+ threadId + "\nNUMBER: " + address + "\nTIME: " + date + "\nMESSAGE: " + msg + "\nTYPE: " + type);
Now, i need to separate these messages by thread id (messages with same thread id). How can i best achieve that? Thanks!
share|improve this question
You might be looking for 'GROUP BY' in the query. – wtsang02 Jan 26 '13 at 16:25
add comment
1 Answer
up vote 2 down vote accepted
I would not save those strings seperatly in the first place.
What I would do is a class like:
public class SmsMsg {
private String address = null;
private String threadId = null;
private String date = null;
private String msg = null;
private String type = null;
public SmsMsg(Cursor cursor) {
this.address = cursor.getString(cursor.getColumnIndex("address"));
this.threadId = cursor.getString(cursor.getColumnIndex("thread_id"));
this.date = cursor.getString(cursor.getColumnIndex("date"));
this.msg = cursor.getString(cursor.getColumnIndex("body"));
this.type = cursor.getString(cursor.getColumnIndex("type"));
now you can instantiate an object of SmsMsg in your while-loop as long cursor.moveToNext() is true and add it to a List of your choice.
You now could copy all messages of a desired threadId to a different List and sort it by date for example. That depends on what you want do do with it.
share|improve this answer
Thanks for the reply, Yes i will follow this creating a ArrayList<SmsMsg>, now first i need to get all the thread_id's to one array and then for each id i need to create a new ArrayList<SmsMsg>. Could you please elaborate on sorting by date. – sukarno Jan 26 '13 at 16:44
Is this the right way am approaching or would you please suggest me a resource or reference source for a messaging App with features like listing all messages by conversation, deleting a message, delete a conversation etc.. – sukarno Jan 26 '13 at 16:49
save the Id's to a List aswell. With all the functionality you will get, you also avoid Null-Pointer Exceptions, which could happen easily. – SatelliteSD Jan 26 '13 at 16:50
for sort by date you have to read about custom comparators (javabeat.net/2007/09/sorting-custom-types-in-java) since date is a String-object and therefore not really good comparable, you will have to parse it to a DateTime-object (if I recall correctly). – SatelliteSD Jan 26 '13 at 17:09
Sorry I don't have any good sources (not even bad ones). But don't hesitate to ask a question on SO. I am sure somebody knows an answer, or at least can point to it. – SatelliteSD Jan 26 '13 at 17:22
show 3 more comments
Your Answer
| http://stackoverflow.com/questions/14538798/android-sms-group-by-its-thread-id?answertab=oldest | dclm-gs1-050110000 |
0.404234 | <urn:uuid:aebea838-6878-4cc6-839a-662a3b9057bd> | en | 0.820201 | Take the 2-minute tour ×
I've created an XSLT using an identity template and several templates that match to a potential XPath in the source. However, the matching paths do not always exist. Is there a way to "insert" the path before the matching template applies? Since I know XSLT does not execute procedurally, I wasn't sure how to do this. Examples below.
Let's say this is the XSLT:
<xsl:template match='pathA'>
do stuff
<xsl:template match='pathB'>
do something
<xsl:template match='pathC'>
do other stuff
And let's say this in the input:
<pathA>I have Data!</pathA>
<pathC>We skipped B!</pathC>
Is there a way to "create" pathB so that the template that matches the XPath can execute?
Thanks again for any assistance!
share|improve this question
I don't think it's possible without doing two passes with XSLT. You can probably achieve what you're looking for, though: for example, you could process a pathC element without a preceding pathB sibling differently than a pathC element with one by adding a template match like this: <xsl:template match="pathC[not(preceding-sibling::pathB)]"> ... </xsl:template>. – Eero Helenius Feb 26 '13 at 8:31
That's a good point, I may try that. My only concern is scale. What happens when you have all the way to path AY? Do you then create a different template for all the different permutations? – J R Feb 26 '13 at 15:20
Possibly. It depends on what you want to happen when you have all the way to pathY. Maybe you want to match all children of <Child> that don't have a preceding pathB sibling? (<xsl:template match="Child/*[not(preceding-sibling::pathB)]">) I'd need to know a bit more about exactly what you want to achieve to give more concrete suggestions. Adding a sample of your expected output into your question would help. – Eero Helenius Feb 26 '13 at 16:52
that's a good suggestion also. Essentially, "<Child>" contains response data from an inquiry. I have the schema for all the potential values, but only the items that have values in the table will be populated in the xml response. What I'm trying to do is "update" the data by using match templates. The only problem is when I need to add a value, so the xpath doesn't exists to match to. You can see the original question in this post: stackoverflow.com/questions/15079437/… – J R Mar 1 '13 at 4:18
add comment
1 Answer
Good one. How about...
<xsl:template name="pathB">
<xsl:param name="nodes"/>
do something
<xsl:template match="Child">
<xsl:apply-templates select="@* | pathA[not(../pathB)] | pathB/preceding-sibling::node()"/>
<xsl:call-template name="pathB">
<!-- pass the set of elements of type "pathB", possibly an empty nodeset -->
<xsl:with-param name="nodes" select="pathB"/>
<xsl:apply-templates select="node()[not(self::pathA) and not(../pathB)] | pathB/following-sibling::node()"/>
share|improve this answer
hrmm.. would this template still work if pathB isn't available to reference in the source? I tried with a larger source xml I have and it copied everything, but then when I added the "element" tag to build out pathB, it built it first then only copied the text from the source nodes. – J R Feb 26 '13 at 15:18
Aha, my bug. Fixing. – minopret Feb 26 '13 at 15:25
As you see, the intention of my code is no different from the intention of the comment by @EeroHelenius (sorry I'm not good at mentioning people using @ so that may not work). However it may help you to see the additional details that I have included, which in my experience are not in every XSL developer's repertoire. – minopret Feb 26 '13 at 15:39
add comment
Your Answer
| http://stackoverflow.com/questions/15081758/insert-xpath-during-copy-using-apply-templates | dclm-gs1-050130000 |
0.993357 | <urn:uuid:b1b904d5-1557-434b-8d4d-6aa59b1a74eb> | en | 0.893744 | Take the 2-minute tour ×
I have a generic N-ary expression tree and I want to convert the same to a binary tree. Is there any well defined algorithms to do the same?
I tried going thro' different algorithms of converting N-ary tree to expression tree like https://groups.google.com/forum/?fromgroups#!topic/wncc_iitb/RrgohUZ-uhw but thats not going to work, as they don't worry about precedence and all.
share|improve this question
Can you expand on your requirements for the binary tree, vs the nary tree? Anything specific... or is your only requirement that children of a node, are simply still descendants of the same node? – ChrisCM Jun 4 '13 at 13:52
add comment
1 Answer
Simple answer.
Step 1: Convert N-ary expression tree with different levels of precedence into an N-ary tree where each node has only a single level of precedence.
Step 2: Convert that tree into a binary tree.
If you're seeking a straightforward solution rather than an efficient one, it may be easy to explode each node into levels matching your precedence, then after you have a binary tree collapse out the obviously useless nodes. If you want a more efficient solution, then you'll want to be more cautious in the initial expansion.
share|improve this answer
add comment
Your Answer
| http://stackoverflow.com/questions/16911521/convert-an-n-ary-expression-tree-to-a-binary-tree | dclm-gs1-050190000 |
0.315566 | <urn:uuid:2ae67c83-80e0-46c8-b5dc-d0aaafea57aa> | en | 0.789879 | Take the 2-minute tour ×
Scala has Double.isNaN for detecting not-a-number but no Double.isInf for detecting (positive or negative) infinity.
Why? I'd like to check whether a parameter is a "real" number (i.e. has a numeric value). Converting it to a string and checking for "inf" or something will do it, but there must be a better way?
Like in C++: http://en.cppreference.com/w/cpp/numeric/math/isinf
Using Scala 2.10
share|improve this question
add comment
3 Answers
up vote 9 down vote accepted
Scala's Double has an isInfinite method, and Neg/Pos variants:
scala> val a = 22.0
a: Double = 22.0
scala> a.isInfinite
res0: Boolean = false
scala> val b = 2.0/0
b: Double = Infinity
scala> b.isInfinite
res1: Boolean = true
scala> b.isPosInfinity
res4: Boolean = true
share|improve this answer
Thanks. Don't know how I missed it. – akauppi Jun 17 '13 at 8:54
@akauppi Maybe because the REPL doesn't autocomplete it. I see eclipse will offer it. – som-snytt Jun 17 '13 at 16:23
@som-snytt oh, good point. IDEA does show them. (I think the Netbeans plugin too) – gourlaysama Jun 17 '13 at 16:30
add comment
What everyone else has said, plus this: the reason for the separate isNaN is that comparison with NaN is special:
scala> val bar = Double.NaN
bar: Double = NaN
scala> bar == Double.NaN
res0: Boolean = false
No such rules apply for infinity, so there is no need for a special check function (except for the convenience of handling the sign):
scala> val foo: Double = Double.PositiveInfinity
foo: Double = Infinity
scala> foo == Double.PositiveInfinity
res1: Boolean = true
share|improve this answer
Thanks. What I find slightly confusing is that Double.PositiveInfinity uses the (too) long wording, whereas Double.isPosInfinity uses a shorter one. – akauppi Jun 17 '13 at 9:33
add comment
The method actually is there. It's just called isInfinity instead of isInf.
See scaladocs for RichDouble line 36: https://github.com/scala/scala/blob/v2.10.2/src/library/scala/runtime/RichDouble.scala#L36
share|improve this answer
add comment
Your Answer
| http://stackoverflow.com/questions/17143565/how-to-detect-infinity-values-in-scala/17143703 | dclm-gs1-050200000 |
0.670067 | <urn:uuid:3d974c8b-7184-4bed-8d87-404a5f11c618> | en | 0.808764 | Take the 2-minute tour ×
I'm trying to use AsyncHTTPClient in Tornado to do multiple callouts to a "device" available over http:
def ext_call(self, params):
device = AsyncHTTPClient()
request = HTTPRequest(...)
return partial(device.fetch, request)
def _do_call(self, someid):
acall = self.ext_call(params)
waitkey = str(someid)
acall(callback = (yield Callback(waitkey)))
response = yield Wait(waitkey)
raise Return(response)
def get_device_data(self, lst):
for someid in lst:
r = self._do_call(someid)
print 'response', r
But instead of HTTP responses as AsyncHTTPClient should return after .fetch, I'm getting this:
response <tornado.concurrent.TracebackFuture object at 0x951840c>
Why this is not working like examples in http://www.tornadoweb.org/en/stable/gen.html ?
share|improve this question
add comment
1 Answer
up vote 0 down vote accepted
Got this one solved. It appears that @coroutine has to be applied all the way down from the get/post method of your class inheriting from RequestHandler, otherwise @coroutine/yield magic does not work.
Apparently this is a case of Tornado newbiness combined with bad design on my part: according to a colleague one should not do "callback spaghetti" of nested @coroutine and yield()s, but rather move all the synchronous code out of request handler and call before or after async code it and have @coroutine call hierarchy flat rather than deep.
share|improve this answer
add comment
Your Answer
| http://stackoverflow.com/questions/18066908/loop-using-asynchttpclient-tornado-python?answertab=votes | dclm-gs1-050230000 |
0.427347 | <urn:uuid:80446381-398a-4ff5-9440-131fc88af5a8> | en | 0.890264 | Take the 2-minute tour ×
In my application, I am doing several find operations. All of them are working, except one, which is being rejected. For debugging purposes, I am sending the requests during startup of the application:
preloadData : function () {
And this is how it looks in the console:
[ajax call rejected
As you can see, all requests are isFullfilled except the last one which is isRejected. The rejectedReason says only "error".
What could be causing this? This is no backend problem, since the request is not being sent at all. The only thing I can think of is the adapter configuration, since companies has an irregular plural:
SettingsApp.Adapter.configure('plurals', {
voice_menu : 'voicemenus',
profile : 'profile',
company : 'companies',
But this is being used properly, it seems. What could else be causing this?
share|improve this question
add comment
1 Answer
I don't know the exact reason why your GET request is rejected, but as a quick workaround for debugging purposes you could do the following to get more info on the errors that are occurring:
Ember.RSVP.configure('onerror', function(error) {
Hope it helps.
share|improve this answer
Thanks. And now, magically, the requests are fulfilled! I have changed nothing! Baffled! I'll leave the RSVP debugging on for future problems. Unrelated, but thanks to that I have seen that there are some TransitionAborted errors happening, no idea why. I'll also leave the question open, in case somebody can suggest why are requests being rejected. – jeckyll2hide Aug 23 '13 at 6:22
add comment
Your Answer
| http://stackoverflow.com/questions/18395405/find-operation-ajax-request-rejected-not-seen-in-the-wire | dclm-gs1-050240000 |
0.73275 | <urn:uuid:f577f5fa-b964-42fc-9136-0623468faa44> | en | 0.750206 | Take the 2-minute tour ×
Kindly help me to resolve this issue
static Widget()
Post.Saved += (o, s) => ThemeHelper.CacheRemove(CACHE_KEY);
Error 1 The name 'ThemeHelper' does not exist in the current context C:\Users\gracive\Documents\MDS_Blog_Engine\content\widgets\PopularPosts\widget.ascx.cs 28
share|improve this question
add comment
Your Answer
Browse other questions tagged or ask your own question. | http://stackoverflow.com/questions/20004918/the-themehelper-does-not-exist-in-this-context | dclm-gs1-050280000 |
0.023878 | <urn:uuid:aae99b34-ce79-4af7-aa70-035f4608fd3e> | en | 0.892213 | Take the 2-minute tour ×
Say I have a simple class Person with name and last name as properties. Also suppose I have a simple rest service with get endpoints that return a list of people.
public class Person {
// name and last name properties plus getters and setters
// Service
public class SimpleRestService {
//Suppose people is initialized and contains actual people
private ArrayList<Person> people;
public Iterable<Person> getPeople(){
//This one works
return people;
public Collection<Person> getPeople(){
//This one fails. HTTP 500. Nothing on server.log ...
return people;
The fisrt endpoin test/people/iterable will work fine while test/people/collection will fail with HTTP 500. Does any one have a clue on this?
share|improve this question
add comment
1 Answer
Jersey has a registry relating the MIME type in the @Produces with the Java type the method is declared to return and the handler that processes the object to produce the payload of the response. It has a handler that converts Iterable and List to a JSON Array. It also has a handler that converts Map to a JSON Object. The problem with the Java interface Collection is that there is no indication as to whether it should be represented as a sequential collection (JSON Array) or an unordered collection of named items (JSON Object). Thus there is no handler registered by default for converting Collection to application/json. This is what the message in the exception logged on your application server indicates.
share|improve this answer
I'm not quite sure about this. It has to do more with generics and TypeEreasure. I did tests, creating a Person class and the services above, but I was able to return both Iterable or Collection indifferently. Then I added some generics and it stopped working for both, Iterable and Collection. I tried to reproduce the exact same scenario when I was able to return an Iterable and not a Collection, but unfortunately I couldn't do so. Then... I don't know whether this is still a valid question or not since I cannot replicate it – Jonathan Morales Vélez Mar 3 at 22:36
add comment
Your Answer
| http://stackoverflow.com/questions/21414009/why-a-jax-rs-service-with-return-type-iterablemyclass-works-while-collectionm | dclm-gs1-050290000 |
0.521202 | <urn:uuid:5fa61265-7d72-4cf7-80b0-3230dfea8658> | en | 0.825176 | Take the 2-minute tour ×
I'm using qplot to plot a function and I want to position the legend within the plot. I've used
opts( legend.position = c(0.7,0.7) )
to move the legend where I want it to be.
However there is a white border around the legend and that shows up on the gray background.
For example:
x = c(1:20)
y = c(1:20)
p <- qplot(x,y, color = "blue")
p <- p + scale_colour_identity("Example", breaks=c("blue"), labels=c("dots"))
p <- p + opts(legend.position = c(0.6, 0.4))
I would like to know how to remove this border from the legend. Thank you.
share|improve this question
You only need to use c() around multiple values so 1:20, "blue" and "dots" dont need the use of c() combine function. Thought I'd mention in case that saves some typing or helps otherwise. – Jay Feb 12 '10 at 4:15
add comment
1 Answer
up vote 5 down vote accepted
This will get rid of your border:
p + opts(legend.background = theme_rect(col = 0))
other options in addition to col (which applies to the border) are fill (background) and size (which is the border size).
Hope that helps!
All the best,
share|improve this answer
Thanks Jay - that worked perfectly. When you mentioned fill(background) is that used similarly? e.g. opts(legend.fill = "white")? I tried combinations of this without success. – celenius Feb 12 '10 at 14:03
p + opts(legend.background = theme_rect(col = "red", size = 2, fill = "blue")) – Jay Feb 12 '10 at 14:09
This will give you a slightly thicker red border and a blue backgound. Does that help? Let me know if that works – Jay Feb 12 '10 at 14:11
Yes that does help, thank you. Now I understand how to use it. – celenius Feb 12 '10 at 14:30
add comment
Your Answer
| http://stackoverflow.com/questions/2249457/is-there-a-way-to-remove-the-border-of-the-legend-in-ggplot2?answertab=votes | dclm-gs1-050300000 |
0.530579 | <urn:uuid:0f907067-56f4-4ab3-9ed4-6c93e1f92f19> | en | 0.82879 | Take the 2-minute tour ×
I'm developing an Eclipse plug-in and I have a problem which is reproduced here:
popup = new Shell(PlatformUI.getWorkbench().getDisplay(), SWT.TOOL );
popup.setLayout(new FillLayout());
Text text = new Text(popup, SWT.MULTI | SWT.READ_ONLY | SWT.WRAP | SWT.V_SCROLL);
text.setBackground(new org.eclipse.swt.graphics.Color(PlatformUI.getWorkbench().getDisplay(), 255, 255, 204));
text.addMouseTrackListener(new MouseTrackListener() {
public void mouseHover(MouseEvent e) {
public void mouseExit(MouseEvent e) {
public void mouseEnter(MouseEvent e) {
popup.setSize(200, 100);
As you can see I'm creating a shell and putting a Textbox inside it and putting it all across the shell. Then I attach a MouseTrackListener to the shell. The events don't fire (as in when I hover in the shell "mouseHover" is not printed etc). When I remove the Textbox the events fire. Can anyone tell me where the problem lies please? I don't want to attach a listener to the textbox but to the shell. I'll really appreciate the help because I've been trying to trace it for quite some time now.
Thanks and regards, Krt_Malta
share|improve this question
Any ideas please? I'm open to alternative implementations... – Krt_Malta Mar 12 '10 at 15:10
Please see this answer (which could also help here): stackoverflow.com/a/10825659/305973 – robinst May 30 '12 at 23:34
add comment
2 Answers
up vote 1 down vote accepted
A kind person from the Eclipse SWT mailing list gave me this solution:
text.addFocusListener(new FocusListener(){
public void focusGained(FocusEvent arg0) {
// TODO Auto-generated method stub
public void focusLost(FocusEvent arg0) {
// TODO Auto-generated method stub
It's not exactly 100% what I wanted (since it seems that what I want can't be easily achieved) but it's great still. Hope it helps anyone who encounters the same problem.
Regards, Krt_Malta
share|improve this answer
add comment
I have a 'better' solution - depending on your preference.
Set the text to be 1 or 2 pixels smaller all round than the shell it is in. The shell thus offers a border effect around the text.
Set the mouseExit on the shell.
This will give the correct behaviour - with one terrible problem. As the mouse enters the text+shell combo, a mouseExit is generated by the mouse leaving the shell into the text box.
I have set a flag (boolean mouseIn_flag) which is first false. On a mouseExit it is set true. If it is true on mouseExit - shell.close() ;
The effect is that it ignores the first mouseExit, and allows the mouse into the text. It performs a shell close when the mouse exits the text (and thus enters the shell) and then exits the shell.
Since the shell is only a one/two pixel border around the text, the user would have to work hard at strange movements to incorrectly trigger these events.
share|improve this answer
add comment
Your Answer
| http://stackoverflow.com/questions/2426727/swt-problem-with-mousetracklistener-and-shell/2442220 | dclm-gs1-050330000 |
0.98967 | <urn:uuid:82bdb6e5-7865-4e68-9799-fa49cc657113> | en | 0.803294 | Take the 2-minute tour ×
$title = $_POST['title'];
$filename = $title , ".php";
$fh = fopen($filename, 'w') or die ("can't open file");
$stringData = $title;
fwrite($fh, $stringData);
$stringData = $blog;
fwrite($fh, $stringData);
This is only a sample. What is the correct code for that?
share|improve this question
Correct code for what, exactly? You need to be more specific with your question. – Andy E Apr 16 '10 at 17:51
add comment
2 Answers
up vote 1 down vote accepted
You are using the correct code there, what is the point?
Also note that you are using a comma rather than a dot to concatenate strings at:
$filename = $title , ".php";
share|improve this answer
This is the error shows if i use that code.... I don't know why but it says that the comma has an error... "Parse error: syntax error, unexpected ',' in C:\Program Files\xampp\htdocs\Jordan Pagaduan\blog_creator.php on line 11" – Jorge Apr 16 '10 at 17:59
@Jordan: as Sarfraz said in his answer, concatenation is done with a ., not a ,. Swap the , for a . and it should work. – Andy E Apr 16 '10 at 18:00
oh.... thank you so much... i didn't understand the answer of sarfraz.. thank you... – Jorge Apr 16 '10 at 18:04
@Jordan Pagaduan: You are welcome :) – Sarfraz Apr 16 '10 at 18:11
add comment
In your example opening a file using POST is an insecure method, so don't even think about this kinda tricks :P
You can use file read and write in simple method
echo $fileData = file_get_contents('filename.txt');
$data= 'some data';
// Write the contents back to the file
file_put_contents("filename.txt", $data);
share|improve this answer
add comment
Your Answer
| http://stackoverflow.com/questions/2655090/php-write-file-need-help/2655152 | dclm-gs1-050350000 |
0.264537 | <urn:uuid:dbe081df-878a-45c8-81cd-b09373149aa5> | en | 0.865919 | Take the 2-minute tour ×
UPDATED: Examples added at end as requested:
Got a seemingly unique problem with concatenating form variables + the name of the button used to submit.
This works:
$word="number"; $number=1; myalbum=$word.$number;
echoing $myalbum gives "number1". No surprises there.
BUT if I POST the form to a php script with the intention of writing to file ONLY the data on row on which the button was pushed, I get problems.
So, let's say I've got 10 rows, and the button for row 5 is pushed. If I get the script to echo what button was pushed ($button), I get "5" back. If I get the script to echo what's in the box in row 5 (in this case, "$number5=5") then by echoing $number5 I get 5.
But if I concatenate $number.$button, I get nothing, when I expect "number5". And yet, if I concat any two parts of the submitted data, it works as expected.
I've been over the variables section at php.net, I've been over the w3 forms tutorials. I've googled. I've stackoverflowed. I've checked and triple checked my spelling.
I even started from scratch - again, it's almost as if appending the value of the button kills the concatenation process.
The output from the form: preset1=Name+of+preset+1&url1=http%3A%2F%2Fexample.com%2F1&preset2=Name+of+preset+2&url2=http%3A%2F%2Fexample.com%2F2&preset3=Name+of+preset+3&url3=http%3A%2F%2Fexample.com%2F3
The code for the form handler:
$myFile = "test.txt";
$stringData = "Preset: " . $preset . " - Title:" . $title . $submitButton . " - Submit Button:" . $submitButton . "\n";
fwrite($fh, $stringData);
The output from the above: Preset: 3 - Title:3 - Submit Button:3
So, we know it knows what buttons has been pressed. But not the output I expected.
But if I change the line to $stringData = "Preset: " . $preset3 . " - Title:" . $title3 . " - Submit Button:" . $submitButton . "\n";
then I get, as expected: Preset: Name of preset 3 - Title:http://www.example.com/3 - Submit Button:3
But of course, this is no good. I understood that if $preset.$submitButton would be the same as $preset3 if submitButton was 3.
Oh, and I've also tried $thepreset='$title' . $submitbutton; and then using that - all I get is "Title:$title"
share|improve this question
Please show some example code. – Pekka 웃 Aug 30 '10 at 10:07
You will probably need to show us what you are doing with the POST variables in order for someone to help you. – Hammerite Aug 30 '10 at 10:50
Updated as requested – talkingnews Aug 31 '10 at 6:40
add comment
1 Answer
This line:
returns "Title:$title" as expected - you have $title inside quotes, so it isn't recognized as a var.
share|improve this answer
add comment
Your Answer
| http://stackoverflow.com/questions/3599411/form-variable-submit-button-not-concatenating-with-php | dclm-gs1-050360000 |
0.181177 | <urn:uuid:4b503c58-0dfa-4649-8af4-be6ca82353b9> | en | 0.733755 | Take the 2-minute tour ×
I'm sorry for being a css noob and would appreciate someone to guide me in the right direction.
Webpage i need help with can be found at http://filefx.com
When you hit the page, you will notice that the "Select Files" icon and "Upload Files" icon are not on the same line.
The "Select Files" icon is actually an psuedo upload icon that overlays the real
Right now, whenever i try to put the two icons next to eachother, the "Upload Files" icon gets pushed to the next time and I need these two objects to be on the same line.
So if someone could advise a method to get this done, you'd make me one happy camper.
:) Thanks
share|improve this question
add comment
4 Answers
up vote 0 down vote accepted
here's how I did it:
the HTML around the upload button with the inline style I changed to:
<div style="position: absolute; right: 0pt; top: 0pt;"> <div id="upload_buttons_container">
<!--<input type="image" SRC="templates/default/images/Flexshare-Reset.png" id="reset_button" name="reset_button" value="Reset" class="upload">-->
<input type="image" class="upload" value="Upload" name="upload_bn" id="upload_button" src="images/uploadfiles.PNG">
In the CSS I made the following changes:
.upload {
#upload_buttons_container {
form .fakeupload {
background:url("../images/selectfiles.PNG") no-repeat 100% 100% transparent;
share|improve this answer
sorry for the late accepted answer. I had a collapsed lung and had to goto the hospital. Thanks though :) – jiexi Sep 1 '10 at 5:58
add comment
<div style="width:200px;">
<div style="width:98px;float:left;">Select files</div>
<div style="width:98px;float:left;">Upload files</div>
share|improve this answer
add comment
Try with:
select files
upload files
share|improve this answer
add comment
you need to set:
.fakeupload need to have a width ie and float:left
#file_picker_container width:0; float:left;
The div arround the upload button width:40%; float:left;
Open the page up using firebug and play with the CSS
share|improve this answer
add comment
Your Answer
| http://stackoverflow.com/questions/3614143/css-help-please-2-objects-refuse-to-remain-on-same-line | dclm-gs1-050370000 |
0.147037 | <urn:uuid:1a46af34-13f3-4d6e-897b-47ed63fa5f52> | en | 0.928054 | Take the 2-minute tour ×
I'm looking for a Windows equivalent of Systrace or at least strace. I'm aware of StraceNT, but wondering if there are any more alternatives out there. Specifically, I'm looking for a specific way to programmatically enforce system call policies, though this can be after the fact rather than actively stopping them.
Is there a good way to do this currently?
share|improve this question
add comment
4 Answers
up vote 3 down vote accepted
WinDbg's Logger.exe is the closest to strace: http://msdn.microsoft.com/en-us/library/windows/hardware/ff552060(v=vs.85).aspx
share|improve this answer
However, it's more like ltrace than strace because it captures library calls rather than syscalls. – Michael Feb 9 '13 at 23:12
add comment
A few options:
Process Monitor
Also, see this article about tools built into Windows 7:
Core OS Tools
share|improve this answer
I just used ProcessMonitor to find out why a process was hanging - turns out it was trying to access a file which it couldn't delete... would never have figured it out without ProcMon – Jamie Cook May 21 '13 at 7:54
I use strace quite a bit on Linux and came across this question while looking for similar tool on Windows for troubleshooting the issue I was having with NANT. I tried Process Monitor, set filter to include only Nant.exe and excluding everything else, also set filter for register access only where I was having problem, and quickly figure out the issue I was having. I highly recommend Process Monitor. – hman Sep 13 '13 at 22:13
add comment
There are several tools all built around Xperf. It's rather complex but very powerful -- see the quick start guide. There are other useful resources on the Windows Performance Analysis page
share|improve this answer
strace is unrelated to performance. It simply prints which system calls a process makes. The performance tools don't seem to do that. – Jan Hudec Jun 7 '12 at 9:04
add comment
Here is a pretty intersting article, I don't know if it hits the target you are looking for but I think you may find it leading you in the direction you want.
share|improve this answer
Thanks, that's pretty good. I guess it means we're still a long way off a nice and functional strace on Windows... – static_rtti Jul 29 '13 at 9:32
add comment
Your Answer
| http://stackoverflow.com/questions/3847745/systrace-for-windows?answertab=oldest | dclm-gs1-050390000 |
0.530638 | <urn:uuid:80b81bc5-06f1-4457-a8da-b30f38dbc1f5> | en | 0.947689 | Take the 2-minute tour ×
I added a SurfaceView into the Cube demo from the ApiDeoms. And tried to use a MediaPlayer to play with it. But it failed with low-level player error which is different on different devices. Is it possible to play videos on a GLSurfaceView or it's all about hardware support?
share|improve this question
add comment
closed as too localized by BoltClock Mar 1 '12 at 6:20
2 Answers
up vote 0 down vote accepted
I found out that depends on native decoder support. If it failed on a device, the device does not support it.
share|improve this answer
add comment
To say "If it failed on a device, the device does not support it." is pretty irresponsible considering you're giving advice to people who are at the demo level and might not know how infested these message boards are with people who "answer" questions without having a clue what they are talking about.
There are hundreds of different errors that you could be experiencing, however the short answer to the question:
"Is it possible to play videos on a GLSurfaceView"
would simply be "yes it is". If your device is OpenGL compliant (pretty much if it was built this decade then that's a safe bet), then you can display video in some form or another with it. If you want a more informative answer however you're going to have to provide quite a bit more information, at the very least exactly what the errors are and ideally some logcat output.
share|improve this answer
Thanks for your answer. But it got different error logs depend on devices. So I just put the short answer because I only concern the app level. – shiami Jan 10 '12 at 10:13
add comment
protected by Will Nov 23 '10 at 15:31
| http://stackoverflow.com/questions/4130333/how-to-play-a-video-on-a-glsurfaceview-on-android?answertab=oldest | dclm-gs1-050410000 |
0.07727 | <urn:uuid:3a48a2cd-4f06-4290-810c-221c7b1c9afd> | en | 0.824512 | Take the 2-minute tour ×
In my Rails3 application I add a specific match for edit my Post model as:
match '/edit' => 'posts#edit', :as => 'post_edit'
So, I overwrite the default path of the edit action. - Now if any errors occurs in the update action, it will render the edit action with settting the URL path with the default edit path /posts/1.
How can I overwrite that to render the edit action with setting the URL path as /edit instead of posts/1.
share|improve this question
add comment
1 Answer
You are actually seeing the URL for "update", the default path for edit would be /posts/1/edit. I don't think you will be able to change what the URL displays using render :action. An alternate, although somewhat sloppy, method would be to redirect and save the @post object in the session or flash. If you do not save the @post object, you will lose the error messages from the update.
if @post.update_attributes(params[:post])
#business as usual
session[:post] = @post
redirect_to post_edit(@post)
Note that it is bad practice to save the whole object in the session (especially large objects), so you may instead want to only send the error message string with the flash and render that in the view. These are both rather hackish methods, but I don't really see an elegant way to do this.
Out of curiosity, why do you want to change the default URL? Is it necessary?
share|improve this answer
Actually, the url would /posts/1/edit – nathanvda Dec 9 '10 at 20:31
actually, you are correct ;-) Thanks for catching that! answer updated – cowboycoded Dec 9 '10 at 20:43
add comment
Your Answer
| http://stackoverflow.com/questions/4400145/rails-render-actions-with-a-specific-path | dclm-gs1-050420000 |
0.719072 | <urn:uuid:be05b5b9-c5ae-461c-a613-3347ece88560> | en | 0.832164 | Take the 2-minute tour ×
I am using python 2.7 & python 3.1.3. But in my python i am unable to "import gdb"
It is giving me error as
>>> import gdb
Traceback (most recent call last):
ImportError: No module named gdb
Whats a reason for this, how should i has to solve this problem.
share|improve this question
Maybe a dup of stackoverflow.com/questions/3482869/… – Donovan Jan 25 '11 at 10:45
Alberteddu have u worked on this. cos i am unable to understand the documentation given in the link. Can you please guide me. – Sagar Gupta M. Jan 25 '11 at 11:03
What's your OS? – Donovan Jan 25 '11 at 11:18
my os is windows xp – Sagar Gupta M. Jan 25 '11 at 14:19
You did not give enough information in your question. Where did you hear about this file, and what are you expecting it to do? What are you trying to achieve? – Sven Marnach Jan 27 '11 at 15:11
show 3 more comments
4 Answers
import gdb only works when your Python code in running within the GDB process. It's not supposed to work from the regular system Python interpreter.
• GDB embeds the Python interpreter so it can use Python as an extension language.
• You can't just import gdb from /usr/bin/python like it's an ordinary Python library because GDB isn't structured as a library.
• What you can do is source MY-SCRIPT.py from within gdb which is equivalent to starting gdb with gdb -x MY-SCRIPT.py.
Here's an example, save the file below to t.py:
import gdb
gdb.execute('file /bin/cat')
print o
$ gdb -q -x t.py
and you'll see the PLT stub for exit() disassembled. On x86-64 Linux:
Dump of assembler code for function exit@plt:
0x0000000000401ae0 <+0>: jmpq *0x20971a(%rip) # 0x60b200 <[email protected]>
0x0000000000401ae6 <+6>: pushq $0x3d
0x0000000000401aeb <+11>: jmpq 0x401700
End of assembler dump.
I collected some resources on learning the GDB Python API here.
share|improve this answer
add comment
You can follow this tutorial to install PythonGDB. The Python code depends on a C extension.
For Windows, there is a recent enough gdb build in MinGW, but it doesn't seem to include the Python module you can import (still supports Python scripting in gdb). You have to install MinGW and then install the gbd package using mingw-get install gdb.
If you use Cygwin, there's again a recent enough gdb in Cygwin Ports, without a Python module but with Python scripting support.
I suppose it'd be possible to build gdb from source in either platform and get the Python module.
share|improve this answer
PythonGDB does not include any file of this name (at least not in my installation). There is a file of this name in Pydb though. With the information given, it's imply undecidable what the OP is after. – Sven Marnach Jan 27 '11 at 15:21
There's a gdb module, though, so he can indeed import gdb. – TryPyPy Jan 27 '11 at 15:23
Are you able to run gdb by itself on Windows? How did you install it? – TryPyPy Jan 27 '11 at 15:35
Sigh, there's no gdb module in MinGW's gdb. – TryPyPy Jan 27 '11 at 15:46
Ok TryPyPy, i will try to give some more information as much as possible. I am working in WINDOWS XP, trying to build a script in PYTHONWIN32, i am writing this script so that it has to invoke a shell provided by MinGW, there it has to run gdb. In this gdb python script as to run my program. Every thing has to controlled by python script. 1st layer -> Python Script 2nd layes -> gdb 3rd layer -> my program. – Sagar Gupta M. Jan 28 '11 at 6:07
add comment
I can't test now, but I think you need to configure and build a python enabled gdb. Take a look at this guide.
Hope that helps.
Edit: this is outdated, I think. Anyway, you always need to build and configure a python enabled gdb.
You can script gdb using the Python programming language. This feature is available only if gdb was configured using --with-python.
You have to configure gdb using that option:
Where location is the location of python you would like to use gdb with.
share|improve this answer
add comment
I just ran into the similar situation when trying to debug Webkit:
$ python Tools/gdb/webkit.py
Traceback (most recent call last):
File "Tools/gdb/webkit.py", line 38, in <module>
import gdb
ImportError: No module named gdb
I then realized that this script should be invoked in gdb to make it working:
(gdb) source Tools/gdb/webkit.py
(gdb) p run
$1 = (const WebCore::TextRun &) @0x7fffffffa450: {m_characters = "Plugin Testsa", m_len = 12, m_xpos = 0,
m_padding = 0, m_allowTabs = false, m_rtl = false, m_directionalOverride = false,
m_applyRunRounding = true, m_applyWordRounding = true, m_disableSpacing = false}
Hope this helps.
share|improve this answer
add comment
Your Answer
| http://stackoverflow.com/questions/4792483/how-to-import-gdb-in-python/4839634 | dclm-gs1-050440000 |
0.851586 | <urn:uuid:f49dc788-67f7-4038-96b4-06a76781b00e> | en | 0.766594 | Take the 2-minute tour ×
I need some help figuring out an regular expression. In my script I have a certain line with placeholders. What I want to do is I want to send every placeholder text a an function that translates it to what it should be.
E.g. my text is:
Lorem ipsum dolor sit {{AMETPLACEHOLDER}}, consectetur adipiscing elit.
I want the text AMETPLACEHOLDER to be send of to my function translateMe.
I am really bad in regex but gave it a try anyways. I don't get further than this:
$sString = preg_replace("(*.?)/\{{(*.?)}}(*.?)/", $this->echoText('\\2'), $sString);
Which off course doesn't work.
Can anybody help me out?
Br, Paul Peelen
share|improve this question
add comment
2 Answers
up vote 4 down vote accepted
Using preg_replace_callback, you can specify a method like this:
= preg_replace_callback("@{{(.*?)}}@", array($this, "echoText"), $txt)
And the method could be:
public function echoText($match) {
list($original, $placeholder) = $match; // extract match groups
return $translated;
Btw, for designing regular expressions check out http://regular-expressions.info/ or some of the tools listed in: Is there anything like RegexBuddy in the open source world?
share|improve this answer
Thnx. It worked perfectly. When I get the time I'll check your links out. Should really get going with regex. – Paul Peelen Feb 19 '11 at 1:03
add comment
You need to use either the /e modifier to parse the replacement to eval, or use preg_replace_callback().
$sString = preg_replace("#\{\{(*.?)\}\}#e", 'echoText("$2")', $sString);
But the $this will cause problems there, if you are using 5.3+ you could use a closure to create a function to cope with that, or create a callback:
$sString = preg_replace_callback("#\{\{(*.?)\}\}#", array($this, 'echoText'), $sString);
$this->echoText() would have to be modified to catch the match array rather than the string in that case.
Or with an anonymous function:
$sString = preg_replace_callback("#\{\{(*.?)\}\}#", function ($matches) {
return $this->echoText($matches[1]);
}, $sString);
share|improve this answer
add comment
Your Answer
| http://stackoverflow.com/questions/5048077/php-preg-replace-regex-question | dclm-gs1-050460000 |
0.163756 | <urn:uuid:c835e538-967a-45df-ab8b-6ead442c1558> | en | 0.837929 | Take the 2-minute tour ×
I want to make the int in IDictionary<int, Driver> a little less obscure about its meaning, so I thought maybe wrapping it would be a good idea. The outcome would be something like IDictionary<finishPosition, Driver>.
Preferably, finishPosition should be assignable like this finishPosition = 1.
I do not know if this is possible and how.
share|improve this question
add comment
5 Answers
up vote 4 down vote accepted
You could use a struct with an implicit conversion.
public struct FinishPosition {
public readonly int Position;
public FinishPosition(int position) {
this.Position = position;
public static implicit operator FinishPosition(int position) {
return new FinishPosition(position);
// ...
Dictionary<FinishPosition, Driver> dict = new Dictionary<FinishPosition, Driver>();
Driver bob = new Driver();
// The following two lines are effectively equivalent
dict[new FinishPosition(7)] = bob;
dict[7] = bob;
// So are these two
bob = dict[7];
bob = dict[new FinishPosition(7)]
share|improve this answer
This is clearly a better solution than mine. Less confusing by far. – Martin Doms Mar 27 '11 at 20:51
Seems correct and what was asked, but it's quite a bit of overhead... And for readability (and safety) I would omit the implicit conversion. – Henk Holterman Mar 27 '11 at 21:38
@Henk: The entire point of this is the implicit conversion; it doesn't hurt readability as much as you would think when it only works one way. – configurator Mar 27 '11 at 21:44
@Config: Yes, it was asked for. But it does eat directly into the readability. A conflict in the question. – Henk Holterman Mar 27 '11 at 21:46
@Henk: it's true that implicit casts actively hurt readability in some cases, but they also help in other cases. For example, if you have implicit casts in both ways it's sometimes very confusing. But for wrappers like this it's extremely convenient and doesn't reduce readability in any way. – configurator Mar 27 '11 at 21:49
show 1 more comment
Absolutely, just use this using directive:
using FinishPosition = System.Int32;
at the top of your source file, and write the code just as you have in your example.
If you use the using directive like this, FinishPosition is an int and other files will see it as an int - there is no new type FinishPosition defined (thanks for configurator in the comments).
share|improve this answer
Awesome! Do you know if there is an equivalent in VB.NET for this trick? – Maxim Gershkovich Mar 27 '11 at 20:20
Just tried it and it works in VB.NET too. Imports myValue = System.Int32 – Maxim Gershkovich Mar 27 '11 at 20:21
Erm... No it doesn't. The problem may be that FinishPosition is an Int32 and other files will see it as an int. But it doesn't "hide" it or anything like that... Why would it? – configurator Mar 27 '11 at 20:25
Haha ok that's only because I was missing using System. /facepalm :P I'll edit my answer. That'll teach me to write test code in Notepad++ instead of VS. – Martin Doms Mar 27 '11 at 20:38
That's a potentially confusing way of doing it. It's still an int. Any documentation will say it's an it (it's simply called so Else in the source file. The information is completely gone when compiling and intellisense in different files shoul report it As int. The syntax is meant for disambiguation – Rune FS Mar 27 '11 at 20:48
show 10 more comments
You could use an enum:
enum Position { Finish, Some, Other }
IDictionary<Position, Driver> lookup = ...;
Driver d = lookup[Position.Finish];
share|improve this answer
Maybe I understand you wrong (or the other way around) - But the finishPosition should be assignable with different kinds of integer, like finishPosition = 1, finishPosition = 2, finishPosition = 3, and assign each of these with a Driver object for that position - and storing these in the dictionary. the dictionary will be drivers and the positions they finished in. – Garth Marenghi Mar 27 '11 at 19:53
Best thing is to name those integers (Some, Other) but you can also assign an arbitrary int value. Maybe I got your naming wrong though, adapt. – Henk Holterman Mar 27 '11 at 19:58
You can't assign arbitrary integers to an enum variable. Only 0 or an enum value, or with explicit casting. – configurator Mar 27 '11 at 20:26
@config: Yes on the explicit cast. – Henk Holterman Mar 27 '11 at 21:33
Thanks for your answer, though I'm still trying to wrap my head around it :-) – Garth Marenghi Mar 28 '11 at 6:36
add comment
In my opinion, it is good to use AbstractDataType pattern anywhere where a general value is used with specific intents (this case has been made by many others with examples like Percentage, ReadonlyString, ConnectionString, etc.)
Note, I personally think that having implicit conversions to and from them sort of hollows the whole thing out (by having an implicit conversion, there is no more compiler guarantee that generic values are being used with specific intent at the right place).
Here is a sample that should inspire you to have it your way: you can still choose the level of convenience/verbosity you prefer. It show two approaches:
• _byInt indexes a dictionary by PseudoInt
• _byEnum indexes a dictionary by an Enum : int type
Without further ado:
using System.Collections.Generic;
namespace NS
public enum PositionEnum : int { Begin = 0, Normal = 1, End = 99 }
public struct Pseudo<T> where T : struct
public T Value;
public Pseudo(T value) { Value = value; }
public static implicit operator T(Pseudo<T> pi) { return pi.Value; }
public static implicit operator Pseudo<T>(T ni) { return new Pseudo<T>(ni); }
static class Program
private static Pseudo<T> AsPseudo<T>(this T value) where T : struct
return new Pseudo<T>(value);
private static readonly IDictionary<Pseudo<int>, string> _byInt =
new Dictionary<Pseudo<int>, string>()
{ { 0, "aap" },
{ 1, "noot" },
{ 99, "mies" },
private static readonly IDictionary<Pseudo<PositionEnum>, string> _byEnum =
new Dictionary<Pseudo<PositionEnum>, string>()
{ { PositionEnum.Begin, "aap" },
{ PositionEnum.Normal, "noot" },
{ PositionEnum.End, "mies" },
public static void Main(string[] args)
string s;
s = _byInt[0];
s = _byEnum[PositionEnum.Normal];
share|improve this answer
Thanks for your answer! – Garth Marenghi Mar 28 '11 at 6:32
add comment
I just adapted the RichEnum generic baseclass in the question I linked before [1]
I'd say I prefer this method because it really seems the most flexible in the long run. The only downside I can think of, really, is that the RichEnum type cannot be a value type anymore.
Head over to see what I mean (includes a fully running sample again):
[1] can we define implicit conversions of enums in c#?
share|improve this answer
add comment
Your Answer
| http://stackoverflow.com/questions/5451799/is-it-possible-to-wrap-integer-and-call-it-like-integer | dclm-gs1-050490000 |
0.203342 | <urn:uuid:457fb4a2-cf2c-40b2-9074-66782364b14a> | en | 0.923982 | Take the 2-minute tour ×
Say I have the following tables:
• person (person_id, name)
• ethnicity (ethnicity_id, name)
• person_ethnicity (person_id, ethnicity_id)
This would allow me to define a person to have 0 or more ethnicity AND an ethnicity to have 0 or more person through the person_ethnicity table.
Now, let's say I have a LOT of these "ethnicity" type tables where I have to make the same many to many relationship with the person table. The number of my tables are going to grow pretty fast.
Is it a good idea to have a table like this instead:
• foo (person_id, other_table_name, other_table_pk)
An example:
| person_id | other_table_name | other_table_pk |
| 1 | ethnicity | 1 |
I lose referencial integrity this way, but would make modeling much easier I think. Is this approach a good idea or a horrible, horrible idea?
(Also, is there a proper name for the approach I described above?)
share|improve this question
Are you planning on having multiple other relationships to a person other than ethnicity? I ask because of your second solution seems like you plan on having multiple tables/ids united. – Khez Apr 9 '11 at 12:09
@Khez - yes, as described in my initial post. – StackOverflowNewbie Apr 9 '11 at 12:12
You described one person and one relationship ethnicity. Yet your second solution implies having other relationships, like nationality. If this is not the case, your second solution is a very bad idea then. – Khez Apr 9 '11 at 12:14
@Khez - I also described that I have a LOT of these ethnicity type tables that I need to model. – StackOverflowNewbie Apr 9 '11 at 12:20
I wasn't the only one to miss it... I blame internet ghosts. – Khez Apr 9 '11 at 12:23
show 1 more comment
4 Answers
up vote 1 down vote accepted
I see no need. A lot of tables is no trouble, and you're breaking a lot of 'rules' by doing it like this. Just go with the many-to-many, if you need them.
Using it this way you should do all sorts of tricky things. Also, you can't do anything with foreign keys (constraints), and tons of other problems. And for what? "less tables". I don't see any advantage in that :D
Just don't would be my advice :D
share|improve this answer
add comment
Your solution would pretty fast blow up your "foo" table.
imagine you have 1000 persons. then every person has a minimum of 2 ethnicities.
then you have a nationality table and each person also has at least 1.5 nationalities.
then a gender where every person has a minimum of 1 gender what already sums up to 4500 entries.
now lets say your persons table grows to about 50000 persons.
this will make already 225000 entries in your "foo" table.
now that you have your tables filled up you make a query joining persons with foo and only ethnicity to get the ethnicities of all persons and your server will work verry verry long because you join a 50000 table with a 225000 table and in the end join a small table.
so i hope i made it clear why it is no good idea to make such a layout
share|improve this answer
add comment
Since you're asking the question from a theoretical point of view, I'll give you an answer in the same regard.
Your situation is very similar to a tag system. And lucky for you the MySQL Community offers an excellent wiki article about TagSchema via Forge.
Also you should consider searching SO for similar questions, since it's been asked and asked and asked. Some of them actually provide interesting insight into the matter. Especially What tag schema(s) are the most efficient/effective? and the response on making Collection Tags that hold Tag Sets.
share|improve this answer
add comment
If you have lots of many-to-many relationships in your model, like your ethnicity example, you have no choice but to model them properly the way the relational idiom requires.
I don't think your design is a good idea. Binding to table and column names isn't done in Java; I don't know about other languages.
Get a shovel; get to work. Model your problem as it exists using the relational idiom or find something else. Maybe a NoSQL solution like an object or graph database is a better idea in your case.
share|improve this answer
I won't have many ethnicity tables. I have many ethnicity-like tables (meaning, requiring many to many relationship with person table). I don't understand your reference to Java since I am asking the question from a data modeling perspective. – StackOverflowNewbie Apr 9 '11 at 12:14
@StackOverflowNewbie ... your initial post didn't imply this, your solution did. – Khez Apr 9 '11 at 12:15
Sorry, missed the "ethnicity-like" bit. I'll amend. And I understand that this is about relational modeling, but eventually I'm assuming that you'll write an application that will have to access your schema. When you do, you'll have to deal with the language of choice. AFAIK, you don't bind table and column names, only values. – duffymo Apr 9 '11 at 12:16
add comment
Your Answer
| http://stackoverflow.com/questions/5604931/database-design-simplifying-many-to-many | dclm-gs1-050500000 |
0.078543 | <urn:uuid:e3d213e1-21b8-45bd-add5-1cabe9e7639d> | en | 0.901027 | Take the 2-minute tour ×
I have a small Java/Gradle project. I'm using the Application plugin to create a zip distribution (using the distZip task). Using the standard configuration I get the following directories in my zip file:
/bin - The scripts to start the application go in here
/lib - Contains my project code in a JAR file and all dependency JAR files.
The trouble is that I would like a third directory: /conf where I can put my configuration files (instead of having them packaged inside my application JAR file.
I imagine that this is a pretty common requirement because things like log4j.xml and hibernate.properties would be better placed outside the JAR file. I just can't figure out how I can customise the behavior of the Application plugin to do this however.
share|improve this question
add comment
3 Answers
up vote 7 down vote accepted
I revisited this problem several months later and I finally have an elegant solution. The following code should be added to the gradle file:
distZip {
into(project.name) {
from '.'
include 'conf/*'
This adds an additional include to the distZip task. This copies the "conf" directory (including contents) into the Zip distribution.
The generated zip file contains a single directory which is the same as the project name. This is why the "into" part is required.
share|improve this answer
add comment
Actually, create a dist dir under the src dir in your project. Anything in this dir is copied by the application plugin (under applicationDistribution) when installApp or distZip is run.
Or edit applicationDistribution to do other things, if a simple copy is not enough.
share|improve this answer
add comment
I am not sure whether you can customize the application plugin, I have never used it. There is however other ways to achieve what you want to achieve.
You may create a /conf directory like this:
confDir = new File("$buildDir/conf")
You can then copy the files you need into this directory like this:
task copyConfFiles(type: Copy) {
from _wherever your files reside_
into confDir
include('**/*.properties') // your configuration files
You may then hook this copy task into the process like this:
distZip.dependsOn copyConfFiles
And last if you do not want your configurations in the final zip, you can do this:
distZip {
exclude('**/*.properties') // your configuration files
Again, there might be a better way. This is a way.
share|improve this answer
Thanks for the suggestion! I've tried this out and I now have the "conf" directory (with config files) in my build directory. Unfortunately I don't see a way to get this new directory included in the generated Zip file. There doesn't seem to be a Zip file "staging" area that I can manipulate and there also doesn't seem to be any way to tell the distZip plugin to include additional directories. Any ideas? – James Blewitt Apr 26 '11 at 8:17
OK, it seems that you can in fact generate a "staging" area. The "install" task generates a directory which contains all the files in the Zip. I could generate this, then add my "conf" directory to it and then zip it up by hand. I think that this will work, but it isn't elegant. – James Blewitt Apr 26 '11 at 8:45
add comment
Your Answer
| http://stackoverflow.com/questions/5743036/deploy-additional-files-in-gradle-application-plugin/6343825 | dclm-gs1-050530000 |
0.121372 | <urn:uuid:31581fcc-2349-4e39-a2d0-fb309e582200> | en | 0.950457 | Take the 2-minute tour ×
I want to build a MySQL database for storing the ranking of a game every 1h. Since this database will become quite large in a short time, I figured it's important to have a proper design. Therefor some advice would be gratefully appreciated.
In order to keep it as small as possible, I decided to log only the first 1500 positions of the ranking. Every ranking of a player holds the following values:
ranking position, playername, location, coordinates, alliance, race, level1, level2, points1, points2, points3, points4, points5, points6, date/time
My approach was to simply grab all values of each top 1500 player every hour by a php script and insert them into the MySQL as one row. So every day the MySQL will grow 36,000 rows. I will have a second script that deletes every row that is older than 28 days, otherwise the database would get insanely huge. Both scripts will run as a cronjob.
The following queries will be performed on this data:
• The most important one is simply the query for a certain name. It should return all stats for the player for every hour as an array.
• The second is a query in which all players have to be returned that didn't gain points1 during a certain time period from the latest entry. This should return a list of players that didn't gain points (for the last 24h for example).
• The third is a query in which all players should be listed that lost a certain amount or more points2 in a certain time period from the latest entry.
The queries shouldn't take a lifetime, so I thought I should probably index playernames, points1 and points2.
Is my approach to this acceptable or will I run into a performance/handling disaster? Is there maybe a better way of doing this?
share|improve this question
If you design your database properly, I don't think you would need to store playername, alliance or race. Those would simply be stored in the player table and will not be repeated in the ranking table. – Ranhiru Cooray May 15 '11 at 2:26
36,000 rows a day is not a large number of rows for MySQL. When you get to a Million come back and start asking questions about performance. You are pre-maturely optimizing without profiling, and we all should know that is the root of all evil – Jarrod Roberson May 15 '11 at 4:47
Ty every one. The reason why I thought, storing each row simply "as it comes in" would be better is that some players might be dropping out of the top 1500, while others would come in new. So when the cronjob does the inserts no comparisons and therefor no data needs to be fetched from the db. Otherwise I have to check every row that gets added for the existence of the username in the player table. Wouldn't that be more performance intensive? Also the max. php execution time will surely be an issue, so the script needs to be quick. The http fetch of the ranking site will be a time beast. – x_squared May 15 '11 at 6:04
add comment
1 Answer
Here is where you risk a performance problem:
• Your indexes will speed up your reads, but will considerably slow down your writes. Especially since your DB will have over 1 million rows in that one table at any given time. Since your writes are happening via cron, you should be okay as long as you insert your 1500 rows in batches rather than one round trip to the DB for every row. I'd also look into query compiling so that you save that overhead as well.
• Ranhiru Cooray is correct, you should only store data like the player name once in the DB. Create a players table and use the primary key to reference the player in your ranking table. The same will go for location, alliance and race. I'm guessing that those are more or less enumerated values that you can store in another table to normalize your design and be returned in your results with appropriates JOINs. Normalizing your data will reduce the amount of redundant information in your database which will decrease it's size and increase it's performance.
• Your design may also be flawed in your ranking position. Can that not be calculated by the DB when you select your rows? If not, can it be done by PHP? It's the same as with invoice tables, you never store the invoice total because it is redundant. The items/pricing/etc can be used to calculate the order totals.
• With all the adding/deleting, I'd be sure to run OPTIMIZE frequently and keep good backups. MySQL tables---if using MyISAM---can become corrupted easily in high writing/deleting scenarios. InnoDB tends to fair a little better in those situations.
Those are some things to think about. Hope it helps.
share|improve this answer
Ty too. I have no experience in such large DBs, so I will rely on the expertise here. Surely there will be a lot more inserting than fetching. Only 5 people will use this DB a couple of times per day. To my shame I have to admit that I insert every row with one call to the DB in my test so far. I could probably improve it to inserting 100 at a time. But anything above is a problem. I can't fetch all the ranking data at the same time because of the max php execution time. So multiple scripts (rank 1 - 100, 101 - 200...) have to be called by the cronjob. Point 2 see comment above, 3 you're right – x_squared May 15 '11 at 6:19
Regarding PHP's max execution time, I would just override that in your cron to be a number more reasonable for what you're doing: set_time_limit(5000); – Jesse Bunch May 15 '11 at 17:38
add comment
Your Answer
| http://stackoverflow.com/questions/6006034/right-design-for-mysql-database?answertab=active | dclm-gs1-050540000 |
0.448691 | <urn:uuid:40964868-30d7-4394-a379-8a5688626f95> | en | 0.92694 | Take the 2-minute tour ×
I am trying to make an invoice processing workflow and I dabbled with the System.Activities.Rules part of WF4 and I kindof like it. However I would like to take the starting point with the rules instead of kicking of an Activity first.
Like this
Incomming collection of invoices = Invoices
For each invoice put it in an envelope wich will contain Workflow metadata like status, nextActivity etc.
Throw the envelope on a set of Rules that if the condition matches sets the next Activity with a set of parameters like this, IF CustomerID = XYZ then setNextActivity(SplitInvoiceActivity(Customer1,Customer2, Percentage))
then the Activity splits the invoice into 2 invoices and puts them back into the loop and when no rules Applies we set the Envelope state to something like "Processed Done" and it exits.
How would I model this with WF4 activities? Wich type of Activity should I derive from, nativeActivity, CodeActivity etc.
Thx in advance!
share|improve this question
add comment
1 Answer
up vote 0 down vote accepted
Where is the System.Activities.Rules namespace coming from? There is no such thing in WF4. There is a System.Workflow.Activities.Rules namespace in WF3 but it is completely unrelated to WF4. There are some samples on how to interop between the two technologies and use the WF3 rule engine in a WF4 worklfow but I can't really recommend that approach.
With regards to you activity base class action. In general derive from CodeActivity for the simple kind of activities that do some work and are done. Only when you need more powerful activities that are either composed of multiple child activities or need to be long running and create bookmarks do you need to use a NativeActivity. That said, you can just use NativeActivity all the time because there is nothing in CodeActivity that you can't do in a NativeActivity and there is no real performance difference either.
share|improve this answer
Hi, thx for answering! I didnt now that System.Workflow.Activities.Rules was purely Wf3. So then th e real question would be. How would I use the Wf3 rules to kick of some Wf4 activities? Should I use he new state machine in Wf4 and then create som CodeActivities which then checks then invoice against the rules and which then set the next state? – Stefan May 29 '11 at 6:13
If you use the state machine or a flow chart really depends on the rest of the workflow and how that is being modeled. Depending on the complexity of the rules you can code them up in a CodeActivity or composite activity. The CodeActivity is easier to work with with complex rules but the composite activity is better at showing a business analyst what is happening. – Maurice May 29 '11 at 12:05
Thx I´ll try to Create A startActivity which then kicks of an codeActivity from where I read the next Invoice to be processed and then check that against the rules. I will use the externalized ruleset db example contained in the WFSamples to store the rules. The rules will either do some simple operation directly on the on invoice object or kick of some activity which will do the operation. – Stefan May 30 '11 at 6:35
add comment
Your Answer
| http://stackoverflow.com/questions/6148666/howto-use-wf4-rules-to-run-wf4-activities | dclm-gs1-050550000 |
0.044006 | <urn:uuid:53fc5607-c178-4761-8268-00c4610ed843> | en | 0.916682 | Take the 2-minute tour ×
I am developing an Asp.Net application and I need to play all .mov, .wmv and .mp4 files. Are there any softwares/plugins available to do this? I had a look at jwplayer but it only allows to play .flv and .mp4 files. I need support for all of the above three file formats.
If any player doesn't support then can you suggest any utility which we can run from c# similar to command line commands (using Process class) and get the desired format?
Thanks in advance :)
share|improve this question
add comment
2 Answers
up vote 1 down vote accepted
I don't think there's a flash player that supports all formats you need, but you can use FFmpeg to convert your videos to .flv
share|improve this answer
add comment
i think vlc media player plugin will work try this link it may help https://gist.github.com/101357
share|improve this answer
add comment
Your Answer
| http://stackoverflow.com/questions/6812932/any-plugin-for-playing-all-mov-mp4-and-wmv-files | dclm-gs1-050580000 |
0.401579 | <urn:uuid:8a099496-fd33-4399-bc44-eecfd327a6af> | en | 0.922163 | Take the 2-minute tour ×
I have the following code:
#include <iostream>
class Grandma
virtual void foo() = 0;
class Mom : public Grandma{};
class Dad
void foo() { std::cout << "dad's foo impl"; }
class Me : public Mom, public Dad{};
int main()
Me m;
and getting : cannot instantiate abstract class
I know what this error means, I know I can't instantiate Grandma because of pure-virtual.
But why can't I instantiate Me, when compiler knows I am derived from Mom and Dad and Dad has foo implemented?
I know I can fixed it by adding foo into Me and inside it call e.g. Dad::foo, but I am afraid it is not solution for my case.
Is it really necessary to have virtual method implementation between its declaration and instantiated object (when traversing "class hierarchy graph")? See ASCI graph
B1 B2
\ |
C1 C2
| /
When I want to instantiate E and have virtual declaration in A, the only way to make it run is to define it in A, B2, C1, D or E? and similarly when is virtual declaration in C2 only way is to define it in C2, D or E?
I know this may be silly question, but I had a loooong day and can not think anymore.
Please, do not answer just with - "It is not possible", but try to add explanation why not.
Thank you!
EDIT -- foo() in Dad is of course should not be private
share|improve this question
your Dad class doesn't derive from Grandma class, so Dad::foo doesn't override base class pure virtual function. Additionally, your derivation is not virtual, so you have two separate subobjects in Me – Gene Bushuyev Aug 4 '11 at 17:22
@Gene Bushuyev There is no diamond inheritance here so virtual inheritance should have no effect. – Mark B Aug 4 '11 at 17:30
@Mark -- that's correct, but that wasn't my point. If the Dad were to derive from Grandma, there would have been a diamond, and the same error, making the derivation virtual would have solved the latter. – Gene Bushuyev Aug 4 '11 at 17:42
Yeah, dad should have a mom, thus be derived from grandma.. Perhaps just bad names for an example :) – Vlad Lazarenko Aug 4 '11 at 19:16
add comment
3 Answers
up vote 4 down vote accepted
There is no relation between Dad class and Grandma class. Dad and Grandma are two completely different classes. Given that the method in Dad is not considered as an implementation of the pure virtual method in Grandma and has to be implemented in the Me class.
When you derive from an Abstract class(class containing atleast one pure virtual function) the deriving class needs to override and implement ALL the pure virtual member functions of the Base Class. If not, the deriving class becomes Abstract too, same applies to the classes deriving from the derived class further down the hierarchy.
share|improve this answer
Would adding using Dad::foo to Me be sufficient to meet this condition? – rcollyer Aug 4 '11 at 17:33
Your answer would be clearer if you avoided using a valid operator as an abbreviation for the word and – Nicola Musatti Aug 4 '11 at 17:34
@Nicola Musatti: Do you mean replacing & with a and, And did you really downvote for this reason? – Alok Save Aug 4 '11 at 17:39
I would really like to know the reason for this downvote. – Alok Save Aug 4 '11 at 17:41
@Nicola Musatti: I find it amusing that that you would downvote someone's answer because You did not understand it. I am glad though OP understood it and asked the Q's which indicated so. :) – Alok Save Aug 4 '11 at 18:43
show 13 more comments
Unfortunately you're right that you have to implement the virtual method in the path between original declaration and final instantiated object. Objects multiply inherited in can't implement that interface.
So from the question it sounds like you're trying to implement a parent interface in a child class by inheriting from the implementor. Instead of that approach, did you consider instead having the parent class delegate the work to a strategy pattern and then select the proper strategy in your child class. Then you can still compose implementations together and don't have to worry about the many complexities of multiple inheritance.
share|improve this answer
add comment
You are correct that a virtual function is only overridden by implementations provided by classes inheriting (potentially through several layers) from the class where the virtual function is originally declared.
However, depending on what you are actually trying to accomplish, Sister Class Delegation may what you want. Basically, you can declare virtual functions in a base common to both Grandma and Dad ('Person'?) and Grandma can call those functions even if only Dad provides an implementation when you're using a Me object. Even though Grandma would know nothing about Dad, when you use virtual inheritance any subclasses your final class pulls in can be used to satisfy virtual functions from the virtual base class.
share|improve this answer
add comment
Your Answer
| http://stackoverflow.com/questions/6945700/implementing-virtual-methods-in-other-parent-branch-than-they-are-declared-in/6946414 | dclm-gs1-050590000 |
0.891048 | <urn:uuid:352c04bc-cc74-4dca-991f-6e079b632f95> | en | 0.868284 | Take the 2-minute tour ×
I saw a similar question addressing differences of the code completion between Xcode 3.2 and Xcode 4. My question addresses a specific behaviour of Xcode (3.2).
When I declare "private" methods in a class extension, these methods are visible in the code completion lists, where they shouldn't be visible.
An example (AClass.m):
#import "AClass.h"
@interface AClass()
- (void)someMethod;
@implementation AClass
- (void)someMethod
// do something here
When I import AClass.h to some other class and create an AClass-instance...
AClass *test = [[AClass alloc] init];
Xcode's code-completion shows the "private" method "someMethod":
[test som // Shows someMethod, though it shouldn't be visible here
At that point, this method is visible, even if it shouldn't be, because it's unknown here - it's not defined in the header-file. If I send the message [test someMethod] at that point and build the thing, I get a warning, that the object might not respond - as expected.
It actually does respond, but this is confusing behaviour, especially for someone else, who wants to use my class.
That affects @property / @synthesize as well, since they "just substitute methods". I want to access all of my private ivars by properties for a) having homogene code while b) being able to influence the use of ivars (like lazy instantiation). On the other hand all private stuff shouldn't be visible (in code completion) to anyone using my classes, to make it easier to use them.
Is there any way to change this behaviour?
Is the missing validation of context in Xcode 3.2 the reason, why code-completion shows this kind of methods, where they shouldn't be visible?
Is that behaviour different in Xcode 4 (because of context-validation)?
I still use Xcode 3.2, because I wanted to finish a project before switching and adapting myself to Xcode 4.
share|improve this question
add comment
Your Answer
Browse other questions tagged or ask your own question. | http://stackoverflow.com/questions/7067063/visibility-of-methods-in-class-extensions-in-xcodes-code-completion?answertab=votes | dclm-gs1-050610000 |
0.262873 | <urn:uuid:32eb587e-418c-4acd-8094-31f7a3d9e327> | en | 0.890568 | Take the 2-minute tour ×
I am using Emgucv and i would like to know if it possible to remove the background from a _capture.QueryFrame and to be able to focus on the nearest object on my camera? Thanks in advance.
share|improve this question
add comment
1 Answer
up vote 1 down vote accepted
Yes this is quite possible take a look at the "MotionDetection" example provided with EMGU this should get you started.
Effectively the code that removes the foreground is effectively named "_forgroundDetector" it is the "_motionHistory" that presents stores what movement has occurred.
The example has everything you need if you have trouble running it let me know,
share|improve this answer
add comment
Your Answer
| http://stackoverflow.com/questions/7328693/removing-background-from-capture-queryframe | dclm-gs1-050630000 |
0.964354 | <urn:uuid:4008694d-0eef-4597-a51a-d67eeb81ba0b> | en | 0.835931 | Take the 2-minute tour ×
I can start my app and close later. But after closing, if I go to Settings-->Applications-->Manage Applicaitons and select my app, the Force Close button is still active which means my app is running behind the scenes. Why is this...???
share|improve this question
add comment
2 Answers
up vote 2 down vote accepted
When you close your application, the process of it is still active and will be active while/if system will not kill it in the future. So in Settings-->Applications-->Manage Applicaitons you can by force kill process of your application. This is feature of Android OS.
share|improve this answer
Sorry, I think some words are missing from your answer that's why I am unable to understand your reply. Can you elaborate again please...??? – Khawar Raza Sep 28 '11 at 15:02
See here: stackoverflow.com/questions/2033914/… – drifter Sep 28 '11 at 15:11
Sorry for my English. Did you get answer for your question? – drifter Sep 28 '11 at 15:17
add comment
Use this to close your application. It still show you Force Close button but it's closes all your activity.
Intent homeIntent = new Intent(Intent.ACTION_MAIN);
homeIntent.addCategory( Intent.CATEGORY_HOME );
share|improve this answer
add comment
Your Answer
| http://stackoverflow.com/questions/7584915/android-after-closing-my-app-in-application-management-still-showing-force-cl?answertab=votes | dclm-gs1-050650000 |
0.305652 | <urn:uuid:596a6efa-9a46-4d45-bedc-7d29f77fb408> | en | 0.929805 | Take the 2-minute tour ×
For fun, I've been toying around with writing a load balancer in python and have been trying to figure the best (correct?) way to test if a port is available and the remote host is still there.
I'm finding that, once connected, it becomes difficult to tell when the remote host goes down. I've turned keep alive on, but can't get it to recognize a downed connection sooner than a minute (I realize polling more often than a minute might be overkill, but lets say I wanted to), even after setting the various TCP_KEEPALIVE options to their lowest.
When I use nonblocking sockets, I've noticed that a recv() will return an error ("resource temporarily unavailable") when it reads from a live socket, but returns "" when reading from a dead one (send and recv of 0 bytes, which might be the cause?). That seems like an odd way to test for it connected, though, and makes it impossible to tell if the connected died but after sending some data.
Aside from connecting/disconnecting for every check, is there something I can do? Can I manually send a tcp keepalive, or can I establish a lower level connection that will let me test the connectivity without sending real data the remote server would potentially process?
share|improve this question
add comment
4 Answers
up vote 2 down vote accepted
I'd recommend not leaving your (single) test socket connected - make a new connection each time you need to poll. Every load balancer / server availability system I've ever seen uses this method instead of a persistent connection.
If the remote server hasn't responded within a reasonable amount of time (e.g. 10s) mark it as "down". Use timers and signals rather than function response codes to handle that timeout.
share|improve this answer
add comment
"it becomes difficult to tell when the remote host goes down"
Correct. This is a feature of TCP. The whole point of TCP is to have an enduring connection between ports. Theoretically an application can drop and reconnect to the port through TCP (the socket libraries don't provide a lot of support for this, but it's part of the TCP protocol).
share|improve this answer
add comment
ping was invented for that purpose
also you might be able to send malformed TCP packets to your destination. For example, in the TCP headers there is a flag for acknowleging end of transmission, its the FIN message. If you send a message with ACK and FIN the remote host should complain with a return packet and you'll be able to evaluate round trip time.
share|improve this answer
ping is useless here: it may be filtered out (it often is) and it does not test that the TCP server runs properly (it may be frozen or lost in an endless loop). – bortzmeyer Apr 21 '09 at 7:17
bortzmeyer is right - ping is useless for this. And remote firewalls will quite likely block any malformed TCP packets you might send. – Alnitak Apr 21 '09 at 7:23
add comment
It is theoretically possible to spam a keepalive packet. But to set it to very low intervals, you may need to dig into raw sockets. Also, your host may ignore it if its coming in too fast.
The best way to check if a host is alive in a TCP connection is to send data, and wait for an ACK packet. If the ACK packet arrives, the SEND function will return non-zero.
share|improve this answer
add comment
Your Answer
| http://stackoverflow.com/questions/771399/monitoring-a-tcp-port | dclm-gs1-050660000 |
0.884346 | <urn:uuid:79abca7a-e932-4bfa-b5bd-8c8106594903> | en | 0.866826 | Take the 2-minute tour ×
I am trying to wrote a program to manage a Database through a Scala Gui, and have been running into alot of trouble formatting my data in such a way as to input it into a Table and have the Column Headers populate. To do this, I have been told I would need to use an Array[Array[Any]] instead of an ArrayBuffer[ArrayBuffer[String]] as I have been using.
My problem is that the way I am trying to fill these arrays is modular: I am trying to use the same function to draw from different tables in a MySQL database, each of which has a different number of columns and entries.
I have been able to (I think) define a 2-D array with
val Data = new Array[Array[String]](numColumns)(numRows)
but I haven't found any ways of editing individual cells in this new array.
Data(i)(j)=Value //or
do not work, and give me errors about "Update" functionality
I am sure this can't possibly be as complicated as I have been making it, so what is the easy way of managing these things in this language?
share|improve this question
add comment
4 Answers
You don't need to read your data into an Array of Arrays - you just need to convert it to that format when you feed it to the Table constuctor - which is easy, as demonstrated my answer to your other question: How do I configure the Column names in a Scala Table?
If you're creating a 2D array, the idiom you want is
val data = Array.ofDim[String](numColumms, numRows)
(There is also new Array[String](numColumns, numRows), but that's deprecated.)
You access element (i, j) of an Array data with data(i)(j) (remember they start from 0).
But in general you should avoid mutable collections (like Array, ArrayBuffer) unless there's a good reason. Try Vector instead.
Without knowing the format in which you're retrieving data from the database it's not possible to say how to put it into a collection.
You can alternatively put the type information on the left hand side, so the following are equivalent (decide for yourself which you prefer):
val a: Array[Array[String]] = Array.ofDim(2,2)
val a = Array.ofDim[String](2,2)
To explain the syntax for accessing / updating elements: as in Java, a multi-dimensional array is just an array of arrays. So here, a(i) is element i of a, which an Array[String], and so a(i)(j) is element j of that array, which is a String.
share|improve this answer
add comment
Luigi's answer is great, but I'd like to shed some light on why your code isn't working.
does not do what you expect it to do. The new Array[Array[String]](numColumns) part does create an array of array of strings with numColumns entries, with all entries (arrys of strings) being null, and returns it. The following (numRows) then just calls the apply function on that returned object, which returns the numRowsth entry in that list, which is null.
You can try that out in the scala REPL: When you input
new Array[Array[String]](10)(9)
you get this as output:
res0: Array[String] = null
Luigi's solution, instead
does the right thing:
res1: Array[Array[String]] = Array(Array(null, null), Array(null, null))
share|improve this answer
add comment
It's rather ugly, but you can update a multidimensional array with update
> val data = Array.ofDim[String](2,2)
> data(0).update(0, "foo")
> data
data: Array[Array[String]] = Array(Array(foo, null), Array(null, null))
Not sure about the efficiency of this technique.
share|improve this answer
add comment
Luigi's answer is great, but I just wanted to point out another way of initialising an Array that is more idiomatic/functional – using tabulate. This takes a function that takes the array cell coordinates as input and produces the cell value:
scala> Array.tabulate[String](4, 4) _
res0: (Int, Int) => String => Array[Array[String]] = <function1>
scala> val data = Array.tabulate(4, 4) {case (x, y) => x * y }
data: Array[Array[Int]] = Array(Array(0, 0, 0, 0), Array(0, 1, 2, 3), Array(0, 2, 4, 6), Array(0, 3, 6, 9))
share|improve this answer
add comment
Your Answer
| http://stackoverflow.com/questions/8060120/how-do-i-algorithmically-instantiate-and-manipulate-a-multidimensional-array-in | dclm-gs1-050670000 |
0.062297 | <urn:uuid:58a717c2-c017-49ef-978f-2121ba61f3ed> | en | 0.89853 | Take the 2-minute tour ×
I am using the following NSNotifications within a UIView so that the view can be notified when a UIKeyboard appears and adjust its position (frame) on screen:
The two notifications above are being subscribed to within the -init method of the UIView. Where is the best place to unsubscribe from these notifications once the view has disappeared off-screen? At the moment the app is crashing whenever the UIKeyboard appears in another view, presumably because a notification is still being sent to the then released UIView.
Also, is there a better place to be subscribing to the notifications, apart from within the -init method?
Thanks for any assistance.
share|improve this question
add comment
7 Answers
up vote 10 down vote accepted
-[UIView willMoveToWindow:] and -[UIView didMoveToWindow] are called even when a view is removed from a window. The window argument (or the window property in the case of -didMoveToWindow) will be nil in that case, i. e.:
- (void)willMoveToWindow:(UIWindow *)newWindow {
if (newWindow == nil) {
// Will be removed from window, similar to -viewDidUnload.
// Unsubscribe from any notifications here.
- (void)didMoveToWindow {
if (self.window) {
// Added to a window, similar to -viewDidLoad.
// Subscribe to notifications here.
Except for a few edge cases this is a safe way to do it. If you need more control, you can observe the hidden property of the window to which your view belong.
share|improve this answer
I like this method as it suits my use-case much better. Can anyone see any downsides? I am also removing the observer in the -dealloc method as a fail safe. – Skoota Nov 21 '11 at 10:38
add comment
I put my removeObserver: calls in -dealloc.
Haven't had any problems so far.
share|improve this answer
Thanks, that's what I was thinking but wasn't sure whether it was the most suitable place - although if you haven't had any problems then it might be the best. – Skoota Nov 20 '11 at 10:17
My thinking is dealloc is the last thing that should be called on an object, so it's best to put it there. – Tom Irving Nov 20 '11 at 11:04
add comment
The definitive answer (e.g. ensure that an object is no longer reference by NSNotificationCenter when its lifecycle ends) is to do as @Tom suggests and remove itself as an observer in dealloc.
The subjective answer is it is also good practice to stop observing whenever the notifications are no longer relevant to the object. This is completely up to you to decide based on the design of your app. For example, if you have views that stay alive but come in and out of view you may decide to start observing when they are added to a subview and stop observing when they are removed.
WRT where the notification logic should reside (in a view vs in a controller), that's also up to you, obviously it can work both ways. I would make the decision based on the circumstances. If handling the notification in the view requires pushing app logic into the view (i.e. treating the view like a controller) then that's a red flag.
share|improve this answer
add comment
You can create a seperate function for adding and removing observes and then later you can all those functions from the view's instance. By the way for your question's answer I would have remove the observers before removing the view itself from superview. I hope you understand.
share|improve this answer
Thanks for your reply - I was hopping for a neater way than manually having to call those methods from the superview (i.e. view controller class) so I am thinking that the -dealloc method mentioned by Tom might be the best. – Skoota Nov 20 '11 at 10:19
add comment
First, you should consider when you want to stop receiving notifications:
1. When view is deallocated
2. When view is disappeared
You should always check if your view observes notifications and call -removeObserver: in -dealloc. In addition if you consider 2, override -viewWillDisappear or -viewDidDisappear or any other point where you manipulate view hierarchy of view's UIViewController.
I recommend you to put the logic into UIViewController because in terms of relationships UIView doesn't own its frame.
share|improve this answer
add comment
To unsubscribe you can use
- (void)removeObserver:(id)notificationObserver
- (void)removeObserver:(id)notificationObserver name:(NSString *)notificationName object:(id)notificationSender
Both methods are NSNotificationCenter's instance methods.
Take a look at NSNotificationCenter Class Reference
share|improve this answer
Thanks, but I am already aware of the methods to unsubscribe. I am mainly interested in the best-practice placement of these methods within a UIView class. – Skoota Nov 20 '11 at 10:16
add comment
As a practice for keyboard notifications, I normally use
works great for me everytime and it ensures that no keyboard notification is passed to a view which is not on screen which keeps the app safe from crashing due to false keyboard notofications.
share|improve this answer
Thanks, but those are only methods in a UIViewController. I am purely using a UIView. – Skoota Nov 20 '11 at 10:16
no issues. you can create a custom class extending UIView and then override viewWillAppear and viewWillDisappear and make this implementation. Then use this class instead or Native UIview.. – samfisher Nov 20 '11 at 10:17
as for keeping remove observer in dealloc is little more unsafe than keeping it in viewWillDisappear – samfisher Nov 20 '11 at 10:19
add comment
Your Answer
| http://stackoverflow.com/questions/8200775/when-to-unsubscribe-from-a-nsnotification-in-a-uiview/8203326 | dclm-gs1-050680000 |
0.021003 | <urn:uuid:9a9327cc-784e-4ae6-b393-7d8a13475e2a> | en | 0.936493 | Take the 2-minute tour ×
I need some help to confirm I am on the right track with this. I did a use case diagram and class diagram for the popular online shopping scenario.
Please look through it and criticize constructively, let me have your views on it as I am still learning UML.
The story behind the modeling is shown below:
The name of the company is X-company and they are into the sales of paints. X-company has a website that sells these paints online to two types of customers - retailers and wholesalers. X-Company has a few paints currently which vary in color, size, cost each paint-type obviously varying in these characteristics. Retailers can log into the site and purchase paints in single digits (like 1 or 2 paints) at a time while wholesalers buy paints in large quantities at discounts of 10% for 10 paints and above, 20% for 20 paints and above, 30% for 30 paints and above.
The website has been made to be easy as possible. Customers get to the site, selects the type of paint and is shown the characteristics of the paint. If the customer accesspts to purchase they select the quanitity they need. If the customer is ok with the price they then confirm their order. on confirmation, the website checks for the stock of paints to see if there are enough paints available. If there are not available, the customer is notified and asked to select another type. If they are available, the customer provides payment card details such as address, card number, card pin. The payment is done through an external integration. On payment, the customers order is sent to the customer except if the customer requests a cancellation or the order through the website administrator.
The website-organizer or administrator is responsible for adding new paints to the website and taking out old paints when there is a new stock of paints.
The class diagram I have drawn is shown below:
Class Diagram
share|improve this question
This looks too much like a homework assignment. Do you have specific UML questions? – vainolo Nov 30 '11 at 7:29
Im Assuming class User is abstract, would be good to label it so. – Darren Burgess Dec 3 '11 at 17:03
add comment
1 Answer
• Give the classes singular names. Order, not Orders. Discount, not Discounts. If you have a class that is a collection\list of Orders, however, then "Orders" would be fine.
• A User cannot buy more than one kind of paint at a time! The Order class should have a collection of Paint, not a single Paint instance.
• Paint, PaintType design does not seem logical. I don't see why there should be more than one class. Combine into a Paint class.
• I think there should be a PaintStock class. The methods in the Administrator class seem to be things that are done to PaintStock, so move them over. The Administrator class needs a PaintStock reference so it can call PaintStock.Add, etc.
• Payment class should be called CreditCardPayment given what's in it. I suspect that credit card is not the only way make payments. I'd make a Payment base class so we can easily expand the ways to pay later on.
• Add/Remove paint functions are inappropriate for the Administrator class. Put these methods in a PaintStock class.
• Rename BulkBuyer to Wholesaler
• Consider one User class. Get rid of Retailer and Wholesaler. I don't see a difference worth different classes. Make a BuyerType field in the User class to differentiate. If your business rules dictate purchase limits based on retailer vs wholesaler, that simple rule difference can easily live in one class.
• As a general rule - and it's a good one - do not store calculation results. So Order.TotalCost should be a method not a field.
• Order needs a Cancel method. NOT the Administrator class. The Administrator class needs an Order reference so it can call Order.Cancel.
share|improve this answer
add comment
Your Answer
| http://stackoverflow.com/questions/8315747/is-this-class-diagram-correct | dclm-gs1-050690000 |
0.995164 | <urn:uuid:c9b9bd63-d0fe-4b4a-8555-2a431a0aa17f> | en | 0.651402 | Take the 2-minute tour ×
How to hide the MPmoviePlayerController's control bar.
I just want to make the movie get a fullscreen and have nothing on it.
NSURL *url = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:dataPath ofType:@""]];
moviePlayerController = [[MPMoviePlayerController alloc] initWithContentURL:url];
[[NSNotificationCenter defaultCenter] addObserver:self
[self.view addSubview:moviePlayerController.view];
[moviePlayerController.view setFrame:CGRectMake(0, 0, 1024, 768)];
moviePlayerController.fullscreen = YES;
//Allow airplay ifavailabe
[moviePlayerController setAllowsAirPlay:YES];
[moviePlayerController play];
share|improve this question
add comment
1 Answer
up vote 8 down vote accepted
moviePlayerController.controlStyle = MPMovieControlStyleNone;
share|improve this answer
add comment
Your Answer
| http://stackoverflow.com/questions/9374149/how-to-hide-the-mpmovieplayercontrollers-control-bar | dclm-gs1-050740000 |
0.111788 | <urn:uuid:4329070c-faa3-4e79-b58e-9393f428a4a6> | en | 0.716548 | Take the 2-minute tour ×
I wrote a simple class:
@Table(name = "battle_log")
@SQLInsert(sql = "INSERT INTO battle_log (id, version, date_created, some_date) VALUES (?,?,?,?)", check = ResultCheckStyle.NONE)
@NamedQueries(value = {
@NamedQuery(name = "BattleLog.findAll",
query = "SELECT a FROM BattleLog a"),
@NamedQuery(name = "BattleLog.findAllBySomeDate",
query = "SELECT a FROM BattleLog a WHERE a.someDate = :someDate")
public class BattleLog implements Serializable {
private Long id;
private Integer version;
private Date someDate;
private Date created;
public BattleLog() {
created = new Date();
public Long getId() {
return id;
public void setId(Long id) {
this.id = id;
@Column(name = "version")
public Integer getVersion() {
return version;
public void setVersion(Integer version) {
this.version = version;
@Column(name = "date_created", nullable = false, columnDefinition = "timestamp")
public Date getCreated() {
return created;
public void setCreated(Date created) {
this.created = created;
@Column(name = "some_date", columnDefinition = "timestamp")
public Date getSomeDate() {
return someDate;
public void setSomeDate(Date someDate) {
this.someDate = someDate;
And a simple Bootstrap.groovy
BattleLog blog = new BattleLog(someDate: new Date())
println("should be saved now")
I'm doing it as a test project to see how Grails and Postgres partitioning work together. Everything is fine, if I comment out @SQLInsert code. When I do have it, I'm getting this exception:
Caused by: java.sql.SQLException: Wrong data type: java.lang.NumberFormatException: For input string: "2012-02-29 13:48:17.67"
at org.hsqldb.jdbc.Util.throwError(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.setParameter(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.setTimestamp(Unknown Source)
at org.apache.commons.dbcp.DelegatingPreparedStatement.setTimestamp(DelegatingPreparedStatement.java:147)
at org.apache.commons.dbcp.DelegatingPreparedStatement.setTimestamp(DelegatingPreparedStatement.java:147)
... 29 more
I'm not sure what can I do to make it work :/
Hope someone could help me.
Thanks, Krystian
I've tried using JodaTime, and after a little fight with dependencies I got it to run, however got errors like the one above. I've also reverted back to using java.util.Date and used @Temporal(TemporalType.DATE) and TIMESTAMP but got an error [for date, similar for timestamp but with the time part]:
I am quite sure I have to add something to the SQLInsert query, something that would convert string to a date. I can't, however, find anything.
share|improve this question
add comment
1 Answer
up vote 1 down vote accepted
Everything because a dumb mistake.
SQLInsert should look like:
@SQLInsert(sql = "INSERT INTO battle_log (date_created, some_date, version) VALUES (?,?,?)", check = ResultCheckStyle.NONE)
That's without the ID column!!
after removing it everything started to work just fine!
The above worked fine for HSQLDB. When I started to work with postgres I ended up again with some weird errors. In the end I had to add the ID, but... what's most important.. The ? ? ? ? values are added in the same order as the order in which they were created [in DDL statement].
Also, here's a link to a sample project where everything described is used:
share|improve this answer
add comment
Your Answer
| http://stackoverflow.com/questions/9500016/date-issue-when-using-hibernate-annotated-java-class-in-grails | dclm-gs1-050750000 |
0.734587 | <urn:uuid:71c4acb7-6b86-40d1-ba5e-69a00d7d45ef> | en | 0.880243 | Take the 2-minute tour ×
I'm wondering if any one knows a javascript formula which calculates the max number of tiles that would appear on the user's screen at any given time based on their screen size...
For example: If we say the screen size is 1200pixels by 600pixels and the tiles are 64 pixels by 32 pixels.
In a birds eye view this is easy to calculate but isometric kinda makes it all a bit more confusing for me to understand how to implement such a calculation in my code.
Does any one have any insight how to calculate it ?
share|improve this question
What are the details of the plane? E.g. the distance and angle from the screen? – Phil H Apr 5 '12 at 14:09
add comment
2 Answers
up vote 0 down vote accepted
Assuming you are counting only tiles that fit fully (without getting cut-off):
var verticalCount = Math.floor(windowHeight / tileHeight);
var horizontalCount = Math.floor(windowWidth / tileWidth);
var totalCount = verticalCount * horizontalCount;
If you want to count also tiles that fit partially (getting cut off by the window), just change both instances of Math.floor to Math.ceil above.
share|improve this answer
This only works for birds eye view, in isometric you end up with empty spaces in all 4 corners. The maths is different because the tiles are essentially at an angle. I already tried you're approach :P – Dave Mar 9 '12 at 1:26
If this answer is not sufficient, I suggest you un-accept it. – Phil H Apr 5 '12 at 14:08
add comment
If you are wanting to fill the screen with isometric tiles, not a board, and not counting the half tiles that could be displayed, then the formula would be
var cols = Math.floor(windowWidth/tileWidth)
var rows = Math.floor(windowHeight/tileHeight)
var totalCount = (rows * cols) + ((rows-1)*cols)
this will give you the number of complete isometric tiles that can fit in that space.
share|improve this answer
add comment
Your Answer
| http://stackoverflow.com/questions/9627415/max-isometric-tiles-from-screen-size | dclm-gs1-050760000 |
0.536695 | <urn:uuid:b8f98474-dd08-4edb-b7ab-2bf6717d6202> | en | 0.949612 | Take the 2-minute tour ×
I'm making an app and i'm curious: is there any way to know how much money does the user have on his SIM without the need to dial it on the phone app? For example, in Portugal i have to type *#100# to know how much money i have and how many messages i have left.
share|improve this question
add comment
1 Answer
up vote 0 down vote accepted
I think you can not do it. The SIM access requires the use of AT commands, and this is not included in the official SDK. However, you may develop the app for jailbroken devices. Also I'm not sure that the credit is stored in the SIM.
share|improve this answer
add comment
Your Answer
| http://stackoverflow.com/questions/9760517/getting-users-carrier-money-iphone | dclm-gs1-050770000 |
0.675426 | <urn:uuid:48268e88-38ca-4bcb-abf9-6f741077c934> | en | 0.917037 | Take the 2-minute tour ×
I want to share my PHP App running on WAMP with my friends from my Home PC,
Is there any way?
As every PC has an unique IP Address can that be used in any way to act like a server [a tiny one]?
share|improve this question
Read the FAQ, please. ServerFault is for professional sysadmins. This will get automatically migrated over to SuperUser, so please do not post a duplicate question there. – EEAA Jun 4 '11 at 2:29
By default, in a typical home environment, all computers have a unique IP, what is important is whether they are public or private and if they are static. Chances are you just need to set up port forwarding on port 80 to whatever computer is running WAMP and your friends can then connect to your public IP to see your PhP app. – MaQleod Jun 4 '11 at 3:24
add comment
migrated from serverfault.com Jun 4 '11 at 2:39
4 Answers
up vote 1 down vote accepted
1. Register a domain name (it's about $10/year). I would use Namecheap over GoDaddy.
2. You are probably on a "dynamic" IP address which can change day-to-day (vs a static IP which does not change). You'll need to get a Dynamic DNS client from someone like no-ip.com, then set your domain's DNS to use the no-ip's nameservers, and run the no-ip client on your system which will sync your domain name with your changing IP address.
3. You'll need to "port forward" port 80 WAN (outside) to LAN IP of system, that way requests coming in are forwarded to your system... But you only have to do this if you have a router.
4. Windows has a Firewall application that will block incoming port 80 (the HTTP port). You'll need to unblock that port.
5. There are different WAMP packages. Some are better than others. WampDeveloper Pro is the one I use. It's commercial grade designed for production. Some of the others that are free and mostly for testing are Xampp and WampServer.
share|improve this answer
add comment
You could set up a lightweight webserver package for Windows like xampp. Then, you can configure xampp to be accessible to outside devices (by default it only responds on localhost, but you can change that easily in its settings interface). You'd then need to configure your router to forward port 80 to the correct computer, if you have a router.
This question here on SU also have a lot of information: What is port forwarding and what is it used for?
share|improve this answer
how to do these steps configure your router to forward port 80 to the correct computer, ? – Sourav Jun 4 '11 at 5:11
This depends on your particular router brand and model - there are a lot of guides at portforward.com. – user55325 Jun 4 '11 at 5:17
If you follow the link... it's a link to portforward.com. – jcrawfordor Jun 4 '11 at 6:01
Haha. I can't believe I forgot to link to that other question. I wrote half of that answer. >.< – jcrawfordor Jun 4 '11 at 19:58
add comment
Try localtunnel or showoff.io -- they were designed for exactly this purpose ("the easiest way to share localhost web servers to the rest of the world").
share|improve this answer
add comment
You can install Xampp on a separate box. Set the IP address as fixed like . Then the other local computers can use it. In the browser address line put . Here is a link to the Lite version. http://download.cnet.com/XAMPP-Lite/3000-10248_4-75157363.html
share|improve this answer
add comment
Your Answer
| http://superuser.com/questions/292768/host-php-server-on-home-pc-and-share-with-friends-windows | dclm-gs1-050820000 |
0.020561 | <urn:uuid:784e331d-f872-4bb3-8dfb-5ca106bf2736> | en | 0.980934 | Football - Town frustrate Forest
Nottingham Forest's search for a home win continues after Ipswich held Billy Davies' stuttering side to a 0-0 draw at the City Ground.
The Reds last triumphed on the banks of the River Trent on September 28, when they beat east midlands rivals Derby.
And Mick McCarthy's side ensured it was five matches without a home success for Forest to make it 10 points from four games for the Championship's form side.
The Reds, in contrast, are on a run of just two wins in nine games, and found themselves dropping out of the play-off places.
It was a mystery how the first half ended without goals, with both sides having carved out solid openings.
David McGoldrick had a powerful strike deflected the wrong side of the post for Ipswich while, from the resulting corner Daryl Murphy planted a header narrowly wide.
Ipswich had started the stronger, with Frank Nouble only denied a fine solo goal by a strong save from Karl Darlow after the forward had carried the ball half the length of the pitch.
Forest improved, however, with Andy Reid twice coming close, before the game's controversial moment, which saw Simon Cox prod the ball around Dean Gerken before going down as the keeper slid in at his feet in the 19th minute.
Replays did suggest that Cox had started to fall before the keeper made contact.
But it was still a big call from referee Scott Mathieson, particularly given that Cox had already been booked for attempting to bring down Nouble when he broke quickly - and could have been sent off had he been shown a second yellow for simulation.
Cox was unlucky when he steered a header against the bar, while Jamie Mackie was thwarted as Gerken pushed away his rising shot.
Greg Halford might have done better when Djamel Abdoun's corner curled towards him at the far post, but the defender completely failed to make contact.
McGoldrick, who, along with Luke Chambers and sub Paul Anderson, was returning to his former club, was denied for a second time when his driven shot was pounced on by Darlow, just before the interval.
Forest should have taken the lead just before the hour mark, when Reid delivered an outstanding ball from the left, right across the face of goal.
Cox was arriving at the far post, where he only had to convert, but Gerken was quick off his line to make an outstanding save at his feet.
And they spurned another opportunity when substitute Darius Henderson attacked a Henri Lansbury free-kick - but sent his header straight into the arms of a well-placed Gerken.
The unlikely figure of Christophe Berra almost netted a well-worked winner for Ipswich, as he charged right through the centre, into the box, before striking a low shot that required Darlow to push away, diving to his left. | http://uk.eurosport.yahoo.com/news/football-town-frustrate-forest-180250624--sow.html | dclm-gs1-050900000 |
0.115781 | <urn:uuid:d963d30f-3497-455f-b24c-0d938542753f> | en | 0.928276 | antiHT which stands for anti- Human Trafficking, is an effort to stop and prevent such activities going on there in your vicinity or the outside world of yours. As people and humans we have this right and hence duty to prevent such shameful acts being undertaken for money and sexual motives.
We have setup a group for information providing, and discussions at Google Groups, voluteers may join the group and help the cause of humanity.
Group address is:
We shall be very thankful of your role in stopping/preventing these nefarious activities.
antiHT is an effort to prevent such nefarious acts going on out there.
Give me a Gun, a ship and few tactical skills and just see how i blast these monsters.
Loading more stuff…
Loading videos… | http://vimeo.com/5775120 | dclm-gs1-050930000 |
0.631891 | <urn:uuid:d23f873d-cdff-4591-96ca-c8afd738f90f> | en | 0.964947 | Now Playing
Visual Effects Firms Miss Out On Films Financial Success
Life of Pi won four Oscars including one for visual effects. But the company that did much of its work, Rhythm & Hues is bankrupt and is being sold at auction. At a time when movies are increasingly depending on computer effects, why are the economics not holding up? | http://wamu.org/audio-player?nid=84315 | dclm-gs1-050940000 |
0.019368 | <urn:uuid:86d31683-e278-49b3-a93a-f1f693dc5105> | en | 0.968012 | Search the whole artnet database
Record price for a painting:
at Sotheby's
Nov. 1989
Record for a work on paper:
March, without You (hearts)
at Christie's
May '89
Car Crash
at Sotheby's
May 18, 1999
Untitled (Hearts)
at Christie's
Nov. 16, 2000
Two forks
at Sotheby's
Nov. 15, 2000
Hand painting of the mandala
estimate: $9,000-$11,000
at Christie's
Nov. 12, 1998
Art Market Guide 2001
by Richard Polsky
One hates to give a "sell" rating to an artist who actually knows how to draw and paint -- no small accomplishment in this day and age. Unfortunately, such is the case when it comes to analyzing the market potential of Jim Dine.
During the late 1950s, Dine got his start as a performance artist (back then, performances were called "Happenings"). Often, an artist goes into performance because he lacks any real talent. Jim Dine, however, was different. He possessed serious art skills and soon discovered his direction during the birth of Pop Art.
Dine found representation with the Sidney Janis Gallery and began his series of hearts, bathrobes, house tools and trees. The work won immediate acceptance as collectors found the imagery easy to live with. Had Dine kept moving forward and allowed the work to evolve, he may have had an even more impressive career. Instead, he took the easy way out.
It's been said that once an artist finds acceptance painting a specific subject, it's extremely difficult to move beyond it. An artist can work away for ten, 20, or more years when suddenly a body of work clicks with the public. Your dealer is happy, the positive reviews pour in, and your sales keep increasing.
The truly great artists don't rest on their laurels. They take risks and continue to explore new possibilities. Imagine what would have happened if the great artist Philip Guston had played it safe by sticking with his Abstract Expressionist style. Instead, he chanced everything by painting his now-famous quirky representational subject matter.
For whatever reason, Dine has never felt compelled to endure the painful soul-searching that Guston must have faced. Almost 40 years after painting his first heart and robe, he continues to crank out variations of the same images. This is not to be confused with the example of Gorgio Morandi and his wonderful still lifes. In Morandi's case, his humble bottles and objects were painted over and over, with an ever greater sense of meaning and spirituality. Dine's paintings lack that sort of depth. They are what they are -- attractive depictions of a limited personal vocabulary.
It says something about Dine's market that only one of his pictures has appeared in an evening auction over the last two years. In that one instance, at Sotheby's last May, the picture was of day-sale quality. One sensed they placed it in the sale out of desperation for material. The painting, Car Crash, an immature work from 1959-60, sold for $68,500. Other than that fluke, nothing else has recently come up in the prestigious "Part I" sales, and it's not because the work is scarce -- it's because collectors and dealers are scared to take a chance.
In general, the day sales have been kinder to Dine. Often, when a quality early watercolor or pastel comes up, it sells within, or slightly above, estimate. Two recent examples come to mind. At Christie's (Nov. 2000), a flashy watercolor from 1972 of two hearts, Untitled (Hearts), sold for $39,950, against an estimate of $25,000-$35,000. Over at Sotheby's (Nov. 2000), a convincing drawing from 1975 of a pair of farmer's pitchforks, Two Forks, sold for $24,900, just below its low estimate of $25,000-$35,000.
The message to Dine collectors seems clear. Unless you can find a first-rate painting of a heart or robe, better to spend less money and buy a work on paper. A large heart or robe canvas would probably bring $150,000 to $300,000 at auction. A good representative drawing can be had for $25,000-$45,000. By acquiring a work on paper, at least you end up with something that shows off the artist's real strength -- drawing.
From his gallery's standpoint, Dine is a cash cow. He is rumored to be PaceWildenstein's biggest selling artist. Obviously, unless you're Pace's accountant, you'll never know for sure. But it's a highly plausible theory, given the massive number of prints the artist produces and sells. Once again, when it came to his prints, it appeared that Dine took the easy path.
Occasionally, artists produce black and white etchings that they hand-color with pastel or watercolor. Wayne Thiebaud is one artist who comes to mind who enjoys doing this. However, most artists do this as the exception -- Dine has made it the rule. It's incredible how often he releases a print and then hand-colors the entire edition. By doing so, the dealer can mark up the price and get away with selling the print as unique. These prints often sell in the $5,000-$20,000 price range. If you insist on supporting the artist, better to stick with a regular editioned print.
It's often uncomfortable writing negative things about a legitimate artist. In a way, I have always felt that unless I could do any better, perhaps it was wiser not to say anything at all. It reminds me of the time that I once witnessed the great baseball player, Barry Bonds, come under relentless heckling from a lone fan. Bonds scanned the audience, located his tormentor, and then made a gesture with his bat -- as if he were handing it to the fan. When he made eye contact, Bonds then brought his finger to his mouth, making the universal gesture for silence.
The message, to the now stunned fan, was crystal clear -- unless he thought he could hit a major league fastball, he had better keep his mouth shut. The difference is that the fan was only paying $25 or so to watch the game. Jim Dine's fans pay tens of thousands of dollars. For that kind of money, he had better improve his batting average.
Recommended reading: Jim Dine by David Shapiro.
RICHARD POLSKY is a private dealer specializing in post-1960 works of art. Questions or comments can be directed to him in San Francisco at at 415-885-1809 or
| http://www.artnet.com/magazine/features/polsky/polsky2-14-01.asp | dclm-gs1-051020000 |
0.033508 | <urn:uuid:050dbece-a25a-4f65-b04e-71b12e767a93> | en | 0.965468 |
Seizures, Headrush or worse?
I've had two spells and I'm worried. the first event happened when I got up too quickly, one moment I was on my feet, the next I wake up on the ground with my tongue tingling. The second happened moments ago. I went to the bathroom and I leaned on the door, I blacked out and I actually felt my body gyrating is this because I was wobbling from disorientation or because I was seizing up? I have two possible connection I have JUST been taking my sleeping/anti depressant Trazadone; could that be a cause? I also drink tons of Soda, I would understand if it were diabetes. But could it be a stroke or even worse epilepsy? Thank you.
EDIT: I've been using Trazadone or some time now, but I stopped and now I've been taking it sporadically. Also the second spell, my tongue was tingling again.
Report as
You could be experiencing the side effects of the anti depressant drug Trazadone. Having sudden seizures is one of the server side effects of the drug. The best thing to do is reduce your intake of the drug. Take some time off from the drug and see whether the seizures will happen. If they get worse, go and see a doctor immediately.
Helpful Fun Thanks for voting Comments (1)
Report as
Alright thank you. Very much. I hope the lack of that med helps.
Report as
Add a comment...
Do you have an answer?
Answer this question...
Did you mean?
Login or Join the Community to answer
Popular Searches | http://www.ask.com/answers/119919181/seizures-headrush-or-worse | dclm-gs1-051030000 |
0.019405 | <urn:uuid:c02b73c6-08a1-4612-bd01-0cd4510fd7e1> | en | 0.977451 | your connection to The Boston Globe
Kay implores US to admit mistakes in Iraq
CAMBRIDGE -- The former chief US weapons inspector in Iraq warned yesterday that the United States is in "grave danger" of destroying its credibility at home and abroad if it does not own up to its mistakes in Iraq.
"The cost of our mistakes . . . with regard to the explanation of why we went to war in Iraq are far greater than Iraq itself," David Kay said in a speech at Harvard University's John F. Kennedy School of Government.
"We are in grave danger of having destroyed our credibility internationally and domestically with regard to warning about future events," he said. "The answer is to admit you were wrong, and what I find most disturbing around Washington . . . is the belief . . . you can never admit you're wrong."
Kay's comments came as the White House sought to fend off accusations from its former antiterrorism chief, Richard Clarke, who said President Bush ignored the Al Qaeda threat before the Sept. 11, 2001, attacks and focused on Iraq, rather than on the Islamic militant group, afterward.
Last year, the White House cited Iraq's weapons of mass destruction as the main reason for going to war.
Kay resigned in January, saying that he believed no such weapons existed and that the failure to find them raised serious questions about the quality of prewar intelligence.
Kay, who had a role in United Nations weapons probes in Iraq in the early 1990s, said US intelligence there was poor in the decade before the war, relying entirely on international inspectors, Iraqi defectors, or intelligence from allies such as France and Britain.
He cautioned the intelligence community against jumping to conclusions, as it did in Iraq. "One of the most dangerous things abroad in the world of intelligence today actually came out of 9/11 . . . the insistence of `Why didn't you connect the dots?' The dots were all there," he said.
"When we finally do the sums on Iraq, what will turn out is that we simply didn't know what was going on, but we connected the dots -- the dots from 1991 behavior were connected with 2000 behavior and 2003 behavior, and it became an explanation and a picture of Iraq that simply didn't exist," Kay said.
Today (free)
Yesterday (free)
Past 30 days
Last 12 months
Advanced search / Historic Archives | http://www.boston.com/news/local/massachusetts/articles/2004/03/23/kay_implores_us_to_admit_mistakes_in_iraq/ | dclm-gs1-051110000 |
0.019611 | <urn:uuid:0cad407d-2312-47d5-b5d9-684aa4eb1b52> | en | 0.965655 | Health: Poetry offers outlet to cancer patients
How I feared chemo, afraid/
It would change me./
It did./
Something dissolved inside me./
Tears began a slow drip;/
I cried at the news story/
Of a lost boy found in the woods ... /
At the surprising beauty/
Of a bright leaf falling/
Like the last strand of hair from my head./
Potvin, now 47 and living in Derry, N.H., recently published "Sound Travels on Water" (Finishing Line Press), a collection of poems about her experience with cancer. And she has organized the Prickly Pear Poetry Project, a series of workshops for cancer patients.
"The creative process can be really healing," Lotvin said in an interview. "Loss, mortality and even hopefulness were on my mind, and I found that through writing poetry I was able to express some of those concepts in a way that helped me process what I was thinking."
In April, the National Association for Poetry Therapy, whose members include both medical doctors and therapists, will hold a conference in Chicago with sessions on using poetry to manage pain and to help adolescents cope with bullying. And this spring, Tasora Books will publish "The Cancer Poetry Project 2," an anthology of poems written by patients and their loved ones.
"It's always striking to me how they want to talk about the poems the next time we meet and not the other stuff I give them," he said. "It's such a visceral mode of expression. When our bodies betray us in such a profound way, it can be all the more powerful for patients to really use the rhythms of poetry to make sense of what is happening in their bodies."
On return visits, Campo's patients often begin by discussing a poem he gave them — for example, "At the Cancer Clinic," by Ted Kooser, from his collection "Delights & Shadows" (Copper Canyon Press, 2004), about a nurse holding the door for a slow-moving patient.
How patient she is in the crisp white sails/
of her clothes. The sick/ woman/
peers from under her funny/ knit cap/
to watch each foot swing/ scuffing forward/
and take its turn under her weight./
There is no restlessness or/ impatience/
or anger anywhere in sight./ Grace/
fills the clean mold of this/ moment/
and all the shuffling magazines grow still./
In Potvin's case, poems related to her illness were often spurred by mundane moments, like seeing a neighbor out for a nightly walk. Here is "Tumor":
My neighbor walks/
For miles each night./
A mantra drives her, I imagine/
As my boys' chant did/
The summer of my own illness:/
"Push, Mommy, push."/
Urging me to wind my sore/ feet/
Winch-like on a rented bike/
To inch us home./
I couldn't stop;/
Couldn't leave us/
Miles from the end./
Her husband has since recovered, and Miller has reviewed thousands of poems by cancer patients and their loved ones to create the "Cancer Poetry Project" anthologies. One poem is "Hymn to a Lost Breast," by Bonnie Maurer.
Oh let it fly/
let it fling/
let it flip like a pancake in the air/
let it sing: what is the song
of one breast flapping?/
Another is "Barn Wish" by Kim Knedler Hewett.
I sit where you can't see me/
Listening to the rustle of/ papers and pills in the other room,/
Wondering if you can hear them./
Let's go back to the barn, I whisper.
Let's turn on the TV and watch the Bengals lose./
Let's eat Bill's Doughnuts and drink Pepsi./
Anything but this./
"They say it's the thing that lets them get to the core of how they are feeling," she said. "It's the simplicity of poetry, the bare bones of it, that helps them deal with their fears."
Reader Reaction | http://www.capecodonline.com/apps/pbcs.dll/article?AID=/20130221/LIFE/302210310/-1/LIFE04 | dclm-gs1-051200000 |
0.931433 | <urn:uuid:d388005a-ae87-43ee-b88c-bb3c125357e8> | en | 0.917621 | NASA is restarting a mission with greater capability for usinghigh-energy X-rays to detect black holes.
The Nuclear Spectroscopic Telescope Array, or NuSTAR, is an X-ray telescope designed to answer fundamental questions about the universe, such as how black holes are distributed through the cosmos.
Funding pressures forced NASA cancel the NuSTAR mission in 2006, but the restarted mission is expected to be up and running in 2011.
"NuSTAR has more than500 times the sensitivity of previous instruments that detect black holes. It's a great opportunity for us to explore an important astronomical frontier," Alan Stern, associate administrator for the Science MissionDirectorate at NASA Headquarters in Washington, said in a release.
Black holes can't be seen directly because they're so dense not even light can escape their pull. Instead, astronomers use X-ray telescopes to detect the X-rays given off when objects fall into black holes.
By focusing X-rays at higher energy, NuSTAR will also answer questions such as: How were the elements that compose our bodies and the Earth forged in the explosions of massive stars? What powers the most extreme active galaxies? | http://www.cbc.ca/news/technology/nasa-restarting-mission-to-find-black-holes-1.648947 | dclm-gs1-051210000 |
0.143723 | <urn:uuid:e1b1afe8-6cc7-428f-9ef6-a88a6e0ffafe> | en | 0.991903 | WARSAW, Poland—Jadwiga Kaczynska, the mother of the late President Lech Kaczynski and his identical twin brother Jaroslaw—an unusual political duo who shaped public life in Poland for many years—has died. She was 86.
Kaczynska's death Thursday was announced by Law and Justice, the conservative party led by Jaroslaw Kaczynski. The cause of death was not given but Kaczynska had been ill for several years.
For a time the two held the country's top political jobs simultaneously—as prime minister and president—and she was sometimes present with them at ceremonial events. The closeness of the family was also a way they expressed their attachment to traditional, Roman Catholic family values.
It's a view shaped by the experience of suffering during World War II, when Poland was carved up and occupied by Germany and the Soviet Union. Kaczynska herself was active in the anti-German resistance, giving first aid to wounded soldiers.
"Her descriptions of war, conspiracy, battles that her older friends took part in, and finally, her own involvement in the conspiracy, made a huge impression on me," Jaroslaw has said, according to the TVN24 news outlet.
Kaczynska's fate intersected with that of her son Lech, who was Poland's president when he died in a 2010 plane crash in Russia along with his wife and 94 others, including many of the country's top political and military leaders.
In the weeks before the crash, Kaczynska was in such a critical condition with heart and lung problems that the president had canceled foreign trips to be by his mother's side.
Polish media reported that Jaroslaw had also planned to be on the ill-fated flight but stayed home to be with their mother.
For many weeks after the crash she had no idea her son had died, with doctors asking the family to spare her the news until she was better.
Jaroslaw finally broke the news to her six weeks later, a devastating shock to her and a painful moment also for Jaroslaw, who has mourned his brother visibly, wearing black suits exclusively to this day in public.
Telling her "was the most difficult moment in Jaroslaw Kaczynski's life," a former aide, Elzbieta Jakubiak, said at the time.
Lech and Jaroslaw Kaczynski first entered the public spotlight as child movie stars in a 1962 hit film, "The Two Who Stole the Moon," about a pair of troublemakers who try to get rich by stealing the moon and selling it. Their mother, who then worked as a Polish language teacher at a Warsaw high school, gave up her work for half a year to be with her sons during the filming.
That was the end of their film career, however, and they went on to study law.
In the 1970s and 1980s, the brothers were activists in the anti-communist opposition and served as advisers to Solidarity founder Lech Walesa. After the fall of communism, they were active in political life in the young democratic state. They eventually formed Law and Justice, now the country's main opposition party.
Both brothers drew criticism from many quarters. In European Union circles, their nationalistic policies have been seen as euro-skeptic, and their suspicion of Germany and Russia has been criticized abroad—and by some Poles who feel their views are overly focused on the past.
Their mother said once when her sons were serving as president and prime minister that she was proud of them but that criticism of them was hard to take.
"Some of the comments and the attacks hurt me," she said, according to the news agency PAP. | http://www.contracostatimes.com/nation-world/ci_22392871/mother-polands-kaczynski-twins-dies-at-86 | dclm-gs1-051230000 |
0.522953 | <urn:uuid:5b9892f0-2963-4269-899d-dd0fb61c605a> | en | 0.909773 | Document Sample
A. Key Piagetian Concepts
1. Piaget believed children move through four stages of development between infancy
and adolescence.
2. During the sensorimotor stage, infants and toddlers "think" with their eyes, ears, hands,
and other sensorimotor equipment.
3. What Changes With Development: a. Piaget believed a child's schemes change with
age. b. Schemes are action-based at first and later will move to a mental level.
4. How Cognitive Change Takes Place: a. Adaptation 1) Adaptation is the process of
building schemes through direct interaction with the environment, 2) Assimilation is a part of
adaptation in which the external world is interpreted through existing schemes. 3)
Accommodation is the part of adaptation in which new schemes are created or old ones adjusted
to produce a better fit with the environment. 4) Equilibrium exists when children are not
changing very much and they are in a steady, comfortable cognitive state; assimilation is used
more than accommodation. 5) Disequilibrium is the state of cognitive discomfort which occurs
during times of rapid change; accommodation is used more than assimilation. 6) Back-and-forth
movement between equilibrium and disequilibrium leads to the development of more effective
schemes. b. Organization 1) Organization is an internal process of rearranging and linking
together schemes to form an interconnected cognitive system. 2) Schemes reach a true state of
equilibrium when they become part of a broad network of structures that can be jointly applied to
the surrounding world.
B. The Sensorimotor Stage
1. Piaget based the sensorimotor stage on his observations of his own children.
2. The Circular Reaction: a. Circular reactions are the means by which infants explore the
activity. b. These reactions are first centered on the infant's own body. Subsequently, they
3. Substage 1: Reflexive Schemes - a. Piaget regarded newborn reflexes as the building
way, no matter what the circumstances.
4. Substage 2: Primary Circular Reactions-The First Learned Adaptations - a. Infants
b. The first circular reactions are primary in that they are oriented towards the infants' own
bodies and motivated by basic needs.
5. Substage 3: Secondary Circular Reactions-Making Interesting Sights Last - a. Circular
6. Substage 4: Coordination of Secondary Circular Reaction - a. Intentional, or goal-
directed, behavior is the combination of schemes to solve problems. b. Piaget regarded means-
end action sequences as the first sign that babies appreciate physical causality.
moved from A to hiding place B.
7. Substage 5: Tertiary Circular Reactions-Discovering New Means Through Active
Experimentation - a. Circular reactions in this substage are tertiary in that the infant repeats
longer make the AB search error.
8. Substage 6: Mental Representation-Inventing New Means Through Mental
Combinations - a. Mental representations are internal images of absent objects and past events.
c. Representation allows deferred imitation-the ability to copy the behavior of models who are
C. Recent Research on Sensorimotor Development
1 . New studies show that infants display many cognitive capacities earlier than Piaget
2. Reasoning About the Physical World: a. Object Permanence 1) Research indicates that
babies as young as 3 1/2 months of age understand object permanence. 2) Infants understand
object permanence before they are capable of demonstrating their knowledge through action.
b. Searching for Objects Hidden in More than One Location 1) Recent findings reveal that poor
memory cannot account for infants' unsuccessful performance on the AB task. 2) Before 12
months, infants seem to have trouble translating knowledge about an object's movement from
one place to another into a successful search strategy. c. Other Aspects of Physical Reasoning 1)
Habituation-dishabituation research reveals that young infants are aware of object substance,
physical limits on object motion, and the effects of gravity. 2) A beginning grasp of physical
causality is also present very early.
3. Deferred Imitation: a. Research indicates that 6-week-old infants demonstrate deferred
imitation of facial expressions. b. Deferred imitation becomes more flexible and complex by the
end of toddlerhood enabling children to better understand and predict others' behavior.
D. Evaluation of the Sensorimotor Stage
1. Some capacities, such as object permanence and deferred imitation, emerge much
earlier than Piaget believed.
2. In contrast to Piaget's ideas, infants appear to develop in a gradual and continuous
manner and not in step-like stages.
3. Consistent with Piaget's views, research indicates that motor activity does facilitate the
early construction of knowledge.
4. A Perceptual View: a. Some researchers believe that schemes develop through looking
and listening rather than just through acting on the world. b. Renee Baillargeon argues that
infants understand their physical world by first making all-or- none distinctions and adding to
these as they encounter relevant information.
5. A Nativist View: a. Researchers who take a nativist view of development believe that
infants' cognitive skills are based on innate, or inborn, knowledge. b. The modular view of the
mind assumes that each type of knowledge has its own module, or genetically prewired neural
system in the brain, and maturational timetable.
6. A Compromise Position: a. Built-in mental equipment that infants possess might best
be viewed as a set of biases, or learning procedures. b. Infant cognitive skills emerge gradually,
depending on biological makeup and experience. c. Piaget's work inspired a wealth of research
on infant cognition. d. Piaget's observations have been of great practical value, particularly for
teachers and caregivers.
A. Information processing focuses on many different aspects of thinking such as attention,
memory, categorization skills, and problem solving.
B. The Structure of the Information-Processing System
1. Mental strategies operate on and transform information, increasing the efficiency of
thinking as well as the chances that information will be retained.
2. Information first enters the sensory register where sights and sounds are briefly held
before they decay or are transferred to short-term memory.
3. Working, or short-term, memory is the conscious part of the mental system where
information is actively "worked" on to ensure that it will be retained.
4. Long-term memory is the limitless permanent knowledge base.
5. Categorization of information increases the likelihood that information will be easily
retrieved from long-term memory.
6. The capacity of the mental system, the amount of information that can be retained and
processed at once, expands with age.
C. Attention
1. Infants gradually become more efficient at managing their attention, taking
information in more quickly.
2. Research reveals that preterm and newborn infants require a long time to habituate and
dishabituate to novel stimuli.
3. By 4 months, infants attention becomes more flexible and they are better able to
disengage or shift attention from one stimulus to another.
4. Sustained attention improves throughout the first year.
5. With age, infants and toddlers become more interested in what others are attending to.
D. Memory
1. Habituation research indicates 3-month-old infants can recognize a stimulus 24 hours
2. Recognition is a type of memory that involves noticing whether a stimulus is identical
or similar to one previously experienced.
3. Recall is a type of memory that involves remembering a stimulus that is not present; by
the middle of the first year, infants can engage in recall.
4. Infantile amnesia, or the fact that practically none of us can remember events before
age 2 or 3, may be due to brain development during early childhood. Alternatively, it may be due
to the emergence of autobiographical memory, which occurs during the preschool years.
E. Categorization
1 . Evidence indicates that infants organize their physical, emotional, and social worlds.
2. By the end of the first year, categories are conceptual-based on function and behavior.
3. During the second year, children actively categorize items during their play.
F. Evaluation of Information-Processing Findings
1. Information-processing research emphasizes the continuity of thinking from infancy
into adulthood.
2. One drawback to this approach is that, although it separates the different components
of cognition , it does not build a broad, comprehensive theory of cognitive development.
3. More recent theorists have combined Piaget's theory with the information-processing
approach or applied a dynamic systems view to early cognition to overcome this weakness.
A. Vygotsky believed that complex mental functions originate in social interaction.
B. The zone of proximal development refers to a range of tasks that a child cannot yet handle
alone, but can do with the help of more skilled partners.
C. Research indicates that adult guidance and support within the zone of proximal development
is related to advanced play, language, and problem-solving skills during the second year.
A. Cognitive theories are concerned with the process of development. In contrast, mental tests
measure cognitive products that reflect mental development.
B. Infant Intelligence Tests
1. Most infant tests consist of perceptual and motor responses as well as some tasks that
measure early language and problem solving.
2. The Bayley Scales of Infant Development consist of the Mental Scale, which includes
items such as turning to a sound and looking for a fallen object; and the Motor Scale, which
assesses gross and fine motor skills.
3. Infant test scores may not accurately reflect abilities because the babies are likely to
become distracted, tired, or hungry during test administration.
4. Computing Intelligence Test Scores: a. Results for people at each age level form a
normal or bell-shaped curve, in which most scores fall near the center and progressively fewer
fall out toward the extremes. b. An intelligence quotient is a score that permits an child's
performance on an intelligence test to be compared to the performances of other children of the
same age.
5. Predicting Later Performance from Infant Tests: a. Although infant tests are carefully
constructed, they are poor predictors of later intelligence. b. In one study, the average IQ shift
between 2 and 17 years of age was as great as 28.5. points. c. Infant test scores are called
developmental quotients rather than lQs because they do not tap the same intelligence
dimensions measured at older ages. d. Infant test scores have somewhat better long-term
prediction for extremely low-scoring babies. e. The habituation-dishabituation response and
Piagetian object permanence tasks predict IQ more effectively than traditional infant measures.
C. Early Environment and Mental Development
1. The Home Environment: a. The Home Observation for Measurement of the
Environment is a checklist for gathering information about the quality of children's home lives
through observation and parental interviews. b. An organized, stimulating physical setting and
parental encouragement, involvement, and affection repeatedly predict infant and early
childhood IQ, regardless of SES and ethnic group. c. When parents are intrusive with questions
and instructions, infants and toddlers are likely to be distractible, show less mature forms of play,
and do poorly on mental tests.
2. Infant and Toddler Day Care: a. Today, over 60 percent of mothers with a child under
age 2 are employed. b. Quality of day care has an impact on children's mental development and
social skills. c. Developmentally appropriate practice is a set of standards that specify program
characteristics that meet the developmental and individual needs of young children of varying
ages, based on current research and consensus of experts. d. Day care in the U.S. is affected by a
macrosystem of individualistic values and weak government regulation and funding.
D. Early Intervention for At-Risk Infants and Toddlers
1. Studies indicate that children of poverty are likely to show gradual declines in
intelligence test
scores and to achieve poorly when they reach school age.
2. Interventions for infants and toddlers are either center- or home-based. The Carolina
Abecedarian Project is a center-based project that demonstrates the benefits of continuous, high-
quality enrichment from infancy through the preschool years.
3. The more intense the intervention, the greater the intellectual gains of participating
A. On average, children say their first word at around 12 months of age, with a range of 8 to 18
B. Between 1.5 and 2 years, toddlers combine two words; soon their utterances increase in length
and complexity.
C. Three Theories of Language Development
1. The Behaviorist Perspective: a. This perspective regards language development as
entirely due to environmental influences. b. Through operant conditioning, parents reinforce their
baby's sounds that most sound like words. c. Imitation combines with reinforcement to promote
language development.
2. The Nativist Perspective: a. This view assumes that children are born with a
biologically-based system-called the language acquisition device -for mastering language. b.
Chomsky maintained that the LAD contains a set of rules common to all languages; thus,
children speak in a rule-oriented way from the beginning. c. Children all over the world tend to
master language milestones in a similar sequence- evidence that fits with Chomsky's ideas. d.
Can Great Apes Acquire Language? a) Findings reveal that the ability of chimps to acquire a
humanlike language system is limited. b) Even pygmy chimps, a highly intelligent species,
require several extra years of training to attain the basic grammar understood by human 2- and 3-
year-olds. e. Language Areas in the Brain a) Humans have evolved specialized regions in the
brain that support language skills. b) Broca's area, located in the frontal lobe, controls language
production. c) Wernicke's area, located in the temporal lobe, controls language comprehension. f.
Limitations of the Nativist Perspective 1) Researchers have had difficulty identifying the single
system of grammar believed to underlie all languages. 2) Research indicates that language
acquisition is not immediate but occurs in a steady and gradual manner.
3. The Interactionist Perspective: a. This view emphasizes that language achievements
emerge through the interaction of innate abilities and environmental influences. b. Native
capacity, a strong desire to interact with others, and a rich linguistic and social environment
contribute to budding a child's language capacities. c. A great deal of evidence supports the
interactionist position.
D. Getting Ready to Talk
1. Cooing and Babbling: a. Around 2 months, babies make vowel-like noises called
cooing. About 6 months, consonants combine with vowels and the baby begins babbling. b.
Babies must hear human speech for babbling to develop further. c. Adult-infant interaction
increases the amount of spoken language a baby is exposed to.
2. Becoming a Communicator: a. By 4 months, infants and adults follow each other's
gaze. The adults label what is seen. Experiencing this joint attention often speeds up language
development. b. Simple infant games such as pat-a-cake and peek-a-boo demonstrate
conversational turn-taking. c. At the end of the first year, infants use preverbal gestures to
influence the behavior of others.
E. First Words
1 . Children's first words usually refer to important people, objects that move, familiar
actions, or outcomes of familiar actions.
2. Underextension is a vocabulary error in which a word is applied to a smaller number of
objects and events than is appropriate.
3. In contrast, overextension occurs when a word is applied to a wider collection of
objects and events than is appropriate.
F. The Two-Word Utterance Phase
1 Vocabularies slowly build from age 12 to 18 months. However, between 18 and 24
months, children may add from 10 to 20 new words a week.
2. Telegraphic speech is the two-word utterance phase of toddlers which leaves out
smaller and less important words.
G. Comprehension versus Production
1 . Production is the words and word combinations that children use.
2. Comprehension is the language that children understand.
3. At all ages, comprehension develops ahead of production. Comprehension only
necessitates recognition of word meaning, whereas production requires active recall of the word
and its meaning.
H. Individual and Cultural Differences in Early Language Development
1 . Many studies show that girls are ahead of boys in early vocabulary growth.
2. A referential style of early vocabulary learning is one in which toddlers mainly use
language to label objects.
3. An expressive style uses language mainly to talk about one's own feelings and needs
and those of other people.
4. Referential style vocabularies grow faster than expressive styles because languages
contain more object labels than social phrases.
5. A problem with language development may exist if a child is greatly delayed when
compared to language norms, if he does not follow simple directions, or if he has problems
putting thoughts into words.
I. Supporting Early Language Development
1 . When adults speak to infants and toddlers, they often use a form of language called
child-directed speech that consists of short sentences with high-pitched, exaggerated expression
and very clear pronunciation.
2. From birth on, children prefer to listen to CDS, and the use of CDS supports early
language development.
3. Make-believe play, reading to toddlers, and conversational give-and-take between
toddlers and adults all support early language learning.
4. CDS is an example of how the zone of proximal development operates.
Shared By: | http://www.docstoc.com/docs/106366729/COGNITIVE-DEVELOPMENT-IN-INFANCY-AND-TODDLERHOOD-I | dclm-gs1-051300000 |
0.137347 | <urn:uuid:eb198673-bfef-4f84-ba6d-1ed0c0718f61> | en | 0.873867 | Search problems
Document Sample
Search problems Powered By Docstoc
Learning 3: Bayesian Networks Reinforcement Learning Genetic Algorithms
based on material from Ray Mooney, Daphne Koller, Kevin Murphy
Teams: 2-3 Two components:
Agent/World Program Learning Agent
Agent/World Program
Implements a function State x Action -> Reward State x Action -> State‟ Representation:
State – 8 bits may think of this as 8 binary features, 4 features with 4 possible values, etc. Action – 4 possible actions Reward – integer range from -10…10
Example: Boring_Agent
State: mood: happy, sad, mad, bored physical: hungry, sleepy personality: optimist, pessimist Action: smile, hit, tell-joke, tickle State x Action -> Reward: s x a -> 0 State x Action -> State s x a -> bored = T, all others same as s
Example: Agent_with_Personality
State: mood: happy, sad, mad, bored physical: hungry, sleepy personality: optimist, pessimist Action: smile, hit, tell-joke, tickle State x Action -> Reward: mood = ? x physical <> sleepy, smile -> 5 mood = ? x physical <> sleepy, tell-joke -> 10 w/ prob. .8, -10 w/ prob. .2 etc. State x Action -> State s x a -> mood = happy if reward is positive s x a -> mood = mad if action is hit etc.
Example: Robot Navigation
State: location Action: forward, back, left, right State x Action -> Reward: define rewards of states in your grid State x Action -> State defined by movements
Learning Agent
Calls Agent Program to get a training set Learns a function Calls Agent Program to get an evaluation set Computes Optimal set of actions Calls Agent Program to evaluate the set of actions
Thursday, Dec. 4 In class, hand in a 1 page description of your agent, and some notes on your learning approach Friday, Dec. 5 Electronically submit your agent/world program Thursday, Dec. 12 Submit your learning agent
Learning, cont.
Learning Bayesian networks
Data + Prior information
E B P(A | E,B) e b .9 e b .7 e b .8
.1 .3 .2
e b .99 .01
we won‟t cover in this class…
Naïve Bayes
aka Idiot Bayes particularly simple BN makes overly strong independence assumptions but works surprisingly well in practice…
Bayesian Diagnosis
suppose we want to make a diagnosis D and there are n possible mutually exclusive diagnosis d1, …, dn suppose there are m boolean symptoms, E1, …, Em
P(di | e1 ,..., em )
P(di )P(e1 ,..., e m | di ) P(e1 ,..., e m )
how do we make diagnosis? we need: P(di )
P(e1 ,..., em | di )
Naïve Bayes Assumption
Assume each piece of evidence (symptom) is independent give the diagnosis then
P(e1 ,..., em | di )
P (e
k 1
| di )
what is the structure of the corresponding BN?
Naïve Bayes Example
possible diagnosis: Allergy, Cold and OK possible symptoms: Sneeze, Cough and Fever
Well P(d) P(sneeze|d) P(cough|d) P(fever|d) 0.9 0.1 0.1 0.01 Cold 0.05 0.9 0.8 0.7 Allergy 0.05 0.9 0.7 0.4
my symptoms are: sneeze & cough, what is the diagnosis?
Learning the Probabilities
aka parameter estimation we need
P(di) – prior P(ek|di) – conditional probability
use training data to estimate
Maximum Likelihood Estimate (MLE)
use frequencies in training set to estimate:
ni p(di ) N
nik p(e k | di ) ni
where nx is shorthand for the counts of events in training set
D Sneeze
what is: P(Allergy)? P(Sneeze| Allergy)? P(Cough| Allergy)?
Cough Fever
Well Allergy Allergy Cold Allergy
yes yes yes yes yes
no no no yes no
no yes no yes no
Well Allergy Allergy
no no yes
no no no
no no no
Laplace Estimate (smoothing)
use smoothing to eliminate zeros:
ni 1 p(di ) Nn
nik 1 p(e k | di ) ni 2
where n is number of possible values for d and e is assumed to have 2 possible values many other smoothing schemes…
Generally works well despite blanket assumption of independence Experiments show competitive with decision trees on some well known test sets (UCI) handles noisy data
Learning more complex Bayesian networks
Two subproblems: learning structure: combinatorial search over space of networks learning parameters values: easy if all of the variables are observed in the training set; harder if there are „hidden variables‟
Aka „unsupervised‟ learning Find natural partitions of the data
Reinforcement Learning
supervised learning is simplest and best-studied type of learning another type of learning tasks is learning behaviors when we don‟t have a teacher to tell us how the agent has a task to perform; it takes some actions in the world; at some later point gets feedback telling it how well it did on performing task the agent performs the same task over and over again it gets carrots for good behavior and sticks for bad behavior called reinforcement learning because the agent gets positive reinforcement for tasks done well and negative reinforcement for tasks done poorly
Reinforcement Learning
Reinforcement Learning
for blackjack for robot motion for controller
we have a state space S we have a set of actions a1, …, ak we want to learn which action to take at every state in the space At the end of a trial, we get some reward, positive or negative want the agent to learn how to behave in the example: Alvinn environment, a mapping from states to actions state: configuration of the car learn a steering action for each state
Reactive Agent Algorithm
Accessible or Repeat: observable state s sensed state If s is terminal then exit a choose action (given s) Perform a
Policy (Reactive/Closed-Loop Strategy)
3 2 1 1 2 3 4 +1 -1
• A policy P is a complete mapping from states to actions
Reactive Agent Algorithm
Repeat: s sensed state If s is terminal then exit a P(s) Perform a
learn policy directly– function mapping from states to actions learn utility values for states, the value function
Value Function
An agent knows what state it is in and it has a number of actions it can perform in each state. Initially it doesn't know the value of any of the states. If the outcome of performing an action at a state is deterministic then the agent can update the utility value U() of a state whenever it makes a transition from one state to another (by taking what it believes to be the best possible action and thus maximizing): U(oldstate) = reward + U(newstate) The agent learns the utility values of states as it works its way through the state space.
The agent may occasionally choose to explore suboptimal moves in the hopes of finding better outcomes. Only by visiting all the states frequently enough can we guarantee learning the true values of all the states. A discount factor is often introduced to prevent utility values from diverging and to promote the use of shorter (more efficient) sequences of actions to attain rewards. The update equation using a discount factor gamma is: U(oldstate) = reward + gamma * U(newstate) Normally gamma is set between 0 and 1.
augments value iteration by maintaining a utility value Q(s,a) for every action at every state. utility of a state U(s) or Q(s) is simply the maximum Q value over all the possible actions at that state.
foreach state s foreach action a Q(s,a)=0 s=currentstate do forever a = select an action do action a r = reward from doing a t = resulting state from doing a Q(s,a) += alpha * (r + gamma * (Q(t)-Q(s,a)) s=t Notice that a learning coefficient, alpha, has been introduced into the update equation. Normally alpha is set to a small positive constant less than 1.
Selecting an Action
simply choose action with highest expected utility? problem: action has two effects
gains reward on current sequence stuck in a rut information received and used in learning for future sequences
trade-off immediate good for long-term well-being
jumping off a cliff just because you‟ve never done it before…
Exploration policy
wacky approach: act randomly in hopes of eventually exploring entire environment greedy approach: act to maximize utility using current estimate need to find some balance: act more wacky when agent has little idea of environment and more greedy when the model is close to correct example: one-armed bandits…
RL Summary
active area of research both in OR and AI several more sophisticated algorithms that we have not discussed applicable to game-playing, robot controllers, others
Genetic Algorithms
use evolution analogy to search for „successful‟ individuals individuals may be policy (like RL), a computer program (in this case called genetic programming), a decision tree, a neural net, etc. success is measured in terms of fitness function. start with a pool of individuals and use selection and reproduction to evolve the pool
Basic Algorithm
[Start] Generate random population of n individuals (suitable solutions for the problem) [Fitness] Evaluate the fitness f(x) of each individual [New population] Create a new population by repeating following steps until the new population is complete [Selection] Select two parents from a population according to their fitness (the better fitness, the bigger chance to be selected) [Crossover] With a crossover probability cross over the parents to form a new offspring (children). If no crossover was performed, offspring is an exact copy of parents. [Mutation] With a mutation probability mutate new offspring at each locus (position in chromosome). [Accepting] Place new offspring in a new population [Loop] Go to step 2
GA Issues
what is fitness function? how is an individual represented? how are individuals selected? how do individuals reproduce?
GA summary
easy to apply to a wide range of problems results good on some problems and not so hot on others
“neural networks are the second best way of doing just about anything… and genetic algorithms are the third”
Shared By: | http://www.docstoc.com/docs/13697694/Search-problems | dclm-gs1-051310000 |
0.041521 | <urn:uuid:5018faf5-0a0a-475b-9297-bcdf0a7d4199> | en | 0.867949 | M A N H U N T
Manhunt Bonus Missions FAQ/Walkthrough
For the Playstation 2 video game console
This FAQ is copyright Nick Fuentes
Email any questions/comments to [email protected]
Version 5.73
I N D E X
3..........Unlocking Bonus Features
4..........Unlocking Codes
5..........Bonus mission unlocking
6..........Hard As Nails
7..........Brawl Game
8..........Monkey See Monkey Die
9..........Time 2 Die
11.........High Scores
C O P Y R I G H T
This FAQ is Property of Nick Fuentes a.k.a Urban Legend, you can use this FAQ
for your own individual use, but do not copy and distribute this FAQ to anyone.
Also this FAQ is to be shown exclusivly at www.GameFaqs.com and
www.NeoSeeker.com if seen on any other site it has been ripped off and I would
like you to contact me. If you have any questions, please feel free to Email
me at any time.
C O N T R O L S
Button Control
X..........................Light attack, Fire weapon, Throw lure, Execute, Tap
Square............................Strong attack, Reload weapon, Execute
Right analog stick..............Free look, L/R switch targets while holding L1
R3.............................Look behind, Free look while targeting
U N L O C K I N G B O N U S F E A T U R E S
There are 20 bonus panels of artwork to unlock at the Bonus Feature screen.
One for each mission. To unlock the artwork for that particular mission you
have to get 3 stars on either Fetish or Hardcore difficulty.
And when you get 3 stars for that mission a panel of artwork is revealed, there
are many pictures some of which include, Concept art, Head shots, and
descriptions of some of the gangs.
U N L O C K I N G C O D E S
In order to unlock a code you must first achieve five stars on 2 certain
missions. For example to unlock Unlimited Stamina you have to beat Born Again,
and Doorway Into Hell with both 5 star ratings. Born Again gives you the first
part of the code, and Doorway Into Hell gives you the second part. So if you
beat Born Again level with a 5 star ranking, and you click on the art, at the
bottom of the screen should be half of the code.(about 4 buttons)
*Note, you cannot save your game while cheats are activated, if you do have
cheats on you must first play a mini-game and die for the cheat to be
U N L O C K I N G B O N U S M I S S I O N S
To unlock a bonus "Mini Game" you have to get 5 star rankings in 5 consecutive
levels. There are 4 mini games, there for there is 20 levels. This is a list of
which scenes unlock which missions.
Bonus mission unlocked Obtain 3 stars in these missions
Hard As Nails...........Born Again, Doorway Into Hell, Road To Ruin
White Trash, Fuelled By Hate
Brawl Game........Grounds For Assault,Strapped For Cash,View Of Innocence
Drunk Driving, Graveyard Shift
Monkey See Monkey Die......Doing Time, Mouth Of Madness, Kill The Rabbit
Divided They Fall, Press Coverage
Time 2 Die...............Wrong Side Of The Tracks, Trained To Kill
Border Portrol, Key Personnel, Deliverance
H A R D A S N A I L S
Hard As Nails is unlocked after you complete the first 5 missions with a 3
star ranking.
- Born Again
- Doorway Into Hell
- Road To Ruin
- White Trash
- Fuelled By Hate
The objective of this mini-game is to see how many hunters you can kill there
is a death counter at the top of the screen. There's no time limit and no
painkillers. You arsenil for this mission is a Nail gun and Baseball bat.
There are 3 places that the boxes of nails spawn.
- When you start 3 feet in front of you.
- In a back room next to gas cans.
- When you start head left up the stairs, and to the end of the ally.
You begin in a room with a big hole in the ceiling were the hunters fall out
of. After you clear all the hunters in first level more come down through the
hole, every level there's more and more hunters.
- Aim at the head to conserve your ammo
- Shoot the propane tanks when hunters are nearby.
*Additional strategy sent in by Zee.
- He has found a ' Sweet Spot ' in this level it's in the room to your right as
soon as you start,"In the corner of the two walls with door openings in them
and a single box turned diagonal there is a small area of shadow. This is the
center room. Standing in here, and behind the box, you are able to shoot as
many Hoods as come running". Thank you for that Zee.
B R A W L G A M E
Brawl Game is unlocked after you complete the following missions with a 3 star
-Grounds For Assault
-Strapped For Cash
-View Of Innocence
-Drunk Driving
-Graveyard Shift
Brawl Game, the objective of this mini-game is to see how long you could
survive in the basketball court of the Born Again level. There's 3 gangs The
Hoods, Innocentz, and the Skinz. They will fight each other as well as you but
occasionly they will double team you. There is a death counter at the top of
the screen.The highest I've managed to get was 33.
This mini-game is probally one of the toughest there are no painkillers until
you achieve at least 10 kills, it's just hand-to-hand combat. So, as soon as
you begin run straight ahead and pick up the glass shard to help you inflict a
little more damage, after that, run around until the gangs begin to clash,
there will always be one guy on your tail, but sometimes there will be 2 guys
fighting you, when that happens RUN. After you kill one gang member another
will respawn at the top and jump down and start to fight. Always try for the
for the strong attack (square), and also the grapple (X+square) to help you do
more damage.
- You can perform 1 execution wiht the glass shard.
- A glass shard re-spawns every 8 kills.
- Painkillers spawn every 10 kills. (Thanks to Kosta666)
M O N K E Y S E E M O N K E Y D I E
Monkey See Monkey Die becomes unlocked after you complete the following with a
3 star ranking
-Mouth Of Madness
-Doing Time
-Kill The Rabbit
-Divided They Fall
-Press Coverage
Monkey See Monkey Die, this is probably the toughest bonus mission, just
imagine it 35 crazy looking monkeys running around with Sawn-off Shotguns.
They are actually hunters dressed in monkey suits making monkey noises, but
when you shoot one,the human groans come out.
The objective of this bonus mission is to work your way out of the zoo alive.
There are painkillers all around, but you will need them because these monkeys
are tough. There are a few weapons in this level, Machete, Sawn Off Shotgun,
and the Shotgun but I suggest staying with the Sawn-off shotgun until you are
able to swap it out with the Shotgun.
You begin with the Sawn-off shotgun, as soon as you begin 3 monkeys rush down,
duck behind the planter and take out the monkey up on the ledge first, and then
the other 2 that are hiding behind the planter.
Pick up they're ammo and continue up, there's a monkey to your right you could
either: rush him and maybe take a shot, or run to the crate in the corner(now
the monkey is on your left)and shoot him. Once you kill him get his ammo and go
towards the locker door, but right before the locker door there's a burning
trashcan stand next to that and you should see a monkeys cap his ass.
Then Proceed and bust the lock off the door, enter the room this is where the
first PAINKILLERS is but before you get this strafe against the wall toward the
window, you should hear a gun shot and then the window shatter. Pop out and
kill the 2 monkeys that are behind the planters. Take the painkillers if you
need it at this point. *Remember there's no time limit you can come back later.
After this 2 machete weilding monkeys should come charging the room blast them
away. Continue foward and make a left duck behind the planter and take out the
monkey, and continue around the corner, run to the next crate and theres a
monkey on the other side shoot him and continue on.*Remember to be picking up
the ammo. At this point this first building should be done exit through the
sharks mouth.
When you exit the sharks mouth there's PAINKILLERS to the left only pick them
up if your below half health. Go foward and another 2 monkeys with machetes
should be charging you quickly shoot them, and hurry to the planter on the left
duck behind it take out the monkey just on the other side, stay there and shoot
the monkey by the soda machine, head to the planter next to the soda machine
there should be another monkey ahead so be careful.
Continue foward there's a monkey to your left shoot him through the shrubs, go
up the board and make a left but to your right there is some painkillers,
continue foward a monkey should run around the corner and try to cut you, blast
his head off. Make a right and run up on the monkey thats behind the planter
and shoot him. Follow the path and to the left through the bushes should be
another monkey shoot him through the bushes. Continue towards the blue buildind
there's 2 monkeys guarding the entrance run up to the monkey thats by the
triangle planter shoot him, duck behind the planter and pop his buddy.
Before you enter the blue building find the shotgun shells next to the dumpster
and the PAINKILLERS next to the door. Go to the door step back a few feet and
to the left, shoot the lock off a monkey will jump out with a machete shoot him
in the head. Go to the dome and pick the the dead hunters Shotgun. Exit the
blue building and take cover at the triangle planter shoot the monkey that you
see in front of you, after that run to the planter that he was at this point
look through the bushes to see another monkey kill him.
There's 2 monkeys in the cage that are expecting you from the direction of the
blue building. So go around to where you found the PAINKILLERS(look at 2nd
paragraph above this one) you should now be at the side of the monkey cage
shoot the monkey thats on the ground and there's another up on the big
platform. After you enter the cage go towards the big platform at this point
some more monkeys should come to attack you with machetes.
*Having fun yet? it's almost over.
Now exit through the open gate, now get this 4 monkey-men will run at you, they
all have machetes kill them one by one. Now run around till you get to the edge
of the wall there are 2 things you do here. Strafe along the wall and peek out
2-3 times and shoot him or Run around to the other side of the boxes and cap
him. Now enter the building, you may remember this building from 'Strapped For
Cash' were Cash rescues one of his family members. As you enter the building
strafe left and be adjacent with boards against the walls the a monkey in
between them, and then find the PAINKILLERS in this room. Now slowly work your
way to the exit a monkey will pop out, shoot him and continue along there's
another door way in which another monkey-man pops out shoot him and your home
free, just bust the pad-lock off the next door and your done.
-Remember where there are painkillers, you can always come back later
-Always try for a head shot to conserve ammo
-There's no time limit so take your time
T I M E 2 D I E
Time 2 Die is the last of the mini-games you unlock after completing the
following with a 3 star ranking.
-Wrong Side Of The Tracks
-Trained To Kill
-Border Control
-Key Personnel
The objective of this mini-game is to eliminate the Hoods. The tables have
turned your are now the hunter and they are the hunted. There's a 10 minute
timer to eliminate all 11 Hoods. They will hide in the shadows and most of the
time run away when they see you unless there is multiple Hoods nearby.
The method I will explain to you is the easiest and most fun, I will explain 3
places The Rooftops: 4 Hoods, The Warehouse: 3 Hoods, Alleys: 4 Hoods. Every
time you kill at the Hoods from the specified locations a message will appear.
Example: after you kill 3 Hoods in the Warehouse a message will appear telling
You will start here because the Hood with the crowbar is up here, and you need
the crowbar to get into the ware house, and once your in the warehouse you get
You start right next to the stairs that lead up to the rooftops, so go up the
stairs and break the glass, when you do this the Hood inside goes crazy, you
have 2 choices beat the crap out of him or stand in the shadows and lure him
back and execute him. Another Hood will enter the room after you execute the
first one. Either do Choice 1 or Choice 2. When you come across the Hunter on
the Rooftops with the crowbar take it. To jump from rooftop to rooftop just
sprint from one to the other. There's PAINKILLERS behind the billboards on the
last rooftop. Once you get the message that you have defeated all the Hoods on
the rooftops(and have the crowbar). We can go to the Warehouse.
Come here after you get the crowbar from the Hood on the rooftop. Find the
locked door to the warehouse.
Once you enter turn left and find the CHAINSAW and just mow down the 3 Hoods
that are inside. There are 3 PAINKILLERS in seperate corners of the warehouse.
Now go to the Alleys.
ALLEYS: 4 Hoods
This should be easy now since you have the Chainsaw run around Alleys and lure
out the 4 Hoods cut them up real good. After you kill all The Hoods the timer
stops and Starkweather shows you were the exit is. Find the exit and mission
- When you get the Chainsaw you don't have to be quite, make as much noise as
you want..... you have a Chainsaw!
Enter all these codes at the title screen.
Codes can only be used after you complete 2 consecutive scenes with a 5 star
ranking, this means the it Has to be on Hardcore difficulty. O = circle
EFFECT CODE SCENE
Infinate Stamina........R2,R2,L1,R2,left,right,left,right............ 1&2
* (You'll have unlimited stamina)
Silence.................R1,L1,R2,L1,right,left,left,left............. 3&4
* (You don't make any noise on the radar)
Regenerate..............R2,right,circle,R2,L2,down,circle,left....... 5&6
* (Your health slowly regenerates)
Helium Hunters..........R1,R1,Triangle,Circle,Square,L2,L1,Down...... 7&8
* (Hunters have high-pitched voice, and explode when you shoot them)
All Weapons.............R1,R2,L1,L2,Down,Up,Left,Up.................. 9&10
* (Your are equiped with all the weapons for that level)
Super Punch.............L1,Triangle,Triangle,Triangle,O,O,O,R1....... 11&12
* (Kills Hunters in one punch)
Rabbit Skin.............Left,R1,R1,Triangle,R1,R1,Square,L1.......... 13&14
* (Play as the Rabbit, from 'Kill The Rabbit')
Monkey Skin.............Square,Square,R2,Down,Triangle,Square,O,Down..15&16
* (Plays as the Monkey from 'Monkey See Monkey Die mini' game)
* (Hunters cant see you)
Piggsy Skin.............Up,Down,Left,Left,R1,R2,L1,L1.................19&20
* (Play as Piggsy from 'Deliverance')
God Mode.........Down,Down,O,Up,Square,Triangle,Square,R2,Up,Up,L1,Triangle
* (Cannot be hurt)
*God Mode only works if you've beaten the game on Fetish or Hardcore mode.
H I G H S C O R E S
This will be the High Scores section, I will post the top 5 score for each
mini-game. The only 2 mini-games in which you can actually have a high score
are Hard As Nails, and Brawl game.
Hard As Nails Brawl Game
1. 217 by Volvanga 1. 57 by Urban Legend
2. 206 by Zee 2. 31 by Shamalam
3. 121 by Urban Legend 3. 30 by Kosta666
4. 4.
5. 5.
If you have a High score you would like to share, feel free to E-mail me.
I would like to thank myself for writing this Faq and I would like everyone to
enjoy it, and may it help many Manhunt players. I would also like to thank
Rockstar Games for making this wonderful game and I my parents for letting me
get this game.
I would also like to thank these people that have sent in additional
* Zee for additional strategy on Hard As Nails.
* Kosta666 for additional tip on Brawl Game.
If you have any questions,comments, High scores or any additional strategies
please Email me at [email protected] | http://www.gamefaqs.com/pc/919465-manhunt/faqs/30982 | dclm-gs1-051500000 |
0.019516 | <urn:uuid:e58313dd-3faa-4baf-a9cd-97325d7399bf> | en | 0.874282 | Search Images Maps Play YouTube News Gmail Drive More »
Sign in
1. Advanced Patent Search
Publication numberUS3975496 A
Publication typeGrant
Application numberUS 05/512,579
Publication dateAug 17, 1976
Filing dateOct 7, 1974
Priority dateOct 10, 1973
Also published asDE2448220A1, DE2448220B2, DE2448220C3
Publication number05512579, 512579, US 3975496 A, US 3975496A, US-A-3975496, US3975496 A, US3975496A
InventorsEric Rothwell, Graham Smalley
Original AssigneeAllied Colloids Limited
Export CitationBiBTeX, EndNote, RefMan
External Links: USPTO, USPTO Assignment, Espacenet
Process for settling red mud in the digestion of bauxite
US 3975496 A
The invention provides novel water-soluble copolymers useful as flocculating agents, especially in flocculating the red mud formed during the Bayer process for the production of alumina from bauxite. The copolymers comprise anionic monomer units e.g. acrylic acid units in a mole percentage of less than 50% and acrylamide type units some of which are methylolated.
Previous page
Next page
What is claimed is:
1. In a process for the production of alumina from bauxite comprising the steps of digesting bauxite with aqueous sodium hydroxide to give a suspension of red mud in a solution of sodium aluminate, settling said red mud and processing the resultant supernatant sodium aluminate solution to obtain alumina, the improvement comprising settling said red mud by addition to said suspension of an effective amount of a water-soluble polymer having a molecular weight greater than 0.5 times 10.sup.6 and comprising the recurring monomer units: ##EQU1## in which R.sub.1, R.sub.2 and R.sub.3 are independently selected from the group consisting of hydrogen and methyl; R.sub.4 is selected from the group consisting of OH, OM and NHR.sub.5 SO.sub.3 M where M is a cation such that the polymer is water-soluble and R.sub.5 is --(CH.sub.2).sub.m where m is 1 to 6; and x, y, and z are the mole percentages of the indicated monomer units based on x + y + z = 100, x being 2 to 40 and y+z being 60 to 98.
2. The process of claim 1 wherein x is from 4 to 20.
3. The process of claim 2 wherein z is at least 20% of y + z.
Various synthetic polymers, including acrylamide polymers, are now widely used as flocculating agents. The choice of flocculating agent for any particular system depends inter alia, on the pH of the system. The purpose of the present invention is to provide improved flocculating agents for alkaline systems, for example in red mud flocculation.
During the Bayer process for the production of alumina from bauxite, in which the ore is digested at high temperature and pressure with an aqueous solution of sodium hydroxide, the aluminium content of the bauxite dissolves as sodium aluminate and insoluble impurities remain in suspension. The constitution of these impurities varies with the source of the ore and the conditions of the extraction. A typical bauxite ore analysis would be Al.sub.2 O.sub.3 53.10%, Fe.sub.2 O.sub.3 25.45%, SiO.sub.2 5.75%, TiO.sub.2 2.55% and unaccounted balance 13.15%, which frequently is assumed to be mainly water and some organic material. The impurities include iron oxides, sodium aluminosilicate and titanium oxide. These suspended impurities, which are commonly referred to as red mud because of their characteristic red-brown color and their finely divided state, usually constitute 30% to 50% by weight of the original ore.
For economical operation of the process it is essential that the red mud is settled rapidly, and to produce the required high grade of alumina the separation must be efficient giving overhead liquors of high clarity. Flocculating agents are therefore used to accelerate the settling process and to give good clarities, both factors being of great importance. It is known to use in the process natural products such as starch, synthetic polymers such as homopolymers of acrylic acid and methacrylic acid and their salts for example as described in U.S. Pat. No. 3,390,959, and combinations of starch and polyelectrolyte, as described in French Pat. Nos. 1,470,568 and 1,563,430. Non-ionic polymers such as methylolated polyacrylamide have also been described in USSR Pat. No. 285,912.
Starch based flocculants however are usually required in large quantities and tend to give poor rates of settlement but good clarities. Furthermore the use of starch can lead to persistence of organic matter in the liquors and this can cause problems at later stages in the process such as the hydrolysis stage and liquor concentration stages. On the other hand the clarities obtained with anionic homopolymers are generally inferior to those obtained with starch although superior settling rates have been reported.
In general typical synthetic polymers of the prior art proposed for red mud or other alkaline systems are either nonionic or are anionic. If anionic they are produced from compositions containing at least 80% by weight of anionic monomer.
It is a fact that the very wide range of known polyacrylamide flocculants which find extensive use in other mineral processing operations are rather unsatisfactory in alkaline systems and in particular most fail completely to effect the sedimentation of red mud and hitherto only a few polymers of selected composition have been found to have any effect at all.
We have now found that a new class of polyacrylamide flocculants are useful in alkaline systems, especially in red mud flocculation, both with regard to settlement rate and supernatant clarity. The flocculants are water soluble copolymers comprising the recurring monomer units: ##STR1## and in which R.sub.1, R.sub.2 and R.sub.3 may be the same or different and represent H or CH.sub.3 ; R.sub.4 is OH, OM, or NHR.sub.5 SO.sub.3 M where M is a cation such that the polymer is water soluble, e.g. Na or K, and R.sub.5 is --(CH.sub.2)m.sup.- where m is 1 to 6. x, y and z are the mol % of the indicated monomeric units present in the polymer, x+y+z = 100. x is always less than 50 and this is in marked contrast to the most successful known polymers, since in these the mole % of cationic group has always been above 80.
The polymers of our invention are surprisingly effective and superior to the anionic flocculants of the prior art and the methylolated homopolymers of acrylamide as described in USSR Pat. No. 285,912.
The anionic monomer may be selected from a wide range of anionic monomers including acrylic acid, methacrylic acid and N-sulphohydrocarbon substituted acrylamides ##STR2## where R.sub.1, R.sub.5 and M are as defined above.
For achieving the optimum activity with respect to settlement rate and clarity, especially on red mud, we find that the following relationship should exist between x, y and z, that is the molar percentages of the anionic, amido, and hydroxymethylamido units respectively: x may be 2 to 40, preferably 4 to 20, and most preferably 6 to 15, while y + z = 100 - x, z preferably being at least 20% of y + z, for example 20 to 90%. For example z is often above 20 and is often not above 80.
The copolymer may also include a small amount, e.g. up to 10 mole % based on x+y+z, of other copolymerisable monomers.
The copolymers may be made by any convenient method, for example by methylolation of an acrylamide polymer, for example a copolymer of acrylamide and the required anionic monomer in the desired proportions and of the desired molecular weight for the final polymer.
The requirements of any particular flocculation process, e.g. any particular red mud substrate and plant conditions determines the order of molecular weight of the polymer. If the greater emphasis is upon settlement rate or the substrate is particularly diffiult to settle high molecular weight polymers are preferable, for example 5 to 15 substrate is particularly difficult to clarify lower molecular weight polymers are preferable, for example 0.5 10.sup.6. It is possible to achieve a good overall performance by the use of a blend of terpolymers of high and low average molecular weight. In any case we find that the molecular weight of the polymer should be greater than 0.5
The products of the invention have been found to be particularly effective as flocculating agents in highly alkaline systems where polyacrylamides of the prior art are relatively ineffective. They are particularly effective in the flocculation of red mud, and for assessment of the performance of the various products the following test method was adopted.
Final washed mud from an alumina plant operating the Bayer process was dispersed in water using a high speed mixer. Sodium hydroxide and sodium aluminate were added to adjust the liquor composition to that found under typical plant conditions, and the slurry was digested for 3 hours at 90
The washed mud from the plant had the following characteristics:Suspended solids 26% wt/wt.Specific gravity 1.186Solution pH 12.6
The reconstituted red mud slurry had the following typical composition:
Final washed mud 292 mls/lSodium hydroxide 60 g/lSodium aluminate 281 g/l
The performance of the products was then examined by dosing 250 ml. aliquots of the red mud slurry in 250 ml. measuring cylinders with dilutions of the products at a dosage level of 0.5 ppm product solids on volume of slurry. The settling rate of the flocculated mud suspension at 90 a 50 ml. sample of the supernatant liquor was carefully withdrawn and filtered through a preweighed glass-fibre filter paper. The sediment on the paper was washed with 2 paper with residue was dried at 210 weight of sediment relative to the total liquor. The settlement figures are expressed as percentage mud volume relative to total liquor, and the clarity figures are expressed as g/l.
A further advantage of the products of the invention is that unlike products of the prior art they may be prepared on site, and by minor variation of the reaction conditions the product performance can be controlled to compensate for the day to day variations which occur in the red mud characteristics, which normally cannot be adequately dealt with by the application of any single flocculating agent of the prior art.
A copolymer of acrylamide and sodium acrylate containing 60% by weight acrylamide and 40% by weight sodium acrylate and having a 1% solution viscosity in 3 molar sodium chloride solution of 88 cs. (Polymer A) was dissolved in water to give a 1% solution. Sodium hydroxide was added to adjust the pH of the solution to 10.0 and then formalin was added in an amount equimolar with the amide content of the solution. The reaction was allowed to continue for 24 hours at 40 referred to in Table 1 as Polymer B.
Reactions were similarly carried out on a copolymer containing 80% by weight acrylamide and 20% by weight sodium acrylate (Polymer C) with a 1% solution viscosity in 3 molar sodium chloride solution of 80 cs., to give Polymer D, and on a copolymer containing 90%, acrylamide and 10% sodium acrylate (Polymer E) with a 1% solution viscosity in 3 molar sodium chloride solution of 99 cs. to give Polymer F, and on polyacrylamide (Polymer G) with a 1% solution viscosity in 3 molar sodium chloride solution of 77 cs. to give Polymer H, a product of the prior art. The performance of these polymers was compared with Polymer I a sodium polyacrylate polymer of the prior art.
TABLE 1__________________________________________________________________________ Settling Rates SupernatantMole % Percentage mud volume vs. Clarity time(mins)PolymerMethylolated amide 10 mins. 20 mins. 30 mins. g/l__________________________________________________________________________A 0 93.6 81.6 68 0.278B 20 86.4 71.2 60 0.134C 0 94.4 80.8 72 0.238D 21 83.2 67.2 56 0.112E 0 NDML* 78 73 0.280F 26 88.8 64.8 55.2 0.038G 0 NDML NDML 72 0.334H 46 NDML 80.3 58.2 0.140I -- 86.4 69.6 62.4 0.088Noaddition-- 96.2 88.2 76 0.726__________________________________________________________________________ *NDML indicates no definite mud line had been formed at this time.
These results clearly show the improvement in both settlement rate and clarity obtained on methylolation of anionic copolymers. Also is demonstrated the superiority of product in the preferred range of compositions, Polymer F, over products of the prior art, Polymers H and I.
A 1% solution of polyacrylamide with a 1% solution viscosity in 3 molar brine of 77 cs. was caused to react with formaldehyde and various mole proportions of sodium bisulphite to give a range of products of different methylol and sulpho methylene content ( -- CH.sub.2 SO.sub.3 Na).
TABLE 2______________________________________Molar ratio of reactants Product analysisPolymer Amide Formal- Bisulphate Mole % Mole % dehyde Methylol Sulphome- thylene______________________________________J 1 1 1.5 6.5 29.0K 1 1 0.75 40.5 14.5L 1 1 0.25 80.0 5.0______________________________________
The products were tested in comparison with Polymers H and I of the prior art at the same dosage level of 0.5 ppm solids product on slurry and the results are given in Table 3.
TABLE 3______________________________________Settling RatesPercentage mud volume vs. time(mins) ClarityPolymer 10 mins. 20 mins. 30 mins. g/l______________________________________H 78.4 65.2 60.4 0.194I 77.6 58.8 55.4 0.164J 76.6 58.4 52.8 0.134K 79.2 60.0 54.6 0.108L 79.6 60.0 54.0 0.106Noaddition 94.0 88.8 80.0 0.698______________________________________
Thus it is clearly seen the compositions of the invention Polymers J and especially K and L are significantly better then compositions Polymers H and I of the prior art.
A 25% solution of sodium 2-acrylamide-2 methylpropanesulphonate was polymerised using 1 ppm Fe.sup.2.sup.+ and 50 ppm potassium persulphate as initiator to give Polymer M having a 1% solution viscosity of 12 cs. in 3 molar sodium chloride solution.
Similarly prepared was a copolymer Polymer N containing 90% acrylamide and 10% sodium 2-acrylamide-2-methyl propane sulphonate showing a 1% solution viscosity of 78 cs. in 3 molar sodium chloride solution.
A 1% solution of Polymer N in deionised water was reacted at pH 10 and 40 amide content of the solution to give Polymer O.
Polymers M, N, and O were tested in comparison with polymers I and J by the standard test procedure using a batch of slurry which was difficult to settle at a dosage level of 0.5 ppm solids product on slurry.
TABLE 4______________________________________Settling RatesPercentage mud volume vs.time (mins) ClarityPolymer 10 mins. 20 mins. 30 mins. g/l______________________________________M 96 85 75 0.40N 96 86 75 0.22O 95 83 73 0.14I 95 84 75 0.38J 94 82 71 0.12Noaddition 97 87 83 0.88______________________________________
Thus again it is seen that products of the invention Polymers O and J give significantly better results than products of the prior art Polymer I and other related products whose compositions fall outside the scope of the invention Polymers M and N.
Patent Citations
Cited PatentFiling datePublication dateApplicantTitle
US3575868 *Jun 6, 1968Apr 20, 1971Atlas Chem IndFlocculating agent comprising starch and polyacrylic acid
US3716617 *Apr 13, 1970Feb 13, 1973Sumitomo Chemical CoProcess for producing alumina
US3755531 *Aug 19, 1971Aug 28, 1973Kao CorpProcess for refining alumina
Non-Patent Citations
1 *Central Patents Index, Basic Abstracts Journal, Derwent Pub. Ltd., London, Nov. 19, 1971, Abstract 61030S (U.S.S.R. Pat. No. 285,912).
Referenced by
Citing PatentFiling datePublication dateApplicantTitle
US4075125 *Jul 9, 1976Feb 21, 1978Chiyoda Chemical Engineering & Construction Co., Ltd.Catalysts for hydrodemetallization of hydrocarbons containing metallic compounds as impurities
US4090955 *May 5, 1976May 23, 1978American Cyanamid CompanySelective flocculation of minerals from a mixture or an ore
US4274945 *Nov 7, 1979Jun 23, 1981American Cyanamid CompanyIron ore beneficiation by selective flocculation
US4282087 *May 21, 1979Aug 4, 1981American Cyanamid CompanySelective flocculation for iron values
US4289613 *Nov 19, 1979Sep 15, 1981American Cyanamid CompanyLow molecular weight hydrolyzed polymers or copolymers as depressants in mineral ore flotation
US4289752 *Nov 13, 1978Sep 15, 1981Societe Anonyme Dite: L'orealCosmetic compositions containing N-alkylacrylamide or N-alkylmethacrylamide based copolymers
US4478795 *Oct 18, 1982Oct 23, 1984Diamond Shamrock Chemicals CompanyAluminum trihydroxide deliquoring with anionic polymers
US4545902 *Sep 17, 1984Oct 8, 1985Nalco Chemical CompanyFlocculants for bauxite (red mud)
US4599390 *Sep 18, 1985Jul 8, 1986Union Carbide CorporationHigh molecular weight water-soluble polymers and flocculation method using same
US4767540 *Feb 11, 1987Aug 30, 1988American Cyanamid CompanyPolymers containing hydroxamic acid groups for reduction of suspended solids in bayer process streams
US4839060 *Oct 21, 1987Jun 13, 1989Suncor, Inc.Methylated starch compositions and their use as flocculating agents for mineral wastes, such as bauxite residues
US5008089 *Oct 13, 1989Apr 16, 1991Allied Colloids LimitedRecovery of alumina from bauxite
US5286391 *Feb 4, 1993Feb 15, 1994Nalco Chemical CompanyRed mud flocculation
US5346628 *Oct 29, 1993Sep 13, 1994Nalco Chemical CompanyPolymers for flocculating red mud from bayer process liquors
US5368745 *Sep 2, 1993Nov 29, 1994Cytec Technology Corp.Method of flocculating low metal oxide content solids in a liquid
US5653946 *Jul 14, 1994Aug 5, 1997S.N.F.Process for fluidifying aqueous suspensions of red muds in the production of alumina by the bayer process
US5716530 *Dec 13, 1996Feb 10, 1998Nalco Chemical CompanyBiopolymer use as a sand filter aid
US5837215 *Jul 18, 1997Nov 17, 1998Nalco Chemical CompanyMethod of removing insoluble materials from bayer process with fatty acid and fatty acid free polymer flocculants
US5853677 *Apr 18, 1997Dec 29, 1998Cytec Technology Corp.Concentration of solids by flocculating in the Bayer process
US5951955 *Nov 6, 1996Sep 14, 1999Cytec Technology Corp.Concentration of solids in the Bayer process
US6036869 *Dec 12, 1997Mar 14, 2000Nalco Chemical CompanyWater continuous methyl acrylate emulsion polymers for improved flocculation of red mud in the Bayer process
US6048463 *May 8, 1998Apr 11, 2000Nalco Chemical CompanyWater continuous methyl acrylate emulsion polymer combinations and methyl acrylate emulsion homopolymers for improved flocculation of red mud in the bayer process
US6086771 *Nov 30, 1998Jul 11, 2000Nalco Chemical CompanyWater continuous emulsion polymers for improving scale control in the bayer process
US6210585Mar 30, 2000Apr 3, 2001Nalco Chemical CompanyFatty acid free latex polymer flocculants
US8097167Jan 4, 2007Jan 17, 2012Basf SeConcentration of suspensions
US8350254 *Feb 12, 2008Jan 8, 2013Kyungsung University Industry Cooperation FoundationMultilayer polymer electroluminescent device comprising water-soluble polymer layer containing cations and method for fabricating the same
US8506822Dec 8, 2011Aug 13, 2013Basf SeConcentration of suspensions
US20100252821 *Feb 12, 2008Oct 7, 2010Dong Kyu ParkMultilayer polymer electroluminescent device comprising water-soluble polymer layer containing cations and method for fabricating the same
USRE31900 *Mar 16, 1983May 28, 1985American Cyanamid CompanyProcess for the flocculation of suspended solids
EP0314855A2Jan 14, 1988May 10, 1989American Cyanamid CompanyPolymers containing hydroxamic acid groups for reduction of suspended solids in bayer process streams
EP0352030A1 *Jul 14, 1989Jan 24, 1990Allied Colloids LimitedProcess for separating red mud in the recovery of alumina from bauxite
EP1368390A1 *Dec 19, 2001Dec 10, 2003Ondeo Nalco CompanyHigh molecular weight polymers containing pendant salicylic acid groups
WO2013060700A1Oct 24, 2012May 2, 2013Basf SeConcentration of suspensions
WO2014019993A1Jul 29, 2013Feb 6, 2014Basf SeConcentration of suspensions
U.S. Classification423/122, 526/287, 526/304, 210/734, 525/385, 526/240, 423/131, 525/329.4, 209/5, 525/154, 423/121
International ClassificationC02F1/54, C01F7/06, B03D1/016, C08F220/58, C08F220/56, C08F220/04
Cooperative ClassificationC08F220/58, B03D1/016, C08F220/56, C08F220/04, C01F7/0653, C02F1/54
European ClassificationC08F220/58, C02F1/54, C01F7/06G2, C08F220/56, B03D1/016, C08F220/04
Legal Events
Jul 22, 1994ASAssignment
Effective date: 19940421
Jun 9, 1994ASAssignment
Effective date: 19940421
Jun 8, 1994ASAssignment
Effective date: 19940421 | http://www.google.com/patents/US3975496?ie=ISO-8859-1 | dclm-gs1-051560000 |
Subsets and Splits