2coffee.dev

  • Series
    1 Month Learning Rust - Closure
    • 🏷️rust

    1 Month Learning Rust - Closure

    In JavaScript, a Closure refers to a function that can remember and access variables from its outer scope, even after that outer scope has finished executing. In short, when a function is defined inside another function and accesses variables from the parent function, a closure is created. In Rust, closures are similar to those in JavaScript; they can remember and use variables from the outer scope where they are defined. However, closures in Rust are much more complex than in JavaScript...

    🕝4 days ago

  • Resource Limitations for Services Using PM2
    • 🏷️pm2
    • 🏷️javascript
    • 🏷️node.js

    Resource Limitations for Services Using PM2

    Hello readers of 2coffee.dev, it's been a while since we last met. A week or two ago, I encountered quite an interesting problem while deploying a system. I initially thought of not writing it down, but then I realized that someone might face the same situation, so I diligently wrote it out. It's also a record to remember and share with everyone. The system I am in charge of has a rather old service that was deployed based on pm2 using...

    🕝1 week ago

  • Premium
    Building Your First Serverless API with Cloudflare Worker
    • 🏷️cloudflare
    • 🏷️worker
    • 🏷️serverless

    Building Your First Serverless API with Cloudflare Worker

    Technology is changing at an incredible pace. Just over a year ago, we heard about simple code completion tools. It could suggest function names, parameters, or keywords of programming languages, and now we just need to sit back and command it to write programs. Sipping a cup of coffee, occasionally typing away, while lines of text continuously dance on the screen. Yes, what I’m talking about is the new generation of programmers.

    🕝1 month ago

  • Premium
    Hello

    Me & the desire to "play with words"

    Have you tried writing? And then failed or not satisfied? At 2coffee.dev we have had a hard time with writing. Don't be discouraged, because now we have a way to help you. Click to become a member now!

    Have you tried writing? And then failed or not satisfied? At 2coffee.dev we have had a hard time with writing. Don't be discouraged, because now we have a way to help you. Click to become a member now!

    View all
  • How I Made Money from Blogging with IndieBoosting
    • 🏷️indieboosting
    • 🏷️other

    How I Made Money from Blogging with IndieBoosting

    Hello readers of 2coffee.dev, I am caught in an endless loop of work, wanting to do everything but time doesn’t allow. I think over time I am falling into a state of distraction, surely I need to find a way out. How about you? Are you doing well? Do you still visit 2coffee.dev more frequently? The reason I ask is that since the beginning of the year, the traffic seems to have stagnated, making me question whether you are okay?

    🕝2 months ago

  • Moving from Node.js to Deno
    • 🏷️node.js
    • 🏷️deno

    Moving from Node.js to Deno

    I still vividly remember a question from my internship with my mentor. He was a Senior responsible for guiding me at that time. When I saw him working, I exclaimed: "Wow, do you code in Java too?". He said nothing, just smiled lightly and continued his work. The world of programming was tiny to me back then, without knowledge and experience, everything seemed so unfamiliar, how could one person possibly know so many things?

    🕝2 months ago

  • Series
    Vietnamese Spell Checking Problem - Part 1
    • 🏷️spell check
    • 🏷️NLP

    Vietnamese Spell Checking Problem - Part 1

    In the role of a writer, the hardest thing I find is how to use words to express the ideas I am about to write. From the moment I think to the moment I place my hands on the keyboard, sometimes I don't know what to type, how to type to convey what I want to say. Even though I know what the idea is, figuring out how to write sentences fluently so that anyone reading can understand is indeed very challenging. Typically, what I often do is outline what I want to say. Then from those ideas, I write into paragraphs. It's not necessary to write well from the start; I just need to write down what I'm thinking, any sentence or word that comes to my mind should be recorded, and only after finishing everything should I go back and refine it. Several times, even dozens of times rewriting may occur before I am satisfied. However, it's funny that with that same article, a few days later when I read it again, I still find it lacking and want to revise it further. But not every article has the time to be revised because...

    🕝2 months ago

  • Migrating Off Oh-My-Zsh
    • 🏷️oh-my-zsh
    • 🏷️zsh

    Migrating Off Oh-My-Zsh

    Hello readers of 2coffee.dev, as shared in a post in the Threads section, I recently had quite an interesting experience of "migrating" off oh-my-zsh. If you remember, you will see that I have a post titled "The Story of the Journey from Windows to Linux/Unix - thanks to zsh and oh-my-zsh," which is proof of how much I enjoy using the command line. Typing commands is a regular task, so...

    🕝2 months ago

  • The Issues of Microservices
    • 🏷️microservices

    The Issues of Microservices

    Microservices probably do not need much introduction anymore; it has emerged as a phenomenon in recent years. Microservices is a software development technique that structures an application as a collection of loosely coupled services. In contrast to Microservices is Monolithic, where all components of the application are placed together into a unified entity. In my time...

    🕝2 months ago

  • OpenNotas like a boss - take notes like a boss
    • 🏷️opennotas
    • 🏷️other

    OpenNotas like a boss - take notes like a boss

    It has been almost a year since the first introduction of the note-taking application OpenNotas (ON). Time flies so fast, just yesterday I was struggling to post product introductions on Facebook, X, and ProductHunt, and in the blink of an eye, I received an email reminding me to renew my domain 🥲, which is truly painful for my wallet. OpenNotas is my first application product and has received a lot of affection. In return, it has always accompanied me throughout this time. By the way, let me reveal some statistics...

    🕝2 months ago

  • Hard Drive Investigation
    • 🏷️other

    Hard Drive Investigation

    Hello readers, I sincerely apologize for not writing any new articles in the past week. As I shared in [Threads](https://2coffee.dev/threads), last week I was quite busy with a project at the company, and when I got home, I could only update a little information during the day before going to bed to continue listening to the unfinished book. It is "The Fountainhead" - telling the story of a young architect who was expelled because he... had ideas...

    🕝2 months ago