2coffee.dev

  • Using Cloudflare Tunnel to Public Ollama on the Internet
    • llms
    • ollama
    • tunnel

    Using Cloudflare Tunnel to Public Ollama on the Internet

    Hello readers of 2coffee.dev. Tet is just around the corner, have you prepared anything for yourself and your family yet? It seems to me that as the year ends, everyone gets busier. Since the beginning of the month, the traffic to the blog has decreased significantly. Sometimes it makes me anxious because I don't know where my readers have gone. Maybe they are taking an early Tet break, or the chatbot is too strong, or it could be...

    3 days ago

  • Hello the Last Day of 2024, Let's See What We Achieved This Past Year!
    • other

    Hello the Last Day of 2024, Let's See What We Achieved This Past Year!

    Hello readers of 2coffee.dev. Another year is about to pass, just a year ago today, I was still struggling to outline plans and goals, and in the blink of an eye today, I am sitting here sharing with you what I have accomplished during this time. But first, I will reveal to you some statistical figures about this blog...

    2 weeks 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
  • Using Clinic.js to Optimize Performance for Node.js Applications
    • node.js
    • performance
    • tools

    Using Clinic.js to Optimize Performance for Node.js Applications

    Since I started programming, I have been obsessed with the performance issues of the programs I write. I often wonder if what I wrote is good enough, if it's optimized, or how many users it can handle at the same time... That was the first step that laid the foundation for a deeper understanding of how programming languages work in general, and Node.js in particular. Over the years, participating in many projects, I realized that optimizing performance is not always easy...

    2 weeks ago

  • Semantic Search Optimization
    • other

    Semantic Search Optimization

    RAG (Retrieval-Augmented Generation) is a method that combines information retrieval and text generation to improve the quality and accuracy of the answers generated by language models. The simplest way to understand RAG is to imagine chatting with ChatGPT; it almost answers all the questions you ask because it has been trained on many data sources. This is both an advantage and a disadvantage: the advantage is that it knows everything; the disadvantage is that sometimes it doesn't know specific details, providing vague answers. RAG, on the other hand, limits the amount of knowledge the language models learn, or only learns and answers questions based on a limited dataset we provide. It sounds simple, but the reality is quite complex.

    4 weeks ago

  • 5 things I like about Deno
    • deno
    • javascript
    • node.js

    5 things I like about Deno

    The stable version of Deno was introduced about 3-4 years ago. At that time, it received quite a bit of attention because none other than Ryan Dahl, the creator of Node.js, was also the patron of Deno. Huh! You heard that right. Why would he create a new tool to compete with his own "child"? Ryan Dahl admitted that Node.js has critical weaknesses. Initially, Node.js was designed to focus on simplicity and flexibility. But over the years, everything has...

    1 month ago

  • Maybe Data Type
    • javascript
    • node.js

    Maybe Data Type

    Promises in JavaScript are certainly familiar to anyone. A Promise represents a "promise" that when a function is called, it will definitely return a value in the future. Whether it is resolved or rejected, we can predict the likelihood of one of the two occurring. And one thing is for sure, both cannot occur at the same time. If you study Promise more closely, you will see...

    1 month ago

  • What Do We Just Have? Membership!
    • other

    What Do We Just Have? Membership!

    Hello readers of 2coffee.dev. A week has passed without any new articles. Well, not exactly! Although I haven't written a new article, I've been diligently updating short news snippets for you in the Threads section. Here, I will update the most notable news of the day, or simply share something I find interesting. This means I haven't "abandoned" my readers even for a single day, right? 😅. No new articles because last week was quite busy. Busy with work at the company and also with the blog. As you can see, I just

    1 month ago

  • Using GPT-4 for Free Through Github Models (with Limitations)
    • gpt-4
    • gpt free

    Using GPT-4 for Free Through Github Models (with Limitations)

    As a social media user, it is not difficult to see posts asking if anyone wants to share a ChatGPT Plus account. By subscribing to the Plus version, you can use the latest and most powerful models, such as gpt-4, gpt-4o, or o1-preview... This shows that the demand for using these models is very high. Many users do so for research and study purposes. Or simply to experience something new, to see what is outstanding compared to what is already known. With a price of $20 a month, I am sure many people...

    1 month ago

  • SLA Index - Elevating Service Provision and Usage
    • other

    SLA Index - Elevating Service Provision and Usage

    In the 2010s, participating in technology forums where many people with a shared interest in programming and sharing online tricks. You would easily see articles about free hosting sharing for those in need. The conditions were quite simple, just leave information such as name, email address, or sometimes even the purpose of use, then after a short time, they will send you all the information via your mail.

    1 month ago

  • CLI Application for Managing Posts
    • other

    CLI Application for Managing Posts

    Hello readers of 2coffee.dev. Another week has passed, so quickly that when looking back at the homepage, I couldn't believe that I had stopped writing for such a long time. To be honest, last week was quite busy as I was focused on releasing an important update for the product at work. Perhaps that's why the concept of time has temporarily been buried. Hmm... Need to think of something to talk about...

    2 months ago