2coffee.dev

  • 5 Painful Lessons After a Year of Maintaining an Open Source Project
    • 🏷️opennotas

    5 Painful Lessons After a Year of Maintaining an Open Source Project

    June is a special month, even more meaningful as it marks one year since I released the OpenNotas note-taking application. At that time, it garnered significant attention by ranking in the top 2 products with the most votes of the day on ProductHunt - a playground for product enthusiasts. The feeling was indescribable as it was the first time a Vietnamese product was well received on an international stage. I owe a lot of thanks to those who followed and responded to my call on social media where I posted the article. Currently, OpenNotas has attracted over...

    🕝5 days ago

  • VM module in Node.js - The Forgotten Power
    • 🏷️node.js

    VM module in Node.js - The Forgotten Power

    I remember back when I first started my career, one thing that haunted me was dynamic design. It meant from one feature, this input, that output, but before doing it, I had to think hard about whether I could cover all future scenarios. The easiest example is creating dynamic input forms in a content management system - CMS. A dynamic input form means...

    🕝1 week ago

  • Personal Finance Management - Saving
    • 🏷️other

    Personal Finance Management - Saving

    Hello readers of 2coffee.dev, how have you been lately? Are you doing well? The weather in Hanoi has been unpredictable, causing me to go through a rather severe illness, but luckily it didn't last long, and I have fully recovered my writing ability. Recently, there have been many articles on my personal page related to the question of how to manage personal finances, asking about financial management applications, or even articles sharing financial management applications they have created themselves.

    🕝1 week ago

  • Migrate Sign in with Apple Account
    • 🏷️apple
    • 🏷️other

    Migrate Sign in with Apple Account

    A few weeks ago, the app at my company underwent the transfer of app ownership in the Apple Store, which means transferring from one Apple Developer account to another. There are many tasks to complete before the transfer; essentially, you need to follow the steps outlined in their list in order to begin the ownership transfer. One of these tasks is to Migrate Sign in with Apple users to another team. All user accounts created by clicking the "Sign in with Apple" button integrated into the app need to have their data migrated. Apple always emphasizes user privacy, so the app transfer to a different account must also ensure privacy. Some information will change, with the most critical being the apple ID (also known as `sub`) and private email.

    🕝2 weeks ago

  • 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...

    🕝3 weeks 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 month 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.

    🕝2 months ago

  • 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...

    🕝3 months ago