You Are What You Read, Even If You Don’t Always Remember It

date: 2024-06-21 · Tags: #good-reading, #insight

Thanks to Jim Nielsen for sharing his experiences 1.

I cannot remember the books I've read any more than the meals I have eaten; even so, they have made me. -- Ralph Waldo Emerson

Yeah, I always feel so anxious about what I've read and what I've forgotten.

Bless to both myself and all of you: Please don't worry about what you remembered or forgot. Just keep reading and read more. Good luck have fun!

Footnotes

  1. You Are What You Read, Even If You Don’t Always Remember It

Great Animations

date: 2024-06-18 · Tags: #design, #web, #good-reading

Smooth animations make users happy by excellent experiences. Emil Kowalski's article 1 shows what makes animations great and how to implement them 2. Enjoy!

Footnotes

  1. Great Animations

  2. How do you craft animations that feel right?

JEP 467: Markdown Documentation Comments

date: 2024-06-15 · Tags: #news, #dev, #scala

OMG. Starts from JDK 23 JavDoc documentation proposed by JEP 467 1 could be written in markdown rather than in a mixtrue of HTML and @-tags. What you only need to do is prefix comments by ///. (Aha, rust LOL)

Throw we know that even Java 17 or Java 21 hasn't been popularized yet. Anyway, fancy and convenient features (to me, at least).

Update: 2024-06-22

I just learned that Scala 3 has also adopted markdown syntax as a new feature in Scaladoc 🎉 2

Footnotes

  1. JEP 467: Markdown Documentation Comments

  2. New features for Scaladoc

Your API Shouldn't Redirect HTTP to HTTPS

date: 2024-06-11 · Tags: #dev, #security

@jviide wrote a blog post1 about why your API shouldn't redirect HTTP to HTTPS. He is right. It's probably a bad practice to simply redirect without any other notification. Your secrets could already be leaked while you're accessing the HTTP endpoint. So, what does the author suggest to do?

  1. Make the failure visible to the user or caller.
  2. Revoke API keys and tokens send over the unencrypted connection.

Footnotes

  1. Your API Shouldn't Redirect HTTP to HTTPS