ANA has developed a wide variety of resources to inform and connect with applicants, grantees and the public. The search engine below allows you to locate the resources relevant to you. The resource library includes guides, videos, fact sheets, reports, and webinars produced by ANA, our Technical Assistance Providers, our partners, and grantees.
Our resources clarify ANA processes, provide technical assistance, teach about our funding opportunities, and show what our grantees are accomplishing across the country.
If you can't find what you are looking for, email us at anacomments@acf.hhs.gov.
The Objective Work Plan (OWP) form is required with all ANA grant applications.


text:
Home / North West / Sport / Merseyside firm offers backing to thousands of athletes with learning disabilities
Merseyside firm offers backing to thousands of athletes with learning disabilities
John Farragher and Nicki Stadames
One of the UK's biggest provider of care facilities for people with learning disabilities, Merseyside-based Potens, is backing thousands of athletes across the UK. From its headquarters in Birkenhead Potens operates 78 facilities for people with learning disabilities across the UK and employs around 1,450 staff - and now the company has agreed to become an official supporter of Special Olympics GB. Potens founder and chairman John Farragher has worked with people with learning disabilities for more than three decades and start... You can carry on reading TheBusinessDesk.com for free, but you have reached the maximum number of pages an unregistered user can view. To register for an account, click here or login below...
Manchester United reports record turnover of £590m
Manchester City smash £500m turnover barrier
Bolton Wanderers avoid administration, and reduce financial costs
Everton owner increases stake in club with 18.7% share purchase
Bolton Wanderers facing administration today
Sharks' 'Snow-Camp Stand' unveiled ahead of first...

redpajama_set_name: RedPajamaCommonCrawl


text:
Q: Clicking on link one by one from the same page using selenium webdriver I'm trying to click on state link given url then print title of next page and go back, then click another state link dynamically using for loop. But loop stops after initial value.
My code is as below:
 public class Allstatetitleclick {
    public static void main(String[] args) {
        WebDriver driver = new FirefoxDriver();
        driver.manage().timeouts().implicitlyWait(20, TimeUnit.SECONDS);
        driver.manage().window().maximize();
        driver.get("http://www.adspapa.com/");

        WebElement catBox = driver.findElement(By.xpath("html/body/table[1]/tbody/tr/td/table/tbody/tr/td[1]/table"));
        List<WebElement> catValues = catBox.findElements(By.tagName("a"));

        System.out.println(catValues.size());

        for(int i=0;i<catValues.size();i++){

            //System.out.println(catValues.get(i).getText());
            catValues.get(i).click();
            System.out.println(driver.getTitle());
            driver.navigate().back();

        }
        System.out.println("TEST");
    }
}

A: The problem is after navigating back the elements found previously will be expired. Hence we need to update the code to refind the elements after navigate back.
Update the code below :
        WebDriver driver = new FirefoxDriver();
        driver.manage().timeouts().implicitlyWait(20, TimeUnit.SECONDS);
        driver.manage().window().maximize();
        driver.get("http://www.adspapa.com/");

        WebElement catBox = driver.findElement(By.xpath("html/body/table[1]/tbody/tr/td/table/tbody/tr/td[1]/table"));
        List<WebElement> catValues = catBox.findElements(By.tagName("a"));

        for(int i=0;i<catValues.size();i++)
        {
            catValues.get(i).click();
            System.out.println(driver.getTitle());
            driver.navigate().back();
            catBox = driver.findElement(By.xpath("html/body/table[1]/tbody/tr/td/table/tbody/tr/td[1]/table"));
            catValues = catBox.findElements(By.tagName("a"));
        }
        driver.quit();

I have tested above code at my end and its working fine.You can improve the above code as per your use.

A: Note: I have executed this and its working fine now.It will give you the size and clicking on every link.It was a issue where you need to go inside the Frame.
It has a Frame where you need to switch.
Please copy and paste and execute it.
Hope you find your answer.

redpajama_set_name: RedPajamaStackExchange


In an emotional interview with The New York Times, Tesla (TSLA) CEO Elon Musk said his personal life and health has been taking a toll as he struggles to meet the production deadlines of Model 3. Lately, he has been working for as long as 120 hours a week, at the expense of seeing his friends and kids. His 47th birthday, which fell on June 28, was spent entirely at work, and he came close to missing his brother's wedding as well.
And then there is the "extreme torture" by short sellers, who keep projecting a Tesla failure narrative. Musk says the last few months have been the worst, which was vented out in the form of outbursts during the May conference call and the "pedo" comment following the rescue of the Thai soccer team.
He is even unable to sleep without taking Ambien and NYT reported that some of the board members are unhappy with the CEO's habit of taking recreational drugs. "The drug does not put Mr. Musk to sleep but instead contributes to late-night Twitter sessions," NYT quoted a person familiar with the board's thinking.
Apparently, Musk's tweet on August 7 that read "Am considering taking Tesla private at $420. Funding secured" has not gone down well with the Tesla board, especially since it triggered a probe from the San Francisco office of the Securities and Exchange Commission. However, Musk said in the interview that he simply wanted to be transparent.
Meanwhile, citing sources familiar with the matter, NYT reported that the Board has launched lookout for a No. 2 executive at Tesla to share some of Musk's duties. And the search has reportedly intensified after the "funding secured" tweet. The company had, a few years ago, approached Facebook (FB) COO Sheryl Sandberg about the job.
"To the best of my knowledge, no search right now," Musk told NYT. He added that he currently does not plan to relinquish his dual role of CEO and Chairman.
For the full NYT article, click here.


Management of monthly financial reporting and preparation of the management accounts pack.
Initially this will be a stand-alone role although this may change as the business grows, the ideal candidate must therefore be able to work on their own initiative as well as being part of a finance team able to meet deadlines and respond promptly to the needs of the business. My client is ideally looking for someone with a background in practice or a financial accountant, reporting type role who is looking for a new challenge. The business is anticipating circa £150m t/o this financial year, they are cash generative and you will be working with a high calibre finance team so this is an excellent opportunity to enhance your career and professional experience with a reputable business.
Please apply now to be considered for this Group Finance Manager position in Blackburn.
If you are interested in Finance jobs and Accountancy vacancies in Lancashire and Greater Manchester please forward your CV to AFR Consulting and we can support your job search!


text:
Celebrating imagination with the biggest animation festival in Denmark
Visit VAF's website
Animated Culture
Viborg Animation Festival (VAF) is a celebration of imagination and the biggest animation festival in Denmark. VAF plays a central role in raising awareness about animation, film and related media among the general public.
Viborg Animation Festival is a celebration of imagination.
Viborg Animation Festival (VAF) is the biggest animation festival in Denmark and plays a central role in raising awareness about animation, film and related media among the general public.
Over the years, VAF has become a meeting place for the animation industry and the public. What started out as a small, local festival in 2012 has become a national event and VAF is now starting to focus more on the international scene. In 2017, VAF took a huge step toward this goal and organized the most expansive festival in Viborg's history, which celebrated the 150th anniversary of diplomatic relations between Japan and Denmark.
The mission of the festival is to bring national and valuable European content to Viborg through screenings, workshops, meetings, conferences, exhibitions and more - and share it with a broad audience of all ages.
The festival is categorised in three sections; VAF Film, VAF Culture and VAF Professions.
VAF Film
VAF Film brings films to Viborg and the surrounding region, which would otherwise never be presented to the general public. The program includes feature and short film screenings, a student short film competition, workshops and many other opportunities for the public to meet artists and learn more about animation firsthand. VAF Film also offers films targeted specially to children, families and schools around the country, which is presented as ANIMOK.
VAF Culture
VAF Culture includes gaming-oriented activities, exhibitions and cultural happenings that keep the whole city animated. Here you can explore the world of animation outside the cinemas and experience how animation is more much than cartoons and movies.
VAF Professions
VAF Professions offers a string of conferences for professionals in different industries. Each year VAF and its partners organizes conferences that investigates and explore the use and effect of animation in different industries. Recent years animation has been explored as a tool in the field of teaching, health care and science dissemination. VAF Professions also offers networking activities for the animation industry, that works to improve the growth and groundwork for future co-productions.
VAF 2017
VAF 2017 celebrated Japan under the theme KAWAII & EPIKKU.
In 2017, Japan and Denmark marked the establishment of 150 years of diplomatic relations with a string of cultural events, exhibitions, symposiums – and Viborg Animation Festival!
Under the theme KAWAII & EPIKKU, VAF celebrated Japan by exposing audiences to the cultural richness of anime and manga.
A broad audience of moviegoers could enjoy an extensive, handpicked film program. More than 60% of the films were of Japanese origin and a good number of these had never been screened in Danish cinemas before. 12,194 tickets were redeemed in total – an increase of 20% compared to 2016.
Download the program (PDF)
KAWAII & EPPIKU - The biggest manga and anime exhibition in Northern Europe
KAWAII & EPIKKU - the biggest exhibition of manga and anime ever seen in Northern Europe presented more than 15 manga and anime artists, including Osamu Tezuka, Koji Morimoto, Tatsuyuki Tanaka, Atsuko Fukushima, Studio 4°C and many more. A total of 850 artworks and pieces were exhibited and 3,721 visitors stopped by.
Solar Walk
Solar Walk was a sold-out concert success. The animated concert played two times for a room of 500 people and offered a spectacular experience that combined beautiful animated images by Réka Bucsi with original big band live jazz performed by Aarhus Jazz Orchestra. Solar Walk was produced by The Animation Workshop/VIA University College, SØNC, and Nørlum.
Our conferences had a total of 629 participants stemming from a wide range of fields. Animated Learning focused on building bridges between creativity and knowledge; Manga & Comics discussed the influences between manga and western comics; Animated Health focused on using animation in healthcare when communicating about dementia, and Sci-Vi concentrated on visualization in science dissemination. For the professional Danish animation and game producers, the Japan-Denmark Creative Media Industry Forum established meetings between Danish and Japanese companies and producers within the business of game production, TV-series, and licensing.
Immersion Game Expo
Immersion Game Expo was all about fun and games – and attracted more than 2,000 visitors during the event's three days.
Expanded Animation
Expanded Animation Showcase offered 700 guests a peek into the cross-aesthetic art projects that are currently being produced at the new Centre for Animation, Visualization, and Graphic Storytelling. More than 700 people explored the cinematic virtual reality piece Nothing Happens, the fluorescent animated amoeba pieces of Oden til Kloden, and the interactive installation Forecast.
Manga Artist Battle
Manga Artist Battle was a national contest in cartoon drawing between Denmark and Japan. A live audience cheered the contestants on in Viborg while the event was simultaneously streamed on the internet, garnering nearly 6,000 views. The Japanese team, led by Keiko Takemiya, won the Manga Artist Battle with a beautiful 'shojo manga'-inspired fairytale mermaid.
VAF Sum Up
The absolute highlight of VAF Sum Up Exhibitions was Andy Holden's Laws of Motion in a Cartoon Landscape (presented by Viborg Kunsthal and Aarhus 2017 in cooperation with The Animation Workshop), which presented an interesting comment on animation as a phenomenon. Furthermore, the Mitsuki Nakamura Retrospective gave audiences a rare insight into Mecha Anime.
VAF partners and sponsors.
Viborg Kommune is the Municipality of Viborg.
The Danish Film Institute is the national agency for funding and promoting Danish film and cinema culture.
Aarhus 2017
Aarhus 2017 creates sustainable development – cultural, human and economic growth - inspiring citizens to live, work and participate in the European region.
Do you want to contribute to or become part of the project? Contact us!
Aïda del Solar
E: xtaida@via.dk
Leon Fechner
Festival Assistant
E: vaf@via.dk
Morten Thorning
E: mt@via.dk
Jane Lyngbye Hvid Jensen
Project Portfolio Manager
E: jlhj@via.dk
VAF 2017 in photos
One week of films, exhibitions, workshops, parties, and networking - we've collected some of the best photos for you to enjoy!
Go to photos
A high quality live performance combining jazz big band music and animated images
Sci-Vi Conference
An annual conference focusing on visualization and animation in science dissemination
Animated Learning Conference
An annual conference focusing on creativity and visual teaching methods
CMIF
An annual conference discussing the opportunities and challenges facing the creative media industry
ANIMOK
An animation film festival for school children across Denmark
NipponNordic Universe Accelerator
An innovative and transnational project bringing together Danish and Japanese artists and designers


text:
By indiemcemopants
The East India Company's first corporate charter was granted in 1600 for a period of fifteen years. The company struggled to advance its trading and turn a profit initially but by 1609, business was picking up and King James I renewed the charter in 1609, for an indefinite period of time.
Imperialism worked like it always has and the corporation was able to expand toward many different places and grow bigger and richer. Thanks in large part to the stockholders and other rich people, deregulation of the company proceeded to occur over the years.
Monopolies were imposed soon enough. Another company was briefly set up by the government to try to compete, but they soon argued that there really was no strong competition against the company, so the companies merged.
American Revolution, Boston Tea Party, history, Lessons, parallels
Can we investigate the Bush administration already?
By indiemcemopants in Iraq, War
I've been thinking a lot about our current situation in the government. And the wars. And our current and seemingly never ending involvement with torture.
With the somewhat recent revelation that some suicides in 2006 were questionable at best, I'm reminded of the things happening in 2006 and why more investigations into the Bush administration are necessary.
Report Casts Doubt On Guantanamo Suicides
by The Associated Press [via NPR]
Three Guantanamo Bay detainees whose deaths were ruled a suicide in 2006 apparently were transported from their cells hours before their deaths to a secret site on the island, according to an article in Harper's magazine.
The published account released Monday raises serious questions about whether the three detainees actually died by hanging themselves in their cells and suggests the U.S. government is covering up details of what precisely happened in the hours before the deaths.
I first read about the suicides through that NPR article. It says the suicides likely happened at a facility near the main Gitmo facility, referred to as "Camp No." The justification for setting up these facilities and for using this kind of interrogation technique is apparently 9/11:
After the terror attacks on U.S. soil on Sept. 11, 2001, the CIA set up a number of so-called "black" sites around the world, where harsh interrogations of terrorism-era suspects took place.
The Harper's article suggested such a site at Guantanamo Bay may have belonged to the CIA or to the U.S. military's Joint Special Operations Command.
I remember 9/11. I remember how it was used as the justification for everything. I remember how people were tortured after 9/11 because they wouldn't link 9/11 to Iraq and Saddam Hussein. I remember how the administration saw an opportunity with 9/11 and they went for it. When it didn't work they tortured. They lied. They made up other claims that Hussein was buying yellowcake uranium from Niger.
Last time there was a whistleblower revealing evidence to hamper the Bush administration's plans, I remember how they outed his CIA agent wife.
I remember how their link from 9/11 to Saddam Hussein, al-Libi gave bad information to authorities because he was tortured. And this information was revealed in a DIA report that Dick Cheney read. And he committed suicide. I wrote about it, in fact.
I'll quote from myself, again. May 15, 2009:
Joe Wilson was sent by the CIA to investigate claims of Iraq trying to obtain yellowcake uranium from Africa:
Over the past months, however, the CIA has maintained that Wilson was chosen for the trip by senior officials in the Directorate of Operations counterproliferation division (CPD) — not by his wife — largely because he had handled a similar agency inquiry in Niger in 1999. On that trip, Plame, who worked in that division, had suggested him because he was planning to go there, according to Wilson and the Senate committee report.
Cheney had asked for more information on an intelligence report earlier on the same day questioning the link between Iraq and al Qaeda. In response to his request, the CIA sent Wilson to Africa, and an aide to Cheney testified that he had no idea his request would result in that trip.
So, he wanted information but didn't think they'd send someone to get information?
The DIA in question had some very interesting and useful information. You're definitely going to want to read this:
WASHINGTON — A government document raises doubts about claims that Al Qaeda members received training for biological and chemical weapons in Iraq, as Senate Democrats yesterday defended their push for a report on how the Bush administration handled prewar intelligence.
The document from February 2002 showed that the agency questioned the reliability of Al Qaeda senior military trainer Ibn al-Shaykh al-Libi. He could not name any Iraqis involved in the effort or identify any chemical or biological materials or cite where the training took place, the report said.
The agency concluded that al-Libi probably misled the interrogators deliberately, and he recanted the statements in January, according to the document made public by Senator Carl Levin, top Democrat on the Senate Armed Services Committee.
The DIA report said that the links between al Qaeda and Iraq were probably not to be trusted and that al-Libi's information was bad. This was made all the more strange when, in the midst of the Plame scandal, Karl Rove sent an email to the reporter Matthew Cooper, saying not to "get too far out" on Joe Wilson, the whistleblower, because the administration had information to discredit his findings and it was going to start declassifying things soon.
If they had this information, I don't understand. This whole incident happened because Cheney asked the CIA for more information on the Iraq-AQ link and the Niger yellowcake. The CIA asked Joe Wilson to go to Niger because of his expertise on the subject, and Cheney says that the CIA misinterpreted his request and that he never wanted a trip to Niger. If there were information already to cast doubt on Wilson's new information then why ask for any new information? It already existed!
Valerie Plame's work consisted of monitoring WMDs going into and out of Iraq and Iran.
Afghanistan, Dick Cheney, Gitmo, Guantanamo Bay, prisoners, suicide, Valerie Plame
Prop. 8 Trial – Part One: Background
There's no possible way to fit all of this in one post. I'll start here and write a series summarizing the trial and what I predict will happen. I'll start with some background for the trial.
First let me make clear, I'm not a lawyer. I'm just an interested gay person who thinks this trial will affect all our lives. I don't even live in California. I'm pretty inquisitive and if I say something, I've researched it quite a bit, but that doesn't mean I'm not wrong. I'm not completely confident that I'll get all the legal aspects right and if anyone wants to comment to correct errors, please feel free.
Two gay couples in California, one male couple and one female couple, attempted to get married in California, but were denied a marriage license since Prop. 8 had passed, limiting marriages in California to one man and one woman. They decided to combine their cases and sue the Governor and the Attorney General, along with a few others in federal court. Kristin Perry is the name on the case, so it is called Perry v. Schwarzenegger.
animus, bowers v. hardwick, california, david boies, Equal Protection, Equality, federal district court, gay marriage, lawrence v. texas, Loving v. Virginia, perry v. schwarzenegger, prop. 8, Proposition 8, romer v. evans, series, Supreme Court, Ted Olson, trial
Abortion is murder!
It's just been discovered that more abortions happened in 2009 than were previously known. This is a shocking revelation, compounded by the fact that there is no outrage over this. Nobody in the so-called pro-life movement is bothering to discuss this revelation.
I'm sickened.
I would think that pro-life organizations would want to stop these people from doing this to our country. Abortion is murder, right? These people are being allowed to do this because of an erroneously decided Supreme Court decision! I mean, the judges were clearly being activist when they decided it. This decision supposedly allowed more "freedom" to people but what it really does is allow more people to commit abhorrent acts under the guise of the Due Process Clause of the Fourteenth Amendment. This is obviously not what the people who wrote that amendment intended.
And it's not even for the stupid "health" of the mother.
Just look at some of these people who are doing this:
By the end of Dec. 2008 as announced Circuit City Filed Bankruptcy, they promised to keep all
stores open for the holiday season, but afterwards, they plan on closing 155 stores nationwide.
Aborted. Just like that.
abortion, citizens united v. fec, Corporate Personhood, corporations, metaphor, Satire, snark
CIA Agent lied about torture
In December 2007, the Washington Post reported on the first CIA agent to openly admit the government used torture. John Kiriakou says that the CIA used waterboarding on Abu Zubaydah, and that it worked.
Recall that it was later reported that Zubaydah was waterboarded 83 times.
Kiriakou said:
"It was like flipping a switch," said Kiriakou, the first former CIA employee directly involved in the questioning of "high-value" al-Qaeda detainees to speak publicly.
In an interview, Kiriakou said he did not witness Abu Zubaida's waterboarding but was part of the interrogation team that questioned him in a hospital in Pakistan for weeks after his capture in that country in the spring of 2002.
The waterboarding lasted about 35 seconds before Abu Zubaida broke down, according to Kiriakou, who said he was given a detailed description of the incident by fellow team members. The next day, Abu Zubaida told his captors he would tell them whatever they wanted, Kiriakou said.
"He said that Allah had come to him in his cell and told him to cooperate, because it would make things easier for his brothers," Kiriakou said.
God wanted him to co-operate so his brothers wouldn't be tortured as well. Man the CIA is good.
"What I told Brian Ross in late 2007 was wrong on a couple counts," he writes. "I suggested that Abu Zubaydah had lasted only thirty or thirty-five seconds during his waterboarding before he begged his interrogators to stop; after that, I said he opened up and gave the agency actionable intelligence."
But never mind, he says now.
"I wasn't there when the interrogation took place; instead, I relied on what I'd heard and read inside the agency at the time."
But after his one-paragraph confession, Kiriakou adds that he didn't have any first hand knowledge of anything relating to CIA torture routines, and still doesn't.
So one of the main arguments trotted out to claim that torture works was a lie. This isn't surprising given all the lies from the previous administration. This guy was all over ABC News and other places "admitting" his story to anyone who'd listen and telling us that torture worked. Waterboarding saved lives.
It was just another campaign to make us believe lies the government wanted us to buy.
CIA, Torture, Waterboarding
Wherein we witness the destruction of anti-gay arguments
It's awkward times for bigots these days. With Perry v. Schwarzenegger, the federal Prop. 8 trial, it's clear that the way gay issues are discussed is changing for the better. Homophobia is on trial.
Even the words we are using are different. There's a well-known gay marriage campaign called "No H8." No hate. The name itself implies that opposing gay marriage is hateful. This is where we are now in this country. Homophobes are required to define their positions and then defend them through facts, logic and empirical arguments.
This is not working out so well, to say the least.
Finally, when forced to confront their beliefs, witnesses have either dropped out, relied on dated stereotypes not based on facts, or converted mid-cross-examination.
Witness this exchange from a few minutes ago (Please excuse the length of this, it's needed to explain the questioning:)
Here, "Boise" is Boies. The livebloggers are typing so quickly so forgive their typos. DB is Dr. David Blankenhorn, defense witness.)
Boise. Are you aware of any study that shows that children of gays and lesbians have different worse outcomes than straight?
B: No. May I add?
Boise: It is not okay for you to volunteer any information. You can give speeches when your counsel has you.
Boise: Have you given a lot of thought to DPs?
B: Yes.
Boise: I asked you whether it was your view if DPs contribute to deinstitutionalize marriage? Yes, No. I don't know.
B: Yes, they could.
Boise: Let's try to get your view regardless of what you said before.
B: I believe it's possible they could do so.
Boise: You say it's possible. Anything is possible. Do you say it's likely that they do so?
B: I believe
J: Counsel is entitled to an answer to his question. There's a question and then an answer. That's the way the process works.
Boise: Do you believe that DPs that are open to opposite sex couples are likely to speed deinstitutionalize of marriage.
Boise: How about only open to ss?
B: Significantly less likely to do so.
Boise: Opposite sex couples over 62?
B: Significantly less likely.
Boise. You know that ss couples are raising children?
B: Of course!
Boise: Hundreds of thousands?
B: I don't know.
Boise: Did you attempt to find out how many?
BLB: Yes.
Boise: Approximately how many?
B: I believe that adoption of ss marriage would be likely to improve the well-being of gay and lesbian households and their children.
california, david boies, perry v. schwarzenegger, Proposition 8, Ted Olson
Don't Ask, Don't Tell is good because why?
I wrote this months ago on my blog but since DADT is still being implemented I figured I'd post here.
Some retired military people decided to write an article for the Washington Post saying that they don't want to serve with gays.
In doing so, they came up with perhaps the most. Freudian. title. EVER. Seriously. They should've just titled it, "Dudes, stay the fuck away from my ass!" But I guess that might appear to be homophobic or something. Wouldn't want that.
discrimination, don't ask don't tell, Equality, gays, Military
Will You Wait With Us?
By indiemcemopants in Congress
(please rec at dkos too)
If you will indulge me for a few minutes, I have a thought experiment in which I would like you to participate. Sit and close your eyes for a minute. Now imagine, you wake up and it's tomorrow. The government tells you that you aren't married to your love. Everyone in the media calls your marriage a "marriage" with scare quotes, or a partnership or even worse. Some in the media decide to tell you that you're completely sick and wrong. That your existence and the love you have for your partner is not love but a sick, hedonistic perversion.
Nobody understands you.
People cast you out and ignore you.
They call you names.
Defense of Marriage Act, Democrats, don't ask don't tell, ENDA, Matthew Shepard Act, President Obama, trans-inclusive ENDA
A simple story about a boy
By indiemcemopants in Action, GLBT, Personal
Michael is nineteen years old. He lives in Tennessee, otherwise known as hell on Earth for transgender people. He goes to school in a relatively more liberal part of the state but things are still ridiculously hard on him. Add to that the fact that his parents don't really accept or care about him the way he is.
His parents, if you can call them that, are your typical homophobic conservatives who are not adaptive to any sort of change whatsoever. He came out to them as a boy four years ago, and you'd think by now they'd gain some sort of understanding or at LEAST want to learn more about being transgender, but that's not the case with those people. His dad recently told him, paraphrasing, he is a GIRL and his dad will never recognize him as a boy. Ever. In case you haven't figured it out already, this is mind-numbingly stupid.
It doesn't help that there are so many misconceptions about transgender people, but honestly, it doesn't help that they won't take the time to learn about it and rid themselves of their incorrect views on it. His parents seem to think that transgender and intersex are the same, and that he's somehow trying to say that he has ambiguous genitalia or looks. He looks like a guy, because, you know, he IS, but they argue that he doesn't and they also argue that if he does, it doesn't matter because he's not a boy. They argue that he's been constantly indoctrinated and brainwashed by people and by "facts" he read on the internet. Michael is a really smart guy. Probably the most intelligent guy I've ever met, really. When he first realized something was off with his body, he started reading about it. He posted on transgender internet forums and met people who were the same, so he could learn about what's making him feel that way. This is a logical step for anyone. This isn't some sort of secret plan to turn oneself into a boy. He wanted to understand and to be closer to people. He wanted to stop feeling so alone and scared.
ENDA, trans-inclusive ENDA, transgender
Bush: I was right to torture.
So, the former president of the United States has just admitted to torture:
George Bush has defended his decision to allow the use of torture on terror suspects in the aftermath of the September 11 attacks.
This is unbelievable. Torture is an illegal crime and the former PRESIDENT is defending it and making tons of excuses. He says it saved lives. He says it was completely necessary.
He's not being as forceful as Dick Cheney and he won't use the word torture.
He mentions these unnamed confessions it produced. I do not recall reading anything about legitimate confessions produced by torture. Every single confession has been questionable. KSM confessed to the 9/11 attack as well as a lot of others that he either had no involvement with, or the plots didn't actually exist in the first place.
Dick Cheney, George W. Bush, Torture
Not keeping us safe from terrorists!
The Republicans and Harry "honorary Republican for the week" Reid have been arguing that it's terrible, awful for terrorists to be allowed into the country in order to go straight to maximum security prison. Ignoring for a second that terrorists are allowed free rein over the country as long as they're Christian and white and therefore can't be racially profiled, I have other problems with this.
First of all: 9/11. Terrorists didn't just come here. They came here and hijacked planes from American airports. After this happened, Republicans panicked about immigration. Most of the 9/11 hijackers got here legally.
Then: the anthrax attacks. Not only were terrorists here but they were never even discovered. They're probably still somewhere around. awesome.
Third: remember the freaking FLIGHT SCHOOLS?
There were al Qaeda flight schools in the United States for years, and the FBI and others had been investigating them for years. And the Republicans, who I guess care a lot about American safety, openly mocked President Bill Clinton for saying Osama bin Laden was a threat and tried to say it was a case of "Wag the Dog." So while the president was trying to fend off terrorists from attacking us, Republicans were denying that such a threat existed.
And now we're letting them control the message and Harry Reid is saying that we will never, ever allow terrorists on American soil. Because the Republicans are so tough and manly and THEY never did.
Last week, the F.B.I. acknowledged the existence of a memorandum written last summer in which an agent in its Phoenix office urged his superiors to investigate Middle Eastern men who had enrolled at American flight schools and who might be connected to Mr. bin Laden.
This article is really interesting for a lot of reasons. The FBI knew of this, which isn't surprising. The government, who's saying now that they kept us safe all this time, wasn't prepared to keep us safe.
The Phoenix memorandum, along with the disclosure this week that President Bush was warned in August of the possibility that Al Qaeda might be planning hijackings, have been seized on by lawmakers as evidence that the government missed signals of the coming attacks.
The disclosure they're referring to of course is the PDB titled "Bin Laden Determined to Strike US" and talked about using planes. I feel so safe! And if you think that, hey, well, at least they started torturing after 9/11 which kept us safe, you should read this:
Mr. Murad, who was captured in the Philippines in 1995 and convicted in New York[…]Murad's confession formed a basis for an analysis prepared for United States intelligence agencies in 1999. The analysis warned that bin Laden terrorists could hijack a jet and fly it into government buildings like the Pentagon.
So they found out about the threat of bin Laden not from torture but from actual investigative work and interrogations.
The article goes on to note that his confession is on video.
These flight schools were in the US as well as other countries, here's one that trained terrorists in Florida:
Officials at Embry-Riddle Aeronautical University in Daytona Beach confirmed Thursday that the FBI has sought information on Waleed Al Sheri, 25, who graduated in 1997 with a bachelor's degree in aeronautical science — the four-year school's commercial pilot training degree.
The FBI is also investigating Mohamed Atta, 33, and Marwan Al Sheri, 23. Law enforcement sources said they were looking at a possible family link between Marwan and Waleed Al Sheri.
So think about that next time Republicans talk about never allowing terrorists here.
In another case, they outright admit that they suck:
(CBS) Law enforcement officials say the government kept hijacking ringleader Mohammed Atta's roommate from entering the United States on at least four occasions but didn't track his money transfers that led directly to the eventual hijackers.
But they added the CIA had no information before Sept. 11 linking him to terrorism.
Nonetheless, experts said Bin al-Shibh's actions highlight the challenges in stopping future terror attacks.
His repeated failed efforts to enter the country did not trigger an investigation. And there was no effort to track his finances.
When Bin al-Shibh failed to enter, Moussaoui was sent in his place and made it into the country with $35,000 in cash and a plan to train to fly jetliners, officials say.
They found all of this out, by the way, using legal means. It was just after the fact. They used FISA warrants and monitored foreign conversations. They tracked money and wire transfers. They even found videos made by these people discussing these events.
A State Department official said Wednesday there is still no mechanism, even in the aftermath of Sept. 11, to flag a foreigner who is turned down repeatedly for visas for suspicions like those that surrounded Bin al-Shibh.
Also this guy was planning on heading to a Minnesota flight school. That's where his replacement, Moussaoui, was picked up.
This is also quite terrifying, these are the people named by intelligence officials in 2002 who were giving information to stop terrorist attacks:
Officials identified the three others as Abu Zubair, Ibn al-Sheikh al-Libi, and a man known by his nom de guerre, Riyadh the Facilitator. Abu Zubaydah has been extensively interrogated since his capture and has provided important information, American officials say. Interrogation of others in custody have provided new insights into Al Qaeda's structure and operations, they add.
Well with what those people are saying, I'm SURE we can prevent attacks. Or something. And nothing they're saying is a lie and nothing our administration is saying is a lie.
Remember Cheney's "pretty well confirmed" statement that has been mentioned over the years and was most recently reiterated during Rachel Maddow's takedown of Cheney?
Dick Cheney: 'Well, what we now have that's developed since you and I last talked, Tim, of course, was that report that — it's been pretty well confirmed that he did go to Prague and he did meet with a senior official of the Iraqi intelligence service in Czechoslovakia last April, several months before the attack. Now, what the purpose of that was, what transpired between them, we simply don't know at this point, but that's clearly an avenue that we want to pursue.'
(Meet the Press, 2001)
Well, um:
They add that they have not received any corroborating evidence to support an initial report from Czech intelligence that Mohamed Atta, one of the Sept. 11 hijackers, met an Iraqi intelligence officer in Prague in April 2001. Many intelligence and law enforcement officials now say they do not believe the meeting took place.
Oh. So, didn't happen. And remember, though most of the information that was given to the 9/11 Commission was extracted through torture – that was done specifically to GET a link – they found no link:
The Sept. 11 commission reported yesterday that it has found no "collaborative relationship" between Iraq and al Qaeda, challenging one of the Bush administration's main justifications for the war in Iraq.
But the report of the commission's staff, based on its access to all relevant classified information, said that there had been contacts between Iraq and al Qaeda but no cooperation. In yesterday's hearing of the panel, formally known as the National Commission on Terrorist Attacks Upon the United States, a senior FBI official and a senior CIA analyst concurred with the finding.
Despite trying really hard to manufacture a link it did not even fool the 9/11 Commission, the CIA or FBI. And this was under the guise of keeping us safe. SAFE. Really.
And they blatantly lied:
As recently as Monday, Cheney said in a speech that Hussein "had long-established ties with al Qaeda." Bush, asked on Tuesday to verify or qualify that claim, defended it by pointing to Abu Musab Zarqawi, who has taken credit for a wave of attacks in Iraq.
Feel safer yet?
Back to the New York Times:
American officials believe the disruption has helped prevent about half a dozen — and possibly many more — Qaeda plots in the last year. Officials say that when Abu Zubaydah, Al Qaeda's operations chief, was captured in Pakistan in March he had several plots in the works, including at least one that was imminent.
IMMINENT! Wow. We almost all died from an imminent plot. Except that it didn't happen.
Speaking of imminent, their ineptness is apparent here:
The FBI sent the intelligence to its terrorism experts in Washington and New York for analysis and had begun discussing conducting a nationwide canvass of flight schools when the Sept. 11 tragedies occurred, officials told AP.
Right okay.
Here's more:
Law enforcement officials said in retrospect the FBI believes it should have accelerated the suggested check of U.S. flight schools after Moussaoui's arrest but does not believe it would have led to the hijackers.
This is how bad the problem was, even though it was being ignored:
At least one hijacker on each of the four planes was trained at a U.S. flight school, Tucker said. The Times said authorities believe 27 suspected terrorists received pilot training.
Seems like a small number, I guess, but these are people who never want ANY TERRORISTS on US soil. Because that's bad. If they're jailed anyway. If they're free to do whatever, we'll just be idiots.
And then, this:
Ashcroft said numerous promising leads were being followed up. "The Department of Justice has undertaken perhaps the most massive and intensive investigation ever conducted in this country," he said. Ashcroft said all possible federal personnel and resources have been committed to the investigation, including thousands of agents and support personnel.
Ooh! And I guess now we've seen the results of this investigation by the DoJ. Tortured false confessions, expansion of federal powers even when information was obtained through legal means, ineptness at almost every level, allowing some plots to go unsolved and some terrorists to go without trials – which could lead to more discovery of more information, torture and homicide and all that stuff, and whatever else we don't know about yet.
All of that happened but none of it made anyone safer and it conclusively made it more difficult to keep America safe. And they're worried about prisoners.
9/11, Abu Zubaydah, Department Of Defense, Department of Justice, flight schools, Khalid Sheikh Mohammed, Office of Legal Counsel, safety, Torture, torture investigation, torture memos
We tortured and it's illegal.
(Cross posted from over at teh kos)
"But it's enhanced interrogation…"
"But investigations would be a witch-hunt…"
"But prosecutions of Republicans would be bad politically…"
"But most Americans don't support torture investigations…"
"But Pelosi lied…"
"But the CIA SAYS Pelosi lied…"
"But Democrats knew too…"
"But the lawyers were just giving legal opinions…"
"But the Bush administration really thought they were protecting America…"
"But a ticking time bomb…"
"But it would be bad for terrorists to know our tactics…"
"But President Obama is unAme-"
"But John McCain doesn't think we should prosecute and he was tortured."
"But how bad were these techniques really?"
"But they're terrorists…"
"But dunking them in the water…"
"But prosecuting a policy decision…"
"But Democrats and Republicans BOTH…"
"But this might get some high ranking people currently serving in trouble in both parties."
It's illegal. It's torture. It's not allowed. We prosecute torturers.
Alberto Gonzales, Donald Rumsfeld, forests and trees, George W. Bush, Office of Legal Counsel, Torture, torture investigations, torture memos


text:
Q: C# Compress from memory buffer to another memory buffer in Zip format I have a byte buffer (between 3000 and 50000 bytes) that I would like to send through serial COM from a PC to an µ-controller.
As far as this transfer is slow (115200 bytes/s), I would like to compress it in ZIP format in memory before sending it.
I don't want GZIP, as the destination controller can natively uncompress ZIP.
System.IO.Compress.ZipArchive seems to be used for files, but I just want to remain in memory using an input buffer and an output buffer.
How can I do that, please?
Thanks
David


Can I cancel my auto-renewals?
Yes. You may cancel a subscription by going to My Dashboard > Subscriptions > Click on Subscription.
Once cancelled a subscription will remain active until the next renewal date.
From My Dashboard you can edit your profile by clicking on the 'profile' link under the 'My Mitla' Sidebar on the right of the page.
Can I make my profile public?
If you have forgotten your password and cannot login you may request a new password from this page.


text:
package account

import (
	"bytes"
	"crypto/sha256"
	"encoding/hex"
	"errors"
	"fmt"
	"math/rand"
	"os"
	"sort"
	"strings"
	"sync"
	"time"

	. "DNA/common"
	"DNA/common/config"
	"DNA/common/log"
	"DNA/common/password"
	"DNA/core/contract"
	ct "DNA/core/contract"
	"DNA/core/ledger"
	sig "DNA/core/signature"
	"DNA/crypto"
	. "DNA/errors"
	"DNA/net/protocol"
)

const (
	DefaultBookKeeperCount = 4
	WalletFileName         = "wallet.dat"
)

type Client interface {
	Sign(context *ct.ContractContext) bool
	ContainsAccount(pubKey *crypto.PubKey) bool
	GetAccount(pubKey *crypto.PubKey) (*Account, error)
	GetDefaultAccount() (*Account, error)
}

type ClientImpl struct {
	mu sync.Mutex

	path      string
	iv        []byte
	masterKey []byte

	accounts  map[Uint160]*Account
	contracts map[Uint160]*ct.Contract

	watchOnly     []Uint160
	currentHeight uint32

	FileStore
	isrunning bool
}

//TODO: adjust contract folder structure
func Create(path string, passwordKey []byte) *ClientImpl {
	cl := NewClient(path, passwordKey, true)

	_, err := cl.CreateAccount()
	if err != nil {
		fmt.Println(err)
	}

	return cl
}

func Open(path string, passwordKey []byte) *ClientImpl {
	cl := NewClient(path, passwordKey, false)
	if cl == nil {
		log.Error("Alloc new client failure")
		return nil
	}

	cl.accounts = cl.LoadAccount()
	if cl.accounts == nil {
		log.Error("Load accounts failure")
	}
	cl.contracts = cl.LoadContracts()
	if cl.contracts == nil {
		log.Error("Load contracts failure")
	}
	return cl
}

func NewClient(path string, password []byte, create bool) *ClientImpl {
	newClient := &ClientImpl{
		path:      path,
		accounts:  map[Uint160]*Account{},
		contracts: map[Uint160]*ct.Contract{},
		FileStore: FileStore{path: path},
		isrunning: true,
	}

	passwordKey := crypto.ToAesKey(password)
	if create {
		//create new client
		newClient.iv = make([]byte, 16)
		newClient.masterKey = make([]byte, 32)
		newClient.watchOnly = []Uint160{}
		newClient.currentHeight = 0

		//generate random number for iv/masterkey
		r := rand.New(rand.NewSource(time.Now().UnixNano()))
		for i := 0; i < 16; i++ {
			newClient.iv[i] = byte(r.Intn(256))
		}
		for i := 0; i < 32; i++ {
			newClient.masterKey[i] = byte(r.Intn(256))
		}

		//new client store (build DB)
		newClient.BuildDatabase(path)

		// SaveStoredData
		pwdhash := sha256.Sum256(passwordKey)
		err := newClient.SaveStoredData("PasswordHash", pwdhash[:])
		if err != nil {
			log.Error(err)
			return nil
		}
		err = newClient.SaveStoredData("IV", newClient.iv[:])
		if err != nil {
			log.Error(err)
			return nil
		}

		aesmk, err := crypto.AesEncrypt(newClient.masterKey[:], passwordKey, newClient.iv)
		if err == nil {
			err = newClient.SaveStoredData("MasterKey", aesmk)
			if err != nil {
				log.Error(err)
				return nil
			}
		} else {
			log.Error(err)
			return nil
		}
	} else {
		if b := newClient.verifyPasswordKey(passwordKey); b == false {
			return nil
		}
		if err := newClient.loadClient(passwordKey); err != nil {
			return nil
		}
	}
	ClearBytes(passwordKey, len(passwordKey))
	return newClient
}

func (cl *ClientImpl) loadClient(passwordKey []byte) error {
	var err error
	cl.iv, err = cl.LoadStoredData("IV")
	if err != nil {
		fmt.Println("error: failed to load iv")
		return err
	}
	encryptedMasterKey, err := cl.LoadStoredData("MasterKey")
	if err != nil {
		fmt.Println("error: failed to load master key")
		return err
	}
	cl.masterKey, err = crypto.AesDecrypt(encryptedMasterKey, passwordKey, cl.iv)
	if err != nil {
		fmt.Println("error: failed to decrypt master key")
		return err
	}
	return nil
}

func (cl *ClientImpl) GetDefaultAccount() (*Account, error) {
	for programHash, _ := range cl.accounts {
		return cl.GetAccountByProgramHash(programHash), nil
	}

	return nil, NewDetailErr(errors.New("Can't load default account."), ErrNoCode, "")
}

func (cl *ClientImpl) GetAccount(pubKey *crypto.PubKey) (*Account, error) {
	signatureRedeemScript, err := contract.CreateSignatureRedeemScript(pubKey)
	if err != nil {
		return nil, NewDetailErr(err, ErrNoCode, "CreateSignatureRedeemScript failed")
	}
	programHash, err := ToCodeHash(signatureRedeemScript)
	if err != nil {
		return nil, NewDetailErr(err, ErrNoCode, "ToCodeHash failed")
	}
	return cl.GetAccountByProgramHash(programHash), nil
}

func (cl *ClientImpl) GetAccountByProgramHash(programHash Uint160) *Account {
	cl.mu.Lock()
	defer cl.mu.Unlock()

	if account, ok := cl.accounts[programHash]; ok {
		return account
	}
	return nil
}

func (cl *ClientImpl) GetContract(programHash Uint160) *ct.Contract {
	log.Debug()
	cl.mu.Lock()
	defer cl.mu.Unlock()

	if contract, ok := cl.contracts[programHash]; ok {
		return contract
	}
	return nil
}

func (cl *ClientImpl) ChangePassword(oldPassword []byte, newPassword []byte) bool {
	// check password
	oldPasswordKey := crypto.ToAesKey(oldPassword)
	if !cl.verifyPasswordKey(oldPasswordKey) {
		fmt.Println("error: password verification failed")
		return false
	}
	if err := cl.loadClient(oldPasswordKey); err != nil {
		fmt.Println("error: load wallet info failed")
		return false
	}

	// encrypt master key with new password
	newPasswordKey := crypto.ToAesKey(newPassword)
	newMasterKey, err := crypto.AesEncrypt(cl.masterKey, newPasswordKey, cl.iv)
	if err != nil {
		fmt.Println("error: set new password failed")
		return false
	}

	// update wallet file
	newPasswordHash := sha256.Sum256(newPasswordKey)
	if err := cl.SaveStoredData("PasswordHash", newPasswordHash[:]); err != nil {
		fmt.Println("error: wallet update failed(password hash)")
		return false
	}
	if err := cl.SaveStoredData("MasterKey", newMasterKey); err != nil {
		fmt.Println("error: wallet update failed (encrypted master key)")
		return false
	}
	ClearBytes(newPasswordKey, len(newPasswordKey))
	ClearBytes(cl.masterKey, len(cl.masterKey))

	return true
}

func (cl *ClientImpl) ContainsAccount(pubKey *crypto.PubKey) bool {
	signatureRedeemScript, err := contract.CreateSignatureRedeemScript(pubKey)
	if err != nil {
		return false
	}
	programHash, err := ToCodeHash(signatureRedeemScript)
	if err != nil {
		return false
	}
	if cl.GetAccountByProgramHash(programHash) != nil {
		return true
	} else {
		return false
	}
}

func (cl *ClientImpl) CreateAccount() (*Account, error) {
	ac, err := NewAccount()
	if err != nil {
		return nil, err
	}

	cl.mu.Lock()
	cl.accounts[ac.ProgramHash] = ac
	cl.mu.Unlock()

	err = cl.SaveAccount(ac)
	if err != nil {
		return nil, err
	}

	ct, err := contract.CreateSignatureContract(ac.PublicKey)
	if err == nil {
		cl.AddContract(ct)
		address, _ := ct.ProgramHash.ToAddress()
		log.Info("[CreateContract] Address: ", address)
	}

	log.Info("Create account Success")
	return ac, nil
}

func (cl *ClientImpl) CreateAccountByPrivateKey(privateKey []byte) (*Account, error) {
	ac, err := NewAccountWithPrivatekey(privateKey)
	cl.mu.Lock()
	defer cl.mu.Unlock()

	if err != nil {
		return nil, err
	}

	cl.accounts[ac.ProgramHash] = ac
	err = cl.SaveAccount(ac)
	if err != nil {
		return nil, err
	}
	return ac, nil
}

func (cl *ClientImpl) ProcessBlocks() {
	for {
		if !cl.isrunning {
			break
		}

		for {
			if ledger.DefaultLedger.Blockchain == nil {
				break
			}
			if cl.currentHeight > ledger.DefaultLedger.Blockchain.BlockHeight {
				break
			}

			cl.mu.Lock()

			block, _ := ledger.DefaultLedger.GetBlockWithHeight(cl.currentHeight)
			if block != nil {
				cl.ProcessNewBlock(block)
			}

			cl.mu.Unlock()
		}

		for i := 0; i < 20; i++ {
			time.Sleep(time.Millisecond * 100)
		}
	}
}

func (cl *ClientImpl) ProcessNewBlock(block *ledger.Block) {
	//TODO: ProcessNewBlock

}

func (cl *ClientImpl) Sign(context *ct.ContractContext) bool {
	log.Debug()
	fSuccess := false
	for i, hash := range context.ProgramHashes {
		contract := cl.GetContract(hash)
		if contract == nil {
			continue
		}
		account := cl.GetAccountByProgramHash(hash)
		if account == nil {
			continue
		}

		signature, err := sig.SignBySigner(context.Data, account)
		if err != nil {
			return fSuccess
		}
		err = context.AddContract(contract, account.PublicKey, signature)

		if err != nil {
			fSuccess = false
		} else {
			if i == 0 {
				fSuccess = true
			}
		}
	}
	return fSuccess
}

func (cl *ClientImpl) verifyPasswordKey(passwordKey []byte) bool {
	savedPasswordHash, err := cl.LoadStoredData("PasswordHash")
	if err != nil {
		fmt.Println("error: failed to load password hash")
		return false
	}
	if savedPasswordHash == nil {
		fmt.Println("error: saved password hash is nil")
		return false
	}
	passwordHash := sha256.Sum256(passwordKey)
	///ClearBytes(passwordKey, len(passwordKey))
	if !IsEqualBytes(savedPasswordHash, passwordHash[:]) {
		fmt.Println("error: password wrong")
		return false
	}
	return true
}

func (cl *ClientImpl) EncryptPrivateKey(prikey []byte) ([]byte, error) {
	enc, err := crypto.AesEncrypt(prikey, cl.masterKey, cl.iv)
	if err != nil {
		return nil, err
	}

	return enc, nil
}

func (cl *ClientImpl) DecryptPrivateKey(prikey []byte) ([]byte, error) {
	if prikey == nil {
		return nil, NewDetailErr(errors.New("The PriKey is nil"), ErrNoCode, "")
	}
	if len(prikey) != 96 {
		return nil, NewDetailErr(errors.New("The len of PriKeyEnc is not 96bytes"), ErrNoCode, "")
	}

	dec, err := crypto.AesDecrypt(prikey, cl.masterKey, cl.iv)
	if err != nil {
		return nil, err
	}

	return dec, nil
}

func (cl *ClientImpl) SaveAccount(ac *Account) error {
	decryptedPrivateKey := make([]byte, 96)
	temp, err := ac.PublicKey.EncodePoint(false)
	if err != nil {
		return err
	}
	for i := 1; i <= 64; i++ {
		decryptedPrivateKey[i-1] = temp[i]
	}

	for i := len(ac.PrivateKey) - 1; i >= 0; i-- {
		decryptedPrivateKey[96+i-len(ac.PrivateKey)] = ac.PrivateKey[i]
	}

	encryptedPrivateKey, err := cl.EncryptPrivateKey(decryptedPrivateKey)
	if err != nil {
		return err
	}

	ClearBytes(decryptedPrivateKey, 96)

	err = cl.SaveAccountData(ac.ProgramHash.ToArray(), encryptedPrivateKey)
	if err != nil {
		return err
	}

	return nil
}

func (cl *ClientImpl) LoadAccount() map[Uint160]*Account {
	i := 0
	accounts := map[Uint160]*Account{}
	for true {
		_, prikeyenc, err := cl.LoadAccountData(i)
		if err != nil {
			// TODO: report the error
		}

		decryptedPrivateKey, err := cl.DecryptPrivateKey(prikeyenc)
		if err != nil {
			log.Error(err)
		}

		prikey := decryptedPrivateKey[64:96]
		ac, err := NewAccountWithPrivatekey(prikey)
		accounts[ac.ProgramHash] = ac
		i++
		break
	}

	return accounts
}

func (cl *ClientImpl) LoadContracts() map[Uint160]*ct.Contract {
	i := 0
	contracts := map[Uint160]*ct.Contract{}

	for true {
		ph, _, rd, err := cl.LoadContractData(i)
		if err != nil {
			fmt.Println(err)
			break
		}

		rdreader := bytes.NewReader(rd)
		ct := new(ct.Contract)
		ct.Deserialize(rdreader)

		programhash, err := Uint160ParseFromBytes(ph)
		ct.ProgramHash = programhash
		contracts[ct.ProgramHash] = ct
		i++
		break
	}

	return contracts
}

func (cl *ClientImpl) AddContract(ct *contract.Contract) error {
	cl.mu.Lock()
	defer cl.mu.Unlock()

	if cl.accounts[ct.ProgramHash] == nil {
		return NewDetailErr(errors.New("AddContract(): contract.OwnerPubkeyHash not in []accounts"), ErrNoCode, "")
	}

	cl.contracts[ct.ProgramHash] = ct

	err := cl.SaveContractData(ct)
	return err
}

func clientIsDefaultBookKeeper(publicKey string) bool {
	for _, bookKeeper := range config.Parameters.BookKeepers {
		if strings.Compare(bookKeeper, publicKey) == 0 {
			return true
		}
	}
	return false
}

func nodeType(typeName string) int {
	if "service" == config.Parameters.NodeType {
		return protocol.SERVICENODE
	} else {
		return protocol.VERIFYNODE
	}
}

func GetClient() Client {
	if (protocol.SERVICENODENAME != config.Parameters.NodeType) &&
		(len(config.Parameters.BookKeepers) < DefaultBookKeeperCount) {
		log.Error("At least ", DefaultBookKeeperCount, " BookKeepers should be set at config.json")
		return nil
	}
	if !FileExisted(WalletFileName) {
		log.Error(fmt.Sprintf("No %s detected, please create a wallet by using command line.", WalletFileName))
		os.Exit(1)
	}
	passwd, err := password.GetAccountPassword()
	if err != nil {
		log.Error("Get password error.")
		os.Exit(1)
	}
	c := Open(WalletFileName, passwd)
	if c == nil {
		return nil
	}
	return c
}

func GetBookKeepers() []*crypto.PubKey {
	var pubKeys = []*crypto.PubKey{}
	sort.Strings(config.Parameters.BookKeepers)
	for _, key := range config.Parameters.BookKeepers {
		pubKey := []byte(key)
		pubKey, err := hex.DecodeString(key)
		// TODO Convert the key string to byte
		k, err := crypto.DecodePoint(pubKey)
		if err != nil {
			log.Error("Incorrectly book keepers key")
			return nil
		}
		pubKeys = append(pubKeys, k)
	}

	return pubKeys
}

func GetStateUpdater() []*crypto.PubKey {
	var pubKeys = []*crypto.PubKey{}
	for _, key := range config.Parameters.StateUpdater {
		pubKey := []byte(key)
		pubKey, err := hex.DecodeString(key)
		// TODO Convert the key string to byte
		k, err := crypto.DecodePoint(pubKey)
		if err != nil {
			log.Error("Incorrectly book keepers key")
			return nil
		}
		pubKeys = append(pubKeys, k)
	}

	return pubKeys
}

redpajama_set_name: RedPajamaGithub


text:
Our Resettlement Work
We provide support to resettled refugees across the country. Our work promotes refugees' rights and their integration. We work with individuals, families, and the local communities into which refugees have been resettled, to assist them in their transition and resettlement. We provide resettlement and intercultural training to staff, local communities, and refugees.
Resettled and relocated Syrian refugees are assisted in information about living in Ireland and advocacy for family reunification and accessing housing.
Identifying the particular needs of refugees resettled in Ireland both during the initial orientation period in Emergency Reception and Orientation Centres and after transfer to more long-term accommodation around the country.
Assistance and support
Provide a direct service to resettled refugees where there is an absence of support from local organisations, particularly in relation to family reunification.
To identify the practice and policy trends arising from work with resettled refugees and propose ways in which the IRC should engage in the monitoring and development of better practice in relation to refugee resettlement.
To gather information about best practice on refugee resettlement in other EU states and outside of the EU, in particular in the USA & Canada and develop policy positions for the IRC on refugee resettlement.
Pobal's Scheme to Support National Organisations support the salary of our Resettlement Officer.
Hassina Kiboua, Resettlement Officer
Email Hassina
Vacancy: Policy and Advocacy Officer
We are looking forward to the launch of Tight Spaces-an Educational Resource written by young people participating… https://t.co/Mp8waL7JsV


text:
Novartis plant in Russia two years out
Novartis' ($NVS) new $150 million manufacturing plant outside St. Petersburg, Russia, will be built in two years, says Joseph Jimenez, CEO of the Swiss pharmaceuticals company. It is part of a $500 million push in the country, seen as one of the most promising markets in the world.
Novartis already has extensive operations in Russia, but in his interview with Dow Jones before the St. Petersburg International Economic Forum, Jimenez gave an impromptu primer on why companies like his must consider building more manufacturing plants in emerging markets.
Novartis' decision followed warnings by then-Prime Minister Vladimir Putin that drugmakers needed to build plants and transfer technology there or face restrictions on their imports. Putin was recently re-elected president. Jimenez tells Dow Jones that "the government has been very clear that over time [foreign companies] ... will face hurdles" in the form of tariffs if they don't instead manufacture there. Russia, like so many other countries that have not had a large pharmaceutical infrastructure, is looking at ways to reduce its dependence on imported drugs. Indonesia, for example, has made it difficult for drugmakers to expand exports there, encouraging it to manufacture instead.
According to information sent to FiercePharmaManufacturing, the new Novartis plant is expected to eventually produce both new drugs and generics. It will have a capacity of about 1.5 billion units per year and could be expanded if needed. Additionally, the company is making a wide range in investments in R&D collaborations and public health alliances with Russian partners. Those efforts will include more clinical trials there and out-licensing, in-licensing partnerships with Russian companies and academia and CRO partnerships.
- read the Dow Jones story


text:
The Flare Announces After Show with Fred Savage
April 29, 2019 Sammi Turano TV Shows 0
Teased on FOX social pages, THE FLARE is a television drama that now has a very real after-show, called "WHAT JUST HAPPENED??! WITH FRED SAVAGE," dedicated to exploring the fandom surrounding the show. The half-hour hybrid comedy/talk show premieres Sunday, June 30 (9:30-10:00 PM ET/PT) on FOX.
THE FLARE is based on fictional author TJ Whitford's sci-fi book series, "The Moon is the Sun at Night," which has been a favorite of Savage's since childhood. The book revolves around a solar event and its effects on Earth – specifically, the small, blue-collar town of Milford, IL – and slowly unfolds into a post-apocalyptic battle for human survival.
The after-show will feature multiple segments, including authentic sit-down celebrity interviews, set visits to THE FLARE and interviews with the "cast," as well as discussions with fans and more.
WHAT JUST HAPPENED??! WITH FRED SAVAGE is produced by 20th Century Fox Television, Double Hemm and The Crest Lamp Company. It was created by Fred Savage, Dave Jeser and Matt Silverstein, who will serve as executive producers alongside David A. Hurwitz, Jen Patton and Adam Lowitt. Additional writers include Abbey McBride, Edgar Momplaisir, Chase Mitchell, Agathe Panaretos and Sean O'Connor. Jon Cassar serves as director on THE FLARE, and Carrie Havel serves as director on the talk show.
About Fred Savage
Starting out in commercials in Chicago, Fred Savage's acting career has included such feature films as "The Wizard," "The Princess Bride" and "Austin Powers: Goldmember," as well as a six-year run as "Kevin Arnold" on "The Wonder Years," a role that earned him several accolades and awards, including two Emmy Award nominations for Outstanding Lead Actor in a Comedy Series. Behind the camera, Savage has produced and directed more than 150 episodes of both comedic and dramatic episodic television, for which he has earned four Directors Guild Award nominations. He has served as producer and director on "It's Always Sunny in Philadelphia," as well as the AFI-honored "Party Down," "Best Friends Forever" and "Garfunkel & Oates." His episodic work includes "Modern Family," "The Goldbergs" and the Golden Globe-nominated "Casual." Additionally, Savage has helmed successful commercial campaigns for clients such as Verizon, Farmers Insurance, MasterCard and Aflac. He also can be heard as the voice of Honda in its television and radio campaigns. Recently, Savage returned to the other side of the camera, acting opposite Rob Lowe in FOX's "The Grinder," for which he was nominated for a Critics' Choice Award for Best Actor in a Comedy Series. Most recently, he starred in the streaming series "Friends From College." He also is under a production deal with 20th Century Fox Television, where he will continue to direct, produce and write new series. Savage lives in Los Angeles, where he has been reunited with his wife and three children after a brief abduction by "Deadpool."
See also Masterchef London Calling Part Two Sneak Peek
the flare
NEW GOT track "The Night King"
'American Idol' 17 Top Six Performances Betting Odds


Introduction to generic issues in human services. Role definition, boundaries, and ethics of professional relationships. Examination of self-awareness in the helping relationship and development of beginning group skills. Development and practice of observing, listening, recording and interviewing skills. Discussion and analysis of field work experiences. Students must be qualified ( based on Accuplacer) to take ENG 101 in order to register for this course. Four class hours. In conjunction with this course, the student must take and pass HUM 111 Field Work in Human Services I.
Placement exam at ENG 101 level. Corequisite: HUM 111.


Dive bomb your local water on the Kamakazi. Deluxe nylon-covered handles with neoprene knuckle guards provide a sure and comfortable grip while the rugged 30 gauge PVC inner has electronically welded seams and a Boston valve for quick inflating and deflating. The Kamakazi has a double stitched nylon cover, reinforced internal tow harness and a self-draining floor vent. Bomb wakes not countries.


40 photos Bedroom Furniture Storage of may competent And as we all know, a picture is worth a thousand words by admin and You have a few more options if you want to perform a reverse image search. Keep in mind that the visual you choose (square, portrait or landscape). There are at least the following types of Bedroom Furniture Storage to inspire your next custom. But for example, there are still some archived photos of Home Design. So, as well as help you for example, explanatory Bedroom Furniture Storage.
Brilliant Ideas Of Bedroom Groups Bedroom Furniture Marvelous Bedroom Furniture Storage.
Ideas Of Modern Fitted Bedroom Furniture Ideas with Storage Fitted Bedroom Charming Bedroom Furniture Storage.
550 x 325 image over the Ideas Of Modern Fitted Bedroom Furniture Ideas with Storage Fitted Bedroom Charming Bedroom Furniture Storage present include for in. Original file MIME type: 53541 size photo. Usage on Chswiper.com! .
Ideas Collection Alex Express Life C0172 Queen Storage Bed Nice Bedroom Furniture Storage.
1928 x 1116 image over the Ideas Collection Alex Express Life C0172 Queen Storage Bed Nice Bedroom Furniture Storage present include for in. Original file MIME type: 34085 size photo. Usage on Chswiper.com! .


text:
Society for the History of Emotions
Browse Upcoming Events
Home | Events | Past Events | The Authenticity of Emotions: Sceptical and Sympathetic Sociability in the 18th Century British Public Sphere
< Back to Events List
The Authenticity of Emotions: Sceptical and Sympathetic Sociability in the 18th Century British Public Sphere
Collaboratory Title:
The Authenticity of Emotions: Sceptical and Sympathetic Sociability in the Eighteenth-Centure British Public Sphere
Tuesday 18th and Wednesday 19th September 2012
Michael Frazer (Philosophy, Harvard University)
W. Gerrod Parott (Psychology, Georgetown University)
Laura J. Rosenthal (English University of Maryland)
Conal Condren (Centre for the History of European Discourses, University of Queensland)
Please complete the registration form and return to Janet Hart by 7th September.
Collaboratory Flyer
Conceptualisation:
This interdisciplinary Collaboratory will discuss the public sphere and emotional change in eighteenth-century Britain from the perspective of literature, philosophical ideas, political and religious debate, print culture and literary sociability. We are especially interested in: literary and political controversies; the rise and development of the novel; satire; contemporary ideas about sentiment and the passions; and the shared culture of sensibility, sociability and politeness. The principal aim of the meeting is to consider the 'emotionalization' of eighteenth-century print culture and its larger influence on contemporary public affairs via the formation of communities - either public or self-selecting - of sympathetic or sceptical readers. Indeed sympathy and the communication of ideas and sentiments among the reading public(s) are central to our interests.
The period under discussion is the 'long eighteenth century' (from the late 1600s to the early 1800s) wherein changes of psychological expression occurred alongside the development of wider and deeper print cultures. Various social and artistic media served to channel and contain fissile emotions while also providing scripts for creating and communicating the sentiments. The Collaboratory is designed to encourage a more general discussion about the cultural and intellectual context of the eighteenth-century British public sphere by looking more broadly at the growth of a print culture which seems to exemplify Hume's (and other thinkers' and writers') emphasis on sympathy and emotional communication. Among other things it will be important to consider how - and how far - communities were united by humorous but biting criticism, as well as positive sympathy, and whether the balance between these emotions can be seen to change over time. This is not to suggest that there was no emotion in public discourse before 1700, but rather to argue that the coincidence of burgeoning print culture and an emphasis on feeling as the key to 'authentic' humanity may have had an unprecedented impact on the style of public debates, especially among a middle class readership.
The Organisers
David Lemmings, History, University of Adelaide, and ARC Centre for the History of Emotions
Heather Kerr, English, University of Adelaide, and ARC Centre for the History of Emotions
Robert Phiddian, English, Flinders University, and ARC Centre for the History of Emotions
ARC Centre of Excellence
for the History of Emotions
M204, 35 Stirling Highway
Crawley 6009 WA
Email: emotions@uwa.edu.au


Also, a difference in personalities can lead to a communication gap in people. Managers need to have strategic conversations by asking questions and collecting feedback. Editor's Picks Level of Context Most English-speaking cultures are low-context, meaning they put a message into explicit words. When we communicate, our ability to get our message across affectively to others can be hampered by a number of barriers. Aggression can become a problem in communication when receiving mentally, physically or verbally abuse. ~ A knowledge of different cultures and traditions helps you get along with people from other cultures. The British may think Italians are rude in their emotional wildness, while the Italians may see the British as uptight.
Some similar words might mean totally different in other cultures. There is also a lack of communication between these religious groups. He may be asking you for information about her to make the job easier. They have chosen to disregard the information that would make them feel guilty or fearful about this habit. If you feel you need to further improve your skills you can look into the several resources I recommend on this site books, courses, other articles, videos. This technical group includes industrial engineers, production development manager, quality controller, etc. Cultural Diversity Now that the world has openly embraced globalization, you find yourself working in different countries, with different races of people and sometimes very different cultural and moral backgrounds.
When this happens, we feel overwhelmed and fear that we will not be able to retain any information at all. How many of these examples can you remember affecting your conversations with friends, classmates, or coworkers? This is I usually act and people in my home office in no way get offend. Cultural differences and emotional barriers may also hinder effective communication. Many native speakers of English also find the complicated medical words on hospital signs and the jargon of health care workers hard to understand. Emotional Distractions Emotions play a big role in effective communication.
What Are Some Examples of Cultural Barriers?
Such behavior can be a serious barrier in communication. For example, when a lower-level employee has to send his message to a superior at the top level there is a lurking fear in his mind that the communication may be faulty, and because of this fear, he cannot convey himself clearly and in time. This is observed at both personal and professional levels. Behavior constraints are the ways people behave from different cultures. Active listening is a crucial element in making communications effective. When people belonging to different cultures communicate, these factors can become barriers.
Language Barriers Just like diversified culture, you end up working with people speaking different languages. Language is one cultural barrier that is observed in people coming from different parts of the world. She is still sectioned without her consent. It is important to be aware of this when working with people in care settings in order to make sure communication with them is effective. Ethnocentrism affects the understanding of message, and encourages hostility. Body Language People sometimes take offense because of differences in body language across cultures. Keep your mind open and free of judgment until the end.
The student may also need technical aids by a hearing aid. When your audience involves people whose native language is not English or individuals of different educational backgrounds, messages need to be direct and clearly stated to help ensure they are understood. In America, people communicate freely and that is a part of their culture. Here, there will be a lot of distortion and misinterpretation even in direct contact between the two people. Language Barriers A common cross cultural barrier in business communication is of course, language. From the point of view of convenience, they have been divided into two parts: a Barriers Related to Superiors: These barriers are as follows: i Fear of Challenge of Authority: Everybody desires to occupy a high office in the organisation.
Sometimes people are good listeners but because of the emotion in the tone the manager or a higher authority exerted, the employee feels he does not have the authority or confidence to reply back. Religious groups like the Christian Scientists have strictures and other religious laws against accepting blood transfusions and related procedures. Here if the information is misrepresented or misinterpreted, then there is no way to clear the doubt the receiver has about the message and hence, unable to properly comply. Thanks for sharing your experiences with us Tracey. This happens because the information is not sent in simple language. People are comfortable communicating in their own language whereas have to work hard to learn new languages.
What are 10 examples of barriers of communication?
The global marketplace creates many opportunities for business development, but ineffective cross-cultural communication can harm employees, customers, and other stakeholders. It forms the way people think and behave. Psychologists believe that they are selectively ignoring the evidence that smoking is dangerous to their health. These barriers can lead to serious miscommunications between parties with differing cultural backgrounds. That is the best form of effective communication. Communication is the most important way to stay ahead in the world.
What are some examples of cultural barriers to communication?
Many a time, the reason behind the lack of effective communication between two individuals is, the cultural differences between them. Barriers created by different attitudes also cause communication issues. The man may have a preferred choice, or maybe needs to talk about it as well as having someone to sit and listen to him. Italians are generally open about their emotions, with hugs and kisses alternating between angry shouting and gesturing. Sorry, but copying text is forbidden on this website! Autistic children and adults often display unusual nonverbal communication gestures. As the name implies, the focus of active listening as a tool for improving communication is on listening rather than talking.


text:
Prof. Odinet Appointed to ELI Project Studying Access to Digital Assets
OU Law Professor Chris Odinet, who was recently appointed to a working group of the European Law Institute (ELI), is currently in Paris for the group's first preparatory meeting.
Chris Odinet, Commercial Law, Digital Assets, European Law Institute
OU Law's International Business & Human Rights Center Promotes Goals of the Universal Declaration on Human Rights
Today marks the 70th anniversary of the adoption of the Universal Declaration on Human Rights (UDHR), a milestone instrument that recognized the dignity and rights of all individuals throughout the...
Center for International Business and Human Rights, Business and Human Rights
Prof. Stephen Henderson, Criminal Law Professors File Brief of Amici Curiae in Gamble v. United States
Professor Stephen Henderson and other scholars filed a Brief of Amici Curiae in support of the petitioner in Gamble v. United States, a case now pending before the U.S. Supreme Court.
Stephen Henderson, Criminal Law, Faculty Scholarship, U.S. Supreme Court
#ThankfulTuesday 2018
So many OU Law alumni, friends and students have helped make 2018 a success. During this season of thanksgiving, we'd like to thank everyone for their support.
OU Law Hosts ABA Regional Arbitration Competition; Team Advances to National Finals
OU Law recently hosted 10 law school teams from around the country for the regional round of the American Bar Association Law Student Division Arbitration Competition.
Competitions, ABA Arbitration Competition
OU Law 3L Matthew Acosta Works to Modify Defendant's Sentence
Criminal Clinic student and 3L Matthew Acosta was recently involved with a project with the Lincoln County District Attorney's Office to amend the sentence of a defendant who was convicted of a felony charge right before the passage of State Questions 780 and 781.
OU Legal Clinic
OU Law Alumni Compose Nearly Half of Oklahoma Attorneys Named 2018 Super Lawyers
Graduates of the OU College of Law constitute 48% of the Oklahoma lawyers named to the 2018 Oklahoma Super Lawyers list – the most of any other law school.
Awards & Recognition, Alumni
OU Law Alumni Spearhead Thanksgiving Day of Kindness
OU Law alumni David Bernstein ('83) and Noble McIntyre ('95) are two of the three founding members of Lawyers Fighting Hunger, a nonprofit organization dedicated to fighting hunger in Oklahoma. With the collaboration of other local organizations and lawyers across the state, Bernstein and McIntyre have organized the Oklahoma Trial Lawyers 9th Annual Day of Kindness to help Oklahomans this Thanksgiving
Veterans Day Tribute to OU Law Service Members
This Veterans Day, as we honor and remember the men and women who have selflessly served their country, we recognize members of the OU Law community who have also chosen the path of service to their country.
Veterans, Public Service
OBA to Honor Five from OU Law
Five members of the OU College of Law community will receive awards from the Oklahoma Bar Association in recognition of their professional accomplishments and contributions to the legal profession.
Oklahoma Bar Association, Awards & Recognition, Alumni


text:
$set 7 #Slit

$ #SlitTitle
# Slit
$ #SlitDirection
# Slit retning
$ #SlitPlacement
# Slit placering


Following widespread speculation, Electronic Arts confirms today that EA Sports is indeed reviving NBA Jam on the Nintendo Wii.
Widespread media reports indicated that the publisher had bought the rights to an "updated version" of the property from the NBA -- and today's announcement follows the hiring late last week of NBA Jam creator Mark Turmell as senior creative director at EA Tiburon.
The new NBA Jam will feature gameplay "true to the original", promising an updated classic experience that also adds new modes and a re-defined visual style with more realistic body types, physics and "visible player emotion."
NBA Jam got its start in the arcades as Midway's fast-paced, over-the-top interpretation of American professional basketball. The property gained greater notoriety when it came to 16-bit home consoles in the 1990s.
"NBA Jam is one of the most recognizable franchises in videogame history," says EA Sports president Peter Moore. "Diehard fans of the original game have been asking for a remake for more than a decade. We�re very excited to give them their wish this year with the return of this iconic franchise."
The title will be developed by EA Canada in Vancouver, and according to the company, it's being prepared for a 2010 launch.


will the ampmeter in dash take the amps of 90 plus withoutdamage to the gage? I am installing new 6.1 Hemi.thanks Joe..
First, a comment to everybody: Here's another case where I personallyanswered, but my reply e-mail bounced. Please be sure your e-mail address iscorrect; it's easy to tell: just send yourself a test e-mail.
2. Take some load off the ammeter circuit, by running a length of heavy wire(10 or 12 gauge, depending on alternator capabilities), right from thealternator output stud to the starter relay stud. Use a short length offusible link wire, 2 numbers smaller, at the starter relay end. This methodbasically disables the ammeter, you should install a voltmeter.


text:
import web
import datetime
import time
import datetime

db = web.database(dbn='sqlite', db='wrg.db')

def get_users():
    return db.select('user')

def get_user_by_id(id):
    try:
        return db.select('user', where='id=$id', vars=locals())[0]
    except IndexError:
        return None

def get_all_reports():
    return db.select('report', order='id DESC')

def get_today_reports():
    today = datetime.date.today().strftime('%Y%m%d')
    try:
        return db.select('report', where='postdate=$today', vars=locals())
    except IndexError:
        return None

def get_report_by_name(name):
    try:
        return db.select('report', order='id DESC', where='who=$name', vars=locals())[0]
    except IndexError:
        return None

def get_report_by_id(id):
    try:
        return db.select('report', order='id DESC', where='id=$id', vars=locals())[0]
    except IndexError:
        return None

def new_report(job, risk, plan, who):
    #db.insert('report', job = job, risk = risk, plan = plan, postdate = time.asctime())
    _today = datetime.date.today()
    _postdate = _today.strftime('%Y%m%d')
    db.insert('report', job=job, risk=risk,
              plan=plan, postdate=_postdate, who=who)

def del_report_by_id(id):
    db.delete('report', where='id=$id', vars=locals())

def update_report_by_id(id, job, risk, plan):
    _today = datetime.date.today()
    _postdate = _today.strftime('%Y%m%d')
    db.update('report', where='id=$id', vars=locals(), job=job,
              risk=risk, plan=plan, postdate=_postdate)


text:
About ICITT
Attendance Guide
ICITT 2022
2023 7th International Conference on Intelligent Traffic and Transportation
ICITT 2020 @ Virtual Mode
Due to the worldwide outbreak of the pandemic covid-19, 2020 4th International Conference on Intelligent Traffic and Transportation has been changed to a virtual conference instead of being held physically as planned in Paris, France. The participants all showed their support and understanding in such situation, who have joined the conference and presented their papers online using Zoom. On behalf of the organizing committee, we'd like to thank all the keynote speakers, invited speakers and authors. We believe we'll all survive this health crisis and get back to our normal life soon. We look forward to seeing you all next year.
Accepted and registered papers of ICITT 2020 will be published here: http://www.jtle.net/index.php?m=content&c=index&a=lists&catid=9
Technically supported by
Copyright © 2017-2023.ICITT All rights reserved.


Quality patient care is often one of the prevalent concerns for us, and this is especially true when it comes to our Air Ambulance Service in Cooch Behar. There are a lot of patient transport services to choose from, but you cannot assume that patient care will be consistent among them. In fact, this is something that tends to differ greatly among us at Decan Air Ambulance in Cooch Behar.
Time management is the second major concern. This can be very time consuming for you, but Decan Air Ambulance Service in Cooch Behar can quickly provide assistance by taking care of things on their end to make certain they are prepared to fly at a moment's notice.
While the equipment on board is crucial to the safety and care of a patient, the flight staff and medical crew work as a team and provide the advanced amenities and services for the outstanding results. Therefore, Air Ambulance in Cooch Behar is well-equipped and ready to fly anywhere in the country to shift your patient with the complete medical care and support.


Let me show you the world, nature and familiar places like you've never seen them before!
You'll soon realize that it only takes to stop, watch and listen.
The sounds, the colors, the movement. It's all there, and it's beautiful!


text:
Memorandum of Vice Admiral William S. Sims, Commander, United States Naval Forces Operating in European Waters
FIRST: THE ADRIATIC OFFENSIVE
A number of objections may be raised to the proposed plan, of which the two below discussed seem to be the most probable:
(a) The proposed operation against Cattaro may be considered by some as an attempt to reduce shore batteries and effect an occupation of hostile territory by naval means alone. With respect to this, the plan does not contemplate any such operation. The operation against Cattaro is purely in the nature of a raid, and contemplates merely rushing a strong naval force into the harbor, destroying as much of the shipping as possible and getting out. The operations against the shore batteries would be purely incidental and in the nature of a containing operation merely designed to reduce the effectiveness of their fire against the raiding force while the mail operation was in progress.
(b) It may be said that the proposed plan to land a force and cut the railroad to the eastward of Sabbioncello peninsula is too much of an undertaking for a naval force and would involve us in extensive military operations which would require an army of considerable size.
The answer to this is, as in the case just discussed, that the operation is purely a raid, having as its object paralyzing one of the enemy's lines of communication, in fact his only land line of communication in that region by destroying bridges, tunnels or other permanent works. With respect to the force that is thrown ashore, two courses of action are open:
First: To withdraw it as soon as its primary object has been accomplished.
Second: Leave it ashore until it is threatened by a superior force.
Circumstances at the time would have to determine whether there would be any advantage gained by leaving the landing force ashore after its primary object had been accomplished. Unless there were some such advantage in sight, it would be best to withdraw the force at once, because in that case it would withdraw on the heels of victory, whereas, if it were kept ashore until threatened, the enemy would say it had been driven out, and there would be a consequent loss of prestige for our force, and gain in morale for the enemy,
It should be further pointed out that neither of these operations is essential to the general plan, though each of them is a brilliant operation and if successful would improve the morale of our own side and correspondingly weaken the enemy's morale.
SECOND: EMPLOYMENT OF BRAZILIAN WARSHIPS IN EUROPEAN WATERS
This matter is at present in rather an unsatisfactory state, and there is considerable uncertainty as to just where the Brazilian vessels are to operate, as is shown by paper No. 55 appended hereto.1
It had been expected by us that the Brazilian vessels would come out and report to our Admiral at Gibraltar2 as a part of his force, and would be operated by the S.N.O. Gibraltar3 in exactly the same manner as obtains in the case of our own vessels. This expectation was upset by the news that a Brazilian Rear Admiral senior to Admiral Niblack, was coming out in command of the force.4 As this Brazilian Admiral is also senior to all of our Flag officers afloat, with the exception of the Admirals and Vice Admirals, it does not make any difference where his force goes so far as concerns their operation under an American Admiral, and it would seem that the most we can do to carry out our Government's wishes is to so allocate these Brazilian vessels that they will always be operating in the same area with American vessels.
Source Note: Cy, DLC-MSS, William Sims Papers, Box 23. Document identifier: "1/2/3/6/Q/J." There is a note at the top of the document: "Admiral Sim's Personal File."
Footnote 1: The appended memorandum has not be found. For a discussion of what the United States hoped concerning the Brazilian navy contingent, see: William S. Benson to Sims, 17 January 1918.
Footnote 2: RAdm. Albert Niblack, Commander, United States Patrol Sqaudron at Gibraltar.
Footnote 3: RAdm. Heathcoat S. Grant, Senior Officer, Gibraltar.
Footnote 4: Adm. Pedro Max Fernando Frontin, Commander, Brazilian Naval Division for War Operations.
William S Sims
Naval Operations at Gibraltar, Naval Operations in the Mediterranean, Diplomacy, Inter-Allied Naval Council


text:
Q: How can I get id of span and make it display none which is dynamically generated? I have created span tags dynamically and appended to div. Now I want to get its id, the one I select and delete it. It is something like jquery tagit. Below I am using this but it is not working. See the id can get when I click a particular span.
$('span').on('click', function (e){
alert(e.target.Id);
});

A: You don't need an id (and the span may well not have one), you already have a reference to the element: this. That's standard jQuery behavior. (In fact, it's standard across the various ways you can hook up events without jQuery too.)
So
$('span').on('click', function() {
    $(this).remove(); // Removes the one that was clicked
});

(Or, yes, add the e back and use e.target: $(e.target).remove();)

Re your comment:

I tried using that code by giving alert also but the click event is not firing.

That suggests that the spans in question don't exist as of when your code runs, and so you don't end up hooking their click event.
To deal with that, you probably want to do a delegated handler: In dev tools, right-click one of these spans and find a common ancestor that they have that does exist as of when your code runs. (In the worst case, that could be document, but usually it's better to scope things more tightly.) Then:
$('selector-for-that-ancestor-element').on('click', 'span', function() {
    $(this).remove(); // Removes the one that was clicked
});

See on for details. Also, if the spans have any identifying characteristics (like a class or some attribute), you might want to include that in the delegation selector above to be more specific.


text:
Q: SetThreadAffinityMask for unix systems I would like to prevent a thread being executed on more than one core, respectively I don't want that when a certain thread is being executed on one core, it should not be scheduled to be executed on another core.
I use the x86 instruction RDTSC to generate timestamps. When this instruction is called from different CPU cores, different timestamp counters might be used and since the different counters are not synchronized through the CPU cores, there might emerge inconsistent results.
On windows there is a function to force this behavior:
DWORD_PTR WINAPI SetThreadAffinityMask(
  __in  HANDLE hThread,
  __in  DWORD_PTR dwThreadAffinityMask
);

Sets a processor affinity mask for the specified thread.

MSDN link
Is there something similiar for unix systems?

A: Linux 2.5.8 and higher has sched_setaffinity(). It's often used at the process level, but also works with threads:

The affinity mask is actually a
  per-thread attribute that can be
  adjusted independently for each of the
  threads in a thread group. The value
  returned from a call to gettid(2) can
  be passed in the argument pid.

A: With Solaris, you can use CPU binding which can be applied to single threads, single processes, set of processes or all processes in a zone. See processor_bind and pbind.