text:
Hazara Expressway: A Game Changer Held Back By Weak Traffic Regulations
Posted 1 year ago by Umer Asif
The motorways are important for our economy but lack of discipline is going to become an issue if the drivers aren't educated.
The E35 Expressway or Hazara Motorway was launched a few weeks ago, connecting the Hazara division to the M1 Motorway.
Ask the people of Hazara and they will tell you the importance of motorways in so many words. This new motorway is a game changer for the people of Hazara.
Previously connected via the extremely congested and risky Karakoram Highway at Hasan Abdal, commuters were faced with challenging driving conditions that made the 80 KM journey from Hasan Abdal to Abbottabad, a stressful 2.5-hour ordeal.
The new road takes around 1.5 hours from the centre of Islamabad to Shah Maqsood, till where the current motorway has been constructed. Once completed, the journey all the way to Abbottabad will take under 2 hours from Islamabad.
Having commuted on the old and new routes, I would like to share my experience, while also highlighting some key areas that are essential to a safe and pleasant driving experience as our motorway network expands under CPEC.
The E35 Experience
The Hazara Motorway branches off from the M1 motorway right after the Burhan interchange. Running somewhat parallel to the old KKH (Karakoram Highway), it intersects the KKH at Hattar, then moving to the right of KKH with interchanges at Kot Najeebullah and Chechiyan, eventually terminating at Shah Maqsood.
Future extensions will take it all the way to Thakot, making it a key link in CPEC. Along its current route, it connects the key areas of Hasan Abdal, Hattar Industrial Area and Haripur, providing them quick and easy access to the major cities of Peshawar, Islamabad & Lahore. In the near future, with the launch of the New Islamabad International Airport, this road linkage will provide easy access to the airport as well.
As someone who has frequented the old KKH route, as soon as you get off M1 onto the E35, you realize that the world has changed. The new three lane motorway, in a matter of 20 minutes, gets you into Haripur. Previously this could be 45 minutes to 1 hour of tiring process of dodging trucks, minibuses and donkey carts on a congested two-way road, meandering through several small towns. A journey in which you could easily use your nine lives by the time you reach your destination.
It has now transformed into a pleasure drive that lets you cruise through in minutes. While machinery can still be seen on the road and some of the interchanges and toll booths still require completion, one sees the work going on in full swing and should be completed soon.
The relief this road brings can be felt when talking to locals. Sheharyar Khan, owner of the GGSS Haripur system says,
This road has opened up several opportunities for us. Lots of people commute daily to work in Islamabad and this road allows them to live at home in Haripur and work in the city. This was a long-standing need for our community and we are relieved to finally have a safe way to commute.
M1 Congestion
As the motorway network grows and becomes the preferred choice of motorists, the increasing pressure on the existing motorways is already becoming evident.
Even before the inauguration of the Hazara Expressway, the M1 was experiencing high traffic volumes between Burhan and Islamabad. Now with the traffic joining in from Hazara Expressway and the New Islamabad International Airport expected to be operational in a few months, the M1 & M2 sections near Islamabad will continue to face the pressure.
Even now, at peak hours, the three lanes from Burhan to Islamabad are moving at 100KM/hr with ill-disciplined drivers breaking the smooth flow of traffic. To make matters worse, the Toll booths on the transit points of M1 & M2 and M1 & E35 are adding to the congestion.
The M1 toll plaza, crammed under a bridge, is lacks the capacity to manage so many vehicles and you can see queues for miles. What was once a nonstop transition from M1 to M2, can now take 30 minutes.
If measures are not taken to address these issues, sections of the motorway will transform into any other local city road and the purpose of having a motorway will be defeated.
Motorway Police or Speed Checkers?
A main contributing factor to the road congestion is the total disregard of driving rules and discipline. While our motorways are way better than our city roads, the current situation is far from ideal.
The problem comes from slow moving vehicles occupying the fast lanes. Reckless overtaking with total disregard to lane discipline make matters worse. These driving habits disrupt smooth flow of traffic and impact the total capacity of the road.
There was a time when the Motorway Police played a visible role in driver education and in working towards traffic discipline. Of late, they just seem to be interested in generating revenue for the department by issuing over-speed tickets, with total disregard to any other violations.
If the role of Motorway Police is just to check speeds, do we really need highly trained police officers for this task? The Motorway Police need to take responsibility and enforce road discipline, while educating motorists on driving regulations.
There is a need to introduce a minimum speed rule and fine motorists that use the overtaking lane for the whole journey. Dilapidated cars, visibly of unworthy road condition should not be allowed to enter the motorway. Strict action should also be taken against heavy vehicles driving recklessly and impeding the flow of traffic by overtaking into the fast lanes.
Such actions are desperately needed to keep the sanity in driving on our motorways and the police has a key role to play.
Nevertheless, it is good to see the progress happening in Pakistan and these roads will play a big role in ushering prosperity into our country.
Umer is a freelance contributor. He can be reached at [email protected]
Umer Asif


text:
Vol 3, No 2 (April 2014) /
Advances in paediatric cancer treatment
Authors: Federica Saletta, Michaela S. Seng, Loretta M.S. Lau
Four out of five children diagnosed with cancer can be cured with contemporary cancer therapy. This represents a dramatic improvement since 50 years ago when the cure rate of childhood cancer was <25% in the pre-chemotherapy era. Over the past ten years, while improvement in overall survival (OS) has been marginal, progress in pediatric oncology lies with adopting risk-adapted therapeutic approach. This has been made possible through identifying clinical and biologic prognostic factors with rigorous research and stratifying patients using these risk factors, and subsequently modifying therapy according to risk group assignment. This review provides a perspective for eight distinct pediatric malignancies, in which significant advances in treatment were made in the last decade and are leading to changes in standard of care. This includes four hematologic malignancies [acute lymphoblastic leukemia (ALL), acute myeloid leukemia (AML), non-Hodgkin lymphoma (NHL) and Hodgkin lymphoma (HL)] and four solid tumors [medulloblastoma (MB), low grade glioma (LGG), neuroblastoma (NB) and Ewing sarcoma (ES)]. Together, they comprise 60% of childhood cancer. Improved patient outcome is not limited to better survival, but encompasses reducing both short and long-term treatment-related complications which is as important as cure, given the majority of childhood cancer patients will become long-term survivors. Risk-adapted approach allows treatment intensification in the high-risk cohort while therapy can be de-escalated in the low-risk to minimize toxicity and late sequelae without compromising survival. Advances in medical research technology have also led to a rapid increase in the understanding of the genetics of childhood cancer in the last decade, facilitating identification of molecular targets that can potentially be exploited for therapeutic benefits. As we move into the era of targeted therapeutics, searching for novel agents that target specific genetic lesions becomes a major research focus. We provide an overview of seven novel agents (bevacizumab, bortezomib, vorinostat, sorafenib, tipifarnib, erlotinib and mTOR inhibitors), which have been most frequently pursued in childhood cancers in the last decade, as well as reporting the progress of clinical trials involving these agents.

redpajama_set_name: RedPajamaCommonCrawl


The Catholic Press Association met in Denver in mid-June for its annual convention and awards for excellence.
The Georgia Bulletin earned six awards. It's very flattering to read the comments given by the judges. We are pleased to get the recognition but more importantly we are pleased to share the news of the Catholic community in the 69 counties of North Georgia.
Blessed Trinity High School junior Evan Strawn, right, pinned his St. Pius X opponent at the 5:46 mark of their 6:00 match. Blessed Trinity defeated Marist School and St. Pius X High School to retain the Catholic Duals Championship.
Joan Moore, a member of All Saints Church, Dunwoody, has been involved in HIV/AIDS outreach since the disease first came on scene in the 80s. Moore lost a cousin in Philadelphia, Pa., and a son-in-law in New Jersey to the disease in the 90s. Today she is actively involved in Immaculate Heart of Mary Church's AIDS ministry.
"Cathedral of Christ the King: a Day in the Life"


text:
from datadog_checks.base import OpenMetricsBaseCheckV2

# TODO: remove `try` when we drop Python 2
try:
    from datadog_checks.base.checks.openmetrics.v2.scraper import OpenMetricsCompatibilityScraper

    class LegacyCheck(OpenMetricsBaseCheckV2):
        def create_scraper(self, config):
            return OpenMetricsCompatibilityScraper(self, self.get_config_with_defaults(config))

except Exception:
    pass

def get_legacy_check(instance=None, init_config=None):
    return _get_check(LegacyCheck, instance, init_config)

def _get_check(cls, instance, init_config):
    if instance is None:
        instance = {}
    if init_config is None:
        init_config = {}

    instance.setdefault('openmetrics_endpoint', 'test')
    check = cls('test', init_config, [instance])
    check.__NAMESPACE__ = 'test'

    return check

redpajama_set_name: RedPajamaGithub


text:
Dr. Munr Kazmir
Covid-19 Claims Recently Elected Louisiana Congressman at 41
"COVID-19 has taken Congressman-elect Letlow from us far too soon. I am heartbroken that he will not be able to serve our people as a U.S. Representative," said Gov. John Bel Edwards.
U.S. Capitol Building. Washington, D.C. (photo: Jonathan Cutrer)
Congressman-elect Luke Letlow, who won a runoff to represent Louisiana's 5th congressional district, died Tuesday from complications of COVID-19. Letlow, 41, announced that he tested positive for Covid-19 on Dec. 18 and was admitted to a Monroe hospital the following day. When his condition intensified, he was transferred to the intensive care unit.
Letlow served as chief of staff for the former Rep. Ralph Abraham before winning his election this past November. Letlow would have been sworn into Congress on Sunday. He is the first member or member-elect to die from the coronavirus, though dozens of lawmakers have tested positive over the past year.
"The family appreciates the numerous prayers and support over the past days but asks for privacy during this difficult and unexpected time," said Andrew Bautsch, Letlow's spokesman. "A statement from the family along with funeral arrangements will be announced at a later time."
Letlow leaves behind his wife, Julia Barnhill Letlow, and two young children, according to a statement on Facebook from Bautsch.
Letlow's colleagues on Capitol Hill shared their condolences at the news of his passing. House Minority Leader Kevin McCarthy said in a statement that "our hearts break tonight as we process the news."
"Our hearts break tonight as we process the news of Congressman-elect Luke Letlow's passing," McCarthy wrote on Twitter. "I spoke with his wife, Julia. Judy and I are praying for her and their two young children during this terrible time."
The Louisiana delegation, led by House Minority Whip Steve Scalise, issued a joint statement offering their condolences.
"Luke had such a positive spirit, and a tremendously bright future ahead of him. He was looking forward to serving the people of Louisiana in Congress, and we were excited to welcome him to our delegation where he was ready to make an even greater impact on our state and our Nation," the statement said.
"More than anything, Luke was a loving husband, father, brother, and son, and his family — like so many others who have been affected by this evil disease — needs our prayers."
South Carolina Senator Tim Scott wrote on Twitter, "Another devastating blow during an already difficult year. Deeply saddened to hear about the passing of Congressman-elect Luke Letlow. His wife, Julia, and his two young children are in my prayers."
House Speaker Nancy Pelosi said, "Congressman-elect Letlow was a ninth-generation Louisianan who fought passionately for his point of view and dedicated his life to public service."
"As the House grieves Congressman-elect Letlow's passing, our sorrow is compounded by the grief of so many other families who have also suffered lives cut short by this terrible virus. May it be a comfort to Luke's wife Julia and their children Jeremiah and Jacqueline that so many mourn their loss and are praying for them at this sad time," she said.
Governor of Louisiana, John Bel Edwards also offered his condolences on Twitter.
"It is with heavy hearts that @FirstLadyOfLA and I offer our condolences to Congressman-elect Luke Letlow's family on his passing after a battle with COVID-19. #lagov. Congressman-elect Letlow felt a calling from a young age to serve the people of his home state, working behind the scenes for former Governor Bobby Jindal and serving as chief of staff to Congressman Ralph Abraham, who he was recently elected to succeed," he said.
"COVID-19 has taken Congressman-elect Letlow from us far too soon. I am heartbroken that he will not be able to serve our people as a U.S. Representative, but I am even more devastated for his loving family," Gov. Edwards added.
Almost 7,400 people have died from COVID-19 in Louisiana.
(Contributing journalist, Allegra Nokaj) (Contributing writer, Brooke Bell)
http://www.kazmir.org
More from Dr. Munr Kazmir
Charisma: Some politicians have it, but how do we know?
Kent Kroeger
Paranoia About Extremism is Suffocating Rational Debate
⭐ Robert Jameson in Bob's Politics
The Fight Goes On
Team Warren
We Asked Body Language Experts to Analyze the Trump–Kim Jong-un Summit
John McDermott in MEL Magazine
Politics uses us for its own ends -Ezra Klein
David Wineberg in The Straight Dope
Breaking The False Dichotomy of American Public Discourse
Marne Platt
It's Not About Trump
Our Socialism v. Capitalism Schism.
Richard The Chwalek


text:
The Question I Asked at This Year's Virtual Shareholder Meetings
As in 2020, I attended a number of virtual shareholder meetings (VSMs) this year, including Visa, Apple, Disney, AmerisourceBergen, Carrier, Bristol-Myers Squibb, JPMorgan Chase, McDonald's, BlackRock, ExxonMobil, Amazon.com and Facebook. On the whole, not much was different from what I saw in 2020. I'm hoping we'll see companies put more thought and effort into their VSMs in 2022. We'll definitely see many companies go back to the in-person format for various reasons, but after a one-year retreat, the VSM trend should go up in 2023 and beyond. I highly doubt there will be a meaningful uptick in the hybrid model, despite the continued hopes of some investors.
My Question on PACs...
I tested the waters more with the Q&A function this year, submitting a standard question at some of the VSMs I attended about corporate political action committees (PACs) along the lines of this template (using my fictitious Tao Company as a placeholder):
The Tao Company and its PAC paused all political giving after the events at the Capitol building in Washington, DC on January 6, 2021. Will Tao consider completely dissolving its PAC as other companies, such as Charles Schwab, have done? Given the size of the The Tao Company's operations and its name recognition, Tao would have no problem gaining access to members of Congress without making PAC contributions.
(You'll recall my prior writing on PACs.)
...and the Answers
To my disappointment, but not my surprise, not every company provided an answer. The companies that answered my question during the live Q&A had this to say:
Visa: Chairman/CEO Al Kelly responded, "I think we were one of the very first companies that immediately after the insurrection on the Capitol on January 6, we made an immediate decision to temporarily suspend, as the questioner so notes, all political donations from our Political Action Committee fund. But beyond that, I will tell you that we do not have plans to completely dissolve the PAC." (From meeting transcript.)
JPMorgan Chase: Chairman/CEO Jamie Dimon responded that the company is not going to dissolve its PAC unless everyone else (I assumed he meant peer companies in the financial services industry) dissolves their PACs. He further said that the company would announce more on how its PAC will be run going forward. (It has since been reported that JPMorgan Chase announced in an internal memo that its PAC will resume giving, but continue to withhold from a "handful" of the 147 lawmakers who voted against certifying the electoral results of the 2020 presidential election.)
The companies that answered my question in a written Q&A posted on their website said this:
Amazon: "Following the events at the Capitol building on January 6, we decided to suspend PAC contributions to any Member of Congress who voted to override the results of the U.S. Presidential election. That policy has not changed."
McDonald's: "As a Company, our guiding light is doing what's best for our employees and the communities we serve. Following the events at the Capitol earlier this year, the McDonald's PAC Steering Committee paused contributions to political officials. The McDonald's PAC Board is currently evaluating future contributions. The PAC is a separate entity managed by McDonald's owner-operators and corporate employees, which prevents the Company from being able to unilaterally dissolve the PAC."
Unpausing PACs
While we're on the subject of PACs, it's worth noting that a number of companies that paused PAC contributions after January 6, 2021 have since resumed making contributions to lawmakers, including some of the 147. JetBlue Airways was the first, making a $1,000 contribution to Republican Congresswoman Nicole Malliotakis who represents Staten Island, New York.
Written Q&A Document to Look At
One company, whose VSM I watched after it was originally aired, posted a written Q&A document that was a lot more extensive than the typical ones I've seen thus far. Take a look at what Dow Inc. posted. This could be because at the VSM they only responded to questions that had been submitted in advance. (Some shareholder advocates have suspected Dow Inc. of having put on a VSM that purportedly was live, but actually was entirely pre-recorded, although this has not been verified. I wrote about this type of bad practice a few days ago).


You've worked hard to earn what you have. It only makes sense that you would want to protect your assets, use them effectively and plan for the future.
There are a number of ways to hold, use and protect your assets, such as the use of testamentary trusts and superannuation arrangements, including self-managed superannuation funds. Our experienced team of estate lawyers is able to provide you with comprehensive advice on the most suitable options for you and, pending your approval, make it happen.
Should you wish to increase your wealth, we can also advise on structuring options, financing arrangements, risk management and commercial and property transactions.
In estate and succession planning, we help business and asset owners and other individuals put everything in place to make sure that the right people get what they should, regardless of what the future brings. This takes insight into issues such as taxation implications, future care needs and family requirements. It also requires wills, powers of attorney and other instruments that will stand up to scrutiny.
A comprehensive Estate and Personal Planning package is also available with guidance notes and information sheets for wills, powers of attorney and Advance Care Directives.
Wills, codicils and statements of intent.


text:
Q: Is Memcached for me? I am SysAdmin for a couple of large online shops and I'm researching Memcached as a possible caching solution.
The most accessed queries are the ones which make up the dynamic product pages, so it would make sense to cache these.  Staff regularly use an update program to update the tables with new prices.  As I understand, if I used Memcached the changes would only be apparent after the cache expires and not after my program has updated.
In the docs, I can see "Memcache::flush" which flushes ALL existing items, but is there a way to flush an individual object?

A: You can see in docs that there is delete command that removes one item. Also there is a set to add or replace one item.

A: The most important part is to have a solid naming scheme on your keys.  Presumably you have a cms type page to update/insert rows in your database (mysql?).  Just ensure that you delete the memcache record whenever you do an update in mysql and you'll be fine.

redpajama_set_name: RedPajamaStackExchange


text:
from invocations.docs import docs, www
from invocations.packaging import release

from invoke import Collection

ns = Collection(docs, www, release)
ns.configure({
    'packaging': {
        'sign': True,
        'wheel': True,
        'changelog_file': 'sites/www/changelog.rst',
        'package': 'fabric',
        'version_module': 'version',
    },
})


text:
25 Case Study Examples Every Marketer Should See
Written by Caroline Forsey @cforsey1
The saying "lead by example" is important in politics and leadership roles -- and it's also critical in marketing.
Sure, you can tell potential customers your marketing team is the best at running YouTube campaigns or effectively increasing a website's cost-per-acquisition (CPA), but until you offer examples, they're going to have a hard time believing you.
What is a case study?
A case study is a detailed story of something your company did. It includes a beginning -- often discussing a conflict, an explanation of what happened next, and a resolution that explains how the company solved or improved on something. A great case study is also often filled with research and stats to back up points made about a project's results.
Putting together a compelling case study is one of the most powerful strategies for showcasing your marketing skills and attracting future customers. But it's easier said than done -- you've executed the campaign, you've collected the results, now what?
To help you create an attractive and high-converting case study, we've put together a list of some of our favorites. Take a look, and let these examples inspire your next brilliant case study design. Or, fill out the form below to access free case study templates.
Case Study Kit + Templates
Fill out this form to access free case study templates.
Case Study Examples
1. "Shopify Uses HubSpot CRM to Transform High Volume Sales Organization," by HubSpot
What's interesting about this case study is the way it leads with the customer. That reflects a major HubSpot credo, which is to always solve for the customer first. The copy leads with a brief description of why Shopify uses HubSpot, and is accompanied by a short video and some basic statistics on the company.
Notice that this case study uses mixed-media. Yes, there is a short video, but it's elaborated upon in the additional text on the page. So while your case studies can use one or the other, don't be afraid to combine written copy with visuals to emphasize the project's success.
2. "Designing the Future of Urban Farming," by IDEO
Here's a design company that knows how to lead with simplicity in its case studies. As soon as the visitor arrives at the page, he or she is greeted with a big, bold photo, and two very simple columns of text -- "The Challenge" and "The Outcome."
Immediately, IDEO has communicated two of the case study's major pillars. And while that's great -- the company created a solution for vertical farming startup INFARM's challenge -- it doesn't stop there. As the user scrolls down, those pillars are elaborated upon with comprehensive (but not overwhelming) copy that outlines what that process looked like, replete with quotes and additional visuals.
3. "Secure Wi-Fi Wins Big for Tournament," by WatchGuard
Then, there are the cases when visuals can tell almost the entire story -- when executed correctly. Network security provider WatchGuard is able to do that through this video, which tells the story of how its services enhanced the attendee and vendor experience at the Windmill Ultimate Frisbee tournament.
4. "Customer Case Study: ElliotLee Estate Agents" by Pioneer Business Systems
In 2018, 45% of people watch more than an hour of Facebook or YouTube videos a week. A video case study could be a compelling way to attract potential customers who prefer watching a video over reading text. Additionally, a video allows you to convey customer emotion. This case study by Pioneer Business Systems, for instance, allows viewers to see firsthand the effects Pioneer's telephone system had on their clients, ElliotLee Estate Agents. It includes text, as well, to thoughtfully organize and break-up the video into sections.
5. "Sapio User Acquisition Case Study" by Fractl
Fractl uses both text and graphic design on their Sapio case study web page to immerse the viewer in a more interesting user experience. For instance, as you scroll, you'll see the results are illustrated in an infographic-design form as well as the text itself. Further down the page, they use icons like a heart and a circle to illustrate their pitch angles, and graphs to showcase their results. Rather than writing which publications covered their news story, they incorporated the media outlet's icons for further visual diversity.
6. "USA Today" by Fantasy
What's the best way to showcase the responsiveness and user interface of a website? Probably by diving right into it, via video -- which is exactly what Fantasy does on their case study page for USA Today. They keep the page simple and clean, with a large red play button embedded at the top, inviting you to review their redesign of USA Today's website via video. The video itself is simple, showing the website's interface and clicking on various links with simple instrumental music in the background.
If you're more interested in text, you can scroll to find their goal, "make USA Today's website responsive", in one short paragraph, followed by a simple "1" icon, with the text "Became the most visited US News site." Fantasy understands that, as a potential customer, this is all you need to know. Scrolling further, you're greeted with a simple "Contact Us" CTA.
7. "Coca-Cola Uses App Annie to Amaze & Delight Customers" by App Annie.
(embed link: https://www.youtube.com/watch?v=sHo0SnZFTMw)
A video is a phenomenal way to grab a viewer's attention, but in our video-heavy world today, it can be hard to keep potential customers' eyes on the screen. To combat this, App Annie's case study of Coca-Cola includes drawings and text to highlight what Greg Chambers, Coca-Cola's Director of Innovation, is talking about on-screen. They also occasionally cut away from his face to include full-screen text. By incorporating graphic designs and text in their video, App Annie encourages viewers to stay engaged.
8. "How One Ecommerce Business Solved the Omnichannel Challenge with Bitly Campaigns" by Bitly
Bitly takes a different approach to text-heavy case studies, by providing their case study of ecommerce company Vissla in PDF form. The case study is clean and easily scannable, with sections divided into "The Goal", "Top Omnichannel Obstacles", and images of "The Set-Up" and "The Launch." The downloadable PDF format makes the case study feel like an exclusive behind-the-scenes look, and uses colors and text that align with Bitly's brand. Since the PDF opens in a separate browser, it's easier for the viewer to avoid distractions as they scroll the pages.
9. "How Social Media Insights Turned Around Lexus' Holiday Campaigns" by Infegy
It can be risky to include hurdles to your case studies, but with great risk comes great reward, right? In Infegy's case, their gated content is worth the fill-out form information, particularly since their client is such a big name in the automobile industry: Lexus. The PDF case study reads like a compelling news article, including titles like "The Rise of Lexus" and "The Fall of Lexus", colorful pie charts, and real online comments from customers who were unhappy with Lexus' old holiday ads. The PDF is six pages but features big font and plenty of white space, so viewers can easily skim it in only a few minutes.
10. "Fiesta Bowl" by OH Partners
OH Partners doesn't let superfluous details distract from the most important themes of their case study -- "The Situation", "The Solution", and "The Success". Each one of their case studies, including this Fiesta Bowl one, is organized into those three categories, with a video at the beginning followed by a few large font, easily skimmable paragraphs.
Best of all, OH Partners puts other case studies on the left side of the page, with highly enticing visuals to ensure a potential consumer can continue perusing the case studies until they're confident in OH Partner's track record.
11. "The Gifted Day" by Digitas
Digitas' case study page for LVNG With, a cancer support community created by AstraZeneca, is one of the more emotionally moving campaigns in our list and might even evoke a few tears. The page begins with a heart-wrenching video of all the moments -- a grandmother holding her grandchild, someone riding a roller coaster -- that "weren't supposed to happen", exemplifying the enormous gift a single day could be to a terminal patient. Scrolling down, it's obvious that Digitas kept AstraZeneca at the forefront of their strategy, but more than that, they used real people as their focal point.
12. "Wine.com" by RichRelevance
What first attracted me to RichRelevance's Wine.com case study was the box on the left-side that quickly summed up the case study, including requirements, solution, and results. Adding an abridged version to a case study enables you to attract a larger audience, by offering a quick-read for those short on time, and a longer version for those interested in the details. RichRelevance's case study also offers an impressive amount of information for those wanting to understand the nuances of their strategy, including a section titled "Fine-tuning Recommendations by Geography".
13. "Synapse Innovation" by Uniface
Customer Case Study: Synapse Innovation from Uniface
SlideShare is a platform that allows you to encourage engagement from your viewers -- which is likely why Netherlands-headquartered Uniface chose to use a SlideShare for their customer case study. As you click to the right you're able to easily read their process from challenge to solution, and they provide a link to the full case study, and their social media accounts, on the last slide. Since each slide only needs a few lines of text, the SlideShare feels especially digestible.
14. "StyleHaul" by Asana
While Asana's case study design looks initially text-heavy, there's good reason -- it reads like a creative story, and is told entirely from the customer's perspective. For instance, Asana knows you won't trust their word alone on their impressive customer service, so they let StyleHaul's SVP of Business & Network Operations, Drew, tell you instead: "Our Customer Success Manager, Michael, was amazing. If I had a question, I wasn't put into a queue—I could get it answered right away." The entire case study reads like an in-depth interview, and captivates the reader through creative storytelling.
15. "Patagonia" by Amp Agency
Amp Agency's Patagonia marketing strategy aimed to appeal to a new audience through guerilla marketing efforts and a coast-to-coast roadtrip. Their case study page effectively conveys a voyager theme, complete with real photos of Patagonia customers from across the U.S., and a map of the expedition. Personally, I liked Amp Agency's storytelling approach best, which captures viewers' attention start-to-finish simply because it's an intriguing and unique approach to marketing.
16. "Budweiser Influencer Marketing Case Study" by Anomaly
Budweiser's one page, poster-esque case study is a good reflection of a brand knowing its audience. Anomaly's case study for Budweiser appears edgy and modern, with a design that playfully pushes the text to the right as it showcases pictures of social media influencers wearing a campaign-related t-shirt. Both the top and the bottom of the page are eye-catching, and the text itself is simple and straightforward.
17. "Clinique" by AdRoll
Sometimes, starting with the results is the best way to capture your readers' attention. In Clinique's case study, AdRoll does just that, beginning with some impressive numbers: "8.5 Times ROI, 14 Times ROAS, 265% Amount of Sales". Once it has boldly outlined their results, AdRoll smartly pulls back to discuss the "Benefits of Personalized Ads", letting the viewer consider how these same benefits might help their own company.
The page is short and sweet and ends with a compelling call-to-action -- "AdRoll has generated revenues in excess of seven billion for its customers. Try it now." The clean, whitespace-heavy page is an effective example of using a case study to capture future leads.
18. "TEXTCARE" by The George Institute
The George Institute chose to display the case study for their program, TEXTCARE, in a documentary-style video with real people discussing how TEXTCARE helped them become healthier and more active. If your case study results benefited people, there's likely no better way to showcase that than through on-screen interviews.
19. "Reclaiming The Identity of a Brand: A Levi's Case Study" by Levi
If you've got a case study with dense text, one of the more creative solutions to breaking it up could be to organize it by pages. Levi's case study uses this method -- their page one, for instance, is labeled "Introduction", while page two is labeled "Weaknesses in the late 1990s". Each page tackles a different topic, and the design makes it feel more like reading a book than a business article.
20. "Red Sox Season Campaign" by CTP
What's great about CTP's case study page for their Red Sox Season Campaign is their combination of video, images, and text -- a video automatically begins playing when you visit the page, and as you scroll, you'll see additional embedded videos of Red Sox players, a compilation of print ads, and social media images you can click to enlarge. At the bottom, it says "Find out how we can do something similar for your brand." The page is clean, cohesive, and aesthetically-pleasing, inviting viewers to appreciate the well-roundedness of CTP's campaign for Boston's beloved baseball team.
21. "BIC: Bringing One Stop Shopping to BIC Razors" by Genuine
Sometimes, simple is key. Genuine's case study for BIC razor's is straightforward and minimal, with only two short paragraphs, "The Insight" and "The Solution", accompanied by two images. The simplicity of the page allows the reader to focus on the sense of humor in the text, like "Helping a consumer find their perfect match and making them smile along the way means gaining a brand loyalist for life. Or until they grow a beard." The page displays Genuine's brand personality well, while offering the viewer all the necessary information they'd need.
22. "Cisco Systems: Velocity to Value" by Apptio
An attention-grabbing title is one of the easiest, yet most effective, ways to help your case study stand out -- like Apptio's Cisco Systems case study, titled "Velocity to Value: A Mature IT Services Transformation Enables IT to Continually Simplify and Innovate." The piece is well-organized and uses compelling headers to keep the reader engaged, and offers a side panel for viewers who just need the bullet points. Despite its length, Apptio's case study is appealing enough to keep viewer's attention.
23. "Airbnb's Custom 360-view of the Customer" by Zendesk
Zendesk's Airbnb case study reads like a blog, and focuses equally on Zendesk and Airbnb, highlighting a true partnership between the companies. To captivate readers, it begins like this: "Halfway around the globe is a place to stay with your name on it. At least for a weekend." The piece focuses on telling a good story, and provides photographs of beautiful Airbnb locations. In a case study meant to highlight Zendesk's helpfulness, nothing could be more authentic than their decision to focus on Airbnb's service in such great detail.
24. "Herschel Delights with Hootsuite" by Hootsuite
If you didn't know this video was a case study for Hootsuite, you'd assume it was simply an artsy video capturing Herschel's startup success. The Herschel marketing team mentions Hootsuite, but they do it authentically and remain primarily focused on the appreciation they have for their social media community. This video doesn't have the feel of a traditional advertisement -- instead, it feels unique and true to Herschel, highlighting Hootsuite as both a helpful and unobtrusive partner.
25. "4 Content Marketing Success Stories [Infographic]" by Kapost
You don't always need a ton of text or a video to convey your message -- sometimes, you just need images. Kapost's infographic does a fantastic job of quickly providing the fundamental statistics a potential customer would need to know, without boggling down their readers with dense paragraphs. The infographic includes percentages, customer quotes, and colorful charts to provide the viewer with both numerical and emotional reasons they might choose Kapost.
Start creating your case study.
Now that you've got a great list of examples of killer case studies, think about a topic you'd like to write about that highlights your company or work you did with a customer. For more examples, check out these social media case studies.
Originally published Jan 3, 2020 1:34:00 AM, updated January 24 2020
How to Market an Ebook: Don't Let Your Content Offers Collect Dust
16 Important Ways to Use Case Studies in Your Marketing
10 Pieces of Content Your Audience Really Wants to See [New Data]


BSc (Hons) Chinese Medicine: Acupuncture (offered subject to LSBU validation).
These programmes provide an excellent understanding of acupuncture and the theories of Chinese medicine, Chinese language and culture, western biomedical sciences, research methodologies and the skills to be reflective and professional practitioner.
Our programmes combine the best of East and West. Elements of the Chinese medicine, language and culture modules are taught by experienced lecturers from China. The course is embedded in the Health and Social Care Faculty and offers a solid grounding in research methodology and an inter-professional learning experience.
This course is run by LSBU and the World's first Confucius Institute for Chinese Medicine, with our partners Heilongjiang University of Chinese Medicine and Harbin Normal University. The Confucius Institute is supported by the Chinese government to promote better understanding of China and Chinese culture. Students are entitled to apply for scholarship to complete further training in China.
To find out more please come along to our next open evening on Thursday the 10 May at 6pm in the K2 building, London South Bank University. You can also visit our Course Finder.
Alternatively please contact our Course Director Ian Appleyard via email or call him on 020 7815 8014.


I consider myself a potter. My craft is practiced and honed from daily studio practice at my current residency program at Cub Creek Foundation in Appomattox, Virginia. That being said, I am awestruck by the forces of nature. A strong interest exploring and looking at local geology is something I have never been able to control. I believe this to be the main driving force for my current body of work. Finding the perfect balance between rough rocky texture and a smooth feel in the hand is my goal. I want my work to be visually engaging that evokes a sense of adventure. I want the user to be engaged with my work and want to explore its surfaces. This forces the user to become intimate with the object that is used on daily basis.
I attempt to harness these geologic forces by using wood kilns. My goal is to use the flame pathways and high temperature affect my pots in a manner that reflects these rocky formations and mountain pathways I adore so much.


text:
Anthony Hernandez-Cano reads a letter to the families of the two men he tortured and killed in July. A judge sentenced him to life in prison at the Snohomish County Courthouse on Tuesday in Everett. (Andy Bronson / The Herald)
He tortured and killed two men 'for the flimsiest of reasons'
Anthony Hernandez-Cano, 18, will spend the rest of his life in prison without the chance of parole.
by Caleb Hutton
Wednesday, October 24, 2018 6:54am
Local NewsArlingtonMukilteo
EVERETT — In his first 18 years, Anthony Hernandez-Cano escaped the horrors of gang violence in Honduras. He will spend the rest of his years in prison.
Superior Court Judge Linda Krese ordered Hernandez-Cano to serve life behind bars without the possibility of parole Tuesday, for the torture and murders of two young men this summer.
Mohamed Adan, 21, of Seattle, was discovered beaten, burned and shot to death July 1, on the outskirts of Blue Stilly Park near Arlington.
The body of Ezekiel Kelly, of Everett, was found July 3 in a derelict home in Mukilteo. He'd been stabbed 27 times and shot in the head. He was 22.
Both were victims of Hernandez-Cano's jealous anger, according to the charges.
"This is as brutal, and sadistic, and cruel of a series of murders as I have seen," Deputy Prosecutor Craig Matheson said Tuesday. "The torture that both of these young men suffered at the hands of Mr. Hernandez-Cano, for the flimsiest of reasons — it is breathtaking."
Hernandez-Cano believed Adan had "snitched" on him about violating a no-contact order with his girlfriend. Later someone told Hernandez-Cano it was actually Kelly who reported him to police, according to court papers.
LaTonage Kelly (right) offers a hug in a Snohomish County courtroom Tuesday, moments after her son's killer, Anthony Hernandez-Cano, was sentenced to life behind bars. Mohamed Adan and Kelly's son, Ezekiel, were both killed in July. (Andy Bronson / The Herald)
Kelly's mother, LaTonage Kelly, told the court Tuesday that her son overcame a challenging childhood. He'd enrolled in a robotics program for people with autism at a local community college. He had a young daughter.
"Still, to this day, our hearts are torn in many pieces," Kelly's mother said.
The story of how the defendant arrived in Snohomish County is told in a 200-page biography submitted by his defense.
Hernandez-Cano's mother, a Honduran immigrant to the United States, gave birth on a visit back to her home country. Only his mother's name is on the birth certificate from 2000. The boy lived in Honduras with relatives, whom he said would beat him with a shovel or a belt.
"You can still feel the scars all over his back from being beaten," wrote Julie Armijo, an investigator for the defense. "He has seen friends killed in front of him."
Hernandez-Cano spent his school years skipping class and running with gangs.
At the time he emigrated in 2012, Honduras had the highest murder rate in the world, according to U.N. statistics. He moved to Gwinnett County, Georgia, in the suburbs of Atlanta. An early brush with the law came at age 13, when he and an older brother were arrested in a home burglary of Nike shoes. Again, he was tied to local gangs. Often he was in trouble at school.
In 2015, he brought a pocket knife to class, but claimed he didn't have plans to hurt anyone. He was expelled, and transferred to an alternative school. He told a forensic psychologist that he'd started smoking marijuana at 13 — "several blunts each day" — until he realized he needed to pass drug tests on probation. He acknowledged anger problems. He would run away, when he felt upset.
"Most notable," a forensic psychiatrist wrote, "is his inclination to be emotionally apathetic, to exhibit a bland and unfeeling quality that is evident in the faintness of his affectionate needs, and to be unable to experience or manifest much joy, sadness, or anger."
His probation ended in October 2016.
One month later, at age 16, he moved across the country to live with his girlfriend, Lendsay Meza. They'd been dating three years and were living in a Mukilteo apartment when he was booked into jail in June for violating a no-contact order.
Hernandez-Cano blamed Adan for the arrest. He recruited a friend and neighbor, Hassani Hassani, to help abduct Adan, court papers say. Hassani had feuded with Adan, too, when he accused the victim of trying to kiss his girlfriend.
Hernandez-Cano took photos of himself torturing Adan, then shot him.
The same week, Hernandez-Cano, Hassani and Meza kidnapped Kelly, according to charges. Court papers say Hernandez-Cano stabbed him, then handed a pistol to Hassani, who fired three rounds into his head.
Hassani and Meza are awaiting trial on aggravated murder charges.
Both times Meza's car was used to drive to crime scenes. It was caught on a security camera near Arlington, leading detectives to the group.
Hernandez-Cano entered a guilty plea in August to two counts of aggravated murder. Prosecutors agreed not to seek the death penalty, weeks before the state's capital punishment law was struck down. The only possible sentence was life in prison.
"These crimes are particularly heinous," Judge Krese said Tuesday. " … The reasons seem to be sort of for revenge, but for what, it's hard to account for. Certainly the indiscretion, or whatever it was Mr. Hernandez-Cano was upset about, seems to have been very minimal."
Hernandez-Cano's mother, Mirna, fought tears in court Tuesday, as she searched for words to say to the families of Adan and Kelly.
"I'm sorry," she said. "That's the only thing I can say right now. … I know, to everybody around here, he looks like a monster, but he's not."
Hernandez-Cano turned to the full courtroom gallery. He unfolded a letter he'd written. He spoke quietly and rapidly, in a 20-second apology.
Afterward, the grieving families embraced. Kelly's parents had brought a collage of portraits. One picture showed their son in a red cap and gown, ready for his future.
Caleb Hutton: 425-339-3454; chutton@heraldnet.com. Twitter: @snocaleb.
Proposed pay hikes for politicians are Eyman's newest target
Homecoming prince asks grandmother to Granite Falls dance
Eight candidates and one seat make for a primary scramble
Seven Democrats and a Republican are hustling for votes in Snohomish County Council District 2.
Herald photographers capture these moments in time.
Arlington man dies after motorcycle crash in Silvana
Speed may have contributed to the motorcycle hitting a power pole along Pioneer Highway.
State officials investigate 7 inmate deaths at Monroe prison
The Monroe Correctional Complex medical director was fired for misconduct in April.
206 apartments proposed near Arlington industrial center
The first land-use applications have been submitted. The plan shows units with up to three bedrooms.
New school's uniform requirement creates storm with parents
Tambark Elementary's policy has some up in arms at the Everett School District's newest campus.
Arlington City Council to discuss fireworks ban
Fireworks can now be discharged from 9 a.m. to midnight on July 4, and from 7 p.m. to midnight on Dec. 31.
Dig it! Old bones, new brews pair for fossil fun in Monroe
FossilEra, an online dinosaur bone retailer, will have a public showing with Dreadnought Brewery.
Early wake-up call: Twin quakes under Monroe rattle region
Thousands of people felt them. They were magnitude 4.6 and 3.5 and hit minutes apart.
Costco brings early plans to Lake Stevens in store proposal
More than 100 people gathered at the Thursday night meeting. Staff were there to answer questions.
New casino, hall, marina add to economic power of Tulalip
The most visible construction is the $125 million casino, on 15 acres just west of I-5.
Demolition moving fast on historic Judd & Black building
Built in 1892, the building burned last year in an unsolved arson. Now its walls are coming down for good.
Coffee's free, so is the banter at retired dairymen's hangout
Every morning except Sunday, the Craven brothers invite Snohomish Valley farm friends to join them.


text:
Q: How to move an object position in an Array of objects? I have an Array of objects in useState, I want to be able to move position up or down in the map loop.
  const data = [
    {id: 1, person: "John Doe"},
    {id: 2, person: "Jane Doe"},
    {id: 3, person: "Tom Bar"},
    {id: 4, person: "Jim Qux"},
  ]

  const [entries, setEntries] = useState(data)

I'm using this code I found online, it does move an object up if the the Array only contains two objects, if more than two it removes the rest.
  const moveUp = (index) => {
    if (index < 1 || index >= entries.length) {
      return;
    }

    setEntries(
      ([entries[index - 1], entries[index]] = [
        entries[index],
        entries[index - 1],
      ])
    );
  };

JSX:
{entries.map((item, index) => (

{item.person}

    <button onClick={() => moveUp(index)}>Move Up</button>

))}

A: Don't pass the assignment directly to setEntries. Instead, you can take the previous state, create a shallow copy, and then do the assignments with the copy.

const { useState } = React;

function App() {
  const data = [
    { id: 1, person: "John Doe" },
    { id: 2, person: "Jane Doe" },
    { id: 3, person: "Tom Bar" },
    { id: 4, person: "Jim Qux" },
  ];

  const [entries, setEntries] = useState(data);

  const moveUp = (index) => {
    if (index < 1 || index >= entries.length) return;

    setEntries((entries) => {
      entries = [...entries];

      [entries[index - 1], entries[index]] = [
        entries[index],
        entries[index - 1],
      ];

      return entries;
    });
  };

  return (

      {entries.map((item, index) => (

{item.person}

          <button onClick={() => moveUp(index)}>Move Up</button>

      ))}

  );
}

ReactDOM.render(<App />, document.getElementById("root"));


text:
home > worldwide public holidays > news and updates > india > this page
India 2017 Jammu and Kashmir Public Holidays Announced
Source: Government of Jammu and Kashmir (Srinigar)
Updated: Saturday, December 28, 2019
The Government of India's state of Jammu and Kashmir has announced its annual list of the days which will be non-working public holidays in India's state of Jammu and Kashmir for the upcoming calendar year 2017.
The aforementioned notification of the annual list of the days which will be non-working public holidays in India's state of Jammu and Kashmir for the upcoming calendar year 2017 ("List of the holidays for the calendar year 2017, under the Negotiable Instruments Ad, 1881"), are contained in a Government of Jammu and Kashmir Government Order No. 1346-GAD of 2016.
Below are links to the news stories referred to in the above "India 2017 Jammu and Kashmir Public Holidays Announced" news story, as well as links to subsequents news stories which refer to the present news story.
India public holidays news and updates
Worldwide public holidays news updates (December 2016)
India public holidays for 2020 2021 2022 2023 2024
2019-12-28: India 2020 Jammu and Kashmir Public Holidays Announced
2018-06-05: India 2018 Jammu and Kashmir Public Holidays Amended Again
2018-01-30: India 2018 Jammu and Kashmir Public Holidays Amended
2017-04-27: Indian 2017 West Bengal Buddha Purnima Public Holiday Official
2017-03-20: Indian Andhra Pradesh Also Mulls Ugadi Public Holiday Change
2017-03-04: Indian Telangana Mulls Ugadi Public Holiday Change
2017-02-16: Indian 2017 West Bengal Public Holidays Expanded


In order to promote the heritage of French Romantic music, in May 2016 the Palazzetto Bru Zane launched Bru Zane Classical Radio, a web radio accessible throughout the world. Twenty-four hours a day, Bru Zane Classical Radio webcasts a programme consisting entirely of music and reflecting the richness and variety of the French Romantic repertory over a period stretching from the 1780s to the end of the First World War. Every genre is represented, from chamber music to opera and operetta, from the orchestral and sacred repertories to the more intimate mélodie and romance.
While it also plays key works by famous masters, Bru Zane Classical Radio accords an important place to the rediscovery of less well-known composers. Its programme is drawn from a constantly expanding selection of titles, generally webcast in their entirety.
For music lovers who wish to increase their knowledge of French Romantic music, the radio player offers direct access to Bru Zane Mediabase, the online database of the Palazzetto Bru Zane, thus enabling them to consult information about the composers and works they are listening to.
The vocation of the Palazzetto Bru Zane – Centre de musique romantique française is to favour the rediscovery of the French musical heritage of the years 1780-1920 and obtain international recognition for that repertoire. Housed in Venice in a palazzo dating from 1695, specially restored for the purpose, the Palazzetto Bru Zane – Centre de musique romantique française is one of the achievements of the Fondation Bru. Combining artistic ambition with high scientific standards, the Centre reflects the humanist spirit that guides the actions of that foundation. The Palazzetto Bru Zane's main activities, carried out in close collaboration with numerous partners, are research, the publication of books and scores, the production and international distribution of concerts, support for teaching projects and the production of CD recordings.


The Garage Door Shop are a 100% Australian owned and operated company relied on by families all over Melbourne. With a clear focus on customer service and reliability, we offer on the spot service, repair and setup of all major brand names of garage door openers and remote controls.
Like most mechanical devices that are utilized daily, garage door motors will ultimately require some type of upkeep or repair and eventually replacement.
We will examine your requirements and choose the best garage motor replacement depending upon whether you have a single or double spaced garage and how old your garage door is. We will also evaluate your specific requirements when picking an appropriate garage door opener to make sure you get the very best outcome.
As soon as we have actually done our initial inspection we will advise you whether we have to change the motor or if we can merely repair your existing motor, potentially saving you money if replacement is not needed. All new products come with full manufacturer warranty.
The most common problems that occur with garage doors consist of: roller door ballooning, jamming, stuck closed or open, opens by hand not automatically, emergency release stuck, lock/key damaged, door heavy to raise, door dropping and not remaining in open position, remote control not working, motor running but door not moving, roller door loud or squeaking, undesirable noise, light not working, broken springs, hinges damaged, wheels bent.
If you have a garage door that has to be opened by hand, you will understand all too well how inconvenient it is. When it's dark and cold, it's raining or you're just simply tired from a long day at work, an automatic garage door is both practical and practical in all situations. An automated garage door also supplies you with added security as well as convenience at the push a button, enabling you to open the door, enter the premises and close the door without leaving your vehicle.
We have a large series of garage door motors to pick from and installing an automated garage door opener makes a fantastic present for your moms and dads, grandparents, partner or hubby, or even your kids!
An on-site visit to check your garage door is essential to properly quote just how much to set up a garage door opener from The Garage Door Shop. The aspects that we take into consideration consist of things such as:.
Garage door remotes have actually come a long way. What was once| the size of a cigarette pack now has the convenience of a small remote connected to your key rings. Push-button control security has actually stepped up with rolling code and tri code innovation which cant be duplicated, copied or cloned. If you are using separate push-button controls for you garages and gates we can have your garage doors and gate remotes function all from the one push-button control. Push-button controls have 4 buttons, and each button can trigger a gadget individually providing you that convenience of bring that one remote which does it all.
We stock the entire range of garage door openers as well as all garage opening accessories such as remote controls, cordless wall buttons and even upgrade kits for obsolete push-button controls.
Accessory devices are helpful when it concerns extending the performance and usability of your garage door opening system. We supply key ring type push-button controls, security pin code access pads, standby power systems as well as long range antennas to improve signal strength.
There is a solution to any push-button control concern you have. Call us on 8592 7954 for a fast action for replacements or upgrades to your existing garage remote controller. Alternatively, call us to find out just how much to set up a garage door opener.


text:
Saturday | June 07, 2003
Oh yeah, about that Afghan War....
Peacekeepers killed in Kabul blast
A car bomb has killed four international peacekeepers and injured dozens of other people in an apparent suicide attack on a bus in the Afghan capital, Kabul.
The force of the explosion threw the vehicle off the road, a few kilometres east of the city centre, near a base used by German and Dutch troops of the International Security Assistance Force (Isaf).
The attack is the deadliest assault on the Isaf force since it arrived in Afghanistan to support the government of Hamid Karzai after the removal of the Taleban.
President Karzai offered his condolences and said the peacekeepers had given their lives for the Afghan people.
Isaf had confirmed that three German soldiers had been killed before the German authorities said a fourth was also dead.
The other 29 peacekeepers on board the bus were injured, at least seven seriously, as were several Afghan civilians who were near the scene of the blast.
US military sources said the attack was carried out by a suicide bomber, who drove a taxi filled with explosives towards the bus, then blew it up.
The 33 peacekeepers were being driven to the airport to fly home to Germany after a six-month tour of duty in Afghanistan.
Afghan war 'far from over'
Stephen Cviic
US Deputy Secretary of State Richard Armitage has been having talks in Afghanistan with President Hamid Karzai. One-and-a-half years after the US and its allies took control, peacekeepers are on the ground but the war is far from over.
Afghanistan today is a patchwork of local fiefdoms, mostly run by former militia leaders or warlords.
These local rulers owe nominal allegiance to the central government in Kabul, but despite this they often behave independently.
Kabul itself is a special case because it is home to President Karzai and to an international peace-keeping force of 5,000 men.
There are real doubts that the Taleban can be fully defeated and local warlords' power broken
In addition to the international peace-keepers, there are a total of 8,000 US troops on the ground in Afghanistan, involved mainly in military operations.
The war in Afghanistan is far from over.
The Taleban have regrouped in rural areas of the south, and there has recently been an upsurge in violence around the city of Kandahar.
Many Western aid workers have left the area in fear for their lives.
So this is the great victory we had in Afghanistan? Yeah, taking over Iraq sure has scared those terrorists.
Posted June 07, 2003 08:31 AM | Comments (45)


Discussion in 'iOS Apps' started by gscal, May 7, 2009.
Wow, this took forever! It was submitted on 8/25/08 (apparently), but the Moop Sounds Funny update 2.0 is finally out!
We really appreciate the support of our users.
I noticed the final "Wa" in the "Wa-wa-wa-wa" sound was finally updated. Thank you! That was one of my pet peeves.


text:
Q: Parsing JSON with GSON I'm having some trouble with GSON, mainly deserializing from JSON to a POJO.
I have the following JSON:
{
    "events":
    [
        {
            "event":
            {
                "id": 628374485,
                "title": "Developing for the Windows Phone"
            }
        },
        {
            "event":
            {
                "id": 765432,
                "title": "Film Makers Meeting"
            }
        }
    ]
}

With the following POJO's ...
public class EventSearchResult {

    private List<EventSearchEvent> events;

    public List<EventSearchEvent> getEvents() {
        return events;
    }

}
public class EventSearchEvent {

    private int id;
    private String title;

    public int getId() {
        return id;
    }

    public String getTitle() {
        return title;
    }
}

... and I'm deserializing with the following code, where json input is the json above
Gson gson = new Gson();
return gson.fromJson(jsonInput, EventSearchResult.class);

However, I cannot get the list of events to populate correctly. The title and id are always null. I'm sure I'm missing something, but I'm not sure what. Any idea?
Thanks

A: OK, I figured this out. I attest this to a long day of coding with little sleep the night before!
The "events" data structure contained multiple "events", which each contain an "event" type. I had to move the EventSearchEvent under a new class called EventContainer. This event container contained one field "event". This "event" was the "EventSearchEvent". THerefore, when GSON iterated over the JSON array, it saw the Container (which is of type "events") and then inside of that object it looked for a "event" member. When it finally found that it loaded up the id and title appropriately.
The short of it: I didn't have my object hierarchy built correctly.


Chronicle Collectibles is proud to announce our partnership with Summit Entertainment, a Lionsgate Company to bring to life the Blood Oath Marker Set from John Wick: Chapter 2. It was showcased at San Diego Comic-Con® last year at the Chronicle Collectibles booth #3229 and there are still a few left! This set includes a 1:1 prop replica of the Blood Oath Marker and 4 gold Continental coins.
The Blood Oath Marker and Continental Coins were cast directly from the screen used props. This set was designed in conjunction with Lionsgate Entertainment.
NOTE: The Blood Oath Marker's hinge will allow it to open at a maximum of approximately 45 degrees.
™ & ©2018 Summit Entertainment, LLC. All Rights Reserved.


Corcoran closes in on the parties responsible for the kidnapping and murder of young Five Points men. As the pressure to capture the culprits grows, he is forced to choose between fealty to the badge and loyalty to loved ones. Francis Maguire embraces his new position in the underworld, rapidly climbing the ladder of New York City's criminal elite. Robert Morehouse and Elizabeth Haverford exchange vows - though the evening will prove to be nothing like either anticipated.


text:
<?php namespace Enginebit\Meta;

use DateTime;
use Illuminate\Database\Eloquent\Model;

class Data extends Model {

	/**
	 * @var array
	 */
	protected $fillable = ['key', 'value'];

	/**
	 * @var array
	 */
	protected $dataTypes = ['boolean', 'integer', 'float', 'string', 'null'];

	/**
	 * Whether or not to delete the Data on save
	 *
	 * @var bool
	 */
	protected $deleteOnSave = false;

	/**
	 * Whether or not to delete the Data on save
	 *
	 * @param bool $bool
	 */
	public function deleteOnSave($bool = true)
	{
		$this->deleteOnSave = $bool;
	}

	/**
	 * Check if the model needs to be deleted
	 *
	 * @return bool
	 */
	public function isDeleted()
	{
		return (bool) $this->deleteOnSave;
	}

	/**
	 * Set the value and type
	 *
	 * @param $value
	 */
	public function setValueAttribute($value)
	{
		$type = gettype($value);

		if (is_array($value))
		{
			$this->type = "array";
			$this->attributes['value'] = json_encode($value);
		}
		elseif ($value instanceof DateTime)
		{
			$this->type = "datetime";
			$this->attributes['value'] = $this->fromDateTime($value);
		}
		elseif ($value instanceof Model)
		{
			$this->type = "model";
			$this->attributes['value'] = get_class($value) . (! $value->exists ? '' : '#' . $value->getKey());
		}
		elseif (is_object($value))
		{
			$this->type = "object";
			$this->attributes['value'] = json_encode($value);
		}
		else
		{
			$this->type = in_array($type, $this->dataTypes) ? $type : 'string';
			$this->attributes['value'] = $value;
		}
	}

	public function getValueAttribute($value)
	{
		$type = $this->type ? : 'null';

		switch ($type)
		{
			case 'array':
				return json_decode($value, true);
			case 'object':
				return json_decode($value);
			case 'datetime':
				return $this->asDateTime($value);
			case 'model':
			{
				if (strpos($value, '#') === false)
				{
					return new $value;
				}

				list($class, $id) = explode('#', $value);

				return with(new $class)->findOrFail($id);
			}
		}

		if (in_array($type, $this->dataTypes))
		{
			settype($value, $type);
		}

		return $value;
	}
}


victory valance curtains blue glow home decor online.
victory valance curtains swag curtain ideas window valances this debutante rodeo home uk.
victory valance curtains swag with long jabots valances window treatments custom storyhome online.
victory valance curtains swag kitchen long how to make swags and tiers cheap next home uk.
victory valance curtains plum home and bedding.
victory valance curtains swag pattern free attractive curtain valances with regard to and short window patterns plans next home.
victory valance curtains swag home uk.
victory valance curtains swag curtain window tutorial home automation uk.
victory valance curtains swag zara home uk.
victory valance curtains how to make a swag waterfall image of hang with home saaz online.
victory valance curtains home and bedding port talbot.
victory valance curtains valances and swags jabot what is a curtain modern home pictures.
victory valance curtains how dainty home uk.
victory valance curtains gilded glamour swag in carnival also available sapphire home choice images.
victory valance curtains swag mist 2 scoop home automation uk.
victory valance curtains kids curtain rails custom valances draperies online inch long swag how to sew garden delight home ideas.
victory valance curtains swag valances for bedroom country new coffee tables home centre online.
victory valance curtains country dkny home uk.
victory valance curtains swag curtain ideas shower how to hang medium size window valances home limited.
victory valance curtains swags and curtain ideas for homemade.
victory valance curtains luxury sunny swag curtain home centre dubai.
victory valance curtains touch of class valances full swag window drapery drapes and styles contemporary modern curtain ideal home beddings.
victory valance curtains ivory home bargains bedding and.
victory valance curtains rouge 3 scoop swag home furnishing online india.
victory valance curtains swag free pattern floral essence 3 scoop curtain for kitchen windows modern home pictures.
victory valance curtains swag next home and bedding.


text:
Max Cloud (2020)
Watch Max Cloud (2020) Online
A space cruiser crashes on a planet that is home to an intergalactic prison.
Genre: Action, Comedy, Science Fiction
Director: Martin Owen
Actors: Elliot James Langridge, Franz Drameh, John Hannah, Lashana Lynch, Sam Hazeldine, Scott Adkins, Tommy Flanagan
A group of heroic warriors has only six days to save the planet in "Mortal Kombat Annihilation." To succeed they must survive the most spectacular series of challenges any human,…
Genre: Action, Adventure, Fantasy, Science Fiction, Thriller
Just when his time under house arrest is about to end, Scott Lang once again puts his freedom at risk to help Hope van Dyne and Dr. Hank Pym dive…
Genre: Action, Adventure, Comedy, Science Fiction
Crank: High Voltage (2009)
Chelios faces a Chinese mobster who has stolen his nearly indestructible heart and replaced it with a battery-powered ticker that requires regular jolts of electricity to keep working.
Bad Taste (1987)
A team from the intergalactic fast food chain Crumb's Crunchy Delights descends on Earth, planning to make human flesh the newest taste sensation. After they wipe out the New Zealand…
After a nuclear holocaust tears the world apart, mankind is forced to the harshness of not only the oppression of others who are much more powerful, but the dead earth…
Genre: Action, Animation, Drama, Science Fiction, Thriller
The 51st State (2001)
Elmo McElroy is a streetwise American master chemist who heads to England to sell his special new formula – a powerful, blue concoction guaranteed to take you to 'the 51st…
Silent Rage (1982)
A mentally ill man in a small Texas town goes on a killing rampage and is fatally wounded by police. When doctors use an experimental serum to bring him back…
Bulletproof (1996)
An undercover police officer named Rock Keats befriends a drug dealer and car thief named Archie Moses in a bid to catch the villainous drug lord Frank Coltan. But the…
The Assassin's Code (2018)
A rookie detective, son of a dead disgraced cop, works to solve his first major case while under the watchful eye of a ghost-like assassin.
Peter Parker is going through a major identity crisis. Burned out from being Spider-Man, he decides to shelve his superhero alter ego, which leaves the city suffering in the wake…
Country: Ireland, Switzerland, UK, USA
Post Apocalyptic Commando Shark (2018)
In the post-apocalyptic future, the world is at war. The newly instated Soviet Russian Army has invaded the USA with the assistance of an evil German scientist who has created…
Trailer: Max Cloud (2020)


Hyderabad, 21 March 2014: For the admissions test Candidates need to book a slot for online test. Candidates can book a convienient date and time for test.
Hyderabad, March 21: Karnataka based privately run Manipal University has launched online test booing system — known as Manipal OTBS for the admission in to professional courses like MBBS, BDS, B.Tech, B.Pharma, Pharma D courses for the academic year 2011. The OTBS will open at 9.30 am on March 21, 2011 onwards.
As per the information available on official website of the University, students need to take care of the following.
Online Test Booking System (OTBS) is a real time web based online scheduling system.
The schedule bookings are done on first come first basis and are subject to availability.
You can login to OTBS with your application number and password.
In case of non-availability of slots in a centre of choice, the candidate may choose to book a slot in an alternate centre.
A slot once booked cannot be changed. Requests for change of test centre, date and slot will not be entertained under any circumstances.
A slot once booked cannot be changed. Requests for change of test centre, date or slot will not be entertained under any circumstances.
Also, if for any reason, including poor response of candidates for appearing at a particular centre, a test centre has to be cancelled, the candidates who had opted for that centre will be allotted another centre. The Manipal University will inform such candidates individually.
The online test booking system is available only to those eligible candidates who have submitted the application forms complete in all respects on or before the last date mentioned for the respective courses.
It is the responsibility of the candidate to book their test schedule in ONLINE TEST BOOKING SYSTEM in the given time frame. Manipal University will not be accountable for the non-bookings. The entrance test fee will not be refunded under any circumstances for such cases.
The confirmation mail will be automatically sent to the email address after the candidate has booked his/her schedule through the online test booking system.
No candidate will be allowed to appear twice for the same entrance test in a year. In the event of such attempt, their candidature will be cancelled and they will be liable to be debarred from taking examination either permanently or for a specified period to be decided by the Manipal University. Manipal University reserves the right to withhold the result of such candidates.
Eligible incomplete application (For example: Declaration not signed, left thumb impression not taken, course/s not mentioned, DD not enclosed, DD wrongly drawn, Internship date not mentioned, Photographs not affixed on the application etc.) will not be processed. Manipal University will not take responsibility to inform these candidates. Such candidates will not be able to access the Online Test Booking System.
Candidates are hence advised to ensure that the application is duly filled and dispatched along with other enclosures complete in all respects.


Early-onset hip osteoarthritis is commonly seen in people undergoing hip arthroscopy and is associated with increased pain, reduced ability to participate in physical activity, reduced quality of life and reduced range of motion and muscle strength. Despite this, the efficacy of non-surgical interventions such as exercise therapies remains unknown. The primary aim is to establish the feasibility of a phase III randomised controlled trial investigating a targeted physiotherapy intervention for people with early-onset hip osteoarthritis. The secondary aims are to determine the size of treatment effects of a physiotherapy intervention, targeted to improve hip joint range and hip-related symptoms in early-onset hip osteoarthritis following hip arthroscopy, compared to a health-education control.This protocol describes a randomised, assessor- and participant-blind, controlled clinical trial. We will include 20 participants who are (i) aged between 18 and 50 years; (ii) have undergone hip arthroscopy during the past six to 12 months; (iii) have early-onset hip osteoarthritis (defined as chondrolabral pathology) at the time of hip arthroscopy; and (iv) experience hip-related pain during activities. Primary outcome will be the feasibility of a phase III clinical trial. Secondary outcomes will be (i) perceived global change score; (ii) hip-related symptoms (measured using the Hip disability and Osteoarthritis Outcome Score (HOOS) pain subscale, activity subscale, and sport and recreation subscale); (iii) hip quality of life (measured using the HOOS quality of life subscale and International Hip Outcome tool; (iv) hip muscle strength and (v) hip range of motion. The physiotherapy intervention is semi-standardised, including joint and soft tissue mobilisation and stretching, hip and trunk muscle retraining and functional and activity-specific retraining and education. The control intervention encompasses individualised health education, with the same frequency and duration as the intervention. The trial primary end-point is the conclusion of the 12-week intervention, and follow-up measures will be collected at the 12-week post-baseline assessment.The findings of this study will provide guidance regarding the feasibility of a full-scale phase III randomised controlled trial, prior to its undertaking.The trial protocol was registered with the Australian Clinical Trials Registry (number: 12614000426684 ) on 17 April 2014.


text:
President, PM and ruling party leader with highest trust of Poles
ajk/rg 09.09.2019, 09:05
New Israeli ambassador wants Poland and Israel to "move on"
Poland marks 157th anniversary of January Uprising
Teach kids 'the educational uses of smartphones': expert
Main commemorations should take place in Poland: Auschwitz Museum director
Presidential Aide: 'history is a field of struggle with Russia'
Putin's words distort historical truth: Duda for Financial Times
Toshiba to open factory in Poland
Poland represents whole of Central-Eastern Europe at Davos: bank head
Polish Martian rover wins competition in India
US displeased with Israel not allowing Polish President to speak
Recent research conducted by IBRiS pollsters shows that Polish President Andrzej Duda remains the most trusted politician in Poland, even though he recorded a drop in trust.
Analysis: ruling party promises end of low wage economy
The ranking shows that 44.5 percent of those researched trust the Polish head of the state, while 43.7 percent do not. He is the only politician who has a higher factor of trust than mistrust.
However, the President recorded a drop of 4.3 percentage points in trust, while the number of those who do not trust him increased by 5.9 percentage points, compared to the previous IBRiS research. President Andrzej Duda was a PiS MP and MEP and has supported the ruling party since taking office.
In the second place in the ranking is the Polish Prime Minister Mateusz Morawiecki. A total of 41.9 percent of respondents say that they trust him, while 49.9 percent do not. He also recorded a decrease in the percentage of people trusting him (by three percentage points) while the number of people feeling mistrust increased by 6.8 percentage points.
Jarosław Kaczyński, the leader of the ruling Law and Justice party, is in third place. A total of 37.1 percent of those researched trust him (0.5 percentage points less than in the previous poll), while mistrust is felt by 55 percent of respondents (4.1 percentage points more).
The first politician in the ranking who is not associated with the ruling party is Donald Tusk who is in fourth place with 31.6 percent of trust. The outgoing head of the European Council recorded also mistrust at 50.9 percent.
Just behind him is Małgorzata Kidawa-Błońska, a top member of Civic Platform, who recently was nominated as a candidate for the Prime Minister if the opposition coalition wins the election. An amount of 30.3 percent of Poles trust her, while 36.3 percent do not.
source: Onet, PolandIN


Antivirus efficace et tection anti- ransomware incluse. All content is focused on the latest s: It' s free. Suite de sécurité pour tège le PC et la navigation protection la plus complète. Useful tips & tricks latest news, license keys, activation codes, free downloads, support, comparison reviews much more.
Farbar Recovery Scan Tool FRST is a portable application designed to diagnose malware issues. Please note that for antiviruses that have some kind of realtime protection it is not nesesary to add any settings in fitez de votre vie numérique en toute liberté! Promo sur votre antivirus.
Avast scan downloads automatically. Much as you would be used to with the other product yes it does scan the components of archive files/ install files. ) do a call to ashQuick.
Qui est le Meilleur Antivirus Gratuit? However performance may be affected somewhat depending on your system configurations especially if you execute multiple scans simultaneously. Pour tous vos tection complète pour la famille.
It protects you in real- time by analyzing unknown files before they get to you. Avast Antivirus comes with several pre- defined scans as well as the option to create your own custom scans and you can also create your own custom scans.
It is an available. Read this comprehensive, fact- based comparison to make a smart decision. So relax: With Avast, you' re running the most trusted antivirus out there. Your PC is now optimized fast clean.
Avast Free Antivirus is an efficient and comprehensive antivirus program. We not only give you the best of Avira' s technology, fitez de votre vie numérique en toute liberté! Appareils illimités.
It' s also got an all- new, refreshingly simple design that shows you exactly how you' re protected. Rediscover what peak performance feels like. For scanning and live protection consider downloading Malwarebytes. Free Antivirus is a free complete ICSA certified antivirus software for home noncommercial use.
Dfndr security ( pronounced " defender" ) with more than 130 million installations globally is a top- rated antivirus software by the AV- TEST Institute. Easy to install easy to use no other free antivirus comes close. Pavel Baudis and Eduard Kucera founded ALWIL Software in 1988 when they released their first Avast anti- virus program. Your download will start automatically If not please click here: Avast Free Antivirus 10.
Exe It provides a status of the components scanned/ infected etc. Cons: Scheduled scans no longer count as a scan of the computer it may ( no proof, the aforementioned scheduled scans DO NOT run on schedule just anecdata) interfere with Malwarebytes Antimalware scans. Also available for 32- Bit. Avast Free Antivirus raises the bar on security with real- time protection passwords, intelligent threat- detection, added security for your network browser.
The following is a list of 30 freeware programs that I cannot live without. It protects you in real- time by. And I don' t have any other function ( download manager, etc. Exe to scan the download. Avast scan downloads automatically. Jan 25 · dfndr security is an anti virus anti- hacking app for Android with performance optimization dedicated to keeping your smartphone safe from hackers. I wanted this to be the one page a reader can turn to get all the essential free programs they need to install on a new computer.
It is one of the most popular antivirus programs available thanks to the reliable trustworthy brand that Avast have created. What does that mean for me downloads etc. It now includes real- time security updates performance issues, scans for both malware even catches malicious downloads before they reach your PC.
Put simply while malware is an umbrella term which is used to refer to a variety of forms of. When it comes to free antivirus for Windows computer your friends will mostly recommend you either Avast Free Antivirus, AVG AntiVirus FREE Avira Free Antivirus. Avast markets its computer security products as " anti- virus, " while Malwarebytes calls its tools " anti- malware. It is an adjustable antivirus.
Automatically discover weaknesses in our home Wi- Fi. Find all those holes which enable malware to slip in passwords to unusual add- ons , from insecure settings outdated software. First, you have to go through Zen to get to the antivirus. Avira Avast which antivirus software is a better option in?
Scheduling an Automatic Scan in Avast – Detailed Scan Results Now you have setup a pretty good automatic scan which will keep your computer clean without bothering you. Avast scan downloads automatically. Then, there' s no progress bar for when it.
Avast scan downloads automatically. Refer to the following sections for details about antivirus scans. Avast Antivirus provides a range of scans to protect your PC from malware. More than a simple virus cleaner, dfndr security antivirus for Android is packed with.
Generally, running a scan does not noticeably affect system performance. " " What' s the difference between viruses and malware?
But which one of them is the best? The key features that continue to make Avast Free Antivirus so popular are the easy UI.
Wi- Fi Inspector. Améliorez la Sécurité de votre PC avec un antivirus efficace & Simple.
Today we' ll walk you through step by step, how you can EASILY setup your system to automatically do a recurring daily, monthly ERAL QUESTIONS ABOUT IDM FUNCTIONS , weekly PROBLEMS How can I configure my virus scanner to automatically scan files downloaded with IDM? You now have Free Security Suite. You can also create your own scan and specify the parameters. Obtained VB100% awards in Virus Bulletin comparative reviews under Windows. Fully loaded and refreshingly simple Our free antivirus software just got even better. Automatically send suspect files for investigation in the cloud push a cure to all Avast users if it' s a threat. Paid Anti- virus Programs. It is also possible to run FRST in the Windows Recovery Environment in order to diagnose and fix boot issues.
With free tune- up utilities. I told my download manager in Firefox to pass the downloaded file for scanning to: C: \ Program Files\ Alwil Software\ Avast4\ ashQuick.
Meilleur Logiciel Antivirus Gratuit. Avast scan downloads automatically. Améliorez la Sécurité de votre PC avec un antivirus Puissant, Léger & Simple! Thank you for using OldApps.
From time to time we only suggest to check the scan logs if everything is working as should. In this ultimate guide Avast, as well as how both software compare in terms of malware protection, you' ll see what' s included in different security products offered by Avira , impact on system performance, user interface, cost prehensive fansite about Avast Antivirus – the World' s most popular antivirus. Picture this: your PC boots quickly programs load easily you have enough free space.
Meilleure protection et meilleure performance. Our Review of Avast Internet Security. Part 3 of the Complete Avast AntiVirus Series!
All are completely for free and offers plenty of advanced features. Other Thoughts: I used to like AVG but then it changed.
Each Avast- loaded device is a source of. Easy to install, effortless to use.


text:
Q: Updating UIProgressView's progress dynamically Following is the scenario for updating my progressview.
My problem is that my last progressbar gets updated only .....

*

*The viewcontroller is having button when touched starts download from ftp server.
when immediately touched navigates to another view controller where uitableview is showing the different download in progress .

*i Put UIProgressView in UITableViewCell dynamically.

*I am implementing it in this way....
-- // cellForRowAtIndexPath
 // adding progressview to cell
progressBar = [[UIProgressView alloc] initWithProgressViewStyle:UIProgressViewStyleBar];
progressBar.hidden=NO;
progressBar.tag=123+indexPath.row;
progressBar.frame = CGRectMake(250,170,350,25);
progressBar.progress=0.0f;

*Updating progressview's progress in
at end of cellForRowAtIndexPath
like this ......
   [NSTimer scheduledTimerWithTimeInterval:0.001f target:self selector:@selector(refreshProgress) userInfo:nil repeats:YES];

*// implementation of refresh progress......
    -(void)refreshProgress
    {

UITableViewCell *cell=(UITableViewCell *)[tempArray objectAtIndex:1];
NSString * int_index=[tempArray objectAtIndex:0];
FTPManager *objFTPMgr = [[FTPManager alloc] init];
int index1=[int_index intValue];
UIProgressView *prgView=(UIProgressView *)[cell viewWithTag:index1];
prgView.progress = [objFTPMgr putProgress];
[objFTPMgr release];
[prgView reloadInputViews];
    }

If any one has solution please do write to this thread
Thnx in advnce
Paggy 123

A: I don't know how many progresviews you have, but with the method refresProgress, you only call the progress view of the cell of tempArray[1];
You have to subclass a UITableViewCell,and make a method in there with a refreshProgresbar. Then you can loop through the current cells and do a refresh.


Our logs can be bought for £70 in large builders bags also known as 'dumpy bags'.
Customers often prefer us to leave the logs in the bags when we deliver to keep them contained and we are happy to do so. When we deliver your next load we can take your old bag away and re-use it.
No charge for local delivery.
We also sell bags of dried kindling for £5 per bag.
Please call Brian on 07774647899 to order and for any enquiries..


Leah gets her first caning! Our lovely Leah gets people to spank her in her spare time. In this video, she shows us how she does it! But she gets more than she bargains for, and some of these spankings are absolutely harsh! Watch Leah get spanked by men and women, over-the-knee, bent over, and kneeling. She gets spanked, strapped, paddled, flogged, and caned! And her friend Kriss gets spanked, too! Leah wanted to be caned, and she got the first caning of her life in this video from a real English master! It was so painful that she could hardly speak because she was whimpering so hard! This video is packed with spanking action and it's almost an hour long! Watch for all the surprises!


text:
package org.dmfs.httpessentials.entities;

import org.dmfs.httpessentials.types.StringMediaType;
import org.dmfs.iterables.EmptyIterable;
import org.dmfs.iterables.elementary.Seq;
import org.dmfs.jems.pair.elementary.ValuePair;
import org.dmfs.rfc3986.parameters.parametersets.EmptyParameterList;
import org.junit.Test;

import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.UnsupportedEncodingException;

import static org.dmfs.jems.hamcrest.matchers.optional.PresentMatcher.present;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;

/**
 * @author Marten Gajda
 */
public class XWwwFormUrlEncodedEntityTest
{
    @Test
    public void testContentType()
    {
        assertThat(new XWwwFormUrlEncodedEntity(new EmptyIterable<>()).contentType(),
                is(present(new StringMediaType("application/x-www-form-urlencoded; charset=\"UTF-8\""))));
        assertThat(new XWwwFormUrlEncodedEntity(new EmptyParameterList()).contentType(),
                is(present(new StringMediaType("application/x-www-form-urlencoded; charset=\"UTF-8\""))));
        assertThat(new XWwwFormUrlEncodedEntity(new EmptyIterable<>(), "latin1").contentType(),
                is(present(new StringMediaType("application/x-www-form-urlencoded; charset=\"latin1\""))));
        assertThat(new XWwwFormUrlEncodedEntity(new EmptyParameterList(), "latin1").contentType(),
                is(present(new StringMediaType("application/x-www-form-urlencoded; charset=\"latin1\""))));
    }

    @Test
    public void testContentLength() throws UnsupportedEncodingException
    {
        assertThat(new XWwwFormUrlEncodedEntity(
                new EmptyIterable<>()).contentLength(), is(present(0L)));

        assertThat(new XWwwFormUrlEncodedEntity(
                        new Seq<>(new ValuePair<>("key", "valueäöü"))).contentLength(),
                is(present((long) "key=value%C3%A4%C3%B6%C3%BC".getBytes("UTF-8").length)));

        assertThat(new XWwwFormUrlEncodedEntity(
                        new Seq<>(
                                new ValuePair<>("key1", "valueäöü"),
                                new ValuePair<>("key2", "value/+ "))).contentLength(),
                is(present((long) "key1=value%C3%A4%C3%B6%C3%BC&key2=value%2F%2B+".getBytes("UTF-8").length)));
    }

    @Test
    public void testEmptyContent() throws IOException
    {
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        new XWwwFormUrlEncodedEntity(new EmptyIterable<>()).writeContent(out);
        assertThat(out.toByteArray(), is("".getBytes("utf-8")));
    }

    @Test
    public void testUtf8Content() throws IOException
    {
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        new XWwwFormUrlEncodedEntity(new Seq<>(new ValuePair<>("key", "valueäöü"))).writeContent(out);
        assertThat(out.toByteArray(), is("key=value%C3%A4%C3%B6%C3%BC".getBytes("utf-8")));
    }

    @Test
    public void testUtf8Content2() throws IOException
    {
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        new XWwwFormUrlEncodedEntity(new Seq<>(
                new ValuePair<>("key1", "valueäöü"),
                new ValuePair<>("key2", "value/+ "))).writeContent(out);
        assertThat(out.toByteArray(), is("key1=value%C3%A4%C3%B6%C3%BC&key2=value%2F%2B+".getBytes("utf-8")));
    }

    @Test
    public void testLatin1Content() throws IOException
    {
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        new XWwwFormUrlEncodedEntity(new Seq<>(new ValuePair<>("key", "valueäöü")), "latin1").writeContent(out);
        assertThat(out.toByteArray(), is("key=value%E4%F6%FC".getBytes("latin1")));
    }

}


text:
Home » News & Guides » Irish economic crisis takes a further twist
Irish economic crisis takes a further twist
The coalition government operating in Ireland has been significantly weakened overnight with news that a key independent deputy will no longer vote with the government. This could not have come at a worse time for the Irish authorities who seemed last week to have some kind of handle on the economic crisis with many believing the worst was possibly over. However, if the government is unable to push through unpopular budget cuts then this could delay any potential recovery and place the country's sovereign debt credit rating in danger.
All of the political parties in Ireland need to be pulling in the same direction to ensure that the economy is given the best chance of recovery. Any infighting within the political arena is almost certain to spill into the business arena and impact upon the short to medium-term performance of the Irish economy. After a difficult week when a number of prominent investment companies have stepped forward with concerns about the Irish economy it seemed to end on a high note with some investors turning more positive. However, today's news of political uncertainty will do nothing to steady the nerves of investors in the Irish economy.
Is David Cameron losing the support of the UK electorate?
Over the last few weeks it has become apparent that more and more questions are being asked of David Cameron and his relatively young Conservative party cabinet. At a time when Gordon Brown was quite literally on his knees, handing what looked like a general election win to the Conservative party, David Cameron has failed to make as much of this situation as possible and indeed today we stand on t... Read More
Pound strengthens against Dollar, after Tory majority
The pound Sterling has hit a two month high against the dollar after news of a Tory majority in the general election. The value of the pound rose to the highest level since the end of February, adding 1.75% against the dollar overnight. The FTSE 100 also responded in a positive manner and was up by over 100 points by midday. According to analysts, the main factor behind the growth is the fa... Read More
ASDA rewards staff with £1.6 million bonus scheme
UK supermarket giant Asda has today announced a £1.6 million bonus scheme which will see staff with a minimum of three years service receive an average bonus of £130. When you consider the average Asda employee has been with the operation for five years, it would appear that the vast majority of those working for the Wal-Mart subsidiary will benefit financially.
At a time when man... Read More
Alistair Darling admits sterling is in freefall
Earlier this week we had the Bank of England suggesting that the UK economy was sluggish at best and still in a consolidation period at worst. Then we saw Alistair Darling commenting upon the UK budget deficit and national debt, a subject which has for some time been one that was ignored by the Labour Party. However, today Alistair Darling has readily admitted that the UK government does not have... Read More
Is inflation making a comeback?
Economic figures this week are set to show that inflation has rebounded from recent lows with concerns it could become a major issue in the medium to longer term. Depending upon which inflationary measure you use, the UK rate of inflation has been negative or just above zero for some time but with UK base rates still at 0.5% there is a feeling that the increase in the price of oil and other elemen... Read More
University Overdraft limit Debt help Investment Help with pensions Financial advice Offshore Inflation Calculator Interest Pensions Offshore banking Debt Income Mortgages Overdraft Jisa Saving for retirement Bank accounts Credit card Pension Investment news Income protection Bank Help SIPP Divorce Interest rates Financial Investments


text:
The Curse of Bond 25?
Posted by Sarah at June 5, 2019 16:33:42 June 5, 2019 16:33:42
Is Bond 25 cursed? First there was the director drama, then that spectacularly ill-timed live-launch event— these were the harbingers, the warnings that Bond 25 had run afoul of some ancient chthonian curse, it's the part of the story where the old timer shows up to warn you to "turn back now". But Bond 25 did not turn back, and now it is in the grip of a full-blown curse meltdown. It began when Daniel Craig broke his ankle, halting production. This has happened to other movies (see also: RDJ/Iron Man 3), but it's never ideal when a production has to go rework its production schedule to allow for the star to recuperate and yet stay on track for the projected release date. It was relatively easy for Star Wars: The Force Awakens to work around Harrison Ford when he got injured on set as he was not the star of that movie. But there's only so much Bond 25 can shoot before they need their Bond back.
But wait, it gets worse! Yesterday, the official Bond Twitter announced that a "controlled explosion" went wrong, allegedly blowing apart a section of the soundstage, and leaving a crew member injured. The Twitter announcement is sure to include that it is a "minor injury", but STILL. Blowing up your set and injuring people is Not Great, Bob. This production is clearly cursed and it seems anything that can go wrong will go wrong.
As for how it seems to be going, well, there was a report that the script is being rewritten on the fly as they film, with Fukunaga, Craig, and Phoebe Waller-Bridge forming a committee to write dialogue last-minute. The production was called a "well-polished sh-t show", so that's encouraging. Whenever it is reported that a movie is rewriting on the fly, everyone always points to Iron Man as proof this can work, and Mad Max: Fury Road too could be included in that category, but you never want this to be the standard. Generally, writing as you go is a big fat warning sign that the production is not going well. With Bond 25, we have like, five big fat warning signs that the production is not going well, and rewriting on the fly isn't even in the top three. Bond 25 has been delayed once already, to give director Cary Fukunaga a chance to shape the movie to his liking—though it does not seem he got enough time if he is rewriting on the fly. Maybe they should take another break and have an exorcism.
Slaven Vlasic/ Roy Rochlin/ Getty Images
Tags: Cary Fukunaga , Daniel Craig , Movie Reviews and Previews
Bond producers Barbara Broccoli and Michael G. Wilson reckon with the end of Daniel Craig's tenure in Variety interview
Rian Johnson developing Knives Out sequel following holiday season success of the first film
'No Time to Die' James Bond trailer released and there's hope