Tutorials Icon

Tutorials

Tutorials for hackers.
3 Stories
All Topics

Flavio Copes flaviocopes.com

A short and simple guide to Babel

Just getting started with Babel? Read this guide from Flavio Copes — it’s short, so maybe 2-3 minutes to skim or 10 minutes to read. Babel is an awesome tool, and it’s been around for quite some time, but nowadays almost every JavaScript developer relies on it, and this will continue going on, because Babel is now indispensable and has solved a big problem for everyone. Babel is a compiler: it takes code written in one standard, and it transpiles it to code written into another standard.

read more...

Zach Holman zachholman.com

UTC is enough for everyone, right?

Programming around time is the bane of pretty much every programmer’s existence. UTC works most of the time, but still has its flaws. Zach Holman writes on his blog: Programming time, dates, timezones, recurring events, leap seconds… everything is pretty terrible. The common refrain in the industry is Just use UTC! Just use UTC! And that’s correct…sort of. But if you’re stuck building software that deals with time, there’s so much more to consider. It’s time…to talk about time. Zach includes a lot of time-related puns and whole lot of wisdom about programming time.

read more...

Linux iridakos.com

Full text searching your man pages with Elasticsearch

For those coming off the heels of The Changelog #292 where we talked with Philipp Krenn about Elasticsearch, you’re gonna wanna play around with full text searching your man pages with Elasticsearch. This post covers: Setup an Elasticsearch instance locally Create an index for the data Feed the index with the man pages of the OS Create a search method for full text searching Full text search the man pages

read more...
0:00 / 0:00