text:
Euros Dominant in Mosconi Cup Romp
Team Europe captured its fourth Cup in five years with a one-sided victory in Las Vegas.
(Story by Luke Riches; photos by JP Parmentier-Matchroom Sport)
EUROPE has successfully defended the PartyPoker.net Mosconi Cup following a convincing 11-7 victory over the USA at the MGM Grand in Las Vegas. It was Holland�s Niels Feijen, in his seventh Mosconi Cup, who downed the winning 9 ball, sparking mayhem as his teammates flooded the arena.
It also delivered Feijen the Most Valuable Player award, achieved for two singles and two doubles wins.
"It got a bit shaky but they went in,� he said of his 6-3 victory over Rodney Morris to seal the Mosconi Cup. �I just want to thank the crowd, the British and Europeans, and you need them to make it. There were some immense moments and thanks to the coach for doing a super job.�
The Americans, who had trailed 10-5 at the start of the day, won the opening two games to leave the Europeans looking a little edgy.
"Even this morning, there was pressure on us and we knew they would come out strongly. There was some heat to get over the finish line but these guys are just so good,� Feijen said.
"Being the Most Valuable Player is something I've been dreaming about for 7 years, every year I've played in it."
Johnny Archer, playing in his 15th Mosconi Cup was stoical in defeat. "We lost a couple of matches we should've won and they blitzed us in a few matches,� he said. �We all gave it our best and will do it again next time. Hats off to their team, they hung in there when things didn't look good."
The opening match of the day saw Shane Van Boening put in an excellent performance to keep U.S. hopes alive as he comfortably beat Nick van den Berg, 6-2. The South Dakota Kid kept his team in the competition on Saturday night when he beat the same opponent in a close match, but this time he pulled away from a 2 -2 tie to take the victory.
Still fighting, a dogged display from veteran Johnny Archer kept Team USA�s hopes alive as he downed Darren Appleton, 6-3. The Scorpion took the opening two racks before he missed a 4 ball in the third to give Appleton a great opportunity which he accepted to take his first rack of the night. However, a loose safety gave Archer the opportunity in the next, which he converted to move into a 3-1 lead. That soon became 4-1 as the 4 ball kicked the 9 ball into the center pocket for the second golden break of the tournament.
A poor break shot from Appleton gave Archer every chance in the sixth game but he missed a bank shot on the 5 ball and Appleton made it 2-4.
He took the seventh but Appleton missed a cut on the 2 ball in the next though and Archer held his nerve to reach the hill. He completed a break and run to seal the victory and reduce the deficit to three.
It was left to Feijen to bring home the title for Team Europe as he faced off against Morris. The Hawaiian had not been at his best this week, but had showed flashes of his top form at times.
A poor safety from Morris gave Feijen an opportunity in the opener but he scratched, drawing the ball down table and into the centre pocket and Morris, with ball in hand, ran out. Feijen took the next with a tidy run out and went into a 2-1 lead when Morris scratched on the break and handed him an open table.
Another excellent run out, this time from Morris, leveled the score at 2-2, before Feijen took the lead, thumping a tricky 9 ball into to the top corner pocket. He increased that lead as he was given ball in hand after a Morris foul and Europe were two racks away from glory.
That became one rack as Feijen took the next before a dry break from the Dutchman gave Morris a chance in what was a high quality match, and the Hawaiian ran through the table to reduce arrears to 5-3.
Morris broke in the next and with the table open, he missed a horrible pot on the 2 ball. Feijen though, with nerves creeping in, missed it himself. Finally a shocking safety from Morris on the 5 ball was to prove to be the Americans last contribution to the event as Feijen ran out for a glorious victory.


text:
Siemens Mobility secures Deutsche Bahn's ICE 4 train maintenance contract
Knorr-Bremse to deliver equipment for ECx passenger trains
Bombardier wins $192m maintenance contract from China Railway
Putting Passengers First: how UK railway contractors are becoming more user centric
Iran's Esfahan Steel signs agreement to export rail tracks to Afghanistan
Patriot Rail Company to acquire US short line operator SLGW
CSX to acquire regional railroad system Pan Am Railways
Dr D Wehrhahn
The Bi-Oceanic Corridor: a new railroad to rival maritime freight?
Eva Grey 30 April 2018	(Last Updated February 5th, 2020 13:33)
Talks regarding a possible transnational railway that would link the Pacific and Atlantic oceans across South America have been intensifying in recent months, hinting that the Central Bi-Oceanic Railway Corridor could become a reality. If greenlit, the megaproject is expected to completely overhaul South America's trade and political landscape, and put landlocked Bolivia at the heart of future negotiations.
Known as the Central Bi-Oceanic Railway, the planned 3,000km route would run from the port of Puerto Santos in Brazil to Puerto de Ilo in Peru. Credit: Google Maps
During a 2013 meeting between Bolivia's President Evo Morales and his Chinese counterpart Xi Jinping, the concept of a transnational megaproject was born, one that would join the Atlantic and Pacific Oceans by means of a modern railway, spelling the end for the current monopoly maritime shipments have on trade.
Known as the Central Bi-Oceanic Railway, the planned 3,000km route would run from the port of Puerto Santos in Brazil to Puerto de Ilo in Peru, crossing 1,700km of Bolivian territory in between.
Due to its reach and projected trade benefits, the megaproject has been dubbed 'the Panama Canal of the 21st century', as well as drawing comparisons with Qhapaq Ñan, a historic 35,000km network that reached Argentina, Chile, Colombia and Ecuador and gained UNESCO World Heritage status in 2014.
Since its conception, several feasibility studies have already been completed and all three South American countries involved have greenlit the project, and the Union of South American Nations (UNASUR) gave it its full backing.
While it's still too soon for a fixed completion date, UNASUR secretary general Ernesto Samper Pizano hinted that in 2021, the railway would transport approximately seven million people and nearly 10,000 tons of cargo, "with great possibilities of rapid increase". Meanwhile, separate reports indicated the inauguration date could be 2025, when Bolivia celebrates the 200th anniversary of its independence.
During their meeting at this year's Summit of the Americas in Lima, Morales and Peru's President Martin Vizcarra discussed accelerating construction of the Bi-Oceanic train. "A commission will work so that there is a meeting of transport ministers or public works ministers to define the finances and pre-investments of the project," Morales said.
Their eagerness comes as no surprise: once completed, the corridor will substantially alter the region's geo-political and trade relations, and will do away with the maritime monopoly currently in place.
Changing the face of Latin American trade
Throughout its coast-to-coast journey, the train will traverse rough terrain, including mountain slopes in the Andes, rivers and flood-prone regions, as well as the Amazon forests.
China's interest in the project comes as little surprise. During his 2015 tour of Latin America, Xi Jinping pledged $250bn in investment in Latin America over the next ten years as part of a drive to boost influence in a region long dominated by the United States.
The project would make it far easier and cheaper to transport commodities from Latin America to China, particularly iron ore and soybeans from Brazil and minerals such as gold and copper from Peru.
The world's worst train disasters
At home, the railroad would be an equally big win. According to the Economic Commission for Latin America and the Caribbean (ECLAC), South America's countries should invest annually 6.2% of their gross domestic product (equivalent to $320bn) in order to satisfy their infrastructure demands before 2020.
"The biggest winner would no doubt be landlocked Bolivia."
The biggest winner would no doubt be landlocked Bolivia, which is why the country is spearheading the necessary research into the commercial prospects, environmental impact and construction. Currently, the country is involved in an ongoing fight for coastal access with Chile, since its lack of easy access has left Bolivia at the mercy of neighbouring economies. The Bi-Oceanic Corridor is therefore expected to drive economic growth, improve the capacity of trade relations in the region, and allow the exploitation and industrialisation of its natural resources.
Similarly, Peru's former President Ollanta Humala said the project would "consolidate Peru's political position as a natural gateway to the South American region" for China, a major trading partner.
For Brazil, the railway is expected to cut transportation time and reduce the cost of shipping grain to China by approximately $30 per ton. In addition, the new east-west connection will provide a welcome addition to Brazil's current rail network, which runs mostly from north to south. Transporting goods towards the west, instead of the Atlantic, will allow from the strain to be lifted from the overloaded sea ports and adjacent infrastructure.
Interest gathering from abroad
As expected, the corridor is primed to be one of the largest infrastructure projects of the century, and as such, contract offers have already started pouring in.
According to local publication Gestión, the prospect of building the corridor in the near future stirred an "enormous interest" in Spanish companies, with 40 of them taking part in an information day organised by the Foreign Trade Institute of Spain and the Commercial Office in Bolivia.
In February, Bolivian public works minister Milton Claro also mentioned the involvement of a Swiss-German consortium made up of more than 30 companies as investors.
In the meantime, while the financing still remains to be revealed pending further negotiations, the project has had a number of evaluations completed already. Engineering and consultancy firm Ineco (which also lists other big projects such as HS2 in the UK and Saudi Arabia's Haramain High Speed train project) has compiled an environmental assessment, focusing on the ecological and social impacts the route would have in Bolivia. According to Ineco's website, the study was carried out between 2013 and 2014 and "aims to safeguard the vast natural heritage in the region, which consists of a multitude of natural areas with high biodiversity and improve the quality of life of Bolivian people."
"The project has generated concern among local environmentalists, with warnings issued that the 'room for error verges on the catastrophic'."
Indeed, the project has generated concern among local environmentalists, with dire warnings issued that the "room for error verges on the catastrophic". After all, the corridor bears similarity to the Interoceanic Highway, which has recently made headlines for the deforestation of 680,000 acres of Amazonian rainforest in its path.
A press release published by the Regional Group on Financing and Infrastructure (which represents four civil society organisations from Latin America and the Caribbean) warns that four of the five possible routes of the Bi-Oceanic Railway cross natural protected areas or indigenous reserves.
César Gamboa, executive director of Peru's Environment and Natural Resources Law, criticised the lack of transparency involved in revealing what the economic and geopolitical implications the project will have.
Whether the full assessment of its commercial, ecological and social impact will be released soon remains to be seen. Meanwhile, negotiations carry on as the project is still on the drawing board, and more diplomatic visits are expected before any ground is broken. Nevertheless, the Bi-Oceanic Corridor's length, ambition and potential to re-write the rules of international trade certainly make it one of the rail industry's most exciting projects to watch in the years to come.
Abetong
Concrete Ties and Railway Sleepers
TRB Lightweight Structures
Lightweight Interior Solutions for Railway Applications
Weighwell Engineering Ltd
Static and In-Motion Train Weighing Systems

redpajama_set_name: RedPajamaCommonCrawl


Introducing the new collection "LAST DROP" – a collection of pots and jewelry that deals with the moment of transformation when an object changes its present form by adding the last drop. Do they have another use after changing their state? The Sacred Heart, baroque clouds and a golden egg – the main motifs of the collection, three different forms of "containers" that symbolize three different possible beginnings and ends. A selection of the past collections LURE, FLOWERS, SUPERPOWERS, LE GRAND JEU, HIDDEN PLACE and ABRAKADABRA can also be seen.
Jeweler and designer Janja Prokić was born in Serbia, but since 1993 has lived in Prague, where she studied at the Academy of Art, Architecture and Design in Prague in the studio K.O.V. of Eva Eisler. She is a laureate of the Czech Grand Design 2014 award in the Jewelry category.


text:
Q: Looping Buttons and alerting values Why wont this console log the values on click?! its coming up undefined.
as this isn't a arrow function this should be the div it clicks on?

let boxes = document.querySelectorAll('.box');
for(var i=0;i<boxes.length;i++) {
  boxes[i].addEventListener('click',function(e) {
    console.log(this.value)
  })
}

1

2

3

4

5

6

A: div does not have any property called value.You can check it from here. If you still want to use it then use getAttribute

let boxes = document.querySelectorAll('.box');

for (var i = 0; i < boxes.length; i++) {
  boxes[i].addEventListener('click', function(e) {
    console.log(this.getAttribute('value'))
  })

}

1

2

3

4

5

6

A: Try like this for the value in the div :
   console.log(this.innerHTML)

For the value the  in attribute
   console.log(this.getAttribute('value'))

redpajama_set_name: RedPajamaStackExchange


O Toaster! What the hell with thee is wrong?
Thy kind hath served my kind for decades long.
That decades bond, though, weareth thin of late.
I feed thee bread, thou feedest toast to me.
From time to time I empty out thy tray.
And for thy part, thou toasteth every day.
Oh toaster, wherefore doth thou taunt me so?
How hard it is to toast I'll never know.
Thy forebears issued toast when they were fed.
Unlike thy forebears thou destroyest bread.
Oh toaster, look here, where's your self-control?
I did not ask for bread as black as coal.
to two point five, but this is clearly three.
Oh toaster, what is this upon my plate?
Thou offered up thy contents far too late.
You did your job not wisely but too well.


Clinkz, the Bone Fletcher, is a ranged agility hero specializing in ambushing lone enemies due to his high physical damage and incredible speed. Though frail and easy to kill, Skeleton Walk grants Clinkz stealth and haste to escape and re-position himself. This skill is also what makes Clinkz such an incredible ganker. This assassin is also equipped with Strafe boosting his attack speed to insane levels for a short time. Searing Arrows provide huge bonus damage, greatly injuring enemies in conjunction with Strafe. To aid his assault, Clinkz can summon an Burning Army of fiery bone archers who cut down his foes with powerful arrows.
Play "Better to run than curse the road."
Does not disjoint projectiles upon cast, or upon enemy projectile launch. They are disjointed upon reaching Clinkz.
This means when Strafe expires before an already launched projectile hits, it does not get disjointed and fully affects Clinkz.
Does not disjoint projectiles coming from allies. This includes enemy projectiles that bounce off of allies onto Clinkz.
The disjoint takes place before evasion, Spell Block and Spell Reflection do, meaning they cannot trigger on projectiles during Strafe.
Successive casts of Strafe do not stack, but refresh the duration, and update the attack speed to the current level.
Can be cast on buildings but not on wards and allied units.
Choosing the damage upgrading talent immediately upgrades all of Clinkz's currently flying Searing Arrows.
When choosing the level 25 talent, whenever Searing Arrows is used, a different random target within its cast range is also targeted by a second Searing Arrow.
Since it uses the spell's cast range, effects which increase its cast range increase the secondary arrows' range as well.
The secondary arrow has no target priorities. It simply chooses a random valid target within cast range.
Since Searing Arrows affects buildings, the secondary arrows can target buildings as well.
Skeleton Walk does not interrupt Clinkz' channeling spells upon cast.
During the fade time, Clinkz can cast spells, use items and perform attacks without breaking the invisibility.
Allows Clinkz to path through other units, including wards, but not through buildings.
Clinkz can pick up or drop items without breaking the invisibility.
Burning Army can be cast without having to face towards the targeted area.
Spawns the archers in the given line one after another, starting immediately upon cast.
It takes 2.4/3.2/4 seconds for all archers to spawn.
The first archer spawns at the initial targeted location. Following archers spawn with 416.67/312.5/250 in between each.
The archers spawn facing the same direction as Clinkz does as they spawn.
The spawned archers cannot be controlled. They automatically attack nearby enemy heroes, regardless of auto-attack settings.
However, it is possible to turn the autocast on their Searing Arrows off.
The attack damage of the archers is periodically set equal to the main attack damage of Clinkz.
This means raw attack damage bonuses are not copied, only base attack damage, and damage gained by the primary attribute is copied.
The attack range of the archers is also periodically set equal to Clinkz' attack range.
The archers only attack heroes, including illusions and clones, excluding creep-heroes.
The archers follow default auto-attack rules. However, they only switch targets when their current target cannot be attacked anymore.
The archers have Searing Arrows, with the same level as on Clinkz.
The level for it is set for each archer as it spawns. Leveling it afterwards does not update its level on the archers.
Although being identical to Clinkz's Searing Arrows, and having a mana pool, the archers do not need mana to cast it.
The archers fully benefit from the Searing Arrows damage and Searing Arrows multishot talents.
The archers do not block neutral creep camps.
As Clinkz loosed his final arrow, the demon Maraxiform ignited the land with hellfire, burning him to the bone. Yet, the heroic bowman did not die. He had slain the demon, and unwittingly earned king-mage Sutherex's reward: Eternal life. Immortalized at the precipice of death, Clinkz now makes advantageous use of his skeletal body. Camouflaged, he walks into hostile lands, revealing himself only to Strafe enemies from behind. The demon's inferno burns within his ribs, with which he now lights Searing Arrows to devastating effect. When backup is needed, Clinkz calls upon a Burning Army of skeletal archers, incinerating his foes in the flames of their hellfire barrage.
Bone Fletcher's alternate/fun name was "Clinkz Eastwood", a pun on the name of famed actor Clint Eastwood.
The line Play "Better to run than curse the road." is a reference to a Wolof (Senegal) proverb, "Better to walk than curse the road".
The phrase Play "Thy Flesh Consumed." may be referred to the fourth and final episode of Ultimate Doom game, and also to King James version of the Bible "And thou mourne at the last, when thy flesh and thy body are consumed" PROVERBS 5:11.
Clinkz's phrase Play "Ashes to ashes." is a reference to a common christian saying, popularized by the Book of Common Prayer "[...]we therefore commit his body to the ground; earth to earth, ashes to ashes, dust to dust;[...]".


MCSD 70-486 Find the right MCSD Developing ASP.NET MVC 4 Web Applications for you. Free Microsoft in VCE & PDF format also you can read online. Pass 70-486 exam at the first try. Download 70-486 Book Premium. Free Exam Test & For Sale Product: 925872 9.6 stars, based on 3981 reviews10 Regular price: $76.65 $45.99 (Sale ends 5 November! ) Available from: gooexam.com Condition: Previously owned, in excellent condition In stock! Order now!
Testking 70-486 Pdf Online Salaries Cliffs List.
Like most young scribblers, she went abroad for her characters and scenery, and banditti, counts, gypsies, nuns, and duchesses appeared upon her stage, and played their parts with as much accuracy 311-203 Answers and spirit as could be 70-486 expected.
By much trampling, we had made MCSD a mere quagmire.
If they haven Exam Test , MCSD Book a pleasure to comfort the poor souls, and keep them from despair when they find MCSD Book Yes, indeed, and there Book another class who can Exam Test ask, and who suffer in silence.
No, 100% Pass don Exam Test Microsoft 70-486 Book , was Jo Book decided answer, as she petted the fat poodle, whom she had adopted, out of respect to his former mistress.
To Jo alone did the shy child 70-486 Book Cliffs List tell her thoughts, and over her big harum scarum sister Beth unconsciously exercised more influence than anyone in the family.
On rushing in a body HP0-D09 Actual Examination Questions to the cellar, we discovered our beloved President prostrate upon the floor, having tripped and fallen while getting wood for domestic purposes.
You know Mother told us 70-486 Software not to forget Book said Beth, ten days after Book March Book departure.
When another asserted something that 100% Pass thought an error, 100% Pass deny Book myself the pleasure of contradicting him abruptly, and of showing immediately some absurdity in his proposition and in answering 100% Pass began by observing that 1Z1-553 Dumps Pdf in certain cases Exam Test 070-466 or circumstances his opinion would be right, but in the present http://www.realexampdf.com/70-680.html case there appear Book or 000-117 Exam Materials seem Book to me some difference, Book 100% Pass soon found the advantage of this change in my manner the conversations 100% Pass engag Book in went on more pleasantly.
Well, 100% Pass was wild to do something for Microsoft 70-486 Book Father, replied Jo, as they gathered about the table, for healthy young people can eat even in the midst 70-486 Learn Courses of trouble.
Pleased with the Pilgrim Book Progress, my first collection was of John Bunyan Book works in separate little volumes.
Why don Exam Test you 70-486 Book Pdf do something splendid, and make her love you 100% Pass 70-486 Book Exam Test did my best, but MCSD was no Book Graduating well, you mean That was no more than you ought to have done, for your grandfather Book sake.
Jo gave a sort of gasp, as if a cold shower bath had suddenly 70-486 Book fallen upon her, for such an unexpected turning of the tables actually took her breath away.
Miss Norton had the entree into most society, which Jo would have had no chance of seeing but for Book The solitary woman felt an interest in the ambitious girl, and kindly conferred many favors of this sort HC-011-811-CHS Realexam both on Jo and the Professor.
A SAD ACCIDENT On Friday last, we were startled by a violent shock in our basement, followed by cries of distress.
In returning, 100% Pass met at New York with the votes of the Assembly, by which MCSD appear Book that, notwithstanding his 70-486 PDF&VCE promise to me, he and the House were already in high contention and MCSD was a continual battle between them as long as 70-486 Book he retain Book the government.
Speak low, and tell me all about Book That Moffat hasn Exam Test been 100% Pass, 100% Pass hope asked Book March rather sharply.
The next, The theory of the book is bad, full of morbid fancies, 1Z0-874 Prep Guide 70-486 Book spiritualistic ideas, and unnatural characters.
MCSD has already annihilated all the tribes who 70-486 Book formerly inhabited the sea coast.
She tried to call Laurie, but her voice was gone.
Now 100% Pass Laurence is looking up at the sky and the weathercock.
Bent on showing that he was not offended, he made 312-92 Dumps Pdf himself as agreeable as possible, wound cotton for Book , recited poetry to please Jo, shook down cones for Beth, 70-486 Certificate Software and helped Amy with her ferns, proving himself a fit person Developing ASP.NET MVC 4 Web Applications to belong to the Busy Bee Society.
70 Professor 70-486 Exam Materials McMaster tells us that when Franklin was American Agent 70-486 Exam Guide in 70-486 Test Prep France, his lack of business order was a source of annoyance to his colleagues and friends.
That felicity, when 100% Pass reflected on MCSD, has induced me sometimes to say, that were MCSD offered to my choice, 100% Pass should have no objection to a repetition of the same life from its beginning, only asking the advantages authors have in a second 70-486 Test Answers edition to correct some faults of the first.


Schoharie County is one of the healthiest counties in the Mohawk Valley, according to a new health survey published by the Robert Wood Johnson Foundation at the University of Wisconsin Population Health Institute.
Calculating the overall health of counties nationwide, the County Health Rankings & Roadmap program looks at a variety of factors in determining their rankings for Health Outcomes and Health Factors, which Schoharie County receives mixed grades on.
Ranking number one for Health Outcomes in the Mohawk Valley and 14th overall statewide, Schoharie County receives good marks for both the longevity and quality of its citizens lives. Dominant factors include overall mental and physical health.
The same can not be said for Health Factors, which measures each county's health behavior, clinical care, social and economic factors, and physical environment. Schoharie County dropped down to 33rd statewide, but only second overall in the Mohawk Valley.
Data for the study's findings were compiled using a variety of federal and state resources. The purpose of the rankings is to encourage a proactive approach to health related issues by county governments nationwide.
For more information please visit the 2015 County Health Rankings for New York.


text:
Q: Objective-C - method for bool from webservice I have this web service:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>

And I have this method here:
-(void)deviceCheck:(NSString *)device Completetion:(void (^) (NSArray * result,NSError * error))completion{
    NSString *deviceRequestString = [NSString stringWithFormat:@"%@?device=%@",webservice,device];
    NSURL *JSONURL = [NSURL URLWithString:deviceRequestString];
    NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:JSONURL];
    NSURLSessionDataTask * dataTask = [[NSURLSession sharedSession] dataTaskWithRequest:request
                                                                      completionHandler:^(NSData * _Nullable data, NSURLResponse * _Nullable response, NSError * _Nullable error) {
                                                                          if(data == nil){
                                                                              completion(nil,error);
                                                                              return;
                                                                          }
                                                                          NSError *myError;
                                                                          NSArray *tableArray = [[NSArray alloc]initWithArray:[NSJSONSerialization JSONObjectWithData:data options:kNilOptions error:&myError]];
                                                                          completion(tableArray,myError);
                                                                      }];
    [dataTask resume];
}

but when i call this:
[self deviceCheck:[[UIDevice currentDevice] name] Completetion:^(NSArray *result, NSError *error) {

            if(result == nil){

                UIAlertController *alertController = [UIAlertController alertControllerWithTitle:@"Message" message:@"Device is not valid." preferredStyle:UIAlertControllerStyleAlert];

                UIAlertAction* ok = [UIAlertAction actionWithTitle:@"OK" style:UIAlertActionStyleDefault handler:nil];
                [alertController addAction:ok];

                [self presentViewController:alertController animated:YES completion:nil];

            }else{

            }
}];

The result is nil.
What am I doing wrong here? How would I call this web service that is a boolean.
I did an NSLog on error:
Error Domain=NSURLErrorDomain Code=-1022 "The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.

Fixed that error with this: https://github.com/meteor/meteor/issues/4560
Error Domain=NSCocoaErrorDomain Code=3840 "JSON text did not start with array or object and option to allow fragments not set."

A: You are using NSJSONSerialization to parse the response of your web service. But your web service is returning XML and not JSON.
So what you want to do is either see if your web service can return JSON responses or change your code to parse that XML response.
You can use the built-in NSXMLParser class to parse the XML response. But it is low level and will require a good amount of code.

A:
The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.

Since iOS9, Apple requires you to talk HTTP to properly configured SSL endpoints. If your web service is not using a proper SSL endpoint then you need to fix that.
If you cannot fix your web service to use a good SSL configuration then you must think hard about wether this is a good idea. If your service is accessible over plain HTTP without SSL then it is trivial for attackers in many scenarios to listen in and even modify calls to your web service.
If you would like to make an exception to the App Transport Security requirements then you can do so in your application's Info.plist file. This is well documented in the App Transport Security Technote
Personal opinion: Disabling ATS completely, by setting NSAllowsArbitraryLoads to YES, is not a solution. It is usually a lazy workaround that possibly puts your users at risk. Specially in 2015 where unwarranted surveillance, identity theft and data breaches happen more often than you wish for.


text:
Matt Rhule Not Pleased With Panthers In Dress Rehearsal
Sep 4, 2020 05:56 PM | Updated Sep 4, 2020 06:01 PM | 0 comments
Just over a week before their season opener against the Las Vegas Raiders, the Panthers and head coach Matt Rhule held a mock gameday at Bank of America Stadium Friday afternoon. This gave the team the opportunity to see what a game during the 2020 season, specifically one with no fans in the stadium, will be like – the scoreboard was on, the music (and the fake crowd noise) was pumping, there was even a halftime break. Everything was ready to see how prepared the Panthers were to take on the Raiders.
It seems the team has a lot to work on before Sept. 13.
Rhule was quick to share his displeasure with reporters after the scrimmage.
"We did not play like a team that was excited to be out there," Rhule said. "I felt like it was not the requisite level needed to play at a high level. That's something we will have to learn from. I thought the younger guys played with energy and passion and, at times, played well. But I was not overly pleased with the starters, which always goes back to the coaching staff and myself."
Photo Credit: Brandon Todd/Carolina Panthers
That's certainly not the type of vote of confidence anyone wants to hear nine days before their season opener. The Panthers needed to have a simulated gameday for a variety of reasons.
Players who are used to drawing energy from the fans will now have to create their own energy both before and during the games – the roar of the crowd can provide that extra boost of adrenaline on a given play, but with the majority of NFL stadiums mainly empty this fall, in-game energy is going to need to be intrinsically generated.
Rhule knows that in a training camp with no preseason, there are going to be mistakes – he isn't worried about the errors – those are going to happen. It's the lackadaisical attitude from the starters, who are supposed to be leading their team, that he's worried about.
"Football is a game of mistakes," Rhule said. "Teams get way better as the year goes on. What you will see in the National Football League this year is [that] who teams are in Week 1…is not who they're going to be. We have been practicing together for weeks now. We will get better and better. At the end of the day, at your core as a football player, we want to be a team that always plays hard with passion and energy."
"And that was a little bit of a challenge today. Music not real loud, no one in the stands. We are going to have to create our own energy and we are going to have to play at a high level. So that's more of my concern. I'm not concerned with the mistakes. Mistakes happen all the time in football. It's about who plays harder to overcome the mistakes."
Rhule wasn't the only person who thought the Panthers didn't perform up to their potential. The players also felt like something was missing during Friday's dress rehearsal.
"We agreed with Coach Rhule," said WR Curtis Samuel. "We felt like we didn't come out initially with that energy like it was game day. We don't want to start out slow. We want to get out there [even with] no fans and create our own energy. We can't just be out there running around going through the motions, it is time to get ready for a game. So Coach Rhule was right."
Related: Dear David Tepper, Don't Make A Huge Mistake
"Next time, we just have to find the energy within ourselves, feed off each other, listen, whatever we have to do to get our minds right for a game."
Friday was the final opportunity for Panthers players to show what they had before the mandatory cut down. On Saturday, the Panthers, like 31 other teams, have to trim their roster down to 53 active players.
Rhule and Panthers general manager Marty Hurney may decide to release some players on Friday, and the rest on Saturday afternoon. A lot of those players released could return to the team's practice squad as it will increase from 10 to 16 players due to the pandemic.
Moving forward, Rhule says he just wants to see more consistency as the season draws closer.
"I think the most important thing is a lot of them aren't happy about how it went," Rhule said. "I shared my feeling both on the field, [at] halftime, and at the end of the game – we move forward and move on from it."
"If you want to have great moments, you have to have some bad moments. We don't want it to be winning and losing by just watching. [I want it to be where you] can't tell if we are winning by 20 or losing by 20 if you see us play – that's truly playing the game at the purest form. We don't want to make a lot of decisions about [whether] we feel like playing, [whether] we don't feel like playing, we just want to go out there and be the same [team] everyday."
Related: Quick Blitz Episode 22: Movers & Shakers
A better team than they were on Friday afternoon.
(Top Photo Via Carolina Panthers)


text:
by Rascal Flatts
Album: Me And My Gang (2006)
Charted: 50
You feel like a candle in a hurricane
Just like a picture with a broken frame
Alone and helpless, like you've lost your fight
But you'll be all right, you'll be all right
Cause when push comes to shove
You taste what you're made of
You might bend till you break
'Cause it's all you can take
On your knees, you look up
Decide you've had enough
You get mad, you get strong
Wipe your hands, shake it off
Then you stand, then you stand
Life's like a novel with the end ripped out
The edge of a canyon with only one way down
Take what you're given before it's gone
And start holdin' on, keep holdin' on
'Cause when push comes to shove
Then you stand, yeah, then you stand
Every time you get up
And get back in the race
One more small piece of you
Starts to fall into place
Yeah, then you stand, yeah
Yeah, baby
Woo hoo, woo hoo, woo hoo, woo hoo
Then you stand, yeah, yeah Writer/s: Blair Daly, Dan Earnest Orton
Publisher: BMG Rights Management, RESERVOIR MEDIA MANAGEMENT INC, Songtrust Ave, Universal Music Publishing Group, Warner Chappell Music, Inc.
More songs from Rascal Flatts
More songs about perseverance
Stand Songfacts
Rascal Flatts Artistfacts
Adonica from Clarkesville, Gai love this song
Can't Get You Out Of My HeadKylie Minogue
Kylie Minogue's "Can't Get You Out Of My Head" received more airplay during the 2000s than any other song in the UK.
FrankensteinEdgar Winter
"Frankenstein" by Edgar Winter got its name because it was a monster to edit; they pieced it together like Frankenstein's monster.
Girl CrushLittle Big Town
"Girl Crush" by Little Big Town came from the hashtag #girlcrush, which its co-writer, Lori McKenna, spotted on Instagram.
Born to be AlivePatrick Hernandez
In 1979, Madonna was a dancer on Patrick Hernandez' tour, where she boogied to his hit "Born To Be Alive."
Watching The DetectivesElvis Costello
Lyrically, Elvis Costello's "Watching The Detectives" was inspired by American detective shows; musically, it was inspired by The Clash.
Ain't No SunshineBill Withers
"Ain't No Sunshine" by Bill Withers was inspired by the Jack Lemmon movie Days of Wine and Roses.
Brian Kehew: The Man Behind The RemastersSong Writing
Brian has unearthed outtakes by Fleetwood Mac, Aretha Franklin, Elvis Costello and hundreds of other artists for reissues. Here's how he does it.
Motley CrueFact or Fiction
Was Dr. Feelgood a dentist? Did the "Crüecifixion" really happen?
Narada Michael Walden - "Freeway of Love"They're Playing My Song
As a songwriter and producer, Narada had hits with Aretha Franklin, Whitney Houston, Mariah Carey and Starship. But what song does he feel had the greatest impact on his career?
Don Brewer of Grand FunkSongwriter Interviews
The drummer and one of the primary songwriters in Grand Funk talks rock stardom and Todd Rundgren.
Shaun Morgan of SeetherSongwriter Interviews
Shaun breaks down the Seether songs, including the one about his brother, the one about Ozzy, and the one that may or may not be about his ex-girlfriend Amy Lee.
DevoSongwriter Interviews
Devo founders Mark Mothersbaugh and Jerry Casale take us into their world of subversive performance art. They may be right about the De-Evoloution thing.


text:
Ask the Doctors Men's Health
Ask the Doctor: Benign Prostatic Hypertrophy
By Megan • December 30, 2021
Prostate health topics are important to discuss with a doctor, but for many people, it is difficult to have these conversations with their health care provider. At Washington University School of Medicine in St. Louis, urologic surgeons diagnose and treat enlarged prostate – also called benign prostatic hypertrophy (BPH). Charles U. Nottingham, MD, of Washington University Urology, answers questions about BPH. The medical term for an enlarged prostate is benign prostatic hyperplasia (BPH). An enlarged prostate is not a medical problem, but it is a condition patients should understand. Treatment options exist to reduce the symptoms of urinary obstruction that may occur as a result of BPH.
What is benign prostatic hypertrophy?
A benign prostatic hypertrophy (BPH), also known as an enlarged prostate, is a condition where the prostate is larger than the average prostate size. Variation in organs and tissues does not indicate a health problem, because some differences exist naturally in human populations. Just as breasts vary in size, people can have prostates of varying sizes. The average prostate is 20 cc in size. Prostates over 30 cc are considered enlarged.
What are the symptoms of benign prostatic hypertrophy, and what does it feel like?
Someone with BPH usually does not know that their prostate is large because they are asymptomatic, meaning they experience no symptoms for the condition. The enlargement is detected by digital rectal examination or by imaging. People with voiding problems might have a normal sized, tight prostate.
BPH can cause obstructive symptoms during urination. The urine flows from the bladder through the tube in the middle of the prostate, called the prostatic urethra, and then out through the penile urethra. As the prostatic urethra narrows with age, the urinary stream can be partially obstructed. Symptoms of an obstructed prostatic urethra include:
Slow stream
Straining to urinate
Sense of incomplete emptying or urgency to urinate
Urinary frequency or nocturia (getting up at night to urinate)
Splayed urinary stream
Prostate size is not related to constipation or other gastrointestinal problems.
Symptoms of BPH is an increase in urinary frequency and a sense of urgency to urinate
What causes benign prostatic hypertrophy? Are there risk factors?
Prostate development and growth is dependent on the presence of the androgen sex hormone dihydrotestosterone (DHT). DHT is catalyzed from testosterone, the primary "male" hormone that all people have at different levels during their lives. Different levels of hormones can therefore impact the development of tissues like the prostate. While the exact mechanisms aren't known, research has indicated prostatic enlargement may occur when DHT binds to androgen receptors in the cell nuclei, potentially resulting in BPH. However, testosterone levels decrease with age, yet BPH increases with age, suggesting there may be a different cause. Possible molecular factors include metabolic syndrome, hyperinsulinemia, norepinephrine, angiotensin II, and insulin-like growth factors.
The likelihood that a person will develop BPH increases with age. Almost all people with prostates experience prostate enlargement as they get older.
Are there complications to benign prostatic hypertrophy?
While BPH does not pose serious health risks, it causes urinary and bladder habits to change and can impact quality of life.
Can a prostate's size be reduced naturally? How is it treated?
There is no reason to treat asymptomatic BPH. Treatment is intended to improve symptoms related to prostatic narrowing. People with normal sized prostates can also be symptomatic.
Obstructive voiding symptoms can be treated with medication and surgical procedures. Medication often prescribed for BPH includes:
Alpha Blockers
Alpha blockers relax the prostate and improve voiding symptoms and flow rate
These agents work within 1 – 2 weeks and have few side effects
Common medications include Flomax, Rapaflo, Uroxatrol, Cardura, Hytrin
5 alpha reductase inhibitor
These agents block the conversion of testosterone to DHT
With a reduced DHT level, the prostatic glandular tissue shrinks and results in a wider prostatic urethra
Medications include Finasteride and Avodart.
Medications often aren't enough to fully improve BPH symptoms. In addition to medications, minimally invasive surgical treatments have been developed.
Surgical options offered by Washington University urologists include laser treatments, such as GreenLight Laser Therapy, to open the prostate, allowing patients to have better bladder habits. Procedures such as laser treatment can be performed with limited healing time and can even be an out-patient appointment. These treatments also do not have any risk of incontinence or erectile dysfunction.
Prostatic Urethral Lift procedure is another minimally invasive surgery that helps reduce BPH symptoms. This is an endoscopic therapy for resolving bladder obstruction by widening the opening of the urethral channel from the bladder neck through the prostate. A cystoscope places a small implant in the anterior and lateral aspects of the prostatic urethral lumen, tethering the compressed tissue to the prostatic capsule. This establishes an open lumen in the prostatic urethra.
Minimally invasive surgery is one option to reduce BPH
Another surgery uses a transurethral needle ablation technique. By injecting sterile water vapor into the adenoma of BPH, Rezūm techniques use the heat from water vapor to disrupt prostate cell membranes, leading to eventual cell death. Similar to Prostatic Urethral Lift, this procedure can be performed under local anesthesia in the outpatient setting.
What doctors treat benign prostatic hypertrophy?
Urologists specialize in conditions involving the prostate. Washington University Urology can provide options and treatments for prostate enlargement. Our urologists also offer advanced diagnostic tests such as urodynamics, which can help determine how an enlarged prostate is affecting a patient's bladder habits.
BPH Consultation at Washington University
Experiences of BPH are variable and require different care. Dr. Nottingham and all physicians at Washington University take time to discuss urologic conditions with their patients before deciding on treatment options. To request an appointment, please fill out this online form or call 314-362-8200.
Ask the DoctorsCharles NottinghamProstateUrologic SurgeryUrology


text:
« HERMAN CAIN INTERVIEW ON NEW IDEAS TO TAME IRAN – DICK MORRIS TV: LUNCH ALERT!
WILL OBAMA PULL OUT? DICK MORRIS TV: LUNCH ALERT! »
HERMAN CAIN RISING
By Dick Morris And Eileen McGann on September 26, 2011
Insiders and political pros never recognize a superstar when they see one. Herman Cain is just such a star. Now that Rick Perry has been unmasked as a weak debater and an even weaker opponent of illegal immigration, conservatives are turning their lonely eyes to Cain. A stellar debate performance on Fox News led to a smashing victory in the President5 straw poll in Florida and a strong third place finish — behind Romney and Perry — in the Michigan straw poll. Both Michigan and Florida are likely among the seven states that will hold primaries or caucuses in February (and they are the two biggest of the seven).
Here is a man who offers an alternative to Obama's class warfare. His life story shows that Obama's route to the top — through affirmative action, community organizing, and a climb up the political ladder — is not the only one available to minorities. His combination of hard work in the private sector, entrepreneurial initiative, and managerial skill can also get you there. He embraces the successful as role models not as objects of envy. He does not hate rich people. He wants us all to become rich.
In a sense, Cain's rise and Mitt Romney's are parallel trajectories. Each has based his appeal on the idea that life in the private sector is better than a career in government service to equip one to solve America's economic problems. Both say that their hands on experience at job creation qualify them to be president in a way that Perry's lifelong political immersion does not.
Now, as Perry fades and Romney rises, Herman Cain is on the cusp of front tier status in the Republican nominating contest.
Cain has a grip on the Tea Party grassroots. No matter how diligently the establishment tries to ignore him, he keeps popping up, impelled by his charisma, oratory, issue positions, and broad based appeal.
See my interview with Herman in today's Lunch Alert! — Click Here!


text:
Catholic Health Association of Minnesota
Believing in the worth and dignity of the human person made in the image and likeness of God, the Catholic Health Association-Minnesota assists its members to fulfill the healing mission of the Church.
Membership & Dues
Links to other organizations
Principles of Catholic Social Teaching
Vatican Statements on Healthcare
Catholic Healthcare in the United States
Ethical & Religious Directives
Member Employment Opportunities
Tidings! Newsletters
Legislative Update: Miles Apart
Divergent legislative priorities are reflected in the House and Senate budget bills. With respect to the projected $900 million surplus in the General Fund, House Republicans allocate the full amount to tax relief and transportation investment. Senate DFLers recommend $300 million for the tax bill (some of that will be spending for local government aid), $489 million in new spending, and leave $111 million unspent. Governor Dayton proposes $117 million for tax relief, $591 million in new spending, and leaves $202 million unspent. A conference committee has been called to try to seek middle ground between the Senate and House supplemental budget proposals.
There's less than two weeks to go in the 2016 legislative session and Monday looks to be a busy day in the House. The body is to meet in session at 4 p.m. with eight bills cued up for action, including the proposed appropriation of Outdoor Heritage Fund dollars. The day's floor session will likely coincide with a break for the Supplemental Budget Bill Conference Committee, which is scheduled to convene at 1 p.m. to start reviewing the side by side comparisons available here: https://www.revisor.mn.gov/side_by_sides/ within the different areas of proposed state funding; that's expected to continue in the evening.
Omnibus Transportation
House and Senate lawmakers last Friday got back to the task of finding agreement on a comprehensive transportation funding bill, meeting for the first time since March. Senate Transportation Committee Chair Scott Dibble (DFL-Minneapolis) announced that the committee would meet again this week as it tries to tie up one of the three major pieces of legislation still outstanding from last year — along with tax and bonding bills.
The Committee didn't tackle the bigger funding questions Friday, focusing instead on an amendment Dibble offered to alter language in the bill dealing with a proposed public-private partnership pilot program that would have the Department of Transportation and the Metropolitan Council team up with private design and construction companies on major infrastructure projects. House Transportation Committee Chair Tim Kelly (R-Red Wing) noted that the two sides are in agreement on this language.
The conference committee met again Wednesday to take up the rail grade crossings/emergency managers hazmat data sharing proposals. First responders and railroad companies have been meeting to iron out an acceptable plan for sharing oil and hazardous rail transport information, railroad contributions to construction of crossings, training of emergency responders, and additional rail inspectors. The conference committee members also discussed differences in the Senate and House funding plans. They will hear initial offers today.
The Republican plan passed last spring in the House would raise an additional $7 billion for roads and bridges over the next decade in part by redirecting motor vehicle-related tax revenue away from the state's General Fund, identifying efficiencies in the MnDOT budget, and utilizing some of the state's projected $900 billion budget surplus.
In contrast, the DFL-backed Senate bill proposes to raise roughly $11 billion for roads and bridges, as well as transit by instituting a new gas tax and expanding a metro area transit-dedicated sales tax from one-quarter to three-quarters of a cent.
Bonding Bill
The $1.5 billion Senate bonding plan was unveiled Monday in a Senate Capital Investment Committee hearing. It's far bigger than the $600 million in general borrowing recommendations the House Republican majority is expected to put forth, and exceeds the $1.4 billion proposal that DFL Gov. Mark Dayton recommended.
Senate Capital Investment Committee Chair LeRoy Stumpf (DFL-Plummer) said the projects in the bill are drawn from more than $5.2 billion in requests. He remarked that many publicly-owned assets are in disrepair and others have failed to keep up with population growth or shifting needs.
The Senate proposal contains financing for more than 300 individual projects. There would be $80 million put into a fund to improve wastewater plants or focus on drinking water supplies. Additionally, there would be $150 million for local road and bridge rehabilitation projects and another $65 million for changes to road crossings along oil rail lines.
Other allocations include more than $131 million for the University of Minnesota and the Minnesota State Colleges and Universities System to refurbish existing buildings. Each college system would also get more money for new research labs and classroom buildings. The state Department of Public Safety would gain its top priority with $33 million for a new state emergency operations center. The Department of Natural Resources would receive $19.7 million to improve state recreation areas and trails. The state Capitol, currently undergoing a $300 million restoration, would have another $22 million in security upgrades.
House Speaker Kurt Daudt (R-Crown) told reporters last week that his side was waiting to approve its general budget bills before laying out a bonding proposal. During a news conference on Wednesday, Gov. Dayton urged Republicans to come forward with their proposal now given the impending May 23 adjournment date.
The Senate Finance Committee approved the bill on Wednesday. Finance Chair Richard Cohen (DFL-St. Paul) noted that Chair Stumpf has met his targets for General Obligation bonds and cash. There is no extra cash available. Stumpf acknowledged that there are a lot of moving parts in a bonding bill.
A big share of the Senate bill, $390 million, is for transportation projects. Stumpf explained that they usually try not to address transportation projects in the bonding bill, but this year they heard a great deal about the need on their listening tour around the state.
Bonding bills are unique in that they require three-fifths majorities to pass, necessitating votes from the other party for approval. The Senate bill failed on the floor by one vote short of needed super majority on Thursday, with Sen. Carla Nelson (R-Rochester) being the lone Republican to vote in favor. Sen. David Senjem (R-Rochester) offered a compromise Republican proposal in the form of an amendment which he said would cut the bill in half and make it more palatable for House Republicans. The amendment elicited a lengthy defense of the projects in the bill from Democrats. Majority Leader Tom Bakk (DFL-Cook) warned that there may not be a bonding bill this year, and House Speaker Daudt countered that Senate Republicans rejected an excessive bill.
A year ago today the House Omnibus Tax bill passed off the House Floor; it languished at the end of session in conference committee. The Tax Conference Committee has not begun its end of session meetings yet. House Taxes Committee Chair Rep. Greg Davids (R-Preston) is waiting for spending targets before reconvening the conference committee. He is realistic that some things currently in the bill will have to go and is left to manage expectations. The tax bill this year may be about federal conformity, Department of Revenue policy, and technical changes.
The Senate Tax Committee heard the proposed tax on employers and employees to fund a new paid-leave mandate that would apply to businesses with 21 or more employees. The bill was laid on the table as they are waiting for additional fiscal analysis of the proposal, but it is expected they will resolve fiscal issues and pass the bill to the floor. The Senate tax bill is expected to be taken up on the floor next Wednesday or Thursday.
MNsure
This legislative session, House Republicans have passed measures to slice MNsure's operating allowances, alter its leadership structure and phase out the state exchange altogether. Their goal is to put Minnesota into a federally run marketplace beginning in 2018.
As lawmakers get ready to negotiate a possible end-of-session deal, both sides agree the three-year-old health insurance exchange needs fixing, but they have radically different approaches.
Many states opted against creating their own systems and instead had their residents enroll through the federal system. Several states like Minnesota that did build an exchange have struggled through one technological flaw after another, leading some to give up.
Senate Health and Human Services Finance Committee Chair Tony Lourey (DFL-Kerrick) said a health care task force convened last year opposed scrapping MNsure. He said there are points of common ground for reform, such as instituting a new steering committee to oversee and prioritize technology changes to the program, Lourey added. There's also a joint push to undo liens on estates against people accessing subsidized coverage since MNsure took effect.
‹ Next News Previous News ›
CHA-USA News
Ministry facilities promote vaccination among staff
Archbishop visits St. Louis-area hospitals to bless workers
Sponsors and the Crisis in Long-Term Care: Is This a 'Man from Macedonia' Moment?
Catholic health systems hop to it as massive vaccination effort begins
CHRISTUS Health exec revives a rural Louisiana hospital
The pandemic's harsh toll on people with dementia deserves attention, expert says
The Sr. Mary Heinen Award
©2013 Catholic Health Association of Minnesota
1890 Randolph Ave, Suite 300, St. Paul, MN 55105


text:
Best Black-Owned Barbershop: JP's Barbershop
CP Photo: Jared Wickerham
Joe Patterson, owner of JP's Barbershop
Barbershops are known to be sacred spaces in many Black neighborhoods, often serving as community centers where customers hang out while getting their hair done. Joe Patterson, a Black man who grew up in the predominantly white Bridgeville area, didn't have that kind of place growing up. So, after six years of working out of Stansbury's Barbershop in Carnegie, he opened his own shop, aiming to build a community of his own.
"You know, I kind of refer to people as family and not clients," Patterson says. "I like making people feel good about themselves. I like making older gentlemen feel younger again; a young gentleman feel like he is cool now to go to school."
It was a year and a half ago when Patterson opened JP's Barbershop, which readers chose as this year's Best Black-Owned Barbershop. He worked by himself for the first 10 months, and recently was able to hire a second barber.
"My barbershop ranges from free apple juice with no sugar to sports magazines to the news channel at five o'clock," he says. His portfolio is full of a range of styles, including lots of smiling kids.
"I love the kids because a barbershop is somewhere that you can reach children," Patterson says. "Children look up to you in a barbershop, and I think that's what barbershops were meant to do is put the correct message out on the streets to the youth, and I think that's where change can start — it can start at your local barbershop."
Patterson says that while he is seeing Black customers travel to his shop from all over the city, the majority of the customers in his shop are white. JP's Barbershop is only one of a few Black-owned businesses in Bridgeville, which is 95% white, according to recent census estimates.
And that's why he says this win means so much to him, in addition to also placing second for Best Barbershop, because he wants to see Bridgeville keep growing.
"I always felt like I would be able to change things around here and obviously, I've been here for a year and a half now and things are really changing for this area and people are really excited and really happy to see this change, so for us to win the Black-owned business, it's very honoring."
JP's Barbershop. 343 Hickman St., Bridgeville. facebook.com/jpsbarbershop


Dr. Maulana Karenga, professor and chair of the Department of Black Studies at California State University in Long Beach created Kwanzaa in 1966.
Kwanzaa is an African American and Pan-African holiday that celebrates family, community, and culture. It is a cultural holiday rather than a religious one. Kwanzaa celebrates and affirms African cultural roots and history. The name "Kwanzaa" means "first fruits" in Swahili.
Kwanzaa is celebrated December 26-January 1.
Kwanzaa is celebrated each day during the period between Christmas and New Year's Day. The Seven Principles of Nguzo Saba are highlighted by lighting a candle for and reflecting upon each principle: Umoja (unity), Kujichagulia (self-determination, Ujima (collective work and responsibility), Ujamaa (cooperative economics), Nia (purpose), Kuumba (creativity) and Imani (faith). Gatherings may be community-wide, church-based, or held in homes. Gifts may be exchanged, but the focus is on gifts that are hand-made or education-related, if purchased.
Should Christian churches celebrate Kwanzaa?
Since Kwanzaa is a cultural holiday, all faith groups may participate. Because the focus of the celebration is on affirming African culture, values, and history there is no conflict with Christian churches observing the holiday, as many currently do.
What is required to celebrate the holiday?
Kwanzaa has seven basic symbols that represent values and concepts that reinforce African culture and community building: mazao (the crops), mkeka (the mat), kinara (the candle holder), muhindi (the corn), mishumaa saba (the seven candles symbolic of the Nguzo Saba, the Seven Principles), kikombe cha umoja (the unity cup) and zawadi (the gifts).
Why does Discipleship Ministries create materials to support Kwanzaa?
As more United Methodist churches celebrate Kwanzaa each year and find it to be a meaningful evangelistic tool and way of inviting the community to church, Discipleship Ministries sees the opportunity and the need to produce resources that are helpful for both church and community observances of Kwanzaa.


text:
Q: Swift: Message filter extension not working I am creating a message filter application.
I created a php API that sends me a response.
Here is my php code:
class ServerResponse {
    public $filter = false;
}

$serverResponse = new ServerResponse();

$data = json_decode(file_get_contents('php://input'), true);

$sender = $data['query']['sender'];
$message = $data['query']['message']['text'];

if (strpos($message, 'code') !== false) {
    $serverResponse->filter = true;
} else {
    $serverResponse->filter = false;
}

echo json_encode($serverResponse);

According to Apple's documentation, the API is POST type and it works with this payload:
{
    "_version": 1,
    "query": {
        "sender": "0580000000",
        "message": {
            "text": "This is a message code"
        }
    },
    "app": {
        "version": "1.1"
    }
}

The API worked and returned me the following JSON data:
{
    "filter": true
}

I have also uploaded this to my server as described by Apple when setting up an app's Associated Domains
{
    "messagefilter": {
        "apps": ["MyTeamID.com.****.SMS-TEst.MessageFilter",
                 "MyTeamID.com.****.SMS-TEst"]
    }
}

For my app's target, I added messagefilter:myDomain.io under Signing & Capabilities > Associated Domains.
My info.plist:
<dict>
        <key>NSExtensionAttributes</key>
        <dict>
            <key>ILMessageFilterExtensionNetworkURL</key>
            <string>https://myDomain.io/mickaeltest</string>
        </dict>
        <key>NSExtensionPointIdentifier</key>
        <string>com.apple.identitylookup.message-filter</string>
        <key>NSExtensionPrincipalClass</key>
        <string>$(PRODUCT_MODULE_NAME).MessageFilterExtension</string>
    </dict>

In my message filter extension, I have the following code:
context.deferQueryRequestToNetwork() { (networkResponse, error) in
                let response = ILMessageFilterQueryResponse()
                response.action = .none

                if let networkResponse = networkResponse {
                    // If we received a network response, parse it to determine an action to return in our response.
                    response.action = self.action(for: networkResponse)
                } else {
                    NSLog("Error deferring query request to network: \(String(describing: error))")
                }

                completion(response)
            }

However, NetworkResponse is nil with error description The operation couldn't be completed. (com.apple.IdentityLookup.error.messagefilter error 3.)
What have I forgotten?

A: This error is due to this reason.
 /// Extension's containing app is not authorized to allow extension to defer network requests to the host specified in the URL of the extension's Info.plist.
    ILMessageFilterErrorNetworkURLUnauthorized = 3,

You can fix this error by adding your domain as a associated domain in you main app settings
In your case it will messagefilter:myDomain.io

Your apple-app-site-association file should be like this. You can get your team ID from your apple account.
{
    "messagefilter": {
        "apps": ["89N85A6AAQ.com.****.SMS-TEst.MessageFilter",
                 "89N85A6AAQ.com.****.SMS-TEst"]
    }
}

A: In my case,add the key 'App Transport Security Settings' in main app's info.plist file solve this problem


Have you seen these beautiful instrument cloths on Instagram yet? Beaumont Music is becoming one of the most popular companies on social media because so many musicians LOVE their products! The quality is amazing and the patterns are beautiful and striking, so it's easy to see why I'm a loyal Beaumont Music addict.
Practicing is easier when you have the right equipment.
deciding how many songs to play, which song to play for warm up, scale review, etc. There are lots of options, but these are my top favorites….Decide Now!


A frequent question asked by visitors is "What does the 'RE' stand for after an artist's name on the artwork label?" Fear not, the staff at BG are always on hand to answer questions such as this!
Sir Francis Seymour Haden founded the 'Society of Painter-Etchers' in 1880 from his living room at 38 Hertford Street in London's Mayfair. He does this in company with five other artists resident in London, namely: James Tissot, Alphonse Legros, Hubert von Herkomer RA, Heywood Hardy and Robert Walter Macbeth RA. Members of the Society at this time are artists who make etchings and engravings as a creative art form (however many years later members who earn a living as copyist engravers begin showing examples of their reproductive work along with their original prints, causing some controversy).
1888 - Queen Victoria allows the Society to assume the title of Royal, so it becomes the Royal Society of Painter-Etchers.
1898 - Queen Victoria allows the RE's title to be enlarged to become the 'Royal Society of Painter-Etchers and Engravers', this is to incorporate the copper plate copyists' engravings and mezzotints from which some members make a living.
1911 - King George V grants a Charter of Incorporation and Bye-Laws to the RE, by which time the Society has grown in prestige and become fully established. Full fellows are entitled to use the post-nominals 'RE'. This is comparable to a degree from a college or university as the Royal Charter entitles the RE to award letters and diplomas to those who, in its opinion, by peer review and election, are outstanding in the field of making their own prints.
1920 - RE Membership expands to embrace artists producing relief engravings.
1991 - The Society's name becomes the 'Royal Society of Painter-Printmakers' but retains its 'RE' epithet when the bye-laws are changed to make artists using all forms of original printmaking eligible for membership.
The above is taken from the Timeline: Sir Francis Seymour Haden and the history of the RE by Anne Desmet RA RE and Joseph Winkelman PPRE Hon RWS in the 'Print REbels' book.
Interested in finding out more about the RE's history?
The 346 page book 'Print REbels: Haden, Palmer, Whistler and the origins of the RE' which accompanied the historical exhibition shown at Bankside Gallery earlier this year is still available to purchase for £30 (plus £4 P&P).


No, fjords aren't only a European thing. The Fjord Route takes you around the impressive 65-mile long Saguenay Fjord, one of the longest in the world and surrounded by cliffs 300m in height. Quirky and historic small towns line both sides of the fjord, including some considered to be the most beautiful villages in Quebec. You're going to want to go for a whale-watching excursion in Baie-Sainte-Catherine, and generally take advantage of the breathtaking landscape through biking, hiking, and camping. You can pick up an audio-guide to learn more about the towns and attractions along your drive.
To learn more about Quebec's tourist routes, visit the Quebec Original website.


What Are Main Secrets Of The Lost Ways?
A life-time altering tragedy could happen at just about any hour. Having a catastrophe surviving set you are able to access in a moment often means the distinction between life-time as well as loss of life on your behalf and also your loved ones. Whilst you're able to acquire just about any few different surviving systems, it's just like less difficult - as well as normally cheaper - to put together your very own emergency package. No matter whether it's a tornado, earthquake or all-out warfare, it's crucial on your behalf so that you can live with the loss in electrical energy, petrol, freshwater and protection. Getting ready may help you keep away from unnecessary battling. The Lost Ways is the only program that teaches you simple methods on protecting yourself in any unfortunate situation.
Exactly What Are The Concepts You're Able to Get From The Lost Ways?
Strategies of our forefathers. There are also nonetheless some individuals who nonetheless process the lost ability transported from technology to technology till right now, however its not all the experience. There are 11 best abilities that used by grandfather and grandmother to live without any power, clean water and car that you are going to learn in this program. In case you will neglect every one of these articles in the dusty compartment beside your bed, it does not support any person. This information will pass away with me, and also I may have all my personal attempts to offer ways in our forefathers be in vain.
This system will show you exactly how to produce traps so your loved ones can consume meals. Strategies can provide you with just how you're able to work with this technique to help keep the drinking water thoroughly clean for your loved ones.
Precisely How Really Does The Lost Ways Enables You To Live?
The Lost Ways can be a considerably-hitting handbook with chapters starting from straightforward things such as producing scrumptious barking loaf of bread like individuals performed when there seemed to be no meals to developing a standard garden smokehouse and also numerous far more! It will highlight just how Local Us citizens develop the subterranean roundhouse, a round ground property that these days will last as being a thunderstorm protection, an absolutely hidden hideout, or possibly a bunker. This is certainly the only time- evaluated life span vest which you as well as your household can cling on to. You will stay relaxed as well as guarded when other folks will scavenge by way of the trash for meals.
With The Lost Ways review, you will find some hidden secrets of this program. You are able to begin developing your very own old-fashion back garden smokehouse to protect your own personal meats, sausages, as well as seafood working with your personal seasoning.
One may believe this manual will go over the top by utilizing standard tactics even if we will have the energy of technologies with us, however you ought to keep in mind that several disasters provide us powerless as well as with out just about any sort of luxury. Actually, you can definitely find yourself pleading simply for a cup of freshwater throughout particular circumstances! There are also numerous harmful risks hovering more than us. As an example, you by no means understand every time a battle may well hit your country and also provide you homeless. So, sure, The Lost Ways e-book is successful in making you for the worst situation so you're able to protect yourself, your loved ones, and also these close to you.
The Lost Ways handbook is not merely powerful for making you for calamities, however it is going to alter the way you imagine. Become familiar with related to precisely how your forefathers accustomed to reside as well as intend to safeguard theirselves from specific disasters, the items they constructed, the food products they accumulated, and so on.


text:
Architect at Play
Author: Steve
Category: Exteriors, Interiors
Tags: architecture, daylighting, fiber glass, fiber reinforced polymer, fiberglass, FRP, GFRP, glass fiber, grid, GRP, Moon Hoon, SAI
← Synthetic Biology
Defining the Future of Composites →
South Korean architect Moon Hoon describes himself as a "playful" designer. A building needs to honor the client's desires and provide functional spaces, but ultimately, he seems to feel, architects just wanna have fun.
His SAI project is a very narrow structure wedged in between two buildings in Seoul. It began as a steel structure for a different building, but construction on that project was halted due to legal problems. The owners brought in Hoon to make something out of the existing steel.
The architect is quoted in Archdaily.com:
"It was a unique case; in the construction of a new building next to the client had made many illicit choices, causing the district government to intervene and to suggest a radically altered space. In between the existing building site and the newly built building, I built a structure that could be used as a green house.
"The metal structure of the building had already reached completion, and the husband and wife that had commissioned the project dreamed of a resting space full of greens. The major regulation was to ensure the walls to transmit at least 50% of the light, and based on the demand, I sought to find the right material that was interesting but stable. It was a coincidence that I found Fiberglass Reinforced Plastic grating, which met my needs."
Hoon designed a series of floor decks suspended on cables from the steel framework above. This is a departure from the conventional use of steel framing, where the horizontal steel members are used to support the floors. Hoon's floor levels bear no relationship to the outlines of the external steel superstructure.
Floor decks and walls are all made of white translucent fiberglass grid. The floor grids are fixed in steel frames that hang from the cables. The wall grids enclose three sides – one side of the building abuts an existing glass-facade building – and the roof. Glass windows, of varying sizes, are irregularly placed in the grid facade. There are also numerous fixtures that could be used for hanging plants.
Although the building has been described as a greenhouse, again, it is an unconventional one, in that the walls do not keep out the elements, so no option for temperature control is available. (The only spots sheltered from the wind are, ironically, places directly behind the glass windows.). It is space where you could grow things – 50% of the daylight penetrates the grid – but it's not really a greenhouse in any other sense.
Hoon's original drawing betrays a rather different program: it looks like a 70's arcade game, a Donkey Kong-like structure with people playing at different levels. If greenery were distributed on its different floors, it would be like a multilevel park, potentially a stacked version of New York's Highline.
image via MoonHoon.com


text:
Mailbag: What Does The Future Hold For Gregory? Re-Signing Ron Leary?
David Helman
DallasCowboys.com Staff Writer
DARREN PERRYSAYRE, PA
Now that the suspension that we all figured was looming on the horizon has come down, what are your thoughts on the future of Mr. Gregory?
Bryan: He's young and has shown the willingness to attempt to get help for his addiction. He's not costing you a roster spot or money on the cap. Players have gone away for a period of time and came back better for it (Michael Vick/Plaxico Burress). The biggest challenge for Gregory will be to be away from his teammates and the facility that supports him – that will be a struggle for him and that's a shame.
David:I can't fathom how the NFL thinks it's a good idea to banish Gregory from the facility for a year, during a time when he's going to need structure and support more than ever. I'm not giving him a pass for his slipups, because he clearly has no one to blame but himself for this situation. But throwing him out of the organization to deal with this on his own hardly seems like a productive decision. Hopefully he can find the self-discipline to make it through the next year. The Cowboys don't lose anything by keeping him around, and I guess we'll see where we're at in January 2018.
JOSE BOCANEGRAHASTINGS, MN
It's no secret that Coach Garrett built this team around the O-Line and that unit has been one of our many strengths this year. With that being said, why is that I get the feeling that Ronald Leary will not be back next year?
Bryan: With La'el Collins returning soon – it makes it a likelihood. Ronald Leary has done nothing but be a pro about the situation this entire season which is a credit to him. He put in the work in the offseason and made himself a better player. He was ready when his number was called and should be paid for that work but just not from this front office.
David:That's just the way the business of the NFL works. Remember: Jermey Parnell got a three-year, $30 million contract for a less impressive run of play during the 2014 season than what Leary is putting together right now. I expect Leary to get some serious offers during free agency, and I don't know if the Cowboys can match them – especially since they have to pay Zack Martin, and they still have La'el Collins waiting in the wings. I suppose it's possible Leary could find his way back here in 2017, but I'd call it unlikely. That's the price of success in this league.


We have a great range of choice here at Aldwark Manor Golf & Spa Hotel, with delicious meals for an intimate dinner for two, room service for a girls' getaway, family friendly menus for the little ones and an array of catering options for golf groups or corporate meetings.
Our AA Rosette awarded restaurant, The Brasserie, is a premier dining destination focussed on highlighting the locally-sourced produce our Executive Chef and our culinary team work with every day. Each dish is thoughtfully prepared, with an emphasis on updating the classics with refined techniques and fresh ingredients.
Adored by guests, The Terrace Bar features stunning views of our golf course and a spacious lounge. It is known by our guests and local residents as a pleasant place to savour a coffee or grab lunch before a round while taking in the views of the first hole. Open throughout the day, here you can find a menu with a selection of freshly-made sandwiches and light bites.
Our more intimate space, at The Squadron Bar you can sip an aperitif before heading to The Brasserie or indulge in an after-dinner drink while taking in views of the 15th hole.


text:
Q: Need to call header and footer also a main div to call content I'm building a site with html and css and i want to make a index.php to   call all the parts for the page. Example Call Header and footer and also when click on nav links replace the content in same page, can i do it with php or what are my options.
  Example of my index.php
  Get header   < ? php include("header.html"); ? >
   Replace Content

     Get Footer   < ? php include(" footer.html ") ;?>

A: This is my usual page layout for the index.php
<!doctype html>

    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Page Title</title>
    <link rel="stylesheet" href="css/style.css" type="text/css">

        <?php include_once('header.php'); ?>
        <?php if (isset($_GET['page']) && !empty($_GET['page'])) { include_once('/pages/' . $_GET['page'] . '.php'); } else { include_once('/pages/index.php'); } ?>
        <?php include_once('footer.php'); ?>

This uses a GET variable (?page=pageName) to select the page, which I usually use with a redirect rule in Apache.
Alternatively, you can fill the div content from a database. e.g.

    $pageId = $this->getPageId();
    $db = new mysqli_connect('','','','');
    $stmt = db->prepare("SELECT pageContent FROM pages WHERE page_id='$pageId'");
    $stmt->execute();
    $stmt->bind_result($curPageContent);
    $stmt->fetch();
    $stmt->close();
    echo $curPageContent;

For an ajax call, you can do this:
$.get( "/get_page/",
{ page_id: '<?php echo $_GET['page']; ?>' })
    .done(function(data) {
        $('#content').html(data);
    });

The folder structure I used for this is setup as:
root/
    css/
    js/
    pages/
         index.php
         header.php
         footer.php
    index.php

Obviously you can use any structure you want, but this may help (although an assets/ folder is usually good :)
Good luck.

A: Ditn't tested and didn't put any validation in thiscode but i hope you can get the idea how you can do this. with only index.php file. lmk if any query
header.php
navigation

navigation
home
About us

page.php
page.php
$page_name = $_GET['page'];
<?php include( $_SERVER['DOCUMENT_ROOT'] . "/path_or_folder_offile/".$page_name.".php" ); ?>

footer.php

index.php
 <?php include('header.php'); ?>
    <?php include('page.php'); ?>
    <?php include('footer.php'); ?>


text:
Q: Different number of rows in extract and live connection of Tableau In tableau server and desktop (which are installed side by side on a server) with JDBC connection, I got different number of rows for a specific period of time with live connection in comparison with extract mode. The number of rows in the extract mode is less and therefore there is no data for some dates and times. Because of some technical issue, I should use full extract/refresh every day and after a certain day, this problem occurred. Data source and all filters are the same in two modes. Is there any limitation in tableau extract for number of rows or tuple (rows * dimensions)? Is there any limitation about hyper file (extract output) ?

A: You'll need to compare the logs for the Extract vs the Live connection.
For the live connection, check the log.txt file and tabprotosrv.txt files.
For the extract, check the tdeserver.txt file.
Viewing Underlying SQL Queries


Camerina Royal Diamond Solitaire to dynamic look to your hands! You may have many collections of rings but this one could be unique and majestic. Elegantly carved ring with diamonds studded al; over it and to give bright look a solitaire is studded in the center. Just mark your appearance strong with this ideal piece.


text:
Massachusetts will keep 9 House seats as state population climbs above 7 million: U.S. Census
They won't be taking away any of the Bay State's House seats this time around.
Ten years after Massachusetts lost a seat in the U.S. House of Representatives, state election officials on Monday learned the Bay State will be retaining all nine districts.
The U.S. Census Bureau also announced that Massachusetts' population has now climbed above 7 million. The state's total population of 7,029,917 is a 7.4% increase from 2010, which mirrors the U.S. population growth during the last decade.
The state's population growth of 482,288 appears to be primarily concentrated in eastern Massachusetts, according to Secretary of the Commonwealth William Galvin.
"We were relieved to receive the word today that we will keep nine seats in Congress," Galvin said in a press conference outside the State House on Monday.
"However, having said that, there have been shifts within the state," he added, saying the districts will need to be redrawn later this year ahead of the 2022 congressional elections.
The average number of residents in each of the nine districts is expected to be 781,102 after the districts are redrawn.
There are significant population differences between House districts as they are currently drawn, including lower population estimates in western Massachusetts, central Massachusetts and on Cape Cod.
"The Legislature in redrawing these districts will have to transfer population from the eastern Mass. districts to the western Mass. districts and the central Mass. districts," Galvin said. "That is going to be challenging."
All of the other New England states will also be retaining their House seats for the next decade: New Hampshire (2 seats); Rhode Island (2); Connecticut (5); Maine (2); and Vermont (1). The Northeast grew 4.1% during the last decade.
Six states will be gaining seats: Florida, Texas, North Carolina, Colorado, Oregon and Montana. Meanwhile, seven states will be losing seats: New York, California, Pennsylvania, Ohio, Illinois, Michigan and West Virginia.
Texas will be the only state gaining two seats. It has had the highest population increase since 2010 — up nearly 4 million people to 29.1 million. The most populous state remains California, which now has a population of 39.5 million.
The U.S. population is now 331.4 million, a jump of 22.7 million from 308.7 million in 2010.
The Census Bureau will provide states with the local population counts needed to redraw their congressional districts by Sept. 30.
Galvin discussed the challenges of redistricting.
"The geography of Massachusetts makes it extremely difficult to transfer populations from the east to the west," he said. "In the past, it was possible to draw long and snaking districts. You can't do that anymore, and you shouldn't do that."
"We also have to make sure we preserve the minority-majority district that's located in eastern Massachusetts," Galvin said of the 7th District, which is held by U.S. Rep. Ayanna Pressley. "This is going to be a very challenging process to try to make sure that each of the nine districts is equally populated."
Filed Under: Latest Headlines, Local News, Massachusetts, News, Politics, U.S. Census, U.S. Census Bureau, William Galvin


Starting in January 2019, two internal leaders, Carrie Mauer and Christina Froeb, will co-lead the organization. Christina, who has been a part of Explore for nearly a decade, will serve as Superintendent, leading the academic program. Carrie, who joined Explore in 2017 after serving for many years at KIPP NYC and the KIPP Foundation, will move into the role of Executive Director, leading all non-academic functions. Together, they are setting a dynamic vision to accelerate Explore forward on its positive trajectory.
Morty will continue to serve as a member of Explore's Board of Trustees and will support Carrie and Christina through the transition for as long as needed. Building on the foundation Morty set, Carrie and Christina bring fresh and inspired leadership. Their shared vision will ensure that Explore will continue to provide every child with the academic skills and critical-thinking abilities needed to succeed in a college-preparatory high school.


There are now just three candidates for the April 2 Columbia Board of Education election with Brian Jones' Thursday statement that he's withdrawing from the race.
His name will remain on the ballot, Boone County Clerk Brianna Lennon wrote in an email.
He emailed a statement to reporters writing that he made the decision "with great sadness."
"I was presented with an unexpected employment opportunity that I have accepted in the best interests of my family," he wrote. "We are relocating to Wisconsin at the end of this month."
He thanked supporters in the email and wished good luck to remaining candidates, also challenging them to "foster an inclusive environment where every student, staff member and educator can feel safe being their authentic self at school each day!"
The other candidates are Della Streaty-Wilhot, Blake A. Willoughby and Jay Atkins. Voters will elect two to the school board. Incumbents Jim Whitt and Jan Mees didn't seek re-election.
Lennon wrote that Feb. 5, the eighth Tuesday before the election, was the deadline to withdraw in order for one's name to be removed from the ballot. A state law prevents it from being removed from the ballot after that date.


text:
Justin Timberlake Faces Backlash Over New Janet Jackson Super Bowl Documentary, Malfunction
"We love giving y'all something to talk about," he told Access Hollywood post-show. When a host mentioned he got "nasty with Ms. Jackson," he replied, "Hey, man. It's every man's dream."
However, in the weeks following, he had a different tune to sing. "I don't feel like I need publicity like this," Timberlake says in a separate clip. "And I wouldn't want to be involved with a stunt especially something of this magnitude."
So once again, Twitter is calling him out. "The biggest [takeaway] I learned from the NYT docs about Britney and Janet," one Twitter user wrote. "Justin Timberlake is the epitome of white male privilege in American society."
Following the original outcry in February, Timberlake apologized to Jackson and Spears in a lengthy Instagram. "I am deeply sorry for the times in my life where my actions contributed to the problem, where I spoke out of turn, or did not speak up for what was right," he wrote on Instagram nearly 20 years after the fallout relationship with Spears and 17 years after the Super Bowl moment. "I understand that I fell short in these moments and in many others and benefited from a system that condones misogyny and racism."
Though Janet Jackson did not respond publically to Timberlake's apology and was not interviewed for Malfunction, she will discuss the incident in a two-part, four-hour documentary that will air in early 2022. That documentary is currently titled, Janet.
Malfunction: The Dressing Down of Janet Jackson is available to watch on Hulu.
Could California see more tsunami threats from its submarine volcanoes? USGS scientists explain


text:
Q: Proper prevention of mail injection in PHP Could you advise me how do I go about preventing email injection in PHP mail() without losing original message data? E.g. if I need to allow user to use \r\n, To, CC etc, so I do not want to completely strip them away from the message - I still want them delivered, but without adding any additional headers or somehow allowing mail injection to happen.
Most of the advices on internet suggest stripping that data away completely - but I do not want to do that.
I am sending plain text (non HTML) messages through PHP mail() function.
What would you advise?

A: Suppose you you want to put the email address of the visitor in the optional header field like so:
$headers = "From: $visitorEmailAddress";

However, if

$visitorEmailAddress

contains

"address@email.com\n\nBCC:spam@v1agra.com"

you've made yourself a spam host, opening the door for mail injection.
This is a very simple example, but creative spammers and malicious hackers can sneak potentially damaging scripts in your email, since email is sent as a plaintext file. Even attachments are converted plaintext, and they can easily send attachements by adding a mimetype content line.
If your form validation for the FROM and/or TO fields is OK, you have to look at the form validation for the body of the email. I'd strip out the '-=' and '=-' characters, and prevent users from typing plain HTML by using strip_tags().

A: To filter valid emails for use in the recipient email field, take a look at filter_var():
$email = filter_var($_POST['recipient_email'], FILTER_VALIDATE_EMAIL);

if ($email === FALSE) {
    echo 'Invalid email';
    exit(1);
}

This will make sure your users only supply singular, valid emails, which you can then pass to the mail() function.  As far as I know, there's no way to inject headers through the message body using the PHP mail() function, so that data shouldn't need any special processing.
Update:
According to the documentation for mail(), when it's talking directly to an SMTP server, you will need to prevent full stops in the message body:
$body = str_replace("\n.", "\n..", $body);

Update #2:
Apparently, it's also possible to inject via the subject, as well, but since there is no FILTER_VALIDATE_EMAIL_SUBJECT, you'll need to do the filtering yourself:
$subject = str_ireplace(array("\r", "\n", '%0A', '%0D'), '', $_POST['subject']);

A: Try this for a review of various options:
http://www.codeproject.com/Articles/428076/PHP-Mail-Injection-Protection-and-E-Mail-Validatio
It covers several options and tries to explain the benefits and risks of each.

A: Use a designated mime email library, like Mail_Mime:
<?php
include 'Mail.php';
include 'Mail/mime.php' ;

$mime = new Mail_mime();

$mime->setTXTBody("Message goes here");
$hdrs = $mime->headers(array(
    'From'    => 'you@yourdomain.com',
    'Subject' => 'Test mime message'
));
$body = $mime->get();

$mail = &Mail::factory('mail');
$mail->send('postmaster@localhost', $hdrs, $body);

?>


In my continuing experimentations in hat making I have produced this slightly crazy offering! I can't really think why I decided to make a purple silk mini tricorne hat other than it seemed like a good idea at the time.... I can't even claim that its the steroids I'm on (which do make me crazy) as I did practically all of the work on it before I started this course of pills. Despite its lunatic design, I am rather proud of this hat as it is definitely the most complicated shape I have made so far. It has far too many folds and changes of direction in the brim which causes all sorts of problems when making the buckram form in the first place, and with covering it without drenching everything in glue or using visible stiches- which would be bad! The top fabric of this hat is an offcut of shot silk dupion (blue warp and red weft) that I have had for at least five years, so it was about time I made something out of it!
In the picture below you can actually see the tricorne mid making. At this stage the crown is separate from the brim which has been mulled; this is when a soft covering of interfacing (in this case vilene interfacing but sometimes flannel or domette is used to cover the buckram form. The brim is about to be mulled with the lover layer not yet glued on. The buckram shape has to be formed into the finished design before it is mulled or when you try and bend and shape the flat buckram into the shape of the tricorne brim the mull layer will stretch or buckle and end up looking dreadfull. Luckily having read the marvellous book From the Neck Up by Denise Dreher I did not make this mistake and waste loads of time!
The last picture is a close up of the curled ostrich plume I used to decorate the hat. I used a similar method to the one I used on the coque feathers on the black and cream hat, only with ostrich plumes the quill is rather thicker so I had to curl individual small sections by pressing the quill with the clamp of the curling iron rather than wrapping the feather around iron's barrel. I also curled the fluffy barbs with the curling iron so they all turned under rather than flapped about rather messily.
So it may be a year or so since it was staged, but I have finally managed to get hold of some of the professional photos taken at the dress rehearsal of Ariodante. I've only got pictures of the first two thirds of the opera, hopefully I'll get the rest very soon. They are a million times better than my little attempts and show how lovely an opera it was; these are a few of my favorites.


Smart Content Protector plugin is the go to Plugin to Protect the Text and Images in your WordPress site. In order to avoid Plagiarism, it is essential to make sure the Text and Images from your WordPress site is not copied. This Plugin serves as the Content Protector for your WordPress site. It works automatically once the Plugin is activated.
FantasticPlugins for commercial use. We don't host any of the files, this site only contains download links from 3rd party sites by individual users which are freely available on all over the Internet.
Note2: For Users, If you already purchased the original version of Smart Content Protector – Pro WP Copy Protection, We will install it on your website for FREE. Just Contact Us to confirm Item purchase code.