text:
Haypost issues stamp in memory of Diana A. Apcar
November 30, 2020 Guest Contributor News 0
YEREVAN – The postal services of Armenia, Haypost, announced the release of a postage stamp dedicated to Diana A. Apcar (1859-1937) as part of its annual "Armenian history" series. The postage stamp (30.0 x 40.0 mm) with the nominal value of 120 AMD depicts the Honorary Consul of the First Republic of Armenia (1918-1920) to Japan.
Born in Rangoon, Burma (present day Yangon, Myanmar) on October 17, 1859 to Armenian parents from New Julfa, Iran Diana Apcar was the youngest of seven children in the family. Apcar was raised in Calcutta and received her education in a local convent school. Diana Apcar became fluent in English, Armenian and Hindi. She married Michael Apcar, a descendant of the prominent house of Apcar of New Julfa. In 1891, the couple moved to Japan, where she lived until her death on July 8, 1937. She was buried in the Foreigners Cemetery in Yokohama beside her husband and two sons. Her tombstone is engraved with the simple words befitting her life and faith: "Out of Earth's shadows unto Heaven's Glorious Day. We Loved Her, but God Loved Her Best."
On July 20, 1920, out of respect to her humanitarian efforts, Hamo Ohanjanian, then Foreign Minister of the Republic, appointed Diana Apcar Honorary Consul to Japan, making her the first Armenian woman diplomat and one of the very first women to have ever been appointed in any diplomatic post in the twentieth century. After the fall of the First Republic of Armenia in the same year, her post was abruptly terminated. But she continued her humanitarian work for two decades, helping survivors of the Armenian Genocide who had made it to the distant shores of the Far East to settle and find refuge in peaceful lands.
Diana Apcar


text:
Comece a ler
David J. Silverman, "Thundersticks: Firearms and the Violent Transformation of Native America" (Harvard UP, 2016): In Thundersticks: Firearms and the Violent Transformation of Native America (The Belknap Press of Harvard University Press, 2016), David J. Silverman argues that Indian societies adopted firearm technology not because they were visually impressive or c...
de Scribd Podcasts
In Thundersticks: Firearms and the Violent Transformation of Native America (The Belknap Press of Harvard University Press, 2016), David J. Silverman argues that Indian societies adopted firearm technology not because they were visually impressive or culturally significant (though they were both), but simply because they killed more efficiently. Using his concept of the "gun frontier," Silverman, a professor of history at George Washington University, shows how contact between Natives and those Europeans willing to trade weapons for furs and other goods fundamentally altered the politics and power dynamics of a given region. Thundersticks draws on case studies from a broad sweep of time from the seventeenth to the mid-twentieth century, including the consolidation of Iroquois power, King Philip's War, the otter fur trade in the Pacific Northwest, and the ascendency of the Blackfeet in the mountain west. Each story underscores the point that guns could both undermine colonial power as well as cause catastrophic conflict between Indian societies. Firearms changed Indian societies in innumerable ways, but when the gun trade lagged, so too did an individual polity's power. Silverman's book is a complicated, nuanced, look at how post-contact North America has long been a wildly interconnected place, and how it became a continent filled with blood and smoke.
Stephen Hausmann is a doctoral candidate at Temple University and Visiting Instructor of history at the University of Pittsburgh. He is currently writing his dissertation, a history of race and the environment in the Black Hills and surrounding northern plains region of South Dakota, Wyoming, and Montana.Learn more about your ad choices. Visit megaphone.fm/adchoices
Editora: Scribd PodcastsLançado em: Apr 24, 2018ISBN: Formato: podcast_episode
Susan Sleeper-Smith, "Indigenous Prosperity and American Conquest: Indian Women of the Ohio River Valley, 1690-1792" (UNC Press, 2018): Historians have gotten the story of the colonial Ohio River Valley all wrong, argues Susan Sleeper-Smith in Indigenous Prosperity and American Conquest: Indian Women of the Ohio River Valley, 1690-1792 (Omonundro Institute and the University of North C...
Autor New Books in Gender Studies
Daniel Immerwahr, "How to Hide an Empire: The History of the Greater United States" (FSG, 2019): "Is America an Empire?" is a popular question for pundits and historians, likely because it sets off such a provocative debate...
Autor New Books in History
St. Clair's Defeat, or the Battle of a Thousand Slain: In 1791, a confederation of Native American tribes destroyed about half of the American army. The catalyst for that conflict was a lengthy period in which unfair treaties, biased against native peoples, were all too common.
Autor Stuff You Missed in History Class
Allan Millett and Gary Johnson: The War of 1812 in the Northwest: A Forgotten War with Real Winners and Losers: Allan Millett and Gary Johnson discuss the defeat of Native American tribal confederation in War of 1812 in this session from the 2018 ON WAR Military History Symposium.
Autor Pritzker Military Museum & Library Podcasts
Karl Jacoby, "The Strange Career of William Ellis: The Texas Slave Who Became a Millionaire" (Norton, 2016): To his contemporaries in Gilded Age Manhattan, Guillermo Eliseo was a fantastically wealthy Mexican, the proud owner of a luxury apartment overlooking Central Park, a busy Wall Street office, and scores of mines and haciendas in Mexico.
223 Susan Sleeper-Smith, A Native American History of the Ohio River Valley & Great Lakes Region: During the 17th and 18th centuries, the Ohio River Valley proved to be a rich agrarian region. Many different Native American peoples prospered from its land both in terms of the the land's ability to produce a wide variety of crops and its support...
Autor Ben Franklin's World: A Podcast About Early American History
Did Native Americans Descend from Western Europeans?: You might have seen- New York Times, 24,000-Year-Old Body Shows Kinship to Europeans and American Indians, http://www.nytimes.com/2013/11/21/science/two-surprises-in-dna-of-boy-found-buried-in-siberia.html
Autor Science News Flash
An American Secret
Autor Hidden Brain
AEE Secrets to Real Listening Bonus: An Inside Look at Virgil and the Navajo Tribe: Meet a man from the Native American Navajo tribe
Autor All Ears English Podcast
198 Andrew Lipman, Saltwater Frontier: Native Americans and the Contest for the Northeastern Coast: When we think of Native Americans, many of us think of inland dwellers. People adept at navigating forests and rivers and the skilled hunters and horsemen who lived and hunted on the American Plains. But did you know that Native Americans were...
David Narrett, "Adventurism and Empire" (UNC Press, 2015): In his new book, Adventurism and Empire: The Struggle for Mastery in the Louisiana-Florida Borderlands, 1762-1803 (University of North Carolina Press, 2015), David Narrett explores the international political and diplomatic competition for control of t...
The Gods of Indian Country: Dr. Jennifer Graber's new book, "The Gods of Indian Country," grew out of lingering questions from her first book, a study of American Quakers and prisons. Graber learned that Quakers served as missionaries to Native American reservations in the West.
Autor The Religious Studies Project
190 Jennifer Goloboy, Origins of the American Middle Class: As many as 70 percent of Americans consider themselves to be members of the middle class. But if you consider income as a qualifier for membership, only about 50 percent of Americans qualify for membership. So what does it meant to be middle class and...
Asylum and the border crisis: Asylum has come to the forefront of this latest flashpoint in the immigration debate because of the thousands fleeing violence in Guatemala, Honduras and El Salvador.
Autor Interfaith Voices Podcast (hour-long version)
How the NRA began: When the NRA was founded in 1871, its primary concern was not gun rights or the Second Amendment.
Autor Retropod
Mark R. Anderson, "The Battle for the Fourteenth Colony" (UP of New England, 2014): My most current guest is Mark R. Anderson, author of The Battle for the Fourteenth Colony: America's War of Liberation in Canada, 1774-1776 (University Press of New England, 2014). Anderson's award-winning book presents the most detailed and nuanced st...
#272 Life in New Amsterdam
Autor The Bowery Boys: New York City History
An American Genocide: California Indians, Colonization, and Cultural Revival
Autor ALOUD @ Los Angeles Public Library
U.S. Territorial Expansion
Autor ASHP Podcast
Karl Jacoby: The Contest for the Continent
226 Ryan Quintana, Making the State of South Carolina: What do we mean by "the state?" How is a "state" produced? Is "the state" something everyone can participate in producing? Ryan Quintana, an Associate Professor of History at Wellesley College and the author of Making a Slave State:...
Allan Greer, "Property and Dispossession: Natives, Empires and Land in Early Modern North America" (Cambridge UP, 2018): In his Property and Dispossession: Natives, Empires and Land in Early Modern North America (Cambridge University Press, 2018), Allan Greer, Canada Research Chair in Colonial North America at McGill University in Montréal,
Revolution | The Populist | 6
Autor American History Tellers
184 David Silverman, Thundersticks: Firearms and the Violent Transformation of Native America: Early North America was a place rife with violent conflict. Between the 17th and 19th centuries we see a lot of conflict between different Native American peoples, Native American peoples and colonists, colonists from one empire versus colonists from...
Words On Water #62: Marleah LaBelle on Alaska Native Villages: November 5, 2018 Marleah LaBelle is a project manager with the Alaska Native Tribal Health Consortium. In this episode, Marleah … More
Autor Words On Water
Fries' Rebellion: AMH 85: Fries' Rebellion
Autor American Military History Podcast
408. Hoksila Lakota (Lakota John): Hoksila Lakota, commonly known as Lakota John is a Native American whose heritage comes from Oklahoma and the Great Plains of North America. Many generations ago his people lived in harmony with all things Universal,
Autor Buddha at the Gas Pump
Basketball Comes to Fort Shaw Indian School (pt. 1): The Fort Shaw Indian School was part of a boarding school system designed to make Native American students conform to white culture. In a surprising twist, it also boasted a champion women's basketball team.

redpajama_set_name: RedPajamaCommonCrawl


text:
Missouri's ballot measure could mean growth for the marijuana industry, but not everyone will win
KCUR | By Skyler Rossi, Missouri Business Alert
David McNew
Missouri's marijuana industry could soon open wide if voters approve a proposed amendment on the November ballot.
Amendment 3 would legalize cannabis in the state for anyone 21 and older. Businesses that already have a medical marijuana license could apply to convert to a recreational license. And, 144 micro business licenses would be made available for smaller operators looking to enter the market.
If the measure passes, many existing cannabis businesses in the state will be able to rev up sales as the customer pool widens. But some in the industry are concerned that the amendment could create an uneven playing field for newcomers, especially as existing businesses get a head start.
Missouri marijuana dispensaries have brought in more than $494 million since the first stores opened in October 2020. Sales could grow to as much as $900 million annually by 2025 if the market opens up, said Chase Cookson, a professor and researcher at Saint Louis University's Cannabis Science and Operations Program.
The cannabis industry would draw dollars to Missouri, he said. People from nearby states without fully legalized marijuana, including Kansas and Nebraska, would likely come to the state to purchase cannabis.
Even people in Illinois, which legalized recreational marijuana in 2020, would be likely to come across state lines seeking Missouri's cheaper taxes, Cookson said. Missouri's marijuana sales tax would be 6%, and local entities could charge an additional tax of up to 3%, according to the amendment.
Legalizing recreational marijuana would cost the state $3.1 million initially and $5.5 million per year after that, according to the Secretary of State's office. The state expects annual revenue of at least $40 million.
There are about 350 marijuana businesses in the state with medical licenses that would have the option to convert to a recreational license. Businesses with existing licenses can request a conversion 30 days after the election if the amendment passes. It's likely all of them would, Cookson said.
"I can't think of a reason not to do that," he said. "I imagine every single one of them will."
Preparing for growth
Businesses that already hold licenses are expecting a surge in sales. Some are already preparing for the possibility of a larger market.
One of those is BesaME Wellness, a cannabis dispensary with five locations in the Kansas City area. Joey Pintozzi, BesaME's vice president of retail operations, expects as much as three times the number of customers if cannabis is fully legalized. The stores currently see about 500 customers per day, he said.
"We've had this business model for two years, and now we (would) bust out of those seams," Pintozzi said.
The business is planning to hire more people and increase training to get ready for new customers.
provided by Cookson
Chase Cookson, a professor and researcher at Saint Louis University's Cannabis Science and Operations Program.
For most existing dispensaries, there wouldn't be a large shift in product, since most sell cannabis products that are typically preferred by recreational users, Cookson said.
Some customers that currently purchase marijuana illegally would begin to purchase at dispensaries. But Cookson expects a good portion of people would continue to purchase from the illegal market.
The legal, regulated industry is likely to consolidate over time if the ballot initiative is passed, Cookson said. Already, there's been consolidation across the country. As more states legalize cannabis, consolidation will likely continue.
"That doesn't bode well for small producers," Cookson said.
Barriers to business
Marne Madison spent around $70,000 to apply for a medical marijuana license in Missouri, only for her application to be denied, she said.
She ended up going to Oklahoma to open a dispensary. There, the number of licenses is unlimited and there are fewer hoops to jump through, she said. This time she invested thousands of dollars, but it was toward an end.
provided by Madison
Marne Madison opened a dispensary in Oklahoma after her application in Missouri was denied.
"I'm actually building out a business," she said. "I'm not applying six figures and hoping to win."
When it costs tens of thousands of dollars to even try for a license, it leaves people out, said Madison, who is the executive director of Exit Now, a nonprofit that educates and supports underrepresented founders looking to enter the industry.
"When we talk about how we can operate and be inclusive to everyone, it's basically by saying that, no, you do not need to be a millionaire to be in this industry," Madison said.
The 144 micro business licenses in Missouri's proposed amendment would be distributed to operators who meet at least one of several qualifications. Those include owners who have a net value of less than $250,000, plan to operate in an area 30% below the poverty line, or have non-violent, marijuana-related convictions.
The micro licenses would be distributed in phases across the state over a span of about two years.
These micro businesses — cultivators, manufacturers and dispensaries — would only be able to work with other small marijuana operators. That stipulation was created so that new operators can break into the market without competition from existing businesses, said John Payne, campaign manager for Legal Missouri 2022, the political action committee supporting the proposal.
But the licenses are likely to create a separate market that could put newcomers at a disadvantage, Cookson and Madison said.
Equity concerns
It's good that the qualifications are capped, Cookson said. But it's still expensive to start a cannabis business, no matter the size, and most newcomers are going to have to play catch-up.
"I think anybody that looks at this soberly and has just a little bit of business acumen can look at this from a distance and pretty quickly see that there are some really significant challenges for anyone who gets a micro business license," Cookson said.
Customers would have to prioritize supporting these smaller dispensaries, since their products would likely be more expensive than those sold by larger businesses, Cookson said.
"There is a really good chance we're going to see a bunch of micro business licenses awarded that will not ever actually get used because the person receiving it will not be able to obtain the capital to get going," Cookson said. "Or they'll get that capital and get going and realize that they can't compete at the same level of these larger operators.
"It's the time-tested story of capitalism, where we've got these larger operators with economies of scale that just can't be replicated at a smaller level."
The amendment's micro business provision aims to get licenses into specific people's hands, Payne said.
"As long as we are getting them to the people that we intend to, that does bring value to those individuals and those communities," he said.
States that have already fully legalized marijuana, such as Illinois, New Jersey and California, have worked to create equitable markets. But disadvantaged operators often need services, including financial and business support, to get to a place where they can be successful, Cookson said.
"I don't know that I can say anyone's done it well yet," Cookson said. "So my criticisms of Missouri are within the context of understanding – no one has done this well."
This story first appeared in the Missouri Business Alert.
Copyright 2022 KCUR 89.3. To see more, visit KCUR 89.3.


Oracle on Monday fattened up its already burgeoning middleware stack, announcing Monday that it has purchased SOA (service oriented architecture) management vendor AmberPoint. Terms were not disclosed.
SOA refers to a systems design approach that eschews monolithic applications and instead designates various processes, such as running a credit check on a customer, as interoperable "services" that allow code to be flexibly reused.
AmberPoint's software is used to monitor the performance of SOA-driven applications and help users solve problems. It is "highly complementary" to Oracle's own SOA software and will "enable increased control and performance of critical applications across the enterprise," according to an FAQ document Oracle released Monday.
It is not clear how the deal will affect road maps for AmberPoint's products. A review is under way and more details will be forthcoming, Oracle said. Investment in the products is expected to increase, according to the FAQ.
"AmberPoint was one of a dwindling group of still-standing independents delivering runtime governance for SOA environments," analyst Tony Baer said on the OnStrategies Perspective blog.
The move "patches some gaps in its Enterprise Manager offering, not only in SOA runtime governance, but also with business transaction management – and potentially – better visibility to non-Oracle systems," he added.
The deal is expected to close in the first half of this year.


text:
The Tech Edit by Vogue Business
Fashion shows: Digital solutions for a new reality
Season 1, Ep. 8
In the final episode of season one, we assess the successes and challenges of converting the traditional fashion show format into a digital, viral moment. Christina Fontana, head of Tmall fashion and luxury Europe for Alibaba, describes the elements that created a sense of participation among online viewers of the all-digital Shanghai Fashion Week. Designer Priya Ahluwalia walks us through the process of creating a virtual reality presentation for London Fashion Week. And finally, Susie Lau, a journalist and consultant also known as Susie Bubble, analyses how the purpose of international fashion shows continues to evolve — and why that might be a challenge for Europe's heritage brands.
Digital clothing: Redefining reality
In episode six, we take a look at the viral evolution of digital clothing. Morten Grubak, executive creative director of Vice, shares the backstory of the first-of-its-kind digital clothing collection from Carlings. Candice Fragis, fashion director at fashion game Drest, explains why gaming is a bridge to establishing new behaviours. And Vogue Italia creative director Ferdinando Verderi discusses how a recent cover shoot invites us to reconsider what it means for something to be real.
AI, big data and fashion: sell more, waste less
Data, data, data. In episode five, we take a look at new ways that fashion and beauty can use data to understand behaviour to sell more and waste less. Julie Bornstein, CEO and co-founder of new shopping app The Yes, reveals some of the science behind its personalisation capabilities; Ganesh Srivats, CEO of fashion discovery platform Moda Operandi, explains how its using data to help designers plan what goes into production; and Yarden Horwitz, co-founder of trend prediction agency Spate, discusses how she can identify niche trends in big data.
Augmented reality: How to engage tomorrow's consumers
In episode four, we're talking about how augmented reality has evolved from entertainment to utility between brands and consumers. Carolina Arguelles, head of global product marketing for Snapchat's camera and AR products, explains the" three Cs" of camera marketing and describes new ways brands are using AR. Daniel Beauchamp, head of AR and VR at Shopify, shares how Shopify is making it easier for merchants to create AR experiences for online shopping. And Dina Fierro, vice-president of global digital strategy at NARS Cosmetics, discusses how the brand is now integrating AR in every way possible.
Copyright Condé Nast


Unique Home/Office. This house was a home and a Veterinarian office for 30 years. If you are wanting to run a business out of your home this is it. The office/Vet area has 4 rooms and still has all kennels in place. They can be removed and convert office to additional living space or bedrooms. This location also has approx. 1,350 SF pole barn in the back on 1.1 Acre lot. Zoned Rural you can use the property for a variety of businesses. The home has very large full basement, nice den with wood burning fireplace. Currently carpeted but hardwood floors throughout. Rare find and could be perfect for the person wanting to work out of their home.
A one of a kind water front home on 3/4 acre in Hillview Estates that is perfect for entertaining or raising a family. This well maintained 4 level split with extra deep (30 feet) 3 car heated garage has large master bedroom with 15x22 family room with wood burning fireplace. Updates galore! Metal Roof 2016, Kitchen Remodel w/ granite countertops 2016 (Amish built Corner cabinet to convey with home), Whole Home Generator 2017, Electric Panel 2015 and newcarpet through out 2018 and 2017. Lower Level has the large laundry room with walkout and has bedroom #4 that could be used as a Den or office. The 3 season room leads you out back to the stone patio and beautiful views of the lake. Only 10 homes share the shore line to the 2 acre private lake perfect for canoeing, kayaking and fishing.


Place a measuring tape around your head right above your ear, across the mid-forehead, completely circling your head. Hold the tape firmly, but not too tightly. Basically, you need to measure your head exactly where the hat will sit.
The hat looks great. I ended up giving it to a friend who likes it very much. I ordered a large and should have gotten a medium. It is just a little to big for me.


text:
// Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.jps.builders;

import com.intellij.openapi.util.io.FileFilters;
import org.jetbrains.annotations.NotNull;

import java.io.File;
import java.io.FileFilter;
import java.util.Collections;
import java.util.Set;

/**
 * Describes a source root of a build target.
 */
public abstract class BuildRootDescriptor {
  /**
   * Returns the serializable ID of the root, used for writing caches. May return simply the file path.
   */
  public abstract String getRootId();

  /**
   * Returns the directory of the source root.
   */
  public abstract File getRootFile();

  /**
   * Returns the target to which this source root belongs.
   */
  public abstract BuildTarget<?> getTarget();

  /**
   * Creates the file filter specifying which files under the specified root belong to this build target.
   */
  public @NotNull FileFilter createFileFilter() {
    return FileFilters.EVERYTHING;
  }

  /**
   * @return the set of excluded directories under this root.
   */
  public @NotNull Set<File> getExcludedRoots() {
    return Collections.emptySet();
  }

  /**
   * Returns {@code true} if the whole content of this source root was automatically generated by the JPS build process.
   */
  public boolean isGenerated() {
    return false;
  }

  public boolean canUseFileCache() {
    return false;
  }
}

redpajama_set_name: RedPajamaGithub


text:
Home Finance Page 290
Veteran banking exec Maiorino hired to lead First Bank's new asset-based lending group
EisnerAmper survey: Next cybersecurity breach will come from inside
Flynn to retire from NJM; Livingston named successor
Finance Rich Pizzutillo - January 26, 2018
Bernie Flynn, the longtime head of New Jersey Manufacturers and a respected business leader known for his relentless efforts to raise the profile of the state, announced his retirement Friday afternoon, effective April 27. Flynn...
N.J. bank experiences strong philanthropic donations
Rutherford-based Boiling Spring Savings Bank announced fourth-quarter results for its Community Alliance Program have totaled $128,722 — the program's highest annual donation to date. In total, last year saw $500,000 donated to various charitable organizations...
Bright prospects for midsize firms, Wells Fargo exec says
Even with the Garden State's recent inundation of rain and snow, one of the country's largest banks is expecting clear skies for the rest of the year — at least as far as financials...
TD Bank is top SBA lender in N.J. for 2017
TD Bank has been honored by the U.S. Small Business Administration's New Jersey district office for approving the most loans to New Jersey small business owners during its fiscal year 2017. This is TD Bank's...
Fairfield financial planning company hires new CIO
Bleakley Advisory Group, a financial consulting group based in Fairfield, has chosen Peter Boockvar as chief investment officer. He will oversee Bleakley's investment management program, the investment committee, global investment outlook and asset allocation decisions. "I'm...
J&J reports $10.7B quarterly loss, blaming tax reform
Johnson & Johnson was hit with massive quarterly loss, which it is associating with the recent U.S. tax changes. The New Brunswick-based health care giant said Tuesday it lost $10.7 billion, or $3.99 a share,...
Greetings from N.J.: Indiana officials learn from state
The three-county area has a population of more than 750,000. Its business heads and officials from its numerous municipalities know they need to work together better, leveraging their strength as a region, but they can't...
Tip change could cost N.J. workers $119M/yr., study says
A proposed U.S. Department of Labor rule that would allow employers to take employees' tips if they pay minimum wage could cost New Jersey workers more than $119.7 million a year, according to revised...
Why tax talk could hurt Newark's chances at HQ2
Newark has worked hard to overcome the remains of a negative national perception — one that most professionals in economic development no longer feel is valid. Its efforts to land Amazon's HQ2 headquarters project, for...
EisnerAmper adds tax partner to personal wealth advisers
Accounting and advisory firm EisnerAmper LLP has added a tax partner in its Personal Wealth Advisors Group, it announced recently. Dane Dickler has joined the firm's Metro Park office in Iselin, where he will specialize...


Naomi Klein has the uncanny ability to deliver the book the world needs right when we need it. This book was published five years ago, when it explosively made the connection between climate change and capitalism, energizing the ongoing movement. Clear, comprehensive, powerful, and as urgent as ever.


These glistening stud earrings are detailed with black pave crystals for shimmer and designed in a modern square silhouette. gold-tone square-shaped earrings, black-colored crystal accents, post back, .25" length, imported.
Description These glistening stud earrings are detailed with black pave crystals for shimmer and designed in a modern square silhouette. gold-tone square-shaped earrings, black-colored crystal accents, post back, .25" length, imported.


text:
The relentless run of matches continues for FC Halifax Town this weekend as they travel south to battle it out with Maidenhead United. The match will kick off at 3pm on Saturday afternoon. Here are ten stats to keep in mind as we build up to the tough fixture.
Maidenhead currently occupy the 11th spot in the Vanarama National League whilst Halifax are back in 16th.
The two teams are separated by just four points as the away side have tallied up 37 points so far this season. Town meanwhile have totalled up 33.
The Magpies and The Shaymen have an identical record in terms of results in their previous 5 matches. Both sides have won two, drawn one and lost two.
Over their last five home matches, Maidenhead have picked up three points on just one occasion and have failed to collect any reward in three.
Defender, Alan Massey is the only player to have played in every minute of every match for the home side this season, having played a total of 28 consecutive games.
Town's form when on their travels is not too strong. They have lost three, drawn one and won one in their last five away outings, although they have avoided defeat in their previous two.
Maidenhead's biggest league win this season came early in the campaign against AFC Fylde. The Shaymen's was considerably more recent coming on the 23rd December against Chester when they came out as convincing 4-0 winners.
This season, The Magpies' highest home attendance came against southern rivals Leyton Orient when 2,544 fans came through the ticket barriers.
Interestingly, Maidenhead have scored exactly the same amount of goals as they have points, 37. Halifax aren't far behind and have had put the ball in the back of the net 31 times.
Tom Denton tops the goal scoring chart for town with nine goals to his name. However, there is a three way split at the summit of the home side's stats with Adrian Clifton, Harry Pritchard and former player Dave Tarpey all on six goals.
Read more posts by FC Halifax Town
previous Maidenhead United: 10 Things
next Maidenhead United: Match Preview


I've had some missions where I have to get kills when defending the cap.
It seems to me I'm not getting credit for kills made after it turns blue if I'm in there flipping it anyway. I would have assumed any kills after it turns blue would be defensive kills.
Do you have to leave the cap and come back or go to a cap you didn't help flip. Does anyone know if it's a bug or game mechanic.
After you turn sector blue, there is period of 25-30 seconds, when sector can't be caped, there are no buildings, and there are no defensive bots. During that time, kills aren't counted as defensive kills, and you don't get 40 capture points per kill. As soon as buildings pops out, you can farm those defense kills.
You don't need to leave the cap.
Ahh..thanks for the info, makes sense when you explain it.
From what i think i noticed, the attacker needs to fire on a groundtarget or aerial defence plane first, so your kill counts as a defending one.
Edited by spranckx, 09 January 2019 - 10:39 PM.
You dont need to shoot anything, you have to wait that locked period to expire after switching owner of the base. During that time, missions objectives that are attacking/defending do not count.
Works the same when attacking.
1. If the cap switches to your side wait until the cap is not locked anymore before you kill enemies.
2. Only kill enemies inside your cap, wait until they are in the cap before you attack.
And when your health runs low, try to get outside the cap to recover. That way if you get killed, the enemy doesn't get cap points to take over the base you're defending.
A great place to get lots of defense kills is the airbase with repair point.
Edited by GonerNL, 10 January 2019 - 09:25 AM.
You should always consider getting the edge of a sector your team has recently capped, waiting until it has unlocked and then returning to defend. You can recover health, as GonerNL has said, gain altitude, read the map and position yourself well for shooting down attackers.


Alpine elegance and a cosy atmosphere. The apartment consists of a light-flooded living room with pull-out sofa, a fully-equipped kitchenette with dishwasher, and a large south-facing balcony with magnificent panoramic views over the Merano region.
The bedroom has a comfortable box-spring bed and a single bed and can be supplemented with a cot, if necessary. In addition, there is a large bathroom with double-wash basin, shower and WC, plus fluffy bathrobes available for the whole family. It also features free Wi-Fi, a safe, telephone, satellite TV, air condition and hairdryer.


text:
BBC Chief Opens Flowerfield Student Art Show
Students from the University of Ulster are celebrating the end of their studies with an exhibition at Flowerfield Arts Centre in Portstewart.
The End of Year Show gives final year students from the School of Media, Film and Journalism the opportunity to showcase their final production work.
The exhibition will be formally opened on Tuesday, 31 May, by Peter Johnston, Director of BBC NI, and will be open to the public from 1-6 June.
The display will include works in photography, video and sound, all produced by students undertaking BA Honours degrees in Media Studies and Production, Interactive Media Arts and Photo Imaging.
Among the many exhibits on display, the University's Science Shop projects, in particular, show how the School is engaged with the wider community.
These exhibits cover:
development and illustration of two children's books exploring friendship and healthy eating for 'key stage one' children, in partnership with the Belfast Giants Community Foundation; development of an interactive website for the Boys Brigade, highlighting activities at the Ganaway Centre; design of publicity materials and a website for a bereaved by suicide support group in Derry city;
design of materials engaging disaffected young people who have suffered a loss and who need support in Derry city; development a new web site for the University of Ulster Students Union.


How can I create a gadget that shows statistics by "Security Level"?
In one of my projects, Security Level is used to specify which country a ticket applies to, and thus which users have access to it based on country assignments. I am able to filter on Security Level in the issue navigator, and can add it as a column in the navigator reports, but I am unable to use it in any of the dashboard gadgets that show statistics (i.e. count of tickets by security level and issue type, count of tickets by security level and status). I am interested in using security level as a dimension in Issue Statistics, Two Dimensional Filter Statitics, Bar Chart, or other similar gadgets. Is there any way to do this since it doesn't show up in the gadget drop-downs?
You won't be able to get statistics by securitylevel because it is not a defined field in the StatisticTypeResource class. You will have to write a plugin to expose the field via REST and use it in a new gadget.
Thanks. That's what I thought, but wanted to confirm.
You can use eazyBI to easily create reports and charts both from JIRA standard fields as well as selected custom fields. Security level is a standard dimension that can be used in eazyBI reports.
You can also create custom dashboards including eazyBI reports and embed them in any HTML page as <iframe> element.
If you have any questions about eazyBI plugin, feel free to contact support@eazybi.com.


Do you enjoy finding a bargain and trying out new experiences?
There are now a number of group/social buying websites where you can find deals of the day in the city where you live but finding a deal that appeals to you could be a tedious task. It no longer needs to be since there is now a site called dealcollector.co.uk that gathers together the daily deals from many popular sites including Groupon, Living Social and Wahanda. Although these types of sites highlight some remarkable deals during the week you have to visit their websites individually to see what offers they have on.
The great thing about dealcollector.co.uk is choice. If you don't want the deal from one company you can see what other firms are offering – all from one website. Perhaps you want a bargain cut and colour or fancy a day learning to surf – being able to look at more than one offer will make your deal hunting even more fun. You will no doubt find a bargain offer that interests you and fits within your budget. If you're prepared to travel you can even find deals outside your city!
Don't know how group buying works? Well, here's a little information to help you.
With group buying the deal will only happen if a certain number of people say YES to the offer within the timescales advertised. If that number of people is achieved then the deal is ON.
Award-Winning Beyond Laser Teeth Whitening Treatment for £99 at La Perle (Value £350) That's an amazing 72% discount. 13 hours 48 minutes left and 141 people have bought so far! The deal say's it's ON!
The idea is you share offers like this with your friends on popular social networking websites including Facebook and Twitter. The more people who are aware of a deal like this the more chance it will happen for you. Perhaps if you're reading this article you know someone who would love to get their teeth whitened at 72% discount! If not, don't worry, there are other amazing offers to choose from TODAY.
The great thing about group buying websites is that consumers can experience new things at bargain prices and the business owners are able to attract additional customers. So do yourself a favour and bookmark dealcollector.co.uk so that you too can check out the daily deals in your city.
Beat the big freeze and save cash with exclusive Superdad deal – £5 a roll of insulation!


text:
New drug class gives hope to some ovarian cancer patients
The study provides insights into how the cancers resist treatments, and which patients may benefit from treatment.
Barbara Clements, bac60@uw.edu, 253.740.5043
"PARP inhibitors target the Achilles heel of cancers which have certain types of defects in DNA repair," Dr. Elizabeth Swisher said.
A study published today in Nature Communications shows that the drug rucaparib has been effective in treating certain types of ovarian cancers if used early in treatment, after a diagnosis, and before the cancer cells build up a resistance to chemotherapy.
Rucaparib is in a relatively new class of drugs - Poly(ADP-ribose) polymerase or PARP inhibitors - which have been approved for therapy in ovarian cancers. This study provides insights into both how the cancers resist treatments, and which patients may respond favorably to the drug, said lead author Dr. Elizabeth Swisher, a UW Medicine gynecologic oncologist and a professor of obstetrics and gynecology at the University of Washington School of Medicine. She also co-directs the Breast and Ovarian Cancer Research Program at the Seattle Cancer Care Alliance.
The paper represents collaborative work of researchers in 75 universities and focuses on treatments of 493 patients between April 2013 and October 2016.
"PARP inhibitors are a drug class that has become an important therapeutic for ovarian and some other cancers. This study looked at pretreatment biopsies to define predictors of response to treatment and mechanisms of resistance (within the cancer cells), which is critical to understanding best use of these therapies," Swisher said.
The best responders included those patients with ovarian cancer associated with inherited or somatic (not inherited) mutations in the ovarian cancer susceptibility genes BRCA1, BRCA2, RAD51C and RAD51D, all genes involved in DNA repair, Swisher noted.
"PARP inhibitors target the Achilles heel of cancers which have certain types of defects in DNA repair," she said.
The study found that cancers exposed to previous platinum chemotherapy have built up resistance by improving their DNA repair capabilities, which then creates cross-resistance to rucaparib. This explains why PARP inhibitors work better earlier in the course of treatment, Swisher said.
The researchers correlated many molecular alterations to response to treatment including inherited and somatic mutations, methylation alterations (epigenetic changes) and genomic scars (mutational patterns created by defective DNA repair).
The authors defined which mutation and methylation events correlated with response to rucaparib.
But in patients who had received previous chemotherapy, cancers had developed a resistance to rucaparib.
Funding is from the National Breast Cancer Foundation of Australia and the Department of Defense Ovarian Cancer Research Program (OC12056) and a Stand Up To Cancer-Ovarian Cancer Research Fund Alliance-National Ovarian Cancer Coalition Dream Team Translational Cancer Research Grant (SU2C-AACR-DT16-15)
For details about UW Medicine, please visit http://uwmedicine.org/about.
UW medical school to end participation in U.S. News rankings
Protein scientists share Frontiers of Knowledge Award
How regulatory T cells halt aberrant, self-reactive T cells
Paul G. Ramsey Endowed Deanship created at medical school
Genetic diagnosis helps guide care of childhood hearing loss


# Iterate through the array / hash and get the error's default message etc.
Is there an easier way to do this perhaps to just get all the data inside ERROR_ID_MAP without going through this trouble, so we almost treat package A as a configuration file of sorts?
NOTE - hopefully there's not too many errors in the code above that will take away from the point of the question.
- defaultMessage: Sorry, we've encountered a problem with purchasing. Please try again.
Modification of a read-only value attempted at ./main.pl line 11.
Notice how an attempt to change an element of the data structure to which $ERROR_ID_MAP refers causes a helpful exception.
Not the answer you're looking for? Browse other questions tagged perl constants config or ask your own question.


Many people think that school is the best place for children to make new friends, but what about summer camp?! Summer camp provides children with the perfect opportunity to make lifelong friends in a relaxed and fun environment. At summer camp, your son or daughter will work together with fellow campers to achieve a similar goal. Children will also get to experience some friendly competition against each other. This gives children a chance to experience teamwork, to learn good sportsmanship, but most importantly to have fun and make new friends! At Camp Timberlake, campers have the entire summer to bond with each other and leave having made new friends of all ages, backgrounds, and from all over the world. By sending your child to our summer camp near Georgia, you are giving them the opportunity of a lifetime to meet new people and try out new experiences that they couldn't get anywhere other than camp.
Many of our campers say that they have met their best friends at summer camp. During the school year, it can be extremely difficult for children to make new friends that they truly connect with. With all of the stress from class, after school activities, and constantly being busy, children may not have a chance to interact with one another. So instead, summer camp provides children will a relaxed and comfortable environment where they are free to meet new people and be themselves without feeling judged. By participating in different summer camp activities, your child will get to meet fellow campers who have similar interests. Who knows, maybe they will meet their new best friend on the soccer field or sitting next to them at dinner! Camp Timberlake is equipped with passionate, skilled summer camp counselors who care about every single camper and giving them the best summer ever. Our program is designed to encourage participation, teach new skills and lessons, and inspire campers so they can succeed individually and together as a group or team. We have campers returning year after year, looking forward to another great summer of friends and fun!
If you're interested in sending your child to the best summer camp near Georgia, then look no further than Camp Timberlake! Call us at (828)-669-8766 for more information or to schedule a tour of our campgrounds today!


Haapala, Pajula and Raitala are very similiar cottages built in 1997. These cottages are excellent choice for big families or big groups of friends. The fireplace and the sauna are heated up with wood. The cottages have a big terrace with a view to the lakeside.
a 135.00 begin/ day. Ask an offer!


MIDDLETOWN, NJ - The Mayor and Township Committee honored the Animal Control Officer, a ballplayer, a firefighter, and a soccer team at the June meeting for outstanding achievements.
Animal Control Officer Robert Card has been named Employee of the Month for the month of May for his assistance at the scene of an accident. On the morning of May 10th, Robert was returning from a call when he came across a motor vehicle accident at the comer of Chapel Hill and Kings Hwy East. After pulling over, he began to direct traffic and contacted the Police Department. Robert continued to keep the cars moving, avoiding any other incidents until the Police arrived and took control of the accident scene.
From left are Firefighter Jack Bayard and Mayor Anthony P. Fiore during a presentation recognizing Jack's 50 years of volunteer service as a firefighter.
Jack Bayard Sr. was presented with Middletown's first Key to City in honor of his 50 years of dedicated service as a volunteer firefighter. The Township Committee also proclaimed May 11, 2012 – the day his company celebrated the milestone – as John W. Bayard, Sr. Day. Jack joined the East Keansburg Fire Company in 1962 and ascended the ranks to become Middletown Fire Department Chief in 1991. Jack remains an integral part of the fighting community, having donated thousands of hours over the last 50 years to help keep Middletown safe.
From left are Seton Hall Athletics Hall of Fame Inductee George Ramos Curvy and Mayor Anthony P. Fiore.
The Township Committee honored George Ramos Curvy for being inducted into the Seton Hall University Athletics Hall of Fame. The Committee proclaimed June 11, 2012 – the day of the induction ceremony – as George Ramos Curvy Day. George, a Middletown High School graduate, played several seasons for the Atlanta Braves before an unfortunate injury cut his career short. As founder and coach of the New Jersey Nationals Travel Baseball Team, George continues share his love of baseball with young players in Middletown.
Mayor Fiore and the U11 Girls Soccer Team Red Fusion during a presentation celebrating the girls winning the New Jersey Cup.


text:
Epsilon Pi
In Alpha Phi's current burst of extension at the time, one of its newest campuses was the 119-year-old University of Evansville in Evansville, Indiana. It was home to Epsilon Pi, Alpha Phi's seventh Indiana chapter. Alpha Phi's establishment at Evansville demonstrates that successful extension often takes years. Alpha Phi alumnae first inquired about the possibility of establishing at the campus twenty years prior, and contact had been maintained ever since. Conditions were not right for two decades, but finally the time came. The Panhellenic on campus was strong, and the groups already established, Alpha Omicron Pi, Chi Omega, Phi Mu and Zeta Tau Alpha, realized that more women wanted to join than their chapters could accommodate. Three sororities which had expressed interest were invited to present themselves. In May 1973, Judy Kay Schmidt Mead (Delta Gamma-Northern Colorado), Alpha Phi Director of Extension, and Betty Mullins Jones (Gamma-DePauw), International President, met with representatives of the four sororities on campus. The result? Alpha Phi was the unanimous choice of both the Panhellenic and the administration.
Twenty-one alumnae pulled together to prepare the sorority suite, which was located in Moore Hall, along with the other sororities. It was a challenge for Marilyn Bussing Oldenburg (Gamma-DePauw), to turn the former University Health Center into a cheerful suite of greens, yellow and white! Recruitment was held in September, and twenty-nine collegians and one alumnae joined Epsilon Pi.
On January 18, 1974, the Epsilon Pi new members were bussed to Indiana University, Bloomington, for an Inspiration Ceremony at the Beta Tau chapter. Following a model meeting and lunch at the Beta Tau house, initiates returned to Evansville for an evening banquet. Additional guests at the banquet were Betty Jones, International President and guest speaker; Betty Willett Nixon (Omega-Texas), District Alumnae Chairman; Sue Rainer (Gamma Gamma-Drury), Field Secretary; Nancy Wittgen Burks DeVoe (Gamma-DePauw), District Governor; four vice presidents of the university and their wives, and Mrs. Marie Childers, Dean of Student Affairs.
Welcoming addresses were given by Mrs. Childers; Mary Wynant (Beta Tau-Indiana), retiring president of Beta Tau chapter, and Betty Nixon. Gifts were presented and acknowledged, and the Loving Cup Ceremony was conducted by Betty Jones.
The following morning, University of Evansville President Wallace B. Graves and Mrs. Graves hosted a coffee at their home for all Alpha Phi initiates, alumnae officers and Panhellenic guests throughout the city. All attended church services at the Methodist Temple.
At 2:00 p.m., Alpha Phi hosted a reception in the Great Hall on campus for three hundred well-wishers. The highlight of the weekend was the charter presentation by Betty Jones and Judy Kay Mead.
Carol Davis Snider – 2014 Michaelanean Award Winner
Snider, Carol Anne Davis
Alpha Omicron Pi FraternityChi Omega FraternityPhi Mu FraternityZeta Tau Alpha Fraternity
Alpha Phi Indiana State Day Program, April 6, 1974
This program provides the schedule and workshop topics for the 1974 Indiana State Day, hosted by Delta Pi Chapter in Terre Haute, Indiana.
Six Epsilon Pi Chapter Members and Nancy DeVoe Photograph, Spring 1977
Six members of Epsilon Pi Chapter sit with Fraternity Officer Nancy DeVoe at their chapter house. Pictured are (front, left to right) Susie Oswald, Lori Mitchell, (middle) Nancy DeVoe, (back) Marie Bussing, Donna Todd, Susie Worthington, and Lisa Van Duyn.
Their Hearts Are Set on Heart Fund Newspaper Clipping, February 9, 1981
This clipping features a photograph of members of Epsilon Pi Chapter with lollipops for their annual lollipop sale fundraiser to benefit the American Heart Association.


text:
#=============================================================================
# Copyright 2015 Axel Huebl, Helmholtz-Zentrum Dresden - Rossendorf
# Copyright 2009 Kitware, Inc.
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
#
# This software is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the License for more information.
#=============================================================================
# (To distribute this file outside of CMake, substitute the full
#  License text for the above reference.)

# This module is maintained by Will Dicharry <wdicharry@stellarscience.com>.

include(${CMAKE_CURRENT_LIST_DIR}/SelectLibraryConfigurations.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)

# List of the valid HDF5 components
set( HDF5_VALID_COMPONENTS
    C
    CXX
    Fortran
    HL
    Fortran_HL
)

# Validate the list of find components.
if( NOT HDF5_FIND_COMPONENTS )
    set( HDF5_LANGUAGE_BINDINGS "C" )
else()
    # add the extra specified components, ensuring that they are valid.
    foreach( component ${HDF5_FIND_COMPONENTS} )
        list( FIND HDF5_VALID_COMPONENTS ${component} component_location )
        if( ${component_location} EQUAL -1 )
            message( FATAL_ERROR
                "\"${component}\" is not a valid HDF5 component." )
        else()
            list( APPEND HDF5_LANGUAGE_BINDINGS ${component} )
        endif()
    endforeach()
endif()

# Determine whether to search for serial or parallel executable first
if(HDF5_PREFER_PARALLEL)
  set(HDF5_C_COMPILER_NAMES h5pcc h5cc)
  set(HDF5_CXX_COMPILER_NAMES h5pc++ h5c++)
  set(HDF5_Fortran_COMPILER_NAMES h5pfc h5fc)
else()
  set(HDF5_C_COMPILER_NAMES h5cc h5pcc)
  set(HDF5_CXX_COMPILER_NAMES h5c++ h5pc++)
  set(HDF5_Fortran_COMPILER_NAMES h5fc h5pfc)
endif()

# try to find the HDF5 wrapper compilers
find_program( HDF5_C_COMPILER_EXECUTABLE
    NAMES ${HDF5_C_COMPILER_NAMES} NAMES_PER_DIR
    HINTS ENV HDF5_ROOT
    PATH_SUFFIXES bin Bin
    DOC "HDF5 Wrapper compiler.  Used only to detect HDF5 compile flags." )
mark_as_advanced( HDF5_C_COMPILER_EXECUTABLE )

find_program( HDF5_CXX_COMPILER_EXECUTABLE
    NAMES ${HDF5_CXX_COMPILER_NAMES} NAMES_PER_DIR
    HINTS ENV HDF5_ROOT
    PATH_SUFFIXES bin Bin
    DOC "HDF5 C++ Wrapper compiler.  Used only to detect HDF5 compile flags." )
mark_as_advanced( HDF5_CXX_COMPILER_EXECUTABLE )

find_program( HDF5_Fortran_COMPILER_EXECUTABLE
    NAMES ${HDF5_Fortran_COMPILER_NAMES} NAMES_PER_DIR
    HINTS ENV HDF5_ROOT
    PATH_SUFFIXES bin Bin
    DOC "HDF5 Fortran Wrapper compiler.  Used only to detect HDF5 compile flags." )
mark_as_advanced( HDF5_Fortran_COMPILER_EXECUTABLE )

unset(HDF5_C_COMPILER_NAMES)
unset(HDF5_CXX_COMPILER_NAMES)
unset(HDF5_Fortran_COMPILER_NAMES)

find_program( HDF5_DIFF_EXECUTABLE
    NAMES h5diff
    HINTS ENV HDF5_ROOT
    PATH_SUFFIXES bin Bin
    DOC "HDF5 file differencing tool." )
mark_as_advanced( HDF5_DIFF_EXECUTABLE )

# Invoke the HDF5 wrapper compiler.  The compiler return value is stored to the
# return_value argument, the text output is stored to the output variable.
macro( _HDF5_invoke_compiler language output return_value )
    if( HDF5_${language}_COMPILER_EXECUTABLE )
        exec_program( ${HDF5_${language}_COMPILER_EXECUTABLE}
            ARGS -show
            OUTPUT_VARIABLE ${output}
            RETURN_VALUE ${return_value}
        )
        if( ${${return_value}} EQUAL 0 )
            # do nothing
        else()
            message( STATUS
              "Unable to determine HDF5 ${language} flags from HDF5 wrapper." )
        endif()
    endif()
endmacro()

# Parse a compile line for definitions, includes, library paths, and libraries.
macro( _HDF5_parse_compile_line
    compile_line_var
    include_paths
    definitions
    library_paths
    libraries )

    # Match the include paths
    string( REGEX MATCHALL "-I([^\" ]+)" include_path_flags
        "${${compile_line_var}}"
    )
    foreach( IPATH ${include_path_flags} )
        string( REGEX REPLACE "^-I" "" IPATH ${IPATH} )
        string( REPLACE "//" "/" IPATH ${IPATH} )
        list( APPEND ${include_paths} ${IPATH} )
    endforeach()

    # Match the definitions
    string( REGEX MATCHALL "-D[^ ]*" definition_flags "${${compile_line_var}}" )
    foreach( DEF ${definition_flags} )
        list( APPEND ${definitions} ${DEF} )
    endforeach()

    # Match the library paths
    string( REGEX MATCHALL "-L([^\" ]+|\"[^\"]+\")" library_path_flags
        "${${compile_line_var}}"
    )

    foreach( LPATH ${library_path_flags} )
        string( REGEX REPLACE "^-L" "" LPATH ${LPATH} )
        string( REPLACE "//" "/" LPATH ${LPATH} )
        list( APPEND ${library_paths} ${LPATH} )
    endforeach()

    # now search for the library names specified in the compile line (match -l...)
    # match only -l's preceded by a space or comma
    # this is to exclude directory names like xxx-linux/
    string( REGEX MATCHALL "[, ]-l([^\", ]+)" library_name_flags
        "${${compile_line_var}}" )
    # strip the -l from all of the library flags and add to the search list
    foreach( LIB ${library_name_flags} )
        string( REGEX REPLACE "^[, ]-l" "" LIB ${LIB} )
        list( APPEND ${libraries} ${LIB} )
    endforeach()
endmacro()

# Try to find HDF5 using an installed hdf5-config.cmake
if( NOT HDF5_FOUND )
    find_package( HDF5 QUIET NO_MODULE )
    if( HDF5_FOUND )
        set( HDF5_INCLUDE_DIRS ${HDF5_INCLUDE_DIR} )
        set( HDF5_LIBRARIES )
        set( HDF5_C_TARGET hdf5 )
        set( HDF5_CXX_TARGET hdf5_cpp )
        set( HDF5_HL_TARGET hdf5_hl )
        set( HDF5_Fortran_TARGET hdf5_fortran )
        set( HDF5_Fortran_HL_TARGET hdf5_hl_fortran )
        foreach( _component ${HDF5_LANGUAGE_BINDINGS} )
            list( FIND HDF5_VALID_COMPONENTS ${_component} _component_location )
            get_target_property( _comp_location ${HDF5_${_component}_TARGET} LOCATION )
            if( _comp_location )
                set( HDF5_${_component}_LIBRARY ${_comp_location} CACHE PATH
                    "HDF5 ${_component} library" )
                mark_as_advanced( HDF5_${_component}_LIBRARY )
                list( APPEND HDF5_LIBRARIES ${HDF5_${_component}_LIBRARY} )
            endif()
        endforeach()
    endif()
endif()

if( NOT HDF5_FOUND )
    _HDF5_invoke_compiler( C HDF5_C_COMPILE_LINE HDF5_C_RETURN_VALUE )
    _HDF5_invoke_compiler( CXX HDF5_CXX_COMPILE_LINE HDF5_CXX_RETURN_VALUE )
    _HDF5_invoke_compiler( Fortran HDF5_Fortran_COMPILE_LINE HDF5_Fortran_RETURN_VALUE )
    set(HDF5_HL_COMPILE_LINE ${HDF5_C_COMPILE_LINE})
    set(HDF5_Fortran_HL_COMPILE_LINE ${HDF5_Fortran_COMPILE_LINE})

    # seed the initial lists of libraries to find with items we know we need
    set( HDF5_C_LIBRARY_NAMES_INIT hdf5 )
    set( HDF5_HL_LIBRARY_NAMES_INIT hdf5_hl ${HDF5_C_LIBRARY_NAMES_INIT} )
    set( HDF5_CXX_LIBRARY_NAMES_INIT hdf5_cpp ${HDF5_C_LIBRARY_NAMES_INIT} )
    set( HDF5_Fortran_LIBRARY_NAMES_INIT hdf5_fortran
        ${HDF5_C_LIBRARY_NAMES_INIT} )
    set( HDF5_Fortran_HL_LIBRARY_NAMES_INIT hdf5hl_fortran hdf5_hl
        ${HDF5_Fortran_LIBRARY_NAMES_INIT} )

    foreach( LANGUAGE ${HDF5_LANGUAGE_BINDINGS} )
        if( HDF5_${LANGUAGE}_COMPILE_LINE )
            _HDF5_parse_compile_line( HDF5_${LANGUAGE}_COMPILE_LINE
                HDF5_${LANGUAGE}_INCLUDE_FLAGS
                HDF5_${LANGUAGE}_DEFINITIONS
                HDF5_${LANGUAGE}_LIBRARY_DIRS
                HDF5_${LANGUAGE}_LIBRARY_NAMES
            )

            # take a guess that the includes may be in the 'include' sibling
            # directory of a library directory.
            foreach( dir ${HDF5_${LANGUAGE}_LIBRARY_DIRS} )
                list( APPEND HDF5_${LANGUAGE}_INCLUDE_FLAGS ${dir}/../include )
            endforeach()
        endif()

        # set the definitions for the language bindings.
        list( APPEND HDF5_DEFINITIONS ${HDF5_${LANGUAGE}_DEFINITIONS} )

        # find the HDF5 include directories
        if(${LANGUAGE} MATCHES "Fortran")
            set(HDF5_INCLUDE_FILENAME hdf5.mod)
        else()
            set(HDF5_INCLUDE_FILENAME hdf5.h)
        endif()

        find_path( HDF5_${LANGUAGE}_INCLUDE_DIR ${HDF5_INCLUDE_FILENAME}
            HINTS
                ${HDF5_${LANGUAGE}_INCLUDE_FLAGS}
                ENV
                    HDF5_ROOT
            PATHS
                $ENV{HOME}/.local/include
            PATH_SUFFIXES
                include
                Include
        )
        mark_as_advanced( HDF5_${LANGUAGE}_INCLUDE_DIR )
        list( APPEND HDF5_INCLUDE_DIRS ${HDF5_${LANGUAGE}_INCLUDE_DIR} )

        set( HDF5_${LANGUAGE}_LIBRARY_NAMES
            ${HDF5_${LANGUAGE}_LIBRARY_NAMES_INIT}
            ${HDF5_${LANGUAGE}_LIBRARY_NAMES} )

        # find the HDF5 libraries
        foreach( LIB ${HDF5_${LANGUAGE}_LIBRARY_NAMES} )
            if( UNIX AND HDF5_USE_STATIC_LIBRARIES )
                # According to bug 1643 on the CMake bug tracker, this is the
                # preferred method for searching for a static library.
                # See https://cmake.org/Bug/view.php?id=1643.  We search
                # first for the full static library name, but fall back to a
                # generic search on the name if the static search fails.
                set( THIS_LIBRARY_SEARCH_DEBUG lib${LIB}d.a ${LIB}d )
                set( THIS_LIBRARY_SEARCH_RELEASE lib${LIB}.a ${LIB} )
            else()
                set( THIS_LIBRARY_SEARCH_DEBUG ${LIB}d )
                set( THIS_LIBRARY_SEARCH_RELEASE ${LIB} )
            endif()
            find_library( HDF5_${LIB}_LIBRARY_DEBUG
                NAMES ${THIS_LIBRARY_SEARCH_DEBUG}
                HINTS ${HDF5_${LANGUAGE}_LIBRARY_DIRS}
                ENV HDF5_ROOT
                PATH_SUFFIXES lib Lib )
            find_library( HDF5_${LIB}_LIBRARY_RELEASE
                NAMES ${THIS_LIBRARY_SEARCH_RELEASE}
                HINTS ${HDF5_${LANGUAGE}_LIBRARY_DIRS}
                ENV HDF5_ROOT
                PATH_SUFFIXES lib Lib )
            select_library_configurations( HDF5_${LIB} )
            list(APPEND HDF5_${LANGUAGE}_LIBRARIES ${HDF5_${LIB}_LIBRARY})
        endforeach()
        list( APPEND HDF5_LIBRARY_DIRS ${HDF5_${LANGUAGE}_LIBRARY_DIRS} )

        # Append the libraries for this language binding to the list of all
        # required libraries.
        list(APPEND HDF5_LIBRARIES ${HDF5_${LANGUAGE}_LIBRARIES})
    endforeach()

    # We may have picked up some duplicates in various lists during the above
    # process for the language bindings (both the C and C++ bindings depend on
    # libz for example).  Remove the duplicates. It appears that the default
    # CMake behavior is to remove duplicates from the end of a list. However,
    # for link lines, this is incorrect since unresolved symbols are searched
    # for down the link line. Therefore, we reverse the list, remove the
    # duplicates, and then reverse it again to get the duplicates removed from
    # the beginning.
    macro( _remove_duplicates_from_beginning _list_name )
        list( REVERSE ${_list_name} )
        list( REMOVE_DUPLICATES ${_list_name} )
        list( REVERSE ${_list_name} )
    endmacro()

    if( HDF5_INCLUDE_DIRS )
        _remove_duplicates_from_beginning( HDF5_INCLUDE_DIRS )
    endif()
    if( HDF5_LIBRARY_DIRS )
        _remove_duplicates_from_beginning( HDF5_LIBRARY_DIRS )
    endif()

    # If the HDF5 include directory was found, open H5pubconf.h to determine if
    # HDF5 was compiled with parallel IO support
    set( HDF5_IS_PARALLEL FALSE )
    set( HDF5_VERSION "" )
    foreach( _dir IN LISTS HDF5_INCLUDE_DIRS )
      foreach(_hdr "${_dir}/H5pubconf.h" "${_dir}/H5pubconf-64.h" "${_dir}/H5pubconf-32.h")
        if( EXISTS "${_hdr}" )
            file( STRINGS "${_hdr}"
                HDF5_HAVE_PARALLEL_DEFINE
                REGEX "HAVE_PARALLEL 1" )
            if( HDF5_HAVE_PARALLEL_DEFINE )
                set( HDF5_IS_PARALLEL TRUE )
            endif()
            unset(HDF5_HAVE_PARALLEL_DEFINE)

            file( STRINGS "${_hdr}"
                HDF5_VERSION_DEFINE
                REGEX "^[ \t]*#[ \t]*define[ \t]+H5_VERSION[ \t]+" )
            if( "${HDF5_VERSION_DEFINE}" MATCHES
                "H5_VERSION[ \t]+\"([0-9]+\\.[0-9]+\\.[0-9]+).*\"" )
                set( HDF5_VERSION "${CMAKE_MATCH_1}" )
            endif()
            unset(HDF5_VERSION_DEFINE)
        endif()
      endforeach()
    endforeach()
    set( HDF5_IS_PARALLEL ${HDF5_IS_PARALLEL} CACHE BOOL
        "HDF5 library compiled with parallel IO support" )
    mark_as_advanced( HDF5_IS_PARALLEL )

    # For backwards compatibility we set HDF5_INCLUDE_DIR to the value of
    # HDF5_INCLUDE_DIRS
    if( HDF5_INCLUDE_DIRS )
        set( HDF5_INCLUDE_DIR "${HDF5_INCLUDE_DIRS}" )
    endif()

endif()

find_package_handle_standard_args( HDF5
    REQUIRED_VARS HDF5_LIBRARIES HDF5_INCLUDE_DIRS
    VERSION_VAR   HDF5_VERSION
)


Computer vision has grown tremendously in the past two decades. Despite all efforts, existing attempts at matching parts of the human visual system's extraordinary ability to understand visual scenes lack either scope or power. By combining the advantages of general low-level generative models and powerful layer-based and hierarchical models, this work aims at being a first step toward richer, more flexible models of images. After comparing various types of restricted Boltzmann machines (RBMs) able to model continuous-valued data, we introduce our basic model, the masked RBM, which explicitly models occlusion boundaries in image patches by factoring the appearance of any patch region from its shape. We then propose a generative model of larger images using a field of such RBMs. Finally, we discuss how masked RBMs could be stacked to form a deep model able to generate more complicated structures and suitable for various tasks such as segmentation or object recognition.


text:
Luis Antonio Burón Barba (Fuente Obejuna, 18 de marzo de 1918-17 de agosto de 1995) fue un jurista, fiscal y magistrado español, que llegó a ser magistrado del Tribunal Supremo (1981-1982) y fiscal general del Estado (1982-1986).

Biografía
Estudió Magisterio, que ejerció durante cuatro años, y Derecho en la Universidad de Sevilla, ingresando por oposición en la carrera judicial en el año 1945. Fue titular de los juzgados de Vélez Rubio, Hinojosa del Duque y Bujalance. Posteriormente, ascendió a magistrado y desempeñó su cargo en los juzgados de Bilbao y Madrid hasta 1977.

Durante su ejercicio como juez en plena etapa franquista, Burón defendió su compromiso con la democracia y su antagonismo con la dictadura formando parte de los fundadores de Justicia Democrática, movimiento integrado por jueces y fiscales que propugnaron durante el franquismo la restauración de la democracia.

De 1977 a 1981 trabajó en la Audiencia Nacional y después en el Tribunal Supremo, siendo nombrado fiscal general del Estado en diciembre de 1982, por el primer gobierno de Felipe González y siendo ministro de Justicia Fernando Ledesma. Dimitió en 1986 debido a sus discrepancias con el Gobierno.

En su etapa como fiscal general, destacó su querella contra Jordi Pujol, entonces presidente de la Generalidad de Cataluña, y otros por el caso de Banca Catalana y el recurso contra la primera sentencia dictada contra los autores del golpe de Estado del 23-F dictada por el Consejo Supremo de Justicia Militar al considerarla demasiado benigna.

A partir de entonces, y por espacio de ocho años, fue profesor de Derecho Político en la Universidad  de Deusto e invitado por las autoridades judiciales americanas para visitar Estados Unidos como «huésped de honor».

Referencias
 Bonifacio de la Cuadra, «Luis Antonio Burón Barba, primer fiscal del Estado que dimitió ante el PSOE», El País, 18 de agosto de 1995.

Alumnos de Derecho de la Universidad de Sevilla
Magistrados del Tribunal Supremo de España
Fiscales de España
Profesores de la Universidad de Deusto
Fiscales generales del Estado
Miembros de Justicia Democrática
Juristas de la provincia de Córdoba (España)
Grandes cruces de la Orden de San Raimundo de Peñafort
Nacidos en Fuente Obejuna

redpajama_set_name: RedPajamaWikipedia


text:
Stone Setter Metal Optical Frames Salary
in Harrisburg, Pennsylvania
/ Pennsylvania
/ Harrisburg
The average pay for a Stone Setter Metal Optical Frames is $30,298 a year and $15 an hour in Harrisburg, Pennsylvania, United States. The average salary range for a Stone Setter Metal Optical Frames is between $23,456 and $35,847. This compensation analysis is based on salary survey data collected directly from employers and anonymous employees in Harrisburg, Pennsylvania.
Sets precious, semiprecious, or ornamental stones in rings, earrings, bracelets, brooches, metal optical frames, and other jeweled items, using handtools: places item in vise.
Cuts and files setting to accommodate stones, using files, chisels, and hand or electric drills.
Positions stone in setting and fixes in place by pressing prongs around stone, by raising retaining metal ridge around stone, or by tapping edges of setting with setting tool and hammer, forcing metal against stone.
Smooths edges, using emery file and pointed steel tool.
Examines union of stone and setting, using magnifying glass.
May drill holes in settings preparatory to setting stones in piece.
May replace stones in rings.
May be designated according to stone set as diamond setter or according to item worked on as stone setter, metal optical frames.
Stone Setter Metal Optical Frames Job Prevalence in Harrisburg, Pennsylvania, United States
Job family: Jewelers and Precious Stone and Metal Workers
Job family population: 25,710
Estimated population of Stone Setter Metal Optical Frames jobs: 377
About Harrisburg, Pennsylvania
Harrisburg Cost of Living Score:
Description: Harrisburg ( HARR-iss-burg; Pennsylvania German: Harrisbarrig) is the capital city of the Commonwealth of Pennsylvania in the United States, and the county seat of Dauphin County. With a population of 49,229, it is the 15th largest city in the Commonwealth. It lies on the east bank of the Susquehanna River, 107 miles (172 km) west of Philadelphia. Harrisburg is the anchor of the Susquehanna Valley metropolitan area, which had a 2018 estimated population of 574,659, making it the fourth most populous in Pennsylvania and 96th most populous in the United States. Harrisburg played a notable role in American history during...
Stone Setter Metal Optical Frames Job Listings for Harrisburg, Pennsylvania
Stone Setter Metal Optical Frames
Knoxville, TN$28k Calgary, Canada$38k Charleston, SC$28k
Stone Setter$30k Jeweler$46k Ring Maker$35k


With the accelerated adoption of ELD's, shippers and receivers are now having to share the costs.
Tailor-made features for those who work in the Oil and Gas industry.
Don't be left with an unreliable electronic logging device.


text:
Q: Converting html to Json object I'm currently working on a project where I need to convert some older code into a json object. We're taking the result set from a sql query and returning the categories it gives back as json. I'm not that well versed in javascript let alone json so I'm not sure what's the simplest way to go about this. Here is the function I need to change into JSON:
function createOutputCategories(){
try
    {
        output =
                "" +
                "" +
                "<title>" +
                "You can find it!" +
                "</title>" +
                "" +
                "" +
                "" +
                "" +
                "

";
        if(parent === "1"){
            output = output + "
Home";
        }else{
            output = output +"" +
            "
Back";
        }
        output = output +
                "
" +
                "" +
                "
" +
                "Categories:" +
                "
";

        while(rs.next()){
            if(rs.getString(3) === 0 || rs.getString(3) === null || rs.getString(3) === undefined || rs.getString(3) === "0" ){
                output = output + "
" + rs.getString(2) + "";
            }else{
                output = output + "
" + rs.getString(3) + "";
            }
        }
}catch(Exception){
    $.response.contentType = "text/plain";
    $.response.setBody( "Failed to retreive data" );
    $.response.status = $.net.http.INTERNAL_SERVER_ERROR;
}

Here is what I have so far but I am not returning a valid JSON object:
function createOutputCategories(){

try{
    output =
        "category: {name = \"" + parent + "\"; description = \"\"}";

    output = output +
        "subcategories: [ ";

    while(rs.next()){
        output = output +
            "{ catid = \"" + rs.getString(1) + "\"; catname = \"" + rs.getString(2) + "\"; altname = \"" + rs.getString(3) + "\"; description = \"" + rs.getString(4) + "\"}";
        }
    output = output +
        "];";
    }
catch(Exception){
    $.response.contentType = "text/plain";
    $.response.setBody( "Failed to retreive data" );
    $.response.status = $.net.http.INTERNAL_SERVER_ERROR;
}

If I need to provide anything else please let me know! Thanks!

A: Do you want to output a javascript object to a string?
Construct the object:
var category=new Object();
category.name="Name";
category.description="My lovely description";
category.subcategories=[];

var subCat=new Object();
subCat.catid=1;
subCat.catname="My subcat";

category.subcategories.push(subCat);

Alternatively, you could construct the object using literals:
 var category={
     name:"Name",
     description:"My lovely description",
     subcategories:[
         {catid:1,catname:"My subcat"}
     ]
 };

Then return the object as string.
return JSON.stringify(category);

A reference to Javascript objects if you need more help:
http://www.w3schools.com/js/js_objects.asp

redpajama_set_name: RedPajamaStackExchange


The UK's Victoria and Albert Museum (V&A) has revealed new details of its biggest ever international collaboration: a design museum in Shenzhen, China, created by Japanese architecture studio Maki & Associates.
The new museum, called Design Society, is scheduled to open in early 2017 within a larger cultural complex called the Sea World Culture and Arts Centre.
The V&A has now announced it will curate a special gallery devoted to 20th and 21st century international design.
The museum project is being overseen by developer China Merchants Shekou Holdings (CMSK), and marks the first of its kind between a UK museum and a Chinese partner.
The V&A Gallery will explore "how values drive design, and how design is valued", with objects drawn from the V&A's major collections including fashion, photography, furniture, product and graphic design, theatre and performance. Exhibits will include a chandelier that unites nature and lighting technology and a meticulously embellished Christian Dior dress.
Objects from earlier historical periods and different geographical areas will also be added to position design values within a wider historical and cultural framework.
"The V&A has a long history of working with China, and this project is enabling us to connect with the fast moving design, manufacturing and creative scene here in Shenzhen, as well as sharing our collections, knowledge and expertise in one of the most energetic and progressive cities in the world," said Tim Reeve, deputy director of the V&A.
The Design Society will also feature restaurants and retail spaces, a theatre, a multi-purpose hall, a branch of art institution the Guanfu Museum, and learning facilities.
The building is the first architectural project in China for Maki & Associates, and will be formed of three cantilevered volumes atop a deconstructed plinth, "opening up horizons to the mountain, the sea and the city and enabling cultural conversation and dialogue".
Ole Bouman, founding director of Design Society, said: "We believe in design as a method of inquiry to apply the essential human qualities of agility, curiosity and creativity to meet the urgent questions of our times. At a time of accelerating change, the future belongs to those who can deploy these qualities in an applied human endeavour in design."
Shenzhen is currently home to several cultural developments, including the new Shenzhen Art Museum and Library complex designed by German studio KSP Jurgen Engel Architekten.
Meanwhile, the first renderings were recently released for a new branch of the V&A in London, at the Olympicopolis cultural development planned for the city's Queen Elizabeth Olympic Park. The institute is also opening a branch in Dundee, Scotland, in a building designed by Kengo Kuma.


text:
EXO Members Expose What Xiumin Does When He Gets Completely Drunk
These popular members' drinking habits were exposed by their very own group members.
Alcohol can turn you in to a completely different person, where you may expose a side of yourself that you didn't even know you had. However not everyone reacts the same after consuming alcohol, and while some have fairly subtle habits, others have habits that are ridiculously funny, just like these 6 idols.
BIGBANG's Taeyang
Seungri revealed in KBS's Happy Together how Taeyang changes when he drinks. Normally, he is seen to be a quiet and reserved person, but when alcohol enters his system, he starts venting his frustrations as to why he isn't getting drunk, when in fact he is.
G-Dragon also confirmed this habit on JTBC's Please Take Care of My Refrigerator by revealing that Taeyang's keeps emphasizing that he isn't drunk the more intoxicated he gets.
EXO's Xiumin
Late last year, EXO appeared as guests on the SBS Power FM's The Cultwo Show, and Baekhyun revealed Xiumin's habits of revealing his deepest thoughts, and repeating the same thing over and over again. Other members burst out laughing in agreement, and added that he will cling on to one person and repeatedly tell the same story.
SISTAR's Hyorin
Hyorin is widely known as an avid drinker, and with her charismatic image, many have imagined her drunken habits to be convey her strong personality. However, the opposite was revealed to be true, as she revealed she tends to change in to a completely different person. Hyorin revealed she changes over 5 stages: first her gestures change to that of a more soft-spoken and friendly one, then her voice, facial expressions, speech pattern, and finally overall behavior.
Uee
Uee revealed that she could drink up to one bottle soju, but after that, she will get drunk and emit an 'Asian glow'. When she feels she is drunk, she has a habit of going home secretly as she doesn't like showing anybody her drunk side. Apparently, no one else knows what she's really like when she's drunk except for her parents!
G-Friend's Yuju
Yuju revealed she doesn't have a strong tolerance level to alcohol, so when she gets drunk, she cries. On SBS Love FV's Two Man Show, Sowon revealed that at a company workshop, Yuju drank some alcohol and started crying, so their CEO had sung her a song to cheer her up.
Girls' Generation's Sunny
Sunny is well-known in the K-pop industry to be a strong drinker, possibly the strongest in Girls' Generation, and her favorite alcoholic beverage is somek (a combination of soju and beer). When she's drinking with coworkers or friends at a pub, Sunny reportedly parties hard and talks a lot. According to Henry, Sunny's voice is all you can hear when she's drunk at a party.
Do you know of any other celebrities who have funny drunken habits?
Source: Dispatch


text:
using content::NavigationEntry;

// static
const size_t TranslateInfoBarDelegate::kNoIndex = static_cast<size_t>(-1);

TranslateInfoBarDelegate::~TranslateInfoBarDelegate() {
}

// static
void TranslateInfoBarDelegate::Create(InfoBarService* infobar_service,
                                      bool replace_existing_infobar,
                                      Type infobar_type,
                                      TranslateErrors::Type error_type,
                                      PrefService* prefs,
                                      const std::string& original_language,
                                      const std::string& target_language) {
  // Check preconditions.
  if (infobar_type != TRANSLATION_ERROR) {
    DCHECK(TranslateManager::IsSupportedLanguage(target_language));
    if (!TranslateManager::IsSupportedLanguage(original_language)) {
      // The original language can only be "unknown" for the "translating"
      // infobar, which is the case when the user started a translation from the
      // context menu.
      DCHECK_EQ(TRANSLATING, infobar_type);
      DCHECK_EQ(chrome::kUnknownLanguageCode, original_language);
    }
  }

  // Find any existing translate infobar delegate.
  TranslateInfoBarDelegate* old_delegate = NULL;
  for (size_t i = 0; i < infobar_service->GetInfoBarCount(); ++i) {
    old_delegate =
        infobar_service->GetInfoBarDelegateAt(i)->AsTranslateInfoBarDelegate();
    if (old_delegate)
      break;
  }

  // Create the new delegate.
  scoped_ptr<TranslateInfoBarDelegate> infobar(
      new TranslateInfoBarDelegate(infobar_type, error_type, infobar_service,
                                   prefs, original_language, target_language));
  infobar->UpdateBackgroundAnimation(old_delegate);

  // Add the new delegate if necessary.
  if (!old_delegate) {
    infobar_service->AddInfoBar(infobar.PassAs<InfoBarDelegate>());
  } else if (replace_existing_infobar) {
    infobar_service->ReplaceInfoBar(old_delegate,
                                    infobar.PassAs<InfoBarDelegate>());
  }
}

void TranslateInfoBarDelegate::Translate() {
  if (!owner()->GetWebContents()->GetBrowserContext()->IsOffTheRecord()) {
    prefs_.ResetTranslationDeniedCount(original_language_code());
    prefs_.IncrementTranslationAcceptedCount(original_language_code());
  }

  TranslateManager::GetInstance()->TranslatePage(owner()->GetWebContents(),
                                                 original_language_code(),
                                                 target_language_code());

  UMA_HISTOGRAM_COUNTS("Translate.Translate", 1);
}

void TranslateInfoBarDelegate::RevertTranslation() {
  TranslateManager::GetInstance()->RevertTranslation(owner()->GetWebContents());
  RemoveSelf();
}

void TranslateInfoBarDelegate::ReportLanguageDetectionError() {
  TranslateManager::GetInstance()->
      ReportLanguageDetectionError(owner()->GetWebContents());
}

void TranslateInfoBarDelegate::TranslationDeclined() {
  if (!owner()->GetWebContents()->GetBrowserContext()->IsOffTheRecord()) {
    prefs_.ResetTranslationAcceptedCount(original_language_code());
    prefs_.IncrementTranslationDeniedCount(original_language_code());
  }

  // Remember that the user declined the translation so as to prevent showing a
  // translate infobar for that page again.  (TranslateManager initiates
  // translations when getting a LANGUAGE_DETERMINED from the page, which
  // happens when a load stops. That could happen multiple times, including
  // after the user already declined the translation.)
  TranslateTabHelper* translate_tab_helper =
      TranslateTabHelper::FromWebContents(owner()->GetWebContents());
  translate_tab_helper->language_state().set_translation_declined(true);

  UMA_HISTOGRAM_COUNTS("Translate.DeclineTranslate", 1);
}

bool TranslateInfoBarDelegate::IsLanguageBlacklisted() {
  return prefs_.IsLanguageBlacklisted(original_language_code());
}

void TranslateInfoBarDelegate::ToggleLanguageBlacklist() {
  const std::string& original_lang = original_language_code();
  if (prefs_.IsLanguageBlacklisted(original_lang)) {
    prefs_.RemoveLanguageFromBlacklist(original_lang);
  } else {
    prefs_.BlacklistLanguage(original_lang);
    RemoveSelf();
  }
}

bool TranslateInfoBarDelegate::IsSiteBlacklisted() {
  std::string host = GetPageHost();
  return !host.empty() && prefs_.IsSiteBlacklisted(host);
}

void TranslateInfoBarDelegate::ToggleSiteBlacklist() {
  std::string host = GetPageHost();
  if (host.empty())
    return;

  if (prefs_.IsSiteBlacklisted(host)) {
    prefs_.RemoveSiteFromBlacklist(host);
  } else {
    prefs_.BlacklistSite(host);
    RemoveSelf();
  }
}

bool TranslateInfoBarDelegate::ShouldAlwaysTranslate() {
  return prefs_.IsLanguagePairWhitelisted(original_language_code(),
                                          target_language_code());
}

void TranslateInfoBarDelegate::ToggleAlwaysTranslate() {
  const std::string& original_lang = original_language_code();
  const std::string& target_lang = target_language_code();
  if (prefs_.IsLanguagePairWhitelisted(original_lang, target_lang))
    prefs_.RemoveLanguagePairFromWhitelist(original_lang, target_lang);
  else
    prefs_.WhitelistLanguagePair(original_lang, target_lang);
}

void TranslateInfoBarDelegate::AlwaysTranslatePageLanguage() {
  const std::string& original_lang = original_language_code();
  const std::string& target_lang = target_language_code();
  DCHECK(!prefs_.IsLanguagePairWhitelisted(original_lang, target_lang));
  prefs_.WhitelistLanguagePair(original_lang, target_lang);
  Translate();
}

void TranslateInfoBarDelegate::NeverTranslatePageLanguage() {
  std::string original_lang = original_language_code();
  DCHECK(!prefs_.IsLanguageBlacklisted(original_lang));
  prefs_.BlacklistLanguage(original_lang);
  RemoveSelf();
}

string16 TranslateInfoBarDelegate::GetMessageInfoBarText() {
  if (infobar_type_ == TRANSLATING) {
    return l10n_util::GetStringFUTF16(IDS_TRANSLATE_INFOBAR_TRANSLATING_TO,
                                      language_name_at(target_language_index_));
  }

  DCHECK_EQ(TRANSLATION_ERROR, infobar_type_);
  switch (error_type_) {
    case TranslateErrors::NETWORK:
      return l10n_util::GetStringUTF16(
          IDS_TRANSLATE_INFOBAR_ERROR_CANT_CONNECT);
    case TranslateErrors::INITIALIZATION_ERROR:
    case TranslateErrors::TRANSLATION_ERROR:
      return l10n_util::GetStringUTF16(
          IDS_TRANSLATE_INFOBAR_ERROR_CANT_TRANSLATE);
    case TranslateErrors::UNKNOWN_LANGUAGE:
      return l10n_util::GetStringUTF16(
          IDS_TRANSLATE_INFOBAR_UNKNOWN_PAGE_LANGUAGE);
    case TranslateErrors::UNSUPPORTED_LANGUAGE:
      return l10n_util::GetStringFUTF16(
          IDS_TRANSLATE_INFOBAR_UNSUPPORTED_PAGE_LANGUAGE,
          language_name_at(target_language_index_));
    case TranslateErrors::IDENTICAL_LANGUAGES:
      return l10n_util::GetStringFUTF16(
          IDS_TRANSLATE_INFOBAR_ERROR_SAME_LANGUAGE,
          language_name_at(target_language_index_));
    default:
      NOTREACHED();
      return string16();
  }
}

string16 TranslateInfoBarDelegate::GetMessageInfoBarButtonText() {
  if (infobar_type_ != TRANSLATION_ERROR) {
    DCHECK_EQ(TRANSLATING, infobar_type_);
  } else if ((error_type_ != TranslateErrors::IDENTICAL_LANGUAGES) &&
             (error_type_ != TranslateErrors::UNKNOWN_LANGUAGE)) {
    return l10n_util::GetStringUTF16(
        (error_type_ == TranslateErrors::UNSUPPORTED_LANGUAGE) ?
        IDS_TRANSLATE_INFOBAR_REVERT : IDS_TRANSLATE_INFOBAR_RETRY);
  }
  return string16();
}

void TranslateInfoBarDelegate::MessageInfoBarButtonPressed() {
  DCHECK_EQ(TRANSLATION_ERROR, infobar_type_);
  if (error_type_ == TranslateErrors::UNSUPPORTED_LANGUAGE) {
    RevertTranslation();
    return;
  }
  // This is the "Try again..." case.
  TranslateManager::GetInstance()->TranslatePage(owner()->GetWebContents(),
      original_language_code(), target_language_code());
}

bool TranslateInfoBarDelegate::ShouldShowMessageInfoBarButton() {
  return !GetMessageInfoBarButtonText().empty();
}

bool TranslateInfoBarDelegate::ShouldShowNeverTranslateButton() {
  DCHECK_EQ(BEFORE_TRANSLATE, infobar_type_);
  return !owner()->GetWebContents()->GetBrowserContext()->IsOffTheRecord() &&
      (prefs_.GetTranslationDeniedCount(original_language_code()) >= 3);
}

bool TranslateInfoBarDelegate::ShouldShowAlwaysTranslateButton() {
  DCHECK_EQ(BEFORE_TRANSLATE, infobar_type_);
  return !owner()->GetWebContents()->GetBrowserContext()->IsOffTheRecord() &&
      (prefs_.GetTranslationAcceptedCount(original_language_code()) >= 3);
}

void TranslateInfoBarDelegate::UpdateBackgroundAnimation(
    TranslateInfoBarDelegate* previous_infobar) {
  if (!previous_infobar || previous_infobar->IsError() == IsError())
    background_animation_ = NONE;
  else
    background_animation_ = IsError() ? NORMAL_TO_ERROR : ERROR_TO_NORMAL;
}

// static
string16 TranslateInfoBarDelegate::GetLanguageDisplayableName(
    const std::string& language_code) {
  return l10n_util::GetDisplayNameForLocale(
      language_code, g_browser_process->GetApplicationLocale(), true);
}

// static
void TranslateInfoBarDelegate::GetAfterTranslateStrings(
    std::vector<string16>* strings, bool* swap_languages) {
  DCHECK(strings);
  DCHECK(swap_languages);

  std::vector<size_t> offsets;
  string16 text =
      l10n_util::GetStringFUTF16(IDS_TRANSLATE_INFOBAR_AFTER_MESSAGE,
                                 string16(), string16(), &offsets);
  DCHECK_EQ(2U, offsets.size());

  *swap_languages = (offsets[0] > offsets[1]);
  if (*swap_languages)
    std::swap(offsets[0], offsets[1]);

  strings->push_back(text.substr(0, offsets[0]));
  strings->push_back(text.substr(offsets[0], offsets[1] - offsets[0]));
  strings->push_back(text.substr(offsets[1]));
}

TranslateInfoBarDelegate::TranslateInfoBarDelegate(
    Type infobar_type,
    TranslateErrors::Type error_type,
    InfoBarService* infobar_service,
    PrefService* prefs,
    const std::string& original_language,
    const std::string& target_language)
    : InfoBarDelegate(infobar_service),
      infobar_type_(infobar_type),
      background_animation_(NONE),
      original_language_index_(kNoIndex),
      initial_original_language_index_(kNoIndex),
      target_language_index_(kNoIndex),
      error_type_(error_type),
      prefs_(prefs) {
  DCHECK_NE((infobar_type == TRANSLATION_ERROR),
            (error_type_ == TranslateErrors::NONE));

  std::vector<std::string> language_codes;
  TranslateManager::GetSupportedLanguages(&language_codes);

  languages_.reserve(language_codes.size());
  for (std::vector<std::string>::const_iterator iter = language_codes.begin();
       iter != language_codes.end(); ++iter) {
    std::string language_code = *iter;

    string16 language_name = GetLanguageDisplayableName(language_code);
    // Insert the language in languages_ in alphabetical order.
    std::vector<LanguageNamePair>::iterator iter2;
    for (iter2 = languages_.begin(); iter2 != languages_.end(); ++iter2) {
      if (language_name.compare(iter2->second) < 0)
        break;
    }
    languages_.insert(iter2, LanguageNamePair(language_code, language_name));
  }
  for (std::vector<LanguageNamePair>::const_iterator iter = languages_.begin();
       iter != languages_.end(); ++iter) {
    std::string language_code = iter->first;
    if (language_code == original_language) {
      original_language_index_ = iter - languages_.begin();
      initial_original_language_index_ = original_language_index_;
    }
    if (language_code == target_language)
      target_language_index_ = iter - languages_.begin();
  }
  DCHECK_NE(kNoIndex, target_language_index_);
}

bool TranslateInfoBarDelegate::ShouldExpire(
    const content::LoadCommittedDetails& details) const {
  // Note: we allow closing this infobar even if the main frame navigation
  // was programmatic and not initiated by the user - crbug.com/70261 .
  if (!details.is_navigation_to_different_page() && !details.is_main_frame)
    return false;

  return InfoBarDelegate::ShouldExpireInternal(details);
}

void TranslateInfoBarDelegate::InfoBarDismissed() {
  if (infobar_type_ != BEFORE_TRANSLATE)
    return;

  // The user closed the infobar without clicking the translate button.
  TranslationDeclined();
  UMA_HISTOGRAM_COUNTS("Translate.DeclineTranslateCloseInfobar", 1);
}

gfx::Image* TranslateInfoBarDelegate::GetIcon() const {
  return &ResourceBundle::GetSharedInstance().GetNativeImageNamed(
      IDR_INFOBAR_TRANSLATE);
}

InfoBarDelegate::Type TranslateInfoBarDelegate::GetInfoBarType() const {
  return PAGE_ACTION_TYPE;
}

TranslateInfoBarDelegate*
    TranslateInfoBarDelegate::AsTranslateInfoBarDelegate() {
  return this;
}

std::string TranslateInfoBarDelegate::GetPageHost() {
  NavigationEntry* entry =
      owner()->GetWebContents()->GetController().GetActiveEntry();
  return entry ? entry->GetURL().HostNoBrackets() : std::string();
}


text:
Impact of House-Passed Government Funding Bill on ASA Members
Update: On December 16, President Barack Obama signed this legislation into law.
On December 11, the U.S. House of Representatives narrowly passed a funding bill to avert a government shutdown, which also included several provisions that could impact ASA members. This comprehensive spending bill, referred to as "Cromnibus," combines all 12 government funding bills into a single package, with most departments funded through September 2015. Key provisions of importance to physician anesthesiologists include:
VHA Nursing Handbook: The section pertaining to Military Construction and Veterans Affairs, and Related Agencies includes ASA-supported language addressing the VHA Nursing Handbook, which threatens to remove physician-led, team-based anesthesia care for Veterans within VA.
Targeting IPAB: The bill seeks to hamper the operations of the Independent Payment Advisory Board (IPAB) by rescinding $10 million in funding from the Board's operations. IPAB, created through the Affordable Care Act, is a non-elected advisory board with unilateral powers to mandate reductions in Medicare Part B payments. ASA has long supported and worked for repeal of IPAB.
Revised - Medicare Physician Fee Schedule Provisions: Report language articulates Congress's concerns about changes to the surgical global period. The language reflects that the Centers for Medicare and Medicaid Services (CMS) has failed to provide sufficient public comment on the "debundling" of surgical codes outlined in the final Medicare Physician Fee Schedule (MPFS) rules. Further, the report language questions whether proper methodology has been tested to safeguard patient care and patient access, and whether the final rule places excessive administrative burdens on providers. Additionally, Congress encourages CMS to defer implementation of the final rule pending further agency review.
CMS: The funding bill proves $3.6 billion for CMS, the same amount as last year's enacted level.
Opioids: The bill includes a number of provisions that reflect strong Congressional concerns about overdose deaths attributable to opioids, including provisions relating to emergency devices used to rapidly reverse the effect of opioid overdoses.
Provider Nondiscrimination: The bill includes language directing CMS to issue clarification regarding its interpretation of the nondiscrimination provision of the Affordable Care Act. ASA opposed the inclusion of the nondiscrimination provision in the ACA and has urged CMS to reject the efforts of the non-physician community to expand the implications of the provision.
This legislation will next be considered in the U.S. Senate. If it passes in that chamber, it will go to the President for his signature.
Read more about the ASA-supported VHA Nursing Handbook provision within the "Cromnibus" bill here.