Bookmarks from PinBoard May 13, 2017

May 13th, 2017 by Richy B. No comments »

Bookmarks I’ve added on PinBoard.in recently

Digest powered by RSS Digest

NodeJS : UnhandledPromiseRejection handling

May 11th, 2017 by Richy B. No comments »

Are you programming Node JS Javascript and reached the dreaded:

(node:1984) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): xxxxx
(node:1984) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

but can’t figure out where the Promise is in NodeJS which is causing this? Just add the following bit of code near the top of your code (after the requires if used) which might help:

process.on('unhandledRejection', function(reason,promise) {
console.log('unhandledRejection', reason);
});

Bookmarks from PinBoard May 6, 2017

May 6th, 2017 by Richy B. No comments »

Bookmarks I’ve added on PinBoard.in recently

Digest powered by RSS Digest

Bookmarks from PinBoard April 29, 2017

April 29th, 2017 by Richy B. No comments »

Bookmarks I’ve added on PinBoard.in recently

Digest powered by RSS Digest

Drive benchmarking

April 22nd, 2017 by Richy B. No comments »

All drives connected to SATA connections on an Asus X99-Deluxe Sata III (6Gbit/s / ~600MB/s limit) Windows 7 64 bit machine. Benchmarked via Samsung Magician.

Drive Capacity “Usable Capacity” S.M.A.R.T Power on hours Sequential Read MB/s Sequential Writes MB//th>

Random Reads IOPS Random Writes IOPS
Samsung SSD 840 Evo 500Gb 465.76Gb 19,429 326 529 60,477 54,770
LiteOn Cv3-8D128 M.2 SATA SSD 128Gb 119.24Gb 213 539 530 57,596 35,988
Western Digital Black WD4003FZEX 4000Gb 3762.02Gb 19,422 111 89 677 268
Hitachi HTS727575 750Gb 698.64Gb 36,365 60 60 177 189
gamy-dance
%d bloggers like this: