Do you really need Redis? How to get away with just PostgreSQL
It's a common architecture to have PostgreSQL and Redis serve as the backbone of your app, but PostgreSQL may be capable of everything you use Redis for.
Visit spin.atomicobject.com → RSS feedOn Hacker News Aug 2010 – Nov 2024
Software Engineering 18Career & Management 11Tools & Productivity 7Life, Learning & Writing 5Programming Languages 5Tech Industry & Business 4
It's a common architecture to have PostgreSQL and Redis serve as the backbone of your app, but PostgreSQL may be capable of everything you use Redis for.
I've been using *nix systems for quite a while. But there are a few commands that I somehow overlooked and wish I'd discovered years earlier.
An easy bit of Bash configuration that will log your bash history to dated log files so you can refer back to them at any point in the future.
Developers take garbage collection for granted, but it's hard to see how it works. Watch 5 different GC algorithm visualizations.
Does your package.json file have a large scripts section? If you have more than a handful of extremely simple npm scripts, try Makefiles.
There are many great coding principles, but it can be hard to keep them all in your head at once. Instead, I try to remember these three attitudes.
Instead of classes, I prefer modules that expose groups of functions that accept state and other dependencies.
It's a common architecture to have PostgreSQL and Redis serve as the backbone of your app, but PostgreSQL may be capable of everything you use Redis for.
I was working on a server this morning and accidentally deleted an important configuration file. Like many Linux users, I lamented the absence of an “undelete” command.
An interview with Felix Winkelmann about CHICKEN Scheme, the SPOCK Scheme-to-JavaScript compiler, and what motivates him to keep programming.
Be aware of Swift's inability to efficiently parse and compile simple Dictionary/Array literals. The compilation time grows exponentially with each line.
A structure where software architects work on a team separate from the development team can lead to dysfunction, reduced quality, and poor morale.
Why Haskell? It's an incredibly powerful tool to use with other langues. And learning it will make you a better, smarter, more-versatile programmer.
A simple Makefile for C or C++ that automatically finds sources, determines include flags, and sets up header dependencies.
The pros and cons of both Emacs and WebStorm for Node.js development.
There's a lot you should know before you start creating software. Take time to understand the product, business, users, and overall project journey.
Designing around the messages, rather than the objects, brought my whole system into focus. If modules communicate by passing around self-contained textual data, or a simple structured format like JSON, they impose fewer assumptions on each other.
I'll definitely keep an eye on Crystal as it comes out of its beta phase. The syntax is familiar and easy to pick up and the performance is great.