DEV Community

Brian Wisti
Brian Wisti

Posted on • Originally published at randomgeekery.org on

Note: Tweaking my tools

Playing a little more with TTY Toolkit for the site workflow. I wanted to say I’m tightening focus, but with a require list like this for one tool?

require 'pastel'
require 'ruby-slugify'
require 'tty-editor'
require 'tty-exit'
require 'tty-logger'
require 'tty-option'
require 'tty-prompt'
require 'tty-screen'
Enter fullscreen mode Exit fullscreen mode

"Tightening focus" would be a lie.

Anyways, it seems to function correctly. Huzzah! Now back to work.

Top comments (0)

An Animated Guide to Node.js Event Loop

Node.js doesn’t stop from running other operations because of Libuv, a C++ library responsible for the event loop and asynchronously handling tasks such as network requests, DNS resolution, file system operations, data encryption, etc.

What happens under the hood when Node.js works on tasks such as database queries? We will explore it by following this piece of code step by step.