2coffee.dev

Hot Weekly

Transforming the Blog into "Web is on the edge"
Transforming the Blog into "Web is on the edge"

Transition from traditional server hosting to an "Edge" and "Serverless" architecture for their blog and services

Discussion on Load Balancing
Discussion on Load Balancing

Load balancing, an important technique in distributed systems to ensure performance, availability, and scalability of applications. It helps systems operate stably under unpredictable traffic from users.

Discussing the npm run build command – why is it necessary to build?
Discussing the npm run build command – why is it necessary to build?

npm run build command, which is essential for JavaScript developers preparing to release applications.

How to Delete a Pushed Commit
How to Delete a Pushed Commit

How to delete a pushed commit in Git, addressing a common issue many users face. It highlights that while some resources provide guidance on deleting unpushed commits, the process for pushed commits is more complex and risky.

Measuring the Execution Time of Functions in JavaScript in a Graceful Way
Measuring the Execution Time of Functions in JavaScript in a Graceful Way

The execution time of functions in JavaScript to identify performance issues in applications. It highlights the challenges developers face when unexpected problems arise, such as slow API responses due to certain functions taking excessive processing time.

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

    🕝4 days ago

  • Compilation of Libraries Supporting CLI Application Development for Node.js
    • 🏷️node.js
    • 🏷️javascript

    Compilation of Libraries Supporting CLI Application Development for Node.js

    Hello readers of 2coffee.dev. I wonder if anyone here has been using command-line applications (CLI)? If so, why did you choose it over a graphical user interface (GUI)? If I remember correctly, I have written a few articles about the process of creating some applications for myself. Honestly, for me, there are many cases where CLI proves to be much more useful...

    🕝2 months 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
  • Introducing the AI-powered programming tool - Continue.dev
    • 🏷️generative ai
    • 🏷️tools

    Introducing the AI-powered programming tool - Continue.dev

    Hello 2coffee.dev readers! In my previous articles, I've been proudly using various coding assistant tools, also known as Generative AI. Comparing them, I concluded that Cursor is among the top. However, with a monthly price tag of $20, it's quite expensive and might make many developers, including myself, think twice. Based on this fact...

    🕝5 months ago

  • Introduction to hono.dev - Building a Serverless API Easily
    • 🏷️hono.dev
    • 🏷️serverless

    Introduction to hono.dev - Building a Serverless API Easily

    Express.js is certainly a library that any JavaScript/Node.js developer knows. It helps us build a REST API server quickly. Besides, there are many libraries and middleware created to be compatible and easily integrated into projects using express.js, making it increasingly popular and well-known. Starting with express.js...

    🕝6 months ago

  • Using Casbin for user authorization in a system
    • 🏷️casbin
    • 🏷️authorization

    Using Casbin for user authorization in a system

    Authorization is a feature that appears in many places in software applications. For example, when sharing files on the internet with others, you can give recipients permission to read, download, or edit the content... In management systems like CMS, authorization becomes more essential than ever. Each user...

    🕝1 year ago

  • Introduction to CodeMirror - Effective Code and Markdown Editor
    • 🏷️markdown

    Introduction to CodeMirror - Effective Code and Markdown Editor

    input and textarea are two HTML tags that are used to collect user input. input is suitable for short input, while textarea is used for longer, multiline input. Later on, I learned about another way to collect user input using contenteditable, but unlike input and textarea, contenteditable allows direct editing of HTML code. This means that the content in contenteditable can be very diverse. However, there is a limitation...

    🕝1 year ago

  • Transforming the Blog into "Web is on the edge"
    • 🏷️other

    Transforming the Blog into "Web is on the edge"

    Hello readers, it's been a week since my last update. Just like before, I have successfully completed my plan. Today, I’m here to present to you what it is. When people say "Web is on the edge," it means that your website or application will be hosted simultaneously on multiple servers in various locations around the world. When someone requests your website/application, they will be redirected to the nearest geographically located server. These distributed servers not only serve static content but also execute custom code to create a dynamic web application...

    🕝1 year ago

  • Introduction to Posthog - Collecting User Data for "Engineers"
    • 🏷️other

    Introduction to Posthog - Collecting User Data for "Engineers"

    During the development process, product teams often have requirements for changes in product features or layout changes for the position of items or buttons... They may provide statistics on why these changes should be made. Have you ever wondered how they make decisions to make such changes? I believe many readers here own one or more websites. Regardless of what the website does, it must have users... or viewers.

    🕝2 years ago

  • Introducing the User Identification Library - FingerprintJS
    • 🏷️fingerprintjs

    Introducing the User Identification Library - FingerprintJS

    We always want to know how many people are using our website, track visits, or identify unique users. One simple way to do that is to require users to log in, which allows us to easily capture sessions through the user ID stored in the system. This method works well, but it's not always possible to get users to log in. Therefore, we need...

    🕝2 years ago

  • Introduction to the Ramda Functional Programming Library
    • 🏷️javascript
    • 🏷️node.js
    • 🏷️ramda
    • 🏷️ramdajs

    Introduction to the Ramda Functional Programming Library

    Ramda is a library that contains many utility functions to support JavaScript programming. If you have heard of or used lodash before, you can imagine that the functionality of Ramda is similar. If you have never heard of or used either library, keep reading...

    🕝2 years ago