Posts

2024-02-20

Can Mise replace Volta?

Mostly yes—if you don't have projects that rely on outdated npm versions or need Windows support

Terminal
2023-12-18

Spell-checking code using Typos

Typos works differently from other spell checkers

Working with code
2023-12-13

Optimise Google Analytics using Partytown in Astro

Here's what I did to integrate Google Analytics into Astro

Astro
2023-11-27

Language hacks in giving feedback

Here are some ideas on how to word feedback effectively

Soft skills
2023-11-24

You may not need HTML ID's

Pitfalls of using ID's and what to use instead

Frontend
2023-01-04

Issue 004: Build your own Next.js

Web Builders Digest — Issue 4

Frontend
2022-12-20

Issue 003: Svelte is now ready for production

Web Builders Digest — Issue 3

Svelte
2022-12-09

Issue 002: Is Deno faster than Node.js?

Web Builders Digest — Issue 2

Deno
2022-11-24

Issue 001: Rewrite that messy package.json

Web Builders Digest — Issue 1

Node.js
2022-08-05

Learn Svelte in 3 minutes

Svelte
2022-06-20

JavaScript in Rails 7

Frontend in Rails will be very different from Rails 6

Ruby on Rails
2022-04-07

Vitest review: is it better than Jest?

I've always reached out to Jest for any JavaScript testing, but I think it's time to rethink that.

Vitest
2022-04-01

Public CDN's aren't useful anymore

As of 2019, CDN's like googleapis.com won't make your site faster

Frontend
2021-12-03

Ruby interactors: a review

I've been playing with the Ruby community's interactor pattern and found a few issues.

Ruby on Rails
2021-11-29

Rails params aren't always strings

In Rails, if you assume params[:key] is always a string, you might be making your app insecure

Ruby on Rails
2021-11-16

I built a wireless split keyboard

My experience with a 36-key keyboard, Microdox

Keyboards
2021-09-09

Feature flags: an alternative to branches

Can we do better than Gitflow? Maybe we don't need to keep branches around anymore.

Frontend
2021-06-01

TypeScript's Omit, explained

TypeScript
2019-04-25

What media query breakpoints should I use?

Let's dive into the most common media queries are used in frameworks today

CSS
2019-04-07

Type annotations in JavaScript files

Is it possible to get the benefits of type checking without TypeScript's syntax? Absolutely

TypeScript
2019-02-13

Using separate SSH keys per host

Keep your credentials secure by using different SSH keys for different servers

Terminal
2019-01-29

Freeing space with Docker

Using "docker system prune" and more

Docker
2018-06-09

Force git to use SSH on GitHub

I can use HTTPS and SSH URL's for GitHub repos, thanks to insteadOf

Git
👋
Hey! I write articles about web development and productivity. If you'd like to support me, subscribe to the email list so you don't miss out on updates.
Rico Sta. Cruz

I am a web developer helping make the world a better place through JavaScript, Ruby, and UI design.

Archived posts RSS