Skip to content

Instantly share code, notes, and snippets.

View jpcastberg's full-sized avatar
💭
currently on a pogo stick

jpcastberg

💭
currently on a pogo stick
View GitHub Profile

Parsing An Error

Recently, I have seen a pattern of aspiring developers trying to debug without reading error messages. Yikes! Error messages, as huge, freaky and unruly as they might look, are actually your BEST FRIEND when debugging. Here is a guide to reading them!

In this demo repo, we will attempt to transpile JSX files in /src to JS files in /public. Provided is a script called compile, and one devDependency: @babel/cli.

alt text

(function() {
throw new Error('Error generated from throwerror.js')
})()
@jpcastberg
jpcastberg / loud_neighbor.md
Created April 2, 2023 05:39
How to Tell Your Upstairs Neighbor They're Being Too Loud

How to Tell Your Upstairs Neighbor They're Being Too Loud

If you feel that your new upstairs neighbor is being too loud and you would like to address the issue, here are some tips for approaching the situation respectfully:

  1. Choose a good time to talk:

It's important to approach the situation in a calm and respectful manner. Choose a good time to talk to your neighbor, when they are not in a rush or busy.

  • Good: "Hi, I'm [your name], your downstairs neighbor. I was wondering if I could chat with you for a moment when you have a chance?"
  • Good: "I've noticed you in the hallway and wanted to mention something about the noise level in your apartment. Would you mind if we talked for a moment?"