The code editor Zed has updated its Edit Prediction feature, which suggests completing code similar to GitHub Copilot, and introduced the Zeta model to serve the auto-completion feature. In the JavaScript/Node.js programming language, there are many libraries that support API calls, such as axios and undici, each with its own advantages and disadvantages, and the important thing is that users need to choose the one that suits their project.
A new serverless server service called leapcell.io has appeared, supporting many programming languages and providing quite attractive free capacity. Personally, the author, after a week of reducing caffeine intake, feels more comfortable, no longer having headaches like before. The author shares their experience of quitting caffeine through the article "Challenge of Going Without Coffee".
The open-source project hoarder-app/hoarder helps users self-store personal information safely and save, while the article "Why blog if nobody reads it?" is attracting attention on Hacker News, emphasizing that writing a blog first and foremost serves the author themselves.
Privacy Guides is a non-profit project aimed at providing users with insights into privacy rights, while also recommending best practices or tools to help reclaim privacy in the world of the Internet.
There are many great articles here, and I will take the example of three concepts that are often confused or misrepresented: Privacy, Security, and Anonymity. While many people who oppose privacy argue that a person does not need privacy if they have 'nothing to hide.' 'This is a dangerous misconception, as it creates the impression that those who demand privacy must be deviant, criminal, or wrongdoers.' - Why Privacy Matters.
There is a wonderful place to learn, or if you're stuck in the thought that there's nothing left to learn, then the comments over at Hacker News are just for you.
Y Combinator - the company behind Hacker News focuses on venture capital investments for startups in Silicon Valley, so it’s no surprise that there are many brilliant minds commenting here. But their casual discussions provide us with keywords that can open up many new insights.
Don't believe it? Just scroll a bit, click on a post that matches your interests, check out the comments, and don’t forget to grab a cup of coffee next to you ☕️
Just got played by my buddy Turso. The server suddenly crashed, and checking the logs revealed a lot of errors:
Operation was blocked LibsqlError: PROXY_ERROR: error executing a request on the primary
Suspicious, I went to the Turso admin panel and saw the statistics showing that I had executed over 500 million write commands!? At that moment, I was like, "What the heck? Am I being DDoSed? But there's no way I could have written 500 million."
Turso offers users free monthly limits of 1 billion read requests and 25 million write requests, yet I had written over 500 million. Does that seem unreasonable to everyone? 😆. But the server was down, and should I really spend money to get it back online? Roughly calculating, 500M would cost about $500.
After that, I went to the Discord channel seeking help, and very quickly someone came in to assist me, and just a few minutes later they informed me that the error was on their side and had restored the service for me. Truly, in the midst of misfortune, there’s good fortune; what I love most about this service is the quick support like this 🙏
nginxconfig.io is a website that helps you quickly create configuration files for nginx. It guides you step by step in selecting configurations, what to configure, what to enable or disable... very intuitively. At the end of the process, you just need to download the configuration file and upload it to your server.
Well, it may seem simple, but you also need to know a bit about nginx to use it 😅
Is there anyone here who frequently uses K8s? K3s is similar to K8s but has a much smaller and lighter footprint. Importantly, it is fully compatible with K8s standards, which means that if you know K8s, transitioning to K3s will be a breeze.
For a while now, I've been so focused on serverless that I've forgotten about these server-side tools 🫣. Should I create a series of posts about learning K8/3s? 🤔
The code editor Zed has just updated with a feature called Edit Prediction - code completion suggestions similar to Github Copilot.
At the same time, they also introduced Zeta - a model fine-tuned based on Qwen2.5-Coder-7b to support the auto-completion feature. Additionally, they shared an interesting story about the process of building Zeta at Zed now predicts your next edit with Zeta, our new open model.
Just calling an API alone, but in JavaScript/Node.js there are tons of libraries that help us do this, such as request, axios, undici, got, node-fetch, ky... Sometimes when discussing online or chatting with someone, they might recommend that we use this one because it's better, and that one is not worth it 🤔. Then it creates confusion about which one to actually use.
We can't really blame them because that’s a characteristic of the open-source community - all stemming from different usage needs. Let me give an example: in Node.js, there is the http module that allows us to call APIs, but it’s a bit "basic"; you have to write extra code to handle more, so the community created libraries like request. Later, fetch was added to the browser and also inspired node-fetch for consistent usage. However, before that, axios was born, bringing many conveniences like support for interceptors, timeouts, or canceling requests... it became so famous that I’m sure everyone has heard of it. Additionally, the Node.js team developed undici - a library specifically for Node.js focused on performance, with a higher number of requests that undici can handle compared to the other names. With a large community, other names like got, ky... continued to be created and attracted users with their own niches.
In summary, any library created with the same core function always has its pros and cons in some aspects. Our job is to recognize that and apply it to our projects appropriately, rather than just using whatever is popular. Unless that is your selection criterion 😅
I just discovered another serverless server provider similar to Cloudflare Workers or Deno Deploy: leapcell.io. I see that the operating team comes from Tiktok.
This platform supports quite a few programming languages like Python, JS, Go, Rust... Additionally, it has Redis (equivalent to KV), and Queue just like the two platforms mentioned above. The free usage limits are pretty good too: 100,000 invocations, 10,000 tasks, 30 parallel workers, 100,000 commands... Plenty for everyone to experiment 🥳
After a week of reducing my coffee (caffeine) intake by half, I feel much better now, everyone. No longer suffering from severe headaches and dizziness every afternoon like I used to. For those who don't know how I quit caffeine, you can read the article here Challenge of Going Without Coffee 🤓
Continuing about jj. Related articles about jj keep appearing continuously on Hacker News, everyone. This article is a summary (cheatsheet) from the author's learning process: JJ Cheat Sheet