Weekly bookmarks - Issue #32
A comprehensive overview of Rails’ many safety features that can help you prevent painful mistakes.
I say the same for years: Choose a relational DB (PostgreSQL/MySQL), add Redis for caching etc and optionally add an OLAP DB like ClickHouse for large-scale analytics.
DON‘T COMPLICATE YOUR TECH STACK WITH FAANG SOLUTIONS DESIGNED FOR MUCH BIGGER SCALE!
https://t.co/Tg73JVfTZL
New Figma resource, a lightweight UI design starter kit to save you time.
💡 Ruby tip: the built-in uri module can be used for parsing and extracting URIs from text inputs. No extra gems are needed!
Let's have a look at:
1️⃣ Basic parsing
2️⃣ Recognized URI schemes
3️⃣ URI extraction
🔬 Let's have a closer look at it.
Startups use too much technology. My advice: Use Postgres for everything
Highlights of what happened in our #dev channel on Slack this week.
Pro tip: use clickbait commit messages to get your teammates to review your code faster
git commit -m “First she noticed a bug in production. What happens next will SHOCK you!”
A domain model is a visual representation of the various concepts and entities in a particular domain, along with the r/ships between them. In the context of a school system, a domain model could include entities such as students, teachers, classes, and subjects, #ChatGPT #Ruby https://t.co/d2YYWIaM9N
The first thing that comes to mind when we talk about debugging slow SQL is EXPLAIN query. It's a great way to get a detailed breakdown of a database query.
ActiveRecord provides an explain method that you can simply add to the end of your query to debug it. https://t.co/7w4vAeBtwf
Disclaimer: prepare for hair-splitting and nitpicking
A four-step guide to leveling up your team from the staff plus position.
Unpopular advice for junior engineers:
- Work in-person at a project-based consultancy (regardless of tech stack)
- Use open source, but do not try contributing
- Editor fiddling, vim, exotic terminals are a total waste of time
- Anything beyond "git 101" doesn't matter
Early in my career, I was part of the Dreamweaver 1.0 team. Launching that product and watching it grow was formative to my career.
Since then, I've worked work on a bunch more 1.0s, (e.g., Medium. Figma), and all of them were informed by that first DW experience. https://t.co/zNFN5uj2kA
An exploration of how a frontend developer thinks while building an article layout.