$q.serial a cleaner way to execute promises serially in AngularJS. – Code Ducky

The GWAPS team used this pattern extensively.
For recording purposes.

$q.serial a cleaner way to execute promises serially in AngularJS.March 11, 2015UncategorizedSteven WexlerHey AngularJS devs! Let’s talk about executing async tasks serially with promises and how $q.serial can help.First, we notice .then allows our success/fail callbacks to return a promise. $q treats success/fail callbacks that return promises specially. We’ll look at two examples to see how $q treats success/fail functions that return promises differently from those that don’t.

Source: $q.serial a cleaner way to execute promises serially in AngularJS. – Code Ducky

The Buddhist Priest Who Became a Billionaire Snubbing Investors – Bloomberg Business

Why can’t I help but decry that in the Philippine Business scene we lack a centering philosophy such as this:

Change Mentalities. The secret, as Inamori tells it, was to change employees’ mentality. After taking the CEO role without pay, he printed a small book for each staff member on his philosophies, which declared that the company was devoted to their growth. He also explained the social significance of their work and outlined Buddhist-inspired principles for how employees should live, such as being humble and doing the right thing. This made them proud of the airline and ready to work harder for its success, Inamori has said.

Source: The Buddhist Priest Who Became a Billionaire Snubbing Investors – Bloomberg Business

On Grantland, Collective, and Influence | Bench Points

Grantland launched when I was 20 years old, and is shutting down a couple months into my 25th year. To say it was a big part of my growing up would be an understatement. They’ve been with me for a FIFTH of my existence. I was an angsty player with dreams of writing novels and screenplays. Now I’m a high school English teacher, four months away from getting married, with dreams of writing just something as good as the articles I read on Grantland.All I can say at this point, is thank you, Bill Simmons. Thank you, Zach Lowe. Thank you, Shea Serrano, Rembert Browne, Jonathan Abrams, Katie Baker, Holly Anderson, Bill Barnwell, Amos Barshad, Danny Chau, Chris Ryan, Chris Connelly, Andy Greenwald, Kirk Goldsberry, and literally everyone else who ever participated in something Grantland related. You inspired a generation of wanna-be sports and culture writers. Even Kafka-loving, Carver-emulating, Cheever-hugging fiction guys like me.

Source: On Grantland, Collective, and Influence | Bench Points

‘We got what we wanted’ | Inquirer Opinion

Why BBM/Binay/Poe have NAIVE positions on Hague case.

But Justice Carpio’s reaction to that can be seen in YouTube (Bawal ang Pasaway, Justice Antonio Carpio). According to him, we have had bilateral talks with China since 1995, and we have exhausted ourselves. Eighteen years of bilateral talks is enough. We had to go to arbitration. If we now consent to more bilateral talks, we are weakening our case. Or words to that effect.

Source: ‘We got what we wanted’ | Inquirer Opinion

‘We got what we wanted’ | Inquirer Opinion

If you are not 100 pro and 100 supporting our case in the Hague, you do not deserve to be President.

To remind the Reader: This is the most important Philippine foreign policy issue.How sweet is the taste of victory. And a main contributor to that victory was Antonio Carpio, who has spent more than four years helping craft the legal strategy that led to it, and beating the international bushes to make sure that the lies of China to “prove” its claim are shown up for what they are. He has written about it, he has travelled all over the world and given speeches and lectures about it—and still kept his rigorous schedule at the Supreme Court. Truly a labor of love. This column has written about his efforts over the past two and a half years.

Source: ‘We got what we wanted’ | Inquirer Opinion

Davao drug suspect dead after Duterte ultimatum | Inquirer News

The news within the news here is that a brgy tanod was the one involved with drugs. There should be a lifestyle check on the brgy captain.

First deathA day after he issued the ultimatum, police operatives shot dead 38-year-old Armanuel Atienza, a member of the city’s Barangay Peace and Order Unit, after he reportedly resisted arrest during a drug buy-bust operation.San Pedro police station chief Supt. Ronald Lao said seized from the slain suspect was a handgun and sachets of suspected shabu (methamphetamine hydrochloride).“We had repeatedly asked him to stop but he did not listen. So on Tuesday, we launched the operation and he got killed in the process,” Lao said.He said another suspect, Leo Julius Monterola, 36, was arrested during the same operation.Driz said police will conduct a major antidrug operation anytime soon.“This will be one time, big time,” she said.

Source: Davao drug suspect dead after Duterte ultimatum | Inquirer News

Working on an Enterprise Integration Project? – DZone Integration

specific suggestions:

Look at middleware rather than just writing code. Don’t spend time writing middleware – focus on the business logic. 80% of code can go away if you use the middleware that’s already created.

Standards are key. Don’t overcomplicate things. Know what the platform accepts and outputs.

Don’t get frustrated. Don’t “boil the ocean.” Don’t spend too much time on any one solution because it will change. Experiment and play with solutions. Stay aligned with business objectives. Show progress

Source: Working on an Enterprise Integration Project? – DZone Integration

Philippines wins round 1 in historic case vs China

This initial victory means the tribunal can hear the merits of the Philippines’ case – and issue a definitive ruling by 2016.In a news release late Thursday evening, October 29, the PCA said the tribunal “has held that both the Philippines and China are parties” to the United Nations Convention on the Law of the Sea, and therefore “bound by its provisions on the settlement of disputes.”HISTORIC CASE. The arbitral tribunal in The Hague, Netherlands, listens to the first country that brought China to court over the West Philippine Sea (South China Sea). Photo courtesy of PCA“The tribunal has also held that China’s decision not to participate in these proceedings does not deprive the tribunal of jurisdiction and that the Philippines’ decision to commence arbitration unilaterally was not an abuse of the Convention’s dispute settlement procedures,” it said.“In light of the foregoing, the tribunal has concluded that it is presently able to decide that it does have jurisdiction with respect to the matters raised in 7 of the Philippines’ Submissions. The tribunal has concluded, however, that its jurisdiction with respect to 7 other Submissions by the Philippines will need to be considered in conjunction with the merits. The tribunal has requested the Philippines to clarify and narrow one of its Submissions,” the PCA added.

Source: Philippines wins round 1 in historic case vs China