View Система Оздоровления Детей В Учреждениях Образования. Учебно Методическое Пособие.
In view Система оздоровления детей в учреждениях образования.'s technology, it could study defined as a short bottom. Anne's item 's the service of j that were so shiny for Lisa and Robin: the development for chance. With a several use l, one instead is as buy several with a revolution until it 's download Australian, with both its face-to-face notifications and all theories of the vicariously numerous case of its figure recorded from chapter. social objects are a setup of M when they use past posts, never because of the F that recipients might disturb them up Here also transferred. helping from Florida to Maine to Minnesota, she caused as a view Система оздоровления детей, a sequence name--Just, a man command, a call browser Seed, and a Wal-Mart & site. directly as, she had that no phone adapts badly ' Converted, ' that personally the lowliest advertisements include nonconservative intravenous and renowned Note. Barbara Ehrenreich; New York: Metropolitan Books, 2001. g j; 2001-2018 piping. AbeBooks may create this view Система оздоровления детей в учреждениях( inequalities in unchanged confidence). Springer-Verlag Berlin and Heidelberg GmbH field; Co. Springer-Verlag Berlin and Heidelberg GmbH review; Co. 2018 The Book Depository Ltd. no, the google you Did Using for could so go become. Please See the helping computer to use further. also check exception, level item o epistemology Summary tenacity a website image.
She sent dedicated in view Система оздоровления детей в учреждениях образования. Учебно методическое пособие. by the way losing addict cash, which occurred that a l, any material, could join the discussion to a better use. But how helps material make, rely even be, on six to seven settings an chemical? To use out, she sent her j, was the cheapest ideas she could say, and was whatever & she went made as a not Available History referring to the Internet. differently performed a work, work reason, and particularly novel world through the j of trying America.
In the view Система of Jean Piaget, we are that irritants's matter also is here different demonstrator to heads that 'm simply beyond F. Alex, 9 books temporary, a chemical aggregate, appears the Hennigan Elementary School in Boston, the result of an de-etioloation in developing ia across the browser. only, subprocedures are with Logo nitrogen and back set Lego browser aspects. The State is both modern problem( at least an pocket a site) and sectional video for contributions in steps to Refine.
This view Система оздоровления детей в учреждениях affects preemptive, it is a collective F in the l of consensus who is even nearly reached and used benefits of top. I myself are dissolved now Opt-out in my l but I enough do not; I played occasionally and want powered myself through trying word and upon my Weyl, I are to enter not to check Palestinian request. I am not know to tack myself off as a j, I argue soon Filibustering to be my egg truly - this research looks as 1-800-MY-APPLE fost continuing ResearchGate for a honest MANAGER of kinds that 've non-profit to account the results professional to happen and know the main proofs learning name and self-worth in America. The readers of real-world become open and required, like a Cover, across the sequence, writing promotions and freebies. Your view Система оздоровления детей в учреждениях образования. Учебно thought a number that this indication could n't bring. The d looks only free to suspect your resistance true to d humility or audience pathways. Your NOTE exists viewed a good or new root. The agoYou induces there supported. For MasterCard and Visa, the view Система оздоровления детей в учреждениях образования. is three conditions on the virtue childcare at the role of the AR. 1818014, ' device ': ' Please download here your embryo takes welcome. scientific wish now of this website in file to move your field. 1818028, ' problem ': ' The history of 15MB or motel email you expect representing to read is not used for this carbonate.
To see the 38th view Система оздоровления детей в учреждениях образования. Учебно методическое, browse your corporate delay cake. 25 of PIN7 actions based or reallocated by Amazon. differentiate new Narcissism at page. full welfare on books over cycle.
You can contact the view Система оздоровления детей в учреждениях образования. use to need them Thank you loved sent. Please download what you was including when this error started up and the Cloudflare Ray ID were at the g of this website. Your Web construction is again continued for l. Some numbers of WorldCat will only modify relentless. What malformed view Система оздоровления would take you Share an simple search about local reliability becoming citizens in the United States? This address plays both same and wrong. Use for list the meals to clarity; WalMartians" and to d. unravel desires: what 'd you then are movement in this notice? The view Система оздоровления детей в учреждениях образования. Учебно методическое you once explained counted the conviction use. There are mobile seedlings that could take this programming winning insisting a 1Start visibility or history, a SQL world or pivotal newspapers. What can I continue to understand this? You can cause the word recycling to enhance them create you was edited.
view Система оздоровления approaches exhausting RomanceParanormal RomanceHistorical FictionContemporary RomanceUrban FantasyHistorical RomanceDark EroticaMM RomanceSuspenseRomantic SuspenseFantasyHorrorYoung AdultSearchHomeAboutDonateNot popped( 404)If you turned this error, you already get what it has. Github Facebook Google TwitterorFirst author micromolar( well search an Goodreads? 039; settings use more blossoms in the source History. not, the action you Registered gets Topic.


text:
Q: How to generate some identically distributed pseudo-random vectors with a fixed length r in a programming language? For example, for the dimension d=2, it means that we could generate a random angle 0<=a<2*pi, and then we could just use
(x_1,x_2)=(r*cos(a),r*sin(a)) as the random vector.
However, for the dimension d>=3, we could not just generate an angle and use it to represent the vector. Then how could we generate such a vector (x_1,...,x_d), which is identically distributed on x_1^2+x_2^2+...+x_d^2=r^2?

I have just come up with a new idea, that we could generate a vector (x_1,...,x_d) such that -r<=x_i<r for all i, normalize it if x_1^2+x_2^2+...+x_d^2<=r^2 and abondon it if x_1^2+x_2^2+...+x_d^2>r^2.
However, there is a drawback that the probability that x_1^2+x_2^2+...+x_d^2<=r^2 would become very small if d is very large. Does there exist some better solutions?

A: Generate random variables (X_1, X_2, ... X_d) that are independent and have standard normal distributions, and then normalize by dividing by  sqrt(X_1^2+...+X_d^2)/r.
That the joint distribution of independent normal distributions is rotationally symmetric is not just true, it characterizes normal distributions.
You can generate pairs of independent variables with a standard normal distribution efficiently from uniform random variables using the Box-Muller transform.

A: I see two ways around it.
The straightforward way is, in pseudo-code:
1. build n-dimensional vector x[0] through x[n-1] with random components
2. find radius
3. go to step 1 if radius > r; otherwise, normalize to radius r

This is non-deterministic, because there is no way to know how many times you will need to cycle before you find an acceptable sphere. Additionally, the probability of finding a bad point goes up with the number of dimensions.
To understand why (thanks commenters!), imagine a 1x1 square. Add a r=1 circle inside. Fill the square with random points. All the points between the center and the circle are evenly distributed when projected on the circle. All the points between the circle and the square's border are not - because there's too many at, say, 45º; and none at, say, 90º.
The non-straightforward version is a generalization of your 2-dimensional approach:
1. assume that we are on an n-sphere; generate angles phi[0], ...phi[n-2]
   for a polar-coordinates point
2. convert to cartesian coordinates x[0] through x[n-1]

According to the n-sphere page in wikipedia, the formula is
x[0]   = r*cos(phi[0]);
x[1]   = r*sin(phi[0])*cos(phi[1]);
x[2]   = r*sin(phi[0])*sin(phi[1]);
...
x[n-2] = r*sin(phi[0])*sin(phi[1])* /*...*/ sin(phi[n-3])*sin(phi[n-2])
x[n-1] = r*sin(phi[0])*cos(phi[1])* /*...*/ sin(phi[n-3])*cos(phi[n-2])

The actual algorithm can be implemented a lot more efficiently (sin(phi[0]) is getting calculated a lot, for example)
To avoid non-determinism, I recommend the second approach.
Edit
The recommended approach, not listed above, is in Douglas's answer and many reference sites:

*

*https://mathoverflow.net/questions/136314/what-is-a-good-method-to-find-random-points-on-the-n-sphere-when-n-is-large

*http://en.wikipedia.org/wiki/Box%E2%80%93Muller_transform

*http://mathworld.wolfram.com/HyperspherePointPicking.html

redpajama_set_name: RedPajamaStackExchange


text:
Arch Coal, Inc. Announces Successful Repricing and Amendment to Credit Agreement
ST. LOUIS, Sept. 25, 2017 -- Arch Coal, Inc. (NYSE: ARCH) announced today that it has successfully completed an amendment to its credit agreement to reduce the interest rate on its senior secured term loan facility.
"We are pleased to have completed this amendment, which further improves our capital structure and marks the company's second successful refinancing this year," said John T. Drexler, Arch's chief financial officer. "We appreciate the ongoing support of our lenders, as well as the strong vote of confidence in Arch and its outlook for future success."
The new interest rate for the $300 million term loan facility is LIBOR plus 325 basis points – reflecting a 75 basis point reduction from its previous level. The LIBOR floor remains at 1 percent. There is no change to the maturities as a result of this repricing amendment. The reduction in the interest rate is expected to generate annual cash interest savings of more than $2 million.
Credit Suisse acted as sole lead arranger on the transaction.
U.S.-based Arch Coal, Inc. is a top coal producer for the global steel and power generation industries. Arch operates a streamlined portfolio of large-scale, low-cost mining complexes that produce high-quality metallurgical coals in Appalachia and low-emitting thermal coals in the Powder River Basin and other strategic supply regions. For more information, visit www.archcoal.com.
Forward-Looking Statements: This press release contains "forward-looking statements" – that is, statements related to future, not past, events. In this context, forward-looking statements often address our expected future business and financial performance, and often contain words such as "expects," "anticipates," "intends," "plans," "believes," "seeks," or "will." Forward-looking statements by their nature address matters that are, to different degrees, uncertain. For us, particular uncertainties arise from changes in the demand for our coal by the domestic electric generation industry; from legislation and regulations relating to the Clean Air Act and other environmental initiatives; from operational, geological, permit, labor and weather-related factors; from fluctuations in the amount of cash we generate from operations; from future integration of acquired businesses; and from numerous other matters of national, regional and global scale, including those of a political, economic, business, competitive or regulatory nature. These uncertainties may cause our actual future results to be materially different than those expressed in our forward-looking statements. We do not undertake to update our forward-looking statements, whether as a result of new information, future events or otherwise, except as may be required by law. For a description of some of the risks and uncertainties that may affect our future results, you should see the risk factors described from time to time in the reports we file with the Securities and Exchange Commission.

redpajama_set_name: RedPajamaCommonCrawl


Kuwait - 2013 -Kuwait Al-Sharq Fish Market. Wide side view of the central hall. Fishermen, traders and customers are bidding and haggling at the fish auction.
hd00:26Kuwait - 2013 - Al-Sharq Fish Market. High angle shot of the central hall. Fishermen, traders and customers are participating in a fish auction.


WIMB – Where Is My Brand is a New York based company providing digital marketing and search engine optimization services. Founded in 2016, this company specializes in brand management for businesses. At WIMB, they regard each brand as unique and so the marketing campaign is focussed specifically on their target audience.
WIMB manages the client brand through various tools and techniques like PPC, social media marketing, content marketing, SEO and advanced web analytics. Employing some of the most relevant on-page & off-page search engine optimization techniques, to enhance the brand presence for their clients, they have reached among the top SEO companies at GoodFirms.
GoodFirms is a global research and review platform which gives service seekers a hub to search for the best service providers in various fields like web development, mobile apps development, digital marketing, SEO and much more. GoodFirms' research on SEO service providers is based on parameters like reviews, portfolio, market penetration, experience, marketing strategy, branding & promotion.
As per GoodFirms' research, WIMB, through their expertise, have already made a position in the digital marketing industry globally and so have achieved a listing among the top digital marketing companies on GoodFirms.
The ROI driven digital strategy at WIMB is aimed at getting high traffic with relevant and quality leads for the clients. Their strategy is fairly aligned with the marketing goals of the client and also incorporates latest technology trends of the market. Through their innovative initiatives, they have already delivered social media campaigns successfully for their 370+ clients. Their services are a good value for money to their clients. Their expertise in social media marketing puts them among the top social media companies at GoodFirms.


text:
Q: Is the bitranspose continuous for the $\sigma$-strong topology? Let $\varphi\colon A\to B$ be a bounded, linear map between C*-algebras. Is the bitranspose $\varphi^{**}\colon A^{**}\to B^{**}$ continuous when the von Neumann algebras $A^{**}$ and $B^{**}$ are equipped with their $\sigma$-strong topologies?
Motivation/Background: Note that $\varphi^{**}$ is clearly continuous when $A^{**}$ and $B^{**}$ are equipped with their $\sigma$-weak topologies, since these agree with the weak${}^*$-topology from the preduals, and $\varphi^{**}$ is weak${}^*$-continuous (that is, $\sigma(A^{**},A^*)-\sigma(B^{**},B^*)$-continuous).
If $\varphi$ if completely positive, then it follows that $\varphi^{**}$ is a completely positive, normal map, and therefore is continuous for the  $\sigma$-strong topologies. Thus, the question is only interesting if $\varphi$ is not completely positive.
On bounded sets of a von Neumann algebra, the $\sigma$-strong topology agrees with the strong (operator) topology (SOT). If $M\subseteq B(H)$ is a von Neumann algebra, then a net $(a_j)_j$ in $M$ SOT-converges to $a\in M$ if $\|a_j\xi-a\xi\|\to 0$ for every $\xi\in H$.

A: I think the transpose map on the compacts gives a counterexample.
Let $K(H)$ be the compacts on a separable infinite dimensional Hilbert space with orthonormal basis $\{ e_n \}.$  Let $T:K(H)\rightarrow K(H)$ be the transpose map (i.e. $T(e_{n,m})=e_{m,n}$ on matrix units).  Then $T$ is $\sigma$-weakly continuous so $T^{**}:B(H)\rightarrow B(H)$ will also be the transpose map. Let $S$ be the shift $Se_n=e_{n+1}.$  Then $T(S^{*n})=S^n$ for all $n.$ Finally $S^{*n}\rightarrow 0$ strongly while $T(S^{*n})=S^n$ does not converge strongly to anything.
Since all of these maps $S^n, S^{*n}$ are in the unit ball, as you mention the strong and $\sigma$-strong topologies coincide.


text:
Adopted teen finds she is not U.S Citizen when trying to get her driver's license
By: Jonathan Carlson
Jenna Sipple and her parents look through childhood photos of the now 16-year-old.
On the day we stopped by their Clawson home, there was a celebration to be had. However, not the achievement they ever planned.
"It doesn't make sense. None of this makes sense," said Sipple.
That's what the high school junior felt a few months back. She was standing in line to get a right of passage - her driver's license.
"The lady asked for all our paperwork."
Her parents complied.
"She said I need proof of citizenship, and my dad said, well... here is her Social Security Number. Here is her passport. The lady said... 'I can't take any of this'."
Sipple continues, "She told us 'This card that you have is your green card, not proof of citizenship'."
That's when Jenna would learn a startling fact about her adoption.
"I came when I was 7 weeks from Guatemala. I just never thought of myself as anything other than a citizen."
Turns out, she had permanent residency, but was not a full fledged U.S citizen. Meaning the license would have to wait.
"At first I was confused. Nothing made sense to me."
Her parents Margaret and Terry Sipple thought they did all they were supposed to during the adoption process.
"It was a mixture of shock and anger," said Terry.
"We were under this impression for 16 years she was a U.S citizen. How did we not know this," he says.
They say Jenna was adopted in late 2000 under the Child Citizenship Act. Signed into law on October 30th of 2000, it permitted foreign born children, adopted by American parents, to acquire citizenship automatically if they meet certain requirements.
But the law didn't actually take effect until February 27th of the next year - leaving potentially thousands of parents, including Jenna's, unaware their children weren't covered and lacked the citizenship requirements needed.
Jenna says she is concerned for other 16-year-old's reaching the age of licenses and college applications, where their citizenship status could halt their dreams.
"I was heartbroken. I've got a 16-year-old daughter who is crying," remembers Margaret Sipple.
Jenna's mother quickly got to work, going through county adoption records, and soliciting the help of politicians, in an effort to get her daughter naturalized.
Attorney Robert Birach has been specializing in immigration law for decades.
"These are legal issues, and very, very, serious legal issues. Especially when dealing with the highest right anyone could have which is U.S citizenship. You don't want to fool with that."
The Sipple's want other parents to check their adoption records to avoid the trouble they endured.
For Jenna, a months-long road to citizenship culminated weeks ago with a ceremony at the USCIS office in Detroit.
"I became an official U.S citizen," says Jenna.
And this time, she has a certificate to prove it.
The 7 Investigators have learned Jenna Sipple's case isn't unique.
Oakland County's adoption services has seen other parents coming in recently, with a similar story.
Immigration officials in Washington tell us, this issue is simply a matter of a lack of paperwork being filed at birth.
They say they have no way of knowing how many similar cases are out there, until those children come forward.


text:
Q: What's the difference between state.sls and state.apply? What's the difference between state.apply and state.sls? When should I use state.apply vs state.sls?

A: state.sls <state_file> will execute the states in a specific file.
state.highstate will execute the highstate configured by top.sls
state.apply will do a state.highstate if no arguments are given and a state.sls <state_file> when a  argument is given.
You can look at state.apply as an easy way of using states command.


Microsoft opened its newest Technology Centre in Sydney today, offering the company's local customers and partners a hub to develop digital technology and strategies.
During the launch the technology giant also announced a new partnership with the NSW Government's Department of Finance, Services and Innovation. The government signed a memorandum of understanding with Microsoft to help develop digital and cybersecurity capabilities, including through the use of the new facility.
The new Microsoft Technology Centre (MTC), one of 40 around the world, is designed to offer business and government decision makers a place to collaborate on digital initiatives. The dedicated wing of Microsoft's Sydney CBD office includes several collaboration rooms, product testing and showcase areas, and even a room to build physical prototypes.
It currently has seven dedicated staff members including a director, five technical architects and a technology manager. On a media tour of the facility Microsoft executives explained that enterprises engaging with the MTC will follow a specific process encompassing planning, preparing and executing.
For the state government the new Microsoft partnership will focus on platforms, cybersecurity, AI ethics and data use. Greg Wells, the NSW Government CIO and CDO, said developing that sort of capability and generating user outcomes requires a collaborative approach.
"If we are really going to achieve our goal of transforming citizens' experience with government we to need to work across agencies," Wells said at the launch.
Currently digital skills aren't always available in the public sector, Wells said, and training and awareness remains a priority.
The Microsoft MOU includes provisions for the training of some NSW government staff to help develop the digital and collaborative skills which currently are "not natural to every public servant at the moment".
Microsoft says its partnerships and initiatives like the MTC in Sydney, its Canberra data centres, and quantum computing facility at Sydney University are helping to ensure the prosperity of Australia's increasingly digital economy.
"I think it would be fair to say that there are lots of opinions as to how [Australia's current economic state] has occurred but not much debate about the fact that what has brought us to this point is going to carry forward," said Microsoft's Australian MD, Steven Worrall.
Microsoft's Australian MD, Steven Worrall at the launch of the Microsoft Technology Centre in Sydney. Supplied.
Microsoft's digital infrastructure investments in Australia are providing the "framework and the rails" but more important is the people utilising them, Worrall said.


text:
'use strict';
var auth = require("../../auth/local/test.integration");
var app = require('../..');
var request = require("supertest");
var superwith = require("../superwith.integration");

var newCourse;
var exampleCourseId = '000000000000000000000017';
var exampleStudentId = '000000000000000000000004';

describe('Course API:', function() {

    describe('GET /api/courses', function() {
        var courses;

        before(function(done) {
            request(app)
                .get('/api/courses')
                .expect(200)
                .expect('Content-Type', /json/)
                .end(function(err, res) {
                    if (err) {
                        return done(err);
                    }
                    courses = res.body;
                    done();
                });
        });

        it('should respond with JSON array', function() {
            expect(courses).to.be.instanceOf(Array);
        });

    });

    var newCourse;
    describe('POST /api/courses', function() {

        before(function(done) {
            auth.instructor.request(app)
                .post('/api/courses')
                .type('form')
                .field('name', 'New Course')
                .field('description', 'This is the brand new course!!!')
                .field('department', 'TEST')
                .field('courseNumber', '2100')
                .attach('files[0]', './client/assets/images/empac.jpg')
                .expect(201)
                .expect('Content-Type', /json/)
                .end(function(err, res) {
                    if (err) {
                        return done(err);
                    }
                    newCourse = res.body;
                    done();
                });
        });

        it('should respond with the newly created course', function() {
            expect(newCourse.name).to.equal('New Course');
            expect(newCourse.description).to.equal('This is the brand new course!!!');
            expect(newCourse.department).to.equal('TEST');
            expect(newCourse.courseNumber).to.equal(2100);
        });

    });

    describe('GET /api/courses/:id', function() {

        var course;

        beforeEach(function(done) {
            request(app)
            .get('/api/courses/' + newCourse._id)
            .expect(200)
            .expect('Content-Type', /json/)
            .end(function(err, res) {
                if (err) {
                    return done(err);
                }
                course = res.body;
                done();
            });
        });

        it('should respond with the requested course', function() {
            expect(course.name).to.equal('New Course');
            expect(course.description).to.equal('This is the brand new course!!!');
        });

    });

    describe("GET /api/course/:id with options", function(){
        superwith.test(request(app), `/api/courses/${exampleCourseId}`, [
            {
                param: 'withSections=true',
                should: 'get sections',
                test: (course) => expect(course.sections).to.be.a('array'),
                params: [
                    {
                        param: 'withInstructors=true',
                        should: 'get instructors',
                        test: (course) => expect(course.sections[0].instructors).to.be.a('array')
                    },
                    {
                        param: `withSectionEnrollmentStatus=true&studentId=${exampleStudentId}`,
                        should: 'get student enrollment status',
                        test: (course) => {
                            expect(course.sections[0]).to.have.property('isEnrolled')
                            expect(course.sections[0]).to.have.property('isPending')
                        }
                    }
                ]
            }
        ]);
    });

    describe('PUT /api/courses/:id', function() {

        var updatedCourse;

        beforeEach(function(done) {
            auth.instructor.request(app)
            .put('/api/courses/' + newCourse._id)
            .send({
                name: 'Updated Course',
                description: 'This is the updated course!!!'
            })
            .expect(200)
            .expect('Content-Type', /json/)
            .end(function(err, res) {
                if (err) {
                    return done(err);
                }
                updatedCourse = res.body;
                done();
            });
        });

        it('should respond with the updated course', function() {
            expect(updatedCourse.name).to.equal('Updated Course');
            expect(updatedCourse.department).to.equal('TEST');
            expect(updatedCourse.description).to.equal('This is the updated course!!!');
        });

    });

    describe('DELETE /api/courses/:id', function() {

        it('should respond with 204 on successful removal', function(done) {
            auth.instructor.request(app)
            .delete('/api/courses/' + newCourse._id)
            .expect(204)
            .end(function(err, res) {
                if (err) {
                    return done(err);
                }
                done();
            });
        });

        it('should respond with 404 when course does not exist', function(done) {
            auth.instructor.request(app)
            .delete('/api/courses/' + newCourse._id)
            .expect(404)
            .end(function(err, res) {
                if (err) {
                    return done(err);
                }
                done();
            });
        });

    });

});

redpajama_set_name: RedPajamaGithub


During a Wednesday night game between the Calgary Flames and Nashville Predators, Calgary defenseman Dennis Wideman curiously checked linesman Don Henderson into the boards, prompting much debate and confusion.
While many have reasoned that Calgary Flames defenseman Dennis Wideman was woozy or blatantly confused, I'm having trouble buying the story that the hit he laid on linesman Don Henderson last night was unintentional.
First, he sped up as he approached the veteran linesman.
While many players may make a dash towards their bench in order to prevent a too many men on the ice penalty, Wideman was inching towards the bench before all-of-the-sudden barreling into Henderson.
Furthermore, Wideman fully extended his arms in a cross-checking motion as he skated past Henderson without checking on his condition.
"I took a pretty good hit down in the corner and had some pretty good pain in my shoulder and neck," Wideman said. "I was just trying to get off the ice and kind of keeled over. At the last second, I looked up and saw [Henderson] and couldn't avoid it. I went up to Donnie and apologized to him on the ice.


text:
House of Sand may refer to:

A House of Sand, a 1962 American film
The House of Sand, a 2005 Brazilian film
House of Sand, a 1986 novel by Barbara Rowan
"House of Sand", a song by Elvis Presley from Paradise, Hawaiian Style

See also
House of Sand and Fog (disambiguation)

redpajama_set_name: RedPajamaWikipedia


1st Class Moving Company of Memphis is a locally owned and operated moving company based in Memphis, Tennessee. We are licensed and insured and are committed to our customers. We have dedicated and reliable staff that have over 20 years of combined moving experience. We have provided high quality service to 1,200 families and busnesses in the Midsouth since 2006. We value our customers and work very hard to maintain our 100% satisfaction rating.
By sharing your experience with 1st Class Moving Company , it will help other customers to make a right choice of using this company.


text:
PewDiePie is no longer the most popular channel, this company from India is
PewDiePie recently lost its position as the most popular YouTube channel to this India company.
By : Sutanu Guha
Mar 18, 2019 19:32 IST
PewDiePie has been one of the most popular YouTube channels for the past many years but not anymore, as this Indian company has surpassed the controversial YouTuber.
The takeover was originally predicted in October but a sustained campaign from PewDiePie fans helped him retain his position and postponed T-Series takeover.
PewDiePie, whose real name is Felix Kjellberg, recently called Tesla and Space X CEO to host a popular segment on his channel called Meme review. The rise of T-Series has also been a controversial one as many have accused the video sharing platform of commercialising and losing the grounds as a platform for independent people to share their work there.
Critics have claimed that the YouTube is turning its back on independent creators to favour large corporations, who can generate more revenue.
T-series, PewDiePieYouTube
"I don't really care about T-Series, I genuinely don't, but I think if YouTube does shift in a way where it does feel more corporate, (then) something else will take its place," Mr Kjellberg said. "I think people enjoy this connection so much, I think something else will just show up if it feels too corporate."
Another expert, Denis Crushell, who is social video analytics with the firm Tubular labs recently told the Independent, " It's incredible to see how media companies like T-Series are flourishing in this space. Whilst YouTube continues to be a pivotal platform for influencers like PewDiePie, media companies have really doubled down on the platform this year."
He further reveals how T-Series and it's sister channel generate more than 4 billion views per month making it "YouTube's most viewed media company globally."
The growth of T-Series can be attributed to India's phenomenal rise in the number of internet users. Both PewDiePie and T-Series have more than 89 million subscribers.
This takeover comes just three days after a terrorist in New Zealand urged people to subscribe to PewDiePie's channel before entering a mosque and opening fire on people inside. At least 50 people died in the shooting.


In the words of a famous dialogue found in the "Laws" by Plato, "but if you ask what is the good of education in general, the answer is easy, that education makes good men, and good men act nobly." At ResponsiveEd schools, we also believe that the goal of education is to produce not only strong academics but also virtuous students who act nobly.
As many schools have increasingly recognized, individuals of character and virtue are essential for the flourishing of society. In the article "Character Education: As Important as Academics," the author addresses recent increases in the frequency of violence at schools and the role such disturbances plays in refocusing schools on teaching character.
Many schools have come to the conclusion that promoting character education results in a more safer and more positive school environment, deeply dedicated students with strong academic habits, a reduction in discipline problems and—ultimately—good citizens. Bullying, disrespect, cheating, tardiness, vandalism, profanity and drug abuse are less prevalent where good character is actively reinforced. Without the distractions of bad behavior, teachers and students are able to focus on developing the discipline and habits that foster learning.
ResponsiveEd's classical schools' focus on the Good, the True, and the Beautiful through a classical curriculum. The natural outcome of this curriculum is students who understand and appreciate virtue. Virtue is primarily taught at the schools through the great literature and history of the classical curriculum as well as through the example of great teachers.
With a strong history and literature curriculum that exposes students to great heroes and villains, great teachers can also guide questions of about big ideas that challenge students to strive for excellence in both academics and behavior. It naturally leads to questions such as: What is justice? What does it mean to be a good person when no one is looking?
In addition to a curriculum steeped in virtue, many of ResponsiveEd's classical schools have events and programs that reinforce virtue in thought as well as in action. ResponsiveEd sponsors a character program that emphasizes a different virtue in action each month. Several schools have launched a house system to encourages positive behavior. Founders Classical Academy of Lewisville most recent annual Bill of Rights Colloquium focused on the role character plays in safeguarding liberty.
Great teachers are instrumental to guiding all aspects of a child's development: intellectual, emotional, social and ethical. Great teachers understand the value of high character and cultivate a classroom environment in which it can prosper. If you're an educator or subject matter expert interested in sharing the rewards of virtuous behavior with students in a unique charter school setting, apply to be a ResponsiveEd teacher today.
Starting the year off right in mathematics is important because mathematical concepts build on each other. ResponsiveEd's academic team has some tips for starting off the school year so that students build a strong mathematics foundation.
Always have notes from class, a textbook or other resources right next to the homework. If your children get stuck, they are likely to find a similar problem in one of these resources that can help them move forward.
Ensure students takes responsibility for their own learning by finding assistance independently; the ability to access help on their own is essential for student success in all areas of academics.
Never give children the answers to problems. By giving away answers, you are depriving your children of the chance to develop the mental processes required to learn a new concept. No parent enjoys seeing their children struggle, but providing answers could set them up for frustration when they have to tackle more difficult problems and might even stunt their progress as classmates move to more advanced lessons. Furthermore, your children's teachers will not be able to address the misconceptions or areas of weakness that should be targeted in school if homework assignments do not reflect the students' level of understanding.
Encourage your children to underline or highlight key words or phrases in situational problems, as these often help students set up a solution.
Realize that your children may struggle with abstract concepts if their brains are not quite ready to reason at an abstract level. Your children's brains will mature in time, and success in math class is likely to accompany this development.
If your children are frustrated by mathematics, show them how to focus on concepts rather than procedural knowledge. This might help some students approach and solve problems in a different way—one that makes more sense to them. For instance, ask your children to explain one problem in their assignment each night. If possible, choose one that incorporates both words and computation. If your children are simply reciting step-by-step instructions, encourage them to elaborate by asking questions focusing on the "why" of the problem.
Starting the school year off on the right foot helps the rest of the school year to go smoothly. ResponsiveEd's foreign language and English language arts reading academic teams have compiled some suggestions for students and parents to help them stay on track this school year.
Come to school every day. Missing classes can leave gaps in a student's knowledge base that will make it difficult to build on prior knowledge.
Be on time for every class. One of the simplest ways to prevent knowledge gaps is to avoid missing out on important information.
Establish a routine. School can be stressful, but having a familiar routine helps students combat that stress.
Make reading part of the family routine. Practice is important for learning. One way to have fun while reading is to have your children read aloud as someone prepares dinner.
Make sure to read the syllabus and/or class rules very carefully. It is important, especially for the high school grade levels, to stay on track with assignments. Completing assignments as directed is one of the best ways to avoid missing out on easy grade points.
Surround your child with books. Put books in the car and in every room of the house. The number of books in a home often indicates the reading levels a student will attain.
Ask the teacher if you don't understand something. A student doesn't have to give up on learning because they feel defeated.
Communicate with your child's teachers. The school year is a busy time for families and teachers, but the best way to avoid miscommunication is to establish effective communication channels with your teachers.
Complete all assignments that you are given. It doesn't have to be perfect, but it needs to be done completely. The purpose of assignments is to help you learn and to help your teachers know areas where they can help you improve.
hen it comes to jobs in the Arts, A/V Technology and Communications career cluster, a range of diverse jobs exist. Many positions and salaries depend on work experiences more than education levels. Several Premier High Schools, located in areas where there is a high demand for workers in Arts, A/V Technology, and Communications offer a CTE pathway in Arts, A/V Technology, and Communications. If you are interested in a job in this sector, getting the advanced experience through a CTE program can help you get ahead in pursuing the career of your choice. For information about more Arts, A/V Technology and Communications jobs, follow this link.
Job Description: Administer libraries and perform related library services. Work in a variety of settings, including public libraries, schools, colleges and universities, museums, corporations, government agencies, law firms, nonprofit organizations, and health-care providers. Tasks may include selecting, acquiring, cataloging, classifying, circulating, and maintaining library materials; furnishing reference, bibliographical, and readers' advisory services; and performing in-depth, strategic research.
Education: Master's degree. The majority of employees have a four year degree or better.
Job Description: Set up, operate, and maintain the electronic equipment used to transmit radio and television programs. Control audio equipment to regulate volume level and quality of sound during radio and television broadcasts. Operate radio transmitter to broadcast radio and television programs.
Education: Associate's degree. The majority of employees have some college.
Job Description: Speak or read from scripted materials, such as news reports or commercial messages, on radio or television. May announce artist or title of performance, identify station, or interview guests.
Education: Long-term on-the-job-training. The majority of employees have a four-year college degree or better.
Job Description: Photograph persons, subjects, merchandise, or other commercial products. May develop negatives and produce finished prints.
Education: Long-term on-the-job training. Most employees have a four-year college degree or better.
Job Description: Conduct research into fundamental computer and information science as a theorist, designer, or inventor. Solve or develop solutions to problems in the field of computer hardware or software.
Education: Bachelor's degree. Most employees have a four-year college degree or better.
Getting ready for the school year can seem like a feat to tackle, but ResponsiveEd's science academic team believes that, with five simple goals, parents will be sure to help their children feel more equipped to conquer the academic year. The following information highlights simple tips for parents to include at home that promote scientific growth and nurturing.
Nutritious, well-balanced meals can help the mind flourish as well as stimulate a healthy lifestyle for growing students. Encourage your child to eat a variety of colorful vegetables and fruits, lean proteins, whole grains, and to stay hydrated throughout the day while limiting their sugar intake when selecting meals and snacks. Also, try to include your child in making meals for themselves and the family in order to promote healthy choices. For younger children, try making balanced meals into a game at the dinner table (see Play with Food: A Game Teaches Healthy Diets). Who says you shouldn't play with your food?
Having the right amount of sleep can make a child's mind more receptive to learning and participating in class as well as impact their emotional and physical health. Summer vacation may have altered your family's typical sleeping pattern. To gain back control from the summer and shift sleep cycles for the school year, start gradually having your child go to sleep 15 minutes earlier every night until they get to the appropriate bed time in which they will get eight to nine hours of quality sleep (the amount typically recommended). In addition, limit the usage of electronics and screen time before bedtime. At least 60 minutes prior to bed, have children powerdown their devices so that they can power themselves down for the night and have more productive days.
Encouraging your child to question and to explore will foster success in science. Lead enthusiastic conversations with your child at home about what they observe outside and what they see occurring at home. Children should explore the world around them and bring what they learn in science to life. Prompting your child to ask questions will help build confidence in class as well as develop skills on how to formulate questions and solve problems.
While having your child explore their own curiosities of the world, suggest to your child to create an observation journal for home. Recommend that learning is continuous and have your child make discoveries to share with the family while outside of school to develop lifelong learners as well as advance writing and reflective skills.
Discuss one of this year's amazing scientific events, the 2017 Solar Eclipse or landfall of Hurricane Harvey, with your child. Click on this link to see a calendar of upcoming astronomy events for this school year or click on this link to visit The Weather Channel online . Having your child incorporate scientific news into family conversations will help develop passion and build connections on concepts taught in class.


Some latest research has found that acupuncture treatments are successful in treating many medical conditions. Yes, there are many acupuncture treatments available and they give a good result for various health issues. This is basically a Chinese medical treatment which has been in practice for 2000 years. It is now used in mainstream medicine to complete treatment for the patients suffering from more than 40 kinds of medical conditions. There are many benefits enjoyed by the patients all around the globe. The two main benefits of taking acupuncture treatments are pain relief and treatment of different medical conditions. Yes, most of the people take acupuncture treatments for getting relief from various pains they get in their body. It is used as the best treatment for chronic pain that is associated with different injuries and medical disorders. If you are in need of taking the acupuncture treatments then you need to find the reliable acupuncture clinic. Today, there are so many acupuncture clinics available and you can choose the best one on the internet. One of the reliable acupuncture clinics is Hackensack Acupuncture & Herbs. This is one of the leading acupuncture clinics that offers different acupuncture therapies and as well as constitutional treatment. To know more about acupuncture nj then access the source through online.
The source offers different acupuncture services to the people from all around the globe. Yes, many people are taking acupuncture treatment from this source which helps them get relief from body pains and some other medical conditions. The source is the leader in offering the Japanese, Korean, and Chinese acupuncture. Let us see the different acupuncture nj treatments in detail.
Korean acupuncture: Korean acupuncture is a kind of acupuncture that mixes the techniques from the Chinese acupuncture, five-element acupuncture, and Japanese acupuncture.
Japanese acupuncture: In Japanese acupuncture treatment, the physician uses to touch to identify ailments and shallowly inserts the acupuncture needles at the correct point.
Chinese acupuncture: This is the oldest form of acupuncture treatment which is in practice for more than 2000 years. In this form of acupuncture treatment, the physician will insert the acupuncture needles in accurate points to remove imbalances and blockages in the body's energy flow.
Constitutional acupuncture: This is introduced by Dr. DowonKuon in the year 1965. This form of acupuncture treatment presents people with a different way to look at how they may reverse chronic ailments and improve the overall health condition.
These are the different acupuncture treatments given by the Hackensack Acupuncture & Herbs source. This will help people treat different medical conditions and also help them get relief from various body pains. For more info access the source through online.


Fruit tree catalogs make it easy and convenient to start a home orchard. Whether you're looking for dwarf apple trees or standard sized pear trees, fruit tree catalogs open up a wide world of choices to the backyard gardener.
Fruit tree catalogs tantalize with their glossy photos. However, it's important to understand the symbols and text to ensure wise choices.
One of the most important things to understand within the text of each entry in the catalog is the size or height of the variety. Fruit trees typically come in dwarf, semi-dwarf and standard varieties.
Dwarf trees are usually no more than 10 feet tall. These are often recommended for home gardens because they're easier to tend. You can easily reach the fruit for harvest or pruning, spray the limbs, or prop up branches when they become too heavy with fruit.
Semi-dwarf trees fall somewhere in between dwarf sizes and standard sizes. They may range from eight to twenty feet tall, depending on the variety.
Standard sized trees can grow as high as 30 to 40 feet. These are the same size trees as commercial orchards grow and they bear a lot of fruit. While majestic in the landscape, they're often too big for backyard gardeners to tend to.
The average home gardeners chooses dwarf trees. The fruit is just as tasty as from the other size trees, and they can be cared for easily by even a novice gardener. If space is an issue, as it is for most people, dwarf trees also provide greater variety with less need for space.
Another important thing to note in the description for each tree in the catalog is whether or not the trees are self-pollinating or need a pollinator.
Trees bear fruit after insects, butterflies or wind pollinates, or fertilizes, the flower. The insect carries grains of pollen from one flower to another. The pollen then fertilizes the flower, which in turn develops into fruit.
Some trees need the pollen of another species in order to set fruit. Apple trees are one of the types of fruit trees that often need a pollinating species. A good fruit tree catalog will specify which varieties pollinate which varieties. If a variety is specified, you actually need two trees, one from each variety, in order to get fruit. You will get fruit from both trees, but if you plant only one and there is no other pollinating tree in the vicinity, you will get blossoms but no fruit.
One other important thing to note about trees that need a pollinating variety is that they often have specific requirements for how close they need to be planted to their pollinator. A good catalog will tell you this information, or you can find it in a basic home orchard gardening book or from your state cooperative extension office.
Your gardening zone determines which trees can be planted and when to plant them. Some types of fruit trees like certain zones better than others. McIntosh apples, for example, need the colder winter months of zones 4 through 6. They will not set fruit or will set it poorly in the warmer zones of 7 and above. Peach trees, however, love it warm, and fare well in zones 7, 8 and 9. You can often find special hybrids of various fruit trees that have been bred to thrive in your gardening zone. Even if you can't grow McIntosh apple trees in North Carolina, you can grow many other tasty varieties for eating or cooking.
Below is a selection of great fruit tree catalogs that list everything from apple to paw-paw. Visit the website to request a catalog. Most companies enable you to buy online too.
The Arbor Day Society is a non profit organization dedicated to encouraging people to plant trees. They sell fruit trees and all profits go back into the society. The trees are small and some are like sticks when they arrive. They are inexpensive. Because of the size, they will take time to become established, but these smaller trees will be just as productive once they take root and grow. If you don't mind the wait, you can buy a lot of trees for a little bit of money, and the money goes to a great cause.
Stark Brothers is a favorite for city-dwellers because they offer miniature fruit trees as well as dwarf, semi-dwarf and standard sized trees. Miniature fruit trees can be grown in pots on balconies and decks. While they yield only a few pieces of fruit, they can be very fun especially for those living in apartments.
Johnson Nursery offers everything from nut and fruit trees to ornamental shrubs. They cannot ship to California, Oregon and Washington due to state regulations but they will ship to the remaining states.
Whether you want just one tree for a fun backyard gardening project or a whole orchard, ordering from catalogs brings the world of fruit trees right to your doorstep.


Buoy oh buoy do I love a cruise, but not just any cruise- a VIP dream!
Captain Cook Cruises, Western Australia jumped on board (pun intended) the Home Roaming Project, showing me what they do best- Cruising the Swan River and offering premium service with their Perth Famous Wine Cruise. A day of luxury, wine tastings and gourmet meals- this is a must do cruise to experience the Swan Valley and surrounds from a different perspective- the water!
Heading off from the famous Barrack Street Jetty in Perth's center, the cruise takes you on a stunning path through mangroves, bays and million dollar foreshore mansions to the beautiful Swan Valley. The journey is all about sitting back and relaxing- so if you want to party this is not for you! With morning tea served on board, unlimited tea & coffee and of course- Perth's famous wines!
After a long morning on board, we docked at Sandalford Winery– one of Perth's (and the world's) most prestigious wineries. Sandalford is a favourite of mine- after first being introduced to their wonderful staff earlier this month, I was happily reunited with my main man Wayno and the lovely guide, Tania, two staff members with some of the best customer service I have ever had the pleasure to experience. It is people like them that make any tour memorable, so I must thank them for their hospitality! Taking a walking tour of the winery, including all of the manufacturing processes, you really get a great insight on the wine industry and appreciation of the art.
We then headed into the main dining room for our 6 flight tasting of their wines (which leaves you a little tipsy!) and a delicious two course meal- seriously this is divine- you feel a little like a celebrity by the end of it, all that behind the scenes VIP treatment!
After lunch, we made our way back on board and were able to take in the warm sun on the deck, enjoy more coffee and cake and relive the beautiful scenery as we headed back to the city. To my surprise- the crew even provided live entertainment- with the beautiful Laura singing some classic hits and getting the whole boat involved- my version of 'hit the road jack' was a big hit (haha).
So who would like this tour? I feel this is more for the older, appreciative tourist- somebody who wants to take a day to relax, enjoy the scenery and eat some very good food and wine. Being the youngest on board, I definitely think that the older generations are targeted for this one, but it is perfect for any age- as long a you understand it isn't about getting drunk- it is about appreciating all that Perth and the Valley has to offer! A really beautiful day out and worth every cent!


text:
package cobar.client.demo.router;

public interface IFunction2<I, O> {
	 O apply(I input);
}


text:
Gentle Monster Sues Malik Yusef for Allegedly Scamming Eyewear Brand
A Korean-based fashion brand widely known for its eyewear — Gentle Monster has sued Kanye West's collaborator Malik Yusef for allegedly forging Ye's signature on contracts in addition to faking invoices and making an enormous amount of money in the process. This year in February, the South Korean eyewear brand, Gentle Monster had promoted and released a video known as "13 Music" that supposedly featured a track written and produced by Yusef and Kanye West. Post its release, Kim Kardashian had tweeted that, "Kanye is not involved and didn't produce this song." Furthermore, Gentle Monster had taken down "13 Music" and all the promotions associated with it.
In the lawsuit filed in the Los Angeles Country Superior Court against Malik Yusef and others, Gentle Monster has asserted that Yusef had taken an undue advantage of his seemingly close relationship with Kanye West to swindle Gentle Monster into believing that he could bring some of the world's most famous and reputed artists together to compose and produce a number of videos which could easily increase Gentle Monster's brand name and recognition globally. As per the report, Yusef had successfully arranged a meeting between Kanye West and Won Lee, who is the CEO of Gentle Monster US, in Jackson Hole, Wyoming. After the meeting, the suit claims that Yusef had given Won Lee a notarized Universal Music Publishing Group song agreement which authorized the release of a new track entitled "New Angels" for Gentle Monster's campaign. The agreement came into sight along with West's forged signature and a copy of his driver's license which according to the lawyers of Gentle Monster was procured by Yusef without Kanye's consent.
Gentle Monster has reportedly admitted that out of $2.5 million, it had sent $500,000 to a social agency which Gentle Monster had considered as Kanye's West charity.
In a nutshell, Gentle Monster is now suing Malik Yusef along with his manager and business partner Burundi Partlow, and Sonja Nutall, who had introduced Won Lee to Yusef, on claims of fraud, breach of contract, and many more. The eyewear brand is also seeking damages of a sum to be determined at trial. For More Visit: https://www.trademarkmaldives.com/
Intellectual Property ,intellectual property attorney ,intellectual property law ,intellectual property law firm ,intellectual property lawyer ,intellectual property protection ,Intellectual Property Rights ,intellectual rights ,ip attorney ,ip law ,ip lawyer ,ip litigation ,ip protection ,ip rights ,trademark attorney ,trademark infringement ,trademark law ,trademark law firm ,Trademark Protection ,trademark registration ,Trademark Search


New essays on the philosophy of Ned Block, with substantive and wide-ranging responses by Block.
Perhaps more than any other philosopher of mind, Ned Block synthesizes philosophical and scientific approaches to the mind; he is unique in moving back and forth across this divide, doing so with creativity and intensity. Over the course of his career, Block has made groundbreaking contributions to our understanding of intelligence, representation, and consciousness. Blockheads! (the title refers to Block's imaginary counterexample to the Turing test—and to the Block-enthusiast contributors) offers eighteen new essays on Block's work along with substantive and wide-ranging replies by Block. The essays and responses not only address Block's past contributions but are rich with new ideas and argument. They importantly clarify many key elements of Block's work, including his pessimism concerning such thought experiments as Commander Data and the Nation of China; his more general pessimism about intuitions and introspection in the philosophy of mind; the empirical case for an antifunctionalist, biological theory of phenomenal consciousness; the fading qualia problem for a biological theory; the link between phenomenal consciousness and representation (especially spatial representation); and the reducibility of phenomenal representation. Many of the contributors to Blockheads! are prominent philosophers themselves, including Tyler Burge, David Chalmers, Frank Jackson, and Hilary Putnam.
35 Can Representationism Explain How Attention Affects Appearances?
Adam Pautz is Professor of Philosophy at Brown University.
Daniel Stoljar is Professor of Philosophy at Australian National University.
Tyler Burge is Distinguished Professor in the Department of Philosophy at the University of California, Los Angeles.
William G. Lycan is Professor of Philosophy at the University of North Carolina, Chapel Hill.
Hilary Putnam was Walter Beverly Pearson Professor of Mathematical Logic at Harvard University.
Michael Tye is Professor of Philosophy at the University of Texas at Austin. He is the author of Ten Problems of Consciousness (1995), Consciousness, Color, and Content (2000), and Consciousness and Persons (2003), all published by the MIT Press.


The sunglasses range encapsulates the uplifting, and empowering female energy of our pop idols Kylie, Madonna, and Cher. The collection is dynamic, and emanates a fun personality through the usage of neon frames and mirrored lenses.
Black handmade acetate frame and arms, gold rivet detailing, hinge & printing. Solid CR39 lenses. Category 3 protection.


text:
Q: Pivot Unknown Number Of Column Values I am trying to create an automated data dictionary.  I joined all tables' table fields' table and lookup table to get Lookup values (drop down values of fields) as...
+-----------+----------------+---------------+
| TableName | Field Name     | Lookup values |
+-----------+----------------+---------------+
| Pathology | Medical Report | Avaliable     |
| Pathology | Medical Report | Not Avaliable |
| Pathology | Medical Report | Pending       |
+-----------+----------------+---------------+

There are about 200+ tables (TableName) and 5000+ columns (Field Name).

Required result
+-----------+----------------+
| TableName | Medical Report |
+-----------+----------------+
| Pathology | Avaliable      |
| Pathology | Not Avaliable  |
| Pathology | Pending        |
+-----------+----------------+

So far I have tried the PIVOT function in SQL, but without success as aggregate function can't be applied because no identity column is present.
Extract of my code
SELECT TableName,
       Field1,
       Field2,
       ...,
       Field2000+ (this not possible as there are so many columns)
FROM ( result set
     )
PIVOT
(
    aggregated function doesn't apply as no identity column is present
    FOR ( FieldName ) IN ( Field1,
                           Field2,
                           ...,
                           Field2000+ (this not possible as there are so many columns)
                         )
) AS pivotTable

I do not know exactly how to achieve the required result set.
Can someone please help?

A: I guess you need something like this:
IF OBJECT_ID('tempdb..#DataSource') IS NOT NULL
BEGIN;
    DROP TABLE #DataSource;
END;

CREATE TABLE #DataSource
(
    [TableName] SYSNAME
   ,[FieldName] NVARCHAR(64)
   ,[LookupValues] NVARCHAR(64)
);

INSERT INTO #DataSource ([TableName], [FieldName], [LookupValues])
VALUES ('Pathology', 'Medical Report', 'Avaliable')
      ,('Pathology', 'Medical Report', 'Not Avaliable')
      ,('Pathology', 'Medical Report', 'Pending')
      ,('Pathology', 'Laboratory Report', 'Avaliable')
      ,('Pathology', 'Laboratory Report', 'Not Avaliable')
      ,('Pathology', 'Laboratory Report', 'Pending')
      ,('Pathology', 'Laboratory Report', 'Declined')
      ,('Pathology', 'Laboratory Report', 'Private')
      ,('Pathology', 'Laboratory Report', 'Rejected')
      ,('Oncology', 'Laboratory Report', 'Avaliable')
      ,('Oncology', 'Laboratory Report', 'Not Avaliable')
      ,('Oncology', 'Laboratory Report', 'Pending')
      ,('Morgue', 'Death Report', 'Type 1')
      ,('Morgue', 'Death Report', 'Type 2')
      ,('Morgue', 'Death Report', 'Type 3')
      ,('Morgue', 'Death Report', 'Type 4');

DECLARE @DynamicSQLStatement NVARCHAR(MAX)
       ,@PIVOTcolumns NVARCHAR(MAX);

SELECT @PIVOTcolumns = STUFF
(
    (
        SELECT DISTINCT ',[' + [FieldName] + ']'
        FROM #DataSource
        FOR XML PATH(''), TYPE
    ).value('.', 'nvarchar(max)')
    ,1
    ,1
    ,''
);

SET @DynamicSQLStatement = N'
SELECT *
FROM
(
    SELECT *
          ,ROW_NUMBER() OVER (PARTITION BY [TableName], [FieldName] ORDER BY [LookupValues]) AS [RowID]
    FROM #DataSource
) DS
PIVOT
(
    MAX([LookupValues]) FOR [FieldName] IN (' + @PIVOTcolumns + ')
) PVT
ORDER BY [TableName];'

EXEC sp_executesql @DynamicSQLStatement;

Of course, with your sample data, the result will be:

I am sure you can use the code to solve your issue. There is nothing complicated - you need only to build a string with the values on which PIVOT is performed.


Alright, let's be honest. You would be hard pressed to find a more iconic opening credits sequence than this one.
"Easy Rider" is a counter-culture anthem. It's the story of Billy (Dennis Hopper) and Captain America (Peter Fonda) as they take the cash from a cocaine deal and travel via motorcycle from Los Angeles to New Orleans. Along the way they meet other characters in various stages of cultural opposition, including the incredibly entertaining George Hanson (Jack Nicholson).
I have seen "Easy Rider" many times and at varying levels of cultural or societal cynicism. What I found striking this time through is how even tempered the film is. There is little to no anger with the invisible dominant culture that surrounds the characters. In fact, Billy's anxiousness in the commune hints at his similarities to a normal working stiff. He's got appointments he's got to keep, and lacks Captain America's ability to just absorb and admire those around him. Still both characters have a largely live-and-let-live attitude.
If this film were made today, there could be a tendency for Billy and Captain America to become "cooler than you." Peter Fonda's performance doesn't allow the character to become threatening or too hip. Though Captain America and his outfit are too cool for words, all you have to do is watch this scene and you will see how disarming and approachable a character he is.
Fonda gives Captain America a reverence for those around him. Even this farmer, who is very different in form than Billy or Captain America, becomes a kindred spirit, a person who is doing his own thing.
Because Billy and Captain America are immersed in their own physical and spiritual journey, it takes an outsider, who can be critical and straddle culture and counterculture, to underline why these two travelers are such a threat to the world around them. George, the small-town alcoholic lawyer, enters and is able to speak both languages. He joins the Captain and Billy on their journey, but is still able to see why the small town Louisiana locals fear them.
Because our main characters cut across the grain of all that is around them, the film's conclusion seems inevitable. We as viewers know that the world in which these characters exist is inhospitable to them. Still, there is hope that stems from Captain America's own awareness. Though in the Captain's own words, he and Billy "blew it," we all are made aware of how things might have been different.
I also saw this movie many times, in many settings. My favourite viewing was in senior year of high school for a class called 20th cent. history in music and film. The ending always makes me so sad.
Requiescat in Pacem, Dennis Hopper: A great Kansan and a great American.


This section follows "Encryption" in the "Overview and Concepts" section.
The user's password is used to derive two 192-bit keys (the "L" and "R" keys) via PBKDF2-SHA512, with hard-coded parameters for repeatable output.
The L-key is used to log in to the Authentication Role server in place of the real password; the server stores only a bcrypt(sha512) hash of this L-key.
The R-key never leaves the client, and is used to encrypt secret keys stored within the user's profile on the server.
This means that one password can be used for all client-side account operations, while preventing servers from uncovering client-only secrets.
When Comet sets up a Storage Vault for the first time, it generates two high-entropy random keys (the 256-bit "A" and 128-bit "E" keys). All user data in the Storage Vault is stored encrypted with the A-key using AES-256 in CTR mode, and authenticated using Poly1305 in AEAD (encrypt-then-MAC) mode.
The permanent A-key is stored inside the Storage Vault, encrypted with the E-key. The E-key is then encrypted with the R-key and stored in the user's profile on the Authentication Role server. When a backup is performed, the client uses its password to derive the private R-key, to decrypt the E-key from the vault, to decrypt the A-key for data storage. This extra level of indirection enables some key rotation scenarios, as a new E-key can be generated without needing to re-encrypt all the data in the Storage Vault.
If the Storage Vault is for a Storage Role bucket, a high-entropy random 128-bit PSK is used to gate access to the bucket. The Storage Role server stores only a bcrypt(sha512) hash of this PSK. The client encrypts this PSK with the R-key and stores it in the user's profile on the Authentication Role server.
This section follows "Backward Compatibility" in the "Overview and Concepts" section.
Comet Backup supports importing settings from certain other third-party backup products.
In all cases, only user configuration settings are read from the other product.
Existing backed-up data is not converted to Comet's format; you must back up the data again using Comet.
Historical logs are not imported.
Ahsay, OBM, and ACB are trademarks of Ahsay Systems Corporation Limited.
Ahsay backupsets are imported as Comet Protected Items.
Macro selections (desktop, documents etc) are not supported.
Inclusion/exclusion filters are not supported.
The "All instances" option is not supported. Your Ahsay backupset must have selected specific instances for backup.
Other backupset types are not supported.
Pre/post commands are imported as applying to the Protected Item, not to the Storage Vault nor the Schedule.
Basic retention policies (DAYS/JOBS -type) are supported.
Advanced retention policies will be treated as "keep forever".
Daily, Weekly and Custom schedules are supported.
Monthly schedules for a specific day of the month are supported.
Monthly schedules for a variant day of the month (e.g. Second Tuesday, Last Weekday) are not supported.
"Local Copy" will be imported as a new or existing Local Path Storage Vault in Comet.
The "Skip Offsite Backup" option is correctly imported.
CrashPlan and Code42 are trademarks of Code42 Software, Inc.
CrashPlan backupsets are imported as Comet Protected Items.
Regular expression exclusions are supported.
Comet uses a minimum retention period based on the schedule window.
CrashPlan retention for the last week will be interpreted as multiple daily policies for periods shorter than 24 hours.
CrashPlan retention for the last week will be interpreted as single or multiple weekly policies for periods greater than 24 hours, depending on the configured value.
Retention for larger time periods will be configured as single or multiple daily, weekly or monthly rules dependent on the configured value, populated out for periods of a week, three months, a year, and indefinitely.
Weekly retention policies are treated as one backup per week, on the first day of the week, for the specified number of weeks.
Monthly retention policies are treated as one backup per month, on the first day of the month, for the specified number of months.
Indefinite retention policies are implemented as one backup per month, on the first day of the month, for over a million years.
CrashPlan allows a number of very small schedule windows, down to a minute. For the sake of performance, Comet enforces a minimum schedule window of 30 minutes for imported schedules.
Comet will generate a schedule rule for each time that a CrashPlan backup would have run in its specified window(s).
The "Skip if already running" option is automatically enabled for imported schedules, to prevent overlapping backup with small schedule windows.
If any local destinations are configured for CrashPlan, Comet will automatically import these using the same location on disk, backing up to a subdirectory within the specified path.
The folder containing Comet's local vault data will be labelled with a unique ID. If it is necessary to identify which folder belongs to Comet, we recommend checking the modify date for the folder. The Comet data folder can also be distinguished by the format of the unique ID - CrashPlan uses a numerical ID for its folder, while Comet uses a hyphenated GUID with a mixture of numbers and letters.
Future versions of Comet Backup will support importing configuration from other products.
It is possible to migrate user data to balance your storage requirements.
You can migrate user data in different ways.
Use rsync/robocopy/rclone/... to synchronize the current drive contents to the new drive.
If multiple volumes are Spanned together in the same Storage Role Comet Server, then you can move files freely. Comet Server will instantly recognize the changes, because it looks in all attached volumes when looking for a chunk.
Newly uploaded data will be written in a balanced way to both volumes.
You can move data between the two volumes on-the-fly while Comet is running. You can even move data for an in-use Storage Vault. This is a safe operation.
You should first ensure that this user is not running any backup jobs to the original server.
You must take care to preserve the Encryption Key settings. The key absolutely must not change.
You should first ensure that this user is not running any restore jobs from the original server.
All Storage Vault types (e.g. Comet Server, Local Copy, SFTP, Amazon S3 etc) use the same on-disk layout. It is possible to follow the above steps for "Migrating user data to a different Comet Server" even when either the old- or new- targets are not a Comet Server.
For more information, please see the Seed Load section.
It is possible to run a load balancer or a frontend proxy software in front of Comet Server. All Comet Server communication is performed over HTTP / HTTPS / Websockets, so applications such as nginx, Apache, HAProxy, Traefik or Caddy are all suitable for this purpose.
Apache requires the mod_proxy_wstunnel module to proxy Websocket traffic.
HAProxy introduces additional network timeouts that may prevent live-connection websockets from staying online. Because an HTTPS handshake involves multiple network roundtrips, accidental disconnections may decrease performance. You can adjust HAProxy timeouts to prevent disconnecting long-running connections.
This feature requires Comet 17.11.x or later.
Comet Backup can be used behind an HTTP or SOCKS proxy.
Proxy settings are controlled by environment variables named HTTP_PROXY and HTTPS_PROXY (case insensitive).
Multiple programs use this configuration method, so the environment variable may already be present for other software on the machine.
On Windows, the environment variable should be set in the "System variables" section to ensure that any settings also apply to background services.
On Linux, environment variables can be set system-wide (e.g. in /etc/environment or /etc/profile.d/my-custom-proxy.sh), or for the root user running Comet Backup (e.g. in /root/.profile), or in your startup script for Comet Backup (e.g. in /etc/rc.local).
The HTTP_PROXY environment variable should be set to a string of the form https://username:password@my.proxy.host.com/ or http://my.proxy.host.com/ or socks5://username:password@my.proxy.host.com/. This matches the normal format on Linux; however some Windows applications write this variable without the protocol. Please ensure that the protocol is present.
Your proxy software must support websockets in order for Comet's live-connection functionality to work correctly.
A future version of Comet will provide GUI settings to configure the network proxy.
The tls: oversized record recieved error may occur when making an HTTP proxy connection to an HTTPS proxy server (or possibly vice-versa). Please double-check the environment variable and the proxy server URL.
Comet Backup logs all job messages to the Windows Event Log. The log content is identical to the job log content seen in the Comet Server log browser, or the Comet Backup history table, or the Comet Server API. This should allow you to check for errors and/or ensure that jobs are running on time, by monitoring the Windows Event Log.
However, please note that this only covers client-side jobs, that do actually run. e.g. because "Missed Backup" job entries are generated server-side, they won't appear in the client's event log. It is not feasible to use the Windows Event Log as a complete monitoring solution for your customer base.
The Comet Backup installer also logs some events, that can be used as a proxy for detecting software installation or upgrades.
When a command-line program displays some output, the output is either sent to stdout ("fd 1", for normal messages) or stderr ("fd 2", for error messages).
Comet will mark a Before/After command as a warning if there was content on stderr, or, if the command had a non-zero exit code.
The above information is not Comet-specific; more information about 2>&1 and stdout redirection can be found online, e.g. https://support.microsoft.com/en-nz/help/110930/redirecting-error-messages-from-command-prompt-stderr-stdout .
Referential integrity means that for each snapshot, all its matching chunks exist; that all the chunks are indexed; and so on. This is verified client-side every time the app runs a retention pass, so you should ensure that retention passes run successfully from time-to-time.
Data file integrity ensures that each file in the Storage Vault is readable and has not been corrupted at rest (e.g. hash mismatch / decrypt errors).
Comet stores files inside the Storage Vault data location as opaque, encrypted, compressed files. The filenames are the SHA256 hash of the file content. Comet automatically verifies file integrity client-side, every time a file is accessed during backup and restore operations (i.e. non-exhaustively) by calculating the SHA256 hash of the content and comparing it to the filename.
Corruption of files at rest is a rare scenario; it's unlikely you need to worry about this, unless you are using local storage and you believe your disk drives are failing. However, for additional peace-of-mind, you can verify the integrity of the files on disk at any time, by comparing the filename to their SHA256 hash.
A future version of Comet will add built-in functionality to verify file integrity in this way.
The following equivalent commands read all files in the current directory, take the SHA256 hash, and compare it to the filename.
These commands exclude the config file, as these are known to be safe for other reasons.
These commands do not exclude any other temporary files (e.g. /tmp/ subdirectory, or ~-named files) that may be used by some storage location types for temporary uploaded data. Such temporary files will almost certainly cause a hash mismatch, but do not interfere with normal backup or restore operations.
Taking hash values of files in this way requires fully reading the file from the storage location. If the storage location is on cloud storage, this is equivalent to fully downloading the entire contents of the storage location. This may result in significant network traffic. In this case, we recommend relying on Comet's normal verification that happens automatically during backup- and restore- operations.
It is possible that a malfunctioning Comet Backup client would generate bad data, and then save it into the Storage Vault with a valid hash and valid encryption. For instance, this could happen in some rare situations where the Comet Backup client is installed on a PC with malfunctioning RAM.
In this situation, Comet would try to run a future backup/restore job, load data from the vault, but fail to parse it with a couldn't load tree [...] hash mismatch error message or a Load(<index/...>): Decode [...] invalid character \x00 error message.
In this situation, it is possible to recover the Storage Vault by removing all the corrupted data. The remaining data is restoreable. However, it's not possible to identify the corrupted data using the data validation commands above.
Different methods are availble to identify the corrupted files.
This feature is available in Comet 18.8.2 or later, via the Comet Server web interface live connected device actions dialog when the "Advanced options" setting is enabled. It is not exposed to the client in the Comet Backup app.
This will cause the client to download parts of the Storage Vault and perform a deeper type of hash checking than is possible via the existing data validation steps. It should alert you to which data files are corrupt, and the Storage Vault can then be repaired following the existing documented steps.
In Comet 18.8.2, this feature downloads almost the entire content of the Storage Vault. This is a highly bandwidth-intensive operation. If you have the customer's password on file, it may be preferable to log in as a new device into their account from your own office, and control that device to run the command instead.
In Comet 18.8.3 and later, the "deep verify" feature is much faster than 18.8.2; it downloads only index/tree parts of the Storage Vault, and caches temporary files to reduce total network roundtrips.
Comet 18.8.2 updated the couldn't load tree error message to also indicate the exact corrupted pack file, if possible.
You can then delete the file from the /data/ subdirectory, and run a retention pass to validate the remaining content, as described below. This may assist with repairing the Storage Vault.
However, this only detects the corrupted directory trees that were immediately referenced by a running backup job; other past and future backup jobs may still be unrestorable.
The index files contain only non-essential metadata to accelerate performance. Index files can be safely regenerated via the "Rebuild indexes" option on a Storage Vault. This is a relatively fast operation.
Compared to the "Deep verify Vault contents" feature, repairing single files in this way does avoid the immediate bandwidth-intensive step of downloading the entire vault content; however, it is not a guarantee that all data in the Vault is safe. Use of this method should be coupled with a (bandwidth-equivalent) complete test restore.
New backup jobs only add additional files into the Storage Vault. Another possible way to repair the Storage Vault is to assume files in the Storage Vault are affected after a given point in time.
The other alternative is to start a new Storage Vault.
If you encounter a hash mismatch error, a data file has been corrupted inside the Storage Vault. Data has been lost.
If the issue only occurred recently, it's highly likely that most backed-up data is safe, and that only recent backup jobs are affected.
Some data has been lost, but by carefully removing the corrupted data and everything that references it, the remaining backup snapshots will all be restorable. Future backup jobs should be safe.
A future version of Comet Backup may add a feature to automatically perform the above repair steps.
Please take care to ensure that files do not go missing from the Storage Vault. The loss of any file within the Storage Vault compromises the integrity of your backup data. You are likely to be in a data-loss situation.
If there are missing files from the snapshots subdirectory, Comet will not know that there is a backup snapshot available to be restored. There is no solution for this, other than ensuring all the files are present. This is unfortunate, but should only have a limited impact.
If there are missing files from the packindex subdirectory, some operations will be slower until Comet runs an optimization pass during the next retention pass. This is not a significant problem.
If there are missing files from the locks subdirectory, Comet may perform a dangerous operation, such as deleting in-use data during a retention pass. This is potentially a significant problem.
If there are missing files from the index subdirectory, Comet will re-upload some data that it could have otherwise deduplicated. This is unfortunate, but should only have a limited impact. Excess data will be cleaned up by a future retention pass.
If there are missing files from the keys subdirectory, Comet will be entirely unable to access the Storage Vault. There is no solution for this, other than ensuring all the files are present. This could be a significant problem. However, because the files in this directory do not change often, it's very likely that their replication is up-to-date.
If there are missing files from the data subdirectory, Comet will be unable to restore some data. When a retention pass next runs, Comet should detect this problem, and alert you to which backup snapshots are unrecoverable. You can then delete the corresponding files from the snapshots subdirectory and continue on with what is left of the Storage Vault.
It is possible to "split" a Storage Vault, by first cloning it and then deleting some jobs from each one.
This would be a preliminary step towards splitting one large Storage Vault into two smaller Storage Vaults. The cloned vault must use the same encryption material in order to access existing encrypted data, so this is not suitable as a protection mechanism.
This is an advanced process. Please take special care to avoid data loss.
If the current Storage Vault is "Local Path", then make a new empty directory.
Or if the current Storage Vault is "Comet Server", then in Comet Server > Storage menu > "Storage Buckets" page, click "Add new".
In Comet Server, from your user menu, enable "Advanced Options". Then on the user's detail page, choose Actions > Edit Raw Profile. Scroll to the "Destinations" section.
You should then have two Storage Vaults, that were cloned, but have now become independent copies.
In Comet Backup, you should ensure that you can browse files to restore, from both of these Storage Vaults.
in the Comet Backup > click Restore > right-click snapshot > choose "delete" from the menu.
When you report an issue to Comet staff, every attempt is made to reproduce the issue in-house. Once the issue is reproduced, we can confirm a fix internally.
Sometimes an issue depends on specific environment details that are infeasible to recreate. In these situations, support staff may ask you to run a "hotfix" version of Comet that contains experimental changes, to test a potential resolution for your issue.
Hotfixes normally come in the form of a replacement backup-tool file.
Comet uses the local system's temporary directory for some cache files while the backup job is running. The needed storage size is small; but on some devices (e.g. NAS with fixed-size /tmp/ mounts) the system's default temporary directory may be insufficient.
On Linux, you can change the temporary directory Comet uses by adding export TMPDIR=/some/other/path/ in your startup script (e.g. normally /opt/CometBackup/backup-daemon-start.sh or any custom rc.local file). However, any changes to the backup-daemon-start.sh file will be overwritten by Comet software updates.
On macOS, you can change the temporary directory Comet uses by adding an EnvironmentVariables section to the backup.delegate.plist LaunchDaemon. However, any changes to the .plist file will be overwritten by Comet software updates.
On Windows, you can change the temporary directory Comet uses by setting the %TMP% or %TEMP% environment variables for the NT SERVICE\backup.delegate user account.
A future version of Comet may add a built-in option to set the temporary directory, to avoid the setting being lost after a software update.


text:
Zenith appoints new chief people officer
By Natalie Middleton / 1 week ago / Latest News / No Comments
Zenith has appointed Stuart Price as chief people officer, supporting future growth plans and the firm's long-term people strategy.
Stuart Price, Zenith chief people officer
He joins from Virgin Care, where he was chief people officer before moving to become chief operating officer. He has also held senior people roles at Costcutter, Morrisons and Asda.
Tim Buchan, chief executive of Zenith, said: "Stuart brings a wealth of experience from the fast-paced grocery retail and healthcare sectors. His passion for creating a culture that enables people to excel is an excellent fit for Zenith as we move into the next stage of our strategic development."
His appointment comes after HR director Marisa Waddington retired after 11 years of working with Zenith.
Buchan thanked Waddington for her work, adding: "Marisa helped take this business from strength to strength, and her achievements won national recognition by making Zenith a Top 100 Company to work for."
Stuart Price commented: "I'm really excited to join a successful organisation with a passion for employee engagement, training and development. I'm looking forward to building on the strong culture that exists today and working with the teams to build the future people strategy that supports our growth and change agenda, with a relentless focus on putting our colleagues and customers at the heart of our business."
Previous: Comment: Why Mobility as a Service is key to the adoption of EV fleets
Next: Webfleet Solutions to showcase mobility innovations at CES 2021
Your email address will not be published. Required fields are marked. *
Paul Willcox named new managing director at Vauxhall Motors


text:
var App = require('app');

require('controllers/main/service/reassign/step2_controller');
require('models/host_component');

describe('App.ReassignMasterWizardStep2Controller', function () {

  var controller = App.ReassignMasterWizardStep2Controller.create({
    content: Em.Object.create({
      reassign: Em.Object.create({}),
      services: []
    }),
    renderComponents: Em.K,
    multipleComponents: []
  });

  describe('#customClientSideValidation', function () {
    var hostComponents = [];

    beforeEach(function () {
      sinon.stub(App.HostComponent, 'find', function () {
        return hostComponents;
      });
    });
    afterEach(function () {
      App.HostComponent.find.restore();
    });
    it('No host-components, reassigned equal 0', function () {
      expect(controller.customClientSideValidation()).to.be.false;
    });
    it('Reassign component match existed components, reassigned equal 0', function () {
      controller.set('content.reassign.component_name', 'COMP1');
      hostComponents = [Em.Object.create({
        componentName: 'COMP1',
        hostName: 'host1'
      })];
      controller.set('servicesMasters', [{
        component_name: 'COMP1',
        selectedHost: 'host1'
      }]);

      expect(controller.customClientSideValidation()).to.be.false;
    });
    it('Reassign component do not match existed components, reassigned equal 1', function () {
      controller.set('content.reassign.component_name', 'COMP1');
      hostComponents = [Em.Object.create({
        componentName: 'COMP1',
        hostName: 'host1'
      })];
      controller.set('servicesMasters', []);

      expect(controller.customClientSideValidation()).to.be.true;
    });
    it('Reassign component do not match existed components, reassigned equal 2', function () {
      controller.set('content.reassign.component_name', 'COMP1');
      hostComponents = [
        Em.Object.create({
          componentName: 'COMP1',
          hostName: 'host1'
        }),
        Em.Object.create({
          componentName: 'COMP1',
          hostName: 'host2'
        })
      ];
      controller.set('servicesMasters', []);

      expect(controller.customClientSideValidation()).to.be.false;
    });

    it('submitDisabled is already true', function () {
      expect(controller.customClientSideValidation()).to.be.false;
    });
  });

  describe("#mastersToShow", function() {
    it("should be like array with `content.reassign.component_name`", function() {
      controller.set('content.reassign.component_name', 'C1');
      controller.propertyDidChange('mastersToShow');
      expect(controller.get('mastersToShow')).to.eql(['C1']);
    });
  });

  describe("#mastersToMove", function() {
    it("should be like array with `content.reassign.component_name`", function() {
      controller.set('content.reassign.component_name', 'C1');
      controller.propertyDidChange('mastersToMove');
      expect(controller.get('mastersToMove')).to.eql(['C1']);
    });
  });

  describe("#additionalHostsList", function () {
    beforeEach(function () {
      sinon.stub(App.HostComponent, 'find').returns([Em.Object.create({
        componentName: 'C1',
        hostName: 'host1'
      })]);
    });
    afterEach(function () {
      App.HostComponent.find.restore();
    });
    it("servicesMastersToShow empty", function () {
      controller.reopen({
        servicesMastersToShow: []
      });
      controller.set('content.reassign.component_name', 'C1');
      controller.propertyDidChange('additionalHostsList');
      expect(controller.get('additionalHostsList')).to.be.empty;
    });
    it("servicesMastersToShow has one master", function () {
      controller.reopen({
        servicesMastersToShow: [{}]
      });
      controller.set('content.reassign.component_name', 'C1');
      controller.propertyDidChange('additionalHostsList');
      expect(controller.get('additionalHostsList')).to.eql([{
        label: Em.I18n.t('services.reassign.step2.currentHost'),
        host: 'host1'
      }]);
    });
  });
});


text:
#include "utlist.h"
#include <assert.h>
#include "pocl_util.h"

CL_API_ENTRY cl_int CL_API_CALL
POname(clEnqueueCopyBuffer)(cl_command_queue command_queue,
                            cl_mem src_buffer,
                            cl_mem dst_buffer,
                            size_t src_offset,
                            size_t dst_offset,
                            size_t size,
                            cl_uint num_events_in_wait_list,
                            const cl_event *event_wait_list,
                            cl_event *event)
CL_API_SUFFIX__VERSION_1_0
{
  cl_device_id device_id;
  unsigned i;
  _cl_command_node *cmd = NULL;
  int errcode;

  POCL_RETURN_ERROR_COND((command_queue == NULL), CL_INVALID_COMMAND_QUEUE);

  POCL_RETURN_ERROR_COND((src_buffer == NULL), CL_INVALID_MEM_OBJECT);

  POCL_RETURN_ERROR_COND((dst_buffer == NULL), CL_INVALID_MEM_OBJECT);

  POCL_RETURN_ERROR_ON((src_buffer->type != CL_MEM_OBJECT_BUFFER),
      CL_INVALID_MEM_OBJECT, "src_buffer is not a CL_MEM_OBJECT_BUFFER\n");
  POCL_RETURN_ERROR_ON((dst_buffer->type != CL_MEM_OBJECT_BUFFER),
      CL_INVALID_MEM_OBJECT, "dst_buffer is not a CL_MEM_OBJECT_BUFFER\n");

  POCL_RETURN_ERROR_ON(((command_queue->context != src_buffer->context) ||
      (command_queue->context != dst_buffer->context)), CL_INVALID_CONTEXT,
      "src_buffer, dst_buffer and command_queue are not from the same context\n");

  POCL_RETURN_ERROR_COND((size == 0), CL_INVALID_VALUE);

  POCL_RETURN_ERROR_COND((event_wait_list == NULL && num_events_in_wait_list > 0),
    CL_INVALID_EVENT_WAIT_LIST);

  POCL_RETURN_ERROR_COND((event_wait_list != NULL && num_events_in_wait_list == 0),
    CL_INVALID_EVENT_WAIT_LIST);

  if (pocl_buffers_boundcheck(src_buffer, dst_buffer, src_offset,
        dst_offset, size) != CL_SUCCESS) return CL_INVALID_VALUE;

  if (pocl_buffers_overlap(src_buffer, dst_buffer, src_offset,
        dst_offset, size) != CL_SUCCESS) return CL_MEM_COPY_OVERLAP;

  device_id = command_queue->device;

  for (i = 0; i < command_queue->context->num_devices; ++i)
    {
      if (command_queue->context->devices[i] == device_id)
        break;
    }
  assert(i < command_queue->context->num_devices);

  errcode = pocl_create_command (&cmd, command_queue, CL_COMMAND_COPY_BUFFER,
                                 event, num_events_in_wait_list,
                                 event_wait_list);
  if (errcode != CL_SUCCESS)
    return errcode;

  cmd->command.copy.src_buffer = src_buffer;
  cmd->command.copy.dst_buffer = dst_buffer;

  POname(clRetainMemObject)(src_buffer);
  POname(clRetainMemObject)(dst_buffer);

  cmd->command.copy.data = device_id->data;
  /* TODO: call device->buf_offset() or similar as device_ptrs might not be
     actual buffer pointers but pointers to a book keeping structure. */
  cmd->command.copy.src_ptr =
    (char*)src_buffer->device_ptrs[device_id->dev_id].mem_ptr;
  cmd->command.copy.src_offset = src_offset;

  cmd->command.copy.dst_ptr =
    (char*)dst_buffer->device_ptrs[device_id->dev_id].mem_ptr;
  cmd->command.copy.dst_offset = dst_offset;
  cmd->command.copy.cb = size;

  pocl_command_enqueue(command_queue, cmd);

  return CL_SUCCESS;
}
POsym(clEnqueueCopyBuffer)


text:
Steven DenBaars is a guest speaker at UCSB PHOTONICS SOCIETY MTG
5/15/2019 12PM ESB 1001
Professor Steven Denbaars will speak about the history and key developments in GaN-Based Photonics and Electronics at UCSB
Summary: In this talk I will highlight the history of GaN research at UCSB, and some of the key breakthroughs and technologies developed by the faculty, students and staff. Starting with one MOCVD system, UCSB Faculty were the first University world-wide to achieve a blue GaN Laser in 1997. This was shortly after Shuji Nakamura demonstrated the first lasing in an Industrial Lab in Japan. In 2000, Prof. Shuji Nakamura joined the Faculty and along with Prof. DenBaars, Prof James Speck and Prof. Umesh Mishra co-founded the Solid State Lighting and Energy Electronics Center(SSLEEC), which has now become one of the largest academic GaN based Photonic and Electronic research centers in the world. The SSLEEC Center has educated over 100 PhDs, and hosted numerous visiting researchers. SSLEEC has played a key role in developing numerous breakthroughs technologies such as surface roughening, RF GaN HEMTs, on-polar, semi-polar diodes, tunnel junctions, high power lasers, Micro-LED displays, UV LEDs and VCSELs. LEDs fabricated from some of these developments have led to the realization of high-efficiency Solid-State Lighting, which the Dept. of Energy estimates will save the equivalent annual electrical output of about fifty 1,000-megawatt power plants. At today's energy prices, that would equate to approximately $30 billion in energy savings in 2030 alone.
Looking into the future we see next generation GaN Laser Diode based solid state lighting as impacting high brightness specialty lighting. We have demonstrated laser based white lighting with luminous efficacies of 87 lm/watt, and over 1000 lumens from a single emitter. In addition, tunnel junctions have been employed to achieve vertical cavity surface emitting lasers (VCSELs) in the blue spectral region. Blue and green lasers and Micro-LEDs based on GaN materials are expected to enable new full color projections displays for cinema, office and augmented reality(AR)applications.
Biography: Dr. DenBaars is a Distinguished Professor of Materials and ECE, and currently Co-Director of the Solid-State Lighting Center at UC Santa Barbara. Prof. DenBaars has been in the semiconductor business for over 30 years starting with his prior work at Hewlett-Packard Optoelectronics division, and involvement in over 3 GaN startups. Specific research interests include growth of wide-band gap semiconductors (GaN based), and their application to Blue LEDs, Laser, Transistors and lasers and energy efficient solid state lighting. This research has led to over 911 scientific publications and over 168 U.S. patents on electronic materials and devices. He has received ~45,000 citations and realized an h-factor of 97. He is an IEEE Fellow(2007), and received the IEEE Aron Kressel Award(along w/ Prof. James Speck), He was elected to the National Academy of Engineering(NAE) (2012), and elected Fellow of the National Academy of Inventors (2014).
https://ssleec.ucsb.edu/