engineering

ReductStore v1.11.0: Changing labels and storage engine optimization

ReductStore v1.11.0: Changing labels and storage engine optimization

We are pleased to announce the release of the latest minor version of ReductStore, 1.11.0. ReductStore is a time series database designed for storing and managing large amounts of blob data. To download the latest released version, please visit our Download Page. What's New in ReductStore v1.11.0​ In this release, we have introduced a new API for changing the labels of existing records and optimized the storage engine to improve database startup and write performance. Change Labels API ReductStore v1.11.0 introduces a new API for changing labels of existing records. This API allows you to update labels of one or more records in an…
Read More
Learning API Requests with Axios: A Comprehensive Guide for 2024

Learning API Requests with Axios: A Comprehensive Guide for 2024

In today's interconnected web landscape, efficient data exchange between clients and servers is crucial. Enter Axios, a powerful JavaScript library that has revolutionized how developers handle HTTP requests. Whether you're building a sleek single-page application or a robust backend service, Axios simplifies API interactions, making your code cleaner and more maintainable. What is Axios? Axios is a promise-based HTTP client that works seamlessly in both browser and Node.js environments. It provides an intuitive API for performing CRUD (Create, Read, Update, Delete) operations on web resources, supporting all standard HTTP methods: GET, POST, PUT, DELETE, PATCH, HEAD, and OPTIONS. Key Features…
Read More
JavaScript Execution Context!

JavaScript Execution Context!

In JavaScript, when a function is defined and later invoked, it creates an abstract container known as an execution context. This execution context holds several key components: the variables declared within the function, any nested functions, and the lexical environment. Together, these elements define the operational environment for the function's execution. Source link lol
Read More
Pre-training, Fine-tuning, and Transfer learning. To make these ideas more relatable, let’s use a real-world analogy

Pre-training, Fine-tuning, and Transfer learning. To make these ideas more relatable, let’s use a real-world analogy

Pre-training is like the education students receive in school. Just as teachers train students in a broad range of subjects, a model is pre-trained on a vast amount of data, learning general knowledge. This foundational learning requires significant effort and resources, similar to the years of schooling and the dedication of many teachers. Fine-tuning occurs after students graduate from school and choose a specialized field, such as medicine, engineering, or law. In this phase, they receive targeted training in their chosen domain, much like how a pre-trained model is fine-tuned for specific tasks. Before this specialization, the students (or the…
Read More
Widget #3: Image Card with Overlay Text

Widget #3: Image Card with Overlay Text

For my third widget, I designed an image card with overlay text, focusing on both visual appeal and user experience. Here are the key UX ideas I implemented: Rounded Corners: Used rounded-xl to soften the edges, making the card feel more modern and approachable. Shadow Effect: Added shadow-xl shadow-purple-500 to create depth, giving the card a subtle 3D effect that makes it stand out. Hover Interaction: Implemented hover:scale-105 to add a slight zoom effect on hover, enhancing interactivity and making the card more engaging. Text Readability: Applied text-2xl font-bold tracking-tight for the title and font-light leading-relaxed for the body text…
Read More
An (Im)mutable Shopping List for a Delicious Pesto Pasta

An (Im)mutable Shopping List for a Delicious Pesto Pasta

Pesto pasta is proof that G-d exists There are few things in life that give me more pleasure than a heaping helping of fresh pesto over homemade Capellini (Angel Hair). I'm a bonafide foodie - especially when it comes to Italian cuisine - and am always trying more complex recipes, but the simplicity and enjoyment of such a minimalist dish never ceases to satisfy. If I had the (mis)fortune of choosing a last meal it would be a tough decision between sushi and pesto over pasta, but I still think pesto pasta wins out in the end. All this talk…
Read More
Why we use snake_case for variables and camelCase for functions

Why we use snake_case for variables and camelCase for functions

To be less stressed, and therefor better programmers, we have to do our best to free our code from bullshit that makes it a hard to maintain, and onboard new devs-to. We use the same name for database fields, JSON property names returned from an API, the HTML form field name attributes, and finally, the Javascript variable names that contain those database-originating values. Naming your data exactly the same in all layers of the stack frees you from having to keep a mental mapping of what is what. Discipline yourself to enforce this rule, and you will be a less…
Read More
Building a RAG Chatbot with LlamaIndex and eBay API Integration

Building a RAG Chatbot with LlamaIndex and eBay API Integration

RAG (Retrieval-Augmented Generation) is all the rage. And there's a good reason why. Like so many others, I instinctively felt an air of excitement at the beginning of the internet. The Browser Wars, Java vs Mocha. And then again in 2007 when the iPhone led a paradigm shift to how, where, and when we consume media. Just as I do now, In the rapidly advancing field of AI, Retrieval-Augmented Generation (RAG) has become a crucial technique, enhancing the capabilities of large language models by integrating external knowledge sources. By leveraging RAG, you can build chatbots that generate responses informed by…
Read More
Reminder about Friendly.rb – one month to the conference

Reminder about Friendly.rb – one month to the conference

Your friendly reminder about Friendly.rb - there is almost 1 month until the conference. I am enthusiastic about moderating a panel about #Ruby at Scale. All four guests have great stories to share about scaling Ruby in various settings and configurations. We plan to talk about Ruby and Rails at scale from performance, team and developer experience perspective. My focus will be on extracting concrete examples and advice for anyone starting a project today and is concerned about scaling a Ruby on Rails project. Checkout the full agenda and tickets at https://friendlyrb.com We have a special offering 4+1 (buy 4…
Read More
How to write better Typescript code? 10 advanced tips

How to write better Typescript code? 10 advanced tips

In this article, we’re going to dive into 10 advanced tips to elevate your TypeScript coding skills. These tips go beyond the basics, offering insights and techniques to help you write more efficient, maintainable, and type-safe code. #1 Optional Chaining (?.) Optional chaining allows you to safely access nested properties or methods without worrying about null or undefined values. It short-circuits the evaluation if any intermediate property is null or undefined, preventing runtime errors. const user = { name: 'Piotr', address: { city: 'Warsaw', postalCode: '00-240' } }; const postalCode = user.address?.postalCode; console.log(postalCode); // 00-240 const invalidCode = user.address?.postalCode?.toLowerCase(); console.log(invalidCode);…
Read More
No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.