Today I Learned.

A collection of short notes, interesting code snippets, and random things I learn day-to-day.

"Lucid Dreaming"

There is a name for waking up inside your own dream

It is the state where you suddenly realize you are dreaming while still inside the dream itself. Instead of just watching events unfold, your conscious awareness wakes up while your physical body stays fast asleep.

What blew me away is that once you become aware, some people can actually step in and control what happens next: walking through walls, altering the scenery, or flying around like a video game sandbox.

Learn more

"Soul Contract Theory"

Did we agree to this before we were born?

I just learned about "soul contract theory" from reddit. The idea is simple but wild: before you are born, your soul makes a plan with other souls.

According to this belief/theory, the people in your life are playing parts you agreed on before birth. The ones who challenge you, break your heart, or support you are all there to help you learn specific life lessons.

It's a strange thought. It can be comforting to think that hard times and difficult people have a purpose. But it can also feel a bit creepy to think your life is already planned out.

Next time someone is really annoying me, it's an interesting mental trick to think we just signed a contract for them to teach me patience.

"Tsundoku"

There's a word for my growing pile of unread books

I keep finding myself buying books I swear I'm going to read, only to let them gather dust on my nightstand. It turns out there's a word for this exact guilt - inducing habit: Tsundoku (積ん読).

It's a Japanese term for acquiring reading materials and letting them pile up in your home without actually reading them.

There's something oddly comforting about knowing this is such a universal human experience that an entire word was coined for it.

I can just say I'm practicing Tsundoku.

Learn more

Free .js.org Subdomains for Side Projects

Get a clean URL for your JavaScript projects without paying for a domain

I keep hoarding side projects on GitHub Pages under some username.github.io/some-repo URLs. Turns out js.org has been giving away free subdomains like yourproject.js.org since 2015 and I somehow never knew.

The setup is almost very simple.

The only requirement is your page needs to have some actual JavaScript-related content. I have hosted my one project perceptible on it.

For someone who spins up small weekend projects more often than I'd like to admit, this feels like a no-brainer. Way better than sharing a raw GitHub Pages link.

Downloading Netflix Watch History

A quick way to grab a CSV of everything you have watched

Ever wondered if you could export a list of everything you've ever watched on Netflix? I found out today that it's surprisingly simple to grab your entire viewing history in one go.

Instead of endlessly scrolling through your "Continue Watching" or past shows, you can just hop into your account settings on the web and navigate to your profile's viewing activity. At the very bottom of that list, Netflix casually hides a "Download All" link that instantly generates a handy .csv file. It's a fun way to look back at your binge-watching habits or toss your data into a spreadsheet for some personal analytics!