San Francisco Company Creating Jobs in Nova Scotia

first_imgA West Coast leader in the financial services industry is creating as many as 120 good-paying jobs for people with strong backgrounds in finance and accounting. “Nova Scotia is competitive and we continue to develop growth sectors, such as financial services,” said Percy Paris, Minister of Economic and Rural Development and Tourism. “KPMG recognizes Nova Scotia as the fastest-growing hedge fund administration centre in Canada, and our latest work with Conifer adds to our momentum.” Conifer Fund Services, LLC, of San Francisco is the latest leading hedge fund business establishing a presence in Nova Scotia. “We chose Nova Scotia for our strategic growth plan,” said Jack McDonald, president and CEO of The Conifer Group. “Halifax will become a key centre for hedge fund administration because it has a highly educated and skilled labour force, low staff turnover, and a high quality of life.” Conifer is working with the province’s universities and Nova Scotia Community College to employ new graduates. “NSCC actively works with our partners in industry to make sure our programs reflect their workforce needs,” said Sheri McKillop, dean of the School of Business at NSCC. “Our new advanced diploma in finance will prepare Nova Scotians for jobs like those at Conifer. Their arrival in Halifax is a wonderful opportunity for our grads to stay in the province and work in their chosen field.” “This is proof that Nova Scotia has what it takes to attract global businesses looking to grow their operations,” said Stephen Lund, president and CEO of Nova Scotia Business Inc. “Conifer chose Nova Scotia because of our strategic fit with their growth plans and what we brought to the table.” The province, through Nova Scotia Business Inc. (NSBI), used a competitive incentive to help attract Conifer. If the company creates 120 new jobs over seven years, Conifer could earn up to $1.38 million. In a recently released mandatory performance analysis, NSBI client activity contributed $139.2 million in new provincial tax revenues. Every tax dollar invested via payroll rebates returned $1.54 to the province and taxpayers. The Conifer Group, LLC, is a leading provider of services to the hedge fund industry that includes global fund accounting and administration, middle office, prime brokerage and execution services. Headquartered in San Francisco and with offices in New York and the British Virgin Islands, Conifer has been in business since 1989. Nova Scotia Business Inc. is the province’s private-sector-led business development agency. Through trade development, investment attraction, business financing and venture capital, NSBI assists local companies and attracts international companies to Nova Scotia.last_img read more

See More

AFN chief vows to influence party platforms in advance of federal election

first_imgFREDERICTON — The national chief of the Assembly of First Nations is calling on members to lobby all parties in an effort to influence political platforms ahead of the federal election in October.“With the federal election coming, I want to say now the importance of voting and the importance of influencing all party platforms,” Perry Bellegarde said Tuesday as he addressed the AFN’s annual general assembly in Fredericton.He said the national group was able to influence parties’ policy in 2015 with its Closing the Gap document spelling out priorities.“We set up meetings with the people designing the party platforms. That’s the same process we’re going to do again for October,” Bellegarde said.He said 61.5 per cent of eligible First Nations voters cast their ballots in 2015, and he wants that number to increase during the upcoming election.“If you want to become prime minister or member of Parliament, you better listen to our people and our concerns, because we vote now and have impact,” he said. “That’s what’s going to happen in October. We’re not going to be pushed to the side anymore.”Bellegarde said the group’s top priority is climate change.“I call it climate destruction,” he said. “We’ve got to show everybody the process moving to clean energy. Let’s see the process. Let’s see the plan.”The second priority is restorative justice. He said that involves recognizing policing as an essential service but also adopting a broader view of the law.“Why are there so many First Nations people in jail?” he asked. “There’s not only common law and civil law recognized in Canada. There’s got to be room for First Nation’s law and natural law — Creator’s law,” he said. Bellegarde said he also wants to see which parties commit to acting on all the recommendations in the report of the inquiry into missing and murdered Indigenous women and girls.He called on First Nations people to make an informed choice after looking at the parties’ priorities.The Canadian Presslast_img read more

See More

Richard Oliver Jr Talks Charity

first_imgRichard Oliver Jr is a singer, songwriter, actor and producer who gives back to many causes. He recently sat down to answer a few questions about his charity work.Richard Oliver JrTell us more about the charities you support?The charities I support or the ones that I have supported in the past are The Red Cross, Wounded Warriors, Habitat For Humanity, Doctors Without Borders, The Leary Firefighters Foundation and St. Jude Children’s Research Hospital.How or why did you select to support the charities you currently work with?As a spiritual person connected to humanity, I have always felt that I was here for a purpose, and that my talents could not only be used to entertain, but also help to motivate, inform, educate, provoke change, heal, inspire hope and make our world a much better place. I’ve been blessed with a chance to do just this with my songwriting and music, producing two relief songs entitled: “The African Child” and “Woman Powerless” to help address the poverty, disparity and struggles in Africa. I was so humbled when I got a chance to perform “The African Child” song live at the United Nations!On my debut album “Freaky Mon” – produced around the same time of Hurricane Katrina – I was inspired to write a song entitled “Home” to help give hope to all those victims and families who lost their home and everything! The song was was featured on the album and a music video would follow. Upon its release I received so many touching notes of thanks from evacuees who were scattered all over the country. Some said how the song helped them to let go, heal, pick up the broken pieces and finally move on with their lives and rebuild. As you can imagine, I was extremely touched and then knew that my artistry had the power heal, provoke thought and transcend boundaries far beyond my imagination.I would then not only include “Home” on my album but also in my first documentary feature film entitled: “New Orleans, We Won’t Forget About You” and that song inspired two additional songs for the soundtrack: “A People Forgotten” and “What If We Were Them”.I would later continue to use the film, its music and its message of humanity and compassion as a platform at fundraising events to help raise awareness and support other victims and families of hurricanes or natural disasters, as well as the charities that help support them. I am only one person and though I can’t do everything, I know I can do “SOMETHING”.Life itself and the circumstances and uncertainties that surround it truly humbled me, and the documentary I produced of a people losing everything would now have an even bigger and personal attachment to me after losing all of my life belongings after Hurricane Sandy struck the Rockaway’s where I was living in a basement apartment. Everything was flooded and all of my precious and sentimental belongings collected over the years perished. I was homeless had no place to go, but then a good friend took me in her place until I could get back on my feet. Her one act of compassion warmed my heart and brought me even closer to humanity and those same individuals whom I tried to comfort through my music.Ever since that time, any charity organization that reached out to me for support, I have been there to help lend a hand, performing some original and classic cover songs of hope from artists like Luther Vandross, Brian McKnight, Rod Stewart to Louis Armstrong. It makes me feel so good when I can take sometime out of my very busy schedule to give something back to others. It helps to keep me grounded about whats truly important in this thing we call life.What is the most annoying thing about people that don’t help charities and why?While producing my documentary on Katrina, I found that some people are self centered and self absorbed in their everyday lives, that they rarely take the time to connect to those around them. The sentiment by some I believe is that hey, I was not directly affected by this tragedy so why should I care or devote any of my time to it?What’s annoying to me is the constant complaints by many about how the world, society, economy and people in it are so messed up, but then what are you doing to make things better, to promote change, to give back to the community in a positive way.And how important do you think it is for celebrities to get involved in charity?Its very important because it shows their human connection to the same fans and communities that support their work year after year. The bible says: “For unto whomsoever much is given, of him shall be much required: and to whom men have committed much, of him they will ask the more” – Luke 12:48What plans do you have to make an impact on society this year?Well I have a song I wrote and plan to shoot a music video for called Keep The Faith that I would like to release and shoot a music video for to help support all those affected by cancer. After my good friend Dorivee Olivares passed away after her 10 year fight with the disease, I felt inspired to master the song, shoot the video and dedicate it to her loving honor and memory. I had the opportunity to perform the song LIVE at a special party in her honor and she loved it! Gave me a huge hug and kiss that would be the last time that I would be close to my positive friend again. I later got word that she passed and I attended her wake where I would see her for the last time before she was laid to rest.Dorivee had no idea of how inspirational she was in my life and to the lives of so many others, after hearing the news of her fight I saw my own problems as being so minuscule, and I felt like I could conquer the world and there was no obstacle that I could not overcome. I would like to donate proceeds from my song to a cancer charity or organization to not only raise money, but also bring hope to all those still in the fight by encouraging them to “Keep The Faith”.I have a second relief song entitled: “He Don’t Really Love You,” which brings attention to domestic violence among women all over the world. I hope to release both songs along with several others on my next album, “EVERYTHING I HAVE.Find out more about Richard Oliver Jr here.Copyright ©2015Look to the Starslast_img read more

See More

Syria says peace talks possible in November

first_imgInternational peace talks on the Syria conflict could take place next month, a top Syrian official said Thursday, claiming the long-awaited conference was closer than ever to taking place.Asked at a press conference in Moscow if the talks have been pushed back to late November or early December, Syrian deputy prime minister Qadri Jamil said they could take place “November 23-24”.Russia and Western nations led by the United States have been pushing the Syrian regime of President Bashar al-Assad to meet to try to hammer out a negotiated solution to the two-and-half year-old conflict, which has killed about 115,000 people. The conference, dubbed Geneva-2, was first mooted by the United States and Russia in May but has been repeatedly put off.“We are closer than ever to holding the Geneva-2,” Jamil told reporters after talks at the Russian foreign ministry, but added that the timeframe for the conference was “hypothetical.”He said there was “no alternative” to the peace conference.“Today no aspect of the Syrian crisis can be solved without it,” he said in remarks translated from Arabic into Russian, adding the talks had to put an end to “foreign interference” in the conflict.“This will lead to the launch of a political process and cessation of violence.”“We cannot say ‘open sesame’ so that the political process would immediately start.”However, the head of the Syrian National Council, the largest member of the opposition National Coalition, said at the weekend his group would not attend the talks.Jamil said the group’s stance would not affect the plans for the conference.“The refusal of the Syrian National Coalition to participate in the Geneva-2 will not influence the conference’s timeframe and format,” he was quoted as saying by the state RIA Novosti news agency. “They are likely to reconsider.”last_img read more

See More

Senior UN Iraq envoy hails establishment of Interim Council

The National Conference concluded following four days of “vigorous debate and deliberation,” Secretary-General Kofi Annan’s Special Representative, Ashraf Jehangir Qazi, noted in a statement released in Baghdad. He hailed the “spirit of dialogue” which permeated the gathering.Mr. Qazi also voiced hope that “this considerable development in the transitional process will lead to further dialogue among all Iraqis and wider political participation.”Earlier today, in a meeting with Iraq’s President, Ghazi al Yawer, Mr. Qazi related the Secretary-General’s concern over the deteriorating situation in the Shiite Muslim holy city of Najaf, voicing hope for a peaceful solution to the fighting there.Mr. Qazi also held talks with a number of Iraqi personalities representing several regions who are attending the National Conference before it voted for the Interim Council. read more

See More

Jailed Grenfell Tower fraudster claimed missing husband was miraculously discovered in a

first_imgIn his closing speech, Mr Jeremy said: “What the evidence demonstrates is that she committed these crimes through greed and she got away with it for a certain amount of time through her skill at manipulation.”Msokeri had created three different personas for her non-existent husband in a bid to claim compensation, ­eventually persuading a man with a history of mental health problems to pose as her spouse.Mr Jeremy said: “You would have thought that by July she would have called it a day and stopped, but she wanted to double her money with her claim about her husband. She wanted a bigger flat than would have been given to a single person.”The court heard Msokeri had filled 10 suitcases with new items from a store set up specially to help survivors and had applied for a number of mobile phones and laptops. She was eventually admitted to hospital for tests toward the end of the case but the trial continued in her absence. She made claims after presenting herself at a volunteer centre the day after the fire broke out on June 14.In reality she had spent the night of the fire at her flat in Sutton, and the following morning spent an hour on the phone to Sky complaining about being charged £1.50 for an unpaid bill.Her story began to unfold when she was unable to tell the authorities the number of the flat in the tower where she had ­supposedly lived, despite claiming to have lived there for five months.She told police her missing husband had appeared in footage recovered from the blaze showing the final ­moments of two men and two women, even though both men had already been identified. Msokeri was first shown the footage by a volunteer, but later feigned shock and rolled over on the floor wailing when she was shown it by the police. Two relatives of one of the victims ­that Msokeri tried to claim was her husband sat in the public gallery as the verdicts were read out.David Jeremy QC, prosecuting, said the fraud totalled £19,000 and that the debt would be repaid from money and items seized from Msokeri.The defendant, of Ambleside ­Gardens, Sutton, south London, had ­repeatedly tried to frustrate justice by faking illnesses and even sat in a ­wheelchair that she did not need. You would have thought that by July she would have called it a day and stopped, but she wanted to double her money with her claim about her husbandProsecutor David Jeremy QC Want the best of The Telegraph direct to your email and WhatsApp? Sign up to our free twice-daily  Front Page newsletter and new  audio briefings. Msokeri was finally charged and was later found guilty at her trial at Southwark Crown Court on three counts of fraud against the Royal Borough of Kensington and Chelsea, the Hilton and charities. She was also convicted of possessing a false document. Judge ­Michael Grieve QC said he would pass sentence on April 6. A woman posing as a widow from Grenfell Tower pretended her “dead” husband had been miraculously found in a cave as part of a £19,000 fraud.Joyce Msokeri, 47, told authorities she had escaped the devastating west London fire in June last year and thought her husband had died – but she was actually single and living miles away at the time.For weeks she stayed in a Hilton hotel and filled the room to bursting with donations and gifts from well-wishers. While there she concocted an elaborate ploy to claim insurance for the death of her fictitious partner.But when her scam began to unravel, she pressed on with her fraudulent activities, exploiting a vulnerable man by persuading him to pretend to be her husband so she could tell investigators she had miraculously found him living in a cave in Margate, Kent.Despite being twice arrested on ­suspicion of fraud, she continued with the pretence and managed to get him admitted to a mental health ward to support her claim.last_img read more

See More

Colour gives renewed impact to 100 year old images of First World

Even today, one hundred years on from the end of the First World War, fading black and white images of the horrors of the Western Front still have the power to shock.But the sheer terror endured by those who gave their all has been given renewed meaning and added impact by a set of newly colourised photographs of the conflict.The series of 100 images, their colours making it seem as if the conflict came to an end just yesterday, has been painstakingly produced to commemorate the 100th anniversary of the Armistice.Among the photographs is one of a wounded German prisoner of war, both eyes bandaged, being gently led along a railway line by a British tommy in 1916, a French soldier behind them weighed down by the heavy tripod of an early camera.Another shows gunners from the Royal Garrison Artillery pushing a light railway truck filled with shells and British officers standing outside the mouth of a German trench in Messines, Belgium, after its capture in 1917.Other, equally striking pictures show King George V sitting next to an army commander on the site where Thiepval Chateau stood before its destruction during heavy fighting in September 1916, and a more light hearted one of a soldier receiving a haircut from an Alpine barber on the Albanian front. Mr Marshall said: “Since 2014 I have been very fortunate to have been able to work on exhibitions, press articles and books commemorating significant WW1 anniversaries, but I have also been honoured to work on personal family photos, which all have unique insights into what was truly the first global conflict”.By adding colour to images previously seen only in black and white he hopes to convey to a new generation the grim reality of a war.Now ‘the pity of war’ so powerfully evoked by the poets of the trenches a century ago has, thanks to Mr Marshall, a modern, colour drenched hue. Tom Marshall, who spent weeks colourising the original black and white photographs, said: “I began colourising black and white photos professionally in 2014, coinciding with the centenary of the outbreak of WW1 in 1914. Around the world there was a renewed interest in a war that had not been fresh in the public memory for many years.”“To mark the centenary of the end of the First World War, I decided to collate 100 images I’ve colourised in tribute to the men and women who lived through the war, and those who lost their lives.”The Nottingham-based photo colouriser added: “I included men and women of several nationalities, races and religions, as the entire world was affected by the war, and I hope the photos will show an insight into the lesser known stories and events.”Mr Marshall, of PhotograFix, appealed for people to make a donation to the Royal British Legion’s Poppy Appeal – or to a similar appeal in their home country – as a way of remembering the men captured in his images, as well as the estimated nine million combatants and seven million civilians who died as a direct result of the war. Soldiers, probably from the 12th Battalion, the East Surrey Regiment, in a British communication trench in Ploegsteert Wood, during the Battle of Messines, 11th June 1917Credit:Tom Marshall (PhotograFix) Royal Garrison Artillery gunners pushing a light railway truck filled with shells in 1917 Want the best of The Telegraph direct to your email and WhatsApp? Sign up to our free twice-daily  Front Page newsletter and new  audio briefings. Royal Garrison Artillery gunners pushing a light railway truck filled with shells in 1917Credit:Tom Marshall (PhotograFix)  Soldiers, probably from the 12th Battalion, the East Surrey Regiment, in a British communication trench in Ploegsteert Wood, during the Battle of Messines, 11th June 1917 read more

See More

The 9 at 9 Sunday

first_imgEVERY MORNING, TheJournal.ie brings you the nine stories you need to know a little before 9am.1. #SPLISH SPLASH: Weather warnings have been lifted as the heavy rain that battered the east coast clears. Motorists are being advised to take extreme care on the roads.2. #WATER ALLOWANCE: The Sunday Times reports that Ireland’s top economic think-tank has warned there’s a chance that Irish Water estimates on how much water children will use is wrong. The 21,000 litres allowance is a sharp decrease from previous estimates.3. #OPINION POLL: Fine Gael has suffered a 4% fall in support in the latest Sunday Independent/Millward Brown poll, down to 25% and just one point ahead of Sinn Féin’s 24%. Labour is up one to 7%, with new leader Joan Burton’s approval rating up massively compared to her predecessor.4. #GAZA: Early morning air strikes have killed 12 Palestinians, while Israel has announced the death of a soldier previously feared kidnapped.5. #FGM: Gardaí have confirmed that no one has been prosecuted for carrying out female genital mutilation, despite fears that the practice continues two years after being outlawed.6. #CHINA: Authorities have confirmed that 96 people were killed in a ‘gang attack’ in Xinjiang last week. However, a human rights group has said it was a protest against a Ramadan crackdown on Muslim.7. #WHOOPS: The Sunday World reports that a bag containing a laptop and documents belonging to member of An Garda Síochána were seemingly discovered in an Amsterdam brothel. A senior officer is investigating.8.  #ACROSS THE BORDER: Patients in the Republic are paying as much as 14 times more for medicine than in Northern Ireland, a survey by the Sunday Business Post has revealed. One medication, Zyprexa, costs €80 more.9. BACOPALYPSE NOW: Canada is in the grip of a Pork-pocalypse, with prices surging to an all-time high, but is Ireland facing the same fate? We took a look at the figures.last_img read more

See More

Microsoft patent reveals Oculus Riftlike headmounted display

first_imgIt’s no secret Microsoft is interested in new kinds of user interaction for games, and a recent patent filing could point to the next step. The patent in question describes “Multiplayer gaming with head-mounted display.” The system wouldn’t be a general purpose wearable computer like Google Glass, but would be aimed squarely at incorporating augmented reality with gaming.The glasses would be able to leverage a collection of embedded sensors to track eye movements, recognize faces, and interpret voice commands. All that data could be used to create a virtual representation of the user for in-game interactions and invitations. Outward facing sensors could tie into a Kinect (or replace it completely) to detect other players, or monitor hand gestures.An OLED display could be embedded in the glasses to overlay information about the game and other players or objects. Microsoft also speculates the head-mounted display could have multiple accelerometers, which would allow it to track head movements, not unlike the Oculus Rift. Presumably the display could react to this input and move the augmented reality interface appropriately.A leaked document late last year pointed to the development of Kinect Glasses, but nothing more came of it and Microsoft refused to comment. This patent (originally filed in January 2012) could be the same device. That document claimed the Kinect Glasses would be released in 2014 following the debut of the new Xbox One. Although, Microsoft files thousands of patents each year. It’s possible this project will never become a reality.last_img read more

See More

Bakayoko likens his style to legendary Viera

first_imgChelsea midfielder Tiemoue Bakayoko currently on loan at Milan feels he shares similar qualities with Arsenal’s legend Patrick Viera.Bakayoko who has become pivotal to Milan’s campaign believes the fans have changed their minds about his style of play and he went on to shed more light into his spell at San Siro.“I think all the fans have changed their mind about me and I’m happy about that,” he told Football Italia via Milan TV.🗣 @TimoeB08 spoke exclusively to Milan TV discussing his relationship with the team, his rising performances and the new arrival, Piatek. 🗣 “Penso che tutti i tifosi abbiano cambiato opinione su di me e questo mi fa molto piacere”. Bakayoko si racconta ai microfoni di @MilanTV pic.twitter.com/SBTt4s6t99— AC Milan (@acmilan) February 1, 2019“I’m very happy, the team are playing well and improved a lot. I think the last three or four games, teams haven’t scored against us and I think we need to keep going, but I’m very happy to be here, to finish the season well.The former Monaco man talked about the camaraderie within the squad and the bonding process that has helped them achieve results on the field of play.“All the players are my friends, I’m a friendly guy and I don’t have a problem with anyone. We have a good relationship.“I know my teammates well, they know me better than two months ago. I’m just working hard and trying to be better for the team.Rick Karsdorp, Roma, Serie AKarsdorp reveals he had too much stress at Roma Manuel R. Medina – September 14, 2019 The Dutch defender has been with the Gialorrossi since 2017, but he has not enjoyed his time in the Italian Lega Serie A.“I’m happy in this period and I’m playing well. I’m very humble, if I’m here it’s because the team are playing very well.Magic Duo #Piatek#Bakayoko pic.twitter.com/rLmjY5PGn9— Emanuele Grieco (@EmaGrieco12) January 29, 2019He equally had some kind words for new boy Piatek who made a massive statement with a brace on his first full debut against Napoli for the Rossoneri.“Piatek’s a fast player, intelligent, and I think he’ll help the team quickly. He scored two goals in our last game and I’m happy for him. I think with him we can really finish in the top four.“I’m most like Vieira because he’s tall, strong and he has a lot of technical ability. I think I’m most like this type of player.“I just want to thank the fans for their confidence in me. We need them to finish in the top [four] places.”last_img read more

See More

Political Roundup Reaction To The Florida School Shooting And Russian Indictments

first_img Share It’s time again for the Houston Matters weekly political roundup with analysis of national, state, and local political stories — with an eye for how it all might affect Houston and Texas.This week, we discuss the political reaction nationally, statewide, and locally to last week’s mass shooting in a Florida school, a grand jury indicting 13 Russians linked to interference with the 2016 election, and the latest developments from Houston City Council. Our panel of experts this week includes University of St. Thomas political science professor Jon Taylor, and Nancy Sims from Pierpont Communications and a lecturer at the University of Houston.last_img read more

See More

Mortal Kombat 11 Kharacter Guide Sonya Blade

first_imgStay on target ‘Mortal Kombat 11’ Kharacter Guide: Nightwolf‘Street Fighter V’ and ‘Mortal Kombat 11’ Get Ne… Mortal Kombat 11 is available now for PlayStation 4, Xbox One, PC, and Nintendo Switch. For more, read our spine-ripping impressions of the game as a whole, learn more about Mortal Kombat’s history with the government, and check out our character guide for the much less violent fighting game Super Smash Bros. Ultimate.View as: One Page Slides1/271. Read Our Full Mortal Kombat 11 ReviewRead Johnny Cage’s Guide2. Read Sub-Zero’s Guide3. Read Erron Black’s Guide4. Read Scorpion’s Guide5. Read Liu Kang’s Guide6. Read Raiden Guide7. Read Kitana’s Guide8. Read Kung Lao’s Guide9. Read Cetrion’s Guide10. Read Jade’s Guide11. Read Kotal Kahn’s Guide12. Read Skarlet’s Guide13. Read Noob Saibot’s Guide14. Read Geras’ Guide15. Read Baraka’s Guide16. Read Jax’s Guide17. Read Jacqui Briggs’ Guide18. Read Frost’s Guide19. Read D’Vorah’s Guide20. Read Kabal’s Guide21. Read Kano’s Guide22. Read Cassie Cage’s Guide23. Read Shao Kahn’s Guide24. Read Kollector’s Guide25. Read Sonya Blade’s Guide26. Read Shang Tsung’s Guide27. Read Nightwolf’s Guide Who Are They?Sonya Blade is the leading lady of Mortal Kombat, and therefore fighting games in general. She’s a tough Special Forces commander and is hated by various villains she’s helped put away. She’s the reason why the U.S. military is part of the fight to protect Earthrealm. And while they couldn’t be any more different, she’s the eventual (ex)wife of Johnny Cage and mother of Cassie. Mortal Kombat 11’s time travel shenanigans highlight this loving absurdity.Kombat KhronologySonya first appeared in the original Mortal Kombat and although she skipped the sequel she’s still one of the most popular characters. It’s unfortunate then that in Mortal Kombat 11 she’s played by athlete Ronda Rousey, a bad actress and an overall bad person. Sonic Fox did nothing wrong.Koolest KustomizationsMy Sonya has a more colorful soldier get-up and sunglasses. Maybe Johnny Cage is rubbing off on her? Her military fighting style is still ruthlessly efficient though. Sonya can use sort of realistic close-quarters combat techniques like elaborate grappling strings and taking down foes in the air. But if you want to get crazier Sonya can also shoot lasers out of her wrist gauntlets and summon a turret out of the sky.How Gross Is The Fatality?Sonya Blade’s Fatality is a spectacle on par with a super move from Injustice 2. But don’t think that means the violence is toned down. After calling in air support, she kicks you up into the sky and shoots your body into the helicopter blades. The pilot is just happy to help. There have been eleven main Mortal Kombat games. Can you believe it? The 90s were that long ago. Since then the fighting game has become a gory institution as colorful ninjas and sorcerers and special forces agents collide to rip each others’ guts out in wacky martial arts tournaments.But in the past decade Mortal Kombat has gone from just a recognizable violent fighting game to a really good recognizable violent fighting game. And the recently released Mortal Kombat 11 brings the reboot trilogy home with a story mode stretching across all of history and new ways for customizing characters to your liking, with different skills and gear to make the accessible mechanics even more varied and deep.Expensive cutscenes and ancillary (arguably exploitative) side content aren’t worth anything though if your fighting game doesn’t have a solid roster. Fortunately, Mortal Kombat 11 gives you a diverse cast of kombatants on which to unleash your bloodlust. And we’re taking a look at every single one of them. Today’s fighter: Sonya Blade.AdChoices广告last_img read more

See More

JashneDrama on Capital stage

first_imgStories and tales are an extension of life. Language is just a medium of narration. However, each language adds its own nuances and cultural baggage to a story tellers’ tale. At the Urdu Drama Festival that opened in the Capital, some of the best Urdu plays will be put on stage.Presented by Urdu Academy and Delhi Government’s Department of Art, Culture & Languages, the 25th Urdu Drama Festival (under Delhi Celebrates 2013) will run for six days with every evening bringing a new play for the audience. Also Read – ‘Playing Jojo was emotionally exhausting’The six-day festival was inaugurated by noted playwright and critic, Reoti Saran Sharma, in the presence of Prof. Akhtarul Wasey, Vice-Chairman, Urdu Academy, SS Yadav, Secretary, (Art, Culture and Languages), and Commissioner, Food & Civil Supplies, Government of Delhi and Anis Azmi, Secretary, Urdu Academy .The drama festival is dedicated to the literary genius of Krishan Chander, one of the greatest writers born in pre independence India who is revered on both sides of the divide in the Indian subcontinent. The short stories and novels of this prolific Urdu writer, including the much popular Autobiography of a Donkey are a rich treasure. Also Read – Leslie doing new comedy special with Netflix‘Plays bring out the best of a literature and like stories and novels carry an essence of the richness of a culture. While stories and plays are but a reflection of human life and emotions, each language adds its own color to a form of theater. Urdu literature has a rich tradition of plays and through a drama festival we hope to stage them for the audience. Through the festival we are also playing tributes to Shri Krishan Chander, the legendary Urdu writer who has brilliantly captured the images of his time in his writings,’ says Anis Azmi, Secretary, Urdu Academy. The festival opened at the Sri Ram Centre with the staging of Parmaatma, a play directed by Ajay Manchanda, adapted for stage by Reoti Saran Sharma. In the upcoming days five more plays will be staged for the audience including Krishan Chander’s classics Darwaze Khol Do to be directed by Sheikh Khairuddin; Ek Qalam Sadak Kinaare to be directed by Rajesh Singh and Hum to Mohabbat Karega directed by Krishan Kant.The other plays that will be staged are Halal Khor, directed by Govind Singh Yadav, adapted by Dr Mumtaz Alam; Maha Laxmi ka Pul, under the direction and adaptation of Rajesh Tiwari.last_img read more

See More

Traffic cop beaten biker pillions fall off flyover 1 dead

first_imgKolkata: A traffic sergeant was allegedly assaulted after he intercepted a bike with two riders, who were not wearing helmets. The incident happened on Sunday evening near Linton Post Office in Beniapukur.According to sources, on Sunday, Year Mahammad Biswas, traffic sergeant of Park Circus traffic guard was on duty on CIT Road. Around 5:15 pm, he noticed a bike with two riders without helmets. When he instructed the bike rider to stop he allegedly drove the bike dangerously and managed to give Biswas a slip. Immediately, the sergeant chased the bike and intercepted it on Hati Bagan Road near Linton Post Office. When Biswas instructed the youth identified as Kartick Prasad Roy to produce his driving license, he allegedly started misbehaving with the sergeant. Also Read – Rs 13,000 crore investment to provide 2 lakh jobs: MamataDespite Biswas warned Prasad, he did not stop. On the contrary the youth on the pillion identified as Sebastian John Gomes allegedly pushed Biswas. When he tried to resist Prasad also assaulted him. Seeing a police officer getting assaulted local residents rushed to the spot and detained the duo. Immediately, Beniapukur police station was informed. Later, Biswas with minor injury on his hand was rushed to Calcutta National Medical College and Hospital and the duo was Also Read – Lightning kills 8, injures 16 in statearrested. Biswas was treated and discharged later. In a separate incident, a youth died and two other were injured after a scooter lost control and fell off Garden Reach Flyover on Sunday night. According to police, the scooter rider identified as Md Arsalan (17) with two of his friends identified as Asif Ali and Md. Imtiaz on the pillion seat violated the traffic norms while they were driving on the Garden Reach flyover. None of them were wearing helmets. Near Paharpur cooling tower Arsalan lost control and rammed in to the guard wall and fell down on the Paharpur Road from approximately from a height of 30 ft. Before the scooter went over the guard wall Ali and Imtiaz had fell off the flyover. The trio was rushed to SSKM Hospital where Arsalan was declared brought dead. Others were treated and discharged later.last_img read more

See More

Top 5 Personality Traits Investors Look for in an Entrepreneur

first_img 4 min read People often ask me what kind of personality traits successful entrepreneurs possess? I’ve always maintained a mental list, based on my observations over years of meeting with entrepreneurs who have founded, scaled and exited businesses. Related: 8 Rules for Succeeding as an EntrepreneurTo explore this further, I thought it might be interesting to gather the perspectives of professional investors at venture capital funds who have backed some of the biggest names in technology startups including Pinterest, Uber, Boxed and SeatGeek. In general, several recurring attributes emerge, supporting the fact that investors believe there is a certain personality profile that is predictive of success. Furthermore, many of these traits are areas that entrepreneurs can diligently work on and improve, and not necessarily things that are innate — meaning people aren’t just born with it. Five traits that tend to be associated with the most successful entrepreneurs include:1. Tenacity.In my interactions with VCs, this probably comes up as the single most critical ingredient to realizing entrepreneurial success. The value of tenacity was not lost on Woody Allen, who’s credited with coining the notion that “80 percent of success is showing up.” Nihal Mehta, ENIAC Ventures, looks for a founder’s ability to break through walls. He suggests, “startups have many twists and turns, ups and downs. Founders who go the distance look at each challenge and pace themselves to overcome each and every one.” 2. Passion.Related to tenacity is motivation — why is an entrepreneur so focused on solving a particular problem? Chances are, if it’s purely about fame or fortune, the inevitable frustration that will come along when things don’t go smoothly may start eroding the intensity needed. Some investors look for opportunities where an entrepreneur is trying to solve a personal problem. “I like entrepreneurs who decided to solve a pain point that affected them personally,” says Vasu Kulkarni, Courtside Ventures. “The conviction to solve a problem is always stronger when you are passionate about it, and generally that tends to stem from issues that you can relate to personally.”Related: Why Entrepreneurship Take Real Bravery3. Confident humility.Though it may sound like a contradiction, investors cite confidence and humility as traits that they’d like to see in the founders they back. Changing the status quo requires conviction and steadfastness that is convincing to investors, customers and employees. At the same time, the ability to listen and adjust is critical in being responsive to ever-changing challenges. Checking individual pride at the door is key to this. David Frankel, Founder Collective, looks for “audacity” but encourages entrepreneurs to balance this with some degree of humility and to always be asking questions.  4. Clarity of thought.A straight line between a problem and a solution demonstrates a mastery of knowledge that presents an entrepreneur as someone who knows his or her stuff, as well as as an ability to effectively communicate. Having domain expertise is critical, but if you cannot present it as such, it can give the impression that there may be holes in the vision or ability to execute it. Matt Turck, FirstMark Capital said, “The best founders are deep students of their industry and entrepreneurship in general. They focus on understanding every single nuance. This manifests itself through clarity of thought.”Related: Why Problem Solvers, Not Whiners, Always Win in Business5. Curiosity.An important part of being innovative is thinking about the “what ifs” of a business. Being reactive and responsive is important but it should be blended with a proactive approach to identifying and solving problems. This requires a level of curiosity which can save time and money. Matt Hartman, Betaworks, says “we invest in people building products that are fundamentally about new consumer behaviors. In these types of products, it’s critical to be curious about how and why new behaviors emerge.”It is no coincidence that as businesses evolve and go from one stage to the next, so does the development of their founders and leadership team.   Opinions expressed by Entrepreneur contributors are their own. June 16, 2017 This hands-on workshop will give you the tools to authentically connect with an increasingly skeptical online audience. Free Workshop | August 28: Get Better Engagement and Build Trust With Customers Now Enroll Now for Freelast_img read more

See More

read more

first_img News | Radiopharmaceuticals and Tracers | July 01, 2019 Bracco Imaging Acquires Blue Earth Diagnostics Bracco Imaging S.p.A. has signed a definitive agreement to acquire Blue Earth Diagnostics, a molecular imaging company… read more News | Radiopharmaceuticals and Tracers | May 10, 2019 | Jeff Zagoudis, Associate Editor Shine Medical Technologies Breaks Ground on U.S. Medical Isotope Production Facility Shine Medical Technologies Inc. broke ground on their first medical isotope production facility in Janesville, Wis. U.S… read more News | Radiopharmaceuticals and Tracers | July 26, 2019 NorthStar Medical Radioisotopes Awarded $30 Million by U.S. Department of Energy NorthStar Medical Radioisotopes LLC has been awarded $15 million in a cooperative agreement with the U.S. Department of… read more News | Radiopharmaceuticals and Tracers | August 02, 2019 ASRT Supports Radiopharmaceutical Reimbursement Bill The American Society of Radiologic Technologists (ASRT) announced its support for House Resolution (HR) 3772, a measure… read more News | April 04, 2011 Clinical Cancer Research Programs to Merge News | Radiopharmaceuticals and Tracers | July 16, 2019 NorthStar Medical Radioisotopes Completes Construction on Beloit, Wis. Molybdenum-99 Processing Facility NorthStar Medical Radioisotopes LLC  announced completion of construction on its 20,000-square-foot molybdenum-99 (Mo-… read more News | Interventional Radiology | July 03, 2019 Varian Purchasing Embolic Bead Assets from Boston Scientific Varian announced it has signed an asset purchase agreement to acquire the Boston Scientific portfolio of drug-loadable… read more News | PET-MRI | May 23, 2019 Study Explores Magnetic Nanoparticles as Bimodal Imaging Agent for PET/MRI Researchers from Bourgogne University in Dijon, France, showed that use of superparamagnetic iron oxide nanoparticles (… read more News | Radiopharmaceuticals and Tracers | May 13, 2019 Blue Earth Diagnostics Expands Access to Axumin in Europe Blue Earth Diagnostics announced expanded access to the Axumin (fluciclovine (18F)) imaging agent in Europe. The first… read more Image courtesy of Amen Clinics News | Radiopharmaceuticals and Tracers | June 05, 2019 BGN Technologies Introduces Novel Medical Imaging Radioisotope Production Method BGN Technologies, the technology transfer company of Ben-Gurion University (BGU), introduced a novel method for… read more News | Radiopharmaceuticals and Tracers | May 17, 2019 New Phase 2B Trial Exploring Target-Specific Myocardial Ischemia Imaging Agent Biopharmaceutical company CellPoint plans to begin patient recruitment for its Phase 2b cardiovascular imaging study in… read more Related Content Image courtesy of MR Solutions. April 4, 2011 – The American College of Radiology’s Imaging Network (ACRIN) and the Eastern Cooperative Oncology Group (ECOG), National Cancer Institute (NCI) Clinical Trials Cooperative Group members, have announced their intent to merge their clinical cancer research programs.The groups plan to form an alliance that combines their complementary strengths. The new organization will include three areas of research emphasis: early detection and diagnosis of cancer; biomarker-driven Phase II and Phase III therapeutic studies for multiple cancer types and stages; and genetic, molecular and imaging marker research to predict and monitor treatment response.ECOG and ACRIN’s individual programs have significantly contributed to improved clinical care. The new alliance will bring together the organizations’ unique capabilities to build a program with expanded scientific scope and depth of expertise. ECOG has strengths in performing large-scale trials with molecular endpoints in major diseases. The results of these studies have changed the treatment of cancer patients and helped to individualize that therapy. ACRIN’s clinical trials encompass the full range of medical imaging research, from landmark cancer screening trials to early phase trials evaluating imaging biomarkers and novel imaging technologies. While maintaining these areas of separate expertise, the alliance will press the tailoring of therapy to the individual patient’s tumor, and accelerate the integration of biological advances into clinical practice.”This partnership offers the research community a new sphere of engagement,” said Robert L. Comis, M.D., chair of ECOG. “It will greatly enhance our position in the public and private sectors to perform biomarker-driven studies and develop more innovative clinical trial designs. ACRIN has an exceptional imaging research program and IT infrastructure, which can be applied to compile and store not only radiologic images, but also, relevant laboratory based images. Our modality and disease committees will have the opportunity to become involved in the development of cutting edge early detection and diagnostic studies, and ACRIN investigators will benefit from being fully integrated into our therapeutically oriented programs.””We are excited by the ECOG partnership opportunity to develop a unique multidisciplinary organization positioned to study the entire cancer care path from early detection through management of advanced disease,” says Mitchell D. Schnall, M.D., Ph.D., ACRIN Network chair. “We will leverage the complementary scientific expertise of each group to develop multidisciplinary scientific committees to address each of the three emphasis areas for which there will be immediate opportunities for interaction and collaboration. The integration of ECOG and ACRIN patient advocacy and clinical research associate committees will bring together an impressive knowledge base representing the patient perspective and participant recruitment best practices – a significant support for getting the research done.””Clinical research has been an important component of the American College of Radiology (ACR) for over 40 years,” said Harvey L. Neiman, M.D., FACR, the ACR’s CEO. “I commend the decision to bring together the extensive resources of ACRIN and ECOG to carry out clinical research that combined has even greater potential to bring forth new scientific discoveries to detect cancer earlier and to improve the care and quality of life of cancer patients.”Transition planning is underway, and group leaders are developing the business, administrative and scientific structures. The new organization will sustain its research portfolio with public and private support. Relative to public funding, the NCI announced last November that it will reorganize its Cooperative Group program to support up to four adult cooperative groups, and will issue a new Funding Opportunity Announcement (FOA) in Spring 2012. The new organization will respond on behalf of ECOG and ACRIN.For more information: www.acrin.org, www.ecog.org FacebookTwitterLinkedInPrint分享last_img read more

See More

Microsoft announces general availability of Azure SQL Data Sync

first_imgThe Azure team at Microsoft were highly excited to release the general availability of Azure SQL Data Sync tool for synchronization with their on-premises databases. This new tool allows database administrators to synchronize the data access between Azure SQL Database and any other SQL hosted server or local servers, both unidirectionally and bidirectionally. This new data sync tool allows you to distribute your data apps globally with a local replication available in each region, keeping data synchronization continuous across all the regions. This tool would help to significantly eradicate the connection failure and eliminate the issues related to network latency. It will also boost the response time of the applications and enhance the reliability of the application run time. Features/Capabilities of Azure SQL data Sync: Easy-to-Config – Simple and better configuration of database workflow with exciting user experience Speedy and reliable database schema refresh – Faster loading of database schemas with new Server Management Objects (SMO) library Security for Data Sync – End-to-end encryption provided for both unidirectional and bi-directional data flows with GDPR compliance. However, this particular tool would not be a true friend to DBAs as it does not support disaster recovery task. Microsoft has also made it very clear that this technology would not be supporting scaling Azure workloads, nor the Azure’s Database Migration Service. Check out the Azure SQL Data Sync Setup documentation to get started. To know more details, you can refer to the official announcement at official Microsoft web page. Read Next Get SQL Server user management right Top 10 MySQL 8 performance benchmarking aspects to know Data Exploration using Spark SQLlast_img read more

See More

Unit testing Angular components and classes Tutorial

first_img beforeEach(() => { TestBed.configureTestingModule({ declarations: [AsyncExampleComponent], providers: [AsyncDependencyService] }); fixture = TestBed.createComponent(AsyncExampleComponent);});it(‘should contain async data’, async () => {const component = fixture.componentInstance;fixture.whenStable.then(() => {fixture.detectChanges();expect(component.title).toBe(‘async data’);});});}); This version of doing it works as it should, but feels a bit clunky. There is another approach using fakeAsync() and tick(). Essentially, fakeAsync() replaces the async() call and we get rid of whenStable(). The big benefit, however, is that we no longer need to place our assertion statements inside of the promise’s then() callback. This gives us synchronous-looking code. Back to fakeAsync(), we need to make a call to tick(), which can only be called within a fakeAsync() call, like so: it(‘async test’, fakeAsync() => { let component = fixture.componentInstance; fixture.detectChanges(); fixture.tick(); expect(component.title).toBe(‘spy data’);}); As you can see, this looks a lot cleaner; which version you want to use for async testing is up to you. Testing pipes A pipe is basically a class that implements the PipeTransform interface, thus exposing a transform() method that is usually synchronous. Pipes are therefore very easy to test. We will begin by testing a simple pipe, creating, as we mentioned, a test spec right next to its code unit file. The code is as follows: import { Pipe, PipeTransform } from ‘@angular/core’;@Pipe({ name: ‘formattedpipe’})export class FormattedPipe implements PipeTransform { transform(value: any, …args: any[]): any { return “banana” + value; }} Our code is very simple; we take a value and add banana to it. Writing a test for it is equally simple. The only thing we need to do is to import the pipe and verify two things: That it has a transform method That it produces the expected results The following code writes a test for each of the bullet points listed earlier: import FormattedTimePipe from ‘./formatted-time.pipe’;import { TestBed } from ‘@angular/core/testing’;describe(‘A formatted time pipe’ , () => {let fixture; beforeEach(() => { fixture = new FormattedTimePipe(); }) // Specs with assertions it(‘should expose a transform() method’, () => { expect(typeof formattedTimePipe.transform).toEqual(‘function’); }); it(‘should produce expected result’, () => {expect(fixture.transform( ‘val’ )).toBe(‘bananaval’);})}); In our beforeEach() method, we set up the fixture by instantiating the pipe class. In the first test, we ensure that the transform() method exists. This is followed by our second test that asserts that the transform() method produces the expected result. We saw how to code powerful tests for our components and pipes. If you found this post useful, be sure to check out the book Learning Angular (Second Edition) to learn about mocking HTTP responses and unit testing for routes, input, and output, directives, etc. Read Next Getting started with Angular CLI and build your first Angular ComponentBuilding Components Using AngularWhy switch to Angular for web development – Interview with Minko Gechev Testing (and more specifically, unit testing) is meant to be carried out by the developer as the project is being developed. In this article, we will see how to implement testing tools to perform proper unit testing for your application classes and components. This tutorial is an excerpt taken from the book Learning Angular (Second Edition) written by Christoffer Noring, Pablo Deeleman. When venturing into unit testing in Angular, it’s important to know what major parts it consists of. In Angular these are: Jasmine, the testing framework Angular testing utilities Karma, a test runner for running unit tests, among other things Protractor, Angular’s framework for E2E testing Configuration and setting up of Angular CLI In terms of configuration, when using the Angular CLI, you don’t have to do anything to make it work. You can, as soon as you scaffold a project, run your first test and it will work.  The Angular CLI is using Karma as the test runner. What we need to know about Karma is that it uses a karma.conf.js file, a configuration file, in which a lot of things are specified, such as: The various plugins that enhance your test runner. Where to find the tests to run?  It should be said that there is usually a files property in this file specifying where to find the application and the tests. For the Angular CLI, however, this specification is found in another file called src/tscconfig-spec.json. Setup of your selected coverage tool, a tool that measures to what degree your tests cover the production code. Reporters report every executed test in a console window, to a browser, or through some other means. Browsers run your tests in: for example, Chrome or PhantomJS. Using the Angular CLI, you most likely won’t need to change or edit this file yourself. It is good to know that it exists and what it does for you. Angular testing utilities The Angular testing utilities help to create a testing environment that makes writing tests for your various constructs really easy. It consists of the TestBed class and various helper functions, found under the @angular/core/testing namespace. Let’s have a look at what these are and how they can help us to test various constructs. We will shortly introduce the most commonly used concepts so that you are familiar with them as we present them more deeply further on: The TestBed class is the most important concept and creates its own testing module. In reality, when you test out a construct to detach it from the module it resides in and reattach it to the testing module created by the TestBed. The TestBed class has a configureTestModule() helper method that we use to set up the test module as needed. The TestBed can also instantiate components. ComponentFixture is a class wrapping the component instance. This means that it has some functionality on it and it has a member that is the component instance itself. The DebugElement, much like the ComponentFixture, acts as a wrapper. It, however, wraps the DOM element and not the component instance. It’s a bit more than that though, as it has an injector on it that allows us to access the services that have been injected into a component. This was a brief overview of our testing environment, the frameworks, and libraries used. Now let’s discuss component testing. Introduction to component testing A usual method of operation for doing anything Angular is to use the Angular CLI. Working with tests is no different. The Angular CLI lets us create tests, debug them, and run them; it also gives us an understanding of how well our tests cover the code and its many scenarios. Component testing with dependencies We have learned a lot already, but let’s face it, no component that we build will be as simple as the one we wrote in the preceding section. There will almost certainly be at least one dependency, looking like this: @Component({})export class ExampleComponent { constructor(dependency:Dependency) {}} We have different ways of dealing with testing such a situation. One thing is clear though: if we are testing the component, then we should not test the service as well. This means that when we set up such a test, the dependency should not be the real thing. There are different ways of dealing with that when it comes to unit testing; no solution is strictly better than the other: Using a stub means that we tell the dependency injector to inject a stub that we provide, instead of the real thing. Injecting the real thing, but attaching a spy, to the method that we call in our component. Regardless of the approach, we ensure that the test is not performing a side effect such as talking to a filesystem or attempting to communicate via HTTP; we are, using this approach, isolated. Using a stub to replace the dependency Using a stub means that we completely replace what was there before. It is as simple to do as instructing the TestBed in the following way: TestBed.configureTestingModule({ declarations: [ExampleComponent] providers: [{ provide: DependencyService, useClass: DependencyServiceStub }]}); We define a providers array like we do with the NgModule, and we give it a list item that points out the definition we intend to replace and we give it the replacement instead; that is our stub. Let’s now build our DependencyStub to look like this: class DependencyServiceStub { getData() { return ‘stub’; }} Just like with an @NgModule, we are able to override the definition of our dependency with our own stub. Imagine our component looks like the following: import { Component } from ‘@angular/core’;import { DependencyService } from “./dependency.service”;@Component({ selector: ‘example’, template: ` {{ title }} `})export class ExampleComponent { title: string; constructor(private dependency: DependencyService) { this.title = this.dependency.getData(); }} Here we pass an instance of the dependency in the constructor. With our testing module correctly set up, with our stub, we can now write a test that looks like this: it(`should have as title ‘stub’`, async(() => { const fixture = TestBed.createComponent(AppComponent); const app = fixture.debugElement.componentInstance; expect(app.title).toEqual(‘stub’);})); The test looks normal, but at the point when the dependency would be called in the component code, our stub takes its place and responds instead. Our dependency should be overridden, and as you can see, the expect(app.title).toEqual(‘stub’) assumes the stub will answer, which it does. Spying on the dependency method The previously-mentioned approach, using a stub, is not the only way to isolate ourselves in a unit test. We don’t have to replace the entire dependency, only the parts that our component is using. Replacing certain parts means that we point out specific methods on the dependency and assign a spy to them. A spy is an interesting construct; it has the ability to answer what you want it to answer, but you can also see how many times it is being called and with what argument/s, so a spy gives you a lot more information about what is going on. Let’s have a look at how we would set a spy up: beforeEach(() => { TestBed.configureTestingModule({ declarations: [ExampleComponent], providers: [DependencyService] }); dependency = TestBed.get(DependencyService);spy = spyOn( dependency,’getData’);fixture = TestBed.createComponent(ExampleComponent);}) Now as you can see, the actual dependency is injected into the component. After that, we grab a reference to the component, our fixture variable. This is followed by us using the TestBed.get(‘Dependency’) to get hold of the dependency inside of the component. At this point, we attach a spy to its getData() method through the spyOn( dependency,’getData’) call. This is not enough, however; we have yet to instruct the spy what to respond with when being called. Let us do just that: spyOn(dependency,’getData’).and.returnValue(‘spy value’); We can now write our test as usual: it(‘test our spy dependency’, () => { var component = fixture.debugElement.componentInstance; expect(component.title).toBe(‘spy value’);}); This works as expected, and our spy responds as it should. Remember how we said that spies were capable of more than just responding with a value, that you could also check whether they were invoked and with what? To showcase this, we need to improve our tests a little bit and check for this extended functionality, like so: it(‘test our spy dependency’, () => { var component = fixture.debugElement.componentInstance; expect(spy.calls.any()).toBeTruthy();}) You can also check for the number of times it was called, with spy.callCount, or whether it was called with some specific arguments: spy.mostRecentCalls.args or spy.toHaveBeenCalledWith(‘arg1’, ‘arg2’). Remember if you use a spy, make sure it pays for itself by you needing to do checks like these; otherwise, you might as well use a stub. Spies are a feature of the Jasmine framework, not Angular. The interested reader is urged to research this topic further at http://tobyho.com/2011/12/15/jasmine-spy-cheatsheet/. Async services Very few services are nice and well-behaved, in the sense that they are synchronous. A lot of the time, your service will be asynchronous and the return from it is most likely an observable or a promise. If you are using RxJS with the Http service or HttpClient, it will be observable, but if using the fetch API, it will be a promise. These are two good options for dealing with HTTP, but the Angular team added the RxJS library to Angular to make your life as a developer easier. Ultimately it’s up to you, but we recommend going with RxJS. Angular has two constructs ready to tackle the asynchronous scenario when testing: async() and whenStable(): This code ensures that any promises are immediately resolved; it can look more synchronous though fakeAsync() and tick(): This code does what the async does but it looks more synchronous when used Let’s describe the async() and whenStable() approaches. Our service has now grown up and is doing something asynchronous when we call it like a timeout or an HTTP call. Regardless of which, the answer doesn’t reach us straightaway. By using async() in combination with whenStable(), we can, however, ensure that any promises are immediately resolved. Imagine our service now looks like this: export class AsyncDependencyService { getData(): Promise { return new Promise((resolve, reject) => { setTimeout(() => { resolve(‘data’) }, 3000); }) }} We need to change our spy setup to return a promise instead of returning a static string, like so: spy = spyOn(dependency,’getData’).and.returnValue(Promise.resolve(‘spy data’)); We do need to change inside of our component, like so: import { Component, OnInit } from ‘@angular/core’;import { AsyncDependencyService } from “./async.dependency.service”; @Component({ selector: ‘async-example’, template: ` {{ title }} `})export class AsyncExampleComponent { title: string; constructor(private service: AsyncDependencyService) { this.service.getData().then(data => this.title = data); }} At this point, it’s time to update our tests. We need to do two more things. We need to tell our test method to use the async() function, like so: it(‘async test’, async() => { // the test body}) We also need to call fixture.whenStable() to make sure that the promise will have had ample time to resolve, like so: import { TestBed } from “@angular/core/testing”;import { AsyncExampleComponent } from “./async.example.component”;import { AsyncDependencyService } from “./async.dependency.service”;describe(‘test an component with an async service’, () => { let fixture;last_img read more

See More

Ryanair files complaint with EU claiming an obvious conspiracy in Air Berlin

first_imgRyanair files complaint with EU claiming “an obvious conspiracy” in Air Berlin bankruptcy BERLIN — Irish budget airline Ryanair has filed a complaint with European Union competition authorities after Air Berlin filed for bankruptcy protection and then got a 150 million euro government loan to stay afloat.Ryanair said late Tuesday there’s “an obvious conspiracy” between the German government, Lufthansa and Air Berlin. The loan will help Air Berlin to keep flights running for the next three months, while it is negotiating a possible deal with No. 1 German airline Lufthansa and another unnamed carrier.Air Berlin filed for bankruptcy protection Tuesday after its main shareholder, Abu Dhabi-based Etihad, said it would make no more financing available following years of unsuccessful turnaround attempts. Share Wednesday, August 16, 2017 Source: The Associated Press Tags: Air Berlin, Britain & Europe, European Union, Low-Cost Carriers, Lufthansa, Ryanair << Previous PostNext Post >>last_img read more

See More

Queenstown ranks in top destination list

first_imgSource = e-Travel Blackboard: N.J Queenstown has been ranked twelfth in the top 25 destinations across the Asia Pacific, falling one spot behind Sydney.The city moved three places up from last year and was voted in as the only New Zealand destination in the top Asia Pacific destinations list at this year’s Travellers Choice Awards.Destination Queenstown chief executive Tony Everitt said the achievement was a testimony to the standards and quality in Queenstown. “It puts us right up there with some of the world’s major cities including Cape Town, Paris, London, Rio de Janiero, Hong Kong and Barcelona, showing the level of our international appeal,” Mr Everitt said. “It’s a fantastic achievement which acknowledges our world-class operators, spectacular alpine setting and diversity of experiences which hundreds of thousands of visitors from around the globe come to enjoy each year.”Destinations were ranked according to reviews and opinion compiled on Trip Advisor.last_img read more

See More