text:
Q: Detect if mysql or mysqli is being called for connection is there a way to check which type of mysql connection is being called mysql or mysqli. what I want to do is have a If statement to call mysql or mysqli connection until I can change out all my coding.
this is my current connection file. would just duplicating what's below but with mysqli accomplish what i'm trying to do?
$dbc = mysql_connect ($db_server, $db_user, $db_pass);
mysql_select_db ($db_name) or die(mysql_error());

    $g_link = false;

    function GetDbConn()
    {
        global $g_link;
        if( $g_link )
            return $g_link;
        $g_link = mysql_connect( 'localhost', 'username', 'password') or die('Could not connect to server.' );
        mysql_select_db('social_db', $g_link) or die('Could not select database.');
        return $g_link;
    }

    function CleanUpDB()
    {
        global $g_link;
        if( $g_link != false )
            mysql_close($g_link);
        $g_link = false;
    }

A: You can use get_resource_type  function:
if(is_resource($g_link)  &&  get_resource_type($g_link)=='mysql link'){
   echo 'MYSQL';
}else{
    if(is_object($g_link)  && get_class($g_link)=='mysqli'){
        echo 'MYSQLI';
    }

}

Also, it's better to save connection type when you want to create connection and then use it.

A: There is absolutely no point in checking which type of mysql connection is being called mysql or mysqli.
While changing "all your coding", you have to make use of some sort of db access library, which will be obviously using a new driver as it's underlying level. And as this library obviously have to be written using new api, no verifications ever needed.
While just rewriting old api calls to the new api calls will make no sense.

redpajama_set_name: RedPajamaStackExchange


text:
Kid Tested, Parent Approved Adventures for Every Child in Cody Yellowstone
CODY, Wyo., April, 14, 2022 – One of the best things parents can do for their children is to provide them with memories of vacation adventures that they will cherish forever. In Cody Yellowstone, home to the world's first national park, abundant wildlife and a rich and sometimes-raucous history, there is an adventure around every bend.
"'Remember when' is how my own extended family's dinner conversations often begin, and the rest of the sentence is usually about a shared adventure we had when I was growing up," said Ryan Hauck, executive director of Cody Yellowstone. "It's easy to make those kinds of lifelong memories here in Cody Yellowstone where there is such an array of adventures."
Regardless of whether kids love to get dirty in the outdoors, see entertaining shows or learn about history, there's an adventure for every child, Hauck said.
Here are a few of the kid-tested, parent-approved adventures families can experience this summer in Cody Yellowstone.
For Nature Lovers
Hiking – Families will find meandering in-town walking trails, riverside trails in the Shoshone National Forest and everything from easy boardwalks to serious mountain treks in Yellowstone National Park.
Horseback riding – Cody Yellowstone is home to the Dude Ranches Association and multiple dude and guest ranches. The term "dude" even originated in the area and was used to describe Easterners who paid to work ranches for their vacation. Multiple outfitters and numerous horse-centric establishments offer pony rides, trail rides or multi-day horse-packing trips perfect for multi-generational equestrian fun. There are also numerous guided horseback riding trips in Yellowstone National Park.
Biking – Biking is great way to explore the town of Cody and the surrounding area. There are numerous bikeable streets and trails in and around town. With more than 10 miles of trails, Beck Lake Bike Park is another option for pedaling families. Spring and fall are the prime pedaling seasons in Yellowstone National Park.
Rafting, paddling and boating – There are several places in the region where families can raft and paddle the day away. Multiple outfitters offer rafting trips on the scenic Shoshone River. Located just a few miles from downtown Cody, the Buffalo Bill Reservoir in Buffalo Bill State Park features boating, and it is a hot spot for windsurfing too. Yellowstone Lake in Yellowstone National Park is also a great place for splashy fun. Families can also take guided boating and paddling trips and rent canoes and kayaks.
Fishing – Good for the soul as well as the planet, there is so much fishing in and around Cody and Yellowstone National Park that even local anglers can't tell you just how many streams, rivers, lakes, creeks and tributaries there are in the destination. There are numerous outfitters in Cody who will take families on guided trips and help them get geared up for a day of angling.
Mentock Park – With a water park, playground, picnic shelter, grills and skate park, this complex is perfect for shaking off the traveling cobwebs.
For History Buffs
Old Trail Town/Museum of the Old West – Parents who walk through Old Trail Town with their kids are likely to hear comments about just how tiny those cabins, schools and stores were "back then." Old Trail Town is an ingeniously staged "town" with some 26 authentic cabins and other buildings from spots in and around the state of Wyoming. While there, let the kids try their hands at roping a wooden calf.
Cody Trolley Tour – This fun and informative one-hour tour travels around the town and as far as the Buffalo Bill Dam while an on-board narrator introduces riders to the town's attractions, history and legends.
Travel Storys – Explore downtown Cody and drive to Yellowstone in the company of an audio tour guide. The walking tour highlights the town's historic landmarks and discusses the colorful characters like Buffalo Bill Cody who worked to create a town that would inspire and delight its visitors. Then buckle up and join a guide on a narrated drive along the Buffalo Scenic Byway from downtown Cody to Yellowstone National Park's East gate, called the most scenic 52 miles in the United States by President Theodore Roosevelt. The free app was created by Travel Storys in partnership with Cody Yellowstone and the Buffalo Bill Center of the West.
Old Yellowstone Road and Hayden Arch Bridge –The only example of its kind in Wyoming, the Hayden Arch Bridge crosses the Shoshone River on the old US 14/US 16 highway. It's an easy hike that shows what drives were like before roads were built for today's traffic.
Buffalo Bill Center of the West (BBCW) – The Buffalo Bill Center of the West is a world-renowned cultural and educational powerhouse with five museums under one roof. The Buffalo Bill Museum features interactive exhibits spotlighting the showman's life and times, including the legendary Wild West Show. The Draper Museum of Natural History inspires youthful adventurers with displays that showcase the sights, sounds and even the smells of the region with interactive, innovative exhibits. The center also includes the Plains Indian Museum, Cody Firearms Museum and Whitney Western Art Museum, all with exhibits that will prompt the imagination of youthful visitors. The museum also features special exhibits and interactive programs great for kids such as Cowboy Rich's Chuckwagon Dinners and a Live Raptor Experience.
Heart Mountain Interpretive Center – Children may still not fully understand why thousands of Japanese-Americans lived in internment camps during World War II, but they will remember how they lived after seeing this powerful, award-winning museum situated at the site of the Heart Mountain Internment Camp. Designed to resemble the typical barracks-style accommodations that housed its 14,000 internees, the center depicts how families lived in poorly lit rectangular buildings, slept on cots and endured a harsh climate and lack of privacy. There are also displays highlighting poignant stories of friendship, endurance and patriotism.
Buffalo Bill Dam & Visitor Center – Completed in 1910, the Buffalo Bill Dam was once the tallest concrete arch dam in the world, and its visitor center showcases not only the dam's masterful engineering but also emphasizes its impact on tourism and agriculture in the valley. Kids with a penchant for science will learn how water was as much a concern in the days of Buffalo Bill Cody as it is in the West today.
Road-tripping on Scenic Byways – Road-trippers have been traveling to Cody Yellowstone since 1917, when the first private automobiles were allowed in Yellowstone National Park. In fact, Cody town founder Buffalo Bill Cody chose the town's location in order to capture the attention (and dollars) of travelers as they were driving along the new "Road to Yellowstone" – now called the Buffalo Bill Scenic Byway. Cody Yellowstone features five different Scenic Byways, and all offer a variety of classic Western stops and experiences.
For Those Who Want a Local Experience
Cody Nite Rodeo – Cody has been the Rodeo Capital of the World since it began its nightly summer-season rodeo in 1938, and generations of visitors have experienced their first rodeo at the town's revered rodeo grounds. The two-hour performances are every night June 1 through Aug. 31.
McCullough Peaks Wild Horses – Observe the free-roaming mustangs that are descendants of Buffalo Bill's Wild West Show horses. Located about in the McCullough Peaks area 17 miles east of Cody, these horses and their ancestors have been roaming the range for more than a century.
Shop for New Western Wear –Shops are abundant in town. Those cowboy boots and hats, snazzy skirts, bolo ties and plaid shirts are more than clothing. They're memories of a classic vacation that will be rekindled every time they are worn.
Millstone Pizza Arcade – Since you're taking the classic vacation, why not enjoy some classic arcade games?
Downtown Cody Gunfight – Watch the wacky Wild Bunch perform a "gunfight" with a gun safety message. The place to be on summer evenings is outside the Irma Hotel to watch this supremely entertaining group of actors engage in Western skits that always end up in a gunfight. Want a guaranteed seat? Buy a reserved seat for $2 through Cody Trolley Tours, which departs from the same location.
Annie's Soda Saloon – Annie's serves up ice cream sodas and sundaes as well as a big helping of nostalgia.
For Music Lovers
Wild West Spectacular – For six weeks every summer, audiences are wowed by this musical extravaganza that tells the story of the legend of Buffalo Bill Cody. The production features talented dancers and singers from around the region, and it is celebrating its fifth anniversary in 2021.
Cody Cattle Company – This chuckwagon dinner features an authentic Western dinner and live musical performances by award-winning musician Ryan Martin and the Triple C Cowboys band.
Live music in Yellowstone National Park – Several of the park hotels offer live musical entertainment on select days throughout the summer.
Concerts in the Park– These free weekly performances during July and August at the City Park bandshell are a hit among locals and visitors alike.
Home of the Great American Adventure, Cody Yellowstone is comprised of the northwestern Wyoming towns of Cody, Powell and Meeteetse as well as areas inside of Yellowstone National Park and the valley east of the entrance. The region is known for rodeos, authentic guest and dude ranches, world-class museums and recreational adventures that reflect the adventurous spirit of the visionaries and explorers who brought the remote region to the world's attention.
#YellowstoneCountry
#Yellowstone150
#CodyWyoming
#CenteroftheWest
#BuffaloBill
#ThatsWY
#NorthwestWyoming
Mesereau Travel Public Relations
Share your Adventure!

redpajama_set_name: RedPajamaCommonCrawl


This entry was posted on Monday, March 1st, 2004 at 12:15 pm	and is filed under North America, Restaurants. You can follow any responses to this entry through the RSS 2.0 feed. Responses are currently closed, but you can trackback from your own site.


text:
Surgical Associates Northwest Surgical Associates Northwest Home
Kirby J. Lautman, M.D.
Mark D. Hegewald, M.D.
Ryan E. Stern, M.D., M.P.H.
David M. Johnson, M.D.
Dick L. Hoistad, M.D.
Ear Disorders
PROPEL® Sinus Stent
PROPEL® Patient Stories
Nasal Polyps and SINUVA
Thyroid Surgeries
Adult and Pediatric Tonsillectomy
Federal Way Office
ASC in Federal Way
Board Certified ENT Doctor in Federal Way, WA
Dr. Stern has been named one of Washington's Top 10 ENT surgeons.
Dr. Stern has been treating patients in the Pacific Northwest as a board-certified head and neck surgeon for over 20 years. Dr. Stern is a Clinical Associate Professor of Surgery, serving on the surgical faculty at the University of Washington School of Medicine for over 15 years. Dr. Stern has won numerous awards along the way including being named one of Washington's Top 10 ENT Surgeons and now 5-year running Patients Choice Award. He has been a proud partner at Surgical Associates NW since 2007.
Dr. Stern grew up in Santa Rosa, California. He earned his undergraduate degree from Johns Hopkins University with honors. Ryan received his medical degree with honors from the New York University School of Medicine after having been awarded the Howard Hughes Medical Institute's Medical Research Fellowship which he completed at the University of California – San Francisco School of Medicine. Ryan completed his Otolaryngology-Head and Neck Surgical residency at the University of Washington. He also earned his Master of Public Health degree with honors from the University of Washington.
Dr. Stern enjoys helping all types of patients and even the most challenging surgical cases. He has been teaching students for over a decade at the UW. Almost every Monday he can be found training residents and providing care to our veterans at Seattle's VA Hospital on Beacon Hill. The rest of the week is spent in South Puget Sound at Surgical Associates NW.
Ryan met his wife, Jamie, during their first year in college at Hopkins and they were married a few years later. Their oldest daughter Ilana graduated from Garfield High School in Seattle in 2021 before starting college on the East Coast. Their son was born in 2009, now a crazy middle schooler. Miriam the "miracle" is their youngest daughter and was born in 2016. When he is not working, teaching, or chasing his children, Dr. Stern can usually be found shredding the ski slopes, playing softball, squeezing in some poker games, or catching up on major league baseball.
Schedule an appointment with Dr. Stern for the diagnosis and treatment of ENT conditions.
Our office is affiliated with
St. Francis Hospital
MultiCare Auburn Medical Center
UW Medicine/Valley Medical Center
Veterans Affairs Puget Sound Health Care System-Seattle
Get directions to our two convenient locations!
34612 6th Ave S, Suite 200
222 Second St NE
Copyright 2023 Surgical Associates Northwest | Privacy Policy | Statement of Non-Discrimination | Sitemap | Marketing by Practis | Search


This beautiful large two-story home sits on 3 acres with a breeze-way connecting the large garage complete with a work shop! Three bedroom, two bath, and two rooms that are being used for office areas. Plenty of shade trees for the summer plus DeQueen lake is just minutes away!!


Julie Matheney, MS, CCC-SLP, CLEC, earned her Masters in speech-language pathology from Miami University in Oxford, Ohio. She worked with infants and children with pediatric feeding disorders. After moving to California from the Midwest, she worked at Simi Valley Hospital in their pediatric unit before transferring to Providence Holy Cross where she works in the Neonatal Intensive Care Unit. While most people assume speech therapists work with speech and language, the bulk of her job is feeding and swallowing. The same things you speak with, you eat with! She became lactation certified in 2012 and enjoys helping both mother and baby in the feeding process.
I knew even as a child that I should be working with infants. When I was just 10 years old I wrote a "manual" for caring for babies. The field of speech pathology was very attractive to me as it allowed me to work with feeding babies without needing to do the hard job of needles, shots, and medications. My education at Miami University in Oxford, Ohio provided me with the opportunity to be trained at Cincinnati Children's Hospital in the NICU, an important base that I needed to start my career. After living for two years in Costa Rica doing missions and relief work in an impoverished community, I decided to leave the cold of the Midwest behind and settle in California. I'm so glad I did! I met my husband out here and together we have a beautiful infant daughter. My lactation training went from being technical to applicable. I'm a full time working mom with an exclusively breast milk fed baby. I understand the unique challenges this brings to a family dynamic and am excited to help you with your unique breastfeeding challenges. I'm excited to empower you with the knowledge and skills you need for breastfeeding before your new bundle of joy arrives. Sometimes feeding can be difficult at the start. I will come alongside you to help get everything in track for successful feeding.


So that you are planning to buy dinner dishes? What types of dinner plates you want is solely for you to decide. But a little research is needed mainly because it also reflects your choice and elegance statement. Another important question to consider is the quality belonging to the dinner plate you are looking to buy. You can choose from metal plates to glass dinning plates. Material plates are also good but are seldom used for dinner goal as it looks very classic. However , you can get a vast range of designs, colors, and styles in glass plates. As we all know that dinner plates are used for ingesting meals and are different from serving plates. Glass dining number plates are preferred to china's websites plates as they are classy and fragile. Dinner plates contain a range of materials starting from porcelain, glass, wood and plastic. It depends upon your decision. However , it has been seen that one of the most commonly used materials are tumbler and porcelain. Similarly, persons also prefer glass dining plates to plastic or wooden plates for dinner uses as it looks far more elegant and stylish. Being a consumer actually need a choice between Chinese and glass dining dishes. Most of people opt for glass dining dishes as it looks trendy and suitable for any occasion. In addition, you can choose from the striking recycled glass plates to rounded dining plates depending on your taste. However , the afterward are more conventional, whereas bias or square dishes provide a new and trendy look.
Hsmaritsa - L118 light gun wikipedia. The l118 light gun is a 105 mm towed howitzer it was originally produced for the british army in the 1970s and has been widely exported since, including to the united states, where a modified version is known as the " m119 howitzer ". The poster corp andrew chittock stocktrek images. The poster corp andrew chittock stocktrek images howitzer 105mm light guns are lined up at camp bastion afghanistan photo print 43, 18 x 28, 96 cm g�nstig auf : kostenlose lieferung an den aufstellort sowie kostenlose r�ckgabe f�r qualifizierte artikel. M101 howitzer wikipedia. The 105 mm m101a1 howitzer previously designated m2a1 was an artillery piece developed and used by the united states it was the standard u s light field howitzer in world war ii and saw action in both the european and pacific theaters. Howitzer 105mm light guns are lined up at camp bastion. Cheap plaques & signs, buy directly from china suppliers:howitzer 105mm light guns are lined up at camp bastion afghanistan poster print 17 x 11 enjoy free shipping worldwide! limited time sale easy return. : howitzer 105mm: home & kitchen. Howitzer 105mm light guns are lined up at camp bastion afghanistan poster print 34 x 22 by stocktrek images $ $ 58 92 free shipping on eligible orders british soldiers test fire a howitzer 105mm light gun poster print 17 x 11 by stocktrek images $ $ 14 99 free shipping on eligible orders howitzer 105mm light guns are lined up at camp bastion afghanistan poster print 17 x. Posterazzi howitzer 105mm light guns are lined up at camp. Howitzer 105mm light guns are lined up at camp bastion, afghanistan was reproduced on premium heavy stock paper which captures all of the vivid colors and details of the original. Howitzer stock photos & howitzer stock images alamy. Howitzer 105mm light guns are lined up at camp bastion, afghanistan a us army soldier fires his m 777 155mm howitzer september 3, 2011 in paktika province, afghanistan camouflaged british howitzer, ww1. 105mm howitzer stock photos and images. Howitzer 105mm light guns are lined up at camp bastion, afghanistan a new york national guard uh 60 blackhawk helicopter from army aviation support facility 3 in latham, n y airlifts a 105mm howitzer via a prepared static line at fort drum's operating post 3 on july 20. : howitzer 105mm free shipping by amazon. Howitzer 105mm light guns are lined up at camp bastion afghanistan poster print by andrew chittockstocktrek images 17 x 11 by posterazzi $ $ 14 25 free shipping on orders over $25 shipped by amazon usually ships within 2 to 3 days howitzer 105mm light guns are lined up at camp bastion afghanistan poster print by andrew chittockstocktrek images 34 x 22 by posterazzi $ $ 56. Image gallery howitzer gun. India's $4 bn howitzer gun buying spree: why russia may not have this gigantic german gun can ruin your week from 30 miles away howitzer 105mm light guns are lined photograph by andrew chittock procurement nadir: india's murky, messed up howitzer competitions msta s 2s19 152mm self propelled.


The Savile Rogue Deluxe cashmere scarf for Portland Timbers fans is a luxurious soccer scarf in green and white. The presentation box makes it a great gift.
This scarf is not official Portland Timbers merchandise and displays no club crest, so you can wear it to the match and on non-soccer occasions.
Savile Rogue also offer green and white cashmere football scarves in other styles and lengths..


text:
Home Forums > Politics | Economics | Social Affairs > National Politics >
Gorakhpur and the Ghost of Gangadhar Adhikari
Discussion in 'National Politics' started by dray, Mar 25, 2017.
dray 2nd Lieutant IDF NewBie
Rahul Pandita
Whether liberals like it or not, the story of Hindu consolidation is not over yet
AFTER YOGI ADITYANATH was declared Uttar Pradesh's Chief Minister, his supporters and closet supporters have been arguing that he deserves a chance. That, he is getting already, whether some people like it or not. On social media, his supporters have mauled even right-wingers who have expressed their disagreement with this decision; they see Adityanath's shift from Gorakhpur to Lucknow as the new dawn of militant Hindutva.
On his part, Adityanath has said in a statement in the Lok Sabha that his government will uphold law and order and that there will be no discrimination against anyone. But it is clear that there will be an assertion on Hindutva lines even if he ensures that no communal riots break out in the state. His guidelines to the police include strict action against cow slaughter, while the sealing of some slaughterhouses is underway. The new government is allocating 25 acres of land for setting up a Ramayana museum in Ayodhya.
Unlike his predecessors, Adityanath will have no use of the symbolism of skullcaps and chequered Arab scarves. A day after he was sworn in as Chief Minister, priests from the Gorakhnath math conducted a special puja at his official residence, painting swastikas with vermillion on both sides of the main gate. This is what his supporters expected and this is what he has professed. Those who stand in opposition to Adityanath may put up video clip after clip of his anti-Muslim and anti-women remarks on social media. But those who are happy with his ascension to UP's throne see this as a special attribute and not a handicap.
This mandate of 2017 in UP is different from the one Atal Bihari Vajpayee got in 1998 or 1999; it is not even like 2014 when Narendra Modi won a clear majority. In 2014, people voted for Modi for different reasons. Some voted for him as a mascot of Hindutva. Some voted for him in the name of development; some stood in long queues because they wanted a Prime Minister 'as strong as Indira Gandhi'. In 2014, the vote was overwhelmingly for Modi, rather than the BJP. It is the same this year in UP, except that a clear consolidation of Hindu votes has happened this time, putting the BJP at an advantage which it is likely to be replicated in other elections. The 2017 vote is not for bridges or hospitals, but for Hindutva. This election has also exposed the implausibility of a Dalit-Muslim alliance. Whereas a significant number of Dalits and other backwards castes voted for Modi, it is also an election where the Muslim vote has become irrelevant. The BJP's pro-poor schemes like Ujjwala (for LPG gas connections) may have worked to Modi's advantage, but the people who voted for him have mostly done so on the 'shamshaan versus kabristaan' narrative of cremation grounds and graveyards. And an obvious embodiment of that mandate is Yogi Adityanath.
Why has it happened? It is pertinent to go back to what the scholar Bhagwan Josh calls the nationalist core of Indian politics. In an article published in The Times of India on August 4th, 1993, Josh argues that 'the historical process of the formation of the Indian nation and nation-state is structured through nationalism—a nationalism which more or less overlaps with the Hindu cultural internality… a pragmatic form of politics which does not take nationalism as its point of departure would always remain provincial and factional.' Josh writes that the Congress party has had an encompassing vision of nationalism over what he calls the three codes of mass consciousness: caste, class and community. Barring Congress, other parties would use one of these codes to align themselves with a group of people. The communists, for example, use the class code, while parties like the Bahujan Samaj Party use caste. The BJP, which was largely seen as aligned with the (Hindu) community code, has now been able to break into other codes. In the UP elections, the party has made inroads into Mayawati's vote base. The RSS-BJP combine has worked among Dalits and backwards castes, making many of them a part of the Hindu umbrella. Many among UP's Nishads (a community of boatmen), for example, have been co-opted with the story of Kewat who helped Lord Rama cross the River Ganga in his boat. While Ujjwala is a scheme any Left government would have been proud of, demonetisation has surprisingly worked in favour of the Modi Government. While the poor were badly hit, the message that it managed to convey to them is that it has hit the rich more and will eventually benefit the have-nots. As far as the community is concerned, Adityanath offers the best key to its code.
The BJP's ideology, of course, appeals to those who have a belief in Savarkarite militarism. But why have so many liberal Hindus, the type who are heard talking about building a hospital rather than a temple at the disputed site in Ayodhya, also taken refuge under Modi's umbrella? Some answers may lie in a recent article in the Financial Times written by the British commentator David Goodhart in which he cites reasons why he broke up with his 'liberal London tribe'. Goodhart divides British society into largely two sections, the Anywheres 'who value autonomy and fluidity' and the Somewheres who are more rooted and 'prioritise group attachments and security'. Both worldviews have a right to exist, but, as Goodhart says, 'on the so-called 'security and identity' issues that have loomed large in recent years, they have created a dismayingly large gulf in British society.' This is also true of India currently. Islamist extremism and the threat of terrorism have not remained confined to Kashmir. The turning of a blind eye to Muslim fundamentalism, as practised by the Congress party and followed zealously by the Left and by Lohiaites, and their utter disregard of the Hindu identity have led to a large chasm that the Modi-led BJP has effectively filled. As more and more Hindus think their interests are being threatened, they are gravitating towards a more assertive form of Hindutva.
The over-ground sympathisers of Maoists have organised several events where they openly supported Kashmir's call for azaadi, and embraced the pro-Pakistan radical Islamist leader, Syed Ali Shah Geelani
It is easy to dismiss this fear by asking how a Hindu can feel threatened in a Hindu-majority country. But as Goodhart writes: 'an emotionally mature liberalism must also accept that white majorities, not just minorities, in western societies have ethnic attachments too…' Goodhart is speaking in very particular terms. But the crisis that skewed liberalism has perpetuated in India is far more sinister. And it begins long ago, even before India's independence, with a man named Gangadhar Adhikari.
IN 1942, THE Communist Party of India (CPI) passed a resolution in favour of the creation of Pakistan. It endorsed the formation of Pakistan as a front against British colonialism. The resolution was based on a thesis propagated by one of the party's senior leaders, Gangadhar Adhikari. Advocating a Balkanisation of India, the Adhikari thesis said that India was never a united country and that the idea of 'one nation, one people, one language' never existed at any point in the country's history. Adhikari advocated a declaration of rights that would 'give to the Muslims wherever they are in an overwhelming majority in a contiguous territory which is their homeland, the right to form their autonomous states and even to separate if they so desire'. It was just a reflection of Stalin's definition of a nation, which, as the historian Ishtiaq Ahmed has pointed out, Stalin ensured remains just an exercise on paper. The historian Dilip Simeon has pointed at the CPI's 'erratic conflation of nation, nationality, sub-regional and regional identity and its refusal to theorise communal politics and its resultant decision to support what it called the 'democratic core' or the 'just essence' of the Pakistan demand'.
After 1942, the Left's romance with Islamist movements continued and became more brazen. It became a malaise that Goodhart distinctly recognises when he refers to the liberal instincts of 'the far greater concern for suffering in distant lands than just around the corner, the blank incomprehension of religious or national feeling and the disdain for the ordinary people we were meant to champion'. So, while the Left would take out rallies in support of the Palestinian cause, it completely ignored the plight of Kashmiri Pandits who were brutalised as a minority in Kashmir in 1990 and hounded out of their homeland. A veteran Kashmiri communist, Rishi Dev went to the communist leader HKS Surjeet to talk to him about the plight of Pandits; Surjeet dismissed his concerns by saying: Aisi baatein hoti rehti hain (these things happen).
On the Left's mistake, both in India and abroad, of understanding political Islam, the scholar Sumanta Banerjee writes: '[the Left] hopes to conflate the Islamic ideological opposition to the western neocolonial order (an opposition which is rooted to a great extent to the Islamic feudal and patriarchal resistance against democratic and social reforms, which they brand as 'western'), with their own secular and progressive idea of anti-imperialism. That such an alliance, born of immediate expediency, can never work for long should be evident from past experiences. But some among the Left (and also liberal bourgeois human rights activists) continue today to nurture the same illusion.' While the mainstream Left kept on committing mistakes, the extreme Left took it to an audacious level by aligning itself with the Taliban after the US offensive. "We feel that the Islamic upsurge should not be opposed as it is basically anti-US and anti-imperialist in nature. We, therefore, want it to glow," said the slain Maoist leader, Kishenji, in a newspaper interview.
In her book The Taste of Ashes on the aftermath of totalitarianism in eastern Europe, Marci Shore refers to Vaclav Havel's samizdat essay of 1978, 'The power of the powerless,' in which he wrote of a greengrocer who hangs a board every morning in his shop window that reads: 'Workers of the world unite.' The greengrocer, says Marci, did not believe this message, the words meant nothing to him; nonetheless he obliged the communist regime by displaying the sign. In India, since communists were not in a position to impose an iron curtain, they tried to impose a social iron curtain of sorts. More than caring about poor workers and other marginalised sections of society, one became a true communist by hating his country, expressing disdain for gods and Hindu religious and cultural beliefs and standing in solidarity with Muslim sub-nationalism and fundamentalism in Kashmir and elsewhere.
In September 2009, Maoist ideologue Kobad Ghandy was arrested in Delhi. It created a buzz among middle-class folks in big cities who were mostly oblivious of what the Maoist movement was largely about. Since Ghandy received a lot of media coverage, people began to show an interest in the happenings in Bastar. Many felt sympathetic towards Ghandy and the movement he espoused. Here was a man who, by virtue of his background and education, could have become anything anywhere in the world, but had chosen to 'fight for the rights of Adivasis'. Before this sympathy could change the narrative, the over-ground sympathisers of Maoists organised public event after event in Delhi and other cities where they openly supported Kashmir's call for azaadi, sharing a dais with and embracing the pro-Pakistan radical Islamist leader, Syed Ali Shah Geelani. A few months later, 76 security personnel were mowed down in Tadmetla in Chhattisgarh's Sukma district and the whole thing was over.
In her book, Double Bind: The Muslim Right, the Anglo-American Left, and Universal Human Rights, Meredith Tax exposes how the Left chose a Taliban militant, Moazzam Begg, to highlight the issue of torture of prisoners by the US in Guantanamo. In 2010, Amnesty International invited Begg to propagate his views. One of Amnesty's unit heads, Gita Sahgal, went public protesting against this move to partner with an Islamic fundamentalist. She was suspended, and Amnesty called its decision to let Begg use its platform as 'defensive jihad'. In India, Amnesty is now issuing statements that Adityanath should publicly retract his statements against Muslims. In the process, it has exposed itself as an organisation with double standards and has lost its relevance in the human rights discourse. It is this hypocrisy and blindness to one stream of extremism that is giving rise to the likes of Donald Trump. When a historian like Faisal Devji suggests (in an interview to The Guardian's John Sutherland) that "if one wants a reference point for al-Qaida, some other movement that channelises the same impulses for similar reasons, look no further than environmentalism," then you know how deep-rooted this problem is and how so many Somewheres are behaving and voting in a particular way.
There is no doubt that the new Hindutva assertion poses several problems. The biggest among them is that a section of people who have gotten emboldened by recent victories and are turning into vigilantes—the case of the Jaipur hotel being one such example. As Pratap Bhanu Mehta points out in a recent piece on UP's Chief Minister: if Adityanath is indeed the popular choice, then the crisis of Indian democracy deepens.
That may be so. But Adityanath is indeed the new reality—a reality that will have more layers in the coming days. This is New India. How it plays out is another matter.
http://www.openthemagazine.com/article/cover-story/gorakhpur-and-the-ghost-of-gangadhar-adhikari
dray, Mar 25, 2017
IndiranChandiran and PARIKRAMA like this.
Thought it's an excellent article. @Levina @PARIKRAMA @nair @Nilgiri @A_poster @anant_s @Hellfire @thesolar65 @Agent_47 @randomradio @Vyom @scorpionx @Abingdonboy @Robinhood Pandey
PARIKRAMA likes this.
IndiranChandiran Lieutenant FULL MEMBER
Rain Man said: ↑
Open usually comes out with top class thought provoking articles on current affairs .It also covers such international events very impressively. .
IndiranChandiran, Mar 25, 2017
dray likes this.
bharathp Developers Guild IDF NewBie
Very well written, although still based on some "alternative facts".
bharathp, Mar 25, 2017
Court order or not, Indian Army still grapples with Bofors ghost
CONNAN, Mar 4, 2011, in forum: Indian Army
CONNAN
IAI showcases 'Ghost' spy UAV in U.S.
Kronus, Aug 24, 2011, in forum: Modern Warfare
Hit at home, China's ghost fleet sails high seas
layman, Jul 5, 2012, in forum: China & Asia Pacific
In a nuclear ghost town, and longing for home
layman, Oct 2, 2013, in forum: International Politics
In 30 years iran will be a ghost town.
Averageamerican, Oct 16, 2013, in forum: Internal Affairs
Zeus_@21


text:
Editorial : Columns
Ingrid Calame
by Eve Wood
Ingrid Calame, "ArcelorMittal Steel Shipping Building One, Right No. 238
& Shipping Building Two, Left No. 50," 2010, oil on aluminum
courtesy of the artist and the James Cohan Gallery, New York
"You can never really see the whole of anything. The subject is by its very nature fragmentary. There are only systems of understanding, the endless investigation of a whole and its parts," Ingrid Calame explains to me on a balmy November morning in her studio, an unassuming industrial building on the outskirts of Echo Park. The last time I had seen her was traipsing the familiar halls of CalArts back in the early '90s, and really not that much has changed. She is still fiercely committed to an uncompromising working process that continues to yield some of the most innovative work being made today. Constructing her iconic "wall tracings," which are probably most akin to luminous galactic star clusters--fiery constellations that suggest both a microcosm of the human vascular system and the spaciousness of the night sky simultaneously--Calame embraces a multiplicity of practices. These include both drawing and painting, and employ a variety of surprising materials from enamel paint to colored pencil on trace Mylar, and finally oil paint. Calame has spent years devising a comprehensive working methodology that speaks directly to the elliptical and always shifting nature of urban topography.
Originally a native of New York, Calame made the move west to attend the California Institute of the Arts in 1992 as an experimental film major, and to this day continues her vigorous exploration of the LA landscape, having broadened her practice to include traces of the Indianapolis Motor Speedway, the NY Stock Exchange, and the Las Vegas Strip. This fall she had a solo show at James Cohan Gallery in New York; her newest exhibition is currently on view at the Monterey Museum of Art, as part of the museum's "In Process" series. Although she has been exhibiting regularly in New York, Germany, and elsewhere, the show marks the LA-based artist's first solo show in California since 2002.
Calame's artistic progression is at its core an inquiry not only into disintegration and decay--i.e., the leavings of a modern urban landscape--but has evolved into a more complicated human discussion. "ÒIn the beginning," Calame says, "the stains referenced mortality." With her recent works, the tracings having "transformed into palimpsests of other people's conversations, building mŽtiers of thought." Interestingly, Calame's work references film in that it is process-driven and has become increasingly investigative, involving more people, time and materials. Calame explains this evolution as moving from a more static working process that involved tracing stains on concrete in downtown Los Angeles, toward a broader organizational system that involves fastidious planning, working with assistants, who actually trace the stains at any given locations, and most importantly, selecting a particular landscape and then deciphering that space. "People are expressing their lives and relationships all the time, and it's important to me and my work that I continue to have adventures out in the world," Calame explains.
For Calame, the synthesis of experiences informing the creation of each work is itself a vital component in the work, and how it is perceived. The fact that her working method has grown to include a complex array of additional systems--that have become almost like an echo of the work itself with steep hilltops, deepening ravines and valleys of lines, shapes and forms--indicates perhaps that Calame is allowing these structures to encompass a wider array of human experience. After all, chemical stains, spillage, seepage, bits of tagging under a freeway overpass, and the general detritus of modern culture means that someone was there and has left a marker to denote their presence. Calame is simply giving this denotation meaning, a combination of an undeniable, universal human expression conjoined with her own. In her work, these "neglected spaces" as she calls them, are reclaimed, if only through a process of having been seen, reinterpreted, and finally transformed.
Ingrid Calame: Swing Shift, a solo show, was on view at James Cohan Gallery in New York, from September 10 - October 9, 2010. www.jamescohan.com
In Process: Ingrid Calame is currently on view at the Monterey Museum of Art in Monterey, CA. The exhibition runs from October 30, 2010 - February 27, 2011.
www.montereyart.org
This article was written for and published in art ltd. magazine
Monterey Museum of Art


"We wish we were able to console them".
Armed Police officers are seen at the scene when several people were killed and injured when a auto ploughed into pedestrians in Muenster, western Germany on April 7, 2018.
Within an hour, the University Hospital had suspended its appeal for blood donors because so many people had come forward. He, Laschet and Reul laid flowers in central Muenster and paid their respects to the victims of the attack. He stressed that the investigation was at an early stage but said "at the moment, nothing speaks for there being any Islamist background".
"We have to wait, and we are investigating in all directions", he said.
Local police said they were on the scene and emergency services were attending to the injured.
The man who drove a vehicle into a group of people sitting outside a restaurant in Germany yesterday was known to police.
On the other hand, the Associated Press reported that according to a police spokesperson, media reports on perpetrator having psychological issues too have not been confirmed.
The man was believed to be a German citizen, he said.
The driver of the van was not identified by name. "That is our current task", Mr Bode said.
Ms Adomeit went on to say there was no indication the perpetrator had any political motives for the attack.
"I'm shocked to find out about the awful incident in Muenster", he said. Our sympathy is with the relatives of those who were killed.
The suspect killed two people at the Grosser Kiepenkerl restaurant in the old town of the city in the northwestern region of North Rhine-Westphalia.
The 48-year-old German driver identified as Jens R. shot himself dead immediately after the rampage. His identity is not yet known. "And the police arrived and everyone was sent out", he said. They said the main suspect was planning to killed participants and spectators with knives.
An SCC spokesperson told dpa news agency that "everything had gone smoothly" during the race.
Muenster Mayor Markus Lewe says the reason for the crash is still unclear. He then shot himself dead.
Meanwhile, investigators are still trying to establish the motive for the ramming. They have urged people in Muenster to avoid the city's downtown area.
A police spokeswoman said: "The danger is over".
The incident happened at around 3.30pm local time (4.30pm GMT) on Saturday afternoon. NPR's Esme Nicholson says the incident was in the city's historic center.
Der Spiegel reported that police were investigating a similar incident that occurred in the eastern German city of Cottbus on Friday evening, when a man drove his auto into a group of people, injuring two, before fleeing. It is located in the historical part of the city.
With AP Photos.Daily Die Welt is reporting that police have foiled an attack on a half-marathon in Berlin.
Though, scientists and engineers still can not pinpoint where and when the 9.4-tonne school bus-size space station will fall. The chances are 1 million times greater of winning the Powerball jackpot than by being hit.
RCMP said traffic was expected to be blocked for several hours and drivers can expect lengthy delays. STARS Air Ambulance tweeted that a crew had been dispatched to the Ridgedale, Sask. area.
Intel also notes that there is " limited commercially available system software support " for these chips these days. Great work on patching your own products, but why were smaller tech companies kept in the dark?
But during a local election campaign visit to Watford, the Labour leader accused Mr Johnson of exaggerating the evidence. Russian Federation strongly rejects the claim that it is responsible for the poisoning.
Police shot and killed a man holding a pipe in the Crown Heights neighborhood of NY in the late afternoon on Wednesday, April 4. Bailey and others said Vassell's struggles with mental illness were also well-known, even among local police: "It's visible".
The tournament will see the best 72 amateur players in the world compete at Augusta next year in the week before the Masters . The Masters also hosts a youth putt, chip and drive contest on the Sunday before the Masters .


American Mathematical Society. Hardcover. 0883857545 US Edition Textbook, May Have Highlights, Notes and/or Underlining, BOOK ONLY-NO ACCESS CODE, NO CD, Ships with Emailed Tracking from USA . Good.
American Mathematical Society. Hardcover. 0883857545 New US Edition Textbook, Ships with Emailed Tracking from USA . New.
Morgan Kaufmann. Hardcover. 0128038438 US Edition Textbook, May Have Highlights, Notes and/or Underlining, BOOK ONLY-NO ACCESS CODE, NO CD, Ships with Emailed Tracking from USA . Good.
Vacca, Jo Anne L.; Vacca, Richard T.; Gove, Mary K.; Burkey, Linda C.; Lenhart, Lisa A.; McKeon, Christine A.
Pearson. LOOSE LEAF. 0133569632 US Edition Textbook, May Have Highlights, Notes and/or Underlining, BOOK ONLY-NO ACCESS CODE, NO CD, Ships with Emailed Tracking from USA . Good.
Morgan Kaufmann. Hardcover. 0128038438 New Textbook, Ships with Emailed Tracking from USA . New.
Pearson. LOOSE LEAF. 0133569632 New Textbook, Ships with Emailed Tracking from USA . New.
Vacca, Jo Anne L.; Vacca, Richard T.; Gove, Mary K.; Burkey, Linda C.; Lenhart, Lisa C; McKeon, Christine A.
Pearson. Hardcover. 0132596849 US Edition Textbook, May Have Highlights, Notes and/or Underlining, BOOK ONLY-NO ACCESS CODE, NO CD, Ships with Emailed Tracking from USA . Good.
Pearson. Hardcover. 0132596849 New Textbook, Ships with Emailed Tracking from USA . New.
Pearson. LOOSE LEAF. 0134228065 US Edition Textbook, May Have Highlights, Notes and/or Underlining, BOOK ONLY-NO ACCESS CODE, NO CD, Ships with Emailed Tracking from USA . Good.
Vacca, Richard T.; Vacca, Jo Anne L.; Mraz, Maryann E.
Pearson. LOOSE LEAF. 0134068823 US Edition Textbook, May Have Highlights, Notes and/or Underlining, BOOK ONLY-NO ACCESS CODE, NO CD, Ships with Emailed Tracking from USA . Good.
Vacca, Richard S.; William C. Bosher, Jr.
Lexis Nexis. Hardcover. 0769851991 US Edition Textbook, May Have Highlights, Notes and/or Underlining, BOOK ONLY-NO ACCESS CODE, NO CD, Ships with Emailed Tracking from USA . Good.
Pearson. Hardcover. 013703511X US Edition Textbook, May Have Highlights, Notes and/or Underlining, BOOK ONLY-NO ACCESS CODE, NO CD, Ships with Emailed Tracking from USA . Good.
Pearson. Hardcover. 013703511X New Textbook, Ships with Emailed Tracking from USA . New.
Pearson. LOOSE LEAF. 0134068823 New Textbook, Ships with Emailed Tracking from USA . New.
Pearson. Hardcover. 0133066789 US Edition Textbook, May Have Highlights, Notes and/or Underlining, BOOK ONLY-NO ACCESS CODE, NO CD, Ships with Emailed Tracking from USA . Good.
Vaccari, David A.; Strom, Peter F.; Alleman, James E.
Wiley-Interscience. Hardcover. 0471722391 US Edition Textbook, May Have Highlights, Notes and/or Underlining, BOOK ONLY-NO ACCESS CODE, NO CD, Ships with Emailed Tracking from USA . Good.
Pearson. PAPERBACK. 0131115561 US Edition Textbook, May Have Highlights, Notes and/or Underlining, BOOK ONLY-NO ACCESS CODE, NO CD, Ships with Emailed Tracking from USA . Good.
Prentice Hall. Hardcover. 0132318857 New Textbook, Ships with Emailed Tracking from USA . New.
Prentice Hall. PAPERBACK. 0205820387 US Edition Textbook, May Have Highlights, Notes and/or Underlining, BOOK ONLY-NO ACCESS CODE, NO CD, Ships with Emailed Tracking from USA . Good.
Prentice Hall. Hardcover. 0132318857 US Edition Textbook, May Have Highlights, Notes and/or Underlining, BOOK ONLY-NO ACCESS CODE, NO CD, Ships with Emailed Tracking from USA . Good.


Dr Daniel J Bell ◉ and Dr Jan Frank Gerstenmaier et al.
Mycobacterium tuberculosis is a thin, slightly curved bacillus. A member of the Mycobacterium tuberculosis complex, it is an obligate aerobic bacterium that is the etiologic agent of the majority of tuberculosis cases.
The worldwide incidence of tuberculosis was 8.7 million in 2011 (13% of these were coinfected with HIV). The mortality in 2011 was 1.4 million, of which 430,000 cases were HIV-positive.
Despite these persistently high figures, The WHO Millennium Development Goal target to halt and reverse the TB epidemic by 2015 has already been achieved.
The worldwide incidence has been falling for several years now, at a rate of 2.2% between 2010 and 2011. The mortality rate has decreased 41% since 1990 and the world is on track to achieve the global target of a 50% reduction by 2015, however, the African and European regions are not on track to achieve that goal.
The wall of the bacterium contains high levels of lipids, and as such does not retain standard bacteriological stains such as Gram stain. Despite this characteristic, M. tuberculosis is classified as a Gram-positive bacterium due to the lack of an outer cell membrane. The division rate of M. tuberculosis is very slow at up to 20 hours. The lipid-rich wall accounts for its capacity to survive in a dry condition for many weeks, and for its virulence.
Ziehl-Neelsen or acid-fast stains are used. M. tuberculosis appears as small round bacilli stained red by the acid-fast stain. Caseating granulomas containing Langhans giant cells (not to be confused with Langerhans cells) is a hallmark.
M. tuberculosis is transmitted airborne, i.e. by droplet infection. M. tuberculosis is a facultative intracellular parasite. When inhaled, the organism is taken up by alveolar macrophages. Several mechanisms stop macrophages from killing the bacteria, and hence they can multiply unhindered within macrophages.
From the lungs, spread to other organs is haematogenous. Pulmonary tuberculosis is contagious, non-pulmonary tuberculosis is not.
workers and residents in long-term residential facilities including jails, nursing homes, care homes.
The Mantoux tuberculin skin test involves the subdermal injection of tuberculin, a complex of purified M. tuberculosis proteins, into the skin of the forearm. The size of the developing skin reaction is measured in millimeters. A positive reaction indicates that a person has been infected with TB bacteria in the past. It cannot determine whether active infection is present.
Similarly, interferon-gamma release assays (IGRAs) such as QuantiFERON®-TB Gold are surrogate markers of M. tuberculosis infection and indicating an immune response to M. tuberculosis, but cannot distinguish between latent infection and active tuberculosis. These tests are not affected by prior Bacillus Calmette–Guérin (BCG) vaccination. Since 2010 the IGRAs are the preferred testing method as recommended by the CDC.
To determine whether the active disease is present, a chest radiograph and sputum for culture and acid-fast stain are needed to determine whether the person has active disease.
Treatment consists of combination antibiotic therapy for at least six months. The agents isoniazid, rifampicin, ethambutol, and pyrazinamide are considered first-line antituberculosis agents.
Multidrug-resistant TB (MDR-TB) is defined as disease caused by M. tuberculosis resistant to at least isoniazid and rifampicin. Treatment is a challenge and involves second-line therapies for up to two years.
Extensively drug-resistant TB (XDR-TB) progresses very rapidly and can be fatal within weeks. XDR-TB is defined as TB that has developed resistance to at least rifampicin and isoniazid, plus any agent of the fluoroquinolone family, plus at least one of the aminoglycosides or polypeptides.
Isolation of cases, improve ventilation and vaccination with BCG in endemic countries (this vaccine has good efficiency in children only).
1720: Benjamin Marten writes "A theory of Consumption" and hypothesises that tuberculosis may be caused by "small living creatures that are transmitted through the air to other patients"


Captains Krill Oil is harvested fresh in the pristine waters of the Southern Ocean off Antarctica. The oil is extracted and encapsulated in small runs — coming right from the ship and sold directly to retailers like us.
This allows you to get purer, fresher, better quality krill oil at an incredibly low price!
Harvested, extracted, encapsulated and bottled right from the ship. It doesn't sit around in drums for who-knows-how-long, losing its potency and oxidizing.
Pure & Straight From the Boat.
100% free of any type of additive, filler or alteration of any kind.
Sold directly to select retailers. It doesn't pass through multiple sets of hands before it gets to you, so you get a much less expensive product.


text:
Documents on Trump ex-lawyer's porn star hush payment to be released
By Brendan Pierson
NEW YORK, July 18 (Reuters) - Documents regarding hush-money payments by Donald Trump's former personal lawyer Michael Cohen to a porn star and a Playboy model who said they had sexual encounters with the president are set to be made public on Thursday, offering a window into a probe that began last year and landed Cohen in prison.
U.S. District Judge William Pauley in Manhattan on Wednesday ordered that the material, used by prosecutors to obtain a 2018 search warrant for Cohen's home and office, must be unsealed by 11 a.m. (1500 GMT). The judge found there was no reason to keep the documents secret after prosecutors told him that their investigation into the payments had ended.
The end of the investigation suggests that no one else is likely to face criminal charges in connection with the payments.
Cohen, 52, pleaded guilty in August 2018 to violating campaign finance law by directing payments of $130,000 to adult film star Stormy Daniels and $150,000 to Playboy model Karen McDougal to avert a scandal shortly before the 2016 presidential election. Both women have said they had sexual encounters with Trump more than a decade ago, and that the money was meant to buy their silence. Trump has denied the encounters.
"The campaign finance violations discussed in the materials are a matter of national importance," Pauley wrote. "Now that the government's investigation into those violations has concluded, it is time that every American has an opportunity to scrutinize the materials."
Cohen, who was once Trump's self-described "fixer," began serving a three-year prison sentence in May for his campaign finance violations and other crimes, including making false statements to a bank and tax evasion.
Pauley had ordered many of the search warrant material about Cohen's personal business dealings unsealed earlier this year, but allowed the hush-money documents to remain secret because an investigation involving the payments was still in progress.
Cohen pleaded guilty last November to separate charges brought by the office of former Special Prosecutor Robert Mueller, who was investigating contacts between Trump's 2016 presidential campaign and Russia. Cohen admitted he lied to Congress about the extent of contacts between Trump and Russians during the campaign.
(Reporting by Brendan Pierson in New York; Editing by Noeleen Walder and Will Dunham)
Documents on Trump ex-lawyer's porn star hush payment...


If you think you might have asthma, visit The Asthma Center at William Storms Allergy to get a complete diagnosis and treatment plan that is right for you.
Asthma is a condition in which airways in the lungs become inflamed. This causes "tightening" or muscle constriction. This constriction can cause shortness of breath, cough and wheezing.
Should I exercise with asthma?
Yes-if your asthma is controlled with medication, exercise can increase your lung function and add to your overall health. You can pre-treat with Intal and/or your rescue inhalers.
No, but there are controller medications (inhalers, Singulair, Xolair), other therapies (allergy shots), and environmental controls that can greatly reduce symptoms.
Is there anything that I should avoid with asthma?
Yes, smoking and scuba diving. If your asthma is under control, all other physical activities are permitted.
How can I monitor my asthma?
1. Some patients feel it is useful to use a peak flow meter daily.
Healthy check-ups are important to evaluate lung function and respiratory health.
4. Xolair (preventative) Injectable therapy that reduces the body's response to allergens, therefore reducing your asthma symptoms.
5. Singulair (preventative) Oral medication to reduce inflammatory responses in the airways.
When is my asthma under control?
1. When you use your rescue no more than 2 times per week.
2. When you have no problems with exercise if you pre-treat.
3. Be sure to make regular follow-up appointments.
* Please see appropriate office pamphlets for further information on these preventative treatments.


text:
Home > Country Organization Index > London Borough of Hillingdon United Kingdom Tenders
London Borough of Hillingdon United Kingdom Tenders
London Borough of Hillingdon United Kingdom tenders and business opportunities. Access latest London Borough of Hillingdon bids, market research and procurement analysis. Global tenders publishes domestic and international tenders, projects and contract awards for London Borough of Hillingdon and more than 5000 tendering authorities from UK.
The London Borough of Hillingdon is a large borough in West London, England. It was formed from the districts of Hayes and Harlington, Ruislip-Northwood, Uxbridge, and Yiewsley and West Drayton in the ceremonial county of Middlesex. Today, Hillingdon is home to Heathrow Airport (which straddles the border between Hillingdon and Hounslow) and Brunel University, and is the second largest of the 32 London boroughs by area.
Related links - Marine Management Organisation
Sheffield City Council
Bradford Metropolitan District Council
Se Shared Services
Leeds City Council
East Riding of Yorkshire Council
Occupational Therapy Services
Healthcare Equipment and Services
GBP 3512880
Consultancy Work For Yeading Infant And Juniors Schools Joint Canteen
Consultancy - Engineering
Building,Consultancy - Engineering
Kitchen & Bathroom Replacement Programme - Phase 17
Furniture,Infrastructure and construction
GBP 250000


After a year of massive achievements, Victoria University last Saturday 1st December 2018celebrated its end of year party in style at Speke Resort Munyonyo Pool side. Students of Victoria University were treated a glamorous end of year party.
The University Vice Chancellor Dr. Krishna N. Sharma acknowledged that 2018 has been a good year. However, they are not satisfied as a University because "we haven't reached that level that we want as a university," he told media in an interview on the sidelines of the party.
"He said this year's 2018 focus has been on establishing partnerships so next year's 2019 focus will be on introducing e-learning and that this shows that the University is growing," Dr. Krishna said at the End of Year Party of the University.
On the academic side, Dr. Sharma further said students have published over 35 publications. Victoria University this year was also able to finalize with a Memorandum of Understanding with Coventry University to teach trainers of trainers in the oil and gas sector at Kichwamba Technical Collage in Kabarole.
"We have finished with the curriculum and we are hopeful that next year, it will be executed," he added.
The University Guild President –Her Excellency Maria Peggy Nabunya described the concluding year as a great year. She then wished her mates a happy festive season.
Speaking at the event, the University Vice Chancellor-Dr. Krishna N. Sharma congratulated the students from completing their exams and that this was a way of congratulating them and also wishing them a happy festive season.
The occasion was crowned with a performance and Don Andre Jr through his comedy, plus a dinner and dance that was opened by the Vice Chancellor. This all took place on Saturday 1st December 2018, a day that has gone down in the annals of our University and will always be cherished by the beneficiaries.
"Saturday was lovely and couldn't have wished for anything better,"" Victoria University Rotary President and Student Neima Alexander said.


text:
threex.outline
=============

threex.outline is a
[threex game extension for three.js](http://www.threejsgames.com/extensions/).
It provides an outline for your object, very usefull to show the player
that an object is selected. Say you want to select a box, you give
the box mesh to THREEx.Outline and it will draw the outline around your box.

Show Don't Tell
===============
* [examples/basic.html](http://jeromeetienne.github.io/threex.outline/examples/basic.html)
\[[view source](https://github.com/jeromeetienne/threex.outline/blob/master/examples/basic.html)\] :
It shows a cube with an outline feature, and that one which is coded like that.

A Screenshot
============
[![screenshot](https://raw.githubusercontent.com/jeromeetienne/threex.outline/master/examples/images/screenshot-threex-outline-512x512.jpg)](http://jeromeetienne.github.io/threex.outline/examples/basic.html)

How To Install It
=================

You can install it via script tag

```html
<script src='threex.outline.js'></script>
```

Or you can install with [bower](http://bower.io/), as you wish.

```bash
bower install threex.outline
```

How To Use It
=============

Say you got a ```mesh``` containing the object you want to outline.
First you create the outline object like that

```javascript
// determine the thickness of the outline you want
var thickness = 8
// create the outline object
var outline = new THREEx.Outline(mesh, renderer, camera, thickness)
```

Don't forget to update it each time on each frame.

```
outline.update()
```

Let me explains how parameters are used.
The ```renderer``` is required to know the height in pixel of the rendering canvas. It allows to keep the outline tickness to be constant no matter how far is the ```mesh```. ```camera``` is your current camera and is needed to know the distance between the mesh and and the camera.

redpajama_set_name: RedPajamaGithub


Knowing how much an injury costs is vital when determining the ROI of safety. According to estimates from Injury Facts, an online statistical data resource from the National Safety Council, workplace injuries and deaths cost the U.S. economy $151.1 billion in 2016.
Experts emphasize that employers should consider both the direct and indirect costs of injuries. Cost estimates are not comparable year to year.
Examples of successful, cost-effective, employer-driven safety and health interventions include substance abuse prevention programs, fall prevention training, motor vehicle safety initiatives, and lower back and lifting ergonomics.
Safety professionals whose employers are reluctant to invest in occupational safety may face an additional challenge when building their case: multifaceted math.
Although calculating a return on investment in safety lacks a universal formula, many experts agree that the exercise is worth the effort to support an investment that yields positive results. "When improving safety for the merit of just having a safer workplace is not enough, it's often a very powerful argument with leadership to help explain the cost of safety by showing the economic benefits of safety," said Ken Kolosh, manager of statistics at the National Safety Council.
Here are a few strategies to consider when crunching the numbers.
Knowing how much an injury costs is vital when determining the ROI of safety. It's also a valuable tool for any safety professional seeking additional justification to support investments in safety.
According to estimates from Injury Facts, an online statistical data resource developed and maintained by NSC, workplace injuries and deaths cost the U.S. economy $151.1 billion in 2016. That total accounts for numerous factors, including wage and productivity losses, medical expenses, administrative expenses, motor vehicle damage, employers' uninsured costs, and fire losses. Injury Facts also states that the cost to society per medically consulted workplace injury in 2016 was $32,000. The cost per worker – not to be confused with the average cost of a workplace injury – was $1,000.
Experts such as Kolosh and Jim Spigener, chief client officer for Oxnard, CA-based consulting firm DEKRA Organizational Safety and Reliability, say that when employers perform estimations, they should consider both the direct and indirect costs of injuries. Direct costs include workers' compensation and medical and legal costs. Examples of indirect costs include lost productivity, training replacement employees, incident investigation and implementation of corrective measures, and repairing damaged equipment and property.
The estimate of the total economic cost supplied by NSC is not the only one in circulation. Other organizations, including the Centers for Disease Control and Prevention, use different models to estimate the costs of workplace injuries and fatalities, and those models may change over time. Some may reflect only direct costs.
See a detailed infographic that you can embed it on your website, or share it on social media!
Not all organizations count on financial reasons as a driver for advancing safety, Kolosh said. For those that do, he suggests an internal benchmarking study as a sound starting strategy for making the business case for safety to a manager or employer.
The idea: Take three to five workplace injuries that typically occur in an organization and perform a "deep dive" analysis with colleagues from the purchasing and accounting divisions to determine each individual cost associated with the injury. Spare no expense to quantify all related figures.
Presenting this information to leaders can help clear a path to cost savings for the organization through avenues such as lower workers' compensation and medical costs and avoiding OSHA penalties.
A 2007 study led by Oregon State University associate professor Anthony Veltri states that "many occupational safety specialists and academics have argued that occupational safety is good for business; however, the rationale is based on anecdotal evidence and opinion surveys." The authors set out to gather empirical data, and affirmed that safety indeed was "good for business" upon monitoring work practices at 19 manufacturing firms.
Ron Gantt, director of innovation and operations for Reflect Consulting Group, also believes in finding specifics. Gantt stresses the importance of critical thinking when determining the ROI of safety and its many variables and challenges, beginning with defining precisely what "safety" means.
"If we define safety as things that we don't want to have happen, we actually, I think sometimes in making our business case to people … create conflict," Gantt said. "Because all of a sudden, we position ourselves as part of the organization that is designed to hold the organization back. And I think we would actually be more effective if we reframed the argument toward defining safety as what we want, right?
When analyzing the cost efficiency of specific safety and health interventions – such as training programs, new equipment or risk assessments – focus on what you're aiming to accomplish, how it will be measured and what would constitute success.
Lower back and lifting ergonomics. "Anybody who's lifting can lift more safely if they've been properly trained or briefed," Miller said.
Various studies reflect correlations between proactively investing in occupational safety and health and experiencing lower incident rates and higher profit margins.
In February 2018, the Journal of Occupational and Environmental Medicine published an economic analysis of 19 randomized, employer-driven interventions outlined in studies from 2005 to 2016. Results showed that 11 were cost-effective. Of the interventions identified as not cost-effective, a majority focused on individual – not organizational – levels, the authors wrote.
In 2014, a study from the European Agency for Safety and Health at Work found that small and medium-sized organizations may experience a positive ROI in safety investments within five years.
Making safety investments applicable to entire organizations should be the aim, experts note. A successful end result can pay dividends at all levels.
Miller shares that sentiment while emphasizing the need for employer awareness of proper safety protocol.
You may want to place the infographic on your own website or blog. Paste the embed code below into the HTML source of your page. It will scale to fit the width of your content container.


As a new player to Dota 2, there is a lot to learn and a lot to see. After choosing which Hero to play, the game begins. Not only should you be paying attention to the main screen, you should be aware of the minimap. Everything you cannot see on the minimap and on your screen is called the fog of war. You can typically see the line of sight of you and your allies. This is important in a game like Dota 2, as knowledge of where the enemies heroes are can help your team in many ways. Most importantly, this knowledge will help you win games.
Dodge ganks, create gank opportunities, farm freely, take objectives freely– Vision helps you win. How, then, do you increase your vision?
You buy Observer Wards. At 75 gold a pop they are relatively inexpensive, maxing out at four in stock at any moment. They're cheap enough that you should always be buying Observer Wards. Dota 2 has came a long way from where it once was. It used to be difficult to know where the best place for a ward placement was. This is no longer the case. Dota 2 has made it simple for you to see the vision that an Observer ward is going to highlight for you. Once you click on the ward and move it out of your inventory the highlighted area around the ward is the vision that will be given to you and your team once that ward is placed. As well, these observer wards are invisible to the enemy so only your team knows where they are.
The best places to put Observer Wards are usually at high points on the Dota 2 map. Unfortunately, these places get de-warded frequently which we will talk about later. So, while these locations are still viable for placement, the best place to put an Observer Ward is wherever you want vision.
That can be anywhere on the map. Right outside Roshan's Pit? No problem if it gets de-warded, that tells your team that the other team is most likely attacking Roshan. Around a random creep camp in the enemy jungle? Good. This will block a creep camp so that they cannot spawn and tells you when an enemy walks by. Behind an enemy tower? Also good, and can tell you when the enemy is coming to support the defense of that tower. All places you want vision are good places for a Ward.
Finally, if you do not know, ask. Buy the Ward and ask. Or buy the Observer Ward and give it to someone else who knows. But always buy the Observer Wards. It does not matter if you are the monster carry and rich beyond belief or a beggar of a support, buy those Wards and get them down. Your team will thank you, and you will thank yourself.
The enemy team is warding as obsessively as you are if they are half competent. You need to counter their vision by buying Sentry Wards.
These wards cost more than their Observer counterpart. They are 100 gold apiece, and are infinite in stock. Sentry Wards have a very limited use. They reveal all enemy invisible units in their radius. This includes enemy Observer Wards, Sentry Wards, and Heroes and units. If you know where you want vision then you will know where the enemy wants vision– Place a sentry ward around there. If you see a Ward, you can destroy it, gaining gold and experience for yourself. Do this often and your team has a better chance of winning.
Teamwork, making the dream work one ward at a time.


As imminent of a threat as water scarcity poses, there are parts of the world that have long been arid year-round. New technology that has come out of MIT is promising to change that, potentially providing drinking water in the world's most arid places by being able to extract water from the air.
MIT first announced the technology last year, which received a great deal of attention as well as some criticism. The updated paper was published late last month and features a number of improvements in response to the criticism.
The paper, titled "Adsorption-based Atmospheric Water Harvesting Device for Arid Climates," claims the technology can extract water from humidity in the air, even in the driest of climates. After a test run in Tempe, Arizona, the new system successfully extracted water from the dry Arizona air.
The technology uses novel high-surface-area materials, which are called metal-organic frameworks (MOFs); this project specifically uses a zirconium-based MOF, alternatively known as MOF-801. Current methods of potable water extraction require high amounts of moisture in the air for the process to successfully yield potable water. For fog-harvesting methods, 100 percent humidity is required and 50 percent for dew-harvesting methods. MIT's new technology, however, can extract water at levels as low as 10 percent humidity.
Evelyn Wang, one of the paper's senior authors, said to MIT News that the team "was field-testing in a place that's representative of these arid areas, and showed that we can actually harvest the water, even in subzero dewpoints." The success of the new system suggests that it could respond to the demand for water in arid and semi-arid parts of the world.
Hyunho Kim, a recent doctorate graduate and also an author of the new paper, said to MIT News that, with the necessary upgrades, the system could produce up to three times the amount of water it currently produces.
The current version can only operate over a single night-and-day cycle with sunlight, they added, but "continuous operation is also possible by utilizing abundant low-grade heat sources such as biomass and waste heat." The system, after all, was only expected to produce a few milliliters of water. The research team, however, is hoping to be able to produce several liters of water as they upgrade the system.
Wang emphasized that nothing from the MOF material leaked into the water, meaning the water is actually very high quality. The idea behind developing the new system is to one day being able to produce enough units to adequately provide water to individual households in parts of the world where water is scarce.
But MIT is hardly the first to produce water out of thin air. In September 2016, scientists from the Haifa-based Technion Institute of Technology in Israel developed a system that produces clean drinking water free of airborne bacteria from atmospheric vapor.
Previous ArticleTrulia's New Feature Attempts To Build A More Neighborly U.S.A.
Next ArticleData Privacy: Do Smart Cities Need Surveillance?


A new overload DocumentAssembler.AssembleDocument is added in the new release. Using this overload user can reference multiple data source objects and their members in the template. Overload accepts an array of data source names and an array of data sources. Learn more about support of multiple data sources in this article.
Word Processing Document formats including Microsoft Word Document and OpenOffice document formats are supported. For more details, please visit Support for Word Processing Document Formats.
Spreadsheet Document formats including Microsoft Excel Workbook and OpenOffice spreadsheet document formats are supported. For more details, please visit Support for Spreadsheet Document Formats.
Presentation Document formats including Microsoft PowerPoint Presentation and OpenOffice presentation document formats are supported. For more details, please visit Support for Presentation Document Formats.
More Document formats including Email, PDF, HTML, Plain Text, Epub and XPS document formats will be supported in the future releases. For more details, please visit Support for more Document Formats.
API provides a useful feature to format strings in template syntax. String formatting such as upper, lower, capital, etc.
Using GroupDocs.Assembly for Java user can also do numeric formatting in template syntax. Numeric formatting such as ordinal, cardinal, alphabetic, etc.
You can insert contents of outer documents to your reports dynamically.
Barcode images can be generated in reports dynamically.
This feature allows user to implement a new <<next>> tag. The tag should be supported only within data bands created by using <<foreach>> tag.
Aside this, you can use the HTML style attribute to achieve this.
You can insert images to your reports dynamically using image tags.
API permits users to update fields while assembling Word Processing documents.
API allows users to calculate formula while assembling Spreadsheet documents.
The GroupDocs.Assembly.Metered public class has been added to provide metered licensing.


text:
using Microsoft.Extensions.Caching.Distributed;
using Microsoft.Extensions.Internal;
using Microsoft.Extensions.Options;
using System;
using System.Threading;
using System.Threading.Tasks;

namespace Pomelo.Extensions.Caching.MySql
{
	/// <summary>
	/// Distributed cache implementation using Microsoft MySql Server database.
	/// </summary>
	public class MySqlCache : IDistributedCache
	{
		private static readonly TimeSpan MinimumExpiredItemsDeletionInterval = TimeSpan.FromMinutes(5);
		private static readonly TimeSpan DefaultExpiredItemsDeletionInterval = TimeSpan.FromMinutes(30);

		private readonly IDatabaseOperations _dbOperations;
		private readonly ISystemClock _systemClock;
		private readonly TimeSpan _expiredItemsDeletionInterval;
		private DateTimeOffset _lastExpirationScan;
		private readonly Func<Task<int>> _deleteExpiredCachedItemsDelegateAsync;
		private readonly Func<int> _deleteExpiredCachedItemsDelegate;
		private readonly TimeSpan _defaultSlidingExpiration;

		public MySqlCache(IOptions<MySqlCacheOptions> options)
		{
			var cacheOptions = options.Value;

			if (string.IsNullOrEmpty(cacheOptions.WriteConnectionString)
				&& string.IsNullOrEmpty(cacheOptions.ConnectionString)
				&& string.IsNullOrEmpty(cacheOptions.ReadConnectionString))
			{
				throw new ArgumentException($"{nameof(cacheOptions.ReadConnectionString)} and {nameof(cacheOptions.WriteConnectionString)}"
					+ $" and {nameof(cacheOptions.ConnectionString)} cannot be empty or null at the same time.");
			}

			if (string.IsNullOrEmpty(cacheOptions.SchemaName))
			{
				throw new ArgumentException(
					$"{nameof(cacheOptions.SchemaName)} cannot be empty or null.");
			}
			if (string.IsNullOrEmpty(cacheOptions.TableName))
			{
				throw new ArgumentException(
					$"{nameof(cacheOptions.TableName)} cannot be empty or null.");
			}
			if (cacheOptions.ExpiredItemsDeletionInterval.HasValue &&
				cacheOptions.ExpiredItemsDeletionInterval.Value < MinimumExpiredItemsDeletionInterval)
			{
				throw new ArgumentException(
					$"{nameof(cacheOptions.ExpiredItemsDeletionInterval)} cannot be less the minimum " +
					$"value of {MinimumExpiredItemsDeletionInterval.TotalMinutes} minutes.");
			}
			if (cacheOptions.DefaultSlidingExpiration <= TimeSpan.Zero)
			{
				throw new ArgumentOutOfRangeException(
					nameof(cacheOptions.DefaultSlidingExpiration),
					cacheOptions.DefaultSlidingExpiration,
					"The sliding expiration value must be positive.");
			}

			_systemClock = cacheOptions.SystemClock ?? new SystemClock();
			_expiredItemsDeletionInterval =
				cacheOptions.ExpiredItemsDeletionInterval ?? DefaultExpiredItemsDeletionInterval;
			_defaultSlidingExpiration = cacheOptions.DefaultSlidingExpiration;

			// MySqlClient library on Mono doesn't have support for DateTimeOffset and also
			// it doesn't have support for apis like GetFieldValue, GetFieldValueAsync etc.
			// So we detect the platform to perform things differently for Mono vs. non-Mono platforms.
			if (PlatformHelper.IsMono)
			{
				_dbOperations = new MonoDatabaseOperations(
					cacheOptions.ReadConnectionString,
					cacheOptions.WriteConnectionString,
					cacheOptions.SchemaName,
					cacheOptions.TableName,
					_systemClock);
			}
			else
			{
				_dbOperations = new DatabaseOperations(
					cacheOptions.ReadConnectionString,
					cacheOptions.WriteConnectionString,
					cacheOptions.SchemaName,
					cacheOptions.TableName,
					_systemClock);
			}
			_deleteExpiredCachedItemsDelegateAsync = _dbOperations.DeleteExpiredCacheItemsAsync;
			_deleteExpiredCachedItemsDelegate = _dbOperations.DeleteExpiredCacheItems;
		}

		public byte[] Get(string key)
		{
			if (key == null)
			{
				throw new ArgumentNullException(nameof(key));
			}

			var value = _dbOperations.GetCacheItem(key);

			ScanForExpiredItemsIfRequired();

			return value;
		}

        public async Task<byte[]> GetAsync(string key, CancellationToken token = default(CancellationToken))
        {
            if (key == null)
            {
                throw new ArgumentNullException(nameof(key));
            }

			token.ThrowIfCancellationRequested();

            var value = await _dbOperations.GetCacheItemAsync(key, token: token);
			await ScanForExpiredItemsIfRequiredAsync();

			return value;
		}

		public void Refresh(string key)
		{
			if (key == null)
			{
				throw new ArgumentNullException(nameof(key));
			}

			_dbOperations.RefreshCacheItem(key);

			ScanForExpiredItemsIfRequired();
		}

        public async Task RefreshAsync(string key, CancellationToken token = default(CancellationToken))
        {
            if (key == null)
            {
                throw new ArgumentNullException(nameof(key));
            }

			token.ThrowIfCancellationRequested();

            await _dbOperations.RefreshCacheItemAsync(key, token: token);

			await ScanForExpiredItemsIfRequiredAsync();
		}

		public void Remove(string key)
		{
			if (key == null)
			{
				throw new ArgumentNullException(nameof(key));
			}

			_dbOperations.DeleteCacheItem(key);

			ScanForExpiredItemsIfRequired();
		}

        public async Task RemoveAsync(string key, CancellationToken token = default(CancellationToken))
        {
            if (key == null)
            {
                throw new ArgumentNullException(nameof(key));
            }

			token.ThrowIfCancellationRequested();

            await _dbOperations.DeleteCacheItemAsync(key, token: token);

			await ScanForExpiredItemsIfRequiredAsync();
		}

		public void Set(string key, byte[] value, DistributedCacheEntryOptions options)
		{
			if (key == null)
			{
				throw new ArgumentNullException(nameof(key));
			}

			if (value == null)
			{
				throw new ArgumentNullException(nameof(value));
			}

			if (options == null)
			{
				throw new ArgumentNullException(nameof(options));
			}

			//GetOptions(ref options);

			_dbOperations.SetCacheItem(key, value, options);

			ScanForExpiredItemsIfRequired();
		}

        public async Task SetAsync(
            string key,
            byte[] value,
            DistributedCacheEntryOptions options,
			CancellationToken token = default(CancellationToken))
        {
            if (key == null)
            {
                throw new ArgumentNullException(nameof(key));
            }

			if (value == null)
			{
				throw new ArgumentNullException(nameof(value));
			}

			if (options == null)
			{
				throw new ArgumentNullException(nameof(options));
			}

			token.ThrowIfCancellationRequested();

            //GetOptions(ref options);

            await _dbOperations.SetCacheItemAsync(key, value, options, token);

			await ScanForExpiredItemsIfRequiredAsync();
		}

		// Called by multiple actions to see how long it's been since we last checked for expired items.
		// If sufficient time has elapsed then a scan is initiated on a background task.
		private async Task ScanForExpiredItemsIfRequiredAsync()
		{
			var utcNow = _systemClock.UtcNow;
			// TODO: Multiple threads could trigger this scan which leads to multiple calls to database.
			if ((utcNow - _lastExpirationScan) > _expiredItemsDeletionInterval)
			{
				_lastExpirationScan = utcNow;

				//await Task.Delay(1000);
				//await _deleteExpiredCachedItemsDelegateAsync();

				//Task.Delay(1000);
				await Task.Run(_deleteExpiredCachedItemsDelegate);
			}
		}

		private void ScanForExpiredItemsIfRequired()
		{
			var utcNow = _systemClock.UtcNow;
			if ((utcNow - _lastExpirationScan) > _expiredItemsDeletionInterval)
			{
				_lastExpirationScan = utcNow;
				_deleteExpiredCachedItemsDelegate.Invoke();
			}
		}

		private void GetOptions(ref DistributedCacheEntryOptions options)
		{
			if (!options.AbsoluteExpiration.HasValue
				&& !options.AbsoluteExpirationRelativeToNow.HasValue
				&& !options.SlidingExpiration.HasValue)
			{
				options = new DistributedCacheEntryOptions()
				{
					SlidingExpiration = _defaultSlidingExpiration
				};
			}
		}
	}
}


There are many men who long to have a son -- especially if they are surrounded by girls (and their wife) all the time. But although Dierks Bentley and his wife Cassidy are expecting a baby boy (their third child and first son) at the end of the month, the singer says that right now, with the joy his two girls bring him, he couldn't imagine ever being happier.
The soon-to-be father of three is incredibly proud to talk about his daughters Evie, 5, and Jordan, 2. Bentley tells People, "I have two girls that are so awesome … I can't imagine being any happier or wanting anything more."
Life with his ladies is awesome, but Bentley says it's not always easy work. "We already feel outnumbered -- one kid outnumbers you!" he jokes. "They have a different way of doing math. Early years are tough, but it's so fun right now."
Thankfully, although having a boy will be new territory, the Bentley family seems pretty well prepped for a little more testosterone. The 'I Hold On' singer (who has threatened he'll name the baby after pal Luke Bryan) says, "I have no idea what to expect, but we're really excited and looking forward to it."
"I already do some boy things with the girls," Bentley furthers. "They love going on the four wheeler. I got them a little Barbie jeep, which they'll ride in together. Then a friend of mine donated his [child's old one], so I ride in that and chase them down. I crash into them and try to run them off the driveway. I'm pretty rambunctious with them."
"They love going camping and fishing," he continues. "I do a lot of that stuff with the girls anyway, so it'll just be an extension of that with a boy. I love being outdoors so I'm just looking forward to passing that on to the girls and our son."
We do know one thing: baby boy Bentley will probably be roped into lots and lots of dress-up with his sisters. Right now, it's the singer who stands in as their prince. "Sometimes they put on shows and they need a prince -- got to get my prince moves down," he admits. "Whatever they want -- I don't have a costume, just dancing and twirling them around."
Bentley's family life sounds pretty sweet, and it's about to get sweeter with their tiny bundle of joy who will soon make his appearance. In early 2014, the singer will perform at the first-ever Tropical Nights: Boots in the Sand event in Mexico. He will be joined by Brantley Gilbert, Jana Kramer and Billy Currington. Get more info here.


text:
Both `SmvFile` and `SmvModule` has a "Validation" mechanism. SmvApp will
automatically validate the result `DataFrame`.

If the validation result failed, the process will be terminated.

Currently, there are 2 types of validations implemented,
* Parsing validations
* Data Quality Management validations

## Parsing Validation
When we load a Csv file, there are always potential parsing
issues.

Typically 2 types of issues,
* Number of fields in records doesn't match the number of fields specified in schema file
* Some fields of some records do not match schema

For either of the two cases, the record which caused the problem will be rejected. The question
is that whether we fail the entire `SmvFile` and terminate. Different problems might need to handle
this differently.
Also even if we want to fail the entire `SmvFile`, we should rather log more than one "bad" records
for easy debugging.

The default behavior of `SmvCsvFile` or any other input modules with Csv parser will fail the DF
reading operation when the first parsing error happens, and will throw an exception. This behavior
can be changed by override the `failAtParsingError` and `dqm` methods

By default, any parser error will throw exception. This behavior is controlled
by the `failAtParsingError` attribute of `SmvCsvFile`. The default value is `True`. To change that we
can override it

```python
class Myfile(smv.SmvCsvFile):
    def path(self):
        return "accounts/acct_demo.csv"
    def failAtParsingError(self):
        return False
```

With above setting, the `SmvCsvFile` will simply persist the validation result and keep moving.

Either terminating the process or not, as long as the log is nontrivial, it will be logged with level "warning".
The result will also by persisted in the `SmvModule` persisted metadata with postfix `.meta`.

Sometimes we need more flexibility on specifying the terminate criteria. For example, I can tolerate
less than 10 parser errors, if more than that, terminate. Here is an example of how to specify that,

```python
import smv.dqm
...
class Myfile(smv.SmvCsvFile):
    def path(self):
        return "accounts/acct_demo.csv"
    def failAtParsingError(self):
        return False
    def dqm(self):
        return dqm.SmvDQM().add(dqm.FailParserCountPolicy(10))
```

Please refer the `DQMPolicy` session below.

The logged dqm result has:

* The total number of rejected records, and
* Some example rejected records

**Note** that we only log a limited number of rejected records to prevent run-away rejections.

An example parsing validation log is like the following

```json
{
  "passed":false,
  "errorMessages": [
    {"ParserError":"Totally 5 records get rejected"}
  ],
  "checkLog": [
    "java.text.ParseException: Unparseable date: \"130109130619\" @RECORD: 123,12.50  ,130109130619,12102012",
    "java.text.ParseException: Unparseable date: \"109130619\" @RECORD: 123,12.50  ,109130619,12102012",
    "java.text.ParseException: Unparseable date: \"201309130619\" @RECORD: 123,12.50  ,201309130619,12102012",
    "java.lang.IllegalArgumentException: requirement failed @RECORD: 123,12.50  ,12102012",
    "java.lang.NumberFormatException: For input string: \"001x\" @RECORD: 123,001x  ,20130109130619,12102012"
  ]
}
```

## DQM

Although the parser enforced data schema, there are typically more things need to be checked on
real-world data. Here are some examples,

* `Age` should be between 0 and 120
* `Gender` should only have 3 values `m`, `f`, and `o`
* `Price` should be between 0.01 and 1,000,000.00

Record by record, above rules could be checked, and depend on the need, they can be fixed.
The `SmvDQM` framework provides `Rule`s and `Fix`es to address them.

### DQMRule & DQMFix

Since `dqm` is a sub-package, to use it one need to
```python
import smv.dqm
```

Since both `SmvFile` and `SmvModule` provide a `dqm` method to define the rules, one can override
it to add rules.

```python
class MyModule(smv.SmvModule):
    """example module with dqm"""
    ...
    def run(self, i):
      ...
    def dqm(self) = return smv.SmvDQM().add(
        dqm.DQMRule(F.col("Price") < 1000000.0, "rule1", dqm.FailAny())
    ).add(
        dqm.DQMFix(F.col("age") > 120, F.lit(120) as "age", "fix1")
    )
```

Each `DQMRule` or `DQMFix` takes a `name` and `DQMTaskPolicy` parameter in addition to the logic. The following
`DQMTaskPolicy`s can be chosen from
* `FailNone` - this rule or fix will not trigger Validation fails by itself
* `FailAny` - whenever this rule or fix be triggered, fail the validation
* `FailCount(n)` - will fail the validation if the rule or fix was triggered >= n times
* `FailPercent(r)` - will fail the validation if the rule or fix was triggered >= r * total record. (r is in between of 0, 1)

If not specified, the default `DQMTaskPolicy` is `FailNone`.

Other than the generic `DQMRule` and `DQMFix` interface, SMV provides some build-in rules and fixes.
* `BoundRule(col: Column, lower: T, upper: T)` - lower <= col < upper
* `SetRule(col: Column, set: Set[Any])` - col in set
* `FormatRule(col: Column, fmt: String)` - col matches fmt
* `SetFix(col: Column, set: Set[Any], default: Any)` - "default" if "col not in set"
* `FormatFix(col: Column, fmt: String, default: Any)` - "default" if "col not match fmt"

Please note that there is no `BoundFix`, since the upper bound and lower bound should have
separated `Fix`es.

The rules and fixes defined in the `dqm` method will be applied to the result `DataFrame` of the `run` method.

### DQMPolicy

A `DQMPolicy` defines a requirement on the entire `DataFrame`. As in above example we can add
a policy

```python
def dqm() = dqm.SmvDQM().add(
    dqm.DQMRule(F.col("Price") < 1000000.0, "rule1")).add(
    dqm.DQMRule(F.col("Price") > 0.0, "rule2")).add(
    dqm.DQMFix(F.col("age") > 120, F.lit(120) as "age", "fix1")).add(
    dqm.FailTotalRuleCountPolicy(100))
```

Here `FailTotalRuleCountPolicy(...)` is a predefined `DQMPolicy`, which check the total count of
all the rules in this `DQM`, if the total count is within the threshold, the validation will
pass, otherwise will fail.

There are 5 build-in `DQMPolicy`s
* `FailParserCountPolicy(n)` - fail when total parser error count >= n
* `FailTotalRuleCountPolicy(n)` - fail when total rule count >= n
* `FailTotalFixCountPolicy(n)` - fail when total fix count >= n
* `FailTotalRulePercentPolicy(r)` - fail when total rule count >= total records * r, r in (0,1)
* `FailTotalFixPercentPolicy(r)` - fail when total fix count >= total records * r, r in (0, 1)

One can also create user defined policies.

**Scala**
```scala
val policy: (DataFrame, DQMState) => Boolean = {(df, state) =>
  state.getRuleCount("rule1") + state.getFixCount("fix1") < 1000
}
override def dqm() = SmvDQM().
    add(DQMRule($"Price" < 1000000.0, "rule1")).
    add(DQMRule($"Price" > 0.0, "rule2")).
    add(DQMFix($"age" > 120, lit(120) as "age", "fix1")).
    add(DQMPolicy(policy, "my_udp1"))
```

**Python**
```python
Not implemented yet
```

### DQMState

`DQMState` provides the following methods to access its contents, one can use them to build policies.
* `getRecCount(): Long` - total number of records in this DF
* `getFixCount(name: String): Int`  -  for the fix with the given name, return the time it is triggered
* `getRuleCount(name: String): Int` - for the rule with the given name, return the time it is triggered
* `getTaskCount(name: String): Int` - for the rule or fix with the given name, return the time it is triggered
* `getRuleLog(name: String): Seq[String]` - for the rule with the given name, return the example failed records
* `getAllLog(): Seq[String]` - return all the example failed records from all the rules
* `getTotalFixCount(): Int` - return the total number of times fixes get triggered
* `getTotalRuleCount(): Int` - return the total number of times rules get triggered


I'm analyzing Differentially Expressed Genes (DEG) in 2 conditions (H = Healthy vs T = Tumor) using DEseq2 (version DESeq2_1.22.2).
When checking/visualising significant DEG with the plotCounts function, I came across one gene with a weird behavior.
I was wondering how this could be the case?
In your plotCounts() call it looks like you've got a different gene ID.
Thank you for your reply and sorry for the mistake, I did the wrong copy/paste... I've edited the example with the correct gene RLOC_00033176.
From the estimated means I wonder: are you using a simple design or are you also controlling for covariates other than condition?
keratinocyte : continuous variable which estimates the % of this cell type. Although you recommended to cut into factors, I manually observed better results on known DEG using continuous values for this covariates.
Does it seem reasonable with you?
Can you post all of your code? This will help us get to the answer faster. Generally you should always post your design also, because this helps the support site answer-ers know what is going on.
Sure, Michael! Thanks for your help!
I've found the problem. You cannot include Keratinocytes in this model as it stands. It is perfectly separable by condition, and although the software doesn't output an error here, it would if you had binarized the former because it would have recognized that their are perfectly confounded.
Take a look also at boxplot of Keratinocytes over condition. You need to either drop Keratinocytes from the model, or if you think it's critical to control for Keratinocytes while testing for condition effects, you need to design a new experiment where it is possible to control for this and estimate the T vs H difference.
2/ Finding a way to exclude aberrant DEG(s) such as the one previously mentioned.
Given your expertise, would you recommend any of these alternatives?
Thanks again, I really appreciate.
My position is that you cannot include this covariate in the model no matter how you cut or transform it. It is essentially perfectly confounded with condition. It will give misleading results to include the covariate along with condition.
Also what do you get for coef(dds) for this gene?