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.
My big secret ("My work isn't good enough") was finally out. Yet I wasn’t being fired. I was being offered help from someone I respected. I was still worth their time.
Does your package.json file have a large scripts section? If you have more than a handful of extremely simple npm scripts, try Makefiles.
Small software teams are dramatically more cost efficient than large teams. Large teams don't even confer much calendar time advantage over small teams.
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.
Even though the CHIP is much cheaper than the Pi, I've found that is actually much more convenient (less wires and configuration).
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.
Everyone knows they should pick their battles, but how do you decide when? Here are 3 questions for figuring out when to push back and when to let it be.
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.
Instead of taking all my vacation at once, I decided to see what a 4-day work week would look like. It taught me a lot about myself and how I work.
Use the Penny Game to explore the difference between capacity and output, and why backlogs invariably grow, no matter how hard you work.
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.
Over the course of my career, I've found two characteristics to be among the most important for software developers to thrive.
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.
An eclectic online curriculum that covers the core requirements of a typical undergraduate CS program.
You can’t expect others to fix your problems. When you take responsibility for making the best of any situation, you have the power to make things better.
I wrote a simple dexec script to make running commands through Docker containers less clunky. I'll show you what dexec is and how to use it!
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.