text:
#BusinessCase:
Circular Economy Helping Nike Double Its Business with Half the Impact
Hannah Furlong
On Wednesday, leading apparel and footwear brand Nike released its latest sustainability report and was announced as the newest Global Partner of the Ellen MacArthur Foundation. Nike has made impressive progress during a period of continued growth, and recognizes that to continue as such, it must innovate on an unprecedented scale. The company has set "a vision for a low-carbon, closed-loop future as part of the company's growth strategy."
"We've set a moonshot challenge to double our business with half the impact. It's a bold ambition that's going to take much more than incremental efficiency – it's going to take innovation on a scale we've never seen before," said Hannah Jones, Nike's Chief Sustainability Officer and Vice President, Innovation Accelerator. "It's a challenge we are setting for ourselves, our collaborators and our partners as we move toward a circular economy future."
The company appears to have made significant efforts to curb its waste and emissions, but this year marks a shift in its sustainability strategy to focus on finding new ways to create products from 'waste' materials.
Nike uses a material sustainability index (MSI) as well as indices for footwear, apparel, equipment, and sourcing and manufacturing to evaluate its products' impact. In FY15, 98 percent of new footwear scored silver or better on Nike's product sustainability indices, 80 percent of new apparel scored bronze or better, and the use of environmentally preferred materials increased overall. Preferred materials include Better Cotton, recycled polyester (of which Nike is the world's top user, according to Textile Exchange), leather that is certified to the standards of The Leather Working Group, and "environmentally preferred" rubber base formulations that Nike developed for its footwear in the 1990s.
Nike has cut down on the number of factories it works with in order to build stronger relationships over the manufacturing process and raise its supply chain standards for environmental impacts and working conditions. In FY15, Nike's contract footwear factories diverted 92 percent of footwear factory waste from landfill or incineration without energy recovery. Meanwhile, 86 percent of contract factories demonstrated an investment in workers by achieving a minimum bronze rating on the Nike Sustainable Manufacturing & Sourcing Index, making progress toward its goal of 100 percent by fiscal year 2020 (FY20).
Despite these achievements, the company asserts that efficiency improvements are insufficient and "the world needs systemic change at scale," to limit the average global temperature to a rise of no more than 2 degrees Celsius as agreed at the COP21 climate conference. Thus, several ambitious targets for FY20 and the 'moonshot' challenge of halving Nike's impact while doubling its business were set. As such, Nike's new targets for FY20 include:
Waste: Zero waste from contracted footwear manufacturing sent to landfill or incineration without energy recovery.
Sourcing: Have 100 percent of contract factories meet the company's definition of sustainable.
Products: Deliver maximum performance with minimum impact, through a 10 percent reduction in the average environmental footprint of products and increased use of more sustainable materials overall.
Renewable energy: By the end of fiscal year 2025, reach 100 percent renewable energy in owned or operated facilities and to encourage broader adoption of renewable energy as part of an effort to control absolute emissions.
"At Nike, we believe it is not enough to adapt to what the future may bring – we're creating the future we want to see through sustainable innovation," Nike President and CEO Mark Parker said.
"Today our teams are advancing ambitious new business models and partnerships that can scale unprecedented change across our business and the industry."
One example of this is 'Nike grind,' a material made from recycled sneakers collected through the company's Reuse-A-Shoe program, plastic bottles and manufacturing scraps from Nike's factories. The shoes are sliced into three parts and ground into rubber bits, foam, or fluffy fiber. The materials are used in Nike products and sold to others for use in lining running tracks, playgrounds, gym floors, and more. It is even being incorporated into the foam layer of the NBA's new court for the Sacramento Kings.
"I never knew how excited I could get about waste," Jones told The Huffington Post. "If the world were to reframe how it thinks about waste, it is the delta between the ambition we have collectively to get to a low-carbon world and where we are now."
This line of thinking led to its new collaboration with the Ellen MacArthur Foundation (EMF), a leading organization dedicated to building the circular economy.
"In the early stages of this partnership, we will work together to define specific projects that will deliver value to all parties," said Nik Engineer, Global Partner Lead at the EMF. "There is a shared and explicit understanding that we are trying to stimulate systemic change in complex global systems, and we are excited Nike will be part of this long-term endeavour."
Jones insists that the circular economy will be instrumental in the company's ability to innovate and continue to grow. "Sustainable innovation is an engine for our future growth and a catalyst for revolutionizing the way we do business," she said, "…we fundamentally believe the transition from linear to circular business models will accelerate our ability to create the future of performance products for the athlete."
Published May 13, 2016 2pm EDT / 11am PDT / 7pm BST / 8pm CEST
Ellen MacArthur Foundation
Energy/Utilities

redpajama_set_name: RedPajamaCommonCrawl


text:
University of Dongola (جامعة دنقلا)
Leadership/Experts
Sudan - Northern State - Dongola
Languges
Examples of Courses
Economics (University of Dongola) Sudan
Computer Science (University of Dongola) Sudan
College of Community Development (University of Dongola)
University of Dongola (Sudan) It is Happening Now the Northern State of Dongola
Meeting of the Board of Trustees of the National Fund for Student Welfare .. The…
University of Dongola (Sudan) The Rector of the University, Prof. Alwaleed Mustafa Ibrahim, received the delegation of the General Secretariat of the National Fund for Student Welfare
The Rector of the University, Prof. Alwaleed Mustafa Ibrahim, received the delegation of the General…
University of Dongola (Sudan) The Rector of Dongola University Meets the Rector of Abdul Latif Al-Hamad Technological University
The Rector of the University of Dongola, Prof. Alwaleed Mustafa Ibrahim, met in his office…
University of The Holy Qur'an and Islamic Sciences (جامعة القرآن الكريم وتأصيل العلوم)
The University of the Holy Qur'an and Islamic Sciences was founded under the University of the Holy Qur'an…
Sudan University of Science & Technology (جامعة السودان للعلوم والتكنولوجيا)
Sudan University of Science and Technology (SUST) is situated in Khartoum State, in the heart of Sudan. SUST…
University of Medical Sciences and Technology (جامعة العلوم الطبية والتكنولوجيا)
The University of Medical Sciences and Technology (UMST) was established in 1995 and its first intake of…
© Sudanuniversities


text:
Q: How can I show elements based on the selected option? Isn't there a better solution than the commented if statement?  I'm trying switch case but in this code, I can't hide the div so it's always existing which is wrong. I'm trying to show/hide elements depending on the selected option( it works with if statements but I think there's a cleaner way).

       Privileges:
       <select name="privileges" id="privileges" class="" onclick="craateUserJsObject.ShowPrivileges();">
            <option id="all" value="all">All</option>
            <option id="custom" value="custom">Custom</option>
            <option id="test1" value="test1">test1</option>
            <option id="test2" value="test2">tst2</option>
        </select>

resources

test1

test2

A: A more succinct way to do this would be to put a common class on all the div elements you want to toggle so that you can easily hide them on change. In addition, add another class to them which matches the value of the option of they should be displayed when selected. From there you can easily build a selector to hide/show the content. Try this:

var $privileges = jQuery('#privileges');

$privileges.on('change', e => {
  $('.content').hide().filter('.' + e.target.value).show();
});
.content {
  display: none;
}

  Privileges:
  <select name="privileges" id="privileges">
    <option value="all">All</option>
    <option value="custom">Custom</option>
    <option value="test1">test1</option>
    <option value="test2">tst2</option>
  </select>

resources

test1

test2

As an aside you should note that in order to follow best practices I moved the inline style attributes on the div to the stylesheet, and I also removed the onclick attribute you had on the select element. The latter should be attached unobtrusively using addEventListener(), if it's needed.

redpajama_set_name: RedPajamaStackExchange


FOUR MARKS OF THE CHURCH?
It's common to quote the Creed and say there are four "marks" of the Church: one, holy, catholic, and apostolic. The Orthodox Church IS one and holy, but I'm not sure that's what the Creed wants to address.
Ancient Greek didn't use commas, just "ands." And there's only one "and" in that phrase, the one between catholic and apostolic. Therefore, what the Creed says is, "I believe in one holy catholic and apostolic Church." IOW, the Church is catholic and apostolic; they're the key adjectives. One is just a number, and holy describes the Catholic-and-Apostolic Church.
For an example of this kind of talk, see the heading of the website of (non-Orthodox) "the Holy Apostolic Catholic Assyrian Church of the East" (no commas). There's a long name! My point is, a Western skeptic might call it 'pious language.' Another example is when some make reference to "the Holy Roman Church," or even "Holy Mother the Church." (Can you tell I used to be Catholic?!) The Creed could just as easily have said, "I believe in the catholic, apostolic Church." But the Holy Council Fathers (another 'pious' phrase) weren't concise Westerns, they were, well, holy, so they talked this way, but it had real meaning to them and their listeners. So they say the Church is "holy," and they refer to the "one…Church" for emphasis, to distinguish it from breakaway sects and cults.
I'm not doing a good job of this, but I hope something of my meaning is getting through!
…but if you think about it critically, it's pretty arrogant to base our scientific picture of the last millions or billions of years on what we could observe in just the last couple centuries, isn't it? Don't we need to be humbler??
When you gather 'round the turkey, be sure and thank God for the great run we've had.
Unbelievable. So this is their "American Dream" for the poor.
They were metal things they used to put on cars to absorb some of the impact of a collision without having to invest in full-blown body repairs.


text:
In the summer of 2011, on a muggy day toward the end of the Writers' Conference, an enormous snapping turtle crawled out of a pond somewhere on the Sewanee campus and positioned itself in the middle of a small access road. The thing was, in my memory, as big around as a car tire. Entire ecosystems of algae clung to its carapace. Its tail lent it an eerily prehistoric and fierce aura. I'm not sure how many different expressions turtles are capable of, but this one looked weary, pissed off. It was, more than anything, old.
We took pictures of it, we shrieked, we asked each other how long snappin...
Rebecca Makkai's most recent novel, The Great Believers, won the LA Times Book Prize and the Carnegie Medal, and was a finalist for both the National Book Award and the Pulitzer Prize.
Jos Charles
It's neat,
like debt, like language,
Fairy Tale with Ex-Wife
Andrew Hudgins
After thirty suspect miles, I called,
a rusty PURE sign creaking overhead,
and we were right: we were wrong.
The sign had been a sign, we sighed sourly,
as the storm we were trying to beat
beat down on us.
3Q4: Peter Fish
What I wanted to do in telling Dwight's story is capture the loony, obsessive passions—here, a love for astronomy—we're capable of at Dwight's age, passions that push us out to explore the big world. At the same time, I wanted to show the process by which we come to understand that the world is more complicated and troubled than we imagined.


text:
22 June, 2019 00:00 00 AM
Bangladesh has bright growth potentials: Experts
BSS, Dhaka
Economists, diplomats and business leaders have expressed their firm optimism that Bangladesh would gain higher GDP growth on a sustainable basis thanks to the business and investment-friendly environment and policy offered by the present government.
Even the Asian Development Bank (ADB) said Bangladesh has achieved the fastest growth in the Asia-Pacific economies comprised of 45 countries.
The country attained 7.9 percent growth in the outgoing fiscal 2018-19 which was the fastest expansion since 1974, said the Manila-based donor in its recent Asian Development Outlook (ADO).
Talking to the news agency , renowned economist and chairman of Bangladesh Palli Karma Shahayak Foundation (PKSF) Dr Qazi Kholiquzzaman Ahmad said no other country in the world except Bangladesh has been able to perform continuously to gain higher GDP growth on a sustainable basis.
"This has been possible as there is now an ample scope for work and a huge labour force in the country who can do hard work," he added. Dr Ahmad, an ex-president of Bangladesh Economic Association (BEA), also said there are also many countries in the world which could not fully utilize their labour forces due to lack of opportunities.
He said Bangladesh is now doing well mainly due to three reasons — policy, favorable environment and situation and huge labour force.
"Our Prime Minister often speaks highly about this hard working labour force and her government is taking many steps to properly use this labour force," he said.
The famed economist said earlier the international agencies assumed the government tends to hide data and statistics which was a reason for making their conservative projections.
"But, the situation has now changed and that's why I think that the projections of other international agencies including ADB now come close to the government's projections," he said.
Ambassador and former Bangladesh's Permanent Representative to the United Nations Md Abdul Hannan said Bangladesh has witnessed an overall inclusive development over the last 10 years both at the urban and rural levels.
"I'm sure that the people of the country is very much grateful to this leadership…the people of the country, bureaucracy and the private entrepreneurs have been associated with this political leadership," he said.
Referring to the government's initiatives for establishing some 100 special economic zones across the country, Hannan, also the vice-president of BEA, said these economic zones would spur growth through generating more employments.
He suggested spreading industrialization, generating more employments, enhancing skills and facing the challenges of 4th industrial revolution.
Shafiul Islam Mohiuddin, former president of Federation of Bangladesh Chambers of Commerce and Industry (FBCCI), said Bangladesh has been achieving a very healthy growth rate over the last couple of years including 7.86 percent GDP in the last year (FY18) and 8.13 percent in the outgoing fiscal (FY19).
"This will definitely help improve further the socioeconomic conditions of the country and the government's bid to become a higher middle income country," he added.
Shafiul, also a former top leader of country's apparel sector, noted Bangladesh has been achieving comparatively higher GDP growth than other countries in Asia due to very hard working entrepreneurs and laborers, expatriate Bangladeshis, revolution in agriculture while womenfolk are also being empowered.
He opined Prime Minister Sheikh Hasina has been able to successfully lead the country with her strong leadership as she pursues the right policy and strategy.
"The business-friendly environment is now prevailing here, but we could have done better had there been further improvement in doing business situation," he added.
Shafiul underscored the need for taking concerted efforts by all to implement the various plans of the country including Delta Plan-2100 to further boost the country's GDP growth.
Economists, diplomats and business leaders have expressed their firm optimism that Bangladesh would gain higher GDP growth on a sustainable basis thanks to the business and investment-friendly environment and policy offered by the present government. Even the Asian Development Bank (ADB) said Bangladesh has achieved the fastest growth in the Asia-Pacific economies comprised of 45 countries. The country attained 7.9 percent growth in the outgoing fiscal 2018-19 which was the fastest expansion since 1974, said the Manila-based donor in its recent Asian Development Outlook (ADO). Talking to the news agency , renowned economist and chairman of Bangladesh Palli Karma Shahayak Foundation (PKSF) Dr Qazi Kholiquzzaman Ahmad said no other country in the world except Bangladesh has been able to perform continuously to gain higher GDP growth on a sustainable basis. This has been possible as there is now an ample scope for work and a huge labour force in the country who can do hard work, he added. Dr Ahmad, an ex-president of Bangladesh Economic Association (BEA), also said there are also many countries in the world which could not fully utilize their labour forces due to lack of opportunities. He said Bangladesh is now doing well mainly due to three reasons policy, favorable environment and situation and huge labour force. Our Prime Minister often speaks highly about this hard working labour force and her government is taking many steps to properly use this labour force, he said. The famed economist said earlier the international agencies assumed the government tends to hide data and statistics which was a reason for making their conservative projections. But, the situation has now changed and thats why I think that the projections of other international agencies including ADB now come close to the governments projections, he said. Ambassador and former Bangladeshs Permanent Representative to the United Nations Md Abdul Hannan said Bangladesh has witnessed an overall inclusive development over the last 10 years both at the urban and rural levels. Im sure that the people of the country is very much grateful to this leadershipthe people of the country, bureaucracy and the private entrepreneurs have been associated with this political leadership, he said. Referring to the governments initiatives for establishing some 100 special economic zones across the country, Hannan, also the vice-president of BEA, said these economic zones would spur growth through generating more employments. He suggested spreading industrialization, generating more employments, enhancing skills and facing the challenges of 4th industrial revolution. Shafiul Islam Mohiuddin, former president of Federation of Bangladesh Chambers of Commerce and Industry (FBCCI), said Bangladesh has been achieving a very healthy growth rate over the last couple of years including 7.86 percent GDP in the last year (FY18) and 8.13 percent in the outgoing fiscal (FY19). This will definitely help improve further the socioeconomic conditions of the country and the governments bid to become a higher middle income country, he added. Shafiul, also a former top leader of countrys apparel sector, noted Bangladesh has been achieving comparatively higher GDP growth than other countries in Asia due to very hard working entrepreneurs and laborers, expatriate Bangladeshis, revolution in agriculture while womenfolk are also being empowered. He opined Prime Minister Sheikh Hasina has been able to successfully lead the country with her strong leadership as she pursues the right policy and strategy. The business-friendly environment is now prevailing here, but we could have done better had there been further improvement in doing business situation, he added. Shafiul underscored the need for taking concerted efforts by all to implement the various plans of the country including Delta Plan-2100 to further boost the countrys GDP growth.
Poster and teaser of 'Nodorai' revealed
Climate change is a youth issue
Shariatpur-Chandpur regional highway in sorry state
Underground metro work to start soon
Sheltech MD Toufiq Seraj passes away
Saline water leaves croplands out of production in Satkhira
'Shishu Mela' attracts visitors in Jhenaidah
'Tumi Mor Jiboner Bhabona' to be re-released after 23yrs
Plant more trees
Payra Power Plant operation halted for 3rd day
Loss by SoEs keeps widening
The Bangladesh Power Development Board (BPDB) incurred the highest loss of Tk 10,271.58 crore among 49 state-owned enterprises (SoEs) in the outgoing 2018-19 fiscal year (till April 30), according to…
Vegetable prices up on inadequate supply
Speakers urge complete overhaul of budget system
Palak applauds Digital Sylhet City Project advancement
Oil flat after rallying on US-Iran tensions, Asia markets retreat
ASEAN seeks conclusion of China-led trade deal this year: Thai PM
Mumbai slum-dwellers fear Dharavi redevelopment
Gold tops $1,400 on weak dollar, geopolitical, economic worries
Virtual Facebook currency faces real-world resistance
Apple warns Trump that more China tariffs will help rivals
Philippine telco to roll out Huawei-backed 5G service
Thousands of big energy reps at UN climate talks: monitor
EU extends economic sanctions against Russia


Thank you for using our website and its services ("Site"). This website is provided by Wilkhahn, Inc., a Delaware corporation ("Wilkhahn"). By using our website, you are agreeing to these terms. Please read them carefully.
All content on this Site (including, without limitation, text, design, graphics, logos, icons, images, videos, downloads, interfaces, code and software, as well as the selection and arrangement thereof), is the exclusive property of and owned by Wilkhahn, its licensors or its content providers and is protected by copyright, trademark and other applicable laws. Wilkhahn reserves the right to refuse or cancel any person's registration through this Site, remove any person's registration from this Site or prohibit any person from using this Site for any reason whatsoever. Wilkhahn, or its licensors or content providers, retain full and complete title to the material provided on the Site, including all associated intellectual property rights, and provide this material to you under a license that is terminable and revocable at any time at Wilkhahn's sole discretion.
You may not upload to, distribute or otherwise publish through this Site any content that (i) is confidential, proprietary, false, fraudulent, libelous, defamatory, obscene, threatening, invasive of privacy or publicity rights, infringing on intellectual property rights, abusive, illegal or otherwise objectionable; (ii) may constitute or encourage a criminal offense, violate the rights of any third party or otherwise give rise to liability or violate any law, rule or regulation; or (iii) may contain software viruses, political campaigning, chain letters, mass mailings, or any form of "spam."
You may not use a false email address or other identifying information, impersonate any person or entity or otherwise mislead as to the origin of any content. You may not upload commercial content onto the Site.
If you do submit material, and unless we indicate otherwise, you grant Wilkhahn and its affiliates an unrestricted right to use, reproduce, modify, adapt, publish, translate, create derivative works from, distribute and display such material throughout the world in any media.
WE RESERVE THE RIGHT TO RESTRICT OR TERMINATE YOUR ACCESS TO THE SITE OR ANY FEATURE OR PART THEREOF AT ANY TIME WITH OR WITHOUT REASON OR CAUSE WITHOUT NOTICE.
This Site may contain links to other websites, some of which are operated by Wilkhahn or its affiliates and others of which are operated by third parties. These links are provided as a convenience to you and as an additional avenue of access to the information contained therein. We are not responsible for the content of those or any other sites or any products or services that may be offered through those or any other sites. Inclusion of links to other sites should not be viewed as an endorsement of the content of linked sites. Different terms and conditions may apply to your use of any linked sites. Wilkhahn is not responsible for any losses, damages or other liabilities incurred as a result of your use of any linked sites. Wilkhahn has no control over, and assumes no responsibility for, the content, privacy policies, or practices of any third party websites. In addition, Wilkhahn will not and cannot censor or edit the content of any third-party site. By using the Site, you expressly relieve Wilkhahn from any and all liability arising from your use of any third-party website.
Trademarks, logos and service marks displayed on this Site are registered and unregistered trademarks of Wilkhahn, its licensors or content providers. All of these trademarks, logos and service marks are the property of their respective owners. Nothing on this Site shall be construed as granting, by implication or otherwise, any license or right to use any trademark, logo or service mark displayed on the Site without Wilkhahn's prior written permission. Wilkhahn reserves all rights not expressly granted in and to the Site and its content. This Site and all of its content, including but not limited to text, design, graphics, interfaces and code, and the selection and arrangement thereof, is protected as a compilation under the copyright laws of the United States of America and other countries.
YOUR USE OF THIS SITE IS AT YOUR SOLE RISK. THE SITE IS PROVIDED ON AN "AS IS" AND "AS AVAILABLE" BASIS WITH ALL FAULTS.
WILKHAHN DOES NOT REPRESENT OR WARRANT THAT THE SERVICE OR ITS USE WILL: (I) BE UNINTERRUPTED OR TIMELY, (II) BE SECURE, FREE OF INACCURACIES, ERRORS, VIRUSES OR OTHER HARMFUL COMPONENTS, (III) MEET YOUR REQUIREMENTS, OR (IV) OPERATE IN THE CONFIGURATION OR WITH THE HARDWARE OR SOFTWARE YOU USE. TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, WILKHAHN MAKES NO WARRANTIES OTHER THAN THOSE MADE EXPRESSLY IN THESE TERMS OF SERVICE, AND HEREBY DISCLAIMS ANY AND ALL IMPLIED WARRANTIES, INCLUDING WITHOUT LIMITATION, WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY AND NON-INFRINGEMENT.
IF YOU DOWNLOAD ANY MATERIALS FROM THIS SITE, YOU DO SO AT YOUR OWN DISCRETION AND RISK. YOU WILL BE SOLELY RESPONSIBLE FOR ANY DAMAGES TO YOUR COMPUTER SYSTEM OR LOSS OF DATA THAT RESULTS FROM THE DOWNLOAD OF ANY SUCH MATERIALS. NO ADVICE OR INFORMATION, WHETHER ORAL OR WRITTEN, OBTAINED BY YOU FROM WILKHAHN OR THROUGH OR FROM THE SITE SHALL CREATE ANY WARRANTY OF ANY KIND. WILKHAHN DOES NOT MAKE ANY WARRANTIES OR REPRESENTATIONS REGARDING THE USE OF THE MATERIALS ON THIS SITE IN TERMS OF THEIR COMPLETENESS, CORRECTNESS, ACCURACY, ADEQUACY, USEFULNESS, TIMELINESS, RELIABILITY OR OTHERWISE.
YOU ACKNOWLEDGE AND AGREE THAT YOU ASSUME FULL RESPONSIBILITY FOR YOUR USE OF THE SITE. YOU ACKNOWLEDGE AND AGREE THAT ANY INFORMATION YOU SEND OR RECEIVE DURING YOUR USE OF THE SITE MAY NOT BE SECURE AND MAY BE INTERCEPTED BY UNAUTHORIZED PARTIES. YOU ACKNOWLEDGE AND AGREE THAT YOUR USE OF THE SITE IS AT YOUR OWN RISK AND THAT THE SITE IS MADE AVAILABLE TO YOU AT NO CHARGE. RECOGNIZING SUCH, YOU ACKNOWLEDGE AND AGREE THAT, TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, NEITHER WILKHAHN NOR ITS AFFILIATES, SUPPLIERS OR THIRD PARTY CONTENT PROVIDERS WILL BE LIABLE FOR ANY DIRECT, INDIRECT, PUNITIVE, EXEMPLARY, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR OTHER DAMAGES ARISING OUT OF OR IN ANY WAY RELATED TO THE SITE, OR ANY OTHER SITE YOU ACCESS THROUGH A LINK FROM THIS SITE OR FROM ANY ACTIONS WE TAKE OR FAIL TO TAKE AS A RESULT OF COMMUNICATIONS YOU SEND TO US, OR THE DELAY OR INABILITY TO USE THE SITE, OR FOR ANY INFORMATION, PRODUCTS OR SERVICES ADVERTISED IN OR OBTAINED THROUGH THE SITE, REMOVAL OR DELETION OF ANY MATERIALS SUBMITTED OR POSTED ON ITS SITE, OR OTHERWISE ARISING OUT OF THE USE OF THE SITE, WHETHER BASED ON CONTRACT, TORT, STRICT LIABILITY OR OTHERWISE, EVEN IF WILKHAHN, ITS AFFILIATES OR ANY OF ITS SUPPLIERS HAS BEEN ADVISED OF THE POSSIBILITY OF DAMAGES. THIS DISCLAIMER APPLIES, WITHOUT LIMITATION, TO ANY DAMAGES OR INJURY ARISING FROM ANY FAILURE OF PERFORMANCE, ERROR, OMISSION, INTERRUPTION, DELETION, DEFECTS, DELAY IN OPERATION OR TRANSMISSION, COMPUTER VIRUSES, FILE CORRUPTION, COMMUNICATION-LINE FAILURE, NETWORK OR SYSTEM OUTAGE, YOUR LOSS OF PROFITS, OR THEFT, DESTRUCTION, UNAUTHORIZED ACCESS TO, ALTERATION OF, LOSS OR USE OF ANY RECORD OR DATA, AND ANY OTHER TANGIBLE OR INTANGIBLE LOSS. YOU SPECIFICALLY ACKNOWLEDGE AND AGREE THAT NEITHER WILKHAHN NOR ITS SUPPLIERS SHALL BE LIABLE FOR ANY DEFAMATORY, OFFENSIVE OR ILLEGAL CONDUCT OF ANY USER OF THE SITE.
YOU UNDERSTAND AND ACKNOWLEDGE THAT YOUR SOLE AND EXCLUSIVE REMEDY WITH RESPECT TO ANY DISSATISFACTION WITH, OR INABILITY TO USE, THE SITE IS TO CEASE THE USE THEREOF. WILKHAHN AND ITS AFFILIATES AND SUPPLIERS EXPRESSLY DISCLAIM ALL WARRANTIES OF ANY KIND WITH RESPECT TO THE SITE, WHETHER EXPRESS OR IMPLIED, INCLUDING IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.


Guests can enjoy Palm Oasis Boutique Hotel's amenities and services, including cafe-restaurant, family friendly bar and healthy massages by trained massage therapists. Services such as housekeeping, gardening, towels and Wi-Fi internet access are provided as well. Each unit features air-conditioning, cable TV, bathroom facilities and much more. Palm Oasis offers everything you ask for on your tropical vacation.
Palm Oasis Boutique Hotel is located in a quiet area a few minutes' walk from the famous beach of Nai Harn. It features 41 rooms and villas ideally designed for families or couples who want to enjoy their stay in this tropical paradise island of Phuket.
The villas are located close to the beautiful beach of Nai Harn at the southwestern tip of the island in a quiet street with no traffic. Hotel features a coffee shop on site, a bar with a family atmosphere and spa treatments services on request.
The villas are furnished in a contemporary Thai style surrounded by tropical gardens and a large swimming pool.
We provide a full range of services for our guests. Basic services such as daily housekeeping, gardening, towels and linen, WiFi Internet access and satellite TV are all included in the price. In addition our employees ensure the organization of a wide range of services to help you make your holiday.
Pool View Deluxe are located on second floor with a scenic view on indoor garden and swimming pool. Rooms are decorated with elements of traditional Thai style in combination with wooden furniture and one King-size Bed dressed in 320-thread-count cotton sheets and topped with a light duvet and soft pillows.
Each Pool View Deluxe is digital entertainment-ready with a 42" LCD TV connected to Cable TV with lot of international channels.
Our 44 sq.m. Pool Access Deluxe rooms are located close to the swimming pool and decorated with elements of traditional Thai style in combination with wooden furniture and one King-size Bed dressed in 320-thread-count cotton sheets and topped with a light duvet and soft pillows.
Each Pool Access Deluxe is digital entertainment-ready with a 42" LCD TV connected to Cable TV with lot of international channels.
Outdoor have a private table with a view on inside garden and swimming pool.
Private Terrace Deluxe are 52 sq.m. apartments located on front side of Palm Oasis Boutique Hotel with a scenic view on green Jungle. Rooms are decorated with elements of traditional Thai style in combination with wooden furniture and one King-size Bed dressed in 320-thread-count cotton sheets and topped with a light duvet and soft pillows.
Each Private Terrace Deluxe is digital entertainment-ready with a 42" LCD TV connected to Cable TV with lot of international channels.
Private Terrace Deluxe include own terrace with Canopy Bed, Sunshade and Private Table.
Roof Top Garden Deluxe (92 sq.m.) located on the second floor. There are scenic view on green Jungle and huge private roof Terrace with Jacuzzi under Pergola, Sunbeds and big Thai Arbor with seats, bed and covers from rain. Rooms are decorated with elements of traditional Thai style in combination with wooden furniture and one King-size Bed dressed in 320-thread-count cotton sheets and topped with a light duvet and soft pillows.
Each Roof Top Garden Deluxe is digital entertainment-ready with a 42" LCD TV connected to Cable TV with lot of international channels. In Thai Arbor have 32" LCD TV with USB port.
Family Two-Bedroom Suite with Pool Access (126 sq.m.) located on the first floor. Two Bedroom Suite with one private Terrace and other small terrace with pool access. Rooms are decorated with elements of traditional Thai style in combination with wooden furniture and two King-size Bed dressed in 320-thread-count cotton sheets and topped with a light duvet and soft pillows.
Each room of Family Suite w Pool Access is digital entertainment-ready with a 42" LCD TV connected to Cable TV with lot of international channels.
Family 2 Bedroom with Roof Top Garden (128 sq.m.) located on the second floor. Two Bedroom Suite with huge private roof Terrace with Jacuzzi under Pergola, Sunbeds and big Thai Arbor with seats, bed and covers from rain. Rooms are decorated with elements of traditional Thai style in combination with wooden furniture and two King-size Bed dressed in 320-thread-count cotton sheets and topped with a light duvet and soft pillows.
Each Family 2 Bedroom with Roof Top Garden is digital entertainment-ready with a 42" LCD TV connected to Cable TV with lot of international channels. In Thai Arbor have 32" LCD TV with USB port.
A cozy restaurant on the hotel territory where you can have your breakfast and order something for lunch or dinner from our menu.
Also you can test our wine from different countries, Thai or German Bier, whole range of Spirits, Soft drinks and Coffee from our Bar that is open until late night.


The TABER® Multi-Finger Scratch / Mar Tester - Model 710 is used to measure the relative resistance or susceptibility of a material surface to scratching, marring, gouging, scraping, engraving and other similar physical damage not classified as ordinary wear. Based on the apparatus described in popular automotive specifications, the instrument is commonly referred to as a five-finger (five-arm) scratch & mar tester and most often used to evaluate plastics.
The Multi-Finger Scratch / Mar Tester includes a pneumatically driven, moveable platform to which the test specimen is mounted. The platform moves in a linear fashion, and is operated by a control knob for single or multiple pass testing. An electronic timer displays the rate of speed, which can be controlled by reducing or increasing air pressure.
A gantry supports five independent splined-fingers, which provide a constant, vertical load on interchangeable scratch tips. The gantry system includes a handle to raise and lower the arms. In addition, five support rests are incorporated to allow one or more arms to be moved to an upright, rest position such that the arm does not contact the specimen during testing.
Individual weights of varying loads mount to the top of each arm finger to exert a standard force on the surface of the test material. Each instrument includes a weight set of 2N, 3N, 4N, 5N, 6N, 7N, 10N, 15N and 20N loads. Optional weights sets are also available consisting of either 4N, 8N, 9N, 12N or 8N, 13N, 18N weights. In addition, an optional weight of 25N or Precision Weight Kit to achieve 0.6N loads are available.
Although flat specimens up to 22mm thick are normally tested, the 'free-floating' arms fingers enable you test slightly contoured specimens provided they are rigid or adequately supported. A spring-loaded specimen holder is standard and can be mounted to the end or side of the moveable platform for greater flexibility. To mount contoured specimens, two specimen hold-down clamps are provided. An optional 5mm spacer set is available to raise the gantry to accommodate specimens that are greater than 22mm thick.
Each Multi-Finger Scratch / Mar Tester includes a set of five 1.0mm diameter hemisphere Scratch Tips and 7.0mm diameter hemisphere Mar Tips. Both include a precision tungsten carbide ball mounted to the contact end. Optional conical scratch tips are also available in either tungsten carbide (0.1mm; 0.25mm; 0.4mm and 0.5mm diameter) or diamond (with 90° 3mil or 90° 3.5mil radius point).
Visual Evaluation - For this technique, the observer uses a controlled light source to visually inspect each scratch line and rates according to a Rating Scale 1 to 5 (1 = no scratch line at all; 5 = severe scratch line). For plastic materials, indicate if the line exhibits signs of whitening.
Width/Depth - Using an optical measuring device such as an Optical Micrometer, the operator measures the width and / or depth of the scratch.
Image Analysis - Another option would be to use an Image Analysis technique such as SEM.
NOTE: The properties of plastic materials can greatly influence the evaluation of scratch and mar resistance. It is important to be aware of the following factors and take them into consideration. For reproducible results, define if evaluation should occur immediately following the scratch test or after a specified amount of time (e.g. 24 hours).
Many plastics have elastic recovery upon removal of applied stress.
Many plastics have visco-elastic properties and the stresses in the plastics may relax during loading.
Plastics may change structure during material flow, which can also change the mechanical properties of plastics.
The following link provides a listing of test methods the Taber Multi-Finger Scratch / Mar Tester satisfies. Please note, additional accessories may be required.


text:
The Beatific Visions – BrakesBrakesBrakes
One mark of a good album is that it makes you interested in anything the artist has to say. Brakes' debut album Give Blood featured a song I heard once and couldn't get out of my head; "All Night Disco Party" is enhanced by the same kind of thumping beats and simple-to-the-point-of-genius lyrics that characterize some of the very best dance rock songs (see: LCD Soundsystem, "Daft Punk Is Playing At My House.") When singer Eamon Hamilton belts out the words "Croque Monsieur! Croque Madame!" you cheer inwardly, and then you think to yourself: Am I really getting all worked up over a sandwich?
What is remarkable about this particular track is that it sounds very much unlike the rest of the band's catalog. The rest of Give Blood features a mix of punky, spirited rock with a certain flavor of early 90's jangle pop; it would not be unfair to make the assertion – at least in terms of melodic energy – that Brakes are the contemporary British answer to The Replacements. At the same time, the two bands are worlds apart. On record, Brakes' sound is stylized, calculated; these are four musicians with obvious talent, playing the role of the irreverent.
Enter two new factors into the equation: the completion of Brakes' second album, The Beatific Visions, and the subsequent US tour that followed its release. Sometime last fall, I received an instant message while sitting at work: "Get in here. Now." At the time, I shared an office with Rough Trade America, and I scurried down the hall to find their label manager flipping out over the new Brakes record. After the first song, "Hold Me In the River," hit my ears, I promptly commenced flipping out alongside her. "Hold Me In the River" is a perfect song in every way. It's catchy without being saccharine, it's driving without being forced, and it's both romantic and political without ever getting "deep." "I woke up late and found my liberty lost / it had been written down in lore as a security cost," sings Hamilton. Mere seconds later he's name checking Scarlett Johansson. The rest of the album hits as sweet and salty as that first track, ranging from complete shouting mayhem ("Porcupine Or Pineapple") to harmonic and heartbreaking (closing track "No Return.")
It's rare to find an album that's fun, compelling, and thoughtful all in one, but Brakes (now BrakesBrakesBrakes for those of us in the US, so as not to confuse us with the Philly-based Brakes) have one-upped themselves on their sophomore album. At their Mercury Lounge show on June 23rd, the songs proved themselves open for energetic interpretations that left the crowd both dancing and wanting more. The band's appeal is perhaps best understood when compared to show openers, Brooklyn's own Pela, who play straightforward and passionate guitar rock. Pela has never aspired to be anything other than a solid rock band, and it's their greatest strength: they play well, they write strong songs, and they seem like nice fellows. The problem with Pela is that their act doesn't stand the test of repetition. Every time I see them, I anticipate greatness, and every time, I truly enjoy myself for the first four or five songs…and then suddenly, without warning, I want it to be over. They are a solid band. They are a good band. They are not, however, an engaging band.
Not so with Brakes, whose shortest song is approximately ten to fifteen seconds of mayhem during which they shout Cheney's name over and over punctuated by "Stop being such a dick!" Their mockery is blunt, to say the least. Live, each album track becomes an event in itself. Hamilton's reedy voice is balanced out by guitarist Thomas White's harmonies. Bassist Marc Beatty and drummer Alex White pull together one of the most in-sync rhythm sections that modern music has to offer. Perhaps the best place to see the band's talents on display is in their inspired choice of cover songs. They invite audience females to come onstage and sing the June Carter lines of their surprisingly strong "Jackson", and out of their back pockets they pull a short and sweet rendition of Camper Van Beethoven's "Shut Us Down." They're not afraid to take on the classics or the potentially obscure, and this confidence works much to their advantage.
In the end, maybe that's what is so compelling about Brakes' sound: its confidence, not just in the music itself but also in the listener. Hamilton and company lace their work freely with political references without dwelling on the obvious; they're sincere at every gesture, but with true sincerity comes a certain measure of realism. Asking "Who won the war / what the fuck was it for / Ouch!" in one breath, and cooing about a girl with "summer in her heels" in the next, Brakes trust that we, the listeners, are as willing and able switch gears as they are. Where that fails, they trust that we can understand the lyrics to their most requested live song: "Won't you shut the fuck up? I'm just trying to watch the band."
PrevPreviousStories About Nothing – Intuition
NextMusic From Regions Beyond – Tiger ArmyNext


text:
Follow Frontline
Law & Disorder
Another Setback for Prosecutors in Post-Katrina Police Shootings
by Sarah Moughty •
Sarah Childress
Five New Orleans police officers who were convicted on charges related to the shooting of six unarmed civilians on a bridge in the wake of Hurricane Katrina are entitled to a new trial, a federal court ruled on Tuesday.
The ruling is the latest setback for prosecutors, who have struggled in their attempts to hold a number of NOPD officers to account for killing civilians in the days after the storm and covering up what happened. The Danziger Bridge case, as it's known, was the most notorious of six questionable police shootings that FRONTLINE, ProPublica and the New Orleans Times-Picayune have been following since 2010.
Federal investigators probed all six incidents, but only the Danziger case and two others went to trial — with mixed results. Here's the latest on each case:
The Danziger Bridge Shooting
On Sept. 4, 2005, while responding to a call that officers were under fire on the Danziger Bridge, police opened fire on a group of civilians, who were later found to be unarmed and searching for food and medicine. Four were wounded, and 17-year-old James Brisette and 40-year-old Ronald Madison were killed.
Four of the five officers — Kenneth Bowen, Robert Faulcon, Robert Gisevius and Anthony Villavaso — were convicted of charges related to the shootings and an ensuing five-year cover-up and sentenced to more than 30 years in prison. A fifth officer, Sgt. Arthur Kaufman, who wrote a police report justifying the shooting, was sentenced to six years. An additional five officers cooperated with prosecutors and pleaded guilty to charges related to the elaborate cover-up, which involved a gun planted at the scene, as well as falsified witness statements and police reports.
But it later came to light that both before and after the officers' 2011 trial, federal prosecutors in New Orleans had anonymously posted online critiques of the officers and the NOPD. In a blistering 2013 decision, U.S. District Court Judge Kurt Engelhardt ruled that the prosecutors' conduct was a breach of professional ethics that had deprived the officers of their right to a fair trial. Tuesday's decision, by a panel of the 5th U.S. Circuit Court of Appeals, upheld Engelhardt's ruling.
U.S. Attorney Kenneth Polite told the Times-Picayune that he is in discussions with the Justice Department about next steps in the case.
Henry Glover's Death
On Sept. 2, Henry Glover, a 31-year-old African-American man, was shot by Officer David Warren, a rookie while Glover and a friend were walking through the parking lot of a run-down strip mall. Glover was last seen bleeding from a gunshot wound to the chest in the back seat of a car outside a temporary police compound in the Algiers neighborhood where he had been rushed for medical attention. His charred remains were later found on the banks of the Mississippi River inside a torched car.
Five officers were ultimately indicted: Warren for the shooting, and four additional officers on charges related to burning Glover's body and obstructing a federal investigation. The five officers were initially tried together; three were convicted and two were acquitted. A federal appeals court later ruled that Warren should have been tried separately from his colleagues, and he was acquitted in a second trial.
After new evidence was found, a judge ordered a new trial for Lt. Travis McCabe, who was initially convicted of participating in the cover-up, but federal prosecutors dropped the charges.
Officer Greg McRae, who admitted to burning the body, was convicted of violating Glover's civil rights and sentenced to 17 years in prison. He is appealing the conviction.
The Brumfield Shooting
On Sept. 3, Danny Brumfield, a 45-year-old African-American man, was shot in a confrontation with officers outside of the convention center where many evacuees had gathered. According to Brumfield's family, he was trying to flag down a police car for help. Officers Ronald Mitchell and Ray Jones, who were in the cruiser, said Brumfield leaped onto their car, brandishing a pair of scissors. Mitchell and Jones were never tried for the shooting, but Mitchell was later convicted of obstructing justice and committing perjury in a civil suit brought by Brumfield's family after a jury concluded he lied when he said he had left his police cruiser to offer Brumfield medical aid. Mitchell was sentenced to 20 months in prison. Officer Jones was acquitted of similar charges.
A "Troubled" Police Department
The New Orleans Police Department has had a long history of corruption and brutality and is currently in the midst of its second federal investigation by the Department of Justice. The first investigation was closed in 2004 without a formal citation after the department agreed to update its hiring and training practices and implement a system to track officer performance.
In 2011, noting that the NOPD had "long been a troubled agency," the Justice Department found widespread constitutional violations, including excessive use of force, unconstitutional stops, searches and arrests, a failure to investigate violence against women, and discriminatory treatment of people based on race, ethnicity and sexual orientation. A year later, the NOPD agreed to enter into what is widely considered the most comprehensive agreement ever with the Justice Department, designed to overhaul the police department's policies and practices. Known as a consent decree, the agreement is entered into federal court and allows the DOJ to sue the NOPD if it fails to implement promised reforms.
Today, the NOPD is working to implement the mandated changes. An independent monitor hired to track its progress noted "significant deficiencies" in training, supervision, record keeping and providing mental health and wellness support for officers in an April report.
Still, the report noted that NOPD leadership seemed personally committed to reform and concluded: "While their shared attitude does not mean NOPD is nearing the finish line, it does help ensure there is a finish line."
Related Film: Law and Disorder
FRONTLINE, ProPublica and the Times-Picayune investigate questionable police shootings in the wake of Hurricane Katrina
Remembering Katrina: Three Documentaries to Watch
Five Officers Plead Guilty in Post-Katrina Shootings
Former NOPD Officer Acquitted in Post-Katrina Police Shooting
NOPD Convictions Overturned in Notorious Post-Katrina Shooting
In order to foster a civil and literate discussion that respects all participants, FRONTLINE has the following guidelines for commentary. By submitting comments here, you are consenting to these rules:
Readers' comments that include profanity, obscenity, personal attacks, harassment, or are defamatory, sexist, racist, violate a third party's right to privacy, or are otherwise inappropriate, will be removed. Entries that are unsigned or are "signed" by someone other than the actual author will be removed. We reserve the right to not post comments that are more than 400 words. We will take steps to block users who repeatedly violate our commenting rules, terms of use, or privacy policies. You are fully responsible for your comments.
Judge Orders Expanded Oversight for Mentally Ill New Yorkers In Supported Housing
On the 24th Anniversary of the Srebrenica Massacre, Bosnian Muslims Continue to Bury Their Dead
WATCH: How "Obamacare" Became a Symbol of America's Divide
Beyond Jeffrey Epstein: The Hidden Reality of Sex Trafficking in America
STREAM NOW
Bitter Rivals: Iran and Saudi Arabia
February 27, 2018 // 2:51:27
FRONTLINE investigates how a dangerous rivalry between Iran and Saudi Arabia has plunged the Middle East into sectarian war.
Support Provided By Learn more
Home Films Podcasts Investigations Schedule Contact Us Our Funders Privacy Policy PBS Privacy Policy PBS Terms of Use Corporate Sponsorship
About Us History Awards Journalistic Guidelines
Senior Editorial Team
Jobs/Internships Pressroom
PBS LearningMedia FRONTLINE Teacher Center
Jon and Jo Ann Hagler on behalf of the Jon L. Hagler Foundation
FRONTLINE Digital Supporters
Lisa & Douglas Goldman Fund
Funding for FRONTLINE is provided through the support of PBS viewers and by the Corporation for Public Broadcasting. Major funding for FRONTLINE is provided by the John D. and Catherine T. MacArthur Foundation and the Ford Foundation. Additional funding is provided by the Abrams Foundation, the Park Foundation, The John and Helen Glessner Family Trust, and the FRONTLINE Journalism Fund with major support from Jon and Jo Ann Hagler on behalf of the Jon L. Hagler Foundation.
FRONTLINE is a registered trademark of WGBH Educational Foundation. Web Site Copyright ©1995-2019 WGBH Educational Foundation. PBS is a 501(c)(3) not-for-profit organization.
FRONTLINE Newsletter
Serious Journalism for Serious Times
You'll receive access to exclusive information and early alerts about our documentaries and investigations.
The FRONTLINE Dispatch
Don't miss an episode. Sign-up for The FRONTLINE Dispatch newsletter.


text:
 package com.cordys.coe.ac.fileconnector.methods;

import com.cordys.coe.ac.fileconnector.ApplicationConfiguration;
import com.cordys.coe.ac.fileconnector.IFileConnectorMethod;
import com.cordys.coe.ac.fileconnector.ISoapRequestContext;
import com.cordys.coe.ac.fileconnector.LogMessages;
import com.cordys.coe.ac.fileconnector.exception.ConfigException;
import com.cordys.coe.ac.fileconnector.exception.FileException;
import com.cordys.coe.ac.fileconnector.methods.largexml.LargeXmlFileReader;
import com.cordys.coe.ac.fileconnector.methods.largexml.SimpleXPath;
import com.cordys.coe.ac.fileconnector.methods.largexml.XmlTraverseContext;
import com.cordys.coe.ac.fileconnector.utils.XmlUtils;

import com.eibus.util.logger.CordysLogger;

import com.eibus.xml.nom.Document;
import com.eibus.xml.nom.Node;

import java.io.File;

import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;

/**
 * Implements ReadLargeXMLFileRecords SOAP method.
 *
 * @author  mpoyhone
 */
public class ReadLargeXmlFileRecordsMethod
    implements IFileConnectorMethod
{
    /**
     * Logger for log messages from this class.
     */
    private static final CordysLogger LOG = CordysLogger.getCordysLogger(ReadLargeXmlFileRecordsMethod.class);
    /**
     * Contains the SOAP method name.
     */
    public static final String METHOD_NAME = "ReadLargeXmlFileRecords";
    /**
     * Filename request parameter for ReadLargeXMLFileRecords methods.
     */
    private static final String PARAM_FILENAME = "filename";
    /**
     * XML select path request parameter for ReadLargeXMLFileRecords.
     */
    private static final String PARAM_SELECTPATH = "selectPath";
    /**
     * Return as text request parameter for ReadLargeXMLFileRecords.
     */
    private static final String PARAM_RETURNASTEXT = "returnAsText";
    /**
     * Number of records request parameter for ReadLargeXMLFileRecords.
     */
    private static final String PARAM_NUMRECORDS = "numrecords";
    /**
     * Validation only request parameter for ReadLargeXMLFileRecords.
     */
    private static final String PARAM_VALIDATEONLY = "validateonly";
    /**
     * Cursor data parameter for ReadLargeXMLFileRecords. When reading is started in the middle of
     * the file, this parameter must be passed from the previous response.
     */
    private static final String PARAM_CURSORDATA = "cursorData";
    /**
     * Contains the FileConnector configuration.
     */
    private ApplicationConfiguration acConfig;

    /**
     * @see  com.cordys.coe.ac.fileconnector.IFileConnectorMethod#cleanup()
     */
    public void cleanup()
                 throws ConfigException
    {
    }

    /**
     * @see  com.cordys.coe.ac.fileconnector.IFileConnectorMethod#initialize(com.cordys.coe.ac.fileconnector.ApplicationConfiguration)
     */
    public boolean initialize(ApplicationConfiguration acConfig)
                       throws ConfigException
    {
        this.acConfig = acConfig;

/*        XMLProperties config = null;
 *           try     {         config = acConfig.getSection("largexmlfile");     }     catch
 * (GeneralException e)     {         throw new ConfigException("Unable to load configuration.", e);
 *     }*/

        return true;
    }

    /**
     * @see  com.cordys.coe.ac.fileconnector.IFileConnectorMethod#onReset()
     */
    public void onReset()
    {
    }

    /**
     * @see  com.cordys.coe.ac.fileconnector.IFileConnectorMethod#process(com.cordys.coe.ac.fileconnector.ISoapRequestContext)
     */
    public EResult process(ISoapRequestContext req)
                    throws FileException
    {
        int requestNode = req.getRequestRootNode();

        // Get the needed parameters from the SOAP request
        String sFileName = XmlUtils.getStringParameter(requestNode, PARAM_FILENAME, true);
        String sFileSelectPath = XmlUtils.getStringParameter(requestNode, PARAM_SELECTPATH, true);
        int iNumRecords = (int) XmlUtils.getLongParameter(requestNode, PARAM_NUMRECORDS, true);
        boolean bValidateOnly = XmlUtils.getBooleanParameter(requestNode, PARAM_VALIDATEONLY);
        boolean bReturnAsText = XmlUtils.getBooleanParameter(requestNode, PARAM_RETURNASTEXT);
        String sCursorData = XmlUtils.getStringParameter(requestNode, PARAM_CURSORDATA, false);

        if (LOG.isDebugEnabled())
        {
            LOG.debug(String.format("ReadLargeXMLFileRecords: File=%s, XPath=%s, Num Records=%d",
                                    sFileName, sFileSelectPath, iNumRecords));
        }

        // Create File objects for the source file
        File fFile = new File(sFileName);

        // Parse the cursor data into a traverse context.
        XmlTraverseContext ctx = null;

        if ((sCursorData != null) && (sCursorData.length() > 0))
        {
            try
            {
                ctx = XmlTraverseContext.serializeFromBase64String(sCursorData);
            }
            catch (Exception e)
            {
                throw new FileException(e,LogMessages.UNABLE_TO_PARSE_CURSOR_DATA);
            }
        }

        // Do some sanity checking.
        if (!acConfig.isFileAllowed(fFile))
        {
            throw new FileException(LogMessages.FILE_ACCESS_NOT_ALLOWED);
        }

        if (!fFile.exists())
        {
            throw new FileException(LogMessages.FILE_NOT_EXIST);
        }

        // Create the file reader object. For previously opened file, this opens
        // the file where the previous read was finished.
        LargeXmlFileReader reader;

        try
        {
            reader = new LargeXmlFileReader(fFile, ctx, true);
        }
        catch (Exception e)
        {
            throw new FileException(e,LogMessages.UNABLE_TO_OPEN_FILE,fFile);
        }

        reader.setCurrentXPath(new SimpleXPath(sFileSelectPath));

        // Process the file based on the request parameters.
        int iResultNode = 0;
        List<FileException> lErrorList = new LinkedList<FileException>();
        Document dDoc = req.getNomDocument();
        int iRecordsRead = 0;

        try
        {
            if (!bValidateOnly)
            {
                iResultNode = req.addResponseElement("data");
            }

            if (iNumRecords < 0)
            {
                iNumRecords = Integer.MAX_VALUE;
            }

            if (!reader.isAtEnd())
            {
                // Read the requested requested records.
                for (int i = 0; i < iNumRecords; i++)
                {
                    int res = reader.findNext(dDoc, !bValidateOnly);

                    if (res == 0)
                    {
                        break;
                    }

                    if (!bValidateOnly)
                    {
                        Node.appendToChildren(res, iResultNode);
                    }

                    iRecordsRead++;
                }
            }

            // If we are returning the XML as text replace the node contents
            // with text.
            if ((iResultNode != 0) && bReturnAsText)
            {
                String sContents = Node.writeToString(iResultNode, false);
                int iStartPos;
                int iEndPos;

                // Remove <data> and </data> tags.
                iStartPos = sContents.indexOf("<data>");
                iEndPos = sContents.lastIndexOf("</data>");

                if ((iStartPos >= 0) && (iEndPos > iStartPos))
                {
                    sContents = sContents.substring(iStartPos + 6, iEndPos);
                }

                // Replace the contents with the string version.
                Node.delete(Node.getFirstChild(iResultNode), Node.getLastChild(iResultNode));
                Node.setDataElement(iResultNode, "", sContents);
            }

            ctx = reader.getCurrentContext();
        }
        catch (Exception e)
        {
            lErrorList.add(new FileException(e,LogMessages.UNABLE_TO_PERFORM_XMLQUERY,fFile));
        }
        finally
        {
            reader.close();
        }

        String sResponseCursorData;

        try
        {
            sResponseCursorData = XmlTraverseContext.serializeToBase64String(ctx);
        }
        catch (Exception e)
        {
            throw new FileException(e,LogMessages.UNABLE_TO_CREATE_RESPONSE_CURSOR_DATA);
        }

        req.addResponseElement("recordsread", Integer.toString(iRecordsRead));

        // Add the errors to the reply
        if (lErrorList.size() > 0)
        {
            int iErrorsNode = req.addResponseElement("errors");

            // Iterate over the exceptions and create an error line element for each line
            for (Iterator<FileException> iter = lErrorList.iterator(); iter.hasNext();)
            {
                Throwable eException = iter.next();
                StringBuffer sbLine = new StringBuffer(80);

                while (eException != null)
                {
                    if (sbLine.length() > 0)
                    {
                        sbLine.append(" * ");
                    }

                    sbLine.append(eException.getMessage());

                    eException = eException.getCause();
                }

                dDoc.createTextElement("item", sbLine.toString(), iErrorsNode);
            }
        }

        // Add error count to all replies
        req.addResponseElement("errorcount", Integer.toString(lErrorList.size()));

        // Add the cursor data to the reply.
        req.addResponseElement(PARAM_CURSORDATA, sResponseCursorData);

        return EResult.FINISHED;
    }

    /**
     * @see  com.cordys.coe.ac.fileconnector.IFileConnectorMethod#getMethodName()
     */
    public String getMethodName()
    {
        return METHOD_NAME;
    }
}

redpajama_set_name: RedPajamaGithub


The University of Illinois Springfield has selected Kelsea Gurski as the new associate chancellor for public affairs. She will also serve as chief of staff for UIS Chancellor Susan J. Koch.
Gurski has more than 15 years of experience as a communications and marketing professional. She comes from the Illinois Department of Transportation (IDOT) as the Bureau Chief of Communication Services. Prior to IDOT, she was the system director of Public Relations and Communications at Memorial Health System and was the Voice Editor and a features reporter at The State Journal-Register.
Her responsibilities will include managing key issues and representing the chancellor at various internal and external constituencies as well as leading the communications team and supervising the UIS Police Department.
Gurski earned a bachelor's degree in communication from Bradley University in 2002 and a master's degree in communication from UIS in 2008.