Andrei Glingeanu

Andrei Glingeanu's notes and thoughts. You should follow him on Twitter, Instagram or contact via email. The stuff he loves to read can be found here on this site or on goodreads.

The Origins of Virtue

13 July, 2019

None of your ancestors die celibate. Animals (and plants), he concluded, are designed to do things not for their species, or for themselves…

Vim leader key

03 May, 2019

Disclaimer: This is by no means an introduction to what the leader key in vim is. There are a lot more exhaustive resources out on the…

Cached fetch()

28 December, 2018

The is becoming de-facto standard from performing HTTP requests in browsers, being very widely used in place of the old XHR objects…

Copy attributes from an element

24 December, 2018

Just discovered a nice way of copying all the html attributes from one DOM element to another, figured I’d write this trick down for keeping…

Nullify transforms in Node.getBoundingClientRect()

21 December, 2018

There exists a very neat DOM API called that allows someone to query a couple of crucial metrics for an element on the page, regarding its…

Primer into NodeJS Native Modules

02 June, 2018

Note: This article does not cover anything concerning WASM standard. Here is discussed only the old-fashioned C++ API for building Node.js…

Vue conditional event binding

17 April, 2018

Disclaimer: this is a short elaboration on this StackOverflow answer . There’s no way I could imagine a component running in a modern app…

Vue computed getters and setters

15 April, 2018

I figured out I’d post a short note about a feature I find very useful with Vue computed properties. Have you ever been in a situation where…