Paolo Redaelli personal blog

Category: Javascript

Exiting the ivory tower

From “Web Development with Bootstrap 4 and Angular 2 – Second Edition” In one moment of compilation, a TypeScript compiler can generate a declaration file which contains only signatures of the exported types. The resulting declaration file with the extension .d.ts along with a JavaScript library or module can be consumed later by a third-party…

Link

Math.js is an extensive math library for JavaScript and Node.js. It features big numbers, complex numbers, matrices, units, and a flexible expression parser.

Sorgente: math.js

JSON references

Is there a standard way of referencing objects by identity in JSON? For example, so that graphs and other data structures with lots of (possibly circular) references can be sanely serialized/loaded? From: JSON: Standard way of referencing an object by identity (for, eg, circular references)? – Stack Overflow

Link

https://stripe.com/it
This looks quite interesting:

A set of unified APIs and tools that instantly enables businesses to accept and manage online payments.

A beautiful, optimized, cross-device payment form, with support for single click payments.

Fat, obese npm

I do understand that today designs tend to put less emphasis  on conservative memory usage but that’s pretty outrageous. A simple search into node’s package manager ate one gigabyte and half of main memory having to deal with a simple question like npm find foobar more speficically GNU time told me that it took 48…