ise

The science and regulations of naturally derived complex drugs / Ram Sasisekharan [and 3 others], editors

Hayden Library - RS380.S35 2019




ise

Nanomedicine for the treatment of disease: from concept to application / editors, Sarwar Beg, Mahfoozur Rahman, Md. Abul Barkat, Farhan J. Ahmad

Online Resource




ise

Fungus that causes bat-killing disease White-nose Syndrome is expanding in Texas

BCI announced today that early signs of the fungus Pseudogymnoascus destructans (Pd) have been detected at one of the world’s premier bat conservation sites, Bracken Cave Preserve




ise

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.




ise

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?




ise

Frederick de Wit and the first concise reference atlas / George Carhart

Hayden Library - GA923.6.W57 C37 2016




ise

Geographical information systems theory, applications and management: second International Conference, GISTAM 2016, Rome, Italy, April 26-27, 2016, Revised selected papers / Cédric Grueau, Robert Laurini, Jorge Gustavo Rocha (eds.)

Online Resource




ise

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

Online Resource




ise

Report on China's cruise industry / Hong Wang, editor

Online Resource




ise

The technocratic Antarctic: an ethnography of scientific expertise and environmental governance / Jessica O'Reilly

Dewey Library - G877.O74 2017




ise

The concise dictionary of world place-names / John Everett-Heath

Online Resource




ise

Geo-Spatial Knowledge and Intelligence: 5th International Conference, GSKI 2017, Chiang Mai, Thailand, December 8-10, 2017, Revised Selected Papers. / edited by Hanning Yuan, Jing Geng, Chuanlu Liu, Fuling Bian, Tisinee Surapunt

Online Resource




ise

Geo-Spatial Knowledge and Intelligence: 5th International Conference, GSKI 2017, Chiang Mai, Thailand, December 8-10, 2017, Revised Selected Papers. / edited by Hanning Yuan, Jing Geng, Chuanlu Liu, Fuling Bian, Tisinee Surapunt

Online Resource




ise

Report on the Development of Cruise Industry in China (2018): Green book on Cruise industry / Hong Wang, editor

Online Resource




ise

Geographical information systems theory, applications and management: 4th international conference, GISTAM 2018, Funchal, Madeira, Portugal, March 17-19, 2018: revised selected papers / Lemonia Ragia, Cédric Grueau, Robert Laurini (eds.)

Online Resource




ise

Geographical information systems theory, applications and management: third international conference, GISTAM 2017, Porto, Portugal, April 27-28, 2017: revised selected papers / Lemonia Ragia, Robert Laurini, Jorge Gustavo Rocha (eds.)

Online Resource




ise

Achieve CAPM exam success: a concise study guide and desk reference / Diane Altwies

Online Resource




ise

The Concise PRINCE2®: Principles and Essential Themes.

Online Resource




ise

Benchmarking, measuring, and optimizing: First BenchCouncil International Symposium, Bench 2018, Seattle, WA, USA, December 10-13, 2018, Revised Selected Papers / Chen Zheng, Jianfeng Zhan (eds.)

Online Resource




ise

Real-time business intelligence and analytics: International Workshops, BIRTE 2015, Kohala Coast, HI, USA, August 31, 2015, BIRTE 2016, New Delhi, India, September 5, 2016, BIRTE 2017, Munich, Germany, August 28, 2017, Revised Selected Papers / Malu Caste

Online Resource




ise

Computer Supported Cooperative Work and Social Computing: 14th CCF Conference, ChineseCSCW 2019, Kunming, China, August 16-18, 2019, Revised Selected Papers / Yuqing Sun, Tun Lu, Zhengtao Yu, Hongfei Fan, Liping Gao (eds.)

Online Resource




ise

Enterprise content and search management for building digital platforms / Shailesh Shivakumar

Online Resource




ise

Crises, inquiries and the politics of blame / Sandra L. Resodihardjo

Online Resource




ise

Lean transformation: cultural enablers and enterprise alignment / Suresh Patel

Online Resource




ise

Enterprise Governance of Information Technology: Achieving Alignment and Value in Digital Organizations / Steven De Haes, Win Vam Grembergen, Anant Joshi, Tim Huygh

Online Resource




ise

Servitization of industrial enterprises through acquisitions: a success story / Laura Johanna Oberle

Online Resource




ise

Enterprise risk management models David L. Olson, Desheng Wu

Online Resource




ise

Loonshots: how to nurture the crazy ideas that win wars, cure diseases, and transform industries / Safi Bahcall

Dewey Library - HD53.B34 2019




ise

Bhargavi Zaveri & Radhika Pandey: Treat the disease, not just the symptoms

Easing the Reserve Bank of India regulation on put options would be a quick hack to solve a temporary problem. What needs to be fixed is the fundamental design of the Foreign Exchange Management Act




ise

Marseillaise (Motion picture)




ise

Marseillaise (Motion picture)




ise

Television tension programmes : a study based on a content analysis of western, crime, and adventure programmes televised by Melbourne stations, 1960-61 / by David Martin

Martin, David




ise

Emotional AI : the rise of empathic media / Andrew McStay

McStay, Andrew, 1975- author




ise

Human brain and artificial intelligence: first International Workshop, HBAI 2019, held in conjunction with IJCAI 2019, Macao, China, August 12, 2019, revised selected papers / An Zeng, Dan Pan, Tianyong Hao, Daoqiang Zhang, Yiyu Shi, Xiaowei Song (eds.)

Online Resource




ise

A Concise Guide to Nuclear Medicine / Abdelhamid H. Elgazzar, Saud Alenezi

Online Resource




ise

High-Rise Urban Form and Microclimate: Climate-Responsive Design for Asian Mega-Cities / Feng Yang, Liang Chen

Online Resource




ise

A treatise of heat and energy / Lin-Shu Wang

Online Resource




ise

Advances in automation and robotics research: proceedings of the 2nd Latin American Congress on Automation and Robotics, Cali, Colombia 2019 / Alexánder Martínez, Héctor A. Moreno, Isela G. Carrera, Alexandre Campos, José Baca, editor

Online Resource




ise

The Rise of Gospel-Shaped Businesses

Biblical principles are shaping best practices.




ise

The Promise and Paradox of Christian Higher Education

These institutions are important. But they must change.




ise

The Wiley Blackwell Concise Companion to The Hadith


 

The most comprehensive and up-to-date English-language guide on hadith scholarship

The source of much of our knowledge of the first two centuries of Islamic history, the hadith literature is made up of thousands of traditions collected during the formative years of Islam. Alongside the Qur'an, the hadith forms a second major body of Islamic scripture, and much of Islamic belief and practice rests on the hadith including Islamic law, Islamic theology



Read More...




ise

Noise in Radio-Frequency Electronics and its Measurement


 

The ability of wireless communication devices to transmit reliable information is fundamentally limited by sources of noise related to the electronic components in use.

Noise in Radio-Frequency Electronics and its Measurement has five chapters that address the theoretical aspects of this subject, and concludes with a series of exercises and solutions. The book examines the origin and sources of noise inside electronic radio-frequency circuits, their



Read More...




ise

Actress Jordin Sparks Talks About Sickle Cell Disease in NIH MedlinePlus Magazine

The current issue of NIH MedlinePlus magazine brings you recording artist and Broadway actress Jordin Sparks sharing her family’s experience with sickle cell disease. Sparks opens up about honoring her late stepsister, giving more patients a voice, and reducing stigma. She says, “We need to end the stigma that can come with sickle cell disease.…




ise

Cost revised for Kaleshwaram work component

Engineer-in-Chief requested for revision of costs




ise

Well organised process at AP-TS checkpost on NH

Ramapuram cross roads sees “class people”




ise

Musique française pour chœur mixte.

STACK SCORE M1547.M87 2017




ise

Les chefs-d'oeuvre pour guitare: Guitar masterpieces / Fernando Sor ; révisés par = revised by Michel Beauchamp

STACK SCORE Mu pts So69 guimu c




ise

Facing Goya: an opera in four acts (2000 & 2002, revised 2014) / Michael Nyman ; libretto by Victoria Hardie

STACK SCORE Mu N989 fac pv




ise

Rumor: for flute (piccolo) and cello / Laura Elise Schwendinger

STACK SCORE Mu pts Sch98 rum




ise

The Oxford reference guide to lexical functional grammar / Mary Dalrymple, John J. Lowe, Louise Mycock

Online Resource