polv's blog

HomeBadges

How to humanize duration accurately in JavaScript, including weeks, months and years

Dec 6, 20203 min read

It is very simple, that you might not need a library, although there are cautions. That is, using Date object. Be aware of months and leap years. Don't try to use straight simple approximation of raw milliseconds. Let me say this first. I still have ...

I triple-booted on an 8-years-old MacBook Pro (and OS's comparison)

Sep 16, 20203 min read

So, I got my hands on an 8-years-old MacBook Pro (mid 2012), with 4GB RAM, 500GB SATA HD, and Core i5 CPU. Good thing about this, is 500GB is very large. (Compared to nowadays usual small (but faster SSD) 128GB - too small to dual boot.) My MacBook P...

© 2021 polv's blog

PrivacyTerms
Proudly part of