This week I come across a tool call LocalAI. I always curious how to replicate OpenAI, have them run locally and this LocalAI is the answer, bill itself as free, Open Source OpenAI alternative. Self-hosted, community-driven and local-first. Drop-in replacement for OpenAI running on consumer-grade hardware. No GPU required. Runs ggml, gguf, GPTQ, onnx, TF compatible models: llama, llama2, rwkv, whisper, vicuna, koala, cerebras, falcon, dolly, starcoder. It defs live up to its hype with 12k+ stars on Github. Super easy to get started.
Knowing tools like awk, sed helps immensively when need to process text based log file fast. AWK in itself is a whole programing language. Lets follow this journy of bringing the query time and cost down from 8 minutes and $20 to a tenth of a second and less than a penny,
The biggest supprise is they don’t use cache.
Well, I think most of you reading this blog use git more or less on a daily basis, but have you ever looked into what is in the .git folder that git creates? Let’s explore it together and understand what is going on in there.
Have you heard about CRDTs and wondered what they are? Maybe you’ve looked into them a bit, but ran into a wall of academic papers and math jargon?
Dive into the internals of profiling interpreted Python and Ruby code using eBPF
Metrics, logs, and traces provide vital information. But these signals almost entirely rely on application-level instrumentation, which can leave gaps or conflicting semantics across different systems. DoorDash decided to seek potential solutions that could provide a more complete and unified picture of their networking topology
Cycle app has a lot of issue about time out db connection. They workaround by run health check more often to auto restart. Wh
pg_partman is a tool to partition your table into either time based or number based. In this article they discussed 5 important features to help managing large tables in PostgresSQL.
A step by step notion note of Kynd, explain how to design and implement a fluid simulation. Very detail at every step, together with codepen to run and follow. You will learn a lot follow this
Part 7 of this series about JS performance. In this, Marvinhh discussed why the import-re-export in a index.js, while convenience for consumer cause perfomrnace degrade.
LLM based AI is really good at interpreting the output of commands and returning the results in CLI friendly text formats like Markdown.
GoA high performance and lightweight library to add a visual way of selecting elements, just like on your Desktop. Zero dependencies, super small. Support for major frameworks!
JavaScriptsimplifies the process of writing producers and consumers for message queues, handling all the parsing, networking and documentation generation automatically.
PythonNokolexbor is a drop-in replacement for Nokogiri. It’s 5.2x faster at parsing HTML and up to 997x faster at CSS selectors. Another similar one is Oga but it has been lack of active development
CSSan open source, code-based alternative to drag-and-drop business intelligence tools. You can write markdown, and generate embed chart(through query your warehouse), like traditional BI tools but now can also embed them into markdown.
A high-resolution real-time audio spectrum analyzer JavaScript module with no dependencies
Log viewer UI and framework for rack
An experimental AutoGPT agent that interacts with Chrome
Set up true multimaster replication clusters with vanilla PostgreSQL servers.
Set up 3-Node highly available PostgreSQL cluster
Simple and opinionated OpenID Connect server designed for self-hoster
Auth Portal and Authorize Plugins for Caddy v2
The best way to build a modern backend + admin UI. No black magic, all TypeScript, and fully open-source, Payload is both an app framework and a headless CMS.
Collect and display information and stats from a running PostgreSQL server. A must say to have, very easy to install with a single binary. A similar tools but tailor toward Ruby/Rails is PgHero
BetterDev Link
Every Monday