text:
Abe's Avoidance of the Past
Posted on August 24, 2015 by wpadmin
Original article from NY Times
Credit Eugene Hoshiko/Associated Press
TOKYO — For months, speculation built in East Asia in the lead-up to the 70th anniversary of Japan's surrender, which ended World War II.
Would the new, conservative prime minister, Shinzo Abe, who wants Japan to play a more assertive role on the world stage, address questions of wartime responsibility and guilt in a different way than his predecessors had?
In the end, Mr. Abe said little on Friday that was new. He prevaricated on the causes of the war and on the exact nature of the worst of Japan's atrocities — from the forced recruitment of thousands of so-called comfort women, or sex slaves, from Korea and China, to the devastating military tactics employed to subjugate the country's neighbors. Rather than apologize in personal terms, Mr. Abe was content to cite the apologies of his predecessors, before stating that it was unreasonable either for today's young, or for future generations of Japanese, to have to feel guilty about events that took place long before their birth.
It's no surprise that Mr. Abe's speech elicited strong and immediate criticism from China and South Korea. What is more interesting were the rebukes he drew from important segments of Japanese society. At a peace ceremony on Saturday, with Mr. Abe in attendance, the 81-year-old emperor, Akihito — whose father, Hirohito, prosecuted Japan's conquest of Asia beginning in the 1930s — broke new ground for himself by expressing "profound remorse" over the war. Tomiichi Murayama, the 91-year-old former prime minister, was more direct in his criticism of Mr. Abe: "Fine phrases were written, but the statement does not say what the apology is for and what to do from now on."
It was Mr. Murayama who in 1995 — on the 50th anniversary of the war's end — offered Japan's strongest official apology, when he spoke of the "tremendous damage and suffering to the people of many countries, particularly those in Asia," caused by Japanese colonialism and aggression, and personally expressed his "feelings of deep remorse and heartfelt apology."
During its peak economic boom years, in the 1980s, Japan was also the world's largest provider of development assistance, and concentrated most of its grants and loans on Asia. Japan played a particularly instrumental role in midwifing China's economic surge, providing billions of dollars in investment, critical new technologies, and even political support to its communist neighbor, for example, after the Tiananmen Square massacre in 1989.
Time and again, however, good-will initiatives like this have foundered on the basis of equivocal language, and on the provocative actions of Japanese leaders themselves, often taken to mollify conservative constituents. The most notorious of these actions have been their repeated visits to Tokyo's Yasukuni Shrine, a Shinto monument to the country's modern war dead, including numerous officers who were tried after Japan's defeat as so-called Class-A war criminals.
Mr. Abe occupies a singular and complex place in this narrative. The maternal grandfather he often reminisces about fondly, Nobusuke Kishi, oversaw industrial development in Japanese-occupied Manchuria in the 1930s, during a time of rampant sex slavery, prostitution and narcotics dealing. A far-right politician with fascist leanings, Kishi was later minister of munitions in the war cabinet of Hideki Tojo, and was imprisoned on suspicion of war crimes, although never tried, helping position him to later become an important, early postwar prime minister. Mr. Abe himself pursued rapprochement with China during his brief, first tour as prime minister, a decade ago, after a period of heightened tensions between the two countries under his boss and predecessor, Junichiro Koizumi, over his visits to Yasukuni.
In 2013, on the first anniversary of his second stint as prime minister, however, Mr. Abe inflamed relations with China and Korea by visiting Yasukuni himself. Since then, in the face of stiffening domestic opposition, Mr. Abe has inflamed mistrust by revising laws to allow Japan to sidestep restrictions in its pacifist Constitution and to take on more responsibility for its own defense and enhance military collaboration with its allies, especially the United States.
Why have deep divisions lingered so much longer in East Asia than they did in Europe — where Germany was much more willing to accept its responsibility for the war, and its neighbors therefore far more willing to get on with things?
Part of it, no doubt, is because of calculations by Beijing that having a historical antagonist readily at hand is politically useful, especially as the country's ideological mainstays of Maoism and Marxism-Leninism have lost their relevance. This has left the Chinese Communist Party with only two pillars upon which to stake its legitimacy, strident nationalism and dwindling economic growth.
According to William A. Callahan, a China scholar at the University of Manchester, in 2012 fully 60 percent of the movies and TV programs produced by the leading production company, Hengdian World Studios, involved anti-Japanese plots. In that year alone, he estimated that 700 million Japanese were shown being killed in these programs, or more than five times the actual population of Japan.
In China's case, nearly the entire history of the 20th century awaits rewriting, because of the extreme manipulations and censorship of the narrative by the Communist Party. One of the biggest myths there, which is just now beginning to fade, is that Mao's forces heroically defeated the Japanese, as depicted in almost all of the Hengdian World Studios war films. In reality, it was Chiang Kai-shek's Nationalists who did the overwhelming bulk of the fighting. Maoist China's self-inflicted famine during the Great Leap Forward killed 30 to 40 million people between 1958 and 1962. That took far more Chinese lives than the Japanese did, but this and many other fraught episodes of Chinese history remain all but off limits.
For its part, modern South Korea was built to a significant degree by wartime collaborators of the Japanese, most famously including Park Chung-hee, the father of the current president, Mrs. Park. Indeed, the elder Park adopted a Japanese name and served as an officer in the Japanese Imperial Army, and was a close ally of Abe's grandfather, Kishi. But the treatment of this history remains anything but forthright in South Korea.
As the uncontested instigator of world war in Asia in the 1930s, it is incumbent on Japan to keep trying to nudge its neighbors toward greater conciliation in the future. Mr. Abe's evasions have unnecessarily made things worse.
Speaking to a joint session of Congress in April, he did two things that any Japanese leader's statements toward Asia should be judged by. By evoking famous battles of World War II, like Pearl Harbor, Bataan and Iwo Jima, as he proclaimed "deep repentance" over the past, Mr. Abe put a name to some of the worst chapters of an awful past, rather than resting on vague and evasive formulations, as he did in speaking to Asia last week.
He also spoke movingly in Washington about the friendship that blossomed between a defeated Japan and a victorious United States. This vital element has been largely missing from the speeches of recent Japanese leaders to Asians about their shared history.
Mr. Abe is correct that future generations of Japanese may tire of constantly being told to take responsibility for long-past events. Where he is wrong is in conveying a grudging attitude. There is no quick and neat way to neutralize the venoms of the past, but the shortest path toward reconciliation is one that replaces denial and self-justification with an acceptance of responsibility and a hand extended in friendship.
The Forgotten soldiers of the Sino-Japanese War
Read the article here
John Rabe Memorial
Posted on November 21, 2013 by wpadmin
When: 11/23/2013 2:00PM
Where: 1409 N. Walnut Grove Ave.
Glendale approves Korean 'comfort woman' statue despite protest
Posted on July 10, 2013 by wpadmin
(from LA Times)
Despite significant opposition, the Glendale City Council has approved a 1,110-pound monument honoring Korean women taken as sex slaves by the Japanese army during World War II.
Members of the council received hundreds of emails — many appearing to come from Japan — and listened Tuesday to dozens of speakers who said the so-called comfort women were not indentured servants but ordinary prostitutes.
Glendale has become the latest U.S. city to set the scene for a decades-old controversy between some Japanese who deny their army abducted up to 200,000 women from Korea, China and other countries as sex slaves and Koreans who want to raise awareness of the human rights violations.
"Rather than using this as a wedge to drive us apart … look at this monument not as a blame or shame to any nation, but to remind us that war has consequences," Councilwoman Laura Friedman said.
With the council's approval, Glendale is set to be the first city on the West Coast to install such a memorial on public land. Last year, a Japanese delegation went to New Jersey to request a monument in a park be removed, sparking a desire among Korean American groups to erect even more memorials.
Glendale's planned monument is a replica of a statue that sits in front of the Japanese embassy in Seoul. Surviving comfort women often protest at the monument, which features a young woman in a traditional Korean dress with a bird on her shoulder sitting next to an empty chair.
A group of activists who believe the women willingly worked as prostitutes — although that assertion has been denounced by Japanese political officials and historians — has been coordinating a letter-writing campaign against the memorial.
It began as a trickle, but transformed into a tsunami this week. Mayor Dave Weaver said he received 350 emails opposing the monument, all appearing to come from Japanese individuals.
Then on Tuesday, about 100 people packed the council chambers. The majority of the 27 speakers were Japanese Americans, many from Los Angeles, San Gabriel and Pasadena, opposing the monument.
They denied that the Japanese military coerced women into sexual servitude and said a U.S. city should not meddle in Japanese and Korean affairs.
Many were disappointed when the council voted 4-1 for the monument that will be placed in Central Park. Weaver opposed it because he wants a master plan for the park before any statues are erected.
"I'm disappointed, definitely," Shiki Dahn of Los Angeles said. "The council already had their decision made."
Indeed, the council already set aside a portion of Central Park for the monument in March, and the $30,000 bronze, obsidian and granite statue — paid for by the Korea Glendale Sister City Assn. — was shipped from Korea last month.
Councilman Zareh Sinanyan said rather than changing his mind, the letter writers and speakers strengthened his resolve to vote for the monument, comparing the sex slavery deniers to those why deny the Armenian genocide.
"This is a moral issue," Sinanyan said. "We are taking a meaningful step to show our moral support, our sense of camaraderie and our sharing of the pain that our Korean American brothers and sisters feel about this issue."
Alex Woo, president of the Korea Glendale Sister City Assn., said he never expected so much opposition from local Japanese Americans.
"This was not meant to humiliate or to shame them. It was not to do any of that. It's about us learning from this experience so it doesn't happen again," Woo said after the meeting.
Posted in News	| Tagged comfort women	| Leave a reply
Japan politician condones WWII 'comfort women' sex slavery
Posted on May 14, 2013 by wpadmin
from RT.com
The proximity of the battlefield gave rise to the 'comfort women' system on Japanese-occupied territories in the 1930s, according a Japanese politician. Hundreds of thousands of Chinese and Korean women were forced into sex slavery at the time.
All is fair in love and war, espoused Toru Hashimoto, the mayor of Osaka and co-founder of nationalistic opposition party Nippon Ishin no Kai (Japan Restoration Party).
Those sex slaves were euphemistically called 'comfort women' and came from several countries, mostly China and Korea, but also from Indonesia, the Philippines and Taiwan. It is believed that no less than 200,000 women passed through this system.
"In the circumstances in which bullets are flying like rain and wind, the soldiers are running around at the risk of losing their lives. If you want them to have a rest in such a situation, a comfort women system is necessary. Anyone can understand that,"Hashimoto told reporters at the Osaka City Government building. Brothels were needed "to maintain discipline in the military -it must have been necessary at that time," he specified.
Hashimoto stressed that he is familiar with the history of the period and insisted that sex slavery was common not only in the Japanese army, an obvious reference to alleged 'Joy Divisions' in Nazi concentration camps in Europe during World War II.
An unidentified government official told South Korean Yonhap news agency that Seoul is disappointed that a senior Japanese official "made comments supportive of crimes against humanity and revealed a serious lack of a historical understanding and respect for women's rights," AP reported.
But Toru Hashimoto refused to deny that comfort women were forced to provide sexual services against their will.
"It is a result of the tragedy of the war that they became comfort women against their will. The responsibility for the war also lies with Japan. We have to politely offer kind words to [former] comfort women," he said, following the path of former Japanese Prime Minister Tomiichi Murayama, who in his tenure apologized to those Asian countries that Japan colonized in the first half of the 20th century.
In 1995, the 50th anniversary of the end of World War II, Tomiichi Murayama issued a statement in which he acknowledged that the Japanese military forces were "seriously involved" in"staining the honor and dignity of many women" and offered his profound apology to all wartime comfort women who suffered"emotional and physical wounds that can never be closed."
The current position of the Japanese government has suffered little change since then.
"The stance of the Japanese government on the comfort women issue is well known. They have suffered unspeakably painful experiences. The [present PM] Abe cabinet has the same sentiments as past cabinets," Chief Cabinet Secretary Yoshihide Suga told journalists on Tuesday.
However, the co-leader of Japan Restoration Party expressed support to the contrary position of PM Shinzo Abe, who recently made a controversial statement that Japanese aggression in WWII is yet to be defined. The statement sparked outrage in South Korea and China.
"What Prime Minister Abe is saying is correct in that, academically, there are no definitions on aggression,"Hashimoto said.
Civic group members shout slogans and hold placards as they attend a protest over the alleged rape of a local woman by two US servicemen in Okinawa, in front of the prime minister's official residence in Tokyo on October 20, 2012.(AFP Photo / Yoshikazu Tsuno)
But the co-leader of the opposition party went even further. Last week Toru Hashimoto visited Japan's southernmost Okinawa prefecture, which hosts the US largest military bases in Japan. There he met local politicians to discuss uniting forces in replacing American military from the prefecture's main island. Also, during a meeting with American military brass there, he proposed that the US marines should use local sexual facilities more actively to control sexual energies.
Hashimoto tweeted on Tuesday that official military brothels are nothing new and that immediately after the WWII the Allied Occupation forces in Tokyo established the Recreation and Amusement Association, which ran a number of brothels for soldiers.
The Pentagon's spokesperson has dubbed Hashimoto's remark'ridiculous', The Japan Times reported, while Tokyo officially specified that the remark was made by an opposition politician and represents his own opinion.
Still, there is a chance that both Washington and Tokyo misread Hashimoto's intent. He may have been referring to Okinawa's already existing 'bath houses', which is a delicate name for accommodation house, to large extent to save the local female population from sexual harassment by the American contingent.
Usually heavily-censored by Japanese authorities, the cases of rape of the local women and girls by the US contingent on Okinawa happen on a regular basis. The last trial on rape charges against American servicemen on Okinawa took place in March this year, when two US Navy sailors were convicted and sentenced to prison term for raping and robbing a local woman, AP reported.
The Nanjing Massacre: Poems
Posted on April 15, 2013 by wpadmin
Wing Tek Lum, author of The Nanjing Massacre: Poems, will be reading selected poems from his new book at the following southern California locations:
Mon Apr 29 12:00 p.m. – 1:30 p.m. UCLA n. Rolfe 1301
Tue Apr 30 5:00 p.m. – 7:00 p.m. USC, Taper Hall, Richard Ide Memorial Room
Wed May 1 3:00 p.m. – 5:00 p.m. UC San Diego, Cross-Cultural Center
Thu May 2 4:00 p.m. – 5:00 p.m. UC Irvine, Humanities Gateway 3341
What Japanese history lessons leave out
Posted on March 15, 2013 by wpadmin
"Japanese people often fail to understand why neighbouring countries harbour a grudge over events that happened in the 1930s and 40s. The reason, in many cases, is that they barely learned any 20th Century history. I myself only got a full picture when I left Japan and went to school in Australia." – Mariko Oi, BBC News, Tokyo
read more at http://www.bbc.co.uk/news/magazine-21226068
Dr. Irie's letter of apology
My house was destroyed in early 1945 by B29 bombers in Tokyo. My family had to suffer a lot because of that. I became malnourished. I feel my family was also a victim of the war that Japan had started.
I entered an elementary school in 1947. I was surprised to find so many well-nourished and well-dressed class mates. Compared to them, I was just like a homeless child. The school was famous for educating children of the high society in Japan. I was accepted there only because my father was a teacher of the school.
During the war, they had relocated themselves to nice and safe resort areas in Japan. Their families did not suffer from the war at all, and they had been the driving force behind the Japanese invasions into China and other Asian countries. Japanese government represents them at that time and does the same even now. The basic structure has never changed.
By the way, I had never learned how badly Chinese people had be victimized in the war by Japanese military forces until I came to Los Angeles in 1971. The postwar schools in Japan had never taught me that aspect of the Japanese history.
Now I know the suffering of Chinese people during the war had been much greater than mine.
Therefore, I want Japanese government to officially apologize and do reparation to Chinese victims and their families. Only after that process is completed, I would like to demand apology and reparation for my family's sufferings.
So I am happy to join the efforts by ALPHA-LA.
Posted in News	| Tagged letter	| Leave a reply
Taiwan will not cooperate with China on Diaoyu islands
Posted on November 3, 2011 by robert
http://www.wantchinatimes.com/news-subclass-cnt.aspx?id=20110904000041&cid=1101
Taiwan will not cooperate with China on Diaoyu islands: spokesman
11:49 (GMT+8)
Ma said Taiwan will not join China in negotiating sovereignty disputes with Japan over the islands, which are claimed by Taiwan, China and Japan. (File Photo/CNA)
Taiwan President Ma Ying-jeou has made it clear that he will not collaborate with mainland China in dealing with sovereignty disputes over the Diaoyu islands, Presidential Office spokesman Fan Chiang Tai-Chi said Friday.
The Diaoyutai islands – known as the Diaoyutai islands in Taiwan and the Senkaku islands in Japan – are a group of uninhabited islets that lie about 100 nautical miles off Taiwan's northeastern tip. The island group is controlled by Japan but also claimed by both Taiwan and China.
Fan Chiang said the islands are the Republic of China's territory, no matter if they are viewed from a historical, geological, legal or agricultural perspective. "President Ma has declared on many occasions that the government will insist on its claims over the Diaoyutais," Fan Chiang said.
Noting that nearly all conflicts in the Diaoyutai waters involve intrusions of Japanese coast guard vessels into the region to disperse Taiwanese or Chinese fishing boats, Fan Chiang said the conflicts at this stage only exist between Taiwan and Japan or mainland China and Japan.
Ma insists that Taiwan will not join China in negotiating those conflicts with Japan, Fan Chiang said. He also reaffirmed the government's stance that it will continue to deal with sovereignty disputes in a peaceful and diplomatic manner.
Fan Chiang Tai-Chi 范姜泰基
Seoul urged to nix sex slave monument
http://www.japantimes.co.jp/text/nn20110930a7.html
Friday, Sep. 30, 2011
SEOUL — Japan has asked South Korea to block a plan by a group of elderly Korean women who were forced to provide sex for Imperial Japanese soldiers during the war to set up a Peace Monument near the Japanese Embassy in Seoul, according to a Yonhap News Agency report Wednesday.
"Japan's Foreign Ministry has asked us to prevent them from setting up the Peace Monument," a South Korean Foreign Affairs and Trade Ministry official was quoted as saying on condition of anonymity.
The monument plan was conceived by the Korean Council for the Women Drafted for Military Sexual Slavery by Japan, which has staged weekly rallies in front of the Japanese Embassy to demand the Japanese government apologize for and pay direct compensation to the victims, euphemistically called "comfort women."
The group plans to unveil the monument in December to mark its 1,000th demonstration. The official told Yonhap it would be difficult for the government to block the move because setting up a monument does not require governmental approval.
Japan has yet to respond to South Korea's Sept. 15 proposal for talks on the comfort women issue, following a Constitutional Court ruling in late August that found it is unconstitutional for the government to make no specific effort to settle the issue with Japan.
The Korean Peninsula was under Japan's harsh colonial rule from 1910 to1945.
It has been more than 57 years since the end of WWII. While the world has learned about the horrors of the Nazi war crimes and Germany has formally apologized and compensated victims of its atrocities, the Japanese government continues its whitewashing of history and denial of brutalities committed by the Japanese military in China and other Asian countries.
>> Join Us <<
Iris Chang
Archives Select Month August 2015 (2) November 2013 (1) July 2013 (1) May 2013 (1) April 2013 (1) March 2013 (1) July 2012 (1) November 2011 (4) August 2011 (1) July 2011 (3) June 2011 (4) April 2011 (1) March 2011 (1) February 2011 (1) December 2010 (7) November 2010 (5) October 2010 (3) September 2010 (17) August 2010 (9) July 2010 (2) June 2010 (7) May 2010 (2) February 2010 (3) January 2010 (3) November 2009 (1) October 2009 (1) September 2009 (2) August 2009 (1) July 2009 (1) November 2006 (1)
Buy gears at Cafe Press


The unique coaching method I use is based on Eastern Ancient Wisdom principles. Amongst the substantial quantity of material I have explored, studied and applied to life, my greatest source of inspiration remains The I-Ching, also called The Book of Change.
"The only constant is change", said Heraclitus (Greek philosopher). The I-Ching is an Ancient Classic Chinese book filled with Wisdom, and particularly wise advice about how to handle Change and transformation in our lives. It shows us how to be able, as human beings to make the most of the wide range of life situations we find ourselves in, and how to do so in the most harmonious way, to ensure the best possible outcome for ourselves and others.
This book reveals the principles of Yin and Yang and the 5 elements theory at the basis of Taoism, Confucianism, Chinese Medicine, Qigong, Art, etc. It was influenced and written by several different Wise men over several hundreds of years, starting 3000 years ago. It is still as highly relevant today as it used to be at the time!
Its content is deep and wise. Reading, studying, and living with the I-Ching feels like drawing water from a well of wisdom, bringing it to the surface and then drinking it. The teachings of the I-Ching feel so accurate. The water feels familiar, like the well is actually our own mind, our own body, like we already have all these answers, all this wisdom, inside of us.
Why then do we need it?
Sometimes we need a bit of help to access our own source of wisdom, don't we?
Often, people consult it (or ask for help with consulting it) because they have lost contact with their intuition, they need to hear (read) the advice given in order to be able to get un-stuck from self-doubt and confusion. It is often not an easy task for a novice to decipher the messages contained in this invaluable book of wisdom, because of the numerous historical and cultural references and because of the concepts, symbols and images derived from Chinese characters.
I am delighted to be able to witness people get insights into their situation and to accompany them throughout the steps they are taking.
The Book of Change (Yijing or I-Ching)'s wisdom is undoubtedly (and amazingly) totally in tune with the challenges our fast-paced, ever-changing modern life and society are presenting us with.


Antesky 1.8m Carbon Fiber Flyaway Antenna customer feedback from Indonesia.
On behalf of Antesky in August of the year 2013 Indonesia customer purchased 1.8m Carbon Fiber Flyaway Antenna from our Antesky, after getting the goods, after getting the goods, Indonesia customer assembled the antenna and did the testing, after testing, the customer feedback to us that the 1.8m Carbon Fiber Flyaway Antenna went as expected.
The 1.8m Carbon Fiber Flyaway Antenna developed by our company is a kind of widely used antenna to transmit voice, video and data etc. The reflector of this antenna is light, high-precision and strong, which is made through once mould pressing craft. The back structure and rotary platform of this antenna are made of other special materials with strength and light weight.


Teaching children how to be grateful is important. Dr. Kyle Pruett, clinical professor of child psychiatry at Yale School of Medicine and member of The Goddard School Educational Advisory Board, offers four tips on how to encourage gratitude.
Regularly express your own thankfulness verbally. Saying things such as "We are very lucky to have grandma nearby" or "I'm thankful to have a son like you in my life" or "Your dad made that so easy for all of us" can help demonstrate the appreciation you have for the people around you.
Express gratitude behaviorally. Take a casserole to a neighbor who has been kind or needs some extra help for whatever reason—even better if the children help you make it. When the hand-me-down toys end their cycle, make a thrift store run with the children in tow.
Make generosity part of your family's routine. When seasons change, collect clothes from everyone's closet to donate or take canned goods to the local soup kitchen.
Take the children along on community fundraising activities, runs, walks, etc. Explain to them why this matters to you. Make sure your children meet the organizers and understand the purpose; if it's personal, it's remembered.


text:
Call of Duty World League Championship Groups to be revealed via a live stream on Aug. 15
Keshav Bhat
Activision has announced that they will reveal the groups for the Call of Duty World League Championship, presented by PlayStation 4, on Monday, August 15 via a live stream on Twitch and YouTube. A total of 32 teams will be competing at the CWL Championship for their share of the $2 million prize pool. The 32 teams will be placed into eight groups of four.
On August 15, 2016, a live broadcast will determine the grouping for all the qualified teams. Four teams will face off against each other in each of the eight groups during the first part of the tournament. The top two teams from each group will move on to the bracket stage. Once at that stage, teams will face off in a double elimination bracket to determine the winner of the most important Call of Duty competitive event of the year. The winning team will take home the lion's share of the $2 million prize pool as part of the closing festivities at Call of Duty XP, the ultimate interactive experience and fan celebration, taking place in Inglewood, California, September 2 – 4, 2016.
The Call of Duty World League Championship will take place September 2-4, 2016 at Call of Duty XP. Tickets to attend are still on sale here. Activision recently confirmed that the CWL Championship will feature a double elimination bracket, with a best of five matches. Teams will compete for the biggest Call of Duty prize pool yet, $2 million.
Thus far, 22 teams for the CWL Championship, out of the 32 total, have been determined. The remaining ten teams will be from North America and will be determined on August 12-14 with the NA Online Qualifiers. If your team is interested in competing, sign ups are available here. Out of the all the teams that do sign up, the top 32 teams with the most CWL Pro Points will get to play in the qualifiers. The top 10 teams will secure a spot at Call of Duty Championship.
Stay tuned for the latest CWL news.
How to earn Call of Duty League Championship viewership rewards: Blueprints, Champs Pack, more
Here's how to start earning exclusive viewership rewards including a CDL XM4 Blueprint for watching the Call of Duty League Championships.
The Call of Duty League 2021 Championship Weekend is here, and players can earn various viewership rewards for watching the final stage of competitive action. Here's how to link your account and earn an XM4 Blueprint, Calling Cards, and the chance to get the Champs Pack for free.
After months of Call of Duty's best playing for the championship crown, it all comes down to the Championship Weekend, kicking off on August 19 and concluding on Sunday, August 22. While the pros compete for the $1.2 million prize pool, you can also earn various viewership rewards to use in Black Ops Cold War and Warzone, just for watching.
Alongside an exclusive CDL-themed XM4 Blueprint, you can earn Double XP tokens, player signature stickers, and the chance to receive a CDL 2021 Champs Pack code.
Here's how to link your account to start earning rewards and everything on offer.
How to earn CDL Championship viewership rewards for Cold War & Warzone
Earning the Call of Duty League Championship viewership rewards is simple; the longer you watch, the more rewards you'll earn. But you'll need to make sure that your Call of Duty account is linked to YouTube, where the CDL will be broadcasted.
How you can earn this XM4 blueprint:
Step 1⃣: Link your account at https://t.co/2jxUJefVsU
Step 2⃣: Watch #CDL2021 Champs on August 19-22
DONE! pic.twitter.com/RvZoBjO6M1
— Call of Duty League (@CODLeague) August 9, 2021
How to link CoD account to YouTube
Rewards are earned by watching the CDL Championships through a YouTube account linked to Call of Duty.
Read more: When is the next Cold War & Warzone Double XP event?
To link your account on PC and mobile:
Open YouTube.com or the YouTube app
Select your profile photo and hit 'settings'
Click on 'Connected Apps'
Locate 'Activision' and hit 'connect'
Sign in to your Activision account
While signed in with your linked YouTube account, watch CDL matches on YouTube, CallofDutyLeague.com, or the COD companion app to earn the rewards.
Call of Duty League Championship stream
Above, you can find the stream for the CDL Championship weekends. As long as your Activision account is connected to YouTube, you'll begin earning incremental viewership rewards.
All CDL Championship viewership rewards
CDL Thursday viewership rewards
1 Hour: 60 Minute Double XP Token
1 Hour 30 Minutes: Shane and Zaptius Weapon Stickers
2 Hours: 60 Minute Battle Pass Double XP Token
CDL Friday viewership rewards
1 Hour 30 Minutes: Zed and PaulEhx Weapon Stickers
CDL Saturday viewership rewards
30 Minutes: COD Timing Calling Card
1 Hour 30 Minutes: Venom, Classic, and Vivid Weapon Stickers
Chance to earn CDL 2021 Champs Pack code
CDL Championship Sunday viewership rewards
15 Minutes: Sweep Emblem
30 Minutes: Thunderclap Calling Card
45 Minutes: CDL Champs 2021 XM4
1 Hour 30 Minutes: Standy, Temp, and Huke Weapon Stickers
What's in the Cold War & Warzone CDL 2021 Champs Pack?
For watching the Championships on Saturday, Call of Duty will give out codes for the CDL 2021 Champs Pack to random viewers. These include Blueprints for the AK-47 and LW3 – Tundra with Gold Tracers, as well as CDL-themed Emblems, Charm, Calling Card, and Sticker.
Read more: Best Marshal loadout for CoD: Cold War Season 5
This bundle usually costs around $18, so it's well worth trying to get it for free by watching the CDL.
AK-47 Champs '21 Blueprint
LW3 Champs '21 Blueprint
CDL Championship Trophy Charm
Better On LAN Emblem
Online Warrior Emblem
Championship Weekend '21 Calling Card
CDL Championship Ring Sticker
The CDL Championships marks the end of Black Ops Cold War's competitive season, with 2022's being played on the upcoming Call of Duty: Vanguard game, which returns to the series' WW2 roots.
Image Credit: Activision
ASTRO Gaming & US Army ends sponsorship of Call of Duty League amid lawsuit controversy
The Call of Duty League has lost one of its long time sponsors just before the biggest CDL event of the year.
Activision Blizzard Esports division appears to be taking the biggest impact from external partners over the harassment lawsuit with sponsors opting out of partnerships with the Call of Duty League and Overwatch League.
The latest sponsor to end its relations with the Call of Duty League is ASTRO Gaming (and now U.S Army).
ASTRO Gaming's logo has vanished from the Call of Duty League site, alongside the U.S Army logo. These two logos used to appear to the left of ZENNI Gaming's logos.
Here's a look at the new sponsorship strip section on the CDL site, with ZENNI Gaming, SCUF, Game Fuel, and USAA still partners.
Update August 13 – 1PM ET: After we posted this article, the logo sponsorship section on the Call of Duty League site was updated again to remove the U.S Army logo. The CDL now has only four sponsors left as CDL Champs approaches.
ASTRO Gaming was a long time sponsor of Call of Duty esports, dating back to its early days. The company was the official headset sponsor of the Call of Duty League and Call of Duty Challengers.
Per Activision's initial announcement of the CDL back in 2020, ASTRO Gaming "extends its sponsorship of Call of Duty esports through the 2022 season."
Instead, the sponsorship has ended just before the CDL's biggest event of the year, Call of Duty League Championship. The Championship event will take place August 19 – 22 at the Galen Center in LA.
The U.S Army started its sponsorship of the CDL with the inaugural season in 2020. The U.S Army was the presenting sponsor of all schedule related assets on the CDL site.
Their logo has now been completely removed from the site.
Activision Blizzard has declined to comment.
ASTRO had in broadcast segments for the Call of Duty League including the main ASTRO Gaming Listen In, allowing fans to hear team comms during intense moments of matches.
ASTRO also was the presenting sponsor of the Call of Duty League MVP Award, which was awarded at the end of the Champs event. Since the partnership has ended, as early as this week, the CDL's site MVP page no longer shows the ASTRO Gaming logo.
The site before August 10th:
The site as it appears now, available to view here:
ASTRO & US Army are the latest two sponsors of the Call of Duty League to drop, after T-Mobile distanced themselves a few weeks back.
ASTRO Gaming partnered with the CDL to sell custom-designed CDL team headsets on their website. That collection has been deleted from the site.
The Call of Duty League is not the only Activision Blizzard league facing backlash. The company's Overwatch League has lost 5 sponsors over the last two weeks, including Coca Cola, State Farm, IBM, Kellogs, and more.
The sponsorship drops comes as Activision Blizzard is being sued by the state of California for sexual harassment and diversity in-equality across the company, with many instances coming out of Blizzard's side.
Activision Blizzard responded to the suit with Blizzard President J. Allen Brack resigning and putting Jen Oneal and Mike Ybarra as co-leaders of Blizzard.
The company still faces immense pressure from employees to change some of the practices, like removal of attribution clauses and changes to the law firm that is investigating the allegations at the company. So far, Activision Blizzard executives have not met their demands.
We'll continue to keep everyone updated as more information on the lawsuit and sponsorships happen.
T-Mobile reportedly no longer a sponsor of Call of Duty League & Overwatch League
T-Mobile appears to have ended their sponsorship of both the CDL and OWL after Activision Blizzard harassment lawsuits surfaced.
T-Mobile appears to have abruptly ended their sponsorship of the Call of Duty League and Overwatch League this past week. The company's logo has been removed from the sponsorship section of both of the websites.
T-Mobile was one of the largest non-endemic partners of the Call of Duty League. The US wireless carrier was the Official 5G Sponsor of the League and featured weekly 5G T-Mobile Drops for fans to enter to win real life prizes.
The Call of Duty League features sponsors including the U.S. Army, Astro Gaming, SCUF Gaming, Zenni Gaming, Game Fuel, USAA Insurance, and Google Cloud.
T-Mobile's logo was seen on the Call of Duty League site as recently as July 21 alongside the other sponsors, per the Wayback Machine, as seen in the screenshot below:
Call of Duty League website – July 21, 2021
Now, visiting the Call of Duty League website and looking at the same sponsor area, T-Mobile's logo has been removed. The other sponsor's logos are still featured.
Another part of T-Mobile's activation with the Call of Duty League was their 5G Weekly Drop activation, where viewers could text a code to a number to enter for a chance to win bonus items – like free controllers, phones, headsets, and even a trip to CDL Champs.
However, for the Stage 5 Major event (taking place July 29 through August 1), the official rules website says the Weekly Drop was cancelled with no explanation provided.
T-Mobile was also a sponsor of Activision Blizzard's other major league, the Overwatch League. But on the OWL's website sponsor section strip, T-Mobile's logo is gone. It was there as soon as Monday, July 26. T-Mobile's branding still appears on their site for Viewership Drops as those assets appears to have not been updated yet.
It's not officially confirmed as to why T-Mobile has decided to end its sponsorship of both of the leagues so suddenly or if the sponsorship is truly over, but the timing seems suspicious with the recent harassment lawsuit against Activision Blizzard from the state of California.
Activision Blizzard employees staged a walk out on July 28 in protest of the company's responses to the harassment lawsuit over a toxic, sexist workplace culture.
Activision Blizzard's CEO Bobby Kotick responded in an email published on July 27 that the company's responses were "tone deaf" and they would work to build a better, safer culture.
Activision Blizzard and T-Mobile both have not responded to requests for comment at the time of publication.

redpajama_set_name: RedPajamaCommonCrawl


What do you get when you tear the extrusion head out of a 3D printer and cram it into a pen? Not only something quite amazing but something quite cheap as well.
Launching today via Kickstarter is the 3Doodler, a 3D-printing pen that can create solid objects from melted strings of plastic. As with 3D printing as a whole, the 3Doodler works in a way that's almost magical: You're actually creating objects out of thin air.
More notable is that the device will retail for roughly $75, which is absurdly cheap in comparison the prices of more full-featured devices like the $2,000 MakerBot Replicator. Obviously, the 3Doodler won't be able to create the same quality printouts as the Replicator, but for a lot of people, that won't matter.
Safety, however, is a concern with the 3Doodler. While a pair of toy designers created the device, this isn't the kind of toy you'd want to give to your kids: The pen's metal tip can reach temperatures as high as 270 degrees Celsius, which is a burn hazard for just about everyone. This is one case where it's best to leave the kids to their crayons and paper.
Perhaps unsurprisingly, the 3Doodler's $30,000 Kickstarter campaign is already fully funded, and creator WobbleWorks says it's already working with Chinese factories to manufacture the device.


I don't believe in resolutions. There, I said it. I spent many years of my life mapping out new resolutions for each year and never following through. Work less, play more, lose weight, read more books, travel the world. Each year, more than half of the list would repeat from the previous year. But once again, fail. And somehow by December, I always forgot how I didn't accomplish them last year.
Then, I changed my perspective. One word. That's all. One little word to be my focus for the next twelve months. Resolutions can be broken and lead to us disappointing ourselves. Every decision that I make throughout the year is made using this word in mind.
In 2012, my word was CONFIDENCE. I didn't tell anyone my word that year because I was ashamed. I started that year without a job, a major health scare, no career plan, and not sure what to do. On the outside, I looked fine. Yup, that's the word fine. Not great, not bad, just fine. But on the inside, I was unsure and lacking conviction.
2013 was about FOCUS. My goals, my plan, my future. In every area of my life, it was time to start dialing in. 2014 was about CHANGE. This word really drove my personal decisions and challenged me at work to think outside the box. I was feeling complacent in a lot of ways. I was ready to change and make moves, even if it required starting over. When you decide to alter your life, it requires a different outlook on the mundane day to day rhythms.
2015 was an extraordinary year for me. My word of the year... SOAR! Make decisions that would lead to feeling uplifted. I took risks and chances. I was bold and determined to make 2015 the year I took flight. And I did!
So, that leads us to 2016. My career is right where I want it to be, my family is all happy and healthy, my friends are more like family and my personal life is off to a great start this year. What word can I focus on every day, all year long. One word that sums up who I want to be and how I want to live. BETTER!
I want to be a better version of me. A better friend, better boss, better partner, better sister & daughter, better giver, better person. Just BETTER. It's not about changing myself this year, I've accepted the woman that I am today, both my wonderful attributes and my flaws. I'm focused on just improving on the things that I already love about me.
WHAT IS YOUR WORD FOR 2016?
Newer Post"WHERE have you BEEN?"
Older PostLove 'em. Hug 'em. Kiss 'em. Squeeze 'em. Thank 'em and invite them back!


A page on TigerLocal will showcase your business to hundreds of local people looking for a business in Redditch. So you'll get serious enquiries from new customers.
Established in 1995 The Cake Box is one of the leading Celebration Cake businesses in the West Midlands. With over 200 different wedding cakes to choose from and over 2000 celebration cakes, there is something for everyone.
We have over 20 years experience within the Skip Hire and Waste Industries and we pride ourselves on our personal and professional caring service with an emphasis on complete customer satisfaction.
Floor To Ceiling has been trading for 23 years. All our staff have a vast knowledge of flooring for both domestic and contract situations and our fitters also have a wealth of experience.
We are a family business, operating in the Bolton, Lancashire and surrounding areas. We offer a 24/7 emergency call out service, catering for all your locksmith needs. Domestic and commercial.
Annette believes that dance should mainly be about enjoyment but also strongly endorses a good discipline and encourages her students to have a sense of pride in their appearance.
St Pauls Nursery provides a safe and nurturing environment and believe in the importance of your childs Happiness, learning and development. We have a professional and friendly staff team, who are dedicated and experienced.
Cake designer Caroline Smith specialises in creating beautiful and unique wedding cakes and celebration cakes for all occasions. Every cake is designed with great attention to detail and made specifically to a client's requirements.
A well established driving school offering a complete service in the Birmingham area. We also have a range of course options to suit all requirements including intensive and refresher courses.
Chris is an ORDIT registered driving instructor trainer. He does all the training on a 1 to 1 basis so the money you spend is all on your training.
Darren Dean photography Ltd are based in the West Midlands and specialise in portrait and wedding photography. Darren Dean is a experienced photographer who has studied photography for many years.
Our office is based in Digbeth, Birmingham near the City Centre. We are providing accountancy and taxation services to the businesses and individuals.


text:
Q: How to delete $1,000 from a column that has "ABCDE $1,000 $1,00,000" in sql I have a column in SQL table that has value "ABCDE $1,000 $1,00,000". I have to delete $1,000 and expected result is "ABCDE $1,00,000". How do I achieve this? This is an example. However, there can be data with different numbers and I need to identify the greater number or the lesser number from such column values and delete them.
SQL Server and Have tried below functions just to extract the numbers:
DECLARE @string varchar(100),

 @start int,

 @end int,

 @len int

SET @string = 'ABCDE $1,000 $1,000,000'
set @string = replace(@string, ' ' , '')

set @len = len(@string)

set @start =  PATINDEX('%[0-9]%',@string)

set @end =  PATINDEX('%[^0-9]%',substring(@string, @start, @len))-1

print substring(@string, @start, @end)

declare
@strAlphaNumeric VARCHAR(256) = 'ABCDE $1,000 $1,000,000'

BEGIN
DECLARE @intAlpha INT
SET @intAlpha = PATINDEX('%[^0-9]%', @strAlphaNumeric)
select @intAlpha
BEGIN
WHILE @intAlpha > 0
BEGIN
SET @strAlphaNumeric = STUFF(@strAlphaNumeric, @intAlpha, 1, '' )
--select @strAlphaNumeric
SET @intAlpha = PATINDEX('%[^0-9]%', @strAlphaNumeric )
--select @intAlpha
END
END
select @strAlphaNumeric
END
GO

Have also tried below function to see if I can change to function to achieve this:
DECLARE @instr   varchar(max)
SET @instr = 'ABCDE $1,000 $1,000,000'
    DECLARE @workstr  varchar(max) = REPLACE(LTRIM(LTRIM(RTRIM(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(
              LTRIM(RTRIM(REPLACE(LTRIM(@instr), ' ', '_'))), CHAR(9), ' '), CHAR(10), ' '), CHAR(11), ' '), CHAR(12), ' '), CHAR(13), ' ')))), ' ', '_'),
    @tokenque VARCHAR(MAX),
    @newstr   INT = 0,
    @token varchar(max),
    @flag_break INT = 0
    print @workstr
-- removes the extra "spaces"
    WHILE CHARINDEX('__', @workstr) <> 0
        BEGIN
        SET @workstr = REPLACE(@workstr, '__' , '_')
        END
    SET @tokenque = @workstr
    WHILE (CHARINDEX('_', @tokenque) <> 0)
    BEGIN
    SET @token = SUBSTRING(@tokenque, 1, CHARINDEX('_', @Tokenque) - 1 )
    IF @token <> '''' -- (') delimiter skipped
      BEGIN
      WHILE CHARINDEX(@token + '_' +  @token, @workstr) <> 0
        BEGIN
        SET @workstr = REPLACE(@workstr, @token + '_' + @token, @token)
        END
      SET @tokenque = SUBSTRING(@tokenque, LEN(@token) + 2, LEN(@tokenque) )
       END
    ELSE SET @tokenque = SUBSTRING(@tokenque, LEN(@token) + 2, LEN(@tokenque) )

    --PRINT @tokenque --if you want to see the progression
    END
PRINT REPLACE(@workstr, '_', ' ')

A: This SQL should do it, using a sample string @s. It splits the string on spaces, then selects the first amount, and finally aggregates the row back again, prefixing with your required prefix string.
You can modify the SELECT TOP(1) to SELECT MAX([value]) to get the highest number, or MIN for the lowest, as you need.
DECLARE @s VARCHAR(1000) = 'ABCDE $1,000 $1,000 $500 $750 $500 $1,000'

SELECT STRING_AGG([value], ' ')
FROM
(
    SELECT TOP(1) value FROM STRING_SPLIT(@s,' ')
    UNION ALL
    SELECT [value]
    FROM (SELECT TOP(1) value FROM STRING_SPLIT(@s,' ') WHERE value LIKE '$%') AS i
) AS j

Output is:
"ABCDE $1,000"
EDIT:
*If you need to sort by numeric amount, edit as below. Order column r by DESC for MAX and ASC for MIN value:
DECLARE @s VARCHAR(1000) = 'ABCDE $1,000 $1,000 $500 $750 $500 $1,000'

SELECT STRING_AGG([value], ' ')
FROM
(
    SELECT TOP(1) [value] FROM STRING_SPLIT(@s,' ')
    UNION ALL
    SELECT [value]
    FROM (
        SELECT ROW_NUMBER() OVER(ORDER BY (CONVERT(NUMERIC, REPLACE(REPLACE(value, '$', ''), ',', ''))) DESC) AS r
         , value
        FROM STRING_SPLIT(@s,' ')
        WHERE value LIKE '$%'
    ) AS i WHERE i.r=1
) AS j

Output is:
"ABCDE $1,000"
Edited the CONVERT, to also handle decimals.
Edit2: Added this to give you control over MAX/MIN:
DECLARE @s VARCHAR(1000) = 'first $1,000.00 $1,000.50 $500 $750 $500 $1,000'

SELECT STRING_AGG([value], ' ')
FROM
(
    SELECT TOP(1) [value] FROM STRING_SPLIT(@s,' ')
    UNION ALL
    SELECT [value]
    FROM (
        SELECT ROW_NUMBER() OVER(ORDER BY (CONVERT(NUMERIC, REPLACE(REPLACE(value, '$', ''), ',', ''))) ASC) AS a
         , ROW_NUMBER() OVER(ORDER BY (CONVERT(NUMERIC, REPLACE(REPLACE(value, '$', ''), ',', ''))) DESC) AS d
         , value
        FROM STRING_SPLIT(@s,' ')
        WHERE value LIKE '$%'
    ) AS i WHERE (@s LIKE 'first%' AND i.d=1) OR (@s LIKE 'second%' AND i.a=1)
) AS j

A: The idea of working with these composite columns made up of text and numbers is really horrible, but if you are dumped with this awful task then maybe the following could be useful for you:
CREATE FUNCTION getmax(@txt nvarchar(1000)) returns nvarchar(max)
BEGIN
DECLARE @ret nvarchar(max);
WITH t1 AS (
  SELECT Split.b.value('.', 'NVARCHAR(MAX)') da
  FROM ( SELECT CAST('<X>'+REPLACE(@txt, ' ', '</X><X>')+'</X>' AS XML) AS String ) AS a
  CROSS APPLY String.nodes('/X') AS Split(b)
), t2 AS (
  SELECT (SELECT MAX(da) n FROM t1) nam, da, REPLACE(REPLACE(da,'$',''),',','')-0 val
  FROM t1 WHERE LEFT(da,1)='$')
SELECT TOP 1 @ret=nam+' '+da FROM t2 ORDER BY val desc;
RETURN @ret
END

I use the SQL-Servers's XML capabilities to split the column into its individual parts (first a text part and then any number of $-amounts). I then clean up the $-amounts by taking away any $ signs and blanks and order it (descending) by their numeric value. After that I take the first record and combine the text part with the original $-value string and return it after first storing it in the variable @ret.
On my SQL server I was then confronted with an error message telling me, that I needed to use the setting SET ARITHABORT ON;, after which it worked, but so far I have not managed to get it working on a whole table. For some reason the function returns the first record only.

A: Grab a copy of PatternSplitCM and this is easy as blueberry pie.
Solving for a single value:
DECLARE @string       VARCHAR(1000) = '"ABCDE $1,000 $1,00,000"'
DECLARE @searchString VARCHAR(1000) = '$1,000';

SELECT NewString =
(
SELECT   CASE f.Item WHEN @searchString THEN '' ELSE f.Item END
FROM     dbo.PatternSplitCM(@string,'%[0-9,$]%') AS f
ORDER BY f.itemNumber
FOR XML PATH(''),TYPE
).value('(text())[1]', 'varchar(8000)');

Returns:
NewString
-----------------------
"ABCDE  $1,00,000"

Against a table:
-- Sample data
DECLARE @sometable TABLE (SomeID INT IDENTITY, SomeString VARCHAR(1000));
INSERT @sometable (SomeString) VALUES ('Blah, blah... $1,000... Joe said "1,000"'),
('$1,000 Blah, blah... $1,001... $100, $50... 1,0000000'),('Yada Yada... ');

DECLARE @searchString VARCHAR(1000) = '$1,000';

SELECT *
FROM   @sometable AS t
CROSS APPLY
(
    SELECT NewString =
    (
    SELECT   CASE f.Item WHEN @searchString THEN '' ELSE f.Item END
    FROM     dbo.PatternSplitCM(t.SomeString,'%[0-9,$]%') AS f
    ORDER BY f.itemNumber
    FOR XML PATH(''),TYPE
    ).value('(text())[1]', 'varchar(8000)')
) AS f;

Returns:
SomeID   SomeString                                               NewString
-------- -------------------------------------------------------- ------------------------------------------------
1        Blah, blah... $1,000... Joe said "1,000"                 Blah, blah... ... Joe said "1,000"
2        $1,000 Blah, blah... $1,001... $100, $50... 1,0000000    Blah, blah... $1,001... $100, $50... 1,0000000
3        Yada Yada...                                             Yada Yada...

A: A simple replace would work I think
DECLARE @STRING VARCHAR(100)

SET @STRING = 'ABCDE $1,000 $1,00,000'

SELECT REPLACE(@STRING, '$1,000', '')

result: ABCDE  $1,00,000

A: @SAS Below is what I have created and this has covered the scenarios whichever I have seen so far. Thank you so much for your help. I might have created a long query just to tackle the scenarios. But will simplify it and post it when done. Only issue i'm finding with the output is that "Second Value is: Per day 1,000,000.23" should come in the next line. Have tried with char() but seems to be not working:
DECLARE @s VARCHAR(1000) = 'First value is: Per day 10 1,000
Second Value is: Per day 1,000,000.23 $1,000.01'

select value into #temp  from string_split(@s,CHAR(10))

declare @s1 VARCHAR(1000) = (select value from #temp where value like 'first%')
declare @s2 VARCHAR(1000) = (select value from #temp where value like 'second%')

drop table #temp

declare @s3 varchar(1000) = (SELECT STRING_AGG([value], ' ')
FROM
(
    SELECT value FROM STRING_SPLIT(@s1,' ') WHERE value not LIKE '%[0-9]%%[.][0-9]%' and value not like '%[0-9]%'  and value not LIKE '$%'
    UNION ALL
        SELECT [value]
    FROM (
        --SELECT ROW_NUMBER() OVER(ORDER BY (CONVERT(int, REPLACE(REPLACE(replace(value, '$', ''), ',', ''),CHAR(10),''))) asc) AS r
        SELECT ROW_NUMBER() OVER(ORDER BY (CONVERT(decimal, REPLACE(LTRIM(LTRIM(RTRIM(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(
              LTRIM(RTRIM(REPLACE(LTRIM(value), '$', ''))), CHAR(9), ''), CHAR(10), ''), CHAR(11), ''), CHAR(12), ''), CHAR(13), '')))), ',', ''))) asc) AS r
         , value
        FROM STRING_SPLIT(@s1,' ')
        WHERE value LIKE '%[.][0-9]%' or value LIKE '%[0-9]%'  or value LIKE '$%'
    ) AS i WHERE i.r=1
) AS j)

declare @s4 varchar(1000) = (SELECT STRING_AGG([value], ' ')
FROM
(
    SELECT value FROM STRING_SPLIT(@s2,' ') WHERE value not LIKE '%[0-9]%%[.][0-9]%' and value not like '%[0-9]%'  and value not LIKE '$%'
    UNION ALL
        SELECT [value]
    FROM (
        SELECT ROW_NUMBER() OVER(ORDER BY (CONVERT(decimal, REPLACE(LTRIM(LTRIM(RTRIM(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(
              LTRIM(RTRIM(REPLACE(LTRIM(value), '$', ''))), CHAR(9), ''), CHAR(10), ''), CHAR(11), ''), CHAR(12), ''), CHAR(13), '')))), ',', ''))) desc) AS r
         , value
        FROM STRING_SPLIT(@s2,' ')
        WHERE value LIKE '%[.][0-9]%' or value LIKE '%[0-9]%'  or value LIKE '$%'
    ) AS i WHERE i.r=1
) AS j)

declare @s5 varchar(1000)=(select (@s3+CHAR(13)+@s4))
select @s5

OutPut: First value is: Per day 10 Second Value is: Per day 1,000,000.23

redpajama_set_name: RedPajamaStackExchange


We work with customers of all sizes in a range of industries all over the world. This perspective allowed us to foresee the lag in Windows 7 migrations. Despite repeated projections of rapid Windows 7 enterprise adoption, customers told us they planned to take their time. Some began planning or knew what their Windows 7 deployment strategy would be, but few had undertaken, much less completed, their Windows 7 migration. But the story is different now. With Windows XP end of life less than a year away, customers are feeling an increasing urgency to complete their Windows 7 migration jobs. We see and hear about it from the same kinds of customers who were, due to necessity (usually related to application compatibility issues), waiting. These customers are now restless to get the job done.
Windows XP is stable and it stands to reason that, in time, it will be less valuable as a target for malware. It is conceivable that since consumerization and device proliferation, especially mobile devices and tablets, are overwhelmingly dominating the computing market that they would be a more likely target. But a weakened Windows OS with an exposed attack surface won't be ignored. IT departments are wise to tackle and complete this important project in a timely way. And with the shift in the market and the long tail to complete Windows 7 migration, we aren't surprised to have so many conversations revolving around this seemingly old issue.
1. You have equipment that only talks to Windows XP. Or maybe you have a piece of equipment like a CNC machine that runs Windows XP embedded. Whatever the reason, upgrading from Windows XP might mean replacing functional, expensive equipment. Windows XP is going to be with us for a long time because many companies decide that there are reasons not to migrate certain workloads off of it (or at least to not rush into it). We're not saying these are good reasons, but those who control the budget often don't understand the potential hazard of running a Windows version that Microsoft no longer supports. All you can do is continue to plead your case and hopefully the budget will be allocated to a migration before it's too late. And when the day comes to migrate workloads off of Windows XP, SmartDeploy can help. For a free migration guide, visit http://www.smartdeploy.com/solutions/windows-migration/its-time-to-leave-windows-xp.
2. Your business still depends on essential DOS-based or other 16-bit applications. Maybe they still work great and there is no reason to upgrade the legacy software. Or maybe the vendor went out of business years ago. Or, worse still, maybe those programs connect to specific, ten-year-old-plus hardware, ruling out virtualization.
5. Your users fear change. Maybe they are afraid they will get disoriented in a new UI. Or they've been using their Internet Explorer 6 cache in lieu of a favorites bar for years and are terrified of losing it. Regardless of the reason, they have the ear of management and they are not budging.


text:
Profile of WeebeeGeebee
Messages - WeebeeGeebee
Pages: 1 2 [3] 4 5 6
ROM Hacking Discussion / Re: Hack ideas: for those without the skill but with all the ideas.
A hack for Sonic 3D Blast that makes it so you use the cardinal directions instead of diagonals... make it play more like Snake Rattle N' Roll or Marble Madness where the directions are all up down left right rather than having to use Diagonal Right / Up to be "Up."
October 21, 2018, 04:05:53 pm - (Auto Merged - Double Posts are not allowed before 7 days.)
"Eh? You mean "up and left simultaneously"? Surely if it sees all four directions, that's enough. Maybe I'm missing something here, but diagonals aren't independent, they're just two directions."
https://www.youtube.com/watch?v=KojJIZ7MM-o
There are no diagonals in this test cart.
https://www.youtube.com/watch?v=YA2FqoVqZYo
There -are- diagonals in this test cart... but it only registers buttons presses from an emulator while in the 4 player multi tap test screen...
Here's an idea.... you know those NES and SNES test carts? The ones with the test screen for the controller inputs?
There's one for NES that is nice but... it doesn't register diagonals, which IMO is pretty stupid. There's another one that -does- register diagonals, it's for the 4 player multi-tap, but it doesn't register button presses from within an emulator. Since people can make stuff like "D-Pad Hero, how hard would it be for someone to just make a nice NES controller test rom that uses decent NES controller graphics, registers diagonals etc?
There are also two Test carts for the SNES, one is a full test cart that tests the electronics and it has a controller test section with really nice "plunk" noises when you press buttons. The other is a Japanese cart that just test the controller, uses the JP / EU button colors, buuuuuut, it has this horrible continuous electronic buzzing sound instead of the nice "plunk" from the US cart. Maybe someone could hack that rom to make it so it's much more pleasant to use.
Quote from: Josephine Lithius on December 30, 2011, 12:16:27 am
Original poster's note: This post and the post that immediately follow were moved to this topic by my request. Sorry for the confusion!
Greetings! I have a rather odd question/request...
Is it at all possible to hack Mega Man & Bass for the Game Boy Advance to allow players to push a single button to make Bass dash? The game is most definitely a fine addition to the classic series and this port is, in my opinion, nearly flawless save for this one stupid oversight. I'd love to be able to do this as I'm pretty much dependent on there being a button dedicated to dashing, as there was in Rockman & Forte on the Super Famicom. Fighting Astroman using the buster alone becomes impossible for a fumble-fingers like me if I keep having to press left or right twice in succession to get out of the way. I'd prefer to be able to press R to quickly zip out of harm's way and keep fighting, even at the expense of being unable to fast-switch weaponry. (Of course, that button could easily be plunked on to the Select button, if I desperately need to scroll either way through weaponry...)
Anyway, here's to hoping this is something that can be fixed! Thanks for reading!
I don't think I can help you on the GBA version, but on the SNES version a long long time ago I used the "code search" feature in Zsnes to narrow down the location of the buttons' code and make some Game Genie codes that would remap the buttons so that R is dash and X and A are the weapon swap buttons... Y and B are still shoot and jump, of course...
AD72-7461
AD7E-7F61
AD7E-74D1
0D7D-5D61
FD7B-8461
I used Game Genie Guy to make an .ips patch, but I haven't a single clue how to submit it to RHDN...
https://ufile.io/nq9sw - Patch is for unheadered rom, and I don't think it matters if the rom is already english-patched or not since it's only changing the button mappings and nothing else.
October 16, 2018, 07:38:16 am - (Auto Merged - Double Posts are not allowed before 7 days.)
Here's some crazy ideas...
A SNES version of "Chip and Dale Rescue Rangers" using the Super Mario 2 SNES engine from All-Stars as the base. Since that game still revolves around the mechanics of picking things up (plants, mushroom blocks, etc). You could take the plants out of the equation entirely... use the Mushroom Block physics to replicate the "metal cans" from Chip and Dale (the ones you can stack up), maybe make an extra variant of it that acts like the wooden boxes but actually travels across the screen unlike the Mushroom Blocks. Bring in the "throw blocks / objects straight up" mechanic from Chip and Dale 2. It would probably be too complicated to make it into a simultaneous 2 Player game, so one character at a time would be fine... maybe you could use the 4 selectable character thing to your advantage and add Gadget and Montey as extra playable characters. Also all enemies would have to be "harmful from all ends" including the top, otherwise it would not be very fair if you could just jump on top of a Metal Dog or whatever and pick it up and throw it around.
If that's too ambitious, then maybe a Chip N' Dale NES hack where you fight against each other in vertical scrolling stages, like that Contra - Mountain Challenge hack, where the goal is to reach an eagle trophy at the top of the stage... except here the only goal would be to survive the level and if you can, knock your opponent off a platform or at least slow them down with a box. You could also have things other than boxes, like the canisters and apples from the first game and maybe baseballs and basketballs and each one would do something different. I dunno... the idea of having a versus Chip n' Dale where the goal is to just trash the other player seems fun, since that's pretty much what people tend to do when you played those games anyway (or at least you did if you were sadistic).
Other idea...a remake of Willow for NES but using Link to the Past as the base... they're very similar as it is, I mean Willow had the ocarina summoning a pterodactyl thing before Link had his weird pelican / bird thing.
Other idea... a hack of Sonic 3 that replaces the characters with those of the indie game Freedom Planet (which originally started out as a Sonic fan-game before the maker decided to make their own IP).
Other idea... a hack of Ducktales 1 on NES that uses sprites, elements and level concepts from Shovel Knight....
ROM Hacking Discussion / Can't get Gun-Dec english patch to work....
I know I could just play Vice - Project Doom, but I wanna play this Gun-Dec english patch... saw a youtube video of it so I know the patch must work, but I have tried both Beat and Flips (which handle .bps patches) but I can't get either to work, and yes, I'm using the Gun-Dec (Japan) rom file. I'm not sure what I am doing wrong...
Personal Projects / Re: Secret Of Mana Gameplay Improvement Hack
"Hum... I have an idea, It could be interesting if items cost goes up depending on how much you carry."
That would definitely work, but how to implement it would be the trick.I don't know how it would get the inventory data to be able to pull it off.
Is there an option to have a different setting for number of items you can have? In the HD remake they have 4, 8, and 12. Odd, number choices. There was also a patch for the rom (by Masterflow) that made it so you can have 9 of each item like in Seiken Densetsu 3's inventory. Having more of an item obviously makes the game easier (depending on the cost of the item in question). Perhaps a way to balance would be by making certain items cost more than usual. Candies should stay cheap, but really important items like Cup of Wishes and Faiery Walnuts should stay pricey so that you have to kill more enemies to be able to afford them.
Gaming Discussion / Secret of Mana 3D is so glitchy.
It's playable... but it's pretty disappointing. It really feels like they didn't even playtest it at all. I was at the Biting Lizard and when I stood in one spot in the playing field my arrow would reverse direction, it went straight up instead of going diagonal towards the enemy. In the place just between Gaia's Navel and Water Palace, the one with the Canon Travel to the right, I killed all the flowers with the Punch Glove, they added a "throw" feature and throwing the enemy messes with the detection, my other characters kept trying to attack a flower that wasn't even there anymore. They added quick binds for using alternate weapons, I get the point, being able to swap between the Sword and Whip on the fly without having to enter the Ring Menu makes plenty of sense, but the way they execute it is really stupid; you have to set both the LB and RB to a weapon, you can't just set one, otherwise when you try to swap you're stuck with that weapon and can't just tap the same button to get back the weapon you had. They also have quick binds for the spells, but this just makes things more confusing. What I really really really find obnoxious is they don't let you remap the buttons - only the keyboard keys. I don't like the fact they set the "swap leader" button to the left and right on the Dpad, I wanted to set that to Select, like on the original Snes game. Or maybe I'd really like to play using the Dpad instead of the analog stick. The lack of options is disheartening. They really didn't put very much thought into this remake, otherwise they would have done more with it, but it's very clearly just an easy cash grab for Square Enix. I highly doubt _anyone_ is dumb enough to drop 40 dollars on such a broken game. Sad, because I had hoped if this remake did well then it would maybe encourage Square to give a similar treatment to Seiken Densetsu 3. Oh well... it'll probably end up being just as unplaytested as this halfassed remake.
I read that Zhade has been working on an improvement patch for original SoM, I'm excited to see how that will turn out.
Nice, and thank you for taking the suggestion into consideration. ^_^
Something I would like to see, if it has not already been mentioned ~ modify the dashing so that, rather than having to waste a charge each time you dash, it just works the same way it would in Chrono Trigger or Teranigma. You just hold down a button and you can run and keep running in whatever directions you like. You aren't forced to keep running in the same direction you were facing. Also, a map indicator for Flammie Mode like there is in Seiken Densetsu 3 would be nice, and would make getting to places easier, probably.
Oh... and dumb idea maybe, but... the ability to have multiple characters use the same weapon? Like, if I wanna give the Sprite and the Girl both the whip... >.>
Gaming Discussion / Re: Can the Wii U Become a full 3-hour portable device
The iPad doesn't have a physical Dpad, analog sticks, buttons.... etc. Imagine trying to play Mega Man X on an iPad and you have your Shoot button as Y and your Jump as B and your Dash as R (my preferred setting over the "double tap to dash" arrangement). You would have a tought time hitting the "virtual" L and R. Even on a PSP you'd still be more comfortable hitting those...
I've been saying for some time that the Wii U -could- have just become the next portable for Nintendo, but that the whole "tethering" thing was just dumb and limiting. Slap a little hard drive in there and let you download games to it, take the Gamepad with you and play on the go.... would've been great. But packing along the whole console and plugging it into a cigarette lighter jack in the van or whatever, it's just too much. For cartridge based stuff like the NES and SNES, that would've been fine, and I did indeed drag my SNES with me on a few camping trips with my parents and it was nice. But discs can get scratched from the constant gyration of the vehicle. Really I would like to see Nintendo at some point just move past the home console market and go straight to portable, internet capable gaming tablets. But they won't do that, I don't see anybody doing that for a long time until tablets really start taking off and showing the big 3 that they're viable as gaming systems.
Quote from: WeebeeGeebee on May 20, 2013, 12:39:48 am
I would also like to see a hack of Secret of Mana that does to SoM what Parallel Worlds did to Z:LTTP. Completely change the landscape to something unfamiliar, expand the story and world, making it a new game entirely (like... maybe after defeating the Mana Beast, Purim and Rhandi have kids and one of them takes up the Mana Sword in the face of a new crisis?).
Quote from: justin3009 on May 20, 2013, 09:14:43 am
There's no complete editor for Secret of Mana (Though I think one was in the works and may still be. But last I heard he's been kind of leaving it), so it'll be ages before that happens sadly.
That sucks... any kind of expanded SoM or Sd3 hack would've been pretty awesome. I mean, looking at stuff like Zelda: Paralell Worlds and the various Chrono Trigger hacks makes me pretty jelly that my two fave games don't have similar treatments.
How about a hack of Chrono Trigger that basically turns it into one giant Doctor Who RPG.
Replace Chrono with Rory.
Replace Marle with Amy Pond.
Replace Magus with the Doc.
Replace the Robot with a Dalek.
Replace the Epoch with the Tardis.
May 20, 2013, 12:47:41 am - (Auto Merged - Double Posts are not allowed before 7 days.)
I would also like to see a hack of Secret of Mana that does to SoM what Parallel Worlds did to Z:LTTP. Completely change the landscape to something unfamiliar, expand the story and world, making it a new game entirely (maybe after defeating the Mana Beast, Purim and Rhandi have kids and one of them takes up the Mana Sword in the face of a new crisis?).
ROM Hacking Discussion / Re: Can Nintendo now profit off romhacks shown on YouTube?
What about games that were never made available stateside and still have yet to see a VC release?
What about fan performances and remixes of Nintendo and other companies' copyrighted music?
Is Squeenix going to start trying to monetize all those videos of Seiken Densetsu 3?
Is Namco going to start knocking on Renard Queenston's door and ask that they be compensated
for his use of the title theme from Splatterhouse 3 in one of his remixes that he released under his
alias, Truxton? - http://www.youtube.com/watch?v=tOmI7HLDYY4 -- 0:45
Are Ninty and others going to start scouring 8bitcollective looking for reworkings of their
stuff so they can send cease and desist letters or "give us our cut" letters to people?
Quote from: Celice on May 17, 2013, 08:39:41 pm
I just happened to notice, aside from this issue, that it could be a bit interesting as far as fan modifications of intellectual property goes, like romhacks for instance, or PC modding.
Orrrrrrrrrrr.... controller adapters. The last thing I want is for Mayflash to get Lik-Sang'd
because Ninty saw mine or someone else's video of a PC USB adapter for one of their
peripherals and decided to crack down on them for "illegal reverse engineering."
I wish there were more hacks for games that don't normally get hacks....
Like Spanky's Quest. The game itself is pretty easy, the gameplay and mechanics are solid and something about playing it is just really.... relaxing. But it's just so damn short. I think it would be great if someone did a hack to increase the number of levels so that the game lasts longer, maybe make some of the level structures a bit more roamy like an older Mario game instead of just being stuck in a room or a level where you can literally keep falling forever. Make it play out more like Little Nemo (another game where you have to find a certain number of keys to pass the door to the next level), have a big environment to traverse so that levels themselves aren't over with in a less than a minute. Maybe also add more balls other than just the existing Baseball, Soccerball, Volleyball and Basketball.... like maybe a football that would keep bouncing end over end along the floor until it hit an enemy or have a "Death Ball" that would be like a black orb covered in electricity that would act sort of like a cross between the sticky Volleyball and the fully leveled up "Dark Force" spell in Secret of Mana. And also put platforms in the boss fights instead of them always just being big empty rooms. --- http://www.youtube.com/watch?v=ROfx4qZZZEs
Gaming Discussion / Re: Has Nintendo forgotten the importance of remapping options?
Quote from: Idkbutlike2 on April 27, 2013, 10:20:21 am
I think the biggest reason they stuck with that setup on the GBA is because it's more comfortable for menu browsing than the setup you show above. Nobody wants to use B and Y to navigate menus. That setup is strictly geared towards action games and platformers, and doesn't provide any real benefit to games lying outside of those genres. Some [PS] games use X to confirm and O to cancel, some switch that around, and yet others use X to confirm and Triangle to cancel... it's such a mess.
On Secret of Mana, when I play that in Zsnes via the old flat Classic,
I have Y set as my "Attack" button, B as "Your Icons / Cancel,"
A as "Ally's Icons" and X as "Dash." I prefer some variation of
this regardless of if it's SoM, SD3 or Tales of Phantasia, because
I always think of Y as my main "confirm" button and B as "Cancel."
Even if I'm playing the PS1 remake of ToP, I still have it like this.
Quote from: Next gen Cowboy on April 27, 2013, 01:17:05 pm
What game doesn't allow for remapping in the options menu?
Usually ones that came out before the SNES, and some SNES games that
for whatever reason, omitted the function (Mega Man and Bass, but thanks
to some nice person on here, I have a patched rom that has R as Bass's Dash).
Irregardless of the fact that SMB and such didn't have remap on the NES, it still
should have been given as an option in the VC menus themselves. They shouldn't
just only allow remapping if the -game- already has remapping in it...
Quote from: Idkbutlike2 on April 26, 2013, 11:58:16 pm
That's because the DS has four face buttons.
Yeaaaaaaaah.... four face buttons in an angled "diamond" arrangement,
which Sega (Dreamcast), Sony (PS) and Microsoft (Xbox), and -sometimes-
Nintendo themselves were smart enough to copy (from the SNES pad)
because it's a damn good configuration that allows the thumb to cover
two face buttons at a time while being in a natural, comfortable angle.
Sometimes Nintendo really needs to just stick to their own precedents...
^fix'd.
The GB, GBC, and GBA only have A and B, which are arranged in a slanted position and are geared towards the control method I showed before.
Oh, I've played GBA games on a GBA... can't say I liked it as much as on DS,
or in VisualBoyAdvance with my old 'flatty' Classic Controller mapped up to it.
F□□K YEAH, MAYFLASH...
Have you ever owned a GameBoy or GBA? They pretty much require that sort of method as well.
Played Klonoa - Empire of Dreams on my bf's older model DS.
That one has the Y attack / B jump arrangement from the get-go,
but it at least allows another control scheme.
And when I've got the choice to re-arrange button configs for
the Classic Controller to my liking with Joy2Key, I don't -need-
to do any weird side-ways side of the thumb button hitting.
All the Zero saga games let you change things around
to your liking, and I always have Y as my attack, B as jump
L as my weapon switcher and R as my dash... with the CC
I have my X button set as a turbo fire and A as a normal jump,
so if I wanna run around auto shooting while still having the
ability to jump, I can....
I don't feel inclined to pay for a system, portable or home,
then pay for games and NOT have a choice of control scheme.
It's not a matter of "whining" or being a pussy, but what's
practical for the way the buttons themselves are laid out.
Hell if anything, their omission of remapping just lends
more reason for anyone to hack their PSP or Vita and
play the games on that with an emulator that they -can-
remap and reconfigure the control scheme on...
Not impossible, but not at all as comfortable as using Y and B
like we've been trained to do since Super Mario World...
The only reason that B and A / 1 and 2 aren't uncomfortable
on the actual NES pad or the Wii Remote is because they're
side by side... in line with one another, you can still hold down
B with the tip of your thumb and hit B with the butt of your thumb.
The control scheme -took advantage of- the button layout...
And a position like in your Gif image is eventually going to cause
one side of the A button to wear down...
Remapping would make it so that such 'Thumb Contortionism' would be unnecessary.
Going from having it on emulators, to not having it on a legit piece of hardware, imo,
puts into perspective this ability that I take for granted when I use the CC on PC.
What did any of you (if you even looked at it) think of my thread on the Nintendo Tech forums? (Yeah, I realize that it has nothing to do with the topic at present though I was thinking of posting a new thread with the image below... though I don't wanna ruffle any feathers, as it stopped being a "free and open discussion board" and started being a "serious tech support board" after they killed off the Nsider forum).
http://s21.postimg.org/ngrefqkc7/Why_Wii_Need_Button_Remapping_small.png


By observing existing products of the rehabilitation market one thing becomes clear. People with functional disabilities are restricted on current technology wheelchairs. Their mobilty is highly confined, even in environments specially designed for them. They are in an almost permanent sitting position and they aren't able to use anything intended for an able-bodied person. A closed door, a light switch or an ATM are out of reach. Existing standing powered wheelchairs are expensive, heavy and bulky. They also lack the ability to overcome small architectural barriers.
Laddroller combines an exoskeleton with a powered wheelchair. It offers simultaneous maneuverability from standing position and posture adjustment without additional complex mechanisms. Laddroller is a light and solid unit with small turning radius and minimal maintenance needs. It operates easily from any position of the user's posture and is able to climb curbs and overcome gaps even going forward thanks to its differentiated approach. High quality metal alloy frame, state of the art electronics, reliable motors and the ease of use, compile a unique, effective and promising product.
Laddroller is a patented invention of Dimitris Petrotos and Marios-Ermis Petrotos, a 3 year R&D project that it is already prototyped.


text:
Q: log4j in grails : how to log into file? I have this log4j configuration in my grails config.groovy
log4j = {
    error  'org.codehaus.groovy.grails.web.servlet',  //  controllers
                   'org.codehaus.groovy.grails.web.pages' //  GSP
    warn 'org.mortbay.log'

    appenders {
        rollingFile  name:'infoLog', file:'info.log', threshold: org.apache.log4j.Level.INFO, maxFileSize:1024
        rollingFile  name:'warnLog', file:'warn.log', threshold: org.apache.log4j.Level.WARN, maxFileSize:1024
        rollingFile  name:'errorLog', file:'error.log', threshold: org.apache.log4j.Level.ERROR, maxFileSize:1024
        rollingFile  name:'custom', file:'custom.log', maxFileSize:1024
    }

    root {
        info 'infoLog','warnLog','errorLog','custom', stdout
        error()
        additivity = true
    }
}

the infoLog,warnLog and errorLog was from the previous question ... they were working well.
now I add new RollingFile wit name "custom" ...
I tried to log from my controller and service using log.info("something .... ${obj}");
but it seems that message was not inserted into custom.log, do I need to add something to the configuration ?
thank you !!

A: just got answer from the grails' mailing list:
i just need to add
debug "grails.app"
bellow warn "org.mortbay.log"
case closed ! :)

A: I have exact the same jetty/tomcat env's. Spent hours to figure it out. The trick is to define the file location (a relative path in my case) as a global variable inside Config.groovy, customized it in the environment blocks, and use the variable location inside log4j closure. Sample code is at: http://denistek.blogspot.com/2010/02/grails-environment-specific-logging-to.html

A: please see Log4j: How to write to a specific appender?

After all the solution is to put the additivity setting to the package configuration:
info specialLog:'activityLog', additivity:false


text:
using Cake.Common.Tests.Fixtures;
using Cake.Common.Tests.Fixtures.Tools;
using Cake.Common.Tools.XUnit;
using Cake.Core;
using Cake.Core.IO;
using NSubstitute;
using Xunit;

namespace Cake.Common.Tests.Unit.Tools.XUnit
{
    public sealed class XUnitRunnerTests
    {
        public sealed class TheRunMethod
        {
            [Fact]
            public void Should_Throw_If_Assembly_Path_Is_Null()
            {
                // Given
                var fixture = new XUnitRunnerFixture();
                var runner = fixture.CreateRunner();

                // When
                var result = Record.Exception(() => runner.Run(null, new XUnitSettings()));

                // Then
                Assert.IsArgumentNullException(result, "assemblyPath");
            }

            [Fact]
            public void Should_Throw_If_XUnit_Runner_Was_Not_Found()
            {
                // Given
                var fixture = new XUnitRunnerFixture(defaultToolExist: false);
                var runner = fixture.CreateRunner();

                // When
                var result = Record.Exception(() => runner.Run("./Test1.dll", new XUnitSettings()));

                // Then
                Assert.IsType<CakeException>(result);
                Assert.Equal("xUnit.net (v1): Could not locate executable.", result.Message);
            }

            [Theory]
            [InlineData("C:/xUnit/xunit.exe", "C:/xUnit/xunit.exe")]
            [InlineData("./tools/xUnit/xunit.exe", "/Working/tools/xUnit/xunit.exe")]
            public void Should_Use_XUnit_Runner_From_Tool_Path_If_Provided(string toolPath, string expected)
            {
                // Given
                var fixture = new XUnitRunnerFixture(expected);
                var runner = fixture.CreateRunner();

                // When
                runner.Run("./Test1.dll", new XUnitSettings
                {
                    ToolPath = toolPath
                });

                // Then
                fixture.ProcessRunner.Received(1).Start(
                    Arg.Is<FilePath>(p => p.FullPath == expected),
                    Arg.Any<ProcessSettings>());
            }

            [Fact]
            public void Should_Find_XUnit_Runner_If_Tool_Path_Not_Provided()
            {
                // Given
                var fixture = new XUnitRunnerFixture();
                var runner = fixture.CreateRunner();

                // When
                runner.Run("./Test1.dll", new XUnitSettings());

                // Then
                fixture.ProcessRunner.Received(1).Start(
                    Arg.Is<FilePath>(p => p.FullPath == "/Working/tools/xunit.console.clr4.exe"),
                    Arg.Any<ProcessSettings>());
            }

            [Fact]
            public void Should_Use_Provided_Assembly_Paths_In_Process_Arguments()
            {
                // Given
                var fixture = new XUnitRunnerFixture();
                var runner = fixture.CreateRunner();

                // When
                runner.Run("./Test1.dll", new XUnitSettings());

                // Then
                fixture.ProcessRunner.Received(1).Start(
                    Arg.Any<FilePath>(),
                    Arg.Is<ProcessSettings>(p => p.Arguments.Render() == "\"/Working/Test1.dll\""));
            }

            [Fact]
            public void Should_Set_Working_Directory()
            {
                // Given
                var fixture = new XUnitRunnerFixture();
                var runner = fixture.CreateRunner();

                // When
                runner.Run("./Test1.dll", new XUnitSettings());

                // Then
                fixture.ProcessRunner.Received(1).Start(
                    Arg.Any<FilePath>(),
                    Arg.Is<ProcessSettings>(p => p.WorkingDirectory.FullPath == "/Working"));
            }

            [Fact]
            public void Should_Throw_If_Process_Was_Not_Started()
            {
                // Given
                var fixture = new XUnitRunnerFixture();
                fixture.ProcessRunner.Start(Arg.Any<FilePath>(), Arg.Any<ProcessSettings>()).Returns((IProcess)null);
                var runner = fixture.CreateRunner();

                // When
                var result = Record.Exception(() => runner.Run("./Test1.dll", new XUnitSettings()));

                // Then
                Assert.IsType<CakeException>(result);
                Assert.Equal("xUnit.net (v1): Process was not started.", result.Message);
            }

            [Fact]
            public void Should_Throw_If_Process_Has_A_Non_Zero_Exit_Code()
            {
                // Given
                var fixture = new XUnitRunnerFixture();
                fixture.Process.GetExitCode().Returns(1);
                var runner = fixture.CreateRunner();

                // When
                var result = Record.Exception(() => runner.Run("./Test1.dll", new XUnitSettings()));

                // Then
                Assert.IsType<CakeException>(result);
                Assert.Equal("xUnit.net (v1): Process returned an error.", result.Message);
            }

            [Fact]
            public void Should_Throw_If_HtmlReport_Is_Set_But_OutputDirectory_Is_Null()
            {
                // Given
                var fixture = new XUnitRunnerFixture();
                var runner = fixture.CreateRunner();

                // When
                var result = Record.Exception(() => runner.Run("./Test1.dll", new XUnitSettings
                {
                    HtmlReport = true
                }));

                // Then
                Assert.IsType<CakeException>(result);
                Assert.Equal("Cannot generate HTML report when no output directory has been set.", result.Message);
            }

            [Fact]
            public void Should_Generate_Html_Report_If_Enabled_In_Settings()
            {
                // Given
                var fixture = new XUnitRunnerFixture();
                var runner = fixture.CreateRunner();

                // When
                runner.Run("./Test1.dll", new XUnitSettings
                {
                    OutputDirectory = "/Output",
                    HtmlReport = true
                });

                // Then
                fixture.ProcessRunner.Received(1).Start(
                    Arg.Any<FilePath>(),
                    Arg.Is<ProcessSettings>(p =>
                        p.Arguments.Render() == "\"/Working/Test1.dll\" \"/html\" \"/Output/Test1.dll.html\""));
            }

            [Fact]
            public void Should_Throw_If_XmlReport_Is_Set_But_OutputDirectory_Is_Null()
            {
                // Given
                var fixture = new XUnitRunnerFixture();
                var runner = fixture.CreateRunner();

                // When
                var result = Record.Exception(() => runner.Run("./Test1.dll", new XUnitSettings
                {
                    XmlReport = true
                }));

                // Then
                Assert.IsType<CakeException>(result);
                Assert.Equal("Cannot generate XML report when no output directory has been set.", result.Message);
            }

            [Fact]
            public void Should_Generate_Xml_Report_If_Enabled_In_Settings()
            {
                // Given
                var fixture = new XUnitRunnerFixture();
                var runner = fixture.CreateRunner();

                // When
                runner.Run("./Test1.dll", new XUnitSettings
                {
                    OutputDirectory = "/Output",
                    XmlReport = true
                });

                // Then
                fixture.ProcessRunner.Received(1).Start(
                    Arg.Any<FilePath>(),
                    Arg.Is<ProcessSettings>(p =>
                        p.Arguments.Render() == "\"/Working/Test1.dll\" \"/xml\" \"/Output/Test1.dll.xml\""));
            }

            [Fact]
            public void Should_Not_Use_Shadow_Copying_If_Disabled_In_Settings()
            {
                // Given
                var fixture = new XUnitRunnerFixture();
                var runner = fixture.CreateRunner();

                // When
                runner.Run("./Test1.dll", new XUnitSettings
                {
                    ShadowCopy = false
                });

                // Then
                fixture.ProcessRunner.Received(1).Start(
                    Arg.Any<FilePath>(),
                    Arg.Is<ProcessSettings>(p =>
                        p.Arguments.Render() == "\"/Working/Test1.dll\" \"/noshadow\""));
            }

            [Fact]
            public void Should_Set_Silent_Mode_If_Enabled_In_Settings()
            {
                // Given
                var fixture = new XUnitRunnerFixture();
                var runner = fixture.CreateRunner();

                // When
                runner.Run("./Test1.dll", new XUnitSettings
                {
                    Silent = true
                });

                // Then
                fixture.ProcessRunner.Received(1).Start(
                    Arg.Any<FilePath>(),
                    Arg.Is<ProcessSettings>(p =>
                        p.Arguments.Render() == "\"/Working/Test1.dll\" /silent"));
            }
        }
    }
}

redpajama_set_name: RedPajamaGithub


text:
Victoria  is a Metropolitan Borough of Sefton ward in the Bootle Parliamentary constituency that covers the locality of Great Crosby. The population of this ward at the 2011 census was 13,252.

Councillors

Election results

Elections of the 2020s

Elections of the 2010s

Elections of the 2000s

References

Wards of the Metropolitan Borough of Sefton

redpajama_set_name: RedPajamaWikipedia


text:
Simon Fraser Alumni Award
The SFU Alumni Association is pleased to announce the 2009 Outstanding Alumni Award recipients:
Lyn Hancock, BEd '77, MA '81
Author, Photographer, Environmentalist, Educator
"A distinguished author, photojournalist, lecturer and filmmaker for over 40 years, Lyn Hancock has published 20 books and countless articles in newspapers and magazines around the world. Ever true to her calling as an educator, Lyn has taught thousands of children about wildlife habits and habitats. Through her talent, creativity and endless enthusiasm, she has shared her passion for nature with three generations of Canadians" (SFU Alumni Association).


Local term time day nursery just been awarded Good by ofsted. Funded places available for 2-4 year olds. Times and sessions to suit each individual. Fully qualified staff with on going training also all staff hold a first aid certificate. Home cooked meals cooked on site. New pre school facility opening shortly.


… and it's 2.5 years since I actually blogged. This is scary, but life has been rather crazy.
So this year I'm going to make a little more of an effort, so I'm starting here. The blog will change a little over the next while, because I'm going to move it to my own website, and try and persuade both blogspot and livejournal to pick it up via RSS. I'll still be retaining a blog here for things I don't necessarily want the entire world to know, but I need to get off my chest.
Last night I had the pleasure of heading to an old schoolfriend's for New Year's Eve. I hadn't seen Judith since we left school, and she was the only person I knew, but she has some cool friends. It was also warmer in Orlock than it was in Belfast – no ice to scrape off the windscreens.


Meet the cat who stole the show at the 141st Annual Westminster Kennel Club Dog Show press conference. Jungletrax Abiding Ovation, is 3-year-old Bengal from Maryland.
Samwise & Magnolia, adorable Bengal kittens born June 28th, 2016, may be two of the cutest little things ever! Get ready to fall in love.
Krys S enjoys a little chit chat with Molly the Bengal kitten, who meows back when he talks to her.
When Bengal kittens Loki and Freya play on the cat tree a dangling pom pom is the big attraction.
Kitty gives her doggie friend a gentle head massage, by making biscuits on him.
Mama Bengal kitty talks to her kitten in this sweet, heartwarming video.
Jackie K., a veterinary student employed at Animal Hospital of Oshkosh made this new video on the amazing Bernice and her recovery from severe burn injuries.
Leo defended his turf and scared off an intruder by yowling up a commotion during an attempted burglary.


To celebrate our new location we are having an Open House on September 27th from 12:00-5:00. Come see our new location and learn about our warm water swimming and massage services. Informational swim demonstrations will be given every 15 minutes from 1:00-4:00. Visit with adoptable dogs at the Oregon Humane Society's Westside Adoption Center, and enjoy snacks provided by LexiDog. We hope to see you there!
Next Next post: Our Pool is Always Warm!


text:
What do we do with Fantasy Final now?
By cyclone24, January 3 in FFToday Board
Our guys in the championship came up with a resolution so I sent the champ this text
Works for me. I think you both paid through venmo so I'll send back that way. Congrats*
AxeElf 746
53 minutes ago, Showboat said:
It's about as convoluted as the NFL's solutions to use a coin flip to determine home field advantage and hold the AFC title game at a neutral site. The game was cancelled - starters in that game should get a zero, same as if they had sprained an ankle in pre-game warm-up and didn't play.
Totally this.
The final score is the final score.
Nobody else in the history of fantasy football has ever been declared a co-champion or had to split the pot because one or more of his opponent's players did not earn the points that were projected for them. This is really getting out of control.
Update: I checked my Account Balance, and I *did* win the league, outright. Was paid the 1st place prize money.
Check that.. Commission e-mailed me.. I *did* end up splitting the 1st and 2nd place amounts with the other final contestant.


text:
In Every Heartbeat by Kim Vogel Sawyer
In Every Heartbeat Bethany House (September 1, 2010)
Kim Vogel Sawyer is the author of fifteen novels, including several CBA and ECPA bestsellers. Her books have won the ACFW Book of the Year Award, the Gayle Wilson Award of Excellence, and the Inspirational Readers Choice Award. Kim is active in her church, where she leads women's fellowship and participates in both voice and bell choirs. In her spare time, she enjoys drama, quilting, and calligraphy. Kim and her husband, Don, reside in central Kansas, and have three daughters and six grandchildren.
As three friends who grew up in the same orphanage head off to college together, they each harbor a cherished dream.
Libby Conley hopes to become a famous journalist. Pete Leidig believes God has called him to study to become a minister. And Bennett Martin plans to pledge a fraternity, find a place to belong, and have as much fun as possible.
But as tensions rise around the world on the brink of World War I, the friends' differing aspirations and opinions begin to divide them, as well. And when Libby makes a shocking discovery about Pete's family, will it drive a final wedge between the friends or bond them in ways they never anticipated?
If you would like to read the first chapter of In Every Heartbeat, go HERE.
Read More In: In Every Heartbeat by Kim Vogel Sawyer, Kim Vogel Sawyer