promise

BP promises to pay a £1.7bn dividend despite 'brutal' environment

Many had been worried BP would have to cut or axe the payout after oil prices began tanking in late January. But the energy giant has raised the amount it will give to shareholders.




promise

Robert Helenius promises to bring a 'Viking invasion' to the UK to defeat Anthony Joshua

The 'Nordic Nightmare' is on a high after his devastating stoppage of previously undefeated Adam Kownacki earlier this month, and is now just one win away from a potential fight with AJ.




promise

Autumn Statement: Victory for drivers: 3p-a-litre fuel duty rise is axed as Osborne promises 'real help' for families

Tory MPs had threatened to rebel against the government if George Osborne had gone ahead with his New Year tax hike on petrol and diesel.




promise

Philip Hammond promises low and middle earners they WILL get income tax cuts

The Chancellor reaffirmed the Conservative manifesto commitments to lift the personal allowance to £12,500 and the 40p tax threshold to £50,000 by accelerating progress to meeting the goals.




promise

Ryan Murphy promises 'very startling' revelations in ACS: Impeachment about Monica Lewinsky scandal

'I'm very, very excited to have Monica Lewinsky's version of what happened be put out there in the world, and I think that she's earned the right to be able to tell her story,' Murphy told Collider.




promise

Russian hoaxers promise to release more audio from Prince Harry hoax calls

The Russian pranksters who tricked Prince Harry into believing he was talking to Greta Thunberg have today warned they will release more audio.




promise

Anthony Joshua promises to beat Kubrat Pulev in 11th round as he eyes future fight with Tyson Fury 

The British champion will take on the Bulgarian at the Tottenham Hotspur Stadium before a potential future date with Tyson Fury.




promise

Immunocompromised woman hospitalized with coronavirus after her mother 'refused to let her isolate'

Reddit user racingbarakarts shared photos of herself in the hospital, her official diagnosis, and her text message exchange with her mom on Wednesday.




promise

Google is NOT building the COVID-19 testing website Trump promised

A website that is very different to the one described at Trump's Friday press conference at the White House is being built by Verily, a healthcare tech company also owned by Alphabet.




promise

Apple and Google promise to discontinue COVID-19 tracking following the pandemic

The decision to disable tech supporting contact tracing apps designed to monitor the spread of COVID-19 be made on a geographic basis according to representatives.




promise

eBay removes listing selling three nuclear cabins that promised 'full protection' from coronavirus

Three nuclear cabins in Cardigan, West Wales, that were said to offer 'full protection' from viruses including COVID-19, were removed from eBay after being listed on the website for £15,000 each.




promise

Rural areas promised better internet as Government pledge £5bn towards speedy broadband

Households in rural areas of the UK have been promised better internet speeds as the Government pledged £5billion towards providing faster broadband.




promise

Rs 15-lakh cr investment promises at Make in India

Maharashtra, which was the host state, alone received investment proposals of Rs 7.94 lakh cr and 3,294 MoUs




promise

Jayalalithaa keeps five poll promises on Day 1

AIADMK chief becomes Tamil Nadu CM for the sixth time




promise

New antiviral drug combo shows promise against COVID-19: Study

A two-week course of an antiviral therapy, started within seven days of experiencing COVID-19 symptoms, may improve clinical recovery of patients and reduce their hospital stay duration, according to the first randomised trial of this triple drug combination. The study, published in the journal The Lancet, involved 127 adults from six public hospitals in Hong Kong, and tested the effectiveness of an antiviral drug combination in reducing the load of the novel coronavirus in their bodies. According to the researchers, including those from the University of Hong Kong, treatment involving combination of the drugs interferon beta-1b, plus the antiviral therapy lopinavir-ritonavir and ribavirin, is better at reducing the viral load than lopinavir-ritonavir alone. They stressed on the need for larger phase 3 trials to examine the effectiveness of this triple combination in critically ill patients, adding that these early findings were only observed in patients with mild to moderate ...




promise

Rigged results, failed promises


The hype that surrounded the introduction of Bt Cotton has now predictably proven false, says Devinder Sharma.




promise

'Congress candidate has promised us employment'

A voter discusses the chances in the Sawaimadhopur Lok Sabha seat in Rajasthan where Colonel Kirori Singh Bainsla, who led the Gujjar agitation last year, is the BJP candidate.




promise

The willful breaking of Narmada promises


Without an iota of public debate and due process, Gujarat had increased allocation of Narmada waters for industry five fold last year, eating into the share of drought affected villages. The Comptroller and Auditor General reported this in 2007, finding it untenable. Himanshu Upadhyaya has more.




promise

Has the Modi government kept its promises on inflation?


S Venkatraman presents an interesting set of charts to capture the movement of the consumer price index and finds that the answer to this question may not be an easy one to arrive at.




promise

The false promise of a demographic dividend


Much is made out of the proportion of youth in India’s population and what it could mean for its economy and progress. However, statistics and trends in education and employment within this group do not paint a promising picture, points out Kannan Kasturi.




promise

Not quite as planned or promised


The World Bank's Inspection Panel finds that a Bank-backed coal mine disrupted livelihoods by violating guidelines on resettlement, supervision, and the environment.




promise

The beauty of compromise


The most intractable conflicts in South Asia have remained unresolved because of the inflexibility and dogmatism of the contending parties. It is time for them to move beyond self-justification towards acknowledging and embracing the beauty of compromise, writes Ramachandra Guha.




promise

The promise of a different life


Without the opportunity to empower themselves, hope for the nation's handicapped will remain just a four-letter word, says Ashwin Mahesh.




promise

Promises made to be broken


The terrible mid-day meal tragedy claiming innocent lives in Bihar recently is just one in a long line of instances that reveal the abysmal quality of services and chronic breach of trust by the government. Sakuntala Narasimhan voices the angst of the people.




promise

The promises of Tadri: Mirage or reality?


As environmental clearance on the proposed Tadri port in Karnataka is awaited, Dina Rasquinha and Aarthi Sridhar discuss how assumed future benefits of the port have been projected in complete disregard of the natural, environmental gifts that the region enjoys.




promise

Pati Patni Aur Woh Movie Review: Kartik-Bhumi-Ananya Promise Plenty Laughs

In a very roundabout, over-simplistic way, the film is actually progressive. Thank you for small mercies. Plenty laughs are guaranteed.




promise

Can't Compromise Health of Labour Force for Sake of Restarting Production: Himanta Biswa Sarma

Sarma also said that all the attendees of the Tablighi Jamaat event have volunteered to stay in isolation camps in Assam, adding the government took a humanitarian approach while dealing with the crisis.




promise

Cricket-Restarting game should not compromise its quality, says England's Root

England test captain Joe Root is keen to play international cricket this summer but not by compromising on quality of the game or its intensity, the 29-year-old has said.




promise

The promise / Silvina Ocampo ; translated by Suzanne Jill Levine and Jessica Powell

Dewey Library - PQ7797.O293 P7613 2019




promise

Multipolarity: the promise of disharmony / Peter W. Schulze (ed.)

Dewey Library - JZ1305.M858 2018




promise

Environmental conflict and cooperation: premise, purpose, persuasion, and promise / James R. Lee

Dewey Library - JZ1324.L44 2020




promise

Foreign policy as public policy?: promises and pitfalls / edited by Klaus Brummer, Sebastian Harnisch, Kai Oppermann, and Diana Panke

Dewey Library - JZ1242.F67 2019




promise

Improving Transition Outcomes for Youth SSI Recipients: Early Findings from the PROMISE Evaluation




promise

Maneka promises rape crisis centres in all dists by year-end



  • DO NOT USE Uttar Pradesh
  • India

promise

CM Akhilesh Yadav gives Rs 1 lakh to Pratapgarh brothers and a Manipur boy, families promised home



  • DO NOT USE Uttar Pradesh
  • India

promise

Virtually human : the promise---and the peril---of digital immortality / Martine Rothblatt, Ph.D

Rothblatt, Martine Aliana, 1954-




promise

Successful monsoon promises rabi riches in Doon valley

While average rainfall figure for Uttarakhand between June and Sept stood at 1,199 mm, Doon valley received 2,240 mm




promise

A promise yet to deliver

Emu farmers struggle as they get focus wrong, while oil is yet to find a market





promise

Social by nature: the promise and peril of sociogenomics / Catherine Bliss

Hayden Library - QH457.5.B54 2018




promise

The Empty Promises of Minimalism




promise

Absurd Creatures | The Bizarre Sea Spider Won’t Bite. We Promise.

The sea spider isn’t actually a spider, but it’s genitals are on its legs. Which is nice.




promise

Behold the Robotic Bat, Which We Promise Doesn't Bite

Researchers have developed a robotic bat that promises to transform the way search and rescue operations work.




promise

The Promise and limits of private power [electronic resource] : promoting labor standards in a global economy / Richard M. Locke

Locke, Richard M., 1959-




promise

What Doctors Need to Fulfill the Promise of Electronic Health Records

In this week’s episode of On the Evidence, Genna Cohen and Llew Brown, who research and work with electronic health records (EHRs) at Mathematica, discuss challenges in adopting EHRs as well as what to do about them.




promise

'New drug combo shows promise against Covid'

A two-week course of an antiviral therapy, started within 7 days of experiencing Covid-19 symptoms, may improve clinical recovery of patients and reduce their hospital stay duration, according to the first randomised trial of this triple drug combination. The treatment combination, according to the scientists, also appeared safe and well tolerated by patients.




promise

A comprehensive overview of the medicinal chemistry of antifungal drugs: perspectives and promise

Chem. Soc. Rev., 2020, 49,2426-2480
DOI: 10.1039/C9CS00556K, Review Article
Kaitlind C. Howard, Emily K. Dennis, David S. Watt, Sylvie Garneau-Tsodikova
The emergence of new fungal pathogens makes the development of new antifungal drugs a medical imperative that in recent years motivates the talents of numerous investigators across the world.
The content of this RSS Feed (c) The Royal Society of Chemistry




promise

The line between Events and Promises

In this post I will talk about Events and Promise limits, trying to fill all gaps with a 498 bytes sized library called notify-js.




promise

On Cancelable Promises

Update
The awesome Lie function got improved and became an official module (yet 30 lines of code thought). Its name is Dodgy, and it's tested and even more awesome!


Ifeverydevelopertalksaboutsimilarissues with Promises, maybe we should just drop our "religion" for an instant and meditate about it ...

Not today though, today is just fine

We've been demanding from JS and Web standards to give us lower level APIs and "cut the crap", but we can do even more than that: simply solve our own problems whenever we need, and "cut our own crap" by ourselves and for our own profit, instead of keep moaning without an outcome.
Today, after reading yet another rant about what's missing in current Promise specification, I've decided to write a very simple gist:


After so many discussions and bikeshead about this topic, I believe above gist simply packs in its simplicity all good and eventually bad intents from any voice of the chorus I've heard so far:
  1. if we are in charge of creating the Promise, we are the only one that could possibly make it abortable and only if we want to, it's an opt in rather than a default or a "boring to write" subclass
  2. it's widely agreed that cancellation should be rather synonymous of a rejection, there's no forever pending issue there, just a plain simple rejection
  3. one of the Promise strength is its private scope callback, which is inevitably the only place where defining abortability would make sense. Take a request, a timer, an event handler defined inside that callback, where else would you provide the ability to explicitly abort and cleanup the behavior if not there?
  4. being the callback the best pace to resolve, reject, and optionally to abort, that's also the very same place we want to be sure that if there was a reason to abort we can pass it along the rejection, so that we could simply ignore it in our optionally abort aware Promises, and yet drop out from any other in the chain whenever the rejection occurs or it's simply ignored
  5. the moment we make the promise malleable from the outer world through a p.abort() ability, is also the very same moment we could just decide to resolve, or fully fail the promise via p.resolve(value) or p.reject(error)
As example, and shown in the gist itself, this is how we could opt in:

var p = new Lie(function (resolve, reject, onAbort) {
var timeout = setTimeout(resolve, 1000, 'OK');
// invoking onAbort will explicit our intent to opt-in
onAbort(function () {
clearTimeout(timeout);
return 'aborted'; // will be used as rejected error
// it could even be undefined
// so it's easier to distinguish
// between real errors and aborts
});
});
After that, we can p.abort() or try other resolve or reject options with that p instance and track it's faith:

p.then(
console.log.bind(console),
console.warn.bind(console)
).catch(
console.error.bind(console)
);
Cool, uh? We have full control as developers who created that promise, and we can rule it as much as we like when it's needed ... evil-laugh-meme-here

Cooperative code

In case you are wondering what's the main reason I've called it Lie in the first place, it's not because a rejected Promise can be considered a lie, simply because its behavior is not actually the one defined by default per each Promise.
Fair enough for the name I hope, the problem might appear when we'd like to ensure our special abortable, resolvable, rejectable own Promise, shouldn't be passed around as such. Here the infinite amount of logic needed in order to solve this problem once for all:

var toTheOuterWorld = p.then(
function (data) {return data},
function (error) {return error}
);
// or even ...
var toTheOuterWorld = Promise.resolve(p);
That's absolutely it, really! The moment we'd like to pass our special Promise around and we don't want any other code to be able to mess with our abortability, we can simply pass a chained Promise, 'cause that's what every Promise is about: how cool is that?

// abortable promise
var cancelable = new Lie(function (r, e, a) {
var t = setTimeout(r, 5000, 'all good');
a(function () { clearTimeout(t); });
});

// testing purpose, will it resolve or not?
setTimeout(cancelable.reject, 1000, 'nope');
// and what if we abort before?
setTimeout(cancelable.abort, 750);



// generic promise, let's log what happens
var derived = cancelable.then(
function (result) { console.log('resolved', result); },
function (error) { error ?
console.warn('rejected', error) :
console.log('ignoring the .abort() call');
}
).catch(
function (error) { console.error('cought', error); }
);

// being just a Promise, no method will be exposed
console.log(
derived.resolve,
derived.reject,
derived.abort
);

Moaaar lies

If your hands are so dirty that you're trying to solve abort-ability down the chain, don't worry, I've got you covered!

Lie.more = function more(lie) {
function wrap(previous) {
return function () {
var l = previous.apply(lie, arguments);
l.resolve = lie.resolve; // optional bonus
l.reject = lie.reject; // optional bonus
l.abort = lie.abort;
return Lie.more(l);
};
}
if (lie.abort) {
lie.then = wrap(lie.then);
lie.catch = wrap(lie.catch);
}
return lie;
};
We can now chain any lie we want and abort them at any point in time, how cool is that?

var chainedLie = new Lie(function (res, rej, onAbort) {
var t = setTimeout(res, 1000, 'OK');
onAbort(function (why) {
clearTimeout(t);
return why;
});
})
.then(
console.log.bind(console),
console.warn.bind(console)
)
.catch(
console.error.bind(console)
);

// check this out
chainedLie.abort('because');
Good, if you need anything else you know where to find me ;-)
How to opt out from lies again?

var justPromise = Promise.resolve(chainedLie);
OK then, we've really solved our day, isn't it?!

As Summary

Promises are by definition the returned or failed value from the future, and there's no room for any abort or manually resolved or rejected operation in there.
... and suddenly we remind ourselves we use software to solve our problems, not to create more, so if we can actually move on with this issue that doesn't really block anyone from creating the very same simple logic I've put in place in about 20 well indented standard lines, plus extra optional 16 for the chainable thingy ... so what are we complaining about or why do even call ourselves developers if we get stuck for such little effort?
Let's fell and be free and pick wisely our own footgun once we've understood how bad it could be, and let's try to never let some standard block our daily job: we are all hackers, after all, aren't we?




promise

Ecotourism's promise and peril: a biological evaluation / Daniel T. Blumstein, Benjamin Geffroy, Diogo S. M. Samia, Eduardo Bessa, editors

Online Resource