text
string | is_toxic
int64 | lang
string |
---|---|---|
Ah excuse me Buttski, but I am neither a fake or true "mainland haole." Neither am I an idiot. You made such a racist remark. Are you from Hawaii? | 1 | en |
It appears that you are generalizing a single instance of bad taste to a whole segment of our population, namely, liberals. So, do you think I pointed a stage gun at a person posing as Trump? Do you think a single instance of a poor choice by minors in a high school play tars every liberal?
In fact, the majority of my teachers were politically and socially conservative. Maybe times have changed, but I know several high school teachers who are very conservative, both socially and politically.
You are truly a curmudgeon, Motley. I'm certain you know it. I have nothing against curmudgeons, but I have decided not to become one in my old age. What's the benefit? | 0 | en |
Ideally, one of Ms. Schurtz's colleagues would have taken her aside early in the party and clued her in. Her students couldn't do this for obvious reasons. Someone must have had a dagger in his hand to photograph her and release the photo to the public. What a hive of jealousy that department must be! Nevertheless, it boggles the mind that someone in her position, with her apparent erudition, would not think thrice and then choose another costume for her private party. What was she thinking? | 0 | en |
::::Please help us all focus on the proposed content and relevant content policy and content guidelines here in this RfC threaded discussion on an article talk page. Your one-on-one comments to a colleague and comments on editor behavior are off topic here in this RfC threaded discussion on an article talk page. This RfC has been and will continue to be publicized in conformance with WP:RFC and WP:Discussion notices. This RfC will have an administrative close after 30 days, that is, 6 August 2015. Thank you in advance for your cooperation. | 0 | en |
From the original post - a point you seem to be ignoring ...
"Though this particular incident seems to have risen above an inappropriate suggestion to outright assault ..." No where is there any attempt to justify the action by Spacey ... but ...
Rant on! | 0 | en |
Idiopathic calcinosis of scrotum.
A case of idiopathic calcinosis of the scrotum is presented. Clinical recognition is easy if one keeps in mind such a disease in differential diagnosis of scrotal lesions. The serum levels of parathyroid hormone, calcitonin, calcium ion, and 25-OH vitamin D were normal. Multiple nodules were removed successfully, and the cosmetic result was excellent. | 1 | en |
Police brutality against African Americans.
However...it's obviously more than that now after the President yesterday called the kneeling players "sons of b%tches". And that after he qualified some Nazi's as "very fine people".
So....yeah. | 1 | en |
There was absolutely no reason for these violent leftist's to even be there, other than to cause a violent confrontation!
But this is the pattern of the violent wacko left. Look for any and every opportunity to cause violence and then blame everyone else for the violence!
These lefties are nothing but criminal groups and should be treated as such. | 0 | en |
The NDP and labour leaders are absolutely correct in their statements that using private partners will increase the costs. Private companies only work and invest for profits. Governments, on the other hand, don't need to profit from infrastructure projects since they use taxpayers' money. So obviously they can do any job cheaper. | 0 | en |
Well not entirely a fair system. Think about it if you were a professional that spent years in school, work 7 days a week killing yourself and burning your self out how long do expect to e working till the light bulb breaks. Lots of professionals and very hard working people over work and when they get sick and can no longer work, all that contribution means nothing for them. They are left out in the cold asking for scraps because instead of being able to keep and save some of that money for their old age, you end up poor because you work too hard and got taxed too much and now have to rely of the scraps that might be thrown your way.
These is the system we have, a social system that have become unfair for the hard working individuals, those that work so hard till they golden years and now hoping for scraps.....while the politician party with their billionair friend and sell all crown corporation that we have previousely paid for to make our lives better.... | 0 | en |
Smear? Of what, and whom? | 0 | en |
I never argued that Gingrich shouldn't be accepted as ambassador to the Vatican; I merely pointed out the relentless hypocrisy of those who support her and opposed Stefani -- about whom you clearly knew nothing.
I love Pope Francis -- but I don't always agree with him.
I love the church -- but I certainly don't always agree with it.
I've been unwell this week and I'm not going to reengage on this or anything else for a few days. | 0 | en |
You like the long weekends because you get to play with that toy you got for Christmas a few years back, unless you have worn it out by now. | 0 | en |
25px Bem-vindo(a) à Wikipédia. Todas as pessoas são encorajadas a fazer contribuições construtivas na Wikipédia. No entanto, uma das edições que fez recentemente no artigo A Viagem (1994) não parece ser construtiva e teve de ser revertida. Por favor, use a página de testes para fazer testes de edição à vontade sem danificar a Wikipédia. Se você pensa que me equivoquei, ou tiver quaisquer dúvidas, pode deixar uma mensagem para mim em minha página de discussão. Obrigado. Mjunii (discussão) | 0 | pt |
Pointless. I’ve finally given up on Mudiay. At best, he’s a backup point guard. A real lesson for Nugget draft gurus. Start drafting players from large, successful college programs. Yes, they got lucky with Jokic but Devin Booker would have looked nice in a Nugget uniform.
Murray is not a point guard. His best role is as the sixth man and points of the bench.
Deal for Bledsoe. Many people criticize Faried but when he’s out, the Nuggets rebounding suffers mightily. Failure to obtain a rim protector and shot blocker will continue to haunt the Nuggets. | 0 | en |
Huashi, Beijing
Huashi (), colloquially known as Huarshi and literally the "Flower Market", is a predominantly residential neighborhood to the south of Chongwenmen and Dongbianmen in Dongcheng District, Beijing. Huashi was known during imperial times for its markets for fresh and handmade flowers and was for centuries, one of Beijing's notable Hui Muslim quarters.
Location and administration
Location
Huashi is located southeast of Chongwenmen inside the Second Ring Road in central Beijing. The neighborhood is bound by the Ming City Wall Relics Park to the north, by Chongwenmen Outer Street to the west, by the Second Ring Road and Beijing-Shanhaiguan Railway to the east and by Guangqumen Inner Street to the south.
Huashi Street, the historic main street of the neighborhood, runs the length of the neighborhood () from west to east. The neighborhood is divided into East Huashi and West Huashi by Huashi North and South Street. The intersection at Xiaoshikou, or the Little Market Intersection, marks the heart of neighborhood.
Administration
East Huashi, which accounts for two-thirds of the neighborhood, is governed by the East Huashi Subdistrict. West Huashi, the western third of the neighborhood, which contains the Glory Mall, is administered by the Chongwenmen Outer Subdistrict, whose jurisdiction includes other malls south of Chongwenmen. In all, the Huashi neighborhood contains 14 residential communities.
West Huashi
West Huashi is home to nine of the 12 residential communities in the Chongwen Outer Subdistrict:
Chongwenmen East Street
West Huashi Nanli East
West Huashi Nanli West
West Huashi Nanli South
Xinjing Estate
Guoruicheng West
Guoruicheng Central
Guoruicheng South
East Huashi
East Huashi is home to five of the eight residential communities in the East Huashi Subdistrict:
East Huashi Beili West
East Huashi Beili East
Huashi Zaoyuan
East Huashi Nanli
East Huashi Nanli East
History
In the Yuan Dynasty, the vicinity of what is now Huashi was a scenic area of lush meadows and gardens just outside the city of Dadu. In 1422, an imperial lumber shop called the Sacred Wood Factory opened to process logs shipped from Sichuan to build palaces of the Ming Dynasty. In 1553, when the neighborhood was enclosed by the outer city wall, there were already 322 shops in the area.
By the mid-Qing Dynasty, Huashi was teeming with craftshops, especially those making artificial flowers. Handmade flowers from cloth and silk were popular adornment for ladies' head dress and fashion. Locally made flowers were sold to nationally and won a gold prize at the Panama–Pacific International Exposition of 1915. In addition to artificial flowers, Huashi was also known for fresh cut flowers and tree sapplings.
Huashi was a religiously diverse neighborhood with the Buddhist Long'an Temple, Daoist Fire God, Kitchen God and Saturn Peach Temple, Huashi Mosque, and Huashi Methodist Church. The Saturn Peach Temple was razed in the 1950s. The Huashi Church, built in 1905 by the American Methodist Episcopal Mission, which also opened the Tongren Hospital and Huiwen Middle School, was converted into a depot in the 1950s and then became a pool hall before it was demolished in November 2004. The Kitchen God Temple became a school for Hui Muslim children in 1943. The Fire God and Long'an Temples, which were converted, respectively, into a library and a science center, have been preserved as historical landmarks. Only the Huashi Mosque remains an active house of worship.
Until the 1980s, Huashi was a traditional neighborhood with narrow lanes, courtyard homes and streets lined with small shops. The lanes running east-west were called tiao numbered while those running north-south were called hutongs. In the 1990s, much of the traditional residences in East Huashi were razed and replaced with mid-rise residential apartment buildings.
Baorunyuan (宝润苑), built on North Huashi Street in 1998, was one of the first luxury apartment high-rises in Beijing with duplex suites and underground parking. In 1999, Shantou-based developer Zhang Zhangsun built the upscale Fuguiyuan (富贵园) condominium complex in East Huashi, which became one of the top ten best-selling real estate projects in Beijing. He followed suit in West Huashi, with the vast Glory Mall and sprawling Glory City (国瑞城) condominiums in 2003. Other high-rise residential complexes in Huashi include Flower Market Zaoyuan (花市枣苑) and Xinjing Homeland (新景花园). By 2007 only a few historically significant traditional buildings remain standing amidst the forest of mid- and high-rise apartment towers in Huashi.
From 1950 to 2011, Huashi was part of Beijing's Chongwen District until Chongwen merged with Dongcheng District.
Neighborhood institutions
Huashi Mosque, at No. 30 Huashi Street near Xiaoshikou, is the spiritual home of the local Hui Muslim community. The mosque was founded in 1415 in the early Ming dynasty, possibly by Hui generals Chang Yuchun or Hu Dahai. The mosque compound occupies an area of , including a main hall of that can accommodate 1,000 worshippers. Among relics housed in the Huashi Mosque are gifts of calligraphy from the Kangxi, Yongzheng and Qianlong emperors of the Qing dynasty.
Long'an Temple at No. 1 Baiqiao Nanli, originally built in 1454, and rebuilt in 1609 and 1708, was one of the largest Chinese Buddhist temples in Beijing's outer city. Active worship at the temple ended in the late Qing dynasty. In 1952, the temple was converted to the Long'an Temple Primary School and in 1983 became a children's science center, now known as the Dongcheng District Chongwen Children's Technology Center. The temple complex, nearly , is a protected historical landmark. The temple grounds has stone steles, the oldest of which date to the reign of the Jingtai Emperor and two trees over 500 years old.
Tomb of Yuan Chonghuan at No. 52 East Huashi Diagonal Street, is a temple and tomb honoring the Ming dynasty general Yuan Chonghuan who repeatedly repelled Manchu invasions only to fall prey to a treacherous plot and was executed by the Chongzhen Emperor as a traitor. He was secretly buried on the grounds in 1630 and was rehabilitated by the Qianlong Emperor in the 18th century. The tomb was renovated in 1952 at the direction of Mao Zedong, ransacked during the Cultural Revolution, and restored in 1992.
Daoist Fire God Temple, at No. 20 Huashi Street, was founded in 1568, and rebuilt in 1776. During the Qing Dynasty, the temple hosted weekly temple festivals.
Queen Mother's Saturn Peach Festival is a Daoist festival held during the third lunar month to celebrate the birthday of the Queen Mother of the West. The festival at Huashi was hosted by the Queen Mother's Saturn Peach Palace, a Daoist Temple, founded in 1662. Though the temple was destroyed in the 1950s, the festival continues to be held annually in the nearby Ming City Wall Relics Park.
Dongcheng District Hui Nationality Experimental Primary School at No. 235 Huashi Street, was founded in 1909 and originally based inside the Huashi Mosque. In 1941, renowned performers Ma Lianzhong and Hou Xirui raised funds to educate improverished Hui Muslim children in the neighborhood and in 1943, moved the school to the larger confines of the Kitchen God Temple (Duzaojun Temple), which was once the largest temple in Beijing dedicated to the Daoist deity, the Kitchen God. The temple's two iron lions still guard the entrance to the school.
During the Republican era, the three top ranking students of each semester were exempt from paying tuition. Students were taught Arabic beginning in the third grade and classical Chinese in the fifth grade. Students also had two days per week of English instructions. A martial artist at the Fire God Temple taught physical education. The green and white school building with Islamic architectural elements was built in 1989 and expanded in 2001. The school remains a key point school in Dongcheng District and has pupils of Hui, Han, Manchu, Tibetan, Miao and other nationalities.
Transportation
Huashi is accessible by subway and bus. Subway Lines 2, 5, and 7 run respectively along the neighborhood's northern, western and southern boundaries, and have stations at Chongwenmen (Lines 2 & 5), Ciqikou (Lines 5 & 7), and Guangqumennei (Line 7). Bus Route No. 12 plies a figure eight loop within the neighborhood. Bus Routes 8 and 525 also pass through Huashi. Bus Routes 25, 29, 39, 43, 44, 59, 674, 特2, 夜10, 夜19, 夜24, and 夜28 stop at Dongbianmen on the north edge of Huashi. Bus Routes 25, 39, 43, 623, 684, 685, 特7, 夜10, 夜24, and 夜28 stop at Huashi Intersection South, on the west edge of Huashi. In addition, Bus Routes 41, 60, 106, and 116 stop at Ciqi Intersection North, on the west edge of Huashi. Bus Routes 23, 57, 夜7, and 夜28 stop along Guangqumen Inner Street on the southern edge of Huashi.
References
External links
Chongwenmenwai Subdistrict Website
East Huashi Subdistrict Website
Category:Dongcheng District, Beijing
Category:Neighbourhoods of Beijing | 0 | en |
Most of us don't yell at each other when we're face to face, even when we disagree, so why do we do it online in the comments section? I'm glad to see there's a commenting service that's addressing this issue! | 0 | en |
Congrats to Kadri on his 100th and 20th for the season, this guy has come a long way under Babcock.
Glad Goudreau was okay, you hate to see anyone get hurt but that was a clean hard hit. | 0 | en |
As long as the US has nuclear weapons in South Korea there is no chance North Korea will abandon its nuclear weapon program. China might be the only power who could convince them otherwise. But they do not like US nuclear weapons right on their door step either. So unfortunately unless the US make a withdrawal there remains to be a stalemate. | 0 | en |
Sorry, but it's a known fact that men will take sex when they have an opportunity. Women who drink to excess are as culpable for their sexual exploits as if they were sober and stepped in front of a speeding car. In a perfect world, men wouldn't sexually abuse or violate an intoxicated woman, but we just aren't there. Once more: girls! Don't drink at parties!!! Have a soda! Drink water! Don't go!! | 0 | en |
ok um....zoe are u a human or a machine? cause i think u must be pretty sad (if ure a human) to sit infront of a computer all day checking for abuses in this website. I am not flaming you but i am jsut wonderin.....oh btw, how much do you get paid a month?? -_- | 0 | en |
One of the prime rationales behind the Electoral College was to help assure southern slave owners that the north would not become so dominant that it abolished slavery. Slavery is no more. Its time to get rid of this antiquated system that makes the vote of someone in Wyoming worth over 3-1/2 times the vote of someone in California. | 0 | en |
Mr Trudeau you made the right choice. | 0 | en |
I've been affected by "gun control". Can't buy standard capacity mags or deals which include them and subsequently am forced to buy smaller nonstandard mags. Which cost more!
Also you clearly have no understanding of the 2nd Amendment. Neither the framers intentions nor word usage of the day. | 0 | en |
Tell them hoes "I'm all friended out" | 1 | en |
Maddesini bir kaç günlüğüne koruma altına alabilimisiniz? 85.99.105.50 hergün eklediği spam linkinden usandım. Aynı şeyi İngilizce wiki de bir kere denedi admin Kohoikhoi müdahale etti bir daha yapamadı.Macukali | 0 | tr |
Chess verses checkers. It is amusing that few get the real intent of what just happened. Trump was able to obtain the arguments and objections to his plan to reduce the possibility of foreign fighters entering our country. He now can produce a document that nullifies both. It also gives the House and Senate ammunition to create another Court District which they can do legislatively and break up the 9th into 2 Districts. The new District will then need Judges appointed by who? Just a thought. | 0 | en |
Q:
Count fields with a where clause in SQL
is it possible to count fields where something?
I have following query:
SELECT * FROM
(SELECT messages.id as id,
messages.user_id,
messages.category_id,
messages.parent_id,
messages.message,
messages.create_date,
messages.update_date,
messages.status,
users.name as username,
users.id as userid,
users.email as useremail,
users.phone as userphone,
users.active as useractive,
users.role as userroel,
users.date as register_date
FROM `afo_messages` as messages
INNER JOIN `key_users` as users ON messages.user_id = users.id
WHERE messages.category_id=5 AND messages.parent_id=0
ORDER BY messages.id DESC LIMIT 30) ilv
ORDER BY id ASC
(Here is example of output: http://lab.mirgorod.us/res.pdf)
Is it possible to add one more column to this query: Count of messages that are childs (parent_id = id of parent message)?
A:
You can do it easily with sub query:
SELECT * FROM
(SELECT messages.id as id,
messages.user_id,
messages.category_id,
messages.parent_id,
messages.message,
messages.create_date,
messages.update_date,
messages.status,
users.name as username,
users.id as userid,
users.email as useremail,
users.phone as userphone,
users.active as useractive,
users.role as userroel,
users.date as register_date,
(SELECT COUNT(*) FROM afo_messages WHERE parent_id=messages.id) AS `sub messages`
FROM `afo_messages` as messages
INNER JOIN `key_users` as users ON messages.user_id = users.id
WHERE messages.category_id=5 AND messages.parent_id=0
ORDER BY messages.id DESC LIMIT 30) ilv
ORDER BY id ASC
| 0 | en |
I assume you're referring to Woodrow "America First" Wilson's ordering the "Punitive Expedition, U.S. Army" under General John J. "Blackjack" Pershing in from March 14, 1916, to February 7, 1917 to kill or capture Pancho Villa? | 0 | en |
Justin was raised by a father who was a closet communist....his admiration for Castro was unbridled....really, Justin had no chance. | 0 | en |
Your story took place in January, I am not sure if you realize it is November. Also a random table falling on a toddler is an extremely rare tragedy as opposed to idiot gun owners who fail to keep them safe from their kids which happens a lot more frequently than using them for what there intended purpose is. | 0 | en |
In 2009, Trump the private citizen irked FOX personalities by stating that bailing out the auto industry was a good move; saving the industry and thousands of jobs. In 2012, Trump railed against Obama for not negotiating a good deal for the bailout. As usual, he made false claims, this time about Chrysler moving its Jeep production to China. Point of fact, they were opening a plant in China to serve the Asian market and avoid tariffs. Now, Trump pretends the bailout never happened and that his election is rebuilding the auto industry. Two key traits of an autocrat are detachment from reality and craving mass adulation at any cost. Trump suffers from both. Obama received adulation, he did not seek to create it but his loyalists were blinded by the light and he turned out to be a Jimmy Carter intellectual with little concern or patience for good advice. | 0 | en |
I know. The movie line was about a kid who's parents were communist sleepers. That line, said over the phone, was to awaken them. | 0 | en |
If your life depends on the permanent fund...you have none | 0 | en |
"When that happens, Amazon may take one of several actions. It may block access to the competitor’s site, preventing customers from viewing comparable products from rivals. It might redirect the customer to Amazon’s own site or to other, Amazon-approved sites. It might notify an Amazon salesperson to approach the customer."
Or perhaps an Amazon bouncer will rough-up and eject the offending customer. | 0 | en |
60px|rightLütfen çok kısa içerikli maddeler oluşturmayınız; taslak kriterlerini sağlamadıkları için silineceklerdir. Yarattığınız maddelerin silinmesini önlemek için en az üç-beş cümleden oluşan ve maddenin ele aldığı konuyu nitelikli bir biçimde tanımlayan bir bilgi girişi yapmanız uygun olacaktır. Taslaklar hakkında daha fazla bilgiye Vikipedi:Taslak sayfasından ulaşabilirsiniz. Teşekkürler, iyi çalışmalar. 25pxSağlamcı | 0 | tr |
There is NO bill.
This was just a motion to proceed on coming up with a bill.
Every proposal the Republicans have put forth so far increases insurance costs for Alaskans. | 0 | en |
Archeos ¿∞? si je suis con, j ai le droit que ce ne sois pas affiché sur ma page. Et d accord pour les autres aussiArcheos ¿∞? | 1 | fr |
I hear they're going to rename the Liberal party. Now the Doobie Brother's party | 0 | en |
Q:
Programming Ruby Slot Machine Game
I'm trying to make a slot machine game in Ruby and this is as far as I've gotten. It still won't run and says there is an error on the last line, which I do not know what is or how to fix it.
I need it to have an output similar to this:
How much total money would you like to play with today? 25
Total cash: $ 25
How much would you like to bet? 10
Cherry - Orange - Orange
You have won $ 20
Would you like to continue? (yes to continue) yes
Total cash: $ 35
How much would you like to bet?
etc…
I've already got the winnings set on there, like if you get two, you win twice your bet and if you get three, you win three times your bet.
But I get the error: 33: syntax error, unexpected $end, expecting kEND cash += cash + winnings
What is wrong with my code, and how do I fix it?
def multiplier(s1, s2, s3)
if s1 == s2 and s2 == s3:
multiplier = 3
elsif s1 == s2 or s2 == s3 or s1 == s3:
multiplier = 2
else
multiplier = 0;
return multiplier
def main()
slotImageList = ['Cherry', 'Orange', 'Plum', 'Bell', 'Melon', 'Bar']
cash = gets
puts "How much total money would you like to play with today? " +cash
while True:
puts("Total cash: $", cash)
bet = gets
puts "How much would you like to bet? " +bet
cash = (cash - bet)
slotImage1 = slotImageList.sample
slotImage2 = slotImageList.sample
slotImage3 = slotImageList.sample
puts "slotImage1", " - ", "slotImage2", " - ", "slotImage3"
winnings = bet * multiplier(slotImage1, slotImage2, slotImage3)
puts "You have won $" +winnings
cash = cash + winnings
cont = gets
puts "Would you like to continue? (yes to continue) " +cont
if cont != "yes":
puts "You have ended with $" +cash
else
puts " "
end
A:
When you see the message:
unexpected $end, expecting kEND
you can translate it to, "I reached the end-of-file ("$end"), but I did not expect it, because I was still waiting to see an end statement." It means that you forgot to type at least one paired end, and you need to go through your code and ensure that it's indented properly so that you can visually match up the statements.
Below is the result of fixing your code to be correct.; in some spots you seemed to have used indentation to close a block (like Python) instead of the correct syntax.
def multiplier(s1, s2, s3)
if s1==s2 && s2==s3
3
elsif s1==s2 || s2==s3 || s1==s3
2
else
0
end
end
def run_slots!
slotImageList = %w[Cherry Orange Plum Bell Melon Bar]
print "How much total money would you like to play with today? "
cash = gets.chomp.to_i
loop do
puts "Total cash: $#{cash}"
print "How much would you like to bet? "
bet = gets.chomp.to_i
cash -= bet
slotImage1 = slotImageList.sample
slotImage2 = slotImageList.sample
slotImage3 = slotImageList.sample
puts "#{slotImage1} - #{slotImage2} - #{slotImage3}"
winnings = bet * multiplier(slotImage1, slotImage2, slotImage3)
puts "You have won $#{winnings}"
cash += winnings
print "Would you like to continue? (yes to continue) "
unless gets.chomp=="yes"
puts "You have ended with $#{cash}"
break
end
end
end
run_slots! if __FILE__==$0
If I were to take a few more liberties with it, here's how I might write it:
class SlotGame
SLOT_COUNT = 3
TOKENS = %w[Cherry Orange Plum Bell Melon Bar]
KEEP_PLAYING_RESPONSES = %w[y yes sure ok go]
def initialize(cash=nil)
unless cash
begin
print "How much total money would you like to play with today? "
cash = gets.to_i
puts "You must have a positive bank account to play!" if cash<=0
end until cash > 0
end
@cash = cash
end
def play_forever
begin
# Using begin/end ensures one turn will be played
# before asking the player if they want to go on
play_one_turn
end while @cash>0 && keep_playing?
puts "You have ended with $#{@cash}; goodbye!"
end
def play_one_turn
puts "Total cash: $#{@cash}"
begin
print "How much would you like to bet? "
bet = gets.to_i
puts "You only have $#{@cash}!" if bet > @cash
end until bet <= @cash
@cash -= bet
results = SLOT_COUNT.times.map{ TOKENS.sample }
puts results.join(' - ')
winnings = bet * multiplier(results)
if winnings>0
@cash += winnings
puts "You just won $#{winnings}!"
else
puts "Sorry, you're not a winner."
end
end
def keep_playing?
print "Would you like to continue? "
KEEP_PLAYING_RESPONSES.include?(gets.chomp.downcase)
end
private # Don't let anyone outside run our magic formula!
def multiplier(*tokens)
case tokens.flatten.uniq.length
when 1 then 3
when 2 then 2
else 0
end
end
end
SlotGame.new.play_forever if __FILE__==$0
| 0 | en |
Spending this kind of money sure beats spending $39 billion made by former U.S. Vice president Dick Cheney on the Iraq War for himself as chairman of Halliburton who had the contract for logistics on that adventure. | 0 | en |
From what you have said and especially from the article you refer to in The Economist it is clear, that "populism" is a very populist term, and everybody gives it a meaning that helps him or her to label, pigeonhole and selfrighteously dismiss people with opposing views. In other words, it has no permanent meaning, and it gains its momentary meaning from the context in which it is used to clobber an opponent over the head.
I can get that. But that Francis cannot get it when he decides to use it when addressing the heads of twenty eight states, that is very disturbing. | 0 | en |
Greetings..........it seems to me that the real players in this Trump administration will be Pence and Ryan! I'm calling out Ryan as a Ayn Rand devotee, and Pence as an ex Catholic turned right ringed Evangelical as not the two that need to lead a divided country ! Pence I'm sure will be like a Chaney to Trump....running the show behind the scenes in conference with Ryan! Very dark days ahead for not just Catholics ........but the whole world. | 0 | en |
I agree with you on the need to address the sad racial history in our country. One need only read these comment boards to see that it is more than a historical problem; racism is alive still. It's a stain on our country, and more needs to be done to remedy the matter, particularly with respect to African Americans.
One of the problems with affirmative action as practiced is that it is premised on the idea that we are not individuals, but rather mere representatives of of a racial group. Isn't that racist in and of itself?
It seems wrong to insist that a young person should be denied an opportunity based solely on his or her race, that just perpetuates the problem. We can't solve racism with more racism. And the comeback that every individual is not entitled to fairness because of their race, because of a privilege that may or may not exist for that person, is frankly morally bankrupt.
This is a profoundly complex issue, and cannot be reduced to two sides. | 0 | en |
Meet one of the hottest blondes who ever entered our studios: Diana Gold certainly does not live up to her name! First she will give you the chance to have a very intimate look at her young body so you can explore every crevice of it. Then, make way for her four (!) lovers who fuck her in any way imaginable. All of her holes are filled until she is covered from top to bottom in spunk!
Some girls like crowds but Dolly prefers the one on one situations. "That way i can give the guy my undivided attention," she explained, showing us exactly what she meant. In fact she was over the guy as if it was the last thing she would ever do, sucking and fucking away while we watched her in amazement. Even our experienced house stud had a spot of bother keeping up with her...
it was time for some South American temper in our studio and Eduarda hit the spot exactly. There was no time for small talk: It was off with her clothes and into the action. Eduarda likes it hard, rough and deep - the more of it the better! So we arranged for our best bull to screw her right into seventh heaven and Eduarda enjoyed every minute of it...
"Hold on to your lollipop!" is what Esmeralda must have thought and indeed, whatever she did (or had done to her) she kept hanging on to her sweet as if her life depended on it. Mind you, she thought the taste of sugar and sperm mixed up was something great and sometimes she even had trouble keeping the two apart. She never lets go of the stick! | 1 | en |
@TexasKid1980 @Eric_Mariners @elchavaloko lol naw that bitch was just a sociopath | 1 | en |
Me encanta mi compañera de habitación -Y ese decias que era gay? +Si -JODER!! digo...vaya | 0 | es |
Opposing Castro doesn't mean you support Bautista. | 0 | en |
:::I don't think you have better sources than NATO )) | 0 | en |
"
A few notes on assembling a DYK queue
Thanks for all your work assembling these queues but may I suggest that you review the list of ""unwritten"" rules for these? Among other things, they advise that each queue should be roughly half biographical hooks, roughly half U.S.-related hooks, and should end with a funny or quirky hook to ""leave 'em laughing"". I know this makes putting a well-balanced queue that much harder but it's how it's done, I'm told, for the best interests of the reader. - " | 0 | en |
This is just more democratic Kabuki theatre. There was never any doubt what will happen. The GE tax will never return to its prior level, once a tax is imposed by our corrupt lawmakers, it never goes away.
The only question is who will get the money - the city, state or HSTA/HGEA. | 0 | en |
So then we can revise SB4 to take 2% of the TAT then??? It's like EVERY new month is a RECORD month!
To borrow an old quote by pro #RAILFAIL fans when sugesting a forever GET: "they won't even FEEL IT". | 0 | en |
Oic it's ok to comment if it's what you wanna hear... | 0 | en |
while the world price is out of the provinces control they will immediately start to repair the economic damage done by NDP policies that continue to hold the economy lower than where it should be by:
Reversing the ndp raise of business taxes by 20%
Stop the large personal income tax increases
Stop the increasing gas and carbon taxes by $10 billion over the ext five years.
Stop the planed radical reforms to the province’s electricity sector – changes which some experts have suggested could lead to a tripling of rates.
Cancel the plans to recklessly commitment to raise the minimum wage from $10.20 to $15.00 by 2018 a 47% increase in a few years!
there you go bud! | 0 | en |
4. After reading all of that, I still think a life sentence is too extreme. 20-30 years maximum should have been the punishment. From what I understand, the child was traumatised but not harmed. Sex was attempted but not done. And while she's a massive cunt for failing to admit to her crime, it's still not grounds a life sentence. If she had shown a history of attempts to multiple children, it would have been much more justified, but as far as we know, this was one attempt that traumatised a child. It's still disgusting, and since it was attempted child rape rather than sexual abuse, it should receive a harsher sentence, but it really should be between 25 years and no more than 40. | 1 | en |
Were your god to exist, he would necessarily be declared a sadist. Your knowledge of the historical Jesus is doubtful and your claim of him loving someone is laughable. People don't need Jesus's or any other dead person's love. They need the love of their fellow humans and not the imaginary love of some dead person from history. Jesus not only doesn't love you because he died in 30/33 A.D. but were he magically able to resurrect himself and return to 2017, from everything I've read in the Bible he stood for, he'd likely call you an asshole. | 1 | en |
Ай как просто терпи. Какай просто терпи. Как ай пррсто терпи. Ай как просто терпи. Ай как просто терпи. Какай просто терпи. Как ай пррсто терпи. Ай как просто терпи. Ай как просто терпи. Какай просто терпи. Как ай пррсто терпи. Ай как просто терпи. Ай как просто терпи. Какай просто терпи. Как ай пррсто терпи. Ай как просто терпи. | 1 | ru |
Counting the Omer of your Life - Passion For Truth Ministries https://t.co/jT59Vn4UNV via @YouTube | 0 | en |
Agreed its not so simple these days.
Good NYT "rent versus own" calculator;
(assuming you know what interest rates and resale prices will do);
https://www.nytimes.com/interactive/2014/upshot/buy-rent-calculator.html | 0 | en |
I am Moglucy. I suck real hard. I enjoy sucking phalus. | 1 | en |
The Senate sometimes sends bills back to the Commons for reconsideration with amendments and then passes whatever gets sent back. So, aside from some foot-stamping, this doesn't sound like anything different.
And the opposition parties aren't there to help the government make the trains run on time. | 0 | en |
Wow, I never thought about the Death Bat up to this point, that should really be in here, and as far as the girl goes, she wasn't a member of the band, she is Valary Di Benedetto and she used to be the manager and she only screamed on one song The Art Of Subconscious Illusion. Well she also does the scream at the beginning of Scream. NTurner | 0 | en |
Seems like the vacant Harjit Sajjan needs to architect the next big thing. | 0 | en |
Not so weird that 0bama's complete lack of action regarding N. Korea had no effect whatsoever on "Lil' Kim", and true to 0bama's incompetent nature, pushed the problem onto the next administration. | 0 | en |
Really, his private cell phone. And he blasted Hillary for using a private email server? His secrecy is deeply troubling with Russian ties. | 0 | en |
One cannot take women's bodies away from themselves. Same as, one cannot take children's bodies away from them by pedophilia.
I yet do not know what the answer is but I know it is not what Trump and the church are trying to propose and impose.
I would never have said to my wife: sorry honey but you have to die -due to uncontrolled and uncontrollable gestational problem - because the pope says so. | 0 | en |
That's really beside the point. Truth is that for many reason the US can not win the war in Afghanistan. Sooner or later they have to recognize it and stop that continuous bleed on their resources. 1 Trillion spend on that war. 100 Billion spent on aid and no progress in side. | 0 | en |
Not at all! It will be considered a compliment! | 0 | en |
What do you mean we don't have space for corrupt politicians? That's the only type of politician! | 0 | en |
I'd be happy to be able to earn my own way and not be tied to the union contract. I have actually been held back and my work hobbled by union rules. I've even gotten grievances filed against me by the union. Guess what, if the union worked as hard at making sure they actually represented professional employees instead of protecting the ones that should be fired, I might support it more. They have created a hostile environment in the workplace. Filing petty grievances and ignoring their own contract when it doesn't suit them. Yes, I'm a federal employee and I despise the union. I find it to be self centered and not caring about actual public safety. Only pay raises and protection from accountability. | 0 | en |
Oh my gosh, emails you say? No wonder there were riots.
Anyway, I wrote "sane" Americans. Americans who look upon the police as the enemy, assault them, and destroy their town with a riot are not sane Americans. | 0 | en |
Charlie Angus is the logical choice. | 0 | en |
SEEMS YOU NEED TO RIDE HARE TO GET TO SUPERMAN. YOU FOOL.
https://www.youtube.com/watch?v=PppqpubWkHs | 1 | en |
Anyone who thinks Birch could be good for Alaskans should look at his record on the Anchorage Assembly: 1) he wasn't there much towards the end of his 9 yrs on the Assembly (but he phoned in from HI occasionally), 2) he rarely attended community council meetings to update residents and to hear their issues, 3) he didn't reply to constituents when they tried to get him to deal with problems in their area.
Now he thinks he can hide in Juneau where he is harder for residents to find. | 0 | en |
I have seen absolutely no community support for firing Matthew Halls. Instead, I am aware of nothing but anger, outrage, sadness and general astonishment at this sick sub rosa decision. My recommendation: reveal who is behind the decision, fire them, apologize to Matthew Hall and ask him to return. The Oregon Bach Festival is far too important to be ruined by a tiny group of covert incompetents. | 0 | en |
I'm going to the game; not a season ticket holder yet, but I bought one of the promo seats in "poor man's heaven" (the Yellow seats, but close to 50 yard line); only $19 with service charge. Go Rolo!!! Go Warriors!!! | 0 | en |
That would be wonderful, yet
I imagine he ran to mommy
and they smoked a joint to calm
down. | 0 | en |
Yeah, when will those men get it?? Conservative women want to be mugged by thugs with actual guns concealed in their jacket pockets not a pointed finger or a banana! | 0 | en |
I was quoting part of Steve Martins hiarious movie...if you couldnt see that then too bad. | 0 | en |
حقيرة كلش اكرهج | 1 | ar |
if the robo-cons think laws were broken inform the rcmp and the government watchdogs. this is what robo-con harper used to say. remember to feed a hungry panda today. | 0 | en |
@Ungebeten1 Wir Sachsen zwangsweise! Mit Massenhinrichtungen und all so´n Scheiß! | 0 | de |
Stars emotional after losing Stanley Cup Final: 'It sucks'; 'There's no feelings right now'
Stars emotional after losing Stanley Cup Final: 'It sucks'; 'There's no feelings right now' | 1 | en |
Its not unusual for a prophet to not appear for 100's of years in scripture....why would you find this unusual? A prophet is communicated directly with by either visions, dreams or audibly.......a prophet is no less value than an average believer....its just that God has specifically communicated a message through them directly to his people. A prophet is no more gifted than anyone else as all believers do have gifts....some more than others.......but there is such a gift of prophecy in scripture and it is quite different from receiving inspiration from God as prophets often foretell the future and come under the direct control of God when in vision. Adventists do not resort to writings from nearly 200 years ago....we simply regard EGW's writings as inspired by God. Apply the biblical test of a prophet and you will see she meets it well. | 0 | en |
Q:
Adding new ball to arraylist causes all the subsequent ball positions to be shifted
I need to implement bouncing balls that can be added at the position the mouse is pressed and bounce off the walls. However right now I can get the first ball to work but all the subsequent balls appear off the mouse position and has weird wall collision detection.
I suspect its due to my for loop since when i iterate through the list backwards the balls appear at the correct position but all the ball positions reset when I add a new ball.
ArrayList<Ball> balls;
void setup() {
size (640 , 480, P3D);
noSmooth();
// Create an empty ArrayList (will store Ball objects)
balls = new ArrayList<Ball>();
}
void draw() {
background(1);
// Frame
stroke(255);
line(0, 0, -500, width, 0, -500);
line(0, 0, -500, 0, height, -500);
line(0, height, -500, width, height, -500);
line(width, height, -500, width, 0, -500);
line(0, 0, -500, 0, 0, 0);
line(width, 0, -500, width, 0, 0);
line(0, height, -500, 0, height, 0);
line(width, height, -500, width, height, 0);
//for (int i = balls.size()-1; i >= 0; i--) {
for (int i= 0; i<balls.size(); i ++){
Ball ball = balls.get(i);
ball.move();
ball.display();
}
}
void mousePressed() {
// A new ball object is added to the ArrayList (by default to the end)
balls.add(new Ball(mouseX, mouseY, random(-5.0,5),random(-5.0,5)));
}
// Simple bouncing ball class
class Ball {
PVector pos;
PVector vel;
float grav = 0.1;
Ball(float posX, float posY, float velX, float velY){
pos = new PVector(posX, posY, 1);
vel = new PVector(velX, velY, 1);
}
void move() {
// Add gravity to speed
//vel.y += grav;
// Add speed to y location
pos.add(vel);
if (pos.x>width-50) {
vel.x*=-1;
}
if (pos.y>height-50) {
vel.y*=-1;
}
if (pos.z>500) {
vel.z*=-1;
}
if (pos.x<50) {
vel.x*=-1;
}
if (pos.y<50) {
vel.y*=-1;
}
if (pos.z<0) {
vel.z*=-1;
}
}
void display() {
translate(pos.x,pos.y, -pos.z);
sphere(50);
noFill();
}
}
I don't know what I'm meant to do to fix it so any help is appreciated.
A:
The issue is the call to translate(). This function doesn't only define a translation matrix, it defines a matrix and concatenates (multiplies) the matrix to the current matrix. This causes that the first ball is correct, but every following ball is off the expected position.
Use pushMatrix() push (store) the current matrix, before the individual translation matrix for a ball is set. Use popMatrix() to pop (restore) the current matrix, after the ball is drawn. e.g.:
class Ball {
// [...]
void display() {
pushMatrix();
translate(pos.x, pos.y, -pos.z);
sphere(size);
noFill();
popMatrix();
}
}
| 0 | en |
Well done Russians. Liberation of Aleppo is like liberation of Berlin and Auschwitz from neo-Nazi terrorists. | 0 | en |
Your position is nonsensical. Trump is not a candidate for anything in Canada. | 0 | en |
Agree, his arguments seem to favor index investing. | 0 | en |
Ben de rüyamda puanların denkleştiğini ve 50000 alımın olduğunu gördüm keşke ben de ermiş olsam 😅 | 0 | tr |
The piece reads like Trump word salad. China has been lobbied hard to curb North Korea but cannot control the mess they created over the decades. North Korea serves as a buffer between the West and China. Add to that the 25 million refugees generated by a N. Korean collapse and you have a quandary of it's own. The Russian economy is absolutely on it's lips due in large part to the global sanctions imposed for invading Ukraine. It's been further ravaged by the crash in oil prices. Secretary Clinton refused the little bait Trump put out in the debate, when Clinton baited Trump he swallowed the treble hook. After he passed it, Clinton set the hook hard. Fish on! | 0 | en |
Anyone who admires Castro must literally adore Pinochet. Both started with a coup but Pinochet returned his country to economic prosperity and, eventually, democracy while Castro accomplished the opposite on both counts. While Cuba is today an economic basket case, Chile is a market-oriented economy which substantially reduced extreme poverty and which catapulted Chile into arguably the most stable Latin American economy (and member of the OECD). Pinochet's 'coup' was supported by almost 2/3 of the members of the Chamber of Deputies who accused Allende of 20 concrete violations of the constitution and who pleaded to the Armed Forces, in a resolution dated August 23, 1973, to remove Allende from office. Chile had, post 1973, open borders for people, trade and currency. While Havana today leaves a picture of the 1950s, Santiago leaves one of the 21st century. While Pinochet, the 'brutal dictator', saved his country, Castro, the enlightened Máximo Líder, destroyed his. | 0 | en |
يشوه الدولة الاسلامية؟؟؟؟ انها ارهاب خالص لا يؤده الا ارهابى | 1 | ar |
"
To give further evidence, English Admin called ""Ruhrfisch"" is acknowledging in discussions that his protegè ""Ernest Shackleton"" has killed a cat-mother including her baby-cats and poked an employee into the anarctic water while his ultimate foe, British National Hero Robert Falcon Scott is to be depicted as the ultimate villain for failing to appear on Royal Navy records for half a year being in love with a women... All this can be read about on the article and talk pages of ""Robert Falcon Scott"" and ""Ernest Shackleton"" (but don't dare to change ANYTHING, cause RUHRFISCH' soul will try to haunt you till eternity... -)37.230.15.218 " | 0 | en |
Congratulations to President Obama for making this happen. Once Obama tried to bully England into staying in the festering EU that's all the voting public needed to know. These are things I trust MORE than President Obama.
Mexican tap water.
A rattlesnake with a "pet me" sign.
OJ Simpson showing me his knife collection.
Farting when I have diarrhea.
An elevator ride with Ray Rice.
Having a drink offered by Bill Cosby.
Michael Jackson's Doctor.
An Obama Nuclear deal with Iran.
A Palestinian on a motorcycle.
Gas station Sushi.
A Nazi plumber.
A Jimmy Carter economic plan.
A government worker telling me that he wants to help me.
Brian Williams news reports.
Prayers for peace from Al Sharpton.
Playing Russian Roulette with a semi-automatic pistol.
An email from a Nigerian prince.
The Heimlich Maneuver from Barney Frank.
A condom made in China.
A prostate exam done by Captain Hook.
And finally - Bill Clinton at a Girl Scout convent | 0 | en |
Lots of swamp needs to be drained in Canada, starting with public sector unions that should not allowed to be unionized. If they don't want what's offered to them then stand aside as there are tens of thousands of qualified candidates that would gladly take your place- it's called competition. | 0 | en |
What has the laicisation of a former nuncio to do with the Catholic population of Kazakhstan? | 0 | en |
Gore got more popular votes than W but W was "selected"...another example of our corrupted election system. Think how different things would be if we never went into Iraq after 9-11....and Gore worked on transitioning to clean renewable energy instead of off shore drilling - no Deepwater Horizon blow out in the Gulf as well? Citizens not able to get out from the devastation of hurricane Katrina would have been taken care of, etc. etc. I think Trump would be far worse than George W. Bush...and that is saying something. | 0 | en |
Maybe some on the left thought Obama would end racism, but not me. Racism is deeply rooted in the notion of a land destined for European conquest. It's part of the view of many when they think of themselves as patriots.
If you want to look at history, consider how George Wallace incited racism and president Johnson fought him over it. Being against racism is not playing the guilt card. Understanding that we have a long way to go to make things equal among the races is not feeling guilty. | 0 | en |
To the author and editors: fix the labels on the first two line charts. Which one is Canada, which one is S. Korea? The legend key shows both as purple, but one of them should (presumably) be light-blue. | 0 | en |
Auch heute darf Schwerverbrecher Uli #Hoeneß im Spiel gegen #FC #Bayern natürlich nicht fehlen #ARD | 1 | de |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.